/* Ferienhaus Zentral – neue Seite · Teil 1: Grundlagen */

@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-kursiv.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --tanne: #16201d;
    --tanne-2: #1e2b27;
    --tanne-3: #2a3a35;
    --moos: #3d5a4f;
    --salbei: #8fa99b;
    --salbei-hell: #e1e9e4;
    --nebel: #f2f4f1;
    --papier: #fbfbf9;
    --weiss: #ffffff;
    --linie: #e0e5e1;
    --linie-dunkel: rgba(255, 255, 255, .12);
    --text: #1a2320;
    --text-2: #5a6762;
    --text-hell: #edf2ee;
    --text-hell-2: rgba(237, 242, 238, .7);
    --sand: #c9ae7f;
    --sand-hell: #dcc69e;
    --fehler: #b3452f;
    --gruen-ok: #3f8a64;
    --radius: 18px;
    --radius-gross: 28px;
    --schatten: 0 1px 2px rgba(22, 32, 29, .06), 0 12px 32px rgba(22, 32, 29, .08);
    --schatten-gross: 0 30px 80px rgba(10, 20, 17, .25);
    --kurve: cubic-bezier(.2, .7, .2, 1);
    --kopf-h: 78px;
    --serif: "Literata", Georgia, "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 400 1rem/1.65 var(--sans);
    color: var(--text);
    background: var(--nebel);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--sand-hell); color: var(--tanne); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sym { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sprung { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--sand); color: var(--tanne); font-weight: 700; transition: top .3s; }
.sprung:focus { top: 16px; }

.behaelter { width: min(1240px, 100% - 2 * clamp(20px, 4vw, 48px)); margin-inline: auto; }
.abschnitt { position: relative; padding-block: clamp(84px, 10vw, 140px); }
.abschnitt--weiss { background: var(--papier); }
.abschnitt--dunkel { background: var(--tanne); color: var(--text-hell); overflow: hidden; }
.abschnitt--schmal { padding-block: clamp(48px, 6vw, 76px); }
.mitte { text-align: center; margin-top: 44px; }

/* Überschriften */
.marke { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--moos); }
.marke::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.marke--hell { color: var(--sand); }
.titel { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(2.1rem, 1.2rem + 2.7vw, 3.5rem); line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; }
.titel--klein { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.einleitung { max-width: 62ch; font-size: 1.075rem; line-height: 1.8; color: var(--text-2); }
.abschnitt--dunkel .einleitung { color: var(--text-hell-2); }
.kopfzeile { margin-bottom: clamp(44px, 5vw, 68px); }
.kopfzeile--mitte { display: flex; flex-direction: column; align-items: center; text-align: center; }
.kopfzeile--geteilt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 72px; align-items: end; }
.kopfzeile--geteilt .titel { margin-bottom: 0; }

/* Knöpfe */
.knopf {
    --h: 50px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h); padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
    font: 600 .95rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
    transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s, translate .35s var(--kurve);
}
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .16); translate: -101% 0; transition: translate .55s var(--kurve); }
.knopf:hover::before { translate: 0 0; }
.knopf .sym { width: 18px; height: 18px; transition: translate .35s var(--kurve); }
.knopf:hover .sym { translate: 4px 0; }
.knopf:active { translate: 0 1px; }
.knopf--primaer { background: var(--tanne); color: #fff; }
.knopf--primaer:hover { background: var(--moos); box-shadow: 0 10px 26px rgba(22, 32, 29, .22); }
.knopf--sand { background: var(--sand); color: var(--tanne); }
.knopf--sand:hover { background: var(--sand-hell); box-shadow: 0 10px 26px rgba(201, 174, 127, .3); }
.knopf--hell { background: #fff; color: var(--tanne); }
.knopf--rahmen { background: transparent; color: var(--tanne); border-color: var(--linie); }
.knopf--rahmen::before { background: var(--salbei-hell); }
.knopf--rahmen:hover { border-color: var(--salbei); }
.knopf--klein { --h: 40px; padding: 0 18px; font-size: .875rem; }
.knopf--voll { width: 100%; }
.knopf[aria-busy="true"] { pointer-events: none; color: transparent !important; }
.knopf[aria-busy="true"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: drehen .8s linear infinite; }
.rundknopf { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--linie); border-radius: 50%; background: #fff; color: var(--tanne); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, scale .3s; }
.rundknopf:hover { background: var(--tanne); border-color: var(--tanne); color: #fff; }
.rundknopf:active { scale: .94; }
.rundknopf .sym { width: 20px; height: 20px; }
.rundknopf--flach { border-color: transparent; background: transparent; }
.rundknopf--flach:hover { background: var(--nebel); border-color: transparent; color: var(--tanne); }
.text-knopf { padding: 4px 0; border: 0; background: none; font-weight: 600; font-size: .9rem; color: var(--moos); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Fortschritt oben */
.fortschritt { position: fixed; inset: 0 0 auto; z-index: 70; height: 2px; pointer-events: none; }
.fortschritt span { display: block; height: 100%; background: linear-gradient(90deg, var(--salbei), var(--sand)); transform: scaleX(var(--fortschritt, 0)); transform-origin: left; }

/* Kopfzeile */
.kopf { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--kopf-h); color: var(--text-hell); transition: background-color .45s, box-shadow .45s, height .45s var(--kurve), translate .5s var(--kurve); }
.kopf.ist-gerollt { --kopf-h: 66px; background: rgba(22, 32, 29, .88); box-shadow: 0 1px 0 var(--linie-dunkel); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.kopf.ist-versteckt { translate: 0 -105%; }
.kopf__innen { display: flex; align-items: center; gap: 28px; height: 100%; }
.kopf__logo { display: flex; align-items: center; flex-shrink: 0; }
.kopf__logo img { width: auto; height: 54px; transition: height .45s var(--kurve); }
.ist-gerollt .kopf__logo img { height: 44px; }
.kopf__wortmarke { font-family: var(--serif); font-size: 1.3rem; }
.kopf__nav { display: flex; gap: 2px; margin-left: auto; }
.kopf__nav a { position: relative; padding: 10px 12px; font-size: .9rem; font-weight: 500; color: var(--text-hell-2); transition: color .3s; }
.kopf__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--kurve); }
.kopf__nav a:hover, .kopf__nav a.ist-aktiv { color: #fff; }
.kopf__nav a:hover::after, .kopf__nav a.ist-aktiv::after { transform: scaleX(1); transform-origin: left; }
.kopf__aktion { display: flex; align-items: center; gap: 8px; }
.kopf__symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text-hell-2); transition: background-color .3s, color .3s; }
.kopf__symbol:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menue-knopf { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--linie-dunkel); border-radius: 50%; background: transparent; cursor: pointer; }
.menue-knopf span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: translate .4s var(--kurve), rotate .4s var(--kurve); }
.menue-knopf span:first-child { translate: 0 -4px; }
.menue-knopf span:last-child { translate: 0 4px; }
.menue-knopf[aria-expanded="true"] span:first-child { translate: 0 0; rotate: 45deg; }
.menue-knopf[aria-expanded="true"] span:last-child { translate: 0 0; rotate: -45deg; }

