/* Ferienwohnung Schönwitz-Eibner – Design „Postkarte aus dem Altmühltal“
   Hell: Jurakalk-Töne, dunkle Schrift, Waldgrün + Ocker als Akzente. Dunkel: Grün-Anthrazit mit Ocker.
   Alle Farbpaare auf WCAG 2.2 AA geprüft (Text ≥ 4,5:1, Bedienelement-Ränder ≥ 3:1).
   Schriften: Newsreader + Manrope (SIL OFL 1.1), selbst gehostet. */

@font-face { font-family: "Newsreader"; src: url(/assets/fonts/newsreader-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/assets/fonts/newsreader-latin-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

/* ---------- Farben ---------- */
:root {
  --f-titel: "Newsreader", Georgia, serif;
  --f-text: "Manrope", system-ui, sans-serif;
  --bg: #f7f4ee; --flaeche-2: #ece7db; --rahmen: #ffffff; --kopf: #f7f4ee;
  --text: #1c2520; --leise: #4a534d;
  --akzent: #2e4a3b; --auf-akzent: #ffffff; --akzent-text: #2e4a3b; --link: #2e4a3b;
  --ocker: #835410;
  --linie: #ddd6c7; --linie-stark: #857c68; --feld: #ffffff; --fokus: #835410;
  --band: #ece7db; --auf-band: #1c2520; --band-ic: #2e4a3b;
  --fuss: #ece7db; --auf-fuss: #1c2520;
  --offen-text: #9a3412; --offen-bg: #fff7ed; --offen-rand: #c2410c;
  --schatten: 0 18px 40px -24px rgb(40 46 36 / .45);
  --breite: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) {
    --bg: #101613; --flaeche-2: #18201b; --rahmen: #232c26; --kopf: #101613;
    --text: #e9e5da; --leise: #a9b0a6;
    --akzent: #d7b46a; --auf-akzent: #1a1408; --akzent-text: #d7b46a; --link: #e2c688;
    --ocker: #e2c688;
    --linie: #27312b; --linie-stark: #6e7a71; --feld: #151c18; --fokus: #e9c77b;
    --band: #d7b46a; --auf-band: #1a1408; --band-ic: #1a1408;
    --fuss: #d7b46a; --auf-fuss: #1a1408;
    --offen-text: #fdba74; --offen-bg: #3b1d0a; --offen-rand: #fb923c;
    --schatten: 0 18px 40px -22px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-thema="dunkel"] {
  --bg: #101613; --flaeche-2: #18201b; --rahmen: #232c26; --kopf: #101613;
  --text: #e9e5da; --leise: #a9b0a6;
  --akzent: #d7b46a; --auf-akzent: #1a1408; --akzent-text: #d7b46a; --link: #e2c688;
  --ocker: #e2c688;
  --linie: #27312b; --linie-stark: #6e7a71; --feld: #151c18; --fokus: #e9c77b;
  --band: #d7b46a; --auf-band: #1a1408; --band-ic: #1a1408;
  --fuss: #d7b46a; --auf-fuss: #1a1408;
  --offen-text: #fdba74; --offen-bg: #3b1d0a; --offen-rand: #fb923c;
  --schatten: 0 18px 40px -22px rgb(0 0 0 / .8);
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--f-titel); font-weight: 450; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.6rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: var(--link); text-underline-offset: .2em; }
address { font-style: normal; margin-bottom: 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: min(100% - 2rem, var(--breite)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--text); color: var(--bg); padding: .7rem 1rem; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 1rem; }
.klein { font-size: .875rem; color: var(--leise); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.offen, .ph { display: inline-block; font: 600 .75rem/1.35 var(--f-text); letter-spacing: .01em; padding: .12rem .45rem; border: 1.5px dashed var(--offen-rand); color: var(--offen-text); background: var(--offen-bg); border-radius: 4px; vertical-align: .08em; }
.ph { font-size: .9rem; padding: .5rem .75rem; display: block; margin: .5rem 0 1rem; }
.entwurf-hinweis { margin: -1rem 0 2rem; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: var(--kopf); border-bottom: 1px solid var(--linie); }
.kopf-in { display: flex; align-items: center; gap: 1rem; min-height: 4rem; position: relative; }
.logo { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; margin-right: auto; }
.logo-zeichen { font: italic 500 1.5rem/1 var(--f-titel); color: var(--akzent-text); white-space: nowrap; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font: 500 1.25rem/1 var(--f-titel); white-space: nowrap; }
.logo-sub { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.werkzeuge { display: flex; align-items: center; gap: .25rem; }
.sprache, .thema, .menue { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; text-decoration: none; font-weight: 700; font-size: .85rem; }
@media (hover: hover) and (pointer: fine) { .sprache:hover, .thema:hover, .menue:hover { background: var(--flaeche-2); } }
.ic-sonne, .ic-zu { display: none; }
:root[data-thema="dunkel"] .ic-mond { display: none; }
:root[data-thema="dunkel"] .ic-sonne { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-thema="hell"]) .ic-mond { display: none; } :root:not([data-thema="hell"]) .ic-sonne { display: inline; } }
.menue[aria-expanded="true"] .ic-auf { display: none; }
.menue[aria-expanded="true"] .ic-zu { display: inline; }
.werkzeuge .kopf-cta { display: none; }

.nav { display: none; position: absolute; top: 100%; left: -1rem; right: -1rem; background: var(--kopf); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); padding: .5rem 1rem 1rem; }
.nav.ist-offen { display: block; }
.nav a { display: block; padding: .8rem .25rem; color: inherit; text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid var(--linie); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--akzent-text); text-decoration: underline; } }
@media (min-width: 960px) {
  .nav, .nav.ist-offen { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav ul { display: flex; gap: 1.5rem; }
  .nav a { padding: .25rem 0; font-size: .9rem; letter-spacing: .03em; border: 0; }
  .nav-anfrage, .menue { display: none; }
  .werkzeuge .kopf-cta { display: inline-flex; margin-left: .4rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.35rem; border-radius: 4px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--akzent); color: var(--auf-akzent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--linie-stark); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: var(--flaeche-2); } }
