/* ==========================================================================
   Schmiedhofgut — High-Fidelity-Umsetzung
   --------------------------------------------------------------------------
   Grundlage sind die Komponenten der Figma-Datei "Schmiedhofgut":
   Rahmen 1252, Rand 72, 12 Spalten a 70,33, Gutter 24, Inhaltsbreite 1108.

   MASSSYSTEM
   Jeder Entwurfswert steht als `calc(N * var(--ux))`. Die Einheit --u ist
   - 1px ab 1252 Ansichtsbreite  -> jede Kante deckt sich exakt mit Figma,
   - 1/1440 der Ansichtsbreite zwischen 1440 und 1920 -> der Entwurf wächst
     proportional mit, ab 1920 steht er still (siehe XXL weiter unten),
   - 1/1252 der Ansichtsbreite zwischen 1024 und 1252 -> stufenloses Schrumpfen
     des gesamten Entwurfs ohne einen einzigen Sprung,
   - wieder 1px unter 1024 -> ab dort greift das eigene, gestaltete
     Schmalband-Layout mit eigenen Werten.
   Spaltenbreiten stehen als Rasterspannen oder Prozentwerte der Inhaltsbreite,
   damit sie auch dann stimmen, wenn eine Scrollleiste Platz wegnimmt.
   ========================================================================== */

/* --- Schriften ----------------------------------------------------------- */
@font-face {
  font-family: "Lovelace";
  src: url("../assets/fonts/Lovelace-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FT Sterling";
  src: url("../assets/fonts/FTSterling-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Token --------------------------------------------------------------- */
:root {
  --terra: #d06f5c;
  --terra-dark: #832613;
  --beige: #eeeae4;
  --blue: #6d7279;
  --blue-dark: #4e5257;
  --white: #ffffff;
  --linie: rgba(109, 114, 121, .25);

  /* Entwurfseinheit — siehe Kopfkommentar */
  --u: 1px;
  /* Rastermaß und Lesemaß: bis 1252 gleich --u, darüber die XL-Rampe. */
  --ux: var(--u);
  --ut: var(--u);

  /* Die seitlichen Ränder wachsen bei XL bewusst nicht mit. */
  --rand: calc(72 * var(--u));
  --gutter: calc(24 * var(--ux));
  --inhalt: calc(1108 * var(--ux));
  /* Der Rahmen ist stets die Inhaltsspalte samt ihren Rändern. */
  --rahmen: calc(var(--inhalt) + 2 * var(--rand));

  /* Spalten als Anteil der Inhaltsbreite (1108) */
  --anteil-6: 48.9170%;    /* 542    — 6 Spalten */
  --anteil-5: 40.4033%;    /* 447,67 — 5 Spalten */
  --anteil-4: 31.8890%;    /* 353,33 — 4 Spalten */
  --anteil-7: 57.4305%;    /* 636,33 — 7 Spalten */

  /* Spielraum, in dem die Bilder wandern dürfen, ohne dass unten eine
     Lücke aufreißt. Muss größer sein als die Tiefe im JavaScript. */
  --parallax-raum: calc(70 * var(--ux));

  --kopf-hoehe: calc(150 * var(--ux));
  /* 18 Polster + 34 Knopf + 18 Polster. Vorher 88: das ließ unten 36
     stehen, doppelt so viel wie oben — der Balken wirkte zu hoch. */
  --kopf-hoehe-fest: calc(70 * var(--ux));

  --serif: "Lovelace", "Playfair Display", Georgia, serif;
  --sans: "FT Sterling", "Work Sans", -apple-system, Segoe UI, sans-serif;

  --weich: cubic-bezier(.16, 1, .3, 1);      /* Expo-Auslauf, lang und schwer */
  --sanft: cubic-bezier(.33, 1, .68, 1);
  --schnell: cubic-bezier(.4, 0, .2, 1);
}

/* Fluides Band: der Entwurf schrumpft proportional mit der Ansicht. */
@media (max-width: 1251.98px) {
  :root { --u: 0.0798722vw; }
}
/* XL: ab 1252 wächst die Inhaltsspalte stufenlos von 1108 auf 1280 (bei
   1440). Die seitlichen Ränder bleiben dabei auf 72 — die Spalte nimmt sich
   den Platz, nicht der Rand.
     --ux  Rastermaß:  1 → 1,15523   (1108 → 1280, Überschriften, Abstände)
     --ut  Lesemaß:    1 → 1,08540   (18 → 19,5 — gedämpft, damit die
                                      Zeilenlänge im Lesebereich bleibt)
   Beide Rampen sind Geraden durch (1252 | 1) und (1440 | Endwert). */
@media (min-width: 1252px) {
  :root {
    --ux: clamp(1px, calc(0.082569vw - 0.03376px), 1.15523px);
    --ut: clamp(1px, calc(0.045426vw + 0.43127px), 1.08540px);
  }
}
/* XXL: zwischen 1440 und 1920 wächst der ganze Entwurf proportional mit der
   Ansicht — das Bild von 1440, nur größer. Alle drei Maße laufen als
   Ursprungsgeraden durch ihren Wert bei 1440 (Wert / 14,4 je vw), also auch
   die Ränder: 72 → 96. Erst ab 1920 steht alles still, und die Inhaltsspalte
   hat ihre Maximalbreite erreicht.
     --u   Grundmaß:   1       → 1,33333  (Rand 72 → 96)
     --ux  Rastermaß:  1,15523 → 1,54031  (Inhaltsspalte 1280 → 1706,67)
     --ut  Lesemaß:    1,08540 → 1,44720  (18er Fließtext 19,5 → 26)
   Die Zeichenzahl je Zeile bleibt damit dieselbe wie bei 1440. */
@media (min-width: 1440px) {
  :root {
    --u:  clamp(1px,       0.0694444vw, 1.33333px);
    --ux: clamp(1.15523px, 0.0802243vw, 1.54031px);
    --ut: clamp(1.08540px, 0.0753750vw, 1.44720px);
  }
}

/* Schmalband: eigener Maßstab, eigene Werte. */
@media (max-width: 1023.98px) {
  :root {
    --u: 1px;
    --rand: clamp(20px, 4.2vw, 40px);
    --gutter: 20px;
    --inhalt: 100%;
    --kopf-hoehe: 86px;
    --kopf-hoehe-fest: 68px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe-fest) + 24px);
  /* Auch hier: die Regel am body wird nicht zuverlässig auf das
     Ansichtsfenster übertragen, sonst ließe sich die Seite quer schieben.
     clip statt hidden, damit kein Scrollcontainer entsteht. */
  overflow-x: clip;
  /* Der Platz der Scrollleiste bleibt immer reserviert. Sonst rückt die
     ganze Seite in dem Moment zur Seite, in dem ein Panel die Seite sperrt —
     genau der Ruck, der das Hereinfahren unruhig wirken ließ. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--blue);
  font-family: var(--sans);
  font-size: calc(18 * var(--ut));
  line-height: 1.38889;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip statt hidden: hidden würde einen Scrollcontainer erzeugen. */
  overflow-x: clip;
}

/* Seiten ohne Bildkopf: der feste Kopf braucht Platz über dem ersten Block. */
body.seite--kopf-frei { padding-top: var(--kopf-hoehe); }

/* height: auto, damit die Maße im HTML nur das Seitenverhältnis vorgeben. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

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

/* Eigene display-Regeln schlagen sonst das hidden-Attribut des Browsers. */
[hidden] { display: none !important; }

::selection { background: var(--terra); color: var(--white); }

/* Sprungmarke für Tastatur und Screenreader */
.sprungmarke {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--white);
  color: var(--blue);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  transition: top .25s var(--weich);
}
.sprungmarke:focus { top: 16px; }

.nur-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Typografie
   Zeilenhöhe und Laufweite stehen als Vielfache der Schriftgröße, damit beim
   Skalieren nichts auseinanderläuft. Die sechs Stile mit Laufweite aus dem
   Entwurf tragen durchgehend 0,025em — der einzige Ausreißer ist die Caption.
   ========================================================================== */
.t-h1-hero     { font-family: var(--serif); font-size: calc(85 * var(--ux)); line-height: 1.023529; letter-spacing: .025em; }
.t-h1-seite    { font-family: var(--serif); font-size: calc(60 * var(--ux)); line-height: 1.1;        letter-spacing: .025em; }
.t-h2          { font-family: var(--serif); font-size: calc(35 * var(--ux)); line-height: 1.371429;   letter-spacing: .025em; }
.t-lead        { font-family: var(--serif); font-size: calc(35 * var(--ux)); line-height: 1.371429;   letter-spacing: .025em; }
.t-h3          { font-family: var(--serif); font-size: calc(30 * var(--ux)); line-height: 1.266667;   letter-spacing: .025em; }
.t-listentitel { font-family: var(--serif); font-size: calc(35 * var(--ux)); line-height: var(--zeile-liste); letter-spacing: .025em; }
.t-listenwert  { font-family: var(--sans);  font-size: calc(15 * var(--ut)); line-height: var(--zeile-liste); }
.t-kachel      { font-family: var(--sans);  font-size: calc(35 * var(--ux)); line-height: 1.142857; }
.t-label       { font-family: var(--sans);  font-size: calc(18 * var(--ut)); line-height: 1.277778; }
.t-body        { font-family: var(--sans);  font-size: calc(18 * var(--ut)); line-height: 1.388889; }
.t-caption     { font-family: var(--sans);  font-size: calc(12 * var(--ut)); line-height: 1.333333; letter-spacing: .08em; }
.t-hinweis     { font-family: var(--sans);  font-size: calc(14 * var(--ut)); line-height: 1.285714; letter-spacing: .025em; }
.t-preis       { font-family: var(--serif); font-size: calc(48 * var(--ux)); line-height: 1.083333; letter-spacing: .025em; }

/* Namen und Werte der Apartmentliste müssen Zeile für Zeile fluchten. Deshalb
   steht die Zeilenhöhe hier als Länge, nicht als Vielfaches der Schriftgröße. */
:root { --zeile-liste: calc(55 * var(--ux)); }

/* Schmutzige Ränder vermeiden: lange Wörter dürfen trennen. */
.t-h1-hero, .t-h1-seite, .t-h2, .t-lead, .t-h3, .t-kachel { overflow-wrap: break-word; }

/* --- Layoutraster -------------------------------------------------------- */
/* Jeder Block liegt über dem Bildkopf und deckt ihn beim Scrollen zu. */
.block { position: relative; z-index: 1; }
main > .kacheln { background: var(--white); }

.inner {
  width: 100%;
  max-width: var(--inhalt);
  margin: 0 auto;
}

/* Zwölfspaltiges Raster — jeder Split-Block sitzt direkt darauf. */
.raster,
.split__inner,
.split-cta__inner,
.bildliste__inner,
.farbflaeche__inner,
.featuregrid__inner,
.checkliste__inner,
.apartment__inner,
.faq__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.bg-weiss { background: var(--white); }
.bg-beige { background: var(--beige); }
.bg-rosa  { background: var(--terra); }
.bg-blau  { background: var(--blue); }

/* ==========================================================================
   Button
   Pille 34 hoch, Radius 17. Die Polsterung oben 5,2 / unten 0 zentriert das
   Wortbild zwischen Versalhöhe und Grundlinie statt auf der vollen Tintenhöhe.
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(34 * var(--ux));
  padding: calc(5.2 * var(--ux)) calc(18 * var(--ux)) 0;
  border-radius: calc(17 * var(--ux));
  font-family: var(--serif);
  font-size: calc(15 * var(--ux));
  line-height: 1.333333;
  letter-spacing: .025em;
  white-space: nowrap;
  transition: background-color .3s var(--weich), color .3s var(--weich),
              transform .3s var(--weich), box-shadow .3s var(--weich),
              border-color .3s var(--weich);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--terra   { background: var(--terra); color: var(--terra-dark); }
.btn--terra:hover { background: var(--terra-dark); color: var(--white); }

.btn--glas {
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn--glas:hover { background: rgba(255, 255, 255, .28); }

.btn--ghost { color: var(--white); }
.btn--ghost::after {
  content: "";
  position: absolute;
  left: calc(18 * var(--ux));
  right: calc(18 * var(--ux));
  bottom: calc(7 * var(--ux));
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--weich);
}
.btn--ghost:hover::after { transform: scaleX(1); }

.btn--outline {
  border: 1px solid var(--terra-dark);
  color: var(--terra-dark);
  padding: calc(4.2 * var(--ux)) calc(18 * var(--ux)) 0;
}
.btn--outline:hover { background: var(--terra-dark); color: var(--white); }

.btn--dunkel { color: var(--blue); }
.btn--dunkel::after {
  content: "";
  position: absolute;
  left: calc(18 * var(--ux));
  right: calc(18 * var(--ux));
  bottom: calc(7 * var(--ux));
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--weich);
}
.btn--dunkel:hover::after { transform: scaleX(1); }

/* Kreis-CTA, Ø 136 */
.btn-kreis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(136 * var(--ux));
  height: calc(136 * var(--ux));
  padding-top: calc(3.2 * var(--ux));
  border-radius: 50%;
  background: var(--terra);
  color: var(--terra-dark);
  font-family: var(--serif);
  font-size: calc(15 * var(--ux));
  line-height: 1.133333;
  letter-spacing: .025em;
  text-align: center;
  transition: scale .5s var(--weich), background-color .4s var(--weich), color .4s var(--weich);
}
.btn-kreis { position: relative; }
/* Nur leicht größer, kein aufgehender Ring. `scale` statt `transform`: im
   Bildkopf hält die Einfahr-Animation mit forwards den transform fest, die
   Vergrößerung griff dort nie — übrig blieb allein der Ring. */