.menue { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--kopf-h) + 28px) clamp(20px, 6vw, 48px) 36px; background: var(--tanne); color: #fff; overflow-y: auto; clip-path: circle(0 at calc(100% - 46px) 40px); transition: clip-path .75s var(--kurve); }
.menue.ist-offen { clip-path: circle(150% at calc(100% - 46px) 40px); }
.menue__nav a { display: block; padding: 6px 0; font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1.2; opacity: 0; translate: 0 22px; transition: opacity .6s var(--kurve), translate .6s var(--kurve), color .3s; transition-delay: calc(var(--i, 0) * 45ms + 160ms); }
.menue__nav a:hover { color: var(--sand); }
.menue.ist-offen .menue__nav a { opacity: 1; translate: none; }
.menue__kontakt { display: grid; gap: 12px; color: var(--text-hell-2); }
.menue__kontakt a { display: flex; align-items: center; gap: 10px; }

/* Einblenden beim Scrollen */
.js [data-einblenden] { opacity: 0; translate: 0 30px; transition: opacity 1s var(--kurve), translate 1s var(--kurve); transition-delay: calc(var(--v, 0) * 90ms); }
.js [data-einblenden].ist-da { opacity: 1; translate: none; }
.js .aufzug > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--kurve) .1s; }
.js .aufzug.ist-da > * { clip-path: inset(0 0 0 0); }
.js .aufzug img { scale: 1.14; transition: scale 1.8s var(--kurve) .1s; }
.js .aufzug.ist-da img { scale: 1; }
.wort { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: bottom; }
.wort > span { display: inline-block; translate: 0 110%; transition: translate 1.1s var(--kurve); transition-delay: calc(var(--w, 0) * 75ms + 120ms); }
.ist-da .wort > span { translate: none; }

@keyframes drehen { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
    .kopf__nav { display: none; }
    .menue-knopf { display: block; }
    .kopf__aktion { margin-left: auto; }
}
@media (max-width: 860px) {
    .kopfzeile--geteilt { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .kopf.ist-gerollt { background: var(--tanne); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .kopf__logo img { height: 46px; }
    .kopf .knopf--klein { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .js [data-einblenden] { opacity: 1; translate: none; }
    .js .aufzug > * { clip-path: none !important; }
    .wort > span { translate: none !important; }
}
/* Teil 2: Startbereich, Buchungsleiste, Kalender, Laufband */

.held { position: relative; isolation: isolate; padding-top: calc(var(--kopf-h) + clamp(36px, 6vw, 80px)); background: var(--tanne); color: var(--text-hell); }
.held::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 64px; background: var(--nebel); }
.held__hintergrund { position: absolute; inset: 0 0 64px; z-index: -1; overflow: hidden; }
.held__hintergrund::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); animation: blob 24s ease-in-out infinite alternate; }
.blob--1 { top: -140px; left: -100px; width: 560px; height: 560px; background: #2f4c42; opacity: .7; }
.blob--2 { bottom: 0; left: 38%; width: 460px; height: 460px; background: #4b6b5e; opacity: .35; animation-delay: -8s; }
.blob--3 { top: 18%; right: -140px; width: 420px; height: 420px; background: #6e5d3f; opacity: .28; animation-delay: -16s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, 40px) scale(1.12); } 100% { transform: translate(-40px, 80px) scale(.94); } }

.held__raster { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 5vw, 84px); padding-bottom: 72px; }
.held__titel { margin: 0 0 26px; font-family: var(--serif); font-size: clamp(2.7rem, 1.3rem + 4.8vw, 5.3rem); line-height: 1.02; letter-spacing: -.028em; }
.held__titel .zeile { display: block; }
.held__titel .akzent { font-style: italic; color: var(--sand); }
.held__unter { max-width: 50ch; margin-bottom: 34px; font-size: 1.14rem; line-height: 1.75; color: var(--text-hell-2); }
.held__vertrauen { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--text-hell-2); }
.held__vertrauen li { display: flex; align-items: center; gap: 8px; }
.held__vertrauen strong { color: #fff; font-weight: 600; }
.held__vertrauen .sym { color: var(--sand); }

.held__bild { position: relative; justify-self: end; width: min(100%, 520px); }
.bogen { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-gross) var(--radius-gross); background: var(--tanne-3); box-shadow: var(--schatten-gross); }
.bogen::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .38); border-radius: inherit; pointer-events: none; }
.diashow__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7.5s linear; }
.diashow__bild.ist-aktiv { opacity: 1; transform: scale(1); }
.diashow__punkte { position: absolute; left: 50%; bottom: 26px; z-index: 2; display: flex; gap: 6px; translate: -50% 0; }
.diashow__punkte span { position: relative; overflow: hidden; width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .38); }
.diashow__punkte span.ist-aktiv::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: punkt 6s linear forwards; }
@keyframes punkt { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.schwebe-karte { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: var(--tanne); box-shadow: var(--schatten); font-size: .9rem; font-weight: 600; animation: schweben 7s ease-in-out infinite; }
.schwebe-karte--oben { top: 16%; left: -34px; }
.schwebe-karte--unten { right: -26px; bottom: 18%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3.5s; }
.schwebe-karte__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen-ok); animation: pulsieren 2.2s infinite; }
.schwebe-karte__klein { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.schwebe-karte strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; line-height: 1.2; }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulsieren { 0% { box-shadow: 0 0 0 0 rgba(63, 138, 100, .55); } 70% { box-shadow: 0 0 0 10px rgba(63, 138, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 138, 100, 0); } }
.drehsiegel { position: absolute; left: -64px; bottom: 70px; z-index: 2; width: 128px; height: 128px; animation: drehen 28s linear infinite; }
.drehsiegel text { fill: var(--sand); font: 600 10.5px var(--sans); letter-spacing: 2.4px; }

