/* ==========================================================================
   HOF BIRNLEITEN · Designstudie von wedolegacy (fiktive Marke)
   Prinzip: der Vierkanthof von oben. Vier Flügel, vier Farben, ein Innenhof.
   Mobile first.
   ========================================================================== */

@font-face { font-family: "Zodiak"; src: url("../assets/fonts/zodiak.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../assets/fonts/switzer.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --kalk: #f2efe7;
  --kalk-2: #e8e3d6;
  --kalk-3: #d9d2c0;
  --ink: #1c2220;
  --ink-2: #4a5350;
  --ink-3: #5a625e;
  --line: rgba(28, 34, 32, 0.14);
  --nacht: #141918;
  --nacht-2: #1e2523;

  --nord: #2d5d55;
  --ost: #c4861c;
  --sued: #b0482b;
  --west: #5f6d1c;
  --accent: var(--ink);

  --serif: "Zodiak", "Iowan Old Style", Georgia, serif;
  --sans: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;

  --rand: 10px;
  --kopf: 60px;
  --suedrand: 54px;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1380px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}
@media (min-width: 900px) {
  :root { --rand: 40px; --kopf: 72px; --suedrand: 56px; }
}

[data-side="n"] { --accent: var(--nord); }
[data-side="o"] { --accent: var(--ost); }
[data-side="s"] { --accent: var(--sued); }
[data-side="w"] { --accent: var(--west); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf); background: var(--kalk); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--kalk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--kalk); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Lazy-Bilder weich einblenden (nur opacity) */
.js img[loading="lazy"] { opacity: 0; transition: opacity 0.7s ease; }
.js img[loading="lazy"].ld { opacity: 1; }

/* ---------- Typo ---------- */
.h2, .h3, .hero__titel, .festplan__raum, .monat-detail__name, .fuss__wort, .marke__wort, .glas__name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
}
.h2 { font-size: clamp(2.25rem, 7.2vw, 5.1rem); }
.h2--gross { font-size: clamp(2.5rem, 9vw, 7rem); line-height: 0.98; }
.h3 { font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.1; }
.h2 b, .h3 b, .hero__titel b { font-weight: 700; color: var(--accent); }
.lead { font-size: clamp(1.06rem, 2.1vw, 1.26rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }

/* Kicker mit Vierkant-Zeichen (aktive Seite in Flügelfarbe) */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker--hell { color: rgba(242, 239, 231, 0.8); }
.vk {
  --c: currentColor;
  flex: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent);
  position: relative;
}
.vk::after { content: ""; position: absolute; inset: 4px; background: currentColor; opacity: 0.5; }
.vk[data-side="n"] { border-top: 3.5px solid var(--nord); }
.vk[data-side="o"] { border-right: 3.5px solid var(--ost); }
.vk[data-side="s"] { border-bottom: 3.5px solid var(--sued); }
.vk[data-side="w"] { border-left: 3.5px solid var(--west); }

/* Zeilen-Reveal für Überschriften */
.zeile { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.zeile > span { display: inline-block; }

/* Editorialer Verweis statt Button */
.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 6px;
  border-top: 1px solid currentColor;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.link svg { width: 22px; height: 11px; transition: transform 0.5s var(--ease); }
.link:hover svg { transform: translateX(6px); }
.block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border: 0;
  background: var(--ink);
  color: var(--kalk);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.block:hover { background: var(--nord); }

/* ==========================================================================
   Kopf = Nordflügel
   ========================================================================== */
.kopf {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--kopf);
  padding-inline: calc(var(--rand) + 4px);
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--kalk);
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
}
.kopf.is-weg { transform: translateY(-100%); }
.kopf.is-unten { box-shadow: 0 1px 0 var(--line); }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--ink); }
.marke__zeichen { width: 30px; height: 30px; }
.marke__wort { font-size: 23px; letter-spacing: -0.01em; }
.kopf__nav { display: none; }
.kopf__cta { display: none; }
.burger { position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-offen .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-offen .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  padding: calc(var(--kopf) + 28px) var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--kalk);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s, visibility 0s 0.4s;
}
.menu-offen .menu { visibility: visible; opacity: 1; transition: opacity 0.4s; }
.menu__nav { display: grid; }
.menu__nav a {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1.1;
}
.menu__nav .vk { width: 18px; height: 18px; color: var(--ink-3); }
.menu__nav small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.menu__studie { font-size: 13px; color: var(--ink-3); }

@media (min-width: 1100px) {
  .burger { display: none; }
  .kopf__nav { display: flex; gap: 28px; margin-right: 12px; }
  .kopf__nav a, .kopf__cta {
    position: relative;
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 0;
  }
  .kopf__nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
  }
  .kopf__nav a:hover::after, .kopf__nav a.is-aktiv::after { transform: scaleX(1); }
  .kopf__cta { display: inline-flex; align-items: center; gap: 10px; padding-left: 24px; border-left: 1px solid var(--line); }
  .kopf__cta svg { width: 20px; height: 10px; }
}