.btn-kreis:hover { scale: 1.05; }

/* Blätter-Navigation, zwei Kreise Ø 46 */
.blaettern { display: flex; gap: calc(12 * var(--ux)); }
.blaettern button {
  width: calc(46 * var(--ux));
  height: calc(46 * var(--ux));
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .3s var(--weich), color .3s var(--weich), opacity .3s var(--weich);
}
.blaettern button:not(:disabled):hover { background: currentColor; }
.blaettern button:not(:disabled):hover svg { color: var(--white); }
.blaettern button:disabled { opacity: .3; cursor: default; }
.blaettern svg { width: calc(6.5 * var(--ux)); height: calc(12 * var(--ux)); transition: color .3s var(--weich); }
.kachelslider--rosa .blaettern button:not(:disabled):hover svg { color: var(--terra); }

/* ==========================================================================
   Kopfzeile
   Fest am oberen Rand. Über dem Bildkopf transparent mit weißer Schrift,
   nach dem Bildkopf als helle Leiste mit blaugrauer Schrift. Beim Abwärts-
   scrollen fährt sie weg, beim Aufwärtsscrollen sofort wieder herein.
   ========================================================================== */
.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--kopf-hoehe);
  z-index: 50;
  pointer-events: none;
  transition: height .4s var(--weich), transform .45s var(--weich),
              background-color .4s var(--weich), box-shadow .4s var(--weich);
}
.kopf > * { pointer-events: auto; }

.kopf::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
  opacity: 1;
  transition: opacity .4s var(--weich);
  pointer-events: none;
}

.kopf__menue {
  position: absolute;
  left: calc(23 * var(--u));
  top: calc(24 * var(--ux));
  transition: top .4s var(--weich);
}

.kopf__logo {
  position: absolute;
  left: 50%;
  top: calc(50.8 * var(--ux));
  transform: translateX(-50%);
  width: calc(148.77 * var(--ux));
  transition: opacity .35s var(--weich), transform .4s var(--weich);
}
/* Die Logo-SVG ist weiß. Über eine Maske lässt sie sich für die helle
   Variante exakt auf Blaugrau umfärben, statt per Filter zu raten. */
.kopf__logo-bild {
  display: block;
  width: 100%;
  aspect-ratio: 148.77 / 83.45;
  background-color: var(--white);
  -webkit-mask: url("../assets/svg/logo.svg") no-repeat center / contain;
  mask: url("../assets/svg/logo.svg") no-repeat center / contain;
  transition: background-color .4s var(--weich);
}

.kopf__aktionen {
  position: absolute;
  right: calc(29 * var(--u));
  top: calc(24 * var(--ux));
  display: flex;
  align-items: center;
  gap: calc(6 * var(--ux));
  transition: top .4s var(--weich);
}

/* Helle Variante: Seiten ohne Bildkopf starten direkt blaugrau. */
.kopf--hell::before { opacity: 0; }
.kopf--hell .kopf__menue .btn,
.kopf--hell .kopf__aktionen .btn--ghost { color: var(--blue); }
.kopf--hell .kopf__logo-bild { background-color: var(--blue); }

/* Fester Zustand nach dem Bildkopf */
.kopf--fest {
  height: var(--kopf-hoehe-fest);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: saturate(170%) blur(20px);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  box-shadow: 0 1px 0 rgba(109, 114, 121, .14);
}
.kopf--fest::before { opacity: 0; }
.kopf--fest .kopf__menue,
.kopf--fest .kopf__aktionen { top: calc(18 * var(--ux)); }
/* Im festen Zustand bleibt nur noch der Weg zum Menü und zum Buchen — das
   Logo tritt ab, statt mitten im Scrollen zu schrumpfen. */
.kopf--fest .kopf__logo {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(calc(-8 * var(--ux)));
}
.kopf--fest .kopf__menue .btn,
.kopf--fest .kopf__aktionen .btn--ghost { color: var(--blue); }

/* Der Glasknopf braucht vor heller Leiste eine eigene Fassung. */
.kopf--fest .btn--glas {
  background: rgba(109, 114, 121, .09);
  color: var(--blue);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.kopf--fest .btn--glas:hover { background: rgba(109, 114, 121, .18); }

/* Weggefahren: beim Abwärtsscrollen und am Ende des Bildkopfs */
.kopf--weg { transform: translateY(-105%); }

/* Stumm: für den Gestaltwechsel zwischen offener und fester Leiste. Der
   findet immer außer Sicht statt und darf deshalb nichts animieren --
   sonst blitzt beim Umschalten eine Zwischenstufe auf. */
.kopf--stumm,
.kopf--stumm::before,
.kopf--stumm * { transition: none !important; }


/* ==========================================================================
   Navigation — Panel, das von links hereinfährt
   320 breit, beige, Einträge in FT Sterling als Versalien. Darunter die
   Apartments als eigene Gruppe, ganz unten der Claim in Lovelace.
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  /* Das geschlossene Panel steht seitlich außerhalb — ohne dieses Klippen
     zählte es zur scrollbaren Breite des Dokuments. `clip` statt `hidden`:
     `hidden` erzeugt einen Scrollcontainer, und genau den hat der Browser
     beim Fokussieren verschoben, um den noch draußen stehenden Inhalt zu
     zeigen. `clip` lässt sich nicht scrollen. */
  overflow: clip;
  visibility: hidden;
  transition: visibility 0s linear .52s;
}
.nav[data-offen="true"] { visibility: visible; transition: visibility 0s linear 0s; }

.nav__schirm {
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 24, .42);
  opacity: 0;
  transition: opacity .5s var(--sanft);
  cursor: pointer;
}
.nav[data-offen="true"] .nav__schirm { opacity: 1; }

.nav__panel {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: calc(320 * var(--ux));
  max-width: 86vw;
  display: flex;
  flex-direction: column;
  padding: calc(24 * var(--ux)) calc(30 * var(--ux)) calc(34 * var(--ux));
  background: var(--beige);
  color: var(--blue);
  transform: translateX(-100%);
  transition: transform .52s var(--sanft);
  will-change: transform;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav[data-offen="true"] .nav__panel { transform: none; }

/* Schließen sitzt genau dort, wo vorher „Menü" stand. */
.nav__schliessen {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--ux));
  align-self: flex-start;
  padding: calc(4 * var(--ux)) 0;
  color: var(--blue);
  transition: color .3s var(--weich);
}
.nav__schliessen:hover { color: var(--terra); }
.nav__kreuz { font-size: calc(15 * var(--ux)); line-height: 1; }

/* Schriftstil der Navigation: keine Versalien. Die Menüpunkte stehen in der
   Überschriftenschrift, Schließen und Instagram in der Grundschrift. */
.nav__schliessen,
.nav__insta {
  font-family: var(--sans);
  font-size: calc(15 * var(--ux));
  line-height: 1.23;
  letter-spacing: .025em;
}
.nav__insta { font-size: calc(14 * var(--ux)); }
.nav__liste a {
  font-family: var(--serif);
  font-size: calc(24 * var(--ux));
  line-height: 1.25;
  letter-spacing: .025em;
}

.nav__liste { flex: 1 1 auto; margin-top: calc(46 * var(--ux)); }
.nav__liste > ul > li { margin-top: calc(14 * var(--ux)); }
.nav__liste > ul > li:first-child { margin-top: 0; }

.nav__liste a {
  position: relative;
  display: inline-block;
  color: var(--blue);
  transition: color .3s var(--weich);
}
.nav__liste a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(-4 * var(--ux));
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--weich);
}
.nav__liste a:hover { color: var(--terra); }
.nav__liste a:hover::after { transform: scaleX(1); }
.nav__liste a[aria-current="page"] { color: var(--terra); }

/* Die Apartments: Hauptpunkt mit Aufklapper, darunter die sechs Einheiten */
.nav__gruppenkopf { display: flex; align-items: center; gap: calc(10 * var(--ux)); }
.nav__aufklapper {
  display: inline-flex; align-items: center; justify-content: center;
  width: calc(22 * var(--ux)); height: calc(22 * var(--ux));
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--blue);
  transition: color .3s var(--weich);
}
.nav__aufklapper:hover { color: var(--terra); }
.nav__aufklapper svg { width: calc(12 * var(--ux)); height: calc(12 * var(--ux)); transition: transform .4s var(--weich); }
.nav__gruppe[data-offen="true"] .nav__aufklapper svg { transform: rotate(180deg); }
.nav__unterliste {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--weich), visibility 0s linear .45s;
  visibility: hidden;
}
.nav__gruppe[data-offen="true"] .nav__unterliste {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .45s var(--weich), visibility 0s;
}
.nav__unterliste > ul { overflow: hidden; padding-left: calc(14 * var(--ux)); }
.nav__unterliste li { margin-top: calc(8 * var(--ux)); }
.nav__unterliste li:first-child { margin-top: calc(12 * var(--ux)); }
.nav__unterliste a { font-size: calc(17 * var(--ux)); }