/* Buchungsleiste */
.buchung { position: relative; z-index: 20; margin-bottom: -64px; padding: 18px; border-radius: var(--radius-gross); background: var(--weiss); color: var(--text); box-shadow: 0 30px 80px rgba(10, 20, 17, .22), 0 2px 6px rgba(10, 20, 17, .06); }
.buchung__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 8px 14px; }
.buchung__titel { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moos); }
.buchung__preis { font-size: .9rem; color: var(--text-2); }
.buchung__preis strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--text); }
.buchung__felder { display: grid; grid-template-columns: 1fr 1fr 1.1fr auto; gap: 8px; }
.buchung__feld { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 18px; border: 1px solid var(--linie); border-radius: 16px; background: var(--papier); text-align: left; cursor: pointer; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.buchung__feld:hover { border-color: var(--salbei); }
.buchung__feld[aria-expanded="true"], .buchung__feld.ist-fokus { border-color: var(--moos); background: #fff; box-shadow: 0 0 0 4px rgba(61, 90, 79, .12); }
.buchung__feld.ist-fehler { border-color: var(--fehler); box-shadow: 0 0 0 4px rgba(179, 69, 47, .12); }
.buchung__feld > .sym { width: 22px; height: 22px; color: var(--moos); }
.buchung__feld > span { min-width: 0; }
.buchung__label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.buchung__wert { display: block; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.buchung__wert.ist-leer { color: #97a29d; font-weight: 500; }
.buchung__knopf { height: auto; min-height: 62px; padding: 0 30px; border-radius: 16px; font-size: 1rem; }
.buchung__fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 8px 2px; font-size: .85rem; color: var(--text-2); }
.buchung__naechte { font-weight: 600; color: var(--moos); }
.buchung.wackeln { animation: wackeln .5s; }
@keyframes wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Aufklappfenster (Kalender, Gäste) */
.aufklapp { position: absolute; top: calc(100% + 10px); left: 18px; z-index: 40; padding: 22px; border: 1px solid var(--linie); border-radius: 24px; background: #fff; box-shadow: 0 26px 70px rgba(10, 20, 17, .22); opacity: 0; translate: 0 10px; scale: .98; transform-origin: top left; transition: opacity .25s, translate .4s var(--kurve), scale .4s var(--kurve); }
.aufklapp.ist-offen { opacity: 1; translate: none; scale: 1; }
.aufklapp__schleier { position: fixed; inset: 0; z-index: 39; background: rgba(10, 20, 17, .45); opacity: 0; transition: opacity .3s; }
.aufklapp__schleier.ist-offen { opacity: 1; }
.kalender { width: 680px; max-width: calc(100vw - 40px); }
.kalender__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.kalender__kopf h4 { font-size: 1rem; font-weight: 600; }
.kalender__monate { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kalender__monate.rutscht-vor { animation: rutschenVor .45s var(--kurve); }
.kalender__monate.rutscht-zurueck { animation: rutschenZurueck .45s var(--kurve); }
@keyframes rutschenVor { from { opacity: 0; transform: translateX(24px); } }
@keyframes rutschenZurueck { from { opacity: 0; transform: translateX(-24px); } }
.kalender__monat h5 { margin: 8px 0 12px; font-size: .95rem; font-weight: 600; text-align: center; }
.kalender__raster { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.kalender__wt { padding-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; color: var(--text-2); }
.kalender__tag { position: relative; isolation: isolate; aspect-ratio: 1; padding: 0; border: 0; background: none; font-size: .92rem; font-weight: 500; cursor: pointer; }
.kalender__tag > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; transition: background-color .2s, color .2s; }
.kalender__tag:hover:not(:disabled) > span { background: var(--salbei-hell); }
.kalender__tag:disabled { color: #c2cac6; cursor: default; }
.kalender__tag.ist-heute > span::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sand); }
.kalender__tag.im-bereich::before { content: ""; position: absolute; inset: 3px 0; z-index: -1; background: var(--salbei-hell); }
.kalender__tag.im-vorschau::before { content: ""; position: absolute; inset: 3px 0; z-index: -1; background: var(--nebel); }
.kalender__tag.ist-start::before { left: 50%; }
.kalender__tag.ist-ende::before { right: 50%; }
.kalender__tag.ist-start > span, .kalender__tag.ist-ende > span { background: var(--tanne) !important; color: #fff; }
.kalender__leer { aspect-ratio: 1; }
.kalender__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie); }
.kalender__info { font-size: .88rem; color: var(--text-2); }
.kalender__info strong { color: var(--tanne); }
.kalender__hinweis { flex-basis: 100%; font-size: .78rem; color: var(--text-2); }
.kalender__knoepfe { display: flex; align-items: center; gap: 14px; }

.gaeste { left: auto; right: 190px; width: 340px; transform-origin: top right; }
.gaeste__zeile { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.gaeste__name { font-weight: 600; }
.zaehler { display: flex; align-items: center; gap: 14px; }
.zaehler button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--linie); border-radius: 50%; background: #fff; color: var(--tanne); cursor: pointer; transition: border-color .25s, background-color .25s; }
.zaehler button:hover:not(:disabled) { border-color: var(--tanne); }
.zaehler button:disabled { opacity: .3; cursor: default; }
.zaehler button .sym { width: 16px; height: 16px; }
.zaehler output { min-width: 22px; font-size: 1.05rem; font-weight: 700; text-align: center; }
.zaehler output.hopst { animation: hopsen .3s var(--kurve); }
@keyframes hopsen { 50% { transform: scale(1.35); } }
.gaeste__hinweis { margin: 12px 0 14px; font-size: .82rem; color: var(--text-2); }

/* Laufband */
.laufband { overflow: hidden; padding: 104px 0 38px; border-bottom: 1px solid var(--linie); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.laufband__spur { display: flex; width: max-content; animation: laufen 70s linear infinite; }
.laufband:hover .laufband__spur { animation-play-state: paused; }
.laufband__punkt { display: inline-flex; align-items: center; gap: 12px; padding-right: 54px; font-family: var(--serif); font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); white-space: nowrap; color: var(--text-2); }
.laufband__punkt .sym { width: 26px; height: 26px; color: var(--salbei); }
@keyframes laufen { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
    .buchung__felder { grid-template-columns: 1fr 1fr; }
    .buchung__feld[data-oeffnet="gaeste"] { grid-column: 1 / -1; }
    .buchung__knopf { grid-column: 1 / -1; min-height: 56px; }
    .gaeste { right: 18px; }
}
@media (max-width: 900px) {
    .held__raster { grid-template-columns: 1fr; }
    .held__bild { justify-self: center; width: min(100%, 460px); margin-top: 8px; }
    .schwebe-karte--oben { left: -8px; }
    .schwebe-karte--unten { right: -8px; }
    .drehsiegel { left: auto; right: -18px; bottom: auto; top: -30px; width: 104px; height: 104px; }
}
@media (max-width: 640px) {
    .buchung { padding: 12px; border-radius: 22px; }
    .buchung__feld { padding: 12px 14px; gap: 10px; }
    .buchung__feld > .sym { display: none; }
    .aufklapp { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; overflow-y: auto; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; translate: 0 100%; scale: 1; }
    .aufklapp.ist-offen { translate: none; }
    .kalender__monate { grid-template-columns: 1fr; gap: 8px; }
    .kalender__monat + .kalender__monat { display: none; }
}

/* Buchungsleiste im ersten Bild; Aufklappfenster liegen über den folgenden Abschnitten */
.held { z-index: 3; padding-top: calc(var(--kopf-h) + clamp(20px, 3.5vw, 50px)); }
.held__raster { padding-bottom: 36px; }
.held__titel { margin-bottom: 20px; font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.2rem); }
.held__unter { margin-bottom: 26px; font-size: 1.08rem; }
.held__bild { width: min(100%, 470px); }
.bogen { aspect-ratio: auto; height: clamp(360px, calc(100vh - 380px), 560px); }
.buchung__kopf { flex-wrap: wrap; }
.buchung__preis { white-space: nowrap; }

@media (max-width: 900px) {
    .held { display: flex; flex-direction: column; padding-bottom: 56px; }
    .held::after { display: none; }
    .held__hintergrund { inset: 0; }
    .held__raster { display: contents; }
    .held__text { order: 1; width: min(1240px, 100% - 2 * clamp(20px, 4vw, 48px)); margin-inline: auto; }
    .held > .behaelter:last-child { order: 2; }
    .held__bild { order: 3; align-self: center; width: min(100% - 2 * clamp(20px, 4vw, 48px), 460px); margin-top: 44px; }
    .bogen { height: auto; aspect-ratio: 4 / 5; }
    .held__titel { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 3.4rem); }
    .held__unter { margin-bottom: 20px; font-size: 1rem; line-height: 1.7; }
    .held__vertrauen { gap: 8px 20px; font-size: .88rem; }
    .buchung { margin: 28px 0 0; }
    .laufband { padding-top: 40px; }
    /* das drehende Siegel darf beim Drehen nicht über den rechten Rand ragen (sonst zoomt das Handy heraus) */
    .drehsiegel { inset: -44px 8px auto auto; width: 96px; height: 96px; }
}
/* Teil 3: Abschnitte */

/* Karten mit Hover-Bewegung: Übergänge zusätzlich zum Einblenden */
.js [data-einblenden] { transition: opacity 1s var(--kurve) calc(var(--v, 0) * 90ms), translate 1s var(--kurve) calc(var(--v, 0) * 90ms), var(--extra-uebergang, visibility 0s); }

/* über uns */
.merkmale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.merkmal { --extra-uebergang: transform .5s var(--kurve), box-shadow .5s, border-color .5s, background-color .5s; position: relative; overflow: hidden; padding: 34px 28px 30px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); transition: var(--extra-uebergang); }
.merkmal::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--salbei), var(--sand)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--kurve); }
.merkmal:hover { transform: translateY(-6px); border-color: transparent; background: #fff; box-shadow: var(--schatten); }
.merkmal:hover::after { transform: scaleX(1); }
.merkmal__nr { position: absolute; top: 26px; right: 26px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--salbei); }
.merkmal__symbol { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border-radius: 20px; background: var(--salbei-hell); color: var(--moos); transition: background-color .5s, color .5s, border-radius .6s var(--kurve); }
.merkmal__symbol .sym { width: 30px; height: 30px; stroke-width: 1.4; }
.js [data-zeichnen] .sym { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 2.2s var(--kurve) .35s; }
.ist-da [data-zeichnen] .sym { stroke-dashoffset: 0; }
.merkmal:hover .merkmal__symbol { border-radius: 50%; background: var(--tanne); color: var(--sand); }
.merkmal h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.merkmal p { font-size: .95rem; line-height: 1.7; color: var(--text-2); }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 60px; border-block: 1px solid var(--linie); }
.kennzahl { padding: 32px 18px; text-align: center; }
.kennzahl + .kennzahl { border-left: 1px solid var(--linie); }
.kennzahl strong { display: block; font-family: var(--serif); font-size: clamp(2.3rem, 1.6rem + 2vw, 3.3rem); font-weight: 400; line-height: 1; color: var(--tanne); font-variant-numeric: tabular-nums; }
.kennzahl span { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kennzahl .sym { width: 14px; height: 14px; color: var(--sand); }

/* Zimmer */
.zimmer { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.zimmer__karte { --extra-uebergang: box-shadow .5s; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-gross); background: #fff; box-shadow: var(--schatten); }
.zimmer__karte:hover { box-shadow: var(--schatten-gross); }
.zimmer__karte--1 { grid-row: span 2; }
.zimmer__bild { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--salbei-hell); }
.zimmer__karte--1 .zimmer__bild { flex: 1; min-height: 380px; aspect-ratio: auto; }
[data-parallax] > img { position: absolute; inset: -30px 0; width: 100%; height: calc(100% + 60px); max-width: none; object-fit: cover; }
.zimmer__bild > img { transition: transform 1.3s var(--kurve), scale 1.8s var(--kurve) .1s, clip-path 1.3s var(--kurve) .1s; }
.zimmer__karte:hover .zimmer__bild > img { transform: scale(1.06); }
.zimmer__text { position: relative; padding: 28px 30px 32px; }
.zimmer__nr { position: absolute; top: -24px; right: 26px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tanne); color: var(--sand); font-size: .85rem; font-weight: 700; letter-spacing: .06em; box-shadow: var(--schatten); }
.zimmer__text h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; }
.zimmer__text p { color: var(--text-2); }
.zimmer__platz { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--moos); }