/* ==========================================================================
   Hero: der Hof von oben. Rahmen = Flügel, Foto = Innenhof
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background: var(--kalk);
  padding: var(--kopf) var(--rand) var(--suedrand);
}
.hero__hof { position: relative; height: 100%; overflow: hidden; background: #3d4632; }
.hero__par, .hero__bild { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__abend { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero[data-mode="abend"] .hero__abend { opacity: 1; }
.hero__schatten {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 16, 0.18) 0%, rgba(14, 18, 16, 0) 30%),
    linear-gradient(0deg, rgba(14, 18, 16, 0.72) 0%, rgba(14, 18, 16, 0.25) 42%, rgba(14, 18, 16, 0) 64%);
}
.hero__inhalt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(18px, 4vw, 64px) clamp(46px, 7vh, 80px);
  color: var(--kalk);
}
.hero__ort { font-size: 12px; font-weight: 560; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; opacity: 0.9; }
.hero__titel { font-size: clamp(3.1rem, 13.5vw, 9.6rem); line-height: 0.92; letter-spacing: -0.025em; }
.hero__titel > span { display: inline-block; }
.hero__titel b { color: inherit; }
.hero__sub { margin-top: 18px; max-width: 34ch; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.5; opacity: 0.92; }
.live { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; line-height: 1.4; }
.live strong { font-weight: 600; }
.live p { opacity: 0.92; }

/* Tag/Abend-Schalter: Quadrat, Sonne wird zur Glut */
.tagnacht {
  flex: none;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(242, 239, 231, 0.7);
  background: rgba(20, 25, 24, 0.2);
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.tagnacht:hover { border-color: var(--kalk); background: rgba(20, 25, 24, 0.4); }
.tagnacht span { width: 14px; height: 14px; border-radius: 50%; background: #f3d27a; box-shadow: 0 0 0 4px rgba(243, 210, 122, 0.22); transition: transform 0.6s var(--ease), background 0.6s, box-shadow 0.6s; }
.hero[data-mode="abend"] .tagnacht span { background: #e8743a; box-shadow: 0 0 0 4px rgba(232, 116, 58, 0.3), 0 0 14px 4px rgba(232, 116, 58, 0.45); transform: scale(0.82); }

/* Rahmen-Flügel */
.fluegel { position: absolute; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink-2); }
.fluegel--o, .fluegel--w { display: none; }
.fluegel--s { left: var(--rand); right: var(--rand); bottom: 0; height: var(--suedrand); justify-content: space-between; gap: 16px; }
.studie-hinweis { font-size: 10.5px; line-height: 1.3; color: var(--ink-3); max-width: calc(50% - 74px); }
.studie-hinweis a { color: var(--ink-2); text-underline-offset: 3px; }
.fluegel__feste { font-size: 11px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
@media (min-width: 900px) {
  .fluegel--o, .fluegel--w { display: flex; top: var(--kopf); bottom: var(--suedrand); width: var(--rand); }
  .fluegel--o { right: 0; }
  .fluegel--w { left: 0; }
  .fluegel span { writing-mode: vertical-rl; font-size: 11px; font-weight: 560; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; transition: color 0.3s; }
  .fluegel--w span { transform: rotate(180deg); }
  .fluegel:hover span, .fluegel__feste:hover { color: var(--ink); }
  .studie-hinweis { font-size: 12px; }
}

/* Innenkanten in den vier Flügelfarben (zeichnen sich beim Start) */
.kante { position: absolute; display: block; pointer-events: none; }
.kante--n { left: var(--rand); right: var(--rand); top: var(--kopf); height: 4px; background: var(--nord); transform-origin: left; }
.kante--o { right: var(--rand); top: var(--kopf); bottom: var(--suedrand); width: 4px; background: var(--ost); transform-origin: top; }
.kante--s1, .kante--s2 { bottom: var(--suedrand); height: 4px; background: var(--sued); }
.kante--s1 { right: var(--rand); width: calc(50% - var(--rand) - 70px); transform-origin: right; }
.kante--s2 { left: var(--rand); width: calc(50% - var(--rand) - 70px); transform-origin: right; }
.kante--w { left: var(--rand); top: var(--kopf); bottom: var(--suedrand); width: 4px; background: var(--west); transform-origin: bottom; }

/* Torschild sitzt im Tor (Lücke im Südflügel) */
.torschild-fall { position: absolute; left: 50%; bottom: calc(var(--suedrand) - 25px); transform: translateX(-50%); z-index: 3; }
.torschild {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 128px;
  padding: 9px 8px 8px;
  background: var(--ink);
  color: var(--kalk);
  text-decoration: none;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  transition: background 0.3s;
}
.torschild:hover { background: var(--sued); }
.torschild__name { font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.torschild__jahr { font-size: 9.5px; font-weight: 560; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
@media (min-width: 900px) {
  .kante--s1, .kante--s2 { width: calc(50% - var(--rand) - 86px); }
  .torschild { width: 160px; padding: 12px 10px 10px; }
  .torschild__name { font-size: 23px; }
  .torschild-fall { bottom: calc(var(--suedrand) - 30px); }
}

/* Intro in CSS: startet mit dem ersten Paint */
@keyframes zieh-x { from { transform: scaleX(0); } }
@keyframes zieh-y { from { transform: scaleY(0); } }
@keyframes bild-in { from { transform: scale(1.07); } }
@keyframes steig { from { transform: translateY(26px); opacity: 0; } }
@keyframes titel-in { from { transform: translateY(0.5em); } }
@keyframes schild-in { from { transform: translateY(-46px) rotate(-7deg); opacity: 0; } 60% { opacity: 1; } }
.kante--n { animation: zieh-x 0.42s var(--ease-io) 0.1s backwards; }
.kante--o { animation: zieh-y 0.42s var(--ease-io) 0.42s backwards; }
.kante--s1 { animation: zieh-x 0.3s var(--ease-io) 0.74s backwards; }
.kante--s2 { animation: zieh-x 0.3s var(--ease-io) 0.74s backwards; }
.kante--s2 { transform-origin: left; }
.kante--w { animation: zieh-y 0.42s var(--ease-io) 0.98s backwards; }
.hero__bild { animation: bild-in 2.4s var(--ease) 0.1s backwards; }
.hero__titel > span { animation: titel-in 1.2s var(--ease) 0.15s backwards; }
.hero__titel > span + span { animation-delay: 0.27s; }
.hero__ort { animation: steig 0.9s var(--ease) 0.3s backwards; }
.hero__sub { animation: steig 0.9s var(--ease) 0.45s backwards; }
.live { animation: steig 0.9s var(--ease) 0.6s backwards; }
.torschild { animation: schild-in 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) 1.15s backwards; }

/* ==========================================================================
   Vier Seiten
   ========================================================================== */
.vier { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 9vw, 120px); }
.vier__grid { display: grid; gap: 40px; }
.vier__plan { position: sticky; top: var(--kopf); z-index: 2; background: var(--kalk); padding: 14px 0 16px; box-shadow: 0 1px 0 var(--line); }
.plan--uebersicht { width: min(100%, 236px); margin-inline: auto; }
.vier__text .lead { margin-top: 24px; }
.seiten { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.seite {
  padding: 26px 0 30px 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.seite::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 34px;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0.2);
  transform-origin: top;
  transition: transform 0.7s var(--ease);
}
.seite h3, .seite__ri { transition: color 0.6s var(--ease); }
.seite:not(.is-an) h3 { color: var(--ink-3); }
.seite:not(.is-an) .seite__ri { color: var(--ink-3); }
.seite.is-an::before { transform: none; }
.seite__ri { font-size: 11px; font-weight: 560; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.seite h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.1; margin: 6px 0 8px; }
.seite p { color: var(--ink-2); max-width: 42ch; }

@media (min-width: 900px) {
  .vier__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
  .vier__plan { top: calc(var(--kopf) + 8vh); padding: 0; box-shadow: none; }
  .plan--uebersicht { width: 100%; max-width: 520px; }
  .seite { padding-block: 34px 40px; }
}

/* ---------- Plan (SVG aus JS) ---------- */
.plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan--wohnen svg { overflow: hidden; }
.p-fluegel { fill: var(--kalk-2); stroke: var(--kalk-3); stroke-width: 1.5; transition: fill 0.6s var(--ease); }
.p-hof { fill: #e3e6d2; }
.p-kante { stroke-width: 7; fill: none; transition: opacity 0.6s; }
.p-baum { fill: #9aa863; }
.p-baum-kern { fill: var(--ink); }
.p-text { font-family: var(--sans); font-size: 15px; font-weight: 560; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-3); transition: fill 0.4s; }
.p-ri { font-family: var(--sans); font-size: 13px; font-weight: 560; letter-spacing: 0.2em; fill: var(--ink-3); }
[data-an="n"] .p-fl-n, [data-an="o"] .p-fl-o, [data-an="s"] .p-fl-s, [data-an="w"] .p-fl-w { fill: var(--c); }
[data-an="n"] .p-tx-n, [data-an="o"] .p-tx-o, [data-an="s"] .p-tx-s, [data-an="w"] .p-tx-w { fill: var(--kalk); }
.plan--uebersicht:not([data-an]) .p-kante { opacity: 1; }
.plan--uebersicht[data-an] .p-kante { opacity: 0.25; }
.plan--uebersicht[data-an="n"] .p-k-n, .plan--uebersicht[data-an="o"] .p-k-o, .plan--uebersicht[data-an="s"] .p-k-s, .plan--uebersicht[data-an="w"] .p-k-w { opacity: 1; }

/* ==========================================================================
   Sektionen
   ========================================================================== */
.sek { position: relative; padding: clamp(70px, 10vw, 140px) 0; }

/* Bild-Reveal: der Hof öffnet sich von der Mitte (vier Blenden, nur transform) */
.bild { position: relative; }
.bild__in { position: relative; overflow: hidden; background: var(--kalk-2); }
.bild__in img { width: 100%; height: 100%; object-fit: cover; }
.bild figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); max-width: 40ch; }
.blende { position: absolute; z-index: 2; background: var(--bg, var(--kalk)); will-change: transform; }
.blende--n { left: 0; right: 0; top: 0; height: 50.5%; }
.blende--s { left: 0; right: 0; bottom: 0; height: 50.5%; }
.blende--w { top: 0; bottom: 0; left: 0; width: 50.5%; }
.blende--o { top: 0; bottom: 0; right: 0; width: 50.5%; }
.bild.is-offen .blende { visibility: hidden; }

/* ---------- Wohnen ---------- */
.wohnen__kopf { display: grid; gap: 26px; }
.wohnen__bilder { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 80px); }
.bild--gross .bild__in { aspect-ratio: 3 / 2; }
.bild--klein .bild__in { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .wohnen__kopf { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .wohnen__bilder { grid-template-columns: 1.7fr 1fr; align-items: end; gap: clamp(20px, 3vw, 44px); }
  .bild--klein { margin-bottom: 8%; }
}

.hofplan { margin-top: clamp(70px, 10vw, 130px); padding: clamp(50px, 7vw, 90px) 0; background: var(--kalk-2); }
.hofplan__grid { display: grid; gap: 36px; }
.hofplan__intro { margin: 12px 0 24px; color: var(--ink-2); }
.finder { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.zaehler { display: inline-grid; grid-template-columns: auto 40px 30px 40px; align-items: center; border-bottom: 1px solid var(--ink); font-size: 14px; }
.zaehler > span { padding-right: 12px; color: var(--ink-2); }
.zaehler button { width: 40px; height: 44px; border: 0; background: none; font-size: 20px; line-height: 1; transition: color 0.2s; }
.zaehler button:hover { color: var(--nord); }
.zaehler output { text-align: center; font-family: var(--serif); font-size: 20px; }
.haken { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.haken input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.haken__box { width: 18px; height: 18px; border: 1.5px solid var(--ink); position: relative; transition: background 0.25s; }
.haken__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--kalk); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s var(--ease); }
.haken input:checked + .haken__box { background: var(--nord); border-color: var(--nord); }
.haken input:checked + .haken__box::after { transform: rotate(45deg) scale(1); }
.haken input:focus-visible + .haken__box { outline: 2px solid var(--nord); outline-offset: 3px; }
.finder__ergebnis { margin: 20px 0 8px; font-size: 15px; color: var(--ink-2); min-height: 1.6em; }
.finder__ergebnis strong { color: var(--nord); font-weight: 650; }

.wohnliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wohnliste li { border-bottom: 1px solid var(--line); transition: opacity 0.5s var(--ease); }
.wohnliste li.is-raus { opacity: 0.32; }
.wohnliste button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border: 0;
  background: none;
  text-align: left;
}
.wohnliste strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.wohnliste small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.wohnliste .preis { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.wohnliste svg { width: 18px; height: 9px; transition: transform 0.4s var(--ease); align-self: center; }
.wohnliste button:hover svg { transform: translateX(5px); }
.wohnliste button:hover strong { color: var(--nord); }

.stock { display: flex; gap: 26px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.stock button, .form__art button, .anlass button {
  position: relative;
  border: 0;
  background: none;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.3s;
}
.stock button::after, .form__art button::after, .anlass button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.stock [aria-selected="true"], .form__art [aria-selected="true"], .anlass [aria-checked="true"] { color: var(--ink); }
.stock [aria-selected="true"]::after, .form__art [aria-selected="true"]::after, .anlass [aria-checked="true"]::after { transform: none; }
.plan__legende { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

.plan--wohnen .p-raum { cursor: pointer; }
.p-raum rect { fill: var(--kalk); stroke: var(--nord); stroke-width: 1.5; transition: fill 0.4s var(--ease), opacity 0.5s, transform 0.5s var(--ease); }
.p-raum text { font-family: var(--serif); font-size: 21px; fill: var(--ink); pointer-events: none; transition: fill 0.3s; }
.p-raum .p-raum-sub { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.1em; fill: var(--ink-3); }
.p-raum:hover rect, .p-raum:focus-visible rect { fill: var(--nord); }
.p-raum:hover text, .p-raum:focus-visible text { fill: var(--kalk); }
.p-raum.is-raus { opacity: 0.3; }
.p-raum.is-raus rect { stroke-dasharray: 4 4; }
.p-raum:focus { outline: none; }
.p-raum:focus-visible rect { stroke-width: 3; }
.p-gemein rect { fill: var(--kalk-3); stroke: none; }
.p-gemein text { font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--ink-3); }
.p-geschoss { transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.p-geschoss.is-weg { opacity: 0; pointer-events: none; transform: translateY(-14px); }
@media (min-width: 900px) {
  .hofplan__grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
}

/* ---------- Sheet (Wohnung) ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.sheet.is-offen { visibility: visible; }
.sheet__grund { position: absolute; inset: 0; background: rgba(20, 25, 24, 0.5); opacity: 0; transition: opacity 0.5s; }
.sheet.is-offen .sheet__grund { opacity: 1; }
.sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 92svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--kalk);
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
}
.sheet.is-offen .sheet__panel { transform: none; }
.sheet__inhalt { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.sheet__zu { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border: 0; background: var(--kalk); }
.sheet__zu span { position: absolute; left: 12px; right: 12px; top: 21px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.sheet__zu span + span { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .sheet__panel { left: auto; top: 0; width: min(760px, 62vw); max-height: none; transform: translateX(100%); }
}
.w-bilder { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; }
.w-bilder img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.w-bilder img + img { aspect-ratio: auto; }
.w-kopf { padding: 26px clamp(20px, 4vw, 44px) 0; }
.w-kopf .kicker { margin-bottom: 10px; }
.w-kopf h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; }
.w-kopf p { margin-top: 14px; color: var(--ink-2); max-width: 52ch; }
.w-teil { padding: 26px clamp(20px, 4vw, 44px) 0; }
.w-fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.w-fakten div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.w-fakten div:nth-child(odd) { padding-right: 12px; }
.w-fakten dt { font-size: 11px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.w-fakten dd { margin: 2px 0 0; font-size: 15px; }
.w-raeume { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.rechner { margin: 30px clamp(20px, 4vw, 44px) 0; padding: 24px clamp(18px, 3vw, 30px) 26px; background: var(--kalk-2); }
.rechner h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 16px; }
.rechner__felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.rechner label { display: grid; gap: 4px; font-size: 12px; color: var(--ink-2); }
.rechner input[type="date"], .rechner input[type="number"] { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--kalk-3); background: var(--kalk); border-radius: 0; font-size: 15px; }
.rechner .haken { grid-column: 1 / -1; }
.r-zeilen { list-style: none; margin: 20px 0 0; padding: 0; font-size: 14px; }
.r-zeilen li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--kalk-3); }
.r-zeilen li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.r-summe strong { font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--nord); font-variant-numeric: tabular-nums; }
.r-hinweis { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.r-warn { margin-top: 10px; font-size: 13px; color: var(--sued); }
.w-aktion { display: grid; gap: 4px; padding: 22px clamp(20px, 4vw, 44px) 32px; }
.w-weiter { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; }
.w-weiter span { font-size: 12px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.w-weiter strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.w-weiter svg { width: 22px; height: 11px; }

/* ---------- Most (Ost, dunkel) ---------- */
.most { background: var(--nacht); color: var(--kalk); --bg: var(--nacht); }
.most .kicker { color: rgba(242, 239, 231, 0.75); }
.most .h2 b { color: var(--ost); }
.most__status { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 70px); }
.buschen { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.buschen__schild {
  min-width: 130px;
  padding: 14px 12px 12px;
  background: var(--ost);
  color: var(--nacht);
  text-align: center;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  transform-origin: 50% -30px;
}
.buschen.is-zu .buschen__schild { background: transparent; color: var(--kalk); box-shadow: inset 0 0 0 1.5px rgba(242, 239, 231, 0.5); }
.buschen.is-offen .buschen__schild { animation: pendel 2.6s var(--ease) 1; }
@keyframes pendel { 0% { transform: rotate(5deg); } 30% { transform: rotate(-3deg); } 60% { transform: rotate(1.4deg); } 100% { transform: none; } }
.buschen__satz { font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.35; }
.buschen__zeit { margin-top: 4px; font-size: 14px; color: rgba(242, 239, 231, 0.65); }
.termine { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(242, 239, 231, 0.16); }
.termine li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(242, 239, 231, 0.16); font-size: 15px; }
.termine li span:last-child { color: rgba(242, 239, 231, 0.6); font-size: 13px; text-align: right; }
.termine li.is-jetzt span:first-child { color: var(--ost); font-weight: 600; }
.termine li.is-vorbei { opacity: 0.4; }
.erinnern label { display: block; font-size: 14px; color: rgba(242, 239, 231, 0.75); margin-bottom: 10px; }
.erinnern__zeile { display: flex; border-bottom: 1px solid rgba(242, 239, 231, 0.5); }
.erinnern input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; color: var(--kalk); font-size: 16px; }
.erinnern input::placeholder { color: rgba(242, 239, 231, 0.45); }
.erinnern input:focus { outline: none; }
.erinnern button { border: 0; background: none; color: var(--ost); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0 0 0 16px; }
.erinnern__ok { font-size: 14px; color: var(--ost); }
@media (min-width: 900px) {
  .most__status { grid-template-columns: 1.2fr 1fr; gap: 40px 80px; align-items: start; }
  .buschen { grid-column: 1 / -1; }
}

.mostkarte { display: grid; gap: 34px; margin-top: clamp(70px, 10vw, 130px); align-items: center; }
.mostkarte__glas { display: grid; justify-items: center; text-align: center; color: rgba(242, 239, 231, 0.85); }
.glas { width: min(42vw, 260px); height: auto; }
.glas__most { fill: var(--most-farbe, #d9a441); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--most-stand, 0.8)); transition: fill 0.9s var(--ease), transform 1.1s var(--ease); }
.glas__perlen circle { fill: rgba(255, 255, 255, 0.55); transition: opacity 0.6s; }
.glas__name { margin-top: 14px; font-size: 26px; color: var(--kalk); }
.glas__info { font-size: 14px; color: rgba(242, 239, 231, 0.6); }
.sorten { display: grid; margin: 20px 0 26px; border-top: 1px solid rgba(242, 239, 231, 0.16); }
.sorten button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0 14px 16px;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 231, 0.16);
  background: none;
  text-align: left;
  position: relative;
  color: rgba(242, 239, 231, 0.6);
  transition: color 0.3s;
}
.sorten button::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; background: var(--ost); transform: scaleY(0); transition: transform 0.5s var(--ease); }
.sorten button[aria-checked="true"] { color: var(--kalk); }
.sorten button[aria-checked="true"]::before { transform: none; }
.sorten button:hover { color: var(--kalk); }
.sorten strong { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.sorten small { font-size: 13px; }
.geschmack { display: grid; gap: 10px; margin: 0; }
.geschmack div { display: grid; grid-template-columns: 80px 1fr; align-items: center; }
.geschmack dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 239, 231, 0.6); }
.skala { margin: 0; display: flex; gap: 6px; }
.skala i { width: 16px; height: 16px; border: 1.5px solid rgba(242, 239, 231, 0.35); transition: background 0.4s var(--ease), border-color 0.4s; }
.skala i.is-an { background: var(--ost); border-color: var(--ost); }
.mostkarte__text { margin-top: 22px; color: rgba(242, 239, 231, 0.75); max-width: 44ch; }
@media (min-width: 900px) {
  .mostkarte { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}

.jause { display: grid; gap: 34px; margin-top: clamp(70px, 10vw, 130px); }
.bild--jause .bild__in { aspect-ratio: 4 / 5; }
.most .bild__in { background: var(--nacht-2); }
.karte { list-style: none; margin: 22px 0 0; padding: 0; }
.karte li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 16px; }
.karte li i { flex: 1; border-bottom: 1px dotted rgba(242, 239, 231, 0.3); transform: translateY(-4px); }
.karte li span:last-child { font-variant-numeric: tabular-nums; color: var(--ost); }
.karte__fuss { margin-top: 20px; font-size: 14px; color: rgba(242, 239, 231, 0.6); max-width: 46ch; }
@media (min-width: 900px) {
  .jause { grid-template-columns: 0.8fr 1fr; gap: 90px; align-items: center; }
}