/* Staffelung beim Öffnen */
/* Nur die obersten Einträge wandern — die Apartmentgruppe reist als Ganzes
   mit, sonst verschöbe sich ihr Inhalt doppelt. */
.nav__liste > ul > li, .nav__fuss > * {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .5s var(--weich), transform .5s var(--weich);
}
.nav[data-offen="true"] .nav__liste > ul > li,
.nav[data-offen="true"] .nav__fuss > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(.12s + var(--i, 0) * 38ms);
}

.nav__fuss { padding-top: calc(32 * var(--ux)); }
.nav__insta {
  display: inline-block;
  color: rgba(109, 114, 121, .55);
  transition: color .3s var(--weich);
}
.nav__insta:hover { color: var(--terra); }

/* ==========================================================================
   Anfragestrecke — Panel, das von rechts hereinfährt
   Dreistufig: Aufenthalt, Gäste, Persönliche Daten. Schriftstil wie die
   Navigation, Felder zweispaltig.
   ========================================================================== */
.anfrage {
  position: fixed;
  inset: 0;
  z-index: 70;
  /* Das geschlossene Panel steht seitlich außerhalb — ohne dieses Klippen
     zählte es zur scrollbaren Breite des Dokuments. `clip` statt `hidden`:
     `hidden` erzeugt einen Scrollcontainer, und genau den hat der Browser
     beim Fokussieren verschoben, um den noch draußen stehenden Inhalt zu
     zeigen. `clip` lässt sich nicht scrollen. */
  overflow: clip;
  visibility: hidden;
  transition: visibility 0s linear .52s;
}
.anfrage[data-offen="true"] { visibility: visible; transition: visibility 0s linear 0s; }

.anfrage__schirm {
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 24, .42);
  opacity: 0;
  transition: opacity .5s var(--sanft);
  cursor: pointer;
}
.anfrage[data-offen="true"] .anfrage__schirm { opacity: 1; }

.anfrage__panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: calc(760 * var(--ux));
  max-width: 100%;
  padding: calc(34 * var(--ux)) calc(72 * var(--ux)) calc(56 * var(--ux));
  background: var(--beige);
  color: var(--blue);
  transform: translateX(100%);
  transition: transform .52s var(--sanft);
  will-change: transform;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.anfrage[data-offen="true"] .anfrage__panel { transform: none; }

.anfrage__schliessen {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--ux));
  margin-left: auto;
  padding-bottom: calc(6 * var(--ux));
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  transition: color .3s var(--weich);
}
.anfrage__schliessen:hover { color: var(--terra); }

.anfrage__kopf { display: flex; }

.anfrage__titel {
  margin-top: calc(40 * var(--ux));
  text-align: center;
  font-family: var(--serif);
  font-size: calc(42 * var(--ux));
  line-height: 1.16;
  letter-spacing: .025em;
}
.anfrage__vorwort {
  margin: calc(24 * var(--ux)) auto 0;
  max-width: calc(520 * var(--ux));
  text-align: center;
}

/* Schrittanzeige */
.anfrage__schritte {
  display: flex;
  gap: calc(28 * var(--ux));
  justify-content: center;
  margin-top: calc(40 * var(--ux));
  padding-bottom: calc(18 * var(--ux));
  border-bottom: 1px solid rgba(109, 114, 121, .22);
}
.anfrage__marke {
  display: inline-flex;
  align-items: baseline;
  gap: calc(8 * var(--ux));
  color: rgba(109, 114, 121, .45);
  transition: color .35s var(--weich);
}
.anfrage__marke[data-aktiv="true"] { color: var(--terra-dark); }
.anfrage__marke[data-erledigt="true"] { color: var(--blue); }

/* Gemeinsamer Schriftstil mit der Navigation */
.anfrage__schliessen,
.anfrage__marke,
.feld__label,
.anfrage__hinweis {
  font-family: var(--sans);
  font-size: calc(12 * var(--ux));
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.anfrage__marke span:first-child { font-size: calc(11 * var(--ux)); opacity: .8; }

/* Schritte */
.anfrage__schritt { display: none; margin-top: calc(40 * var(--ux)); }
.anfrage__schritt[data-aktiv="true"] { display: block; animation: schrittEin .55s var(--weich); }
@keyframes schrittEin {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.anfrage__gruppentitel {
  text-align: center;
  font-family: var(--serif);
  font-size: calc(34 * var(--ux));
  line-height: 1.3;
  letter-spacing: .025em;
  margin-bottom: calc(32 * var(--ux));
}

.anfrage__felder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(24 * var(--ux));
  row-gap: calc(24 * var(--ux));
}

.feld { display: grid; gap: calc(9 * var(--ux)); align-content: start; }
.feld--voll { grid-column: 1 / -1; }
.feld__label { color: rgba(109, 114, 121, .68); }
.feld__label em { font-style: normal; color: var(--terra); }

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  height: calc(54 * var(--ux));
  padding: 0 calc(16 * var(--ux));
  border: 1px solid rgba(109, 114, 121, .34);
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-family: var(--sans);
  font-size: calc(16 * var(--ux));
  transition: border-color .3s var(--weich), background-color .3s var(--weich);
  -webkit-appearance: none;
  appearance: none;
}
.feld select {
  background: var(--white);
  background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%),
                    linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: calc(44 * var(--ux));
}
.feld input:hover, .feld select:hover { border-color: rgba(109, 114, 121, .6); }
.feld input:focus, .feld select:focus { outline: none; border-color: var(--terra); }
.feld input[aria-invalid="true"], .feld select[aria-invalid="true"] { border-color: var(--terra-dark); }
.feld__fehler {
  font-family: var(--sans);
  font-size: calc(13 * var(--ux));
  color: var(--terra-dark);
}

/* Einwilligung */
.anfrage__einwilligung {
  grid-column: 1 / -1;
  display: flex;
  gap: calc(14 * var(--ux));
  align-items: flex-start;
  margin-top: calc(10 * var(--ux));
}
.anfrage__einwilligung input {
  flex: none;
  width: calc(20 * var(--ux));
  height: calc(20 * var(--ux));
  margin-top: calc(3 * var(--ux));
  border: 1px solid rgba(109, 114, 121, .5);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color .25s var(--weich), border-color .25s var(--weich);
}
.anfrage__einwilligung input:checked {
  background: var(--terra);
  border-color: var(--terra);
  background-image: linear-gradient(45deg, transparent 46%, var(--white) 46%, var(--white) 56%, transparent 56%),
                    linear-gradient(-45deg, transparent 46%, var(--white) 46%, var(--white) 56%, transparent 56%);
  background-size: 60% 60%, 60% 60%;
  background-position: 52% 60%, 48% 60%;
  background-repeat: no-repeat;
}
.anfrage__einwilligung label { cursor: pointer; }
.anfrage__einwilligung em { font-style: normal; color: var(--terra); }

/* Steuerung */
.anfrage__steuerung {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--ux));
  margin-top: calc(40 * var(--ux));
}
.anfrage__steuerung .anfrage__weiter { margin-left: auto; }
.anfrage__hinweis {
  margin-top: calc(24 * var(--ux));
  color: rgba(109, 114, 121, .6);
  letter-spacing: .06em;
}

/* Honigtopf: aus dem Blick, aber nicht display:none – manche Bots
   überspringen unsichtbare Felder. */
.anfrage__falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Meldung, wenn der Versand scheitert */
.anfrage__fehler {
  margin-top: calc(28 * var(--ux));
  padding: calc(14 * var(--ux)) calc(18 * var(--ux));
  border-left: 2px solid var(--terra-dark);
  background: rgba(131, 38, 19, .06);
  color: var(--terra-dark);
  font-size: calc(15 * var(--ux));
  line-height: 1.5;
}
.anfrage__fehler a { text-decoration: underline; text-underline-offset: .15em; }
.anfrage__steuerung [data-senden][aria-busy="true"] { opacity: .6; cursor: progress; }

/* Bestätigung */
.anfrage__danke { display: none; margin-top: calc(72 * var(--ux)); text-align: center; }
.anfrage__danke[data-aktiv="true"] { display: block; animation: schrittEin .6s var(--weich); }
.anfrage__danke p { margin: calc(20 * var(--ux)) auto 0; max-width: calc(460 * var(--ux)); }
.anfrage__danke .btn { margin-top: calc(34 * var(--ux)); }

/* ==========================================================================
   Hero Fullscreen (Startseite)
   1252 × 760. Alle Positionen als Anteil der Bühne, damit sie unabhängig von
   der Scrollleiste sitzen.
   ========================================================================== */
/* Der Bildkopf füllt die Ansicht und scrollt normal mit; sein Bild wandert
   dabei etwas langsamer als die Seite. */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: calc(560 * var(--ux));
  overflow: hidden;
  background: #2a2724;
}
.hero__bild {
  animation: heroAtmen 2.8s var(--weich) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .40) 100%);
}
.hero__buehne {
  position: absolute;
  inset: 0;
  width: var(--rahmen);
  max-width: 100%;
  margin: 0 auto;
  z-index: 2;
}
/* Die drei Zeilen hingen vorher je an einem Prozentwert der Bildkopfhöhe.
   Seit der Bildkopf bildschirmfüllend ist, dehnte das ihren Abstand mit der
   Fensterhöhe — bei 1200 Höhe lagen 145 statt 92 dazwischen. Jetzt hängt nur
   noch der Block als Ganzes proportional, die Zeilen darin stehen in
   Entwurfsmaßen: im Figma y 299 / 391 / 469 bei Zeilenhöhe 87, also Versatz
   0 / 92 / 170. Der Block ist 257 hoch (299 bis 556), seine Mitte liegt bei
   427,55 von 760 — daran hängt er, damit sich die Korrektur auf oben und
   unten verteilt statt die Überschrift nach oben zu ziehen. */
.hero__zeilen {
  position: absolute;
  left: 0;
  right: 0;
  top: 56.2566%;
  height: calc(257 * var(--ux));
  margin: 0;
  transform: translateY(-50%);
}
.hero__zeile {
  position: absolute;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(26px);
  animation: hereinSteigen .95s var(--weich) forwards;
}
.hero__zeile--1 { left: 8.6262%;  top: 0;                     animation-delay: .20s; }
.hero__zeile--2 { left: 32.9872%; top: calc(92 * var(--ux));  animation-delay: .32s; }
.hero__zeile--3 { left: 22.0447%; top: calc(170 * var(--ux)); animation-delay: .44s; }

/* Die Tiere gehören zur Überschrift, nicht zum Rahmen: im Figma steht die Kuh
   dicht über „Gemeinsame", der Hahn neben „Glücksmomente", der Hase unter
   „erleben.". An Prozentwerten der Bildkopfhöhe trieben sie im
   bildschirmfüllenden Bildkopf von den Worten weg — die Kuh am weitesten.
   Deshalb hängen sie am selben Anker wie der Überschriftenblock (56,2566 % =
   427,55 von 760) und messen ihren Abstand dazu in Entwurfsmaßen:
   Kuh y 224, Hahn y 432, Hase y 510,06 — also −203,55 / +4,45 / +82,51. */
