/* lamboy-hoefe.de — static restore of the 2015–2019 LC_HA look (Open Sans, beige #c5b3a6, grey ink #45484a) */
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/open-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #45484a;          /* original body/heading grey */
  --ink-strong: #2e3032;
  --ink-soft: #6b6e70;     /* original #808080 darkened to 5.1:1 */
  --beige: #c5b3a6;        /* original accent: lines, bands, active pill */
  --beige-ink: #7a6455;    /* accent for text on white (5.5:1) */
  --beige-pale: #f1ece8;
  --dropcap: #9c8573;      /* large initials, 3.5:1 */
  --line: #e2e2e2;
  --panel: #f3f3f3;
  --footer: #56595b;
  --footer-bar: #45484a;
  --container: 1170px;
  --gutter: clamp(16px, 4vw, 30px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--beige) var(--panel);
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  font-optical-sizing: auto;
}

::selection { background: var(--beige); color: var(--ink-strong); }

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

a {
  color: var(--beige-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}
a:hover { color: var(--ink-strong); }

:focus-visible {
  outline: 2px solid var(--beige-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 20;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink-strong);
  font-weight: 600;
}
.skip:focus { left: 12px; }

.container {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------- header */

/* Full-width header as in the original (Revolution Slider "fullwidth", max 350px high):
   white logo panel on the left in the original 322:350 proportion, photos fill the rest. */
.masthead {
  --head-h: min(350px, 26.5vw);
  display: flex;
  height: var(--head-h);
  background: #fff;
}

.brand {
  position: relative;
  flex: none;
  width: calc(var(--head-h) * 322 / 350);
  height: 100%;
  background: #fff;
}
/* logo placed where the original panel had it: 50/322 from the left, 50/350 from the top */
.brand img {
  position: absolute;
  left: calc(50 / 322 * 100%);
  top: calc(50 / 350 * 100%);
  width: calc(221 / 322 * 100%);
  height: auto;
}
.brand:focus-visible { outline-offset: -6px; }

.slider {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: #e9e9e9;
}
.slides { list-style: none; margin: 0; padding: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.menu-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 14px -12px rgba(69, 72, 74, .35);
}
.menu-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 76px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav a:hover { background: var(--beige-pale); color: var(--ink-strong); }
.main-nav a[aria-current="page"] {
  background: var(--beige);
  color: var(--ink-strong);
  box-shadow: inset 0 -2px 0 rgba(69, 72, 74, .12);
}

.menu-toggle { display: none; }

/* ---------------------------------------------------------------- content */

.main { padding-top: 52px; padding-bottom: 72px; }

.divider {
  margin: 0 0 34px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--beige);
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .14em;
  text-align: center;
}

.special {
  max-width: 900px;
  margin: 0 auto 10px;
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.special-sub {
  margin: 0 auto 40px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.9vw, 20px);
  text-align: center;
}

.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 72px;
}
.offer { display: flex; flex-direction: column; }
.offer-title {
  margin: 0 0 6px;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
}
.more { margin: 0 0 22px; text-align: center; }
.more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
}
.more a:hover { text-decoration: underline; }
.chev {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.offer-pic { margin-top: auto; }
.offer-pic img { width: 100%; }

.ruled {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 400;
  letter-spacing: .1em;
  text-align: center;
}
.ruled::after {
  content: "";
  display: block;
  width: min(330px, 60%);
  height: 2px;
  margin: 12px auto 0;
  background: var(--beige);
}
.impressionen .special-sub { margin-top: 14px; font-size: 18px; }

.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
}
.split-text { font-size: 15px; }

.dropcap { margin: 0 0 1.2em; }
.dropcap::after { content: ""; display: table; clear: both; }
.dropcap-letter {
  float: left;
  margin: .1em .14em 0 0;
  color: var(--dropcap);
  font-size: 3.4em;
  font-weight: 300;
  line-height: .82;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1b1e21;
  box-shadow: 0 14px 30px -18px rgba(27, 30, 33, .55);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.glance { max-width: 860px; margin: 0 auto; }
.glance .accordion { margin-top: 28px; }
.glance .acc-title { text-transform: uppercase; letter-spacing: .09em; font-size: 13px; }

/* accordion (native details/summary) */
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .acc-title { color: var(--beige-ink); }
.acc-sign {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel);
  transition: background-color .25s var(--ease-out);
}
.acc-sign::before,
.acc-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--ink-soft);
  transform: translate(-50%, -50%);
}
.acc-sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .3s var(--ease-out);
}
.acc[open] .acc-sign { background: var(--beige); }
.acc[open] .acc-sign::before,
.acc[open] .acc-sign::after { background: var(--ink-strong); }
.acc[open] .acc-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc[open] .acc-title { color: var(--beige-ink); }
.acc-body {
  max-width: 68ch;
  padding: 0 4px 18px 42px;
  font-size: 15px;
}
.acc-body p:last-child,
.acc-body .checklist { margin-bottom: 0; }