.feuer { position: relative; margin-top: clamp(80px, 11vw, 140px); }
.feuer__bild { position: relative; height: clamp(360px, 70vh, 720px); overflow: hidden; }
.feuer__bild img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.feuer__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 25, 24, 0.85), rgba(20, 25, 24, 0) 55%); }
.feuer__text { position: absolute; left: 0; right: 0; bottom: clamp(26px, 5vw, 60px); }
.feuer__text p { margin-top: 12px; max-width: 46ch; color: rgba(242, 239, 231, 0.8); }

/* ---------- Feste (Süd) ---------- */
.feste { padding-top: 0; }
.feste__buehne { position: relative; height: clamp(520px, 92vh, 980px); overflow: hidden; background: var(--nacht); color: var(--kalk); }
.feste__bild { position: absolute; inset: 0; }
.feste__bild img { width: 100%; height: 100%; object-fit: cover; }
.feste__buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 25, 24, 0.75), rgba(20, 25, 24, 0) 55%); pointer-events: none; }
/* Das Fenster: vier Kalk-Flügel, die beim Scrollen auseinanderfahren */
.feste__fenster i { position: absolute; z-index: 2; background: var(--kalk); }
.feste__fenster i:nth-child(1) { left: 0; right: 0; top: 0; height: 50.5%; transform-origin: top; }
.feste__fenster i:nth-child(2) { left: 0; right: 0; bottom: 0; height: 50.5%; }
.feste__fenster i:nth-child(3) { top: 0; bottom: 0; left: 0; width: 50.5%; }
.feste__fenster i:nth-child(4) { top: 0; bottom: 0; right: 0; width: 50.5%; }