.hero__tier {
  position: absolute;
  height: auto;
  opacity: 0;
  transform: translateY(16px) scale(.92);
  animation: tierEin 1.1s var(--weich) forwards;
}
.hero__tier--kuh {
  left: 15.0024%;
  top: calc(56.2566% - 203.55 * var(--ux));
  width: 6.5631%;
  --tiefe: 13;
  animation-delay: .62s;
}
.hero__tier--hahn {
  left: 71.6510%;
  top: calc(56.2566% + 4.45 * var(--ux));
  width: 5.0815%;
  --tiefe: 9;
  animation-delay: .76s;
}
.hero__tier--hase {
  left: 19.3762%;
  top: calc(56.2566% + 82.51 * var(--ux));
  width: 4.3786%;
  --tiefe: 17;
  animation-delay: .90s;
}

.hero__kreis {
  position: absolute;
  left: 81.7093%;
  top: 75.263%;
  opacity: 0;
  animation: hereinSteigen .9s var(--weich) .68s forwards;
}

.hero__scroll {
  position: absolute;
  left: 49.4058%;
  top: 93.550%;
  width: calc(14.88 * var(--ux));
  height: calc(19.02 * var(--ux));
  opacity: 0;
  animation: hereinSteigen .8s var(--weich) 1.05s forwards;
}
/* Der Pfeil war aus drei gedrehten Strichen gebaut. Die beiden Schenkel waren
   zu lang und kreuzten sich hinter dem Schaft — auf dem Schirm stand ein
   Kreuz statt einer Spitze. Als Pfad stimmt die Geometrie von selbst. */
.hero__scroll svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--white);
  animation: pfeilWippen 2.4s var(--schnell) infinite;
}

@keyframes heroAtmen {
  from { scale: 1.08; }
  to   { scale: 1; }
}
@keyframes hereinSteigen {
  to { opacity: 1; transform: none; }
}
/* Der Endzustand ist nicht `none`, sondern die Ruhelage plus Zeigerversatz.
   Eine Animation mit `forwards` schlägt jede Inline-Angabe — über
   Custom Properties lässt sich der Wert trotzdem nachführen. `--zx` und
   `--zy` schreibt das Skript auf den Bildkopf, `--tiefe` steht je Tier. */
@keyframes tierEin {
  to {
    opacity: 1;
    transform: translate3d(
      calc(var(--zx, 0) * var(--tiefe, 10) * var(--ux)),
      calc(var(--zy, 0) * var(--tiefe, 10) * 0.55 * var(--ux)),
      0);
  }
}
@keyframes pfeilWippen {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 4px; }
}

/* ==========================================================================
   Page-Hero (Unterseiten) — 1252 × 560, Titel unten links im Raster
   ========================================================================== */
.seitenhero {
  position: relative;
  height: calc(560 * var(--ux));
  display: flex;
  align-items: flex-end;
  padding: 0 var(--rand) var(--rand);
  overflow: hidden;
  background: #2a2724;
}
/* Bildkopf, Seitenkopf und Vollbild wandern nach demselben Bauplan: das Bild
   ist oben und unten um den Spielraum größer als sein Rahmen, damit beim
   Wandern nirgends eine Kante frei wird. */
.hero__bild,
.seitenhero__bild,
.bildfull img {
  position: absolute;
  left: 0;
  top: calc(-1 * var(--parallax-raum));
  width: 100%;
  height: calc(100% + 2 * var(--parallax-raum));
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, var(--parallax, 0px), 0);
}
.seitenhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 40%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .40) 72%, rgba(0, 0, 0, .78) 100%);
}
.seitenhero .inner { position: relative; z-index: 2; }
.seitenhero__titelblock { display: grid; gap: var(--gutter); color: var(--white); }
.seitenhero__titel { max-width: calc(731 * var(--ux)); }
/* Für Titel, deren zweite Zeile länger ist (Kontakt): zweizeilig statt drei. */
.seitenhero__titel--breit { max-width: calc(960 * var(--ux)); }

/* ==========================================================================
   Intro — Label über Lead, volle Inhaltsbreite
   ========================================================================== */
.intro { padding: calc(100 * var(--ux)) var(--rand) calc(158 * var(--ux)); }
.intro__inner { display: grid; gap: calc(36 * var(--ux)); }

/* ==========================================================================
   Kacheln 3-spaltig — Rasterausnahme: Rand 13, Abstand 7
   ========================================================================== */
.kacheln {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(7 * var(--u));
  padding: 0 calc(13 * var(--u));
}

.kachel {
  position: relative;
  /* Die Breite muss gesetzt sein, sonst zieht das Seitenverhältnis die Kachel
     schmaler, sobald der Höhendeckel greift — die drei Kacheln klafften dann
     auseinander. So bleibt die Reihe geschlossen, und jenseits des Deckels
     wird die Kachel breiter als gezeichnet; das Bild schneidet oben und unten
     an (object-fit: cover). */
  width: 100%;
  aspect-ratio: 404 / 631;
  max-height: calc(760 * var(--ux));
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(26 * var(--ux)) calc(31 * var(--ux)) calc(30 * var(--ux));
  color: var(--white);
}
.kachel .kachel__bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--weich);
}
.kachel:hover .kachel__bild { transform: scale(1.06); }
.kachel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .40) 0%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .35) 100%);
  transition: opacity .6s var(--weich);
}
.kachel:hover::after { opacity: .8; }
/* Für helle Fotos: der Verlauf von oben reicht tiefer und ist kräftiger. */
.kachel--dunkler::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, 0) 52%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .35) 100%);
}
.kachel > *:not(.kachel__bild) { position: relative; z-index: 2; flex: none; }
.kachel__titel { max-width: calc(323 * var(--ux)); }
.kachel .btn { transition: background-color .3s var(--weich), transform .4s var(--weich); }
.kachel:hover .btn { background: rgba(255, 255, 255, .3); }
/* Kacheln ohne Knopf und Verlinkung zoomen beim Überfahren nicht. */
div.kachel:hover .kachel__bild { transform: none; }
div.kachel:hover::after { opacity: 1; }

/* ==========================================================================
   Split Text-Bild — Text 6 Spalten, leere Spalte, Bild 5 Spalten
   ========================================================================== */
.split { padding: calc(130 * var(--ux)) var(--rand) calc(141 * var(--ux)); }
.split__inner { align-items: center; }
.split__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: calc(60 * var(--ux)); }
.split__bild { grid-column: 8 / span 5; width: 100%; height: calc(623 * var(--ux)); object-fit: cover; }
.split__flies { width: 65.19%; }     /* 353,33 von 542 */
.split__aktion { padding-top: var(--gutter); }
.split--bild-links .split__bild { grid-column: 1 / span 5; }
.split--bild-links .split__text { grid-column: 7 / span 6; }

/* Split CTA — eigene Abstandsfolge, Bild 634 hoch */
.split-cta { padding: calc(122 * var(--ux)) var(--rand); }
.split-cta__inner { align-items: center; }
.split-cta__text { grid-column: 1 / span 6; }
.split-cta__headline { padding-top: calc(57 * var(--ux)); }
.split-cta__flies { padding-top: calc(33 * var(--ux)); width: 65.19%; }
.split-cta__aktion { padding-top: calc(46 * var(--ux)); }
.split-cta__bild { grid-column: 8 / span 5; width: 100%; height: calc(634 * var(--ux)); object-fit: cover; }

/* Split Bild-Liste — Bild 5 Spalten, Liste 6 Spalten ab Spalte 7 */
.bildliste { padding: 0 var(--rand) calc(138 * var(--ux)); }
.bildliste__inner { align-items: flex-start; }
.bildliste__spalte:first-child { grid-column: 1 / span 5; }
.bildliste__spalte:last-child { grid-column: 7 / span 6; }
/* Die Bilder liegen übereinander und blenden beim Überfahren eines Namens
   ineinander über. */
.bildliste__bilder { position: relative; height: calc(329 * var(--ux)); }
.bildliste__bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .55s var(--weich);
}
.bildliste__bild[data-aktiv="true"] { opacity: 1; }
.bildliste__liste { display: flex; gap: var(--gutter); }
.bildliste__namen { flex: 1 1 auto; min-width: 0; }
.bildliste__werte { flex: 0 0 calc(164.67 * var(--ux)); }
.bildliste__werte li { white-space: nowrap; }
.bildliste__namen a {
  position: relative;
  display: inline-block;
  transition: color .35s var(--weich);
}
.bildliste__namen a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(14 * var(--ux));
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--weich);
}
.bildliste__namen a:hover,
.bildliste__namen a:focus-visible { color: var(--terra); }
.bildliste__namen a:hover::after,
.bildliste__namen a:focus-visible::after { transform: scaleX(1); }

/* ==========================================================================
   Bild Fullscreen
   ========================================================================== */
.bildfull { position: relative; height: calc(760 * var(--ux)); overflow: hidden; }

/* Video in der Bildfläche: liegt über dem Standbild und wird wie ein Bild
   beschnitten. Unsichtbar, bis es wirklich läuft (siehe Skript). */
.bildfull__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
}
.bildfull__video[data-laeuft="ja"] { opacity: 1; transition: opacity .9s var(--sanft); }

/* ==========================================================================
   Bildslider Fullscreen — Unterzeile und Punkte auf Gutter-Abstand 24
   ========================================================================== */
.bildslider {
  position: relative;
  height: calc(760 * var(--ux));
  padding: 0 var(--gutter) var(--gutter);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2a2724;
  user-select: none;
  touch-action: pan-y;
}
@media (hover: hover) and (pointer: fine) {
  .bildslider { cursor: none; }
}
/* Eine Spur aus vollbreiten Bildern — nur so lässt sich wirklich ziehen.
   Vorher lagen die Bilder gestapelt und blendeten nur ineinander über. */
.bildslider__spur {
  position: absolute;
  inset: 0;
  display: flex;
  will-change: transform;
  transition: transform .55s var(--sanft);
}
.bildslider__bild {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.bildslider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .50) 100%);
  pointer-events: none;
}
.bildslider__fuss {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  /* Nur noch die Punkte, auf allen Seiten mittig am unteren Rand. */
  justify-content: center;
  color: var(--white);
}
.bildslider__punkte { display: flex; align-items: center; gap: calc(11 * var(--ux)); }
.bildslider__punkte button {
  width: calc(7 * var(--ux));
  height: calc(7 * var(--ux));
  border-radius: 50%;
  background: var(--white);
  opacity: .45;
  transition: opacity .3s var(--weich), transform .3s var(--weich);
}
.bildslider__punkte button:hover { opacity: .8; }
.bildslider__punkte button[aria-current="true"] { opacity: 1; transform: scale(1.35); }