.btn-klein { min-height: 2.6rem; padding: .45rem 1rem; font-size: .9rem; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Titelbild + Postkarte ---------- */
.hero { position: relative; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-bild { position: relative; }
.hero-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.hero-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(16 22 19 / .22) 100%); pointer-events: none; }
.hero-wrap { position: relative; margin-top: -3.5rem; }
.hero-karte { position: relative; background: var(--rahmen); padding: 1.6rem 1.4rem 1.5rem; box-shadow: var(--schatten); border: 1px solid var(--linie); }
.hero-karte h1 { font-size: clamp(2.5rem, 8.5vw, 4.6rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.h1-name { display: block; font-style: italic; color: var(--akzent-text); }
.lead { font-size: 1.12rem; color: var(--leise); max-width: 32rem; }
.eyebrow { font: 700 .75rem/1.3 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--ocker); margin-bottom: .9rem; }
.hero-karte .eyebrow { padding-right: 6.5rem; }
.hero-stempel { position: absolute; top: -1.6rem; right: 1rem; width: 6.6rem; height: 6.6rem; margin: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.1; background: var(--rahmen); border: 2px dashed var(--ocker); color: var(--ocker); transform: rotate(8deg); box-shadow: 0 0 0 .35rem var(--rahmen); }
.hero-stempel strong { font: 500 1.7rem/1 var(--f-titel); color: var(--text); }
.hero-stempel span { font-size: .62rem; font-weight: 700; padding-inline: .6rem; }
@media (min-width: 720px) {
  .hero-bild img { aspect-ratio: auto; height: clamp(26rem, 68svh, 46rem); }
  .hero-wrap { margin-top: -12rem; }
  .hero-karte { max-width: 37rem; padding: 2.4rem 2.4rem 2.2rem; transform: rotate(-1deg); }
  .hero-stempel { top: 1.5rem; right: 1.5rem; width: 7.4rem; height: 7.4rem; }
  .hero-stempel strong { font-size: 2rem; }
  .hero-karte .eyebrow { padding-right: 8rem; }
}

/* ---------- Kurzfakten ---------- */
.fakten { background: var(--band); color: var(--auf-band); padding-block: 1.5rem; }
.fakten-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.fakten-liste li { display: flex; gap: .6rem; align-items: flex-start; }
.fakten-liste .ic { width: 1.5rem; height: 1.5rem; color: var(--band-ic); margin-top: .05rem; }
.fakten-liste strong { display: block; font-weight: 700; }
.fakten-liste small { font-size: .82rem; }
.fakt-preis { grid-column: 1 / -1; }
.fakt-preis strong { font: 500 1.35rem/1.1 var(--f-titel); }
@media (min-width: 720px) { .fakten-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fakt-preis { grid-column: auto; } }
@media (min-width: 1100px) { .fakten-liste { grid-template-columns: repeat(6, auto) minmax(0, 1.4fr); justify-content: space-between; } }

/* ---------- Kapitel ---------- */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt-kopf { border-top: 1px solid var(--linie-stark); padding-top: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: .25rem 3rem; }
.intro { font-size: 1.1rem; color: var(--leise); max-width: 38rem; }
@media (min-width: 960px) {
  .abschnitt-kopf:not(.abschnitt-kopf-schmal) { grid-template-columns: 1fr 1fr; align-items: end; }
  .abschnitt-kopf .eyebrow { grid-column: 1 / -1; }
  .abschnitt-kopf .intro { margin-bottom: .6rem; }
}

/* Postkarten: weißer Rand, Schatten; leichte Drehung nur ab Tablet-Breite */
.postkarte { display: block; background: var(--rahmen); padding: .55rem; box-shadow: var(--schatten); }
.postkarte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.raeume { display: grid; gap: 2.25rem; }
.raum-text { padding-top: 1rem; }
.raum-nr { font: 700 .75rem var(--f-text); letter-spacing: .14em; color: var(--ocker); margin: 0 0 .2rem; }
.raum-text h3 { margin-bottom: .2rem; }
.raum-text p:last-child { color: var(--leise); margin: 0; }
.hinweise { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin-top: 3rem; color: var(--leise); font-size: .95rem; }
.hinweise li { display: flex; align-items: center; gap: .45rem; }
@media (min-width: 720px) {
  .raeume { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }
  .raum:nth-child(odd) .postkarte { transform: rotate(-.8deg); }
  .raum:nth-child(even) .postkarte { transform: rotate(.9deg); }
}
@media (min-width: 960px) {
  .raeume { grid-template-columns: repeat(3, 1fr); }
  .raum:first-child { grid-column: span 2; }
}

/* ---------- Galerie ---------- */
.galerie { background: var(--flaeche-2); }
.galerie-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.g-link { position: relative; padding: .4rem; cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
.g-link img { aspect-ratio: 4 / 3; }
.g-lupe { position: absolute; right: .9rem; bottom: .9rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: #1c2520; opacity: 0; transition: opacity .2s; }
.g-link:focus-visible .g-lupe { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .g-link:hover .g-lupe { opacity: 1; } }
.galerie-mehr { margin-top: 2rem; }
@media (min-width: 720px) {
  .galerie-raster { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .galerie-raster li:nth-child(3n+1) .g-link { transform: rotate(-1deg); }
  .galerie-raster li:nth-child(3n+2) .g-link { transform: rotate(.6deg); }
  .galerie-raster li:nth-child(3n) .g-link { transform: rotate(-.4deg); }
}
@media (min-width: 720px) and (hover: hover) and (pointer: fine) {
  .galerie-raster .g-link:hover { transform: rotate(0) scale(1.02); }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; color: #f3f0e8; }
.lightbox::backdrop { background: rgb(8 12 10 / .92); }
.lightbox[open] { display: grid; place-items: center; }
.lb-figur { display: grid; gap: .75rem; justify-items: center; padding: 4rem 1rem 1.5rem; max-width: 100%; }
.lb-bild { max-width: min(92vw, 1100px); max-height: calc(100svh - 10rem); width: auto; height: auto; object-fit: contain; background: #fff; padding: .4rem; }
.lb-text { text-align: center; font-size: .95rem; max-width: 46rem; color: #e9e5da; }
.lb-zaehler { font-weight: 700; color: #f1d9a6; margin-right: .4rem; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .55); background: rgb(16 22 19 / .7); color: #fff; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: rgb(16 22 19 / .95); } }
.lb-btn:focus-visible { outline-color: #f1d9a6; }
.lb-zu { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-weiter { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 719px) { .lb-zurueck, .lb-weiter { top: auto; bottom: 1rem; translate: none; } .lb-figur { padding-bottom: 5rem; } }

/* ---------- Lage ---------- */
.lage-in { display: grid; gap: 2.5rem; }
.entfernungen { margin: 1.25rem 0 1.75rem; display: grid; gap: .4rem; }
.entfernungen div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .3rem 1rem; border-bottom: 1px solid var(--linie); padding-bottom: .45rem; }
.entfernungen dt { color: var(--leise); }
.entfernungen dd { margin: 0; font-weight: 700; text-align: right; }
.karte { min-height: 22rem; display: grid; place-items: center; text-align: center; padding: 2rem 1.25rem; background: var(--flaeche-2); border: 1px solid var(--linie-stark); }
.karte-platzhalter { max-width: 24rem; }
.karte-platzhalter > .ic { width: 2.5rem; height: 2.5rem; color: var(--akzent-text); margin: 0 auto .75rem; display: block; }
@media (min-width: 960px) { .lage-in { grid-template-columns: 5fr 7fr; align-items: center; gap: 4rem; } }

/* ---------- Aktivitäten ---------- */
.saisons { display: grid; gap: 2rem; }
.saison { border-top: 3px solid var(--akzent-text); padding-top: 1.25rem; }
.saison h3 { display: flex; align-items: center; gap: .5rem; font-size: 2rem; }
@media (min-width: 720px) { .saisons { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* ---------- Preise ---------- */
.preis-ab, .preis-einheit { font: 500 1.05rem/1.3 var(--f-text); color: var(--leise); letter-spacing: 0; }
.preise h2 { font-size: clamp(2.8rem, 8vw, 4.6rem); }
.preise-in { display: grid; gap: 2.5rem; }
.preis-karte { position: relative; border: 1.5px dashed var(--linie-stark); padding: 1.5rem 1.5rem 1.25rem; background: var(--feld); }
.konditionen { margin: 0; display: grid; }
.konditionen div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .3rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.konditionen div:last-child { border-bottom: 0; }
.konditionen dt { color: var(--leise); }
.konditionen dd { margin: 0; font-weight: 700; text-align: right; }
.preis-stempel { display: none; }
.preis-info h3 { font-size: 1.9rem; }
@media (min-width: 960px) {
  .preise-in { grid-template-columns: 7fr 5fr; align-items: center; gap: 4rem; }
  .preis-karte { padding: 2rem 9rem 1.75rem 2rem; }
  .preis-stempel { display: grid; place-items: center; position: absolute; top: 1.5rem; right: 1.5rem; width: 6rem; height: 6rem; margin: 0; border: 1.5px solid var(--ocker); color: var(--ocker); border-radius: 50%; font: italic 500 1rem var(--f-titel); transform: rotate(-12deg); }
}

/* ---------- Anfrage ---------- */
.anfrage { background: var(--flaeche-2); }
.anfrage-in { display: grid; gap: 2.5rem; }
.tel { line-height: 2.1; }
.tel a { font-weight: 700; font-size: 1.1rem; }
.formular { display: grid; gap: 1.1rem; background: var(--feld); padding: 1.5rem 1.25rem; border: 1px solid var(--linie); box-shadow: var(--schatten); }
.feld { display: grid; gap: .35rem; }
.feld label { font-weight: 700; font-size: .92rem; }
.pflicht { font-weight: 500; color: var(--leise); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1.5px solid var(--linie-stark); border-radius: 4px; background: var(--feld); }
.feld textarea { resize: vertical; }
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feld input, .feld select, .feld textarea { min-width: 0; }
.formular { min-width: 0; }
@media (max-width: 359px) { .feld-reihe { grid-template-columns: 1fr; } }
.formular .btn { justify-self: start; }
.formular .klein { margin: 0; }
@media (min-width: 960px) { .anfrage-in { grid-template-columns: 5fr 7fr; gap: 4rem; } .formular { padding: 2rem; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--fuss); color: var(--auf-fuss); padding-block: 2.5rem; font-size: .92rem; }
.fuss-in { display: grid; gap: 1.25rem; }
.fuss-name { font: 400 1.3rem/1.3 var(--f-titel); margin: 0; }
.fuss-name span { font: .88rem var(--f-text); }
.fuss-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.fuss a { color: inherit; display: inline-block; padding-block: .35rem; }
.fuss-oben { margin: 0; }
.fuss .ic { width: 1em; height: 1em; vertical-align: -.1em; }
@media (min-width: 960px) { .fuss-in { grid-template-columns: 1fr auto auto; align-items: center; gap: 2.5rem; } }

/* ---------- Rechtsseiten / 404 ---------- */
.recht { max-width: 48rem; padding-block: 2.5rem 4rem; }
.recht-text h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-top: 1rem; }
.recht-text h2 { font-size: 1.5rem; margin-top: 2rem; }
.recht-text ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.recht-hinweis { font-size: .95rem; color: var(--leise); border-left: 3px solid var(--ocker); padding-left: .75rem; }
.nf { padding-block: 5rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Titel-Postkarte: Stempel sitzt auf der Ecke (überdeckt keinen Text), Dach bleibt sichtbar */
.hero-bild img { object-position: 50% 22%; }
.hero-stempel { top: -3.4rem; right: .5rem; }
.hero-karte .eyebrow { padding-right: 5.5rem; }
@media (max-width: 479px) { .logo-sub { display: none; } }
@media (min-width: 720px) {
  .hero-wrap { margin-top: -16rem; }
  .hero-stempel { top: -3rem; right: -2.5rem; }
  .hero-karte .eyebrow { padding-right: 3rem; }
}
/* Lightbox: Figur braucht eine feste Breite, sonst schrumpft sie im zentrierten Raster auf 0 */
.lb-figur { width: 100%; }

/* ---------- Ausstattung ---------- */
.unter-titel { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 3.5rem 0 1.5rem; }
.ausstattung { display: grid; gap: 1.5rem; }
.ausst-gruppe { background: var(--rahmen); border: 1px solid var(--linie); padding: 1.25rem 1.25rem 1.1rem; }
.ausst-gruppe h4 { display: flex; align-items: center; gap: .5rem; font: 700 1rem/1.3 var(--f-text); margin: 0 0 .6rem; }
.ausst-gruppe h4 .ic { color: var(--akzent-text); width: 1.4rem; height: 1.4rem; }
.ausst-gruppe ul { display: grid; gap: .3rem; }
.ausst-gruppe li { padding-left: 1.1rem; position: relative; color: var(--leise); font-size: .98rem; }
.ausst-gruppe li::before { content: ""; position: absolute; left: .1rem; top: .65em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ocker); }
@media (min-width: 720px) { .ausstattung { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ausstattung { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Lage: Text, Route, Karte ---------- */
.lage-fliesstext p { max-width: 36rem; }
.route { position: relative; display: inline-block; }
.route summary { list-style: none; }
.route summary::-webkit-details-marker { display: none; }
.route-menue { position: absolute; z-index: 5; top: calc(100% + .4rem); left: 0; min-width: 17rem; background: var(--rahmen); border: 1px solid var(--linie-stark); box-shadow: var(--schatten); padding: .5rem 1rem .9rem; }
.route-menue li a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); font-weight: 700; }
.route-menue .klein { margin: .7rem 0 0; }
.karte.ist-geladen { display: block; padding: 0; background: var(--flaeche-2); }
.karte-rahmen { display: block; width: 100%; height: 26rem; border: 0; }
.karte-quelle { margin: 0; padding: .5rem .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* ---------- Aktivitäten ---------- */
.saison ul { display: grid; gap: 1.25rem; }
.saison h4 { font: 700 1.02rem/1.3 var(--f-text); margin: 0 0 .25rem; }
.saison p { color: var(--leise); margin: 0; }
.ausfluege { display: grid; gap: 1rem; }
.ausfluege li { background: var(--rahmen); padding: 1.1rem 1.2rem; box-shadow: var(--schatten); border-top: 3px solid var(--ocker); }
.ausfluege h4 { font: 500 1.35rem/1.2 var(--f-titel); margin: 0 0 .3rem; }
.ausfluege p { margin: 0; color: var(--leise); font-size: .97rem; }
.ausflug-mehr { margin-top: 1.25rem; color: var(--leise); }
.links-extern ul { display: flex; flex-wrap: wrap; gap: .75rem; }
.links-extern .ic { width: 1em; height: 1em; }
@media (min-width: 720px) { .ausfluege { grid-template-columns: repeat(2, 1fr); } .ausfluege li:nth-child(odd) { transform: rotate(-.5deg); } .ausfluege li:nth-child(even) { transform: rotate(.5deg); } }
@media (min-width: 1100px) { .ausfluege { grid-template-columns: repeat(3, 1fr); } }
.karte-platzhalter .klein a, .karte-quelle a { display: inline-block; padding-block: .3rem; min-height: 24px; }

/* ---------- Formular: Fehler, Status, Honeypot, Turnstile ---------- */
.formular-rahmen { min-width: 0; }
.feld-fehler { margin: .15rem 0 0; font-size: .9rem; font-weight: 700; color: var(--offen-text); }
.feld [aria-invalid="true"] { border-color: var(--offen-rand); border-width: 2px; }
.feld-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular { position: relative; }
.turnstile-feld:empty { display: none; }
.formular-status:empty { display: none; }
.formular-status { padding: .75rem 1rem; border-left: 4px solid var(--akzent-text); background: var(--flaeche-2); font-weight: 600; }
.formular-status.ist-fehler { border-color: var(--offen-rand); color: var(--offen-text); background: var(--offen-bg); }
.formular-noscript { padding: .75rem 1rem; background: var(--offen-bg); color: var(--offen-text); font-weight: 600; }
.formular-erfolg { background: var(--feld); padding: 2rem; border: 1px solid var(--linie); border-left: 5px solid var(--akzent-text); box-shadow: var(--schatten); }
.formular-erfolg h3 { font-size: 1.9rem; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* =====================================================================
   EFFEKTE (Vorbilder: Apple, Porsche, Sonos, Samsung) im Postkarten-Stil.
   Ohne JavaScript und bei "Bewegung reduzieren" ist alles sichtbar und ruhig.
   Animiert werden nur transform/opacity/clip-path (kein Layout-Springen).
   ===================================================================== */
:root { --weich: cubic-bezier(.22, .8, .24, 1); --feder: cubic-bezier(.34, 1.4, .5, 1); }

/* Kopfzeile: Milchglas + Lesefortschritt */
@supports (backdrop-filter: blur(1px)) {
  .kopf { background: color-mix(in srgb, var(--kopf) 80%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.kopf::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ocker); transform-origin: 0 50%; transform: scaleX(var(--lesen, 0)); }
.nav a.ist-aktiv { color: var(--akzent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }

/* Titelbild: Foto entwickelt sich, Postkarte gleitet herein, Stempel landet */
.hero-bild { overflow: hidden; }
.hero-bild img { transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-s, 1)); will-change: transform; }
.hero-bild img { animation: foto-entwickeln 1.6s var(--weich) both; }
.hero-karte { animation: karte-gleiten 1.1s .25s var(--weich) both; }
.hero-stempel { animation: stempel-landen .7s 1.05s var(--feder) both; }
@keyframes foto-entwickeln { from { filter: saturate(.35) brightness(1.12); scale: 1.06; } to { filter: none; scale: 1; } }
@keyframes karte-gleiten { from { opacity: 0; translate: 0 2.5rem; rotate: 2deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes stempel-landen { 0% { opacity: 0; scale: 1.8; rotate: -25deg; } 70% { opacity: 1; scale: .94; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }

/* Statement: Wort für Wort füllen (Apple) */
.statement { padding-block: clamp(4rem, 10vw, 8rem) 0; }
.statement-text { font-size: clamp(2.1rem, 5.6vw, 4.4rem); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; margin: 0 auto 3.5rem; text-align: center; }
.js .statement-text .wort { color: color-mix(in srgb, var(--text) 52%, var(--bg)); transition: color .35s; }
.js .statement-text .wort.an { color: var(--text); }

/* Kennzahlen mit feiner Linie (Apple) */
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; max-width: 60rem; margin: 0 auto; }
.zahlen li { border-top: 1px solid var(--linie-stark); padding-top: 1rem; }
.zahl { display: block; font-family: var(--f-titel); line-height: 1; margin-bottom: .4rem; }
.zahl-wert { font-size: clamp(2.8rem, 7vw, 4.4rem); font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.zahl-einheit { font-size: 1.4rem; color: var(--ocker); font-style: italic; }
.zahl-text { color: var(--leise); font-size: .95rem; }
@media (min-width: 900px) { .zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Panorama öffnet sich beim Scrollen (Porsche) */
.panorama { position: relative; margin: clamp(3rem, 7vw, 6rem) auto 0; width: min(100%, 75rem); overflow: hidden; }
.panorama img { width: 100%; height: clamp(18rem, 56vw, 40rem); object-fit: cover; object-position: 50% 55%; }
.js .panorama img { clip-path: inset(0 calc((1 - var(--auf, 1)) * 18%) round calc((1 - var(--auf, 1)) * 28px)); transform: scale(calc(1.08 - var(--auf, 1) * .08)); }
.panorama-text { position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0; width: min(100% - 2rem, 34rem); text-align: center; margin: 0; }
.panorama-text span { display: inline-block; background: var(--rahmen); color: var(--text); padding: .8rem 1.2rem; box-shadow: var(--schatten); font: italic 500 1.15rem/1.35 var(--f-titel); rotate: -1deg; }

/* Einblenden beim Scrollen */
.js .zeigen { opacity: 0; translate: 0 1.75rem; transition: opacity .8s var(--weich), translate .8s var(--weich), rotate .8s var(--weich); transition-delay: var(--verz, 0s); }
.js .zeigen.ist-sichtbar { opacity: 1; translate: 0 0; }
.js .postkarte.zeigen { translate: 0 2.5rem; rotate: 3deg; }
.js .postkarte.zeigen.ist-sichtbar { translate: 0 0; rotate: 0deg; }

/* Postkarten kippen leicht unter dem Mauszeiger (verspielt) */
@media (hover: hover) and (pointer: fine) {
  .kippen { transition: transform .35s var(--weich), box-shadow .35s; }
  .kippen.wird-gekippt { transition: transform .08s linear, box-shadow .35s; box-shadow: 0 30px 50px -28px rgb(30 40 30 / .55); }
}

/* Zimmer: Postkartenstapel auf fester Bühne (Apple-Szene).
   Handy: Stapel bleibt oben stehen, die Zimmertexte scrollen darunter durch.
   Desktop: Texte links, Stapel rechts. Ohne JavaScript: normale Liste mit einzelnen Postkarten. */
.szene-buehne { display: none; }
.js .szene { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.js .szene .raeume { display: block; padding-bottom: 12svh; }
.js .szene .raum { min-height: 40svh; display: flex; flex-direction: column; justify-content: flex-start; padding-block: 1.75rem 1rem; }
.js .szene .raum .postkarte { display: none; }
.js .szene .raum-text { border-left: 3px solid transparent; padding-left: 1.1rem; padding-top: 0; opacity: .88; transition: border-color .25s, translate .25s cubic-bezier(.23, 1, .32, 1), opacity .2s; }
.js .szene .raum.ist-aktiv .raum-text { opacity: 1; }
.js .szene .raum:not(.ist-aktiv) .raum-text h3 { color: var(--leise); }
.js .szene .raum.ist-aktiv .raum-text { border-color: var(--ocker); translate: .35rem 0; }
.js .szene-buehne {
  display: block; order: -1; position: sticky; z-index: 3; top: 4rem;
  height: min(44svh, 26rem); margin-inline: -1rem; padding: .5rem 1rem 0;
  background: linear-gradient(var(--bg) 82%, color-mix(in srgb, var(--bg) 0%, transparent));
}
/* Neue Karte: Deckkraft in 120 ms voll (keine zwei halbtransparenten Fotos übereinander), Weg in 350 ms mit kräftigem ease-out,
   leichte Unschärfe nur während des Einfahrens. */
.stapel-karte { position: absolute; inset: 7% 7% 9%; padding: .5rem .5rem 1.9rem; transition: transform .35s cubic-bezier(.23, 1, .32, 1), opacity .12s linear, filter .35s cubic-bezier(.23, 1, .32, 1); opacity: 0; filter: blur(2px); transform: translate3d(0, -16%, 0) rotate(var(--dreh, 0deg)) scale(1.06); }
.stapel-karte img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.stapel-karte.liegt { opacity: 1; filter: none; transform: translate3d(var(--dx, 0), var(--dy, 0), 0) rotate(var(--dreh, 0deg)) scale(1); }
.stapel-karte.liegt.oben { box-shadow: 0 30px 45px -24px rgb(30 40 30 / .55); }
.stapel-karte:nth-child(1) { --dreh: -3deg; --dx: -2%; --dy: 2%; }
.stapel-karte:nth-child(2) { --dreh: 2.5deg; --dx: 2%; --dy: -1%; }
.stapel-karte:nth-child(3) { --dreh: -1.5deg; --dx: -1%; --dy: 1%; }
.stapel-karte:nth-child(4) { --dreh: 3.5deg; --dx: 3%; --dy: 0%; }
.stapel-karte:nth-child(5) { --dreh: -.5deg; --dx: 0%; --dy: -1%; }
.stapel-zaehler { position: absolute; right: 1.25rem; bottom: .2rem; margin: 0; font: 700 .75rem/1 var(--f-text); letter-spacing: .14em; color: var(--ocker); }
@media (min-width: 960px) {
  .js .szene { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .js .szene .raeume { padding-bottom: 0; }
  .js .szene .raum { min-height: 62vh; justify-content: center; padding-block: 2rem; }
  .js .szene .raum-text { padding-left: 1.5rem; }
  .js .szene .raum.ist-aktiv .raum-text { translate: .5rem 0; }
  .js .szene .raum-text h3 { font-size: 2.6rem; }
  .js .szene .raum-text p:last-child { font-size: 1.15rem; max-width: 26rem; }
  .js .szene .raum-nr { font-size: .9rem; }
  .js .szene-buehne { order: 0; top: 14vh; height: 66vh; margin-inline: 0; padding: 0; background: none; z-index: auto; }
  .stapel-karte { inset: 6% 4%; padding: .7rem .7rem 2.6rem; transform: translate3d(0, -14%, 0) rotate(var(--dreh, 0deg)) scale(1.06); }
  .stapel-karte.liegt.oben { box-shadow: 0 40px 60px -30px rgb(30 40 30 / .6); }
  .stapel-zaehler { right: 0; bottom: -1.5rem; }
}

/* Galerie als Postkarten-Reihe zum Wischen (Sonos/Samsung) */
.karussell { position: relative; }
/* Bezugsbreite für die Galerie-Spur ist der Abschnitt selbst (100cqw), nicht das Fenster (100vw zählt die Scroll-Leiste mit) */
.galerie { container-type: inline-size; overflow-x: clip; }
.galerie-raster.karussell-spur { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 26rem); grid-template-columns: none; gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(1rem, (100cqw - 72rem) / 2); padding: 1.5rem max(1rem, (100cqw - 72rem) / 2) 2rem; margin-inline: calc(50% - 50cqw); scrollbar-width: none; }
.karussell-spur::-webkit-scrollbar { display: none; }
.karussell-spur li { scroll-snap-align: start; }
.karussell-spur .g-link img { aspect-ratio: 4 / 3; }
.galerie-raster.karussell-spur li:nth-child(odd) .g-link { transform: rotate(-1.2deg); }
.galerie-raster.karussell-spur li:nth-child(even) .g-link { transform: rotate(1deg) translateY(.6rem); }
.galerie-raster.karussell-spur .g-link:focus-visible { transform: rotate(0) translateY(-.4rem) scale(1.02); }
@media (hover: hover) and (pointer: fine) { .galerie-raster.karussell-spur .g-link:hover { transform: rotate(0) translateY(-.4rem) scale(1.02); } }
.karussell-steuer { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.karussell-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--linie-stark); background: var(--rahmen); color: var(--text); cursor: pointer; transition: transform .2s, opacity .2s; }
@media (hover: hover) and (pointer: fine) { .karussell-btn:hover { transform: scale(1.06); } }
.karussell-btn:active { transform: scale(.95); }
.karussell-btn:disabled { opacity: .35; cursor: default; transform: none; }
.karussell-fortschritt { flex: 1; height: 2px; background: var(--linie); position: relative; overflow: hidden; }
.karussell-fortschritt span { position: absolute; inset: 0; background: var(--ocker); transform-origin: 0 50%; transform: scaleX(var(--k, .2)); transition: transform .2s; }
@media (max-width: 719px) { .galerie-raster.karussell-spur li .g-link { transform: none !important; } }

/* Lightbox: weiches Öffnen (View Transitions, wo verfügbar) */
::view-transition-old(galerie-bild), ::view-transition-new(galerie-bild) { animation-duration: .45s; animation-timing-function: var(--weich); }
.lightbox[open] .lb-figur { animation: lb-auf .4s var(--weich); }
@keyframes lb-auf { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }

/* Buttons: Pfeil stupst nach rechts */
.btn .ic:last-child { transition: translate .25s var(--weich); }
@media (hover: hover) and (pointer: fine) { .btn:hover .ic:last-child { translate: .2rem 0; } }

/* Ruhe für alle, die es so eingestellt haben */
@media (prefers-reduced-motion: reduce) {
  .js .zeigen, .js .postkarte.zeigen { opacity: 1 !important; translate: none !important; rotate: none !important; }
  .hero-bild img, .hero-karte, .hero-stempel { animation: none !important; }
  .hero-bild img { transform: none !important; }
  .js .panorama img { clip-path: none !important; transform: none !important; }
  .js .statement-text .wort { color: var(--text) !important; }
  .stapel-karte, .kippen { transition: none !important; }
}

/* =====================================================================
   v1.1 – Tippflächen mindestens 44 px (ohne sichtbare Größenänderung: Innenabstand statt größerer Schrift)
   ===================================================================== */
.logo { min-height: 2.75rem; }
.btn-klein { min-height: 2.75rem; }
@media (min-width: 960px) { .nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding-block: 0; } }
.tel a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .15rem; }
.fuss a { padding-block: .7rem; }
.formular .klein a, .karte-platzhalter .klein a, .karte-quelle a { display: inline-block; padding-block: .7rem; margin-block: -.7rem; }
.hero-stempel span { font-size: .75rem; padding-inline: .4rem; }

/* Anfrage-Leiste am Handy: Anfragen und Anrufen immer erreichbar (Postkarten-Stil) */
.anfrage-leiste { display: none; }
@media (max-width: 959px) {
  .anfrage-leiste { position: fixed; z-index: 40; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); display: flex; gap: .5rem; padding: .5rem; background: var(--rahmen); border: 1px solid var(--linie); box-shadow: var(--schatten); transition: transform .25s cubic-bezier(.23, 1, .32, 1), opacity .2s; }
  .anfrage-leiste .btn { min-height: 2.75rem; }
  .anfrage-leiste .btn-primary { flex: 1; }
  .anfrage-leiste .btn-ghost { width: 2.75rem; padding: 0; }
  .anfrage-leiste.ist-weg { transform: translateY(calc(100% + 1.5rem)); opacity: 0; pointer-events: none; }
  .fuss { padding-bottom: 6rem; }
  html { scroll-padding-bottom: 5.5rem; } /* Fokus wird nicht von der Leiste verdeckt (WCAG 2.4.11) */
}
@media (prefers-reduced-motion: reduce) { .anfrage-leiste { transition: opacity .2s !important; } .anfrage-leiste.ist-weg { transform: none; } }

/* =====================================================================
   Titelbild: KI-Illustration (16:9, bis 2560 px) mit sichtbarem Hinweis „Illustration“
   Handy (4:3-Ausschnitt): Haus und Gaube im Bild, Rasen unten liegt unter dem Titelkasten.
   Ab 720 px (flach und breit): oben anschneiden, damit Dach und Gaube nie abgeschnitten werden.
   ===================================================================== */
.hero-bild img { object-position: 38% 50%; }
@media (min-width: 720px) { .hero-bild img { object-position: 50% 10%; } }
.hero-hinweis { position: absolute; z-index: 1; right: .75rem; bottom: 7.75rem; margin: 0; padding: .2rem .55rem; border-radius: 3px; background: rgb(16 22 19 / .8); color: #fff; font: 600 .8125rem/1.35 var(--f-text); letter-spacing: .01em; pointer-events: none; }
@media (min-width: 720px) { .hero-hinweis { bottom: 1rem; right: 1rem; } }

/* =====================================================================
   v1.2.0 – Ausstattung als vollständige, ruhige Liste (alle Merkmale an einer Stelle),
   Aktivitäten nur Sommer (drei Spalten am Desktop)
   ===================================================================== */
.ausstattung { display: block; columns: 1; column-gap: 1.5rem; }
@media (min-width: 720px) { .ausstattung { columns: 2; } }
@media (min-width: 1100px) { .ausstattung { columns: 3; } }
.ausst-gruppe { break-inside: avoid; margin-bottom: 1.5rem; }
.ausst-gruppe li { padding-left: 1.5rem; }
/* Haken statt Punkt */
.ausst-gruppe li::before { left: .2rem; top: .45em; width: .35rem; height: .7rem; border-radius: 0; background: none; border: solid var(--ocker); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.saisons.saisons-eins { grid-template-columns: 1fr; }
@media (min-width: 960px) { .saisons-eins .saison ul { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* =====================================================================
   v1.3.0 – Preisstaffel 2027 (Tabelle in der Preiskarte)
   ===================================================================== */
.preis-staffel { margin-bottom: 1.75rem; }
.preis-staffel h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.preis-staffel .klein { margin: 0 0 .9rem; }
.preis-staffel table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.preis-staffel th, .preis-staffel td { padding: .55rem .25rem; border-bottom: 1px solid var(--linie); text-align: right; }
.preis-staffel th:first-child { text-align: left; }
.preis-staffel thead th { font-size: .82rem; font-weight: 700; color: var(--leise); }
.preis-staffel tbody th { font-weight: 500; color: var(--leise); }
.preis-staffel tbody td:nth-child(2) { font-weight: 700; }
.preis-staffel .staffel-best th, .preis-staffel .staffel-best td { color: var(--text); font-weight: 700; border-bottom: 0; }
.preis-staffel .staffel-best td:nth-child(2) { color: var(--akzent-text); font-size: 1.1rem; }

/* Verfügbarkeit prüfen (Preisabschnitt, rechte Spalte) */
.verf { display: grid; gap: .9rem; margin-bottom: 2.5rem; padding: 1.5rem 1.25rem; background: var(--feld); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.verf h3, .verf h2 { margin: 0; }
.verf .klein { margin: 0; }
.verf .btn { justify-self: start; }
.verf-ergebnis:empty { display: none; }
.verf-ergebnis { display: grid; gap: .5rem; padding: .9rem 1rem; border-left: 4px solid var(--akzent-text); background: var(--flaeche-2); }
.verf-ergebnis p { margin: 0; }
.verf-ergebnis.ist-frei p:first-child { font-weight: 700; }
.verf-ergebnis.ist-belegt, .verf-ergebnis.ist-fehler { border-color: var(--offen-rand); color: var(--offen-text); background: var(--offen-bg); font-weight: 600; }
.verf-ergebnis .btn { justify-self: start; margin-top: .25rem; }
@media (min-width: 960px) { .preise-in { align-items: start; } }

/* =====================================================================
   v1.5.0 (lokal) – Bausteine aus Variante B im Postkarten-Stil:
   Verfügbarkeit im Titel, Nächte-Rechner, Fotofilter, Wegweiser, Lageskizze, AVIF, kürzerer Stapel am Handy
   ===================================================================== */
:root { --wasser: #2f6584; }
@media (prefers-color-scheme: dark) { :root:not([data-thema="hell"]) { --wasser: #8fb8d0; } }
:root[data-thema="dunkel"] { --wasser: #8fb8d0; }

/* <picture> soll das Layout nicht verändern: das <img> verhält sich wie vorher */
picture { display: contents; }

/* Verfügbarkeit direkt unter bzw. neben der Titel-Postkarte */
.hero-verf { margin-top: 1.25rem; }
.hero-verf .verf { margin: 0; background: var(--rahmen); }
.hero-verf .verf h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: 0; }
@media (min-width: 960px) {
  .hero-wrap { display: grid; grid-template-columns: minmax(0, 37rem) minmax(0, 25rem); justify-content: space-between; align-items: end; column-gap: 2.5rem; }
  .hero-verf { margin-top: 0; }
}
.verf .feld-reihe { align-items: end; }

/* Platzhalter beim Prüfen (Skelett) */
.skelett { display: grid; gap: .55rem; }
.skelett span { display: block; height: .95rem; border-radius: 4px; background: var(--linie); position: relative; overflow: hidden; }
.skelett span:nth-child(1) { width: 70%; height: 1.3rem; }
.skelett span:nth-child(2) { width: 92%; }
.skelett span:nth-child(3) { width: 55%; }
.skelett span::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .45), transparent); animation: wischen 1.3s ease-in-out infinite; }
@keyframes wischen { to { transform: translateX(100%); } }

/* Fotofilter über der Galerie */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.filter-knopf { min-height: 2.75rem; padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--linie-stark); background: var(--rahmen); color: var(--text); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .16s cubic-bezier(.23, 1, .32, 1); }
.filter-knopf:active { transform: scale(.97); }
.filter-knopf[aria-pressed="true"] { background: var(--akzent); color: var(--auf-akzent); border-color: var(--akzent); }
@media (hover: hover) and (pointer: fine) { .filter-knopf:not([aria-pressed="true"]):hover { background: var(--flaeche-2); } }
.karussell-spur li[hidden] { display: none; }

/* Nächte-Rechner in der Preis-Postkarte */
.rechner { margin-bottom: 1.75rem; }
.rechner h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.rechner > .klein { margin: 0 0 .75rem; }
.rechner-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0 .75rem; }
.rechner-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--linie-stark); background: var(--rahmen); color: var(--text); font: 600 1.6rem/1 var(--f-text); cursor: pointer; transition: transform .16s cubic-bezier(.23, 1, .32, 1), opacity .2s; }
.rechner-btn:active { transform: scale(.94); }
.rechner-btn:disabled { opacity: .4; cursor: default; transform: none; }
.rechner-naechte { margin: 0; font: italic 500 1.4rem/1 var(--f-titel); color: var(--leise); text-align: center; }
.rechner-zahl { display: inline-block; min-width: 2ch; font: 400 clamp(3.6rem, 12vw, 4.6rem)/.9 var(--f-titel); font-style: normal; color: var(--akzent-text); font-variant-numeric: tabular-nums; }
.rechner-ergebnis { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; border-top: 1px solid var(--linie); padding-top: .9rem; }
.rechner-ergebnis dt { color: var(--leise); font-size: .9rem; }
.rechner-ergebnis dd { margin: 0; font: 500 2.1rem/1.1 var(--f-titel); font-variant-numeric: tabular-nums; }
.rechner-ergebnis div:last-child dd { color: var(--ocker); }
.rechner-hinweis { margin: .6rem 0 .8rem; }
.staffel { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.staffel li { display: flex; gap: .35rem; align-items: baseline; padding: .3rem .6rem; border-radius: 4px; font-size: .88rem; color: var(--leise); transition: background-color .2s ease, color .2s ease; }
.staffel strong { color: var(--text); }
.staffel li.aktiv { color: var(--text); box-shadow: inset 0 0 0 2px var(--ocker); background: var(--rahmen); }

/* Entfernungen als Wegweiser-Schilder */
.entfernungen { gap: .55rem; }
.entfernungen div { border-bottom: 0; padding: .55rem 1.7rem .55rem .9rem; background: var(--rahmen); align-items: center; clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 50%, calc(100% - 1rem) 100%, 0 100%); }
.entfernungen dt { color: var(--text); }
.entfernungen dd { font: italic 500 1.2rem/1.2 var(--f-titel); color: var(--ocker); }

/* Lageskizze im Karten-Platzhalter (vor dem Laden der Karte) */
.karte-platzhalter { max-width: 34rem; width: 100%; }
.skizze { margin: 0 0 1rem; }
.skizze-bild { display: block; width: 100%; height: auto; overflow: visible; }
.skizze figcaption { margin-top: .2rem; }
.skizze .striche path, .skizze .striche ellipse { fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .72; }
.skizze .fluss { stroke: var(--wasser) !important; stroke-width: 5 !important; opacity: .9 !important; }
.skizze .see { stroke: var(--wasser) !important; stroke-width: 3 !important; opacity: .9 !important; }
.skizze .radweg { stroke: var(--ocker) !important; opacity: 1 !important; stroke-dasharray: .012 .012; }
.skizze .haus { stroke: var(--ocker) !important; stroke-width: 3 !important; opacity: 1 !important; }
.skizze .beschriftung text { font: italic 500 22px var(--f-titel); fill: var(--text); }
.skizze .b-haus, .skizze .b-km { fill: var(--ocker) !important; font-size: 25px !important; }
.skizze .b-fluss { fill: var(--wasser) !important; }
@media (prefers-reduced-motion: no-preference) {
  .js .skizze .striche > path, .js .skizze .striche ellipse, .js .skizze .tannen path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .skizze.sichtbar .striche > path, .js .skizze.sichtbar .striche ellipse, .js .skizze.sichtbar .tannen path { animation: ziehen 1.1s cubic-bezier(.23, 1, .32, 1) forwards; }
  .js .skizze.sichtbar .radweg { animation-name: ziehen-gestrichelt; }
  .js .skizze .beschriftung { opacity: 0; transition: opacity .6s .7s ease-out; }
  .js .skizze.sichtbar .beschriftung { opacity: 1; }
}
@keyframes ziehen { to { stroke-dashoffset: 0; } }
@keyframes ziehen-gestrichelt { 0% { stroke-dasharray: 1; stroke-dashoffset: 1; } 99% { stroke-dasharray: 1; stroke-dashoffset: 0; } 100% { stroke-dasharray: .012 .012; stroke-dashoffset: 0; } }

/* Zimmerstapel am Handy kürzer (weniger leere Scrollstrecke), ohne Unschärfe-Animation */
@media (max-width: 959px) {
  .js .szene .raum { min-height: 24svh; padding-block: 1.25rem .75rem; }
  .js .szene .raeume { padding-bottom: 6svh; }
  .js .szene-buehne { height: min(38svh, 22rem); }
}
.stapel-karte { filter: none; transition: transform .35s cubic-bezier(.23, 1, .32, 1), opacity .12s linear; }

@media (prefers-reduced-motion: reduce) { .skelett span::after { display: none; } }

/* Ohne JavaScript kann die Verfügbarkeitsprüfung nicht arbeiten: dann nicht zeigen (Telefon und Formular bleiben) */
html:not(.js) .hero-verf { display: none; }

/* v1.6.0 – Lageskizze dauerhaft als eigene Postkarte über der Karte (bleibt stehen, wenn die Karte geladen wird) */
.lage-bild { display: grid; gap: 1.5rem; min-width: 0; }
.lage-bild > .skizze { margin: 0; background: var(--rahmen); padding: 1rem 1rem .6rem; box-shadow: var(--schatten); border: 1px solid var(--linie); }
.lage-bild > .skizze figcaption { text-align: right; }
.karte-platzhalter { max-width: 26rem; }
@media (min-width: 960px) { .lage-in { align-items: start; } }