.no-motion .feste__fenster { display: none; }
.feste__kopf { position: absolute; left: 0; right: 0; bottom: clamp(30px, 6vw, 80px); z-index: 3; }
.feste__kopf .h2 b { color: var(--kalk); }

.festplan { display: grid; gap: 40px; margin-top: clamp(60px, 9vw, 120px); }
.festplan__form { margin-top: 34px; }
.festplan__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.festplan__label output { font-family: var(--serif); font-size: 38px; letter-spacing: 0; text-transform: none; color: var(--sued); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 4px 0 10px; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--sued); border: 3px solid var(--kalk); box-shadow: 0 0 0 1.5px var(--sued); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--sued); border: 3px solid var(--kalk); border-radius: 0; box-shadow: 0 0 0 1.5px var(--sued); }
.anlass { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line); }
.festplan__ergebnis { margin: 28px 0 30px; min-height: 120px; }
.festplan__raum { font-size: clamp(2rem, 5vw, 3rem); color: var(--sued); }
.festplan__ergebnis p + p { margin-top: 8px; color: var(--ink-2); max-width: 44ch; }
.plan--fest { width: min(100%, 520px); margin-inline: auto; }
.p-zone { fill: var(--sued); opacity: 0; transition: opacity 0.6s var(--ease); }
.p-zone.is-an { opacity: 0.9; }
.p-zone-text { font-family: var(--serif); font-size: 20px; fill: var(--ink-3); transition: fill 0.4s; pointer-events: none; }
.p-zone-text.is-an { fill: var(--kalk); }
.p-tische rect { fill: var(--kalk); opacity: 0; transition: opacity 0.4s; }
.p-tische rect.is-an { opacity: 0.95; }
@media (min-width: 900px) {
  .festplan { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
}
.feste__bilder { display: grid; gap: 22px; margin-top: clamp(60px, 9vw, 120px); }
.feste__bilder .bild:first-child .bild__in { aspect-ratio: 3 / 2; }
.feste__bilder .bild:last-child .bild__in { aspect-ratio: 3 / 4; }
.feste__bilder .bild:last-child img { object-position: 50% 80%; }
@media (min-width: 900px) {
  .feste__bilder { grid-template-columns: 1.6fr 1fr; align-items: start; gap: clamp(20px, 3vw, 44px); }
  .feste__bilder .bild:last-child { margin-top: 18%; }
}
.anlaesse { margin-top: clamp(50px, 7vw, 90px); font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 2.4rem); line-height: 1.3; color: var(--ink-2); max-width: 30em; }