/* Ausstattung */
.ausstattung { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 100px); }
.ausstattung__bilder { position: relative; padding: 0 14% 14% 0; }
.ausstattung__bild { position: relative; overflow: hidden; border-radius: var(--radius-gross); background: var(--salbei-hell); box-shadow: var(--schatten-gross); }
.ausstattung__bild--gross { aspect-ratio: 4 / 5; }
.ausstattung__bild--klein { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--nebel); border-radius: 24px; }
.liste-symbole { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.liste-symbole li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.liste-symbole__symbol { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--moos); box-shadow: 0 1px 2px rgba(22, 32, 29, .06); transition: background-color .4s, color .4s, rotate .5s var(--kurve); }
.liste-symbole li:hover .liste-symbole__symbol { background: var(--tanne); color: var(--sand); rotate: -8deg; }

/* Galerie */
.galerie__zaehler { justify-self: end; color: var(--text-2); }
.galerie__zaehler strong { margin-right: 6px; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; color: var(--tanne); }
.galerie { columns: 4 240px; column-gap: 14px; }
.galerie__bild { position: relative; display: block; overflow: hidden; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 16px; background: var(--salbei-hell); cursor: zoom-in; break-inside: avoid; }
.galerie__bild img { width: 100%; transition: transform 1.1s var(--kurve); }
.galerie__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(22, 32, 29, .5)); opacity: 0; transition: opacity .5s; }
.galerie__bild:hover img { transform: scale(1.07); }
.galerie__bild:hover::after { opacity: 1; }
.galerie__lupe { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--tanne); opacity: 0; translate: 0 10px; transition: opacity .4s, translate .45s var(--kurve); }
.galerie__bild:hover .galerie__lupe, .galerie__bild:focus-visible .galerie__lupe { opacity: 1; translate: none; }