.dragzeiger {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(33 * var(--ux));
  /* Senkrecht nur über die Flexachse zentrieren. Das ungleiche Polster von
     9 oben und 6 unten schob den Text aus der Mitte. */
  padding: 0 calc(18 * var(--ux));
  border-radius: calc(16.5 * var(--ux));
  background: rgba(23, 23, 23, .78);
  color: var(--white);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.9);
  opacity: 0;
  transition: opacity .3s var(--weich), transform .3s var(--weich);
}
.bildslider:hover .dragzeiger { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ==========================================================================
   Farbfläche — 4 Spalten / 7 Spalten
   ========================================================================== */
.farbflaeche { padding: calc(150 * var(--ux)) var(--rand) calc(121 * var(--ux)); color: var(--terra-dark); }
.farbflaeche__inner { align-items: stretch; }
.farbflaeche__links {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.farbflaeche__hoch { width: 100%; height: calc(500 * var(--ux)); object-fit: cover; }
.farbflaeche__aktion { padding-top: calc(39 * var(--ux)); }
.farbflaeche__rechts {
  grid-column: 6 / span 7;
  padding-top: calc(23 * var(--ux));
  display: flex;
  flex-direction: column;
  gap: calc(49 * var(--ux));
}
.farbflaeche__quer { width: 100%; height: calc(513 * var(--ux)); object-fit: cover; }
/* Hochformat im Querfeld (Familienfoto Startseite): Ausschnitt nach oben
   rücken, damit die Köpfe im Bild bleiben. */
.farbflaeche__quer--portraet { object-position: 50% 30%; }

/* ==========================================================================
   Kachel-Slider — Rasterausnahme: Start 65, Kachel 263, Abstand 5
   ========================================================================== */
.kachelslider { position: relative; padding-bottom: calc(111 * var(--ux)); overflow: hidden; }
/* Die Pfeile bekommen eine eigene Zeile über dem Text, statt auf der
   Höhe der Labelzeile zu sitzen. */
.kachelslider__kopf { padding: calc(132 * var(--ux)) var(--rand) 0; }
.kachelslider__kopf .inner { display: grid; gap: var(--gutter); }
.kachelslider__nav {
  position: absolute;
  top: calc(54 * var(--ux));
  left: 50%;
  transform: translateX(-50%);
  width: var(--inhalt);
  max-width: calc(100% - 2 * var(--rand));
  display: flex;
  justify-content: flex-end;
  color: var(--blue);
  z-index: 3;
}
.kachelslider__spur {
  margin-top: calc(135 * var(--ux));
  padding-left: calc(50% - 561 * var(--ux));
  display: flex;
  gap: calc(5 * var(--ux));
  transition: transform .6s var(--schnell);
  cursor: grab;
}
.kachelslider__spur:active { cursor: grabbing; }
.kachelslider--rosa { color: var(--terra-dark); }
.kachelslider--rosa .kachelslider__kopf .t-label,
.kachelslider--rosa .kachelslider__kopf .t-lead { color: var(--terra-dark); }
.kachelslider--rosa .kachelslider__nav { color: var(--terra-dark); }

.slide {
  position: relative;
  flex: 0 0 calc(263 * var(--ux));
  width: calc(263 * var(--ux));
  height: calc(356 * var(--ux));
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: calc(15 * var(--ux)) calc(21 * var(--ux));
  color: var(--white);
}
.slide__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--weich); }
.slide:hover .slide__bild { transform: scale(1.07); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .45) 100%);
  transition: opacity .6s var(--weich);
}
.slide:hover::after { opacity: .75; }
.slide__titel { position: relative; z-index: 2; transition: transform .5s var(--weich); }
.slide:hover .slide__titel { transform: translateY(-3px); }

/* ==========================================================================
   Feature-Grid 3er — drei Spalten à 4 Rasterspalten, Gutter 24
   ========================================================================== */
.featuregrid { padding: calc(120 * var(--ux)) var(--rand); }
.featuregrid__inner { align-items: flex-start; }
.featuregrid__spalte {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}
.featuregrid__bild { width: 100%; height: calc(442 * var(--ux)); object-fit: cover; }
.featuregrid--zwei .featuregrid__spalte { grid-column: span 6; }
.featuregrid__aktion { padding-top: calc(8 * var(--ux)); }

/* ==========================================================================
   Apartment — Bild wächst mit der Textspalte
   Die Höhe gibt allein die Textspalte vor. Läge das Bild im Fluss, würde seine
   Eigenhöhe den Block mitbestimmen — in Figma wächst es dagegen mit.
   ========================================================================== */
.apartment { padding: calc(120 * var(--ux)) var(--rand); }
/* Der Text sitzt im Raster, das Bild liegt absolut darüber: so bestimmt allein
   die Textspalte die Höhe. Prozentpolster scheiden aus — sie lösen sich am
   Elternblock auf, nicht an der Inhaltsspalte. */
.apartment__inner { position: relative; }
.apartment__bild {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--anteil-5);
  height: 100%;
  object-fit: cover;
}
.apartment__text { grid-column: 7 / span 6; }
.apartment__kopf { display: grid; gap: calc(12 * var(--ux)); }
.apartment__beschreibung { padding-top: calc(20 * var(--ux)); }
.apartment__daten { padding-top: calc(48 * var(--ux)); }
.apartment__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(16 * var(--ux));
  padding: calc(13 * var(--ux)) 0;
}
.apartment__preiszeile {
  padding-top: calc(36 * var(--ux));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
}

.linie { height: 1px; background: var(--linie); }

/* ==========================================================================
   Apartment Header — Abwandlung von Intro
   ========================================================================== */
.aptheader { padding: calc(100 * var(--ux)) var(--rand) calc(120 * var(--ux)); }
.aptheader__merkmale { display: flex; align-items: center; flex-wrap: wrap; gap: calc(40 * var(--ux)); }
.aptheader__merkmal { display: flex; align-items: center; gap: calc(10 * var(--ux)); }
.aptheader__merkmal svg { width: calc(18 * var(--ux)); height: calc(18 * var(--ux)); flex: none; }
.aptheader__beschreibung { padding-top: calc(40 * var(--ux)); }
.aptheader__aktionen { padding-top: calc(48 * var(--ux)); display: flex; flex-wrap: wrap; gap: calc(16 * var(--ux)); }

/* ==========================================================================
   FAQ — Textspalte links, Hochformatbild rechts, Bild oben bündig
   Das Bild ist immer genau so hoch wie die Textspalte. Läge es im Fluss, würde
   seine Eigenhöhe die Blockhöhe mitbestimmen — deshalb absolut im Container.
   ========================================================================== */
.faq { padding: calc(120 * var(--ux)) var(--rand); }
.faq__inner { position: relative; }
.faq__text { grid-column: 1 / span 6; }
.faq__liste { padding-top: calc(40 * var(--ux)); }
.faq__bild {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: var(--anteil-5);
  height: 100%;
  object-fit: cover;
}

.faq__eintrag { transition: opacity .3s var(--weich); }
.faq__frage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  padding: calc(19 * var(--ux)) 0;
  text-align: left;
  transition: color .3s var(--weich);
}
.faq__frage:hover { color: var(--terra); }
.faq__frage svg { width: calc(16 * var(--ux)); height: calc(16 * var(--ux)); flex: none; transition: transform .4s var(--weich); }
.faq__eintrag[data-offen="true"] .faq__frage svg { transform: rotate(180deg); }
.faq__antwort {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--weich);
}
.faq__eintrag[data-offen="true"] .faq__antwort { grid-template-rows: 1fr; }
.faq__antwort > div { overflow: hidden; }
.faq__antwort p {
  padding-bottom: calc(19 * var(--ux));
  width: 65.19%;
  max-width: 100%;
  opacity: 0;
  transition: opacity .35s var(--weich);
}
.faq__antwort ul {
  padding: 0 0 calc(19 * var(--ux)) 1.1em;
  margin: 0;
  width: 65.19%;
  max-width: 100%;
  list-style: disc;
  opacity: 0;
  transition: opacity .35s var(--weich);
}
.faq__antwort p:has(+ ul) { padding-bottom: calc(8 * var(--ux)); }
.faq__antwort a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.faq__eintrag[data-offen="true"] .faq__antwort p,
.faq__eintrag[data-offen="true"] .faq__antwort ul { opacity: 1; transition-delay: .12s; }

/* ==========================================================================
   Textblock mit Checkliste — Überschrift 5 Spalten, Liste 6 Spalten
   ========================================================================== */
.checkliste { padding: calc(120 * var(--ux)) var(--rand); }
.checkliste__inner { align-items: flex-start; }
.checkliste__text { grid-column: 1 / span 5; display: grid; gap: var(--gutter); }
.checkliste__liste {
  grid-column: 7 / span 6;
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--gutter);
  row-gap: calc(18 * var(--ux));   /* Zeilenabstand des Wrap-Layouts aus Figma */
}
.checkliste__eintrag {
  flex: 0 0 calc((100% - var(--gutter)) / 2);
  display: flex;
  gap: calc(12 * var(--ux));
}
/* Einspaltige Variante: ein Eintrag pro Zeile über die volle Spaltenbreite */
.checkliste--einspaltig .checkliste__eintrag { flex: 0 0 100%; }
/* Einträge mit erläuterndem Nachsatz laufen ebenfalls über die volle Breite --
   zweispaltig gesetzt bricht der Nachsatz in schmale Fetzen. */
.checkliste__eintrag--breit { flex: 0 0 100%; }
.checkliste__detail {
  display: block;
  margin-top: calc(3 * var(--ux));
  color: rgba(109, 114, 121, .72);
}
/* Einträge mit Nachsatz klappen auf: der Nachsatz ist Detail, nicht Liste */
.checkliste__mehr summary {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--ux));
  list-style: none;
  cursor: pointer;
}
.checkliste__mehr summary::-webkit-details-marker { display: none; }
.checkliste__mehr summary:hover { color: var(--terra); }
.checkliste__pfeil { display: inline-flex; color: var(--terra); }
.checkliste__pfeil svg { width: calc(12 * var(--ux)); height: calc(12 * var(--ux)); transition: transform .35s var(--weich); }
.checkliste__mehr[open] .checkliste__pfeil svg { transform: rotate(180deg); }
/* Der Haken sitzt in einem Rahmen von genau einer Zeilenhöhe, damit er bei
   zweizeiligen Einträgen auf der ersten Zeile bleibt. */
.checkliste__haken {
  flex: none;
  width: calc(14 * var(--ux));
  height: calc(25 * var(--ux));
  display: flex;
  align-items: center;
  padding-top: calc(1.4 * var(--ux));
}
.checkliste__haken svg { width: calc(12 * var(--ux)); height: calc(8 * var(--ux)); }

/* Grundriss unter der Überschrift des Checklisten-Blocks. Der Knopf öffnet
   die große Fassung in einem <dialog> (grundrisse() im Skript). */
.grundriss {
  display: grid;
  justify-items: start;
  gap: calc(14 * var(--ux));
  width: 100%;
  margin-top: calc(16 * var(--ux));
  text-align: left;
  cursor: zoom-in;
}
.grundriss__bild {
  width: auto;
  max-width: 100%;
  max-height: calc(340 * var(--ux));
  transition: opacity .3s var(--schnell);
}
.grundriss:hover .grundriss__bild { opacity: .72; }
.grundriss__hinweis {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--ux));
  color: var(--terra);
}
.grundriss__hinweis svg { width: calc(16 * var(--ux)); height: calc(16 * var(--ux)); flex: none; }
.grundriss:hover .grundriss__hinweis span { text-decoration: underline; text-underline-offset: .2em; }