/* ---------- Hofleben (West) ---------- */
.hofleben__kopf { display: grid; gap: 22px; }
.hofleben__kopf .lead { margin-top: 6px; }
.tiere { margin-top: clamp(40px, 6vw, 80px); }
.tiere__spur {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 10px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.tiere__spur::-webkit-scrollbar { display: none; }
.tier { scroll-snap-align: start; }
.tier__bild { aspect-ratio: 4 / 5; overflow: hidden; background: var(--kalk-2); }
.tier__bild img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s ease, transform 1.6s cubic-bezier(0.22, 0.61, 0.2, 1); }
.tier:hover .tier__bild img { transform: scale(1.04); }
.tier__art { margin-top: 16px; font-size: 11px; font-weight: 560; letter-spacing: 0.2em; text-transform: uppercase; color: var(--west); }
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 4px 0 6px; }
.tier p:last-child { font-size: 15px; color: var(--ink-2); }
@media (min-width: 900px) {
  .hofleben__kopf { grid-template-columns: 1fr 1fr; align-items: end; column-gap: clamp(40px, 7vw, 120px); }
  .hofleben__kopf .kicker { grid-column: 1 / -1; margin-bottom: 0; }
  .tiere__spur { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--max); margin-inline: auto; gap: clamp(16px, 2vw, 28px); }
  .tier:nth-child(even) { margin-top: 60px; }
}