/* Preise & Details */
.abschnitt--dunkel .titel { color: #fff; }
.welle-deko { position: absolute; inset: 36px 0 auto; height: 120px; pointer-events: none; opacity: .6; }
.welle-deko svg { width: 100%; height: 100%; }
.welle-deko path { fill: none; stroke: var(--moos); stroke-width: 1.2; stroke-dasharray: 8 12; animation: welle 18s linear infinite; }
.welle-deko path + path { stroke: rgba(201, 174, 127, .4); animation-duration: 28s; animation-direction: reverse; }
@keyframes welle { to { stroke-dashoffset: -400; } }
.details { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; }
.details__karte { --extra-uebergang: transform .5s var(--kurve), border-color .4s; padding: 34px; border: 1px solid var(--linie-dunkel); border-radius: var(--radius-gross); background: var(--tanne-2); transition: var(--extra-uebergang); }
.details__karte:hover { transform: translateY(-4px); border-color: rgba(201, 174, 127, .35); }
.details__karte--preis { display: flex; flex-direction: column; gap: 12px; background: linear-gradient(160deg, #26372f, #1a2622); }
.details__klein { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.details__preis { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.7rem); font-weight: 400; line-height: 1; color: #fff; }
.details__zeile { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--linie-dunkel); color: var(--text-hell-2); }
.details__zeile span:last-child { font-weight: 600; color: #fff; }
.details__karte--preis .knopf { margin-top: auto; }
.details__liste, .details__kontakt { margin: 0; padding: 0; list-style: none; }
.details__liste li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--linie-dunkel); color: var(--text-hell-2); }
.details__liste li:last-child, .details__kontakt li:last-child { border-bottom: 0; }
.details__liste .sym { color: var(--salbei); }
.details__liste strong { display: flex; font-weight: 600; color: #fff; }
.details__liste strong .sym { color: var(--sand); }
.details__kontakt li { display: flex; gap: 14px; padding: 12px 0; }
.details__kontakt .sym { margin-top: 3px; color: var(--salbei); }
.details__kontakt span { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-hell-2); }
.details__kontakt p { color: #fff; }
.details__kontakt a:hover { color: var(--sand); }

/* Lage & Freizeit */
.lage { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: clamp(40px, 6vw, 90px); }
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.kachel { --extra-uebergang: transform .45s var(--kurve), border-color .35s, box-shadow .35s; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--linie); border-radius: 16px; background: #fff; font-weight: 500; transition: var(--extra-uebergang); }
.kachel .sym { width: 26px; height: 26px; color: var(--moos); transition: transform .5s var(--kurve); }
.kachel:hover { transform: translateY(-3px); border-color: var(--salbei); box-shadow: var(--schatten); }
.kachel:hover .sym { transform: scale(1.15) rotate(-6deg); }
.lage__karte { position: sticky; top: 100px; overflow: hidden; border-radius: var(--radius-gross); background: #fff; box-shadow: var(--schatten); }
.karte { position: relative; aspect-ratio: 4 / 3; background: var(--salbei-hell); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte__platzhalter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: linear-gradient(160deg, #e7eee9, #d4dfd8); }
.karte__linien { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte__linien path { fill: none; stroke: rgba(61, 90, 79, .18); stroke-width: 10; stroke-linecap: round; }
.karte__linien path:first-child { stroke: rgba(110, 158, 184, .45); stroke-width: 16; }
.karte__nadel { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--tanne); color: var(--sand); box-shadow: 0 12px 30px rgba(22, 32, 29, .3); animation: nadel 2.8s var(--kurve) infinite; }
.karte__nadel::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--tanne); border-radius: 50%; animation: ring 2.8s var(--kurve) infinite; }
.karte__nadel .sym { width: 26px; height: 26px; }
.karte__platzhalter .knopf, .karte__platzhalter small { position: relative; }
.karte__platzhalter small { max-width: 32ch; font-size: .75rem; color: var(--text-2); }
@keyframes nadel { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
.lage__infos { display: grid; justify-items: start; gap: 12px; padding: 26px 28px 30px; }
.lage__infos h3 { font-family: var(--serif); font-size: 1.5rem; }
.lage__infos p { color: var(--text-2); }
.lage__infos .lage__adresse { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.lage__adresse .sym { color: var(--moos); }

/* Bewertungen */
.wertung { justify-self: end; display: flex; align-items: center; gap: 16px; }
.wertung > strong { font-family: var(--serif); font-size: 3.8rem; font-weight: 400; line-height: 1; color: var(--tanne); }
.wertung > div { display: grid; gap: 4px; font-size: .9rem; color: var(--text-2); }
.sterne { position: relative; display: inline-block; line-height: 0; }
.sterne .sym { width: 20px; height: 20px; }
.sterne__leer, .sterne__voll { display: flex; }
.sterne__leer { color: var(--linie); }
.sterne__voll { position: absolute; inset: 0 auto 0 0; overflow: hidden; width: 0; color: var(--sand); transition: width 1.8s var(--kurve) .4s; }
.ist-da .sterne__voll, html:not(.js) .sterne__voll { width: var(--anteil); }
.karussell__spur { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; padding: 8px 2px 28px; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.karussell__spur::-webkit-scrollbar { display: none; }
.bewertung { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 32px 30px; border: 1px solid var(--linie); border-radius: var(--radius-gross); background: #fff; scroll-snap-align: start; transition: transform .5s var(--kurve), box-shadow .5s, border-color .5s; }
.bewertung:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--schatten); }
.bewertung__zitat .sym { width: 34px; height: 34px; color: var(--sand); opacity: .45; }
.bewertung__sterne { display: flex; gap: 2px; color: var(--sand); }
.bewertung__sterne .sym { width: 16px; height: 16px; }
.bewertung__sterne .leer { color: var(--linie); }
.bewertung blockquote { flex: 1; margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; }
.bewertung figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--text-2); }
.bewertung figcaption strong { display: block; font-weight: 600; color: var(--text); }
.bewertung__initial { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tanne); color: var(--sand); font-family: var(--serif); font-size: 1.1rem; }
.karussell__steuerung { display: flex; align-items: center; gap: 18px; }
.karussell__balken { flex: 1; overflow: hidden; height: 2px; border-radius: 2px; background: var(--linie); }
.karussell__balken span { display: block; width: var(--breite, 33%); height: 100%; background: var(--tanne); transform: translateX(var(--pos, 0%)); transition: transform .45s var(--kurve); }

/* Plattformen */
.plattformen { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 48px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--linie); border-radius: var(--radius-gross); background: #fff; }
.plattformen .titel { margin-bottom: 8px; }
.plattformen p { max-width: 52ch; color: var(--text-2); }
.plattformen__liste { display: flex; flex-wrap: wrap; gap: 12px; }
.plattform { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 1px solid var(--linie); border-radius: 999px; background: var(--papier); transition: transform .35s var(--kurve), border-color .35s, box-shadow .35s; }
.plattform:hover { transform: translateY(-2px); border-color: var(--salbei); box-shadow: var(--schatten); }
.plattform img, .plattform__zeichen { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.plattform__zeichen { display: grid; place-items: center; background: var(--tanne); color: var(--sand); font-weight: 700; }
.plattform__name { font-weight: 700; }
.plattform__los { font-size: .85rem; font-weight: 600; color: var(--moos); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(40px, 6vw, 96px); }
.faq__seite { position: sticky; top: 110px; }
.faq__kontakt { display: grid; gap: 10px; margin-top: 28px; }
.faq__kontakt a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--linie); border-radius: 16px; background: #fff; font-weight: 600; transition: transform .35s var(--kurve), border-color .3s; }
.faq__kontakt a:hover { transform: translateX(4px); border-color: var(--salbei); }
.faq__kontakt .sym { width: 22px; height: 22px; color: var(--moos); }
.faq__kontakt small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.akkordeon { border-top: 1px solid var(--linie); }
.akkordeon__eintrag { border-bottom: 1px solid var(--linie); }
.akkordeon__frage { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 4px; border: 0; background: none; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); text-align: left; cursor: pointer; transition: color .3s; }
.akkordeon__frage:hover { color: var(--moos); }
.akkordeon__zeichen { position: relative; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--linie); border-radius: 50%; transition: background-color .4s, border-color .4s, rotate .5s var(--kurve); }
.akkordeon__zeichen::before, .akkordeon__zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--tanne); transition: rotate .5s var(--kurve), background-color .4s; }
.akkordeon__zeichen::after { rotate: 90deg; }
[aria-expanded="true"] .akkordeon__zeichen { rotate: 180deg; border-color: var(--tanne); background: var(--tanne); }
[aria-expanded="true"] .akkordeon__zeichen::before, [aria-expanded="true"] .akkordeon__zeichen::after { background: #fff; }
[aria-expanded="true"] .akkordeon__zeichen::after { rotate: 0deg; }
.akkordeon__antwort { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--kurve); }
.akkordeon__antwort > div { overflow: hidden; }
.akkordeon__antwort p { padding: 0 64px 26px 4px; line-height: 1.8; color: var(--text-2); opacity: 0; translate: 0 -6px; transition: opacity .4s, translate .5s var(--kurve); }
.ist-offen > .akkordeon__antwort { grid-template-rows: 1fr; }
.ist-offen > .akkordeon__antwort p { opacity: 1; translate: none; }
html:not(.js) .akkordeon__antwort { grid-template-rows: 1fr; }
html:not(.js) .akkordeon__antwort p { opacity: 1; translate: none; }

