/* Pension Eichenhof Räderloh – Stylesheet
   Farben: Nachtblau aus der Altseite, Eichengrün, Eichelgold, Leinen.
   Schriften: Bitter (Überschriften), Source Sans 3 (Text), beide lokal, SIL Open Font License. */

@font-face {
  font-family: "Bitter";
  src: url("/fonts/bitter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/sourcesans3-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------ Design-Tokens */
:root {
  color-scheme: light dark;
  --papier: #fbf8f2;
  --leinen: #f1eadc;
  --karte: #ffffff;
  --tinte: #1e2b36;
  --tinte-2: #4b5864;
  --akzent: #15365a;
  --nachtflaeche: #15365a;
  --nachtflaeche-2: #0e2741;
  --auf-nacht: #f6f1e6;
  --auf-nacht-2: #c9d4df;
  --eiche: #4d6b2f;
  --gold: #b58428;
  --gold-text: #845c12;
  --rahmen: #e2d9c6;
  --foto: #fffdf8;
  --schatten: 0 1px 2px rgb(30 43 54 / .08), 0 8px 22px rgb(30 43 54 / .10);
  --radius: 10px;
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2rem);
  --schrift: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --titel: "Bitter", Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #0f1922;
    --leinen: #15212c;
    --karte: #1a2835;
    --tinte: #ece6da;
    --tinte-2: #b9b2a5;
    --akzent: #a7c7ea;
    --nachtflaeche: #1b3652;
    --nachtflaeche-2: #0a131b;
    --auf-nacht: #f2ecdf;
    --auf-nacht-2: #bfcad6;
    --eiche: #acc98e;
    --gold: #d6a548;
    --gold-text: #e3b968;
    --rahmen: #2a3a48;
    --foto: #f3ede1;
    --schatten: 0 1px 2px rgb(0 0 0 / .3), 0 8px 22px rgb(0 0 0 / .35);
  }
}

/* ------------------------------------------------------------ Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.65 var(--schrift);
  overflow-wrap: break-word;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--titel); font-weight: 650; line-height: 1.2; color: var(--akzent); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p, ul, ol, dl, table, figure { margin: 0 0 1rem; }
p { text-wrap: pretty; }
a { color: var(--akzent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
strong { font-weight: 650; }
small { font-size: .9rem; }
.nur-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--nachtflaeche); color: var(--auf-nacht); padding: .6rem 1rem; border-radius: 6px;
}
.sprung:focus { top: 1rem; }
.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.huelle--schmal { width: min(100% - 2 * var(--rand), 46rem); margin-inline: auto; }

/* ------------------------------------------------------------ Topbar mit Öffnungshinweis */
.topbar { background: var(--nachtflaeche-2); color: var(--auf-nacht-2); font-size: .9rem; }
.topbar .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1.25rem; padding-block: .4rem; }
.topbar a { color: var(--auf-nacht); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.offen { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.offen svg { width: 1.15rem; height: 1.15rem; flex: none; }
.offen__lang { display: none; }
@media (min-width: 40em) { .offen__lang { display: inline; } }

/* Eichenblatt-Piktogramm: gefüllt (ganzjährig geöffnet) */
.blatt-icon .blatt { fill: var(--eiche); }
.topbar .blatt-icon .blatt { fill: #a9c98a; }
.blatt-icon .ader { stroke: var(--papier); }
.topbar .blatt-icon .ader { stroke: var(--nachtflaeche-2); }
.blatt-icon .eichel { fill: var(--gold); }
.blatt-icon .huetchen { fill: #7a5416; }

/* ------------------------------------------------------------ Kopf und Navigation */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--papier) 94%, transparent);
  border-bottom: 1px solid var(--rahmen);
}
@supports (backdrop-filter: blur(8px)) {
  .kopf { background: color-mix(in srgb, var(--papier) 82%, transparent); backdrop-filter: blur(10px) saturate(1.2); }
}
.kopf .huelle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .55rem; }
.marke { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--akzent); }
.marke svg { width: 2.6rem; height: 2.6rem; flex: none; }
.marke__name { font-family: var(--titel); font-weight: 700; font-size: 1.18rem; line-height: 1.1; display: block; }
.marke__ort { font-size: .82rem; color: var(--tinte-2); letter-spacing: .04em; display: block; }
.logo-blatt { fill: var(--akzent); }
.logo-ader { stroke: var(--papier); }
.logo-eichel { fill: var(--gold); }
.logo-huetchen { fill: #7a5416; }

.menue-knopf { display: none; }
.menue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem .2rem; }
.menue a {
  display: block; padding: .45rem .7rem; border-radius: 999px; text-decoration: none;
  color: var(--tinte); font-weight: 600; font-size: .98rem;
}
.menue a:hover { background: var(--leinen); color: var(--akzent); }
.menue a[aria-current="page"] { background: var(--nachtflaeche); color: var(--auf-nacht); }