.hofjahr { margin-top: clamp(80px, 11vw, 140px); }
.hofjahr__kopf { display: grid; gap: 8px; margin-bottom: 28px; }
.hofjahr__kopf p { color: var(--ink-2); }
.monate { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.monate button {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid var(--kalk-3);
  background: var(--kalk);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.monate button:hover { border-color: var(--west); }
.monate button[aria-selected="true"] { background: var(--west); border-color: var(--west); color: var(--kalk); }
.monate button.is-heute::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 5px; height: 5px; margin-left: -2.5px; background: currentColor; }
.monat-detail { margin-top: 24px; min-height: 110px; padding-top: 18px; border-top: 1px solid var(--line); }
.monat-detail__name { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.monat-detail__text { margin-top: 6px; max-width: 54ch; color: var(--ink-2); }
@media (min-width: 900px) {
  .hofjahr { display: grid; grid-template-columns: 0.8fr 1.4fr; column-gap: clamp(40px, 6vw, 100px); }
  .hofjahr__kopf { grid-row: span 2; align-content: start; }
  .monate { grid-template-columns: repeat(12, 1fr); }
}

.kinder { display: grid; gap: 30px; margin-top: clamp(80px, 11vw, 140px); }
.bild--kinder .bild__in { aspect-ratio: 5 / 6; }
.kinder__text p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.liste { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.liste li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.liste li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; border: 1.5px solid var(--west); }
@media (min-width: 900px) {
  .kinder { grid-template-columns: 0.8fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
}

/* ---------- Familie ---------- */
.familie { background: var(--nord); color: var(--kalk); padding-top: 0; }
.familie__bild { position: relative; height: clamp(300px, 56vh, 620px); overflow: hidden; }
.familie__bild img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.familie__grid { display: grid; gap: 30px; margin-top: clamp(50px, 7vw, 90px); }
.familie .h2 b { color: #cfe0c3; }
.familie__text > p { color: rgba(242, 239, 231, 0.85); max-width: 50ch; font-size: 17px; }
.leute { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(242, 239, 231, 0.25); }
.leute li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(242, 239, 231, 0.25); }
.leute strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.leute span { font-size: 15px; color: rgba(242, 239, 231, 0.75); }
@media (min-width: 900px) {
  .familie__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
  .leute li { grid-template-columns: 0.9fr 1.3fr; gap: 20px; align-items: baseline; }
}

/* ---------- Region ---------- */
.region { padding-top: 0; }
.region__bild { position: relative; height: clamp(320px, 66vh, 760px); overflow: hidden; }
.region__bild img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.region__grid { display: grid; gap: 40px; margin-top: clamp(50px, 7vw, 90px); }
.region__grid .lead { margin-top: 22px; }
.fakten { margin: 0; display: grid; border-top: 1px solid var(--line); }
.fakten div { display: grid; grid-template-columns: 7.2rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fakten dt { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; }
.fakten dd { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (min-width: 900px) {
  .region__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
}

/* ---------- Anfrage ---------- */
.anfrage { background: var(--ink); color: var(--kalk); }
.anfrage .h2 b { color: var(--ost); }
.anfrage__grid { display: grid; gap: 44px; }
.anfrage__intro > p { margin-top: 20px; color: rgba(242, 239, 231, 0.8); max-width: 42ch; }
.adresse { margin-top: 28px; font-size: 15px; line-height: 1.7; color: rgba(242, 239, 231, 0.75); }
.anfrage__studie { font-size: 13px !important; color: rgba(242, 239, 231, 0.55) !important; }
.form { position: relative; background: var(--kalk); color: var(--ink); padding: clamp(22px, 4vw, 44px); }
.form__art { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; --accent: var(--sued); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 26px; }
.f { grid-column: 1 / -1; display: grid; gap: 4px; }
.f--halb { grid-column: span 1; }
@media (max-width: 420px) { .f--halb { grid-column: 1 / -1; } }
.f label { font-size: 12px; font-weight: 560; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1.5px solid var(--kalk-3); border-radius: 0; background: transparent; font-size: 16px; transition: border-color 0.3s; }
.f select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c2220' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat; padding-right: 22px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); }
.f textarea { resize: vertical; }
.f.is-falsch input { border-color: var(--sued); }
.form__hinweis { margin-top: 12px; font-size: 12px; color: var(--ink-3); text-align: center; }
.form__ok { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 30px; text-align: center; background: var(--kalk); }
.form__ok svg { width: 64px; height: 64px; color: var(--ink); }
.form__ok h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15; }
.form__ok p { color: var(--ink-2); max-width: 36ch; }
@media (min-width: 900px) {
  .anfrage__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
}

/* ---------- Dock (Handy) ---------- */
.dock {
  position: fixed;
  left: 10px; right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--kalk);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.dock.is-an { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font-size: 12px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.dock a + a { border-left: 1px solid rgba(242, 239, 231, 0.2); }
.dock svg { width: 18px; height: 9px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Fuß ---------- */
.fuss { padding: clamp(70px, 10vw, 130px) 0 clamp(90px, 10vw, 60px); background: var(--kalk); }
.fuss__marke { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); padding-bottom: clamp(30px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.fuss__marke svg { width: clamp(64px, 12vw, 150px); height: clamp(64px, 12vw, 150px); flex: none; }
.fuss__wort { font-size: clamp(3.2rem, 14vw, 11rem); line-height: 0.9; letter-spacing: -0.03em; }
.fuss__spalten { display: grid; gap: 22px; padding: 34px 0; font-size: 15px; color: var(--ink-2); }
@media (min-width: 700px) { .fuss__spalten { grid-template-columns: repeat(3, 1fr); } }
.fuss__studie { padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); max-width: 80ch; }
.fuss__studie a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .blende, .feste__fenster { display: none !important; }
  .js img[loading="lazy"] { opacity: 1; }
}