.grundriss-dialog {
  --luft: clamp(16px, 3vw, 40px);
  --polster: clamp(20px, 3.4vw, 56px);
  margin: auto;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  background: var(--white);
  color: var(--blue);
  overflow: visible;
}
.grundriss-dialog::backdrop { background: rgba(46, 49, 53, .72); }
.grundriss-dialog[open] { animation: grundriss-auf .32s var(--sanft); }
.grundriss-dialog[open]::backdrop { animation: grundriss-blende .32s linear; }
@keyframes grundriss-auf { from { opacity: 0; transform: scale(.97); } }
@keyframes grundriss-blende { from { opacity: 0; } }
.grundriss-dialog__rahmen { padding: var(--polster); cursor: zoom-out; }
.grundriss-dialog__bild {
  width: auto;
  height: auto;
  max-width: calc(100vw - 2 * var(--luft) - 2 * var(--polster));
  max-height: calc(100vh - 2 * var(--luft) - 2 * var(--polster));
  max-height: calc(100dvh - 2 * var(--luft) - 2 * var(--polster));
}
.grundriss-dialog__zu {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  transition: color .2s var(--schnell);
}
.grundriss-dialog__zu:hover { color: var(--terra); }
.grundriss-dialog__zu svg { width: 16px; height: 16px; }
/* Am Telefon füllt der Grundriss die Höhe und lässt sich seitlich schieben --
   in die Breite eingepasst wäre er dort kaum größer als im Block. */
@media (max-width: 699px) and (orientation: portrait) {
  .grundriss-dialog { width: 100vw; height: 100vh; height: 100dvh; margin: 0; }
  .grundriss-dialog__rahmen { height: 100%; padding: 52px 20px 20px; overflow: auto; overscroll-behavior: contain; cursor: auto; }
  .grundriss-dialog__bild { max-width: none; max-height: none; height: 100%; }
}

/* ==========================================================================
   Buchung — Rahmen für die Buchungsmaschine
   Das Widget kommt von einem fremden Anbieter (Casablanca) und bringt sein
   eigenes Aussehen mit. Hier steht nur der Rahmen: Breite, Abstände und ein
   Mindestmaß, damit die Seite beim Nachladen nicht springt.
   ========================================================================== */
.buchung { padding: calc(110 * var(--ux)) var(--rand) calc(120 * var(--ux)); }
.buchung__inner { display: grid; gap: calc(34 * var(--ux)); }
.buchung__kopf { grid-column: 1 / span 7; display: grid; gap: var(--gutter); }
.buchung__feld {
  grid-column: 1 / span 12;
  min-height: calc(420 * var(--ux));
  padding: calc(28 * var(--ux));
  background: var(--white);
  border: 1px solid rgba(109, 114, 121, .16);
}
/* Der Anbieter setzt eigene Schriftgrößen; die Grundschrift geben wir vor,
   damit nichts aus dem Raster fällt. */
.buchung__feld { font-family: var(--sans); font-size: calc(16 * var(--ut)); }
.buchung__feld img { max-width: 100%; height: auto; }

/* Ersatz, falls das Widget nicht lädt — sichtbar erst, wenn das Skript es
   nach einigen Sekunden für ausgeblieben erklärt. Ohne JavaScript steht er
   ohnehin da, denn dann kommt das Widget auch nicht. */
.buchung__ersatz { display: grid; gap: calc(16 * var(--ux)); max-width: calc(560 * var(--ux)); }
[data-js] .buchung__ersatz[hidden] { display: none; }
.buchung__hinweis { grid-column: 1 / span 8; color: rgba(109, 114, 121, .82); }
.buchung__hinweis a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Fußzeile — 1252 × 330
   ========================================================================== */
.fuss { background: var(--blue); color: var(--white); height: calc(330 * var(--ux)); position: relative; }
.fuss__buehne { position: relative; width: var(--rahmen); max-width: 100%; height: 100%; margin: 0 auto; }
.fuss__badge { position: absolute; left: 4.5423%; top: calc(83.73 * var(--ux)); width: 7.6781%; height: auto; }
.fuss__spalte { position: absolute; top: calc(76.15 * var(--ux)); display: grid; gap: calc(20 * var(--ux)); }
.fuss__spalte--kontakt { left: 19.9681%; width: 15.0160%; }
.fuss__spalte--adresse { left: 42.3323%; width: 17.3323%; }
.fuss__spalte--service { left: 78.0351%; width: 15.2556%; }
.fuss__titel { font-family: var(--serif); font-size: calc(18 * var(--ux)); line-height: 1.444444; letter-spacing: .025em; }
.fuss__body  { font-family: var(--sans); font-size: calc(18 * var(--ux)); line-height: 1.5; }
.fuss__klein { font-family: var(--sans); font-size: calc(12 * var(--ux)); line-height: 2; letter-spacing: .025em; }
.fuss__recht { position: absolute; left: 19.9681%; top: calc(235 * var(--ux)); display: flex; align-items: center; gap: calc(17 * var(--ux)); }
.fuss__insta { position: absolute; left: 78.0351%; top: calc(235 * var(--ux)); display: flex; align-items: center; gap: calc(11 * var(--ux)); }
.fuss__insta svg { width: calc(15 * var(--ux)); height: calc(15 * var(--ux)); transition: transform .4s var(--weich); }
.fuss__insta:hover svg { transform: scale(1.15) rotate(-6deg); }

.fuss a { position: relative; }
.fuss__body a::after,
.fuss__recht a::after,
.fuss__insta span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--weich);
}
.fuss__insta span { position: relative; }
.fuss__body a:hover::after,
.fuss__recht a:hover::after,
.fuss__insta:hover span::after { transform: scaleX(1); }

/* ==========================================================================
   Seitenübergang
   Beim Laden blendet eine Fläche auf, beim Verlassen wieder zu.
   ========================================================================== */
.seitenblende {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--white);
  pointer-events: none;
  opacity: 0;
}
/* Das Aufblenden läuft allein über CSS. Hinge es am Hauptskript und das
   scheiterte, läge eine weiße Fläche über der ganzen Seite. */
[data-js] .seitenblende { animation: blendeAuf .55s var(--sanft) forwards; }
@keyframes blendeAuf { from { opacity: 1; } to { opacity: 0; } }

.seitenblende[data-geht="true"] {
  animation: none;
  opacity: 1;
  transition: opacity .3s var(--sanft);
}

/* ==========================================================================
   Scroll-Einblendungen
   ========================================================================== */
[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--weich), transform 1.1s var(--weich);
  transition-delay: calc(var(--i, 0) * 110ms);
  will-change: opacity, transform;
}

/* Bilder werden von oben nach unten aufgedeckt und laufen dabei auf Maß. */
[data-js] [data-reveal="bild"] {
  opacity: .35;
  transform: scale(1.055);
  clip-path: inset(0 0 22% 0);
  transition: opacity 1.3s var(--weich), transform 1.4s var(--weich), clip-path 1.4s var(--weich);
}

/* Kacheln blenden nur ein, samt ihrem Titel — kein Zoom, kein Anschnitt.
   Vergrößert wie die übrigen Bilder schoben sie sich über den 7er-Abstand
   in die Nachbarkachel. */
[data-js] .kachel[data-reveal],
[data-js] .kachel [data-reveal] { opacity: 0; transform: none; clip-path: none; transition: opacity 1.1s var(--weich); }

[data-js] [data-reveal].ist-da {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  will-change: auto;
}

/* ==========================================================================
   Tablet — 768 bis 1023: eine Spalte, großzügige Maße
   ========================================================================== */