/* Mit JavaScript klappt das Menü auf kleinen Bildschirmen ein */
@media (max-width: 74.99em) {
  .js .menue-knopf {
    display: inline-flex; align-items: center; gap: .5rem;
    font: 600 1rem var(--schrift); color: var(--akzent);
    background: var(--leinen); border: 1px solid var(--rahmen); border-radius: 999px; padding: .5rem .95rem; cursor: pointer;
  }
  .menue-knopf svg { width: 1.2rem; height: 1.2rem; }
  .js .menue { display: none; width: 100%; }
  .js .menue.offen-menue { display: block; }
  .js .menue ul { flex-direction: column; padding-block: .5rem .75rem; }
  .js .menue a { padding: .7rem .9rem; border-radius: 8px; }
}
@media (max-width: 74.99em) {
  .menue { width: 100%; }
  /* Ohne JavaScript steht das Menü ausgeklappt da, dann soll der Kopf nicht mitwandern */
  html:not(.js) .kopf { position: static; }
}

/* ------------------------------------------------------------ Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--nachtflaeche-2); }
.hero__bild, .hero__bild picture, .hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bild img { object-fit: cover; object-position: var(--fokus, 50% 50%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgb(8 22 36 / .86) 0%, rgb(8 22 36 / .45) 45%, rgb(8 22 36 / .12) 75%),
    linear-gradient(to right, rgb(8 22 36 / .55), rgb(8 22 36 / 0) 65%);
}
.hero__inhalt {
  position: relative; z-index: 3;
  min-height: clamp(20rem, 52vh, 30rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: 4rem clamp(4.5rem, 9vw, 6.5rem);
}
.hero--gross .hero__inhalt { min-height: clamp(30rem, 78vh, 44rem); }
.hero h1 { color: #fff; max-width: 20ch; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.hero__dach {
  font-family: var(--titel); font-style: italic; font-weight: 500; color: #f3dfae;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 0 0 .5rem;
}
.hero__text { max-width: 42rem; font-size: clamp(1.08rem, 1.9vw, 1.25rem); color: #f4f1ea; margin-bottom: 1.5rem; }
.hero .knoepfe { margin: 0; }
.welle { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; height: clamp(28px, 5vw, 64px); width: 100%; }
.welle path { fill: var(--papier); }
.welle--leinen path { fill: var(--leinen); }
.hero-garten { --fokus: 50% 60%; }
.hero-gaestezimmer { --fokus: 50% 45%; }
.hero-pfau { --fokus: 55% 40%; }
.hero-eichenblatt { --fokus: 50% 40%; }
.hero-hofgarten { --fokus: 50% 55%; }
.hero-kaffeetafel { --fokus: 50% 50%; }
.hero-ponys { --fokus: 45% 35%; }
.hero-speisezimmer { --fokus: 50% 60%; }

/* Kopf ohne Bild (Rechtliches) */
.seitenkopf { background: var(--leinen); padding-block: clamp(2.5rem, 7vw, 4rem) 2rem; border-bottom: 1px solid var(--rahmen); }
.seitenkopf h1 { margin: 0; }

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { padding-block: clamp(3rem, 8vw, 5.5rem); }
.abschnitt--leinen { background: var(--leinen); }
.abschnitt--eng { padding-block: clamp(2rem, 5vw, 3rem); }
.dachzeile {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .5rem;
}
.einleitung { font-size: 1.15rem; color: var(--tinte-2); max-width: 46rem; }
.zentriert { text-align: center; margin-inline: auto; }
.zentriert .einleitung { margin-inline: auto; }

.zweispaltig { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 52em) {
  .zweispaltig { grid-template-columns: 1.1fr .9fr; }
  .zweispaltig--umgekehrt > :first-child { order: 2; }
  .zweispaltig--oben { align-items: start; }
}
.raster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* ------------------------------------------------------------ Karten */
.karte {
  background: var(--karte); border: 1px solid var(--rahmen); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--schatten);
}
.karte h3 { margin-bottom: .4rem; }
.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }
.karte__icon { width: 2.6rem; height: 2.6rem; margin-bottom: .75rem; color: var(--eiche); }
.karte__mehr { font-weight: 650; }