/* two-column rows on Areal / Arbeiten */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}
.col-title {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.2vw, 23px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .06em;
}
.col-title-small { font-size: 19px; font-weight: 600; letter-spacing: 0; }
.col > picture img { width: 100%; }
.col p { max-width: 68ch; }

.lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-bottom: 1px solid #efefef;
  font-size: 15px;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--beige-ink);
  border-right: 2px solid var(--beige-ink);
  transform: rotate(45deg);
}
.acc-body .checklist li:last-child { border-bottom: 0; }

/* gallery: scroll-snap strip, buttons added by site.js */
.gallery { position: relative; }
.gallery-track {
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track li { flex: 0 0 100%; scroll-snap-align: start; }
.gallery-track img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.gallery-nav[hidden] { display: none; }
.gallery-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.gallery-btn:hover { background: var(--beige-pale); border-color: var(--beige); }
.gallery-btn span {
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: translateX(-2px) rotate(45deg);
}
.gallery-btn.prev span { transform: translateX(2px) rotate(-135deg); }
.gallery-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

/* Gebäude */
.intro {
  max-width: 75ch;
  margin: 0 auto 36px;
  text-align: center;
}
.plan { margin: 0; }
.plan img { width: 100%; }

.link-list { max-width: 40ch; margin: 0 auto; padding: 0; list-style: none; text-align: center; }
.link-list a { display: inline-block; padding: 10px 6px; }

/* ---------------------------------------------------------------- footer */

.band { height: 10px; background: var(--beige); }
.site-footer { background: var(--footer); color: #f3f3f3; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.footer-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-nav { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { padding-left: 12px; border-left: 1px solid rgba(243, 243, 243, .35); }
.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px 0 0;
  color: #f3f3f3;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; color: #fff; }
.footer-nav li:last-child a { padding-right: 0; }
.footer-bar { height: 26px; background: var(--footer-bar); }
.site-footer :focus-visible { outline-color: #f3f3f3; }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 959px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-media { order: -1; }
  .lists { grid-template-columns: 1fr; }
}

@media (max-width: 759px) {
  .masthead { display: block; height: auto; }
  .brand {
    display: block;
    width: auto;
    height: auto;
    padding: 16px var(--gutter) 14px;
  }
  .brand img { position: static; width: auto; height: 68px; }
  .slider { aspect-ratio: 770 / 350; }

  .menu-row { min-height: 0; justify-content: flex-start; flex-wrap: wrap; padding: 0; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 var(--gutter);
    border: 0;
    background: none;
    color: var(--ink);
    font: 600 13px/1 "Open Sans", Arial, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .burger, .burger::before, .burger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform .25s var(--ease-out), opacity .2s;
  }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .burger { background: transparent; }
  .menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

  .main-nav { width: 100%; }
  html.js .main-nav { display: none; }
  html.js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0 0 10px; }
  .main-nav a {
    min-height: 50px;
    padding: 0 var(--gutter);
    border-radius: 0;
    font-size: 13px;
  }
  html:not(.js) .menu-toggle { display: none; }

  .main { padding-top: 34px; padding-bottom: 56px; }
  .offers, .cols { grid-template-columns: 1fr; gap: 28px; }
  .offers { gap: 44px; margin-bottom: 56px; }
  .split { margin-bottom: 56px; }
  .acc-body { padding-left: 4px; }
  .intro { text-align: left; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-nav li + li { padding-left: 0; border-left: 0; }
  .footer-nav a { padding: 0 16px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .slider, .menu-bar, .band, .site-footer, .gallery-nav, .video { display: none; }
  .brand { position: static; }
}