/* Kontakt & Formulare */
.kontakt { display: grid; grid-template-columns: 1.35fr .65fr; align-items: start; gap: 22px; }
.karte-weiss { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--linie); border-radius: var(--radius-gross); background: #fff; box-shadow: var(--schatten); }
.formular { position: relative; display: grid; gap: 16px; }
.formular h3 { font-family: var(--serif); font-size: 1.75rem; }
.formular__unter { margin-top: -8px; color: var(--text-2); }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: grid; align-content: start; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--text-2); }
.feld input, .feld select, .feld textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--linie); border-radius: 14px; background: var(--papier); font-size: 1rem; font-weight: 500; color: var(--text); -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.feld select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233d5a4f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-position: right 16px center; background-repeat: no-repeat; }
.feld textarea { min-height: 110px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: #a3ada9; font-weight: 400; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--salbei); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--moos); background: #fff; box-shadow: 0 0 0 4px rgba(61, 90, 79, .12); }
.feld.ist-fehler input, .feld.ist-fehler textarea { border-color: var(--fehler); box-shadow: 0 0 0 4px rgba(179, 69, 47, .1); }
.feld__fehler { font-size: .78rem; color: var(--fehler); }
.formular__meldung { padding: 12px 16px; border-radius: 12px; background: rgba(179, 69, 47, .08); font-size: .9rem; font-weight: 600; color: var(--fehler); }
.formular > .knopf[type="submit"] { justify-self: start; }
.formular__erfolg { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; border-radius: inherit; background: #fff; text-align: center; animation: aufblenden .5s var(--kurve); }
.formular__erfolg h3 { font-family: var(--serif); font-size: 2rem; }
.formular__erfolg p { max-width: 36ch; color: var(--text-2); }
@keyframes aufblenden { from { opacity: 0; transform: scale(.98); } }
.erfolg-haken { width: 86px; height: 86px; }
.erfolg-haken circle { fill: none; stroke: var(--gruen-ok); stroke-width: 2; opacity: .35; stroke-dasharray: 151; stroke-dashoffset: 151; animation: haken .8s var(--kurve) forwards; }
.erfolg-haken path { fill: none; stroke: var(--gruen-ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: haken .7s var(--kurve) .3s forwards; }
@keyframes haken { to { stroke-dashoffset: 0; } }
.kontakt__seite { display: grid; gap: 22px; }
.kontakt__buchung { position: relative; overflow: hidden; isolation: isolate; padding: 34px 30px; border-radius: var(--radius-gross); background: var(--tanne); color: var(--text-hell); }
.kontakt__buchung::before { content: ""; position: absolute; top: -90px; right: -90px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 174, 127, .38), transparent 70%); animation: blob 16s ease-in-out infinite alternate; }
.kontakt__buchung h3 { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.kontakt__buchung p { margin: 10px 0 22px; color: var(--text-hell-2); }
.kontakt__daten { display: grid; gap: 16px; margin: 0; padding: 26px 28px; border: 1px solid var(--linie); border-radius: var(--radius-gross); background: #fff; list-style: none; }
.kontakt__daten li { display: flex; align-items: flex-start; gap: 14px; color: var(--text-2); }
.kontakt__daten .sym { margin-top: 3px; color: var(--moos); }
.kontakt__daten a { font-weight: 600; color: var(--text); }
.kontakt__daten a:hover { color: var(--moos); }

@media (max-width: 1100px) {
    .merkmale { grid-template-columns: repeat(2, 1fr); }
    .details { grid-template-columns: 1fr 1fr; }
    .details__karte--preis { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .zimmer, .ausstattung, .lage, .faq, .kontakt, .plattformen { grid-template-columns: 1fr; }
    .zimmer__karte--1 { grid-row: auto; }
    .zimmer__karte--1 .zimmer__bild { min-height: 0; aspect-ratio: 4 / 3; }
    .lage__karte, .faq__seite { position: static; }
    .karussell__spur { grid-auto-columns: calc((100% - 20px) / 2); }
    .wertung, .galerie__zaehler { justify-self: start; }
    .kennzahlen { grid-template-columns: 1fr 1fr; }
    .kennzahl:nth-child(3) { border-left: 0; }
    .kennzahl:nth-child(n + 3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 640px) {
    .merkmale, .details, .liste-symbole, .kacheln, .formular__reihe { grid-template-columns: 1fr; }
    .karussell__spur { grid-auto-columns: 86%; }
    .galerie { columns: 2; column-gap: 8px; }
    .galerie__bild { margin-bottom: 8px; border-radius: 10px; }
    .akkordeon__antwort p { padding-right: 8px; }
    .details__karte { padding: 26px; }
}
/* Teil 4: Fußzeile, Fenster, schwebende Knöpfe */

.fuss { overflow: hidden; padding-bottom: 32px; background: var(--tanne); color: var(--text-hell-2); }
.fuss__band { overflow: hidden; padding: 46px 0; border-bottom: 1px solid var(--linie-dunkel); }
.fuss__band-spur { display: flex; align-items: center; width: max-content; animation: laufen 45s linear infinite; }
.fuss__band-spur span { padding-right: 48px; font-family: var(--serif); font-size: clamp(3rem, 2rem + 5vw, 7rem); font-style: italic; line-height: 1.1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(237, 242, 238, .3); }
.fuss__band-spur .fuss__stern { font-size: clamp(1.4rem, 1rem + 2vw, 3rem); font-style: normal; color: var(--sand); -webkit-text-stroke: 0; }
.fuss__raster { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.fuss__marke img { width: auto; height: 64px; margin-bottom: 18px; }
.fuss__marke p { max-width: 34ch; line-height: 1.7; }
.fuss h4 { margin-bottom: 18px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.fuss__raster > div > a { display: block; padding: 5px 0; transition: color .3s, translate .35s var(--kurve); }
.fuss__raster > div > a:hover { color: #fff; translate: 4px 0; }
.fuss__raster p { margin-bottom: 8px; }
.fuss__raster p a:hover { color: #fff; }
.fuss__sozial { display: flex; gap: 10px; margin-top: 22px; }
.fuss__sozial a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--linie-dunkel); border-radius: 50%; color: var(--text-hell); transition: background-color .3s, border-color .3s, color .3s; }
.fuss__sozial a:hover { border-color: var(--sand); background: var(--sand); color: var(--tanne); }
.fuss__sozial .sym { width: 18px; height: 18px; }
.fuss__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 26px; border-top: 1px solid var(--linie-dunkel); font-size: .85rem; }
.fuss__agentur a { color: var(--sand); }
.fuss__recht { display: flex; gap: 20px; }
.fuss__recht a:hover { color: #fff; }

/* Fenster (dialog) */
dialog { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--text); }
dialog::backdrop { background: rgba(10, 20, 17, .55); opacity: 0; transition: opacity .35s; }
dialog.ist-offen::backdrop { opacity: 1; }
html.fenster-offen { overflow: hidden; }

.schublade { position: fixed; inset: 0 0 0 auto; width: min(540px, 100%); height: 100%; margin: 0; }
.schublade__inhalt { display: flex; flex-direction: column; gap: 0; height: 100%; background: #fff; translate: 100% 0; transition: translate .55s var(--kurve); }
.schublade.ist-offen .schublade__inhalt { translate: none; }
.schublade__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 16px; }
.schublade__kopf h2 { margin-bottom: 4px; font-family: var(--serif); font-size: 1.85rem; }
.schublade__kopf p { font-size: .92rem; color: var(--text-2); }
.schritte { display: flex; gap: 8px; margin: 0; padding: 4px 28px 18px; border-bottom: 1px solid var(--linie); list-style: none; font-size: .8rem; font-weight: 600; color: var(--text-2); }
.schritte li { display: flex; flex: 1; align-items: center; gap: 8px; white-space: nowrap; }
.schritte li::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.schritte li:last-child { flex: 0; }
.schritte li:last-child::after { display: none; }
.schritte span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--linie); border-radius: 50%; font-size: .72rem; transition: background-color .4s, color .4s, border-color .4s; }
.schritte .ist-fertig span { border-color: var(--salbei); background: var(--salbei); color: #fff; }
.schritte .ist-aktiv { color: var(--tanne); }
.schritte .ist-aktiv span { border-color: var(--tanne); background: var(--tanne); color: #fff; }
.schublade__koerper { position: relative; display: grid; flex: 1; align-content: start; gap: 16px; overflow-x: hidden; overflow-y: auto; padding: 22px 28px 24px; }
.zusammenfassung { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--nebel); }
.zusammenfassung span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.zusammenfassung strong { font-size: .95rem; font-weight: 600; }
.zusammenfassung__naechte { grid-column: 1 / -1; font-size: .85rem; font-weight: 600; color: var(--moos); }
.zusammenfassung__naechte:empty { display: none; }
.schublade__fuss { display: grid; gap: 10px; padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); }
.schublade__recht { font-size: .8rem; text-align: center; color: var(--text-2); }
.schublade__recht a { text-decoration: underline; text-underline-offset: 3px; }
.schublade .formular__erfolg { border-radius: 0; }

.rechtliches { width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); margin: auto; overflow: hidden; border-radius: var(--radius-gross); background: #fff; opacity: 0; translate: 0 24px; transition: opacity .35s, translate .5s var(--kurve); }
.rechtliches.ist-offen { opacity: 1; translate: none; }
.rechtliches__inhalt { display: flex; flex-direction: column; max-height: inherit; }
.rechtliches__kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--linie); }
.rechtliches__kopf h2 { font-family: var(--serif); font-size: 1.6rem; }
.rechtliches__text { overflow-y: auto; padding: 24px 28px 34px; font-size: .95rem; line-height: 1.8; color: var(--text-2); }
.rechtliches__text a { color: var(--moos); text-decoration: underline; word-break: break-all; }

.leuchtkasten { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; background: rgba(12, 18, 16, .95); opacity: 0; transition: opacity .35s; }
.leuchtkasten[open] { display: grid; place-items: center; }
.leuchtkasten.ist-offen { opacity: 1; }
.leuchtkasten::backdrop { background: transparent; }
.leuchtkasten__bild { display: grid; place-items: center; max-width: min(1100px, calc(100% - 150px)); margin: 0; }
.leuchtkasten__bild img { width: auto; max-width: 100%; max-height: calc(100vh - 150px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .3s, transform .45s var(--kurve); }
.leuchtkasten__bild img.wechselt { opacity: 0; transform: scale(.97); }
.leuchtkasten__knopf { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .3s; }
.leuchtkasten__knopf:hover { background: rgba(255, 255, 255, .18); }
.leuchtkasten__knopf .sym { width: 24px; height: 24px; }
.leuchtkasten__knopf--zu { top: 20px; right: 20px; }
.leuchtkasten__knopf--zurueck { top: 50%; left: 20px; translate: 0 -50%; }
.leuchtkasten__knopf--weiter { top: 50%; right: 20px; translate: 0 -50%; }
.leuchtkasten__zaehler { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; font-size: .9rem; letter-spacing: .12em; color: rgba(255, 255, 255, .75); }

/* schwebende Knöpfe */
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 50; isolation: isolate; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .35); transition: transform .35s var(--kurve); }
.whatsapp::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: ring 2.8s var(--kurve) infinite; }
.whatsapp .sym { width: 28px; height: 28px; }
.whatsapp:hover { transform: scale(1.08); }
.nach-oben { position: fixed; right: 29px; bottom: 96px; z-index: 50; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--tanne); box-shadow: var(--schatten); cursor: pointer; opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .4s, translate .45s var(--kurve); }
.nach-oben.ist-sichtbar { opacity: 1; translate: none; pointer-events: auto; }
.nach-oben > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.nach-oben__ring { fill: none; stroke: var(--sand); stroke-width: 2; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--fortschritt, 0))); }
.nach-oben > .sym { width: 18px; height: 18px; rotate: 180deg; }
.mobilleiste { display: none; }
.ohne-js { position: fixed; inset: auto 0 0; z-index: 90; margin: 0; padding: 12px; background: var(--sand); color: var(--tanne); font-weight: 600; text-align: center; }