@media (max-width: 1023.98px) {
  body { font-size: 17px; }

  .t-h1-hero     { font-size: clamp(42px, 7.4vw, 72px); }
  .t-h1-seite    { font-size: clamp(34px, 5.6vw, 54px); }
  .t-h2, .t-lead { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.38; }
  .t-h3          { font-size: clamp(22px, 2.9vw, 28px); line-height: 1.3; }
  .t-listentitel { font-size: clamp(24px, 3.2vw, 32px); }
  .t-listenwert  { font-size: 14px; }
  .t-kachel      { font-size: clamp(24px, 3.2vw, 30px); }
  .t-label       { font-size: 17px; }
  .t-body        { font-size: 17px; }
  .t-preis       { font-size: clamp(32px, 4.4vw, 42px); }
  :root { --zeile-liste: clamp(40px, 5.2vw, 52px); }

  /* Berührungsflächen: Pillen auf mindestens 44 hoch */
  .btn { height: 44px; padding: 5px 20px 0; border-radius: 22px; font-size: 15px; }
  .btn--outline { padding: 4px 20px 0; }
  .btn--ghost::after, .btn--dunkel::after { left: 20px; right: 20px; bottom: 11px; }
  .btn-kreis { width: 124px; height: 124px; font-size: 14px; }
  .blaettern { gap: 10px; }
  .blaettern button { width: 46px; height: 46px; }
  .blaettern svg { width: 7px; height: 13px; }

  /* Alle Rasterblöcke werden einspaltig */
  .split__inner,
  .split-cta__inner,
  .bildliste__inner,
  .farbflaeche__inner,
  .featuregrid__inner,
  .checkliste__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 52px);
  }
  .split__text, .split__bild,
  .split-cta__text, .split-cta__bild,
  .bildliste__spalte,
  .farbflaeche__links, .farbflaeche__rechts,
  .featuregrid__spalte,
  .checkliste__text, .checkliste__liste { width: 100%; }
  .grundriss { margin-top: 4px; gap: 12px; }
  .grundriss__bild { max-height: 300px; }
  .grundriss__hinweis { gap: 8px; }
  .grundriss__hinweis svg { width: 16px; height: 16px; }

  .split__text { gap: clamp(24px, 3.6vw, 40px); }
  .split__flies, .split-cta__flies, .faq__antwort p, .faq__antwort ul { width: 100%; }
  .split__bild, .split-cta__bild { height: clamp(300px, 46vw, 460px); }
  .split--bild-links .split__bild { order: -1; }

  .bildliste__bilder { height: clamp(220px, 34vw, 340px); }
  .bildliste__werte { flex: 0 0 auto; }

  .farbflaeche__hoch { height: clamp(280px, 44vw, 440px); }
  .farbflaeche__quer { height: clamp(260px, 40vw, 420px); }
  .farbflaeche__quer--portraet { height: auto; aspect-ratio: 4 / 5; }
  .farbflaeche__rechts { padding-top: 0; gap: clamp(28px, 4vw, 44px); }
  .farbflaeche__aktion { padding-top: 28px; }

  .featuregrid__bild { height: clamp(220px, 34vw, 320px); }

  .apartment__inner { display: flex; flex-direction: column; gap: 28px; }
  .apartment__text { width: 100%; }
  .apartment__bild { position: static; width: 100%; height: clamp(240px, 38vw, 360px); }

  .faq__inner { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 48px); }
  .faq__text { width: 100%; }
  .faq__bild { position: static; width: 100%; height: clamp(280px, 44vw, 420px); order: -1; }

  .buchung { padding: clamp(48px, 7vw, 76px) var(--rand); }
  .buchung__kopf, .buchung__feld, .buchung__hinweis { grid-column: 1 / -1; }
  .buchung__feld { min-height: 380px; padding: 18px; }

  .checkliste__eintrag { flex: 0 0 calc((100% - var(--gutter)) / 2); }
  .checkliste--einspaltig .checkliste__eintrag,
  .checkliste__eintrag--breit { flex: 0 0 100%; }
  .checkliste__haken { height: 24px; width: 14px; }
  .checkliste__haken svg { width: 12px; height: 8px; }

  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 10px; }
  .kachel { aspect-ratio: 3 / 4; padding: 22px 24px 24px; }
  .kachel__titel { max-width: none; }

  /* Senkrechte Rhythmik */
  .intro      { padding: clamp(48px, 8vw, 80px) var(--rand) clamp(56px, 9vw, 96px); }
  .intro__inner { gap: 24px; }
  .split, .split-cta, .farbflaeche, .apartment, .faq, .checkliste, .featuregrid, .aptheader {
    padding-top: clamp(48px, 8vw, 84px);
    padding-bottom: clamp(48px, 8vw, 84px);
  }
  .bildliste { padding: 0 var(--rand) clamp(48px, 8vw, 84px); }
  .kachelslider { padding-bottom: clamp(48px, 8vw, 80px); }
  .kachelslider__kopf { padding: clamp(48px, 8vw, 80px) var(--rand) 0; }
  .kachelslider__spur { margin-top: clamp(32px, 5vw, 52px); padding-left: var(--rand); gap: 10px; }
  .kachelslider__nav { position: static; transform: none; width: 100%; max-width: none; padding: 20px var(--rand) 0; justify-content: flex-start; }
  .slide { flex: 0 0 clamp(190px, 30vw, 248px); width: clamp(190px, 30vw, 248px); height: clamp(260px, 40vw, 336px); padding: 14px 18px; }
  .split-cta__headline { padding-top: 16px; }
  .split-cta__flies { padding-top: 20px; }
  .split-cta__aktion { padding-top: 28px; }
  .aptheader__beschreibung { padding-top: 24px; }
  .aptheader__aktionen { padding-top: 28px; }
  .aptheader__merkmale { gap: 20px 28px; }
  .apartment__daten { padding-top: 28px; }
  .apartment__preiszeile { padding-top: 24px; }
  .faq__liste { padding-top: 24px; }

  /* Kopfzeile */
  .kopf__menue, .kopf__aktionen { top: 20px; }
  .kopf__menue { left: var(--rand); }
  .kopf__aktionen { right: var(--rand); }
  .kopf__logo { top: 24px; width: 112px; }
  .kopf--fest .kopf__menue, .kopf--fest .kopf__aktionen { top: 12px; }
  .kopf--fest .kopf__logo { top: 10px; width: 84px; }

  .nav__panel { width: min(360px, 86vw); padding: 20px 24px 30px; }
  .nav__liste { margin-top: 36px; }

  .anfrage__panel { width: 100%; padding: 20px var(--rand) 44px; }
  .anfrage__titel { margin-top: 30px; font-size: clamp(26px, 4.6vw, 36px); }
  .anfrage__vorwort { max-width: 46em; margin-top: 18px; }
  .anfrage__schritte { flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; }
  .anfrage__gruppentitel { font-size: clamp(22px, 3.6vw, 30px); margin-bottom: 24px; }
  .anfrage__schritt { margin-top: 30px; }
  .anfrage__felder { column-gap: 18px; row-gap: 20px; }
  .feld input, .feld select { height: 50px; font-size: 16px; }
  .anfrage__steuerung { margin-top: 30px; }

  /* Bildköpfe */
  .hero { height: clamp(520px, 86vh, 760px); }
  .hero__buehne { width: 100%; max-width: none; padding: 0 var(--rand); }
  .hero__zeilen {
    position: absolute;
    left: var(--rand);
    right: var(--rand);
    top: 50%;
    /* Im Schmalband stehen die Zeilen im Fluss — die feste Blockhöhe des
       breiten Bandes muss hier wieder weg. */
    height: auto;
    transform: translateY(-50%);
  }
  .hero__zeile { position: static; white-space: normal; display: block; }
  .hero__tier { display: none; }
  .hero__kreis { left: auto; right: var(--rand); top: auto; bottom: 92px; }
  .hero__scroll { left: 50%; top: auto; bottom: 34px; transform: translateX(-50%); width: 15px; height: 20px; }

  .seitenhero { height: clamp(380px, 52vw, 480px); padding: 0 var(--rand) clamp(32px, 5vw, 48px); }
  .seitenhero__titel { max-width: 100%; }

  .bildfull { height: clamp(320px, 56vw, 560px); }
  .bildslider { height: clamp(420px, 70vw, 620px); padding: 0 var(--rand) 24px; cursor: default; }
  .bildslider__punkte button { width: 9px; height: 9px; }
  .dragzeiger { display: none; }

  /* Fußzeile */
  .fuss { height: auto; padding: clamp(40px, 7vw, 64px) var(--rand); }
  .fuss__buehne {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px var(--gutter);
    align-items: start;
  }
  .fuss__badge, .fuss__spalte, .fuss__recht, .fuss__insta { position: static; width: auto; }
  .fuss__badge { width: 86px; grid-column: 1 / -1; }
  .fuss__spalte { gap: 10px; }
  .fuss__titel, .fuss__body { font-size: 16px; }
  .fuss__klein { font-size: 12px; line-height: 1.9; }
  .fuss__recht { grid-column: 1 / -1; flex-wrap: wrap; gap: 6px 14px; }
  .fuss__insta { grid-column: 1 / -1; }
  /* „.fuss a { position: relative }“ ist spezifischer als .fuss__insta —
     ohne diese Zeile behielte der Link top: 235 und rutschte aus der Fußzeile. */
  .fuss .fuss__insta { position: static; }
}

/* ==========================================================================
   Smartphone — bis 767
   ========================================================================== */
@media (max-width: 767.98px) {
  /* 9 + 42 + 9 — vorher 62, das ließ unten 11 gegen 9 oben stehen. */
  :root { --rand: 20px; --gutter: 16px; --kopf-hoehe: 76px; --kopf-hoehe-fest: 60px; }

  .t-h1-hero { font-size: clamp(36px, 10.4vw, 52px); line-height: 1.08; }
  .t-h1-seite { font-size: clamp(30px, 8.4vw, 42px); line-height: 1.14; }
  .t-h2, .t-lead { font-size: clamp(22px, 5.6vw, 27px); line-height: 1.42; }
  .t-h3 { font-size: clamp(20px, 5.2vw, 25px); }
  .t-listentitel { font-size: clamp(22px, 5.6vw, 27px); }
  .t-kachel { font-size: clamp(22px, 5.6vw, 27px); }
  .t-preis { font-size: clamp(28px, 7vw, 36px); }
  body, .t-body, .t-label { font-size: 16px; }

  /* Im Kopf bleibt auf kleinen Geräten nur der wichtigste Weg stehen. */
  .kopf__aktionen .btn--ghost { display: none; }
  .kopf__logo { top: 18px; width: 92px; }
  .kopf__menue, .kopf__aktionen { top: 16px; }
  .kopf--fest .kopf__logo { top: 9px; width: 76px; }
  .kopf--fest .kopf__menue, .kopf--fest .kopf__aktionen { top: 9px; }
  .btn { height: 42px; font-size: 14px; padding: 5px 16px 0; }
  .btn--outline { padding: 4px 16px 0; }

  .nav__panel { width: 100%; max-width: none; padding: 16px var(--rand) 28px; }

  .anfrage__felder { grid-template-columns: minmax(0, 1fr); }
  .anfrage__steuerung { flex-direction: column-reverse; align-items: stretch; }
  .anfrage__steuerung .anfrage__weiter,
  .anfrage__steuerung .btn { margin-left: 0; width: 100%; }
  /* Auf schmalen Geräten trägt die Schrittanzeige nur noch die Ziffern. */
  .anfrage__marke span:last-child { display: none; }
  .anfrage__marke[data-aktiv="true"] span:last-child { display: inline; }
  .anfrage__schritte { justify-content: flex-start; }

  .kacheln { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 8px; }
  .kachel { aspect-ratio: 4 / 3; min-height: 320px; }

  .featuregrid__inner { gap: 44px; }
  .checkliste__eintrag { flex: 0 0 100%; }
  .bildliste__liste { gap: 14px; }

  .hero { height: clamp(500px, 88vh, 640px); }
  .hero__kreis { width: 108px; height: 108px; font-size: 13px; bottom: 76px; }
  .hero__zeilen { top: auto; bottom: 200px; transform: none; }

  .seitenhero { height: clamp(320px, 62vw, 420px); }

  .apartment__zeile { padding: 11px 0; }
  .apartment__preiszeile { flex-direction: column; align-items: flex-start; gap: 16px; }

  .fuss__buehne { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .fuss__recht { gap: 6px 12px; }

  .dragzeiger { display: none; }
}

/* ==========================================================================
   Kleine Smartphones — bis 479
   ========================================================================== */
@media (max-width: 479.98px) {
  :root { --rand: 16px; }
  .t-h1-hero { font-size: clamp(32px, 9.6vw, 40px); }
  .aptheader__merkmale { gap: 12px 20px; }
  .aptheader__aktionen .btn { flex: 1 1 100%; }
  .kachel { min-height: 280px; }
  .hero__kreis { width: 96px; height: 96px; font-size: 12px; }
}

/* ==========================================================================
   Handy-Feinschliff nach Dominiks Prüfung (17. November 2026, bei 500 breit)
   Steht bewusst hinter den Bändern 767 und 479 und überschreibt sie.
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Schrift: Fließtext und Zwischenüberschriften etwas größer. */
  body, .t-body { font-size: 17px; }
  .t-h2         { font-size: clamp(25px, 6.2vw, 30px); line-height: 1.34; }
  .t-h3         { font-size: clamp(22px, 5.8vw, 27px); }
  .t-kachel     { font-size: clamp(26px, 6.4vw, 30px); }
  .fuss__titel, .fuss__body { font-size: 17px; }
  .btn { font-size: 15px; }

  /* Kopf: Menü und Buchen größer. Feste Leiste 9 + 46 + 9. */
  :root { --kopf-hoehe-fest: 64px; }
  .kopf .btn { height: 46px; padding: 5px 20px 0; border-radius: 23px; font-size: 16px; }

  /* Bildkopf: Überschrift mittig wie am Desktop, mit den drei Tieren.
     --hs ist die Schriftgröße der Zeilen; Tiere und Block rechnen damit,
     damit sie auf jeder Breite an den Worten bleiben. Block = 3 Zeilen
     zu 1,08 = 3,24 hs, die halbe Höhe also 1,62 hs. */
  .hero { --hs: clamp(34px, 10vw, 50px); }
  .hero__zeilen { top: 50%; bottom: auto; transform: translateY(-50%); text-align: center; }
  .hero__zeile { font-size: var(--hs); line-height: 1.08; }
  .hero__tier { display: block; }
  .hero__tier--kuh  { width: calc(.92 * var(--hs)); left: 17%;  top: calc(50% - 1.62 * var(--hs) - 1.12 * var(--hs)); }
  .hero__tier--hahn { width: calc(.62 * var(--hs)); left: auto; right: 15%; top: calc(50% - 1.62 * var(--hs) - .98 * var(--hs)); }
  .hero__tier--hase { width: calc(.56 * var(--hs)); left: 27%;  top: calc(50% + 1.62 * var(--hs) + 14px); }
  .hero__kreis { width: 124px; height: 124px; font-size: 14px; bottom: 72px; }

  /* Bildformate: am Desktop sind diese Bilder hoch oder fast quadratisch,
     am Handy waren sie flache Streifen. Leichtes Hochformat für Kacheln,
     Bildlisten, Erleben-Raster und das Hochbild der Farbfläche; die übrigen
     Querformate etwas höher (4:3). */
  .kachel { aspect-ratio: 4 / 5; min-height: 0; }
  .bildliste__bilder,
  .featuregrid__bild,
  .farbflaeche__hoch { height: auto; aspect-ratio: 4 / 5; }
  .apartment__bild,
  .split__bild,
  .split-cta__bild,
  .faq__bild,
  .farbflaeche__quer { height: auto; aspect-ratio: 4 / 3; }
  /* Go-Kart (Familienurlaub): mittig angeschnitten fehlte der Kopf. */
  .faq__bild--oben { object-position: 50% 12%; }

  /* Farbfläche: Label mit Abstand zum Bild, Knopf unter den Text.
     Die beiden Spalten lösen sich auf, ihre Teile ordnen sich neu:
     Label, Hochbild, Text, Knopf, Querbild. */
  .farbflaeche__links, .farbflaeche__rechts { display: contents; }
  .farbflaeche__links > .t-label { order: 1; }
  .farbflaeche__hoch              { order: 2; }
  .farbflaeche__rechts > .t-lead  { order: 3; }
  .farbflaeche__aktion            { order: 4; padding-top: 0; margin-top: -8px; }
  .farbflaeche__quer              { order: 5; }
}
@media (max-width: 479.98px) {
  .hero { --hs: clamp(32px, 9.6vw, 40px); }
  .hero__kreis { width: 112px; height: 112px; font-size: 13px; }
}