/* ------------------------------------------------------------ Fotos im Album-Stil
   Die Fotos der Altseite sind klein. Ein heller Rahmen wie bei Abzügen im Fotoalbum
   lässt sie bewusst und ruhig wirken, statt sie unscharf zu vergrößern. */
.foto {
  margin: 0; background: var(--foto); padding: .5rem .5rem .55rem;
  border-radius: 3px; box-shadow: var(--schatten);
}
.foto img { width: 100%; height: auto; border-radius: 1px; }
.foto figcaption { color: #4b5864; font-size: .92rem; line-height: 1.4; padding: .5rem .2rem 0; font-style: italic; }
.foto--klein { width: fit-content; max-width: min(24rem, 100%); }
.foto--klein img { width: auto; max-width: 100%; }
.foto--mitte { margin-inline: auto; }
/* Feste Spaltenzahl je Breite, eine unvollständige letzte Reihe steht mittig statt links allein.
   Auf dem Handy zwei Fotos nebeneinander, damit die kleinen Originale nicht hochskaliert werden. */
.album {
  --spalten: 2; --spalt: .9rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.1rem var(--spalt);
}
.album > .foto { flex: 0 0 calc((100% - (var(--spalten) - 1) * var(--spalt)) / var(--spalten)); min-width: 0; }
.album .foto figcaption { font-size: .86rem; }
.album--breit { --spalten: 1; }
@media (min-width: 40em) {
  .album, .album--breit { --spalten: 3; --spalt: 1.25rem; row-gap: 1.5rem; }
  .zweispaltig .album { --spalten: 2; }
  .album .foto figcaption { font-size: .92rem; }
}
@media (min-width: 64em) {
  .album { --spalten: 5; }
  .album--breit { --spalten: 4; }
}
.album .foto:nth-child(3n+1) { transform: rotate(-.9deg); }
.album .foto:nth-child(3n+2) { transform: rotate(.6deg); }
.album .foto:nth-child(3n) { transform: rotate(-.3deg); }
@media (prefers-reduced-motion: no-preference) {
  .album .foto { transition: transform .35s ease, box-shadow .35s ease; }
  .album .foto:hover { transform: rotate(0) translateY(-3px); }
}
.foto-breit { margin: 0; }
.foto-breit img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); }
.foto-breit figcaption { color: var(--tinte-2); font-size: .92rem; font-style: italic; padding-top: .5rem; }
.foto-stapel { display: grid; gap: 1rem; }
@media (min-width: 30em) { .foto-stapel--2 { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.knopf {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--nachtflaeche); color: var(--auf-nacht);
  font: 650 1rem/1.2 var(--schrift); text-decoration: none; cursor: pointer;
}
.knopf:hover { background: var(--nachtflaeche-2); text-decoration: none; }
.knopf svg { width: 1.15rem; height: 1.15rem; flex: none; }
.knopf--gold { background: #f0c46a; color: #1f2a33; }
.knopf--gold:hover { background: #f6d48c; }
.knopf--rand { background: transparent; color: var(--akzent); border-color: currentColor; }
.knopf--rand:hover { background: var(--leinen); }
.hero .knopf--rand { color: #fff; }
.hero .knopf--rand:hover { background: rgb(255 255 255 / .12); }
.anfrage .knopf--rand { color: var(--auf-nacht); }
.anfrage .knopf--rand:hover { background: rgb(255 255 255 / .1); }

/* ------------------------------------------------------------ Listen, Fakten, Namensschilder */
.fakten { list-style: none; padding: 0; display: grid; gap: .55rem; }
.fakten li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; align-items: start; }
.fakten li::before {
  content: ""; width: 1rem; height: 1rem; margin-top: .35rem; border-radius: 50% 50% 50% 0;
  background: var(--eiche); transform: rotate(-45deg);
}
.schilder { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.schilder li {
  background: var(--karte); border: 1px solid var(--rahmen); border-radius: 999px;
  padding: .4rem 1rem; font-weight: 600; box-shadow: 0 1px 2px rgb(30 43 54 / .06);
}
.schilder li span { color: var(--tinte-2); font-weight: 400; }
.entfernungen { list-style: none; padding: 0; display: grid; gap: .1rem; }
.entfernungen li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--rahmen); }
.entfernungen li span:last-child { font-weight: 650; white-space: nowrap; color: var(--akzent); }

/* ------------------------------------------------------------ Preise */
.preise { width: 100%; border-collapse: collapse; background: var(--karte); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.preise caption { text-align: left; font-family: var(--titel); font-weight: 650; color: var(--akzent); font-size: 1.15rem; padding-bottom: .6rem; }
.preise th, .preise td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rahmen); }
.preise tbody tr:last-child > * { border-bottom: 0; }
.preise th { font-weight: 650; }
.preise th span { display: block; font-weight: 400; color: var(--tinte-2); font-size: .95rem; }
.preise td { white-space: nowrap; text-align: right; font-weight: 700; color: var(--akzent); font-size: 1.1rem; }
.hinweise { list-style: none; padding: 0; margin-top: 1rem; color: var(--tinte-2); font-size: .98rem; }
.hinweise li { padding-left: 1.2rem; position: relative; margin-bottom: .3rem; }
.hinweise li::before { content: "·"; position: absolute; left: .3rem; font-weight: 700; color: var(--gold-text); }

.preiskarte { display: grid; gap: .25rem; }
.preiskarte__preis { font-family: var(--titel); font-size: 2.2rem; font-weight: 700; color: var(--akzent); line-height: 1.1; }
.preiskarte__preis small { font-family: var(--schrift); font-size: 1rem; font-weight: 400; color: var(--tinte-2); }

/* ------------------------------------------------------------ Logos und Auszeichnungen */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.logos a, .logos figure { display: block; margin: 0; }
.logos img { height: 7.5rem; width: auto; border-radius: 6px; }
.logos .logo-breit img { height: 5.5rem; }

/* ------------------------------------------------------------ Ausflugsziele */
.ziele { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.ziele h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.ziele ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.ziele a { display: inline-flex; gap: .35rem; align-items: baseline; }
.ziele a::after { content: "↗"; font-size: .85em; text-decoration: none; display: inline-block; }
.ziele span { display: block; color: var(--tinte-2); font-size: .92rem; }

/* ------------------------------------------------------------ Anfrage-Band */
.anfrage { background: var(--nachtflaeche); color: var(--auf-nacht); padding-block: clamp(2.75rem, 7vw, 4.25rem); position: relative; overflow: hidden; }
.anfrage h2 { color: var(--auf-nacht); }
.anfrage p { color: var(--auf-nacht-2); max-width: 40rem; }
.anfrage a:not(.knopf) { color: var(--auf-nacht); }
.anfrage__blatt { position: absolute; right: -2rem; bottom: -3rem; width: 14rem; opacity: .09; transform: rotate(-18deg); }
.anfrage__blatt path { fill: #fff; }

/* ------------------------------------------------------------ Kontakt */
.kontaktliste { list-style: none; padding: 0; display: grid; gap: .6rem; }
.kontaktliste li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .7rem; align-items: start; }
.kontaktliste svg { width: 1.3rem; height: 1.3rem; margin-top: .2rem; color: var(--eiche); }
address { font-style: normal; }
.hinweisbox { border-left: 4px solid var(--eiche); background: var(--karte); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--schatten); }
.status { display: flex; gap: .9rem; align-items: flex-start; }
.status svg { width: 2.4rem; height: 2.4rem; flex: none; }
.status__titel { font-weight: 700; font-size: 1.1rem; margin: 0 0 .2rem; color: var(--akzent); }

/* ------------------------------------------------------------ Rechtliches */
.recht h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.recht h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.angaben { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin-bottom: 1.5rem; }
.angaben dt { font-weight: 650; }
.angaben dd { margin: 0; }
@media (max-width: 30em) { .angaben { grid-template-columns: 1fr; } .angaben dd { margin-bottom: .5rem; } }

/* ------------------------------------------------------------ Fuß */
.fuss { background: var(--nachtflaeche-2); color: var(--auf-nacht-2); padding-block: 3rem 2rem; font-size: .98rem; }
.fuss a { color: var(--auf-nacht); }
.fuss h2 { color: var(--auf-nacht); font-size: 1.1rem; margin-bottom: .75rem; }
.fuss__raster { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.fuss__unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .9rem; }
.fuss__marke { display: flex; gap: .6rem; align-items: center; margin-bottom: .75rem; color: var(--auf-nacht); font-family: var(--titel); font-weight: 700; font-size: 1.15rem; }
.fuss__marke svg { width: 2.2rem; height: 2.2rem; }
.fuss .logo-blatt { fill: #a9c98a; }
.fuss .logo-ader { stroke: var(--nachtflaeche-2); }

/* ------------------------------------------------------------ Gimmick 1: Gespann auf Kurs
   Ein Zweispänner fährt beim Scrollen am unteren Rand über die Marathonstrecke
   und nimmt am Seitenende die Wasserdurchfahrt. Nur mit JavaScript sichtbar,
   bei „Bewegung reduzieren“ ausgeblendet. */
.gespann { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .gespann {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(30px + env(safe-area-inset-bottom, 0px)); pointer-events: none;
    background: linear-gradient(to top, color-mix(in srgb, var(--papier) 92%, transparent) 55%, transparent);
  }
  .js body { padding-bottom: 30px; }
}
.gespann__strecke {
  position: absolute; left: 8px; right: 64px; bottom: calc(7px + env(safe-area-inset-bottom, 0px)); height: 2px;
  background: repeating-linear-gradient(to right, var(--gold) 0 10px, transparent 10px 18px); opacity: .75;
}
.gespann__wasser { position: absolute; right: 6px; bottom: calc(3px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 12px; }
.gespann__wasser path { fill: #5b9bd5; }
.gespann__wasser .welle2 { fill: #8cc0ea; }
.gespann__wagen {
  position: absolute; left: 0; bottom: calc(5px + env(safe-area-inset-bottom, 0px)); width: 66px; height: 26px;
  transform: translateX(calc(var(--p, 0) * (100vw - 92px)));
  will-change: transform;
}
.gespann__wagen svg { width: 66px; height: 26px; overflow: visible; }
.gw-pferd { fill: #7a4a23; }
.gw-pferd2 { fill: #a0643a; }
.gw-maehne { fill: #3c2412; }
.gw-wagen { fill: var(--akzent); }
.gw-rad { fill: none; stroke: var(--tinte); stroke-width: 1.4; }
.gw-speiche { stroke: var(--tinte); stroke-width: .9; }
.gw-person { fill: var(--tinte); }
.gw-leine { stroke: var(--tinte-2); stroke-width: .7; fill: none; }
.gw-raeder { transform-box: fill-box; transform-origin: center; transform: rotate(calc(var(--p, 0) * 4000deg)); }
.gw-bein { transform-box: fill-box; transform-origin: 50% 0; }
.gespann[data-schritt="1"] .gw-bein--a { transform: rotate(18deg); }
.gespann[data-schritt="1"] .gw-bein--b { transform: rotate(-14deg); }
.gespann[data-schritt="0"] .gw-bein--a { transform: rotate(-14deg); }
.gespann[data-schritt="0"] .gw-bein--b { transform: rotate(18deg); }
.gespann__spritzer { position: absolute; right: 18px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 22px; opacity: 0; }
.gespann__spritzer circle { fill: #8cc0ea; }
.gespann.platsch .gespann__spritzer { animation: platsch .7s ease-out; }
@keyframes platsch {
  0% { opacity: 0; transform: translateY(6px) scale(.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-8px) scale(1.15); }
}

/* ------------------------------------------------------------ Gimmick 2: Hof im Jahreslauf
   Der Kopfbereich zeigt die aktuelle Jahreszeit in Räderloh (Zeitzone Europe/Berlin).
   Ohne JavaScript bleibt das Foto ohne Zusatz. */
.jahreszeit { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.jz-schild {
  position: absolute; z-index: 3; right: var(--rand); top: 1rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgb(10 25 40 / .55); color: #fff; border: 1px solid rgb(255 255 255 / .25);
  padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
@supports (backdrop-filter: blur(6px)) { .jz-schild { backdrop-filter: blur(6px); background: rgb(10 25 40 / .4); } }
.jz-schild svg { width: 1rem; height: 1rem; }
.jz-teil { position: absolute; top: -10%; left: var(--x); width: var(--g); height: auto; opacity: .95; }
.jz-blatt path { fill: var(--f, #c9822e); }
.jz-schnee { position: absolute; inset: -100% 0 0; background-image:
  radial-gradient(circle at 20% 30%, #fff 0 3px, transparent 4px),
  radial-gradient(circle at 70% 60%, #fff 0 2.2px, transparent 3.2px),
  radial-gradient(circle at 45% 85%, rgb(255 255 255 / .85) 0 3.5px, transparent 4.5px),
  radial-gradient(circle at 90% 15%, rgb(255 255 255 / .75) 0 2px, transparent 3px);
  background-size: 180px 180px, 140px 140px, 220px 220px, 120px 120px; opacity: .85; }
.jz-schnee--2 { background-size: 260px 260px, 200px 200px, 300px 300px, 170px 170px; opacity: .6; }
.jz-krokusse { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vw, 52px); height: 70px; display: flex; justify-content: space-around; align-items: flex-end; padding-inline: 3%; }
.jz-krokus { width: clamp(18px, 2.6vw, 32px); height: auto; transform-origin: 50% 100%; scale: var(--s, 1); }
.jz-libelle { position: absolute; width: clamp(48px, 5vw, 64px); left: var(--x); top: var(--y); filter: drop-shadow(0 1px 2px rgb(0 0 0 / .35)); }
.jz-libelle .fluegel { fill: rgb(225 243 255 / .7); stroke: #fff; stroke-width: .7; }
.jz-libelle .koerper { fill: #18a5b5; }
.jz-sonne { position: absolute; right: -10%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 222 140 / .38) 0%, rgb(255 210 120 / .14) 40%, transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .jz-blatt { animation: fallen var(--d) linear var(--v) infinite; }
  .jz-schnee { animation: schneien 22s linear infinite; }
  .jz-schnee--2 { animation-duration: 34s; }
  .jz-krokus { animation: wachsen 1.6s cubic-bezier(.2, .8, .3, 1) var(--v) both; }
  .jz-libelle { animation: schwirren var(--d) ease-in-out var(--v) infinite alternate; }
  .jz-libelle .fluegel { animation: flattern .12s linear infinite alternate; transform-origin: 50% 50%; transform-box: fill-box; }
}
@media (prefers-reduced-motion: reduce) {
  .jz-blatt { top: var(--ruhe, 70%); transform: rotate(var(--r, 20deg)); }
}
@keyframes fallen {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(var(--dx), 32rem, 0) rotate(200deg); }
  100% { transform: translate3d(0, 64rem, 0) rotate(420deg); }
}
@keyframes schneien { from { transform: translateY(0); } to { transform: translateY(50%); } }
@keyframes wachsen { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes schwirren {
  0% { transform: translate(0, 0) rotate(-4deg); }
  35% { transform: translate(9vw, -2.5rem) rotate(6deg); }
  70% { transform: translate(4vw, 1.5rem) rotate(-8deg); }
  100% { transform: translate(15vw, -1rem) rotate(3deg); }
}
@keyframes flattern { from { transform: scaleY(1); } to { transform: scaleY(.55); } }

/* ------------------------------------------------------------ Kleinkram */
.abstand-oben { margin-top: 2.25rem; }
.karten-link { display: inline-block; text-decoration: none; color: inherit; }
.karten-link:hover figcaption { text-decoration: underline; }
.karten-link figcaption { font-style: normal; font-weight: 650; color: #15365a; }

/* ------------------------------------------------------------ 404 */
.fehler { text-align: center; padding-block: clamp(3rem, 10vw, 6rem); }
.fehler .hase { width: min(17rem, 70vw); margin: 0 auto 1.5rem; }
.fehler .knoepfe { justify-content: center; }
.hase .zaun { stroke: var(--gold); fill: none; }
.hase__koerper { fill: #9a7b5c; }
.hase__schwanz { fill: #f3ede1; }
.hase__auge { fill: #1e2b36; }
.hase__ohren { transform-box: fill-box; transform-origin: 30% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hase__koerper { animation: hoppeln 2.4s ease-in-out infinite; }
  .hase__ohren { animation: lauschen 3.2s ease-in-out infinite; }
}
@keyframes hoppeln { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-14px); } 90% { transform: translateY(0); } }
@keyframes lauschen { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-9deg); } 80% { transform: rotate(4deg); } }

/* ------------------------------------------------------------ Druck */
@media print {
  .topbar, .kopf nav, .menue-knopf, .gespann, .jahreszeit, .anfrage, .welle, .sprung { display: none !important; }
  .kopf { position: static; background: none; border: 0; }
  .hero { color: #000; background: none; }
  .hero::before, .hero__bild { display: none; }
  .hero h1, .hero__text, .hero__dach { color: #000; text-shadow: none; }
  .hero__inhalt { min-height: 0 !important; padding: 1rem 0; }
  body { background: #fff; color: #000; padding: 0 !important; }
  a { color: #000; }
  .fuss { background: none; color: #000; }
  .fuss a { color: #000; }
  .album .foto { transform: none !important; break-inside: avoid; }
}