@media (max-width: 900px) {
    .fuss__raster { grid-template-columns: 1fr 1fr; }
    .fuss__marke { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .mobilleiste { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 48; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--tanne); color: #fff; box-shadow: 0 16px 40px rgba(10, 20, 17, .35); translate: 0 150%; transition: translate .5s var(--kurve); }
    .mobilleiste.ist-sichtbar { translate: none; }
    .mobilleiste small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-hell-2); }
    .mobilleiste strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
    .whatsapp { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
    .nach-oben { display: none; }
    .fuss { padding-bottom: 100px; }
    .leuchtkasten__bild { max-width: 100%; }
    .leuchtkasten__bild img { border-radius: 0; max-height: calc(100vh - 170px); }
    .leuchtkasten__knopf--zurueck, .leuchtkasten__knopf--weiter { top: auto; bottom: 16px; translate: none; }
    .leuchtkasten__knopf--zurueck { left: 16px; }
    .leuchtkasten__knopf--weiter { right: 16px; }
}
@media (max-width: 640px) {
    .schublade { inset: auto 0 0; width: 100%; height: 94%; }
    .schublade__inhalt { border-radius: 24px 24px 0 0; translate: 0 100%; }
    .schublade__kopf, .schublade__koerper { padding-inline: 20px; }
    .schritte { padding-inline: 20px; }
    .schublade__fuss { padding-inline: 20px; }
    .zusammenfassung { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .fuss__raster { grid-template-columns: 1fr; }
    .fuss__unten { flex-direction: column; align-items: flex-start; }
}

/* dezenterer Puls am WhatsApp-Knopf, am Handy mehr Abstand zur Buchungsleiste */
.whatsapp::before { animation: wellenring 3.2s var(--kurve) infinite; }
@keyframes wellenring { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 760px) {
    /* ganz unten, solange die Buchungsleiste unten nicht zu sehen ist – sonst lag er auf „Jetzt buchen“ */
    .whatsapp { bottom: calc(16px + env(safe-area-inset-bottom)); }
    html.leiste-sichtbar .whatsapp { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* Solange ein Fenster, Aufklappblatt oder das Menü offen ist, dürfen die schwebenden Knöpfe nichts verdecken
   (am Handy lag WhatsApp sonst genau auf „Kinder +“) */
.whatsapp { transition: transform .35s var(--kurve), opacity .3s, bottom .45s var(--kurve); }
html.fenster-offen .whatsapp, html.menue-offen .whatsapp,
html.fenster-offen .nach-oben, html.menue-offen .nach-oben { opacity: 0; pointer-events: none; }
html.fenster-offen .mobilleiste, html.menue-offen .mobilleiste { translate: 0 150%; pointer-events: none; }
.zusammenfassung { grid-template-columns: 1fr 1fr 1.5fr auto; }
@media (max-width: 640px) {
    .zusammenfassung { grid-template-columns: 1fr 1fr; }
}
/* Teil 5: Cookie-Einstellungen – am Rechner oben rechts (verdeckt die Buchungsleiste nicht), am Handy als Blatt unten */

.cookie { position: fixed; top: calc(var(--kopf-h) + 18px); right: 24px; z-index: 80; width: min(440px, calc(100% - 48px)); opacity: 0; translate: calc(100% + 48px) 0; transition: translate .75s var(--kurve), opacity .5s; }
.cookie.ist-offen { opacity: 1; translate: none; }
html.fenster-offen .cookie.ist-offen, html.menue-offen .cookie.ist-offen { opacity: 0; translate: calc(100% + 48px) 0; pointer-events: none; }
.cookie__karte { position: relative; overflow: hidden; isolation: isolate; padding: 26px 26px 22px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 26px; background: rgba(255, 255, 255, .93); color: var(--text); box-shadow: 0 30px 80px rgba(10, 20, 17, .3), 0 2px 8px rgba(10, 20, 17, .08); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.cookie__karte::before { content: ""; position: absolute; top: -120px; right: -120px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 174, 127, .3), transparent 70%); animation: blob 14s ease-in-out infinite alternate; pointer-events: none; }
.cookie__kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cookie__symbol { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 16px; background: var(--tanne); color: var(--sand); animation: keks 6s var(--kurve) infinite; }
.cookie__symbol svg { width: 28px; height: 28px; }
@keyframes keks { 0%, 78%, 100% { transform: rotate(0) scale(1); } 84% { transform: rotate(-14deg) scale(1.08); } 90% { transform: rotate(10deg) scale(1.08); } 95% { transform: rotate(-4deg) scale(1); } }
.cookie__kopf small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moos); }
.cookie h2 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.cookie__text { font-size: .9rem; line-height: 1.65; color: var(--text-2); }
.cookie__text a { font-weight: 600; color: var(--moos); text-decoration: underline; text-underline-offset: 3px; }
.cookie__betreiber { margin-top: 8px; font-size: .74rem; color: #87928d; }

.cookie__optionen { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--kurve); }
.cookie__optionen > div { overflow: hidden; }
.cookie.zeigt-optionen .cookie__optionen { grid-template-rows: 1fr; }
.cookie__option { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--nebel); }
.cookie__option strong { display: block; font-size: .92rem; }
.cookie__option span { display: block; font-size: .8rem; line-height: 1.5; color: var(--text-2); }
.schalter { position: relative; flex-shrink: 0; width: 50px; height: 30px; }
.schalter input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.schalter > span { position: absolute; inset: 0; border-radius: 999px; background: #cdd5d0; transition: background-color .35s; }
.schalter > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .22); transition: translate .45s var(--kurve); }
.schalter input:checked + span { background: var(--moos); }
.schalter input:checked + span::after { translate: 20px 0; }
.schalter input:disabled { cursor: not-allowed; }
.schalter input:disabled + span { opacity: .55; }
.schalter input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 3px; }