/* ==========================================================================
   Rechtstext (Impressum, Datenschutz)
   Reine Lesespalte ohne Bildkopf: acht von zwölf Spalten, Fließtext im
   Lesemaß. Steht hinter den Schmalband-Regeln und bringt seine eigene mit.
   ========================================================================== */
.rechttext { padding: calc(90 * var(--ux)) var(--rand) calc(140 * var(--ux)); }
.rechttext__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.rechttext__text { grid-column: 1 / span 8; overflow-wrap: break-word; }
.rechttext__text h1 { margin: 0 0 calc(56 * var(--ux)); }
.rechttext__text h2 {
  margin: 0 0 calc(18 * var(--ux));
  font-family: var(--serif); font-weight: 400;
  font-size: calc(35 * var(--ux)); line-height: 1.371429; letter-spacing: .025em;
}
.rechttext__text h3 {
  margin: calc(56 * var(--ux)) 0 calc(14 * var(--ux));
  font-family: var(--serif); font-weight: 400;
  font-size: calc(24 * var(--ux)); line-height: 1.3; letter-spacing: .025em;
}
.rechttext__text p,
.rechttext__text ul { margin: 0 0 calc(16 * var(--ut)); }
.rechttext__text ul { padding-left: 1.2em; list-style: disc; }
.rechttext__text li + li { margin-top: calc(6 * var(--ut)); }
/* Die Hausschrift liegt nur in einem Schnitt vor, deshalb keine Fettung. */
.rechttext__text strong { font-weight: 400; }
.rechttext__text a { text-decoration: underline; text-underline-offset: .15em; }
.rechttext__text a:hover { color: var(--terra); }
/* Entwurfsmarken: fallen weg, sobald der Text rechtlich geprüft ist. */
.rechttext__hinweis { padding: calc(14 * var(--ut)) calc(18 * var(--ut)); background: var(--beige); }
.rechttext__offen { background: #fbe9a6; color: inherit; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fuss__recht a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 1023px) {
  .rechttext { padding: clamp(40px, 7vw, 72px) var(--rand) clamp(56px, 9vw, 96px); }
  .rechttext__text { grid-column: 1 / -1; }
  .rechttext__text h1 { margin-bottom: 32px; }
  .rechttext__text h2 { font-size: clamp(24px, 3.4vw, 32px); }
  .rechttext__text h3 { margin-top: 40px; font-size: clamp(20px, 2.8vw, 24px); }
}

/* ==========================================================================
   Einwilligung (Cookie-Hinweis)
   Karte unten rechts, die nichts verdeckt und nichts sperrt: die Seite ist
   auch ohne Entscheidung lesbar. Annehmen und Ablehnen sind gleich gestaltet.
   Entsteht per Skript (einwilligung in prototyp.js).
   ========================================================================== */
.shg-hinweis {
  position: fixed;
  right: calc(24 * var(--u));
  bottom: calc(24 * var(--u));
  z-index: 80;
  width: calc(440 * var(--ux));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: calc(28 * var(--ux)) calc(30 * var(--ux)) calc(26 * var(--ux));
  background: var(--beige);
  color: var(--blue);
  box-shadow: 0 calc(18 * var(--ux)) calc(60 * var(--ux)) rgba(40, 42, 46, .22);
  display: grid;
  gap: calc(16 * var(--ux));
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(24 * var(--ux)));
  transition: opacity .45s var(--sanft), transform .52s var(--sanft), visibility 0s linear .52s;
}
.shg-hinweis[data-offen="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s var(--sanft), transform .52s var(--sanft), visibility 0s;
}
.shg-hinweis:focus { outline: none; }
.shg-hinweis__titel { font-family: var(--serif); font-size: calc(24 * var(--ux)); line-height: 1.3; letter-spacing: .025em; }
.shg-hinweis__text { font-family: var(--sans); font-size: calc(15 * var(--ut)); line-height: 1.466667; }
.shg-hinweis__text a { text-decoration: underline; text-underline-offset: .15em; }
.shg-hinweis__text a:hover { color: var(--terra-dark); }
.shg-hinweis__auswahl { display: grid; border-top: 1px solid rgba(109, 114, 121, .22); }
.shg-hinweis__dienst {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: calc(12 * var(--ux));
  align-items: start;
  padding: calc(12 * var(--ux)) 0;
  border-bottom: 1px solid rgba(109, 114, 121, .22);
  font-family: var(--sans); font-size: calc(14 * var(--ut)); line-height: 1.428571;
  cursor: pointer;
}
.shg-hinweis__dienst strong { display: block; font-weight: 400; font-size: calc(16 * var(--ut)); color: var(--blue-dark); }
.shg-hinweis__dienst input {
  width: calc(18 * var(--ux)); height: calc(18 * var(--ux));
  margin: calc(3 * var(--ux)) 0 0;
  accent-color: var(--terra-dark);
  cursor: pointer;
}
.shg-hinweis__dienst input:disabled { cursor: default; }
.shg-hinweis__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: calc(8 * var(--ux)); margin-top: calc(4 * var(--ux)); }
.shg-hinweis__mehr {
  flex: 0 0 100%;          /* eigene Zeile unter den Knöpfen, linksbündig */
  text-align: left;
  padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: calc(14 * var(--ut)); line-height: 2; color: inherit;
  text-decoration: underline; text-underline-offset: .2em;
}
.shg-hinweis__mehr:hover { color: var(--terra-dark); }

/* Buchungsfeld, solange die Buchungsmaschine nicht geladen werden darf */
.buchung__sperre { display: grid; gap: calc(18 * var(--ux)); max-width: calc(560 * var(--ux)); }
.buchung__sperre a { text-decoration: underline; text-underline-offset: 3px; }
.buchung__sperre button { cursor: pointer; }
html:not([data-js]) .buchung__sperre { display: none; }

@media (max-width: 1023px) {
  .shg-hinweis { right: 12px; bottom: 12px; left: 12px; width: auto; max-width: none; padding: 22px 20px 20px; gap: 14px; }
  .shg-hinweis__titel { font-size: 22px; }
  .shg-hinweis__text { font-size: 15px; }
  .shg-hinweis__dienst { font-size: 14px; gap: 12px; padding: 12px 0; }
  .shg-hinweis__dienst strong { font-size: 16px; }
  .shg-hinweis__dienst input { width: 18px; height: 18px; margin-top: 3px; }
  .shg-hinweis__knoepfe { gap: 8px; }
  .shg-hinweis__mehr { font-size: 14px; }
  /* Nur im Vorschaustand: über der Leiste der Prüfkommentare bleiben.
     Fällt mit dem Ordner feedback/ weg. */
  body:has(#fb) .shg-hinweis { bottom: 92px; max-height: calc(100dvh - 108px); }
}
@media print { .shg-hinweis { display: none !important; } }

/* ==========================================================================
   Hofbistro — eigene Farbgebung, nur auf <body class="seite--hofbistro">
   Die Variablen werden hier umgehängt, deshalb ziehen Kopf, Menü, Anfrage
   und Cookie-Hinweis auf dieser Seite mit. Beige Blöcke werden dunkel und
   drehen darin Schrift und Linien auf Beige.
   ========================================================================== */
.seite--hofbistro {
  --blue: #272727;
  --blue-dark: #272727;
  --terra: #742726;
  --terra-dark: #742726;
  --linie: rgba(39, 39, 39, .22);
}
.seite--hofbistro .bg-beige {
  --blue: #eeeae4;
  --blue-dark: #eeeae4;
  --linie: rgba(238, 234, 228, .28);
  background: #272727;
  color: #eeeae4;
}
/* Der Rot-Ton ist dunkel: die Schrift im Knopf muss hell sein. */
.seite--hofbistro .btn--terra { color: #eeeae4; }
.seite--hofbistro .btn--terra:hover { background: #5a1d1c; color: #ffffff; }
.seite--hofbistro .bg-beige .btn--terra:hover { background: #eeeae4; color: #272727; }
/* Auf Dunkel trägt das Rot als Schriftfarbe nicht. */
.seite--hofbistro .bg-beige .faq__frage:hover,
.seite--hofbistro .bg-beige a:not(.btn):hover { color: #ffffff; }
.seite--hofbistro .bg-beige :focus-visible { outline-color: #eeeae4; }
.seite--hofbistro .fuss { background: #742726; }
/* Die Kacheln stehen auf Dunkelgrau und schließen an das Intro an;
   unten so viel Luft wie das Intro oben hat. */
.seite--hofbistro main > .kacheln--bistro {
  background: #272727;
  padding-bottom: max(48px, calc(100 * var(--ux)));
}
/* Eigenes Logo der Schmiede (Bildmarke mit Schriftzug) statt des
   Schmiedhofgut-Logos. Gleiche Breite, flacher. */
.seite--hofbistro .kopf__logo-bild {
  aspect-ratio: 503.23 / 196.48;
  -webkit-mask-image: url("../assets/svg/logo-schmiede.svg");
  mask-image: url("../assets/svg/logo-schmiede.svg");
}

/* ==========================================================================
   Bewegung reduzieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .seitenblende { display: none !important; }
  .hero__zeile, .hero__tier, .hero__kreis, .hero__scroll { opacity: 1; transform: none; }
  .hero__bild, .seitenhero__bild, .bildfull img { transform: none !important; animation: none !important; scale: 1 !important; }
}

/* Druck */
@media print {
  .kopf, .nav, .anfrage, .hero__scroll, .blaettern, .sprungmarke { display: none !important; }
  body { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ==========================================================================
   Logoleiste unter der Fußzeile — übernommen von der alten Website:
   Beige, 20 Polster, Bild mittig auf halber Inhaltsbreite, schmal volle Breite.
   ========================================================================== */
.foerderleiste { background: var(--beige); padding: 20px var(--rand); }
.foerderleiste__bild { display: block; width: 50%; max-width: calc(var(--rahmen) / 2); height: auto; margin: 0 auto; }
@media (max-width: 1023px) {
  .foerderleiste__bild { width: 100%; max-width: none; }
}