.cookie__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookie__knoepfe .knopf { --h: 46px; padding: 0 14px; }
.cookie__knoepfe .text-knopf { grid-column: 1 / -1; justify-self: center; }
.cookie__speichern { grid-column: 1 / -1; }
.cookie:not(.zeigt-optionen) .cookie__speichern { display: none; }
.knopf--salbei { background: var(--salbei-hell); color: var(--tanne); }
.knopf--salbei::before { background: rgba(255, 255, 255, .5); }
.knopf--salbei:hover { background: #d2ded7; }

html.cookie-offen .whatsapp, html.cookie-offen .nach-oben { opacity: 0; pointer-events: none; }
html.cookie-offen .mobilleiste { translate: 0 150%; pointer-events: none; }

@media (max-width: 640px) {
    .cookie { inset: auto 0 0; width: 100%; translate: 0 calc(100% + 40px); }
    html.fenster-offen .cookie.ist-offen, html.menue-offen .cookie.ist-offen { translate: 0 calc(100% + 40px); }
    .cookie__karte { padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .cookie__betreiber { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cookie__symbol { animation: none; }
}

/* Fußzeile: Rechtslinks umbrechen; am Handy genug Luft unter der letzten Zeile,
   sonst lag der WhatsApp-Knopf am Seitenende auf „Cookie-Einstellungen“ */
.fuss__recht { flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 760px) {
    .fuss { padding-bottom: 180px; }
}
