/* ==========================================================================
   Zimmerflug — Sporthotel IDEAL
   Dunkel nur auf der Foto-Buehne; alles danach hell und ruhig wie ein Prospekt.
   ========================================================================== */
@font-face { font-family: 'IdealHead'; src: url('fonts/sporthotelidealUS-light-webfont.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'IdealHead'; src: url('fonts/sporthotelidealUS-bold-webfont.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IdealSans'; src: url('fonts/sporthotelideal-regular-webfont.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IdealSans'; src: url('fonts/sporthotelideal-bold-webfont.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IdealSans'; src: url('fonts/sporthotelideal-regularitalic-webfont.woff2') format('woff2'); font-style: italic; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  /* Buehne (Foto) */
  --nacht: #0f1826;
  --hell: #f7f3ec;
  --hell-2: rgba(247, 243, 236, .78);
  /* Papier */
  --papier: #f6f2eb;
  --papier-2: #efe8de;
  --weiss: #ffffff;
  --tinte: #18212e;
  --tinte-2: #5a6472;
  --linie: #e3dace;
  --linie-2: #d4c8b8;
  /* CI */
  --schiefer: #506071;
  --schiefer-dunkel: #3d4b5a;
  --sand: #c19e83;
  --sand-hell: #ead9c8;
  --sand-dunkel: #8d6a4f;
  --gruen: #2f7a4b;
  --gruen-balken: #84b996;
  --kopf-h: 74px;
  --rand: clamp(16px, 4.5vw, 72px);
  --head: 'IdealHead', 'Montserrat', system-ui, sans-serif;
  --sans: 'IdealSans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 300; letter-spacing: .01em; margin: 0; line-height: 1.08; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--schiefer-dunkel); color: #fff; padding: 10px 14px; border-radius: 0; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sand-dunkel); outline-offset: 3px; }

/* ---------- Knoepfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: 0; padding: .72em 1.3em; cursor: pointer;
  font: 700 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.knopf:hover { transform: translateY(-1px); }
.knopf-sand { background: var(--sand); color: var(--tinte); }
.knopf-sand:hover { background: #cfb098; }
.knopf-ci { background: var(--schiefer-dunkel); color: #fff; }
.knopf-ci:hover { background: var(--schiefer); }
.knopf-linie { background: var(--weiss); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie-2); }
.knopf-linie:hover { box-shadow: inset 0 0 0 1px var(--sand-dunkel); }
.knopf-gross { font-size: 17px; padding: 1em 1.6em; width: 100%; }
.knopf:disabled { opacity: .45; cursor: default; transform: none; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--kopf-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--rand);
  color: var(--hell);
  background: linear-gradient(rgba(15, 24, 38, .55), rgba(15, 24, 38, 0));
  transition: background .35s, color .35s, box-shadow .35s;
  view-transition-name: kopf;
}
.kopf-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.kopf-logo img { width: 42px; height: auto; }
.kopf-logo .logo-hell { display: none; }
.kopf-logo span { display: flex; flex-direction: column; line-height: 1.1; }
.kopf-logo b { font: 700 19.5px/1.1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.kopf-logo small { font-size: 15px; margin-top: 2px; opacity: .75; letter-spacing: .08em; }
.kopf-zimmer { display: flex; gap: clamp(14px, 2vw, 30px); margin: 0 auto; }
.kopf-zimmer a { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 8px 0 6px; font-size: 13.5px; line-height: 1.15; opacity: .78; border-bottom: 2px solid transparent; transition: opacity .25s, border-color .25s; white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.kopf-zimmer a small { font-size: 10.5px; opacity: .75; }
.kopf-zimmer a:hover { opacity: 1; }
.kopf-zimmer a[aria-current] { opacity: 1; border-bottom-color: var(--sand); }
.kopf-buchen { flex: none; }
/* Ueber hellen Abschnitten */
.kopf.hell { background: rgba(246, 242, 235, .94); color: var(--tinte); box-shadow: 0 1px 0 var(--linie); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.kopf.hell .logo-dunkel { display: none; }
.kopf.hell .logo-hell { display: block; }
.kopf.hell .kopf-zimmer a { text-shadow: none; }
.kopf.hell .kopf-zimmer a[aria-current] { border-bottom-color: var(--sand-dunkel); }

/* ---------- Flug (Foto-Buehne) ---------- */
.flug { position: relative; height: calc(var(--n) * 150svh + 60svh); background: var(--nacht); color: var(--hell); }
.buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--nacht); }
.buehne-poster, #leinwand { position: absolute; inset: 0; width: 100%; height: 100%; }
.buehne-poster { object-fit: cover; transition: opacity .8s var(--ease); }
#leinwand { opacity: 0; transition: opacity .8s var(--ease); }
.gl-bereit #leinwand { opacity: 1; }
.gl-bereit .buehne-poster { opacity: 0; }
.buehne::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 24, 38, .5) 0%, rgba(15, 24, 38, 0) 46%),
              linear-gradient(0deg, rgba(15, 24, 38, .55) 0%, rgba(15, 24, 38, 0) 34%);
}

.held {
  position: absolute; z-index: 3; left: var(--rand); bottom: clamp(32px, 9svh, 96px); max-width: min(760px, 88vw);
  opacity: calc(1 - var(--held-aus, 0)); transform: translateY(calc(var(--held-aus, 0) * -40px));
  pointer-events: none;
}
.held-eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-hell); }
.held h1 { font-size: clamp(42px, 7.4vw, 104px); text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.chips li { padding: 6px 12px; border-radius: 0; font-size: 14px; background: rgba(255, 255, 255, .9); color: var(--tinte); }
.held-preis { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 13px; line-height: 1.35; color: var(--hell-2); }
.held-preis strong { font: 300 40px/1 var(--head); color: var(--hell); }
.held-preis-ab { font-size: 15px; color: var(--sand-hell); }
.held-scroll { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--hell-2); }
.maus { width: 20px; height: 32px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--hell-2); position: relative; }
.maus::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 0; background: var(--hell); animation: maus 1.8s var(--ease) infinite; }
@keyframes maus { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(10px); opacity: 0 } 100% { opacity: 0 } }

.kapitel-leiste { position: absolute; z-index: 4; right: var(--rand); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kapitel-leiste button, .kapitel-leiste a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 100%;
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: none;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hell-2);
}
.kapitel-leiste span { opacity: 0; transform: translateX(6px); transition: opacity .35s, transform .35s var(--ease); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.kapitel-leiste button::after, .kapitel-leiste a::after { content: ''; width: 18px; height: 2px; border-radius: 0; background: currentColor; opacity: .5; transition: width .35s var(--ease), opacity .35s; }
.kapitel-leiste:hover span, .kapitel-leiste .aktiv span { opacity: 1; transform: none; }
.kapitel-leiste .aktiv { color: var(--hell); }
.kapitel-leiste .aktiv::after { width: 36px; opacity: 1; background: var(--sand); }
.fortschritt { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .1); }
.fortschritt i { display: block; height: 100%; width: 100%; background: var(--sand); transform-origin: 0 50%; transform: scaleX(var(--fp, 0)); }

/* Hotspots: helle Etiketten */
.hotspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hs { position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0; pointer-events: none; }
.hs.sichtbar { pointer-events: auto; }
.hs-punkt { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3), 0 3px 14px rgba(0, 0, 0, .3); }
.hs-punkt::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; animation: puls 2.4s var(--ease) infinite; }
@keyframes puls { 0% { transform: scale(.8); opacity: .9 } 100% { transform: scale(2.4); opacity: 0 } }
.hs-linie { position: absolute; left: 8px; top: -1px; height: 2px; width: calc(var(--lauf, 1) * 32px); background: #fff; transform-origin: 0 50%; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.hs-karte {
  position: absolute; left: 42px; top: -20px; width: max-content; max-width: 260px;
  padding: 9px 14px 10px; border-radius: 0; background: rgba(255, 255, 255, .95); color: var(--tinte);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
  clip-path: inset(0 calc((1 - var(--lauf, 1)) * 100%) 0 0);
}
.hs-karte b { display: block; font: 700 14px/1.2 var(--sans); }
.hs-karte span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--tinte-2); }
.hs.links .hs-linie { left: auto; right: 8px; transform-origin: 100% 50%; }
.hs.links .hs-karte { left: auto; right: 42px; clip-path: inset(0 0 0 calc((1 - var(--lauf, 1)) * 100%)); }

/* Kapiteltexte im Flug */
.immersiv .kapitel-texte { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.immersiv .kapitel { position: absolute; left: var(--rand); bottom: clamp(28px, 10svh, 110px); width: min(460px, calc(100vw - 2 * var(--rand))); opacity: 0; visibility: hidden; }
.immersiv .kapitel.aktiv { visibility: visible; }
.immersiv .kapitel-bild, .immersiv .kapitel-fakten { display: none; }
.kapitel-nr { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-hell); }
.kapitel h2 { font-size: clamp(34px, 4.6vw, 64px); text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.kapitel-text { margin: 16px 0 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); text-wrap: pretty; }
.wort {
  --x: clamp(0, calc(var(--p, 0) * var(--n, 1) - var(--i, 0)), 1);
  display: inline-block; opacity: calc(.12 + .88 * var(--x));
  filter: blur(calc((1 - var(--x)) * 5px)); transform: translateY(calc((1 - var(--x)) * .35em));
}
.immersiv .kapitel h2 { opacity: var(--h, 0); transform: translateY(calc((1 - var(--h, 0)) * 26px)); filter: blur(calc((1 - var(--h, 0)) * 8px)); }
.immersiv .kapitel .kapitel-nr { opacity: var(--h, 0); }

/* Statischer Modus (kein WebGL / weniger Bewegung) */
.statisch .flug { height: auto; background: var(--papier); color: var(--tinte); }
.statisch .buehne { position: relative; height: 100svh; color: var(--hell); }
.statisch .kapitel-leiste, .statisch .fortschritt, .statisch .held-scroll { display: none; }
.statisch .kapitel-texte { display: grid; gap: 64px; padding: 64px var(--rand); max-width: 1200px; margin: 0 auto; }
.statisch .kapitel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.statisch .kapitel h2, .statisch .kapitel-text { text-shadow: none; }
.statisch .kapitel-nr { color: var(--sand-dunkel); }
.statisch .kapitel-bild { grid-row: span 4; margin: 0; border-radius: 0; overflow: hidden; }
.statisch .kapitel-fakten { margin: 16px 0 0; padding-left: 1.1em; color: var(--tinte-2); }

/* ---------- Preis (hell) ---------- */
.preis { padding: clamp(80px, 11vw, 140px) var(--rand) clamp(64px, 8vw, 110px); background: var(--papier); }
.preis-innen { max-width: 1200px; margin: 0 auto; }
.eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-dunkel); }
.preis-kopf h2 { font-size: clamp(38px, 5.4vw, 72px); }
.preis-lead { max-width: 560px; color: var(--tinte-2); margin: 14px 0 0; }
.preis-raster { display: grid; gap: 20px; margin-top: 44px; grid-template-columns: 1.15fr .85fr; grid-template-areas: "preis belegung" "preis inklusive" "saison saison"; }
.karte { border-radius: 0; padding: clamp(22px, 2.4vw, 34px); background: var(--weiss); border: 1px solid var(--linie); }
.karte h3 { font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-dunkel); margin-bottom: 18px; }
.preis-karte { grid-area: preis; display: flex; flex-direction: column; }
.belegung { grid-area: belegung; }
.inklusive { grid-area: inklusive; background: transparent; }
.saison { grid-area: saison; }
.preis-zeitraum { margin: 0; font-size: 15px; color: var(--tinte-2); }
.preis-gross { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 4px; font: 300 clamp(64px, 8vw, 112px)/1 var(--head); color: var(--tinte); }
.preis-gross .eur { font-size: .42em; margin-top: .22em; color: var(--sand-dunkel); }
.odo { display: inline-flex; height: 1em; overflow: hidden; }
.odo .z { display: inline-block; height: 1em; overflow: hidden; }
.odo .band { display: flex; flex-direction: column; transition: transform 1.1s var(--ease); }
.odo .band span { height: 1em; line-height: 1; display: block; text-align: center; }
.odo .trenn { width: .26em; text-align: center; }
.preis-sub { margin: 6px 0 18px; color: var(--tinte-2); }
.preis-sub b { color: var(--tinte); font-weight: 700; }
.raten { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.raten button { border: 0; cursor: pointer; padding: 9px 13px; border-radius: 0; text-align: left; font-size: 13px; line-height: 1.3; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie-2); color: var(--tinte-2); }
.raten button b { display: block; color: var(--tinte); font-size: 14px; }
.raten button[aria-checked="true"] { background: #f7efe6; box-shadow: inset 0 0 0 1.5px var(--sand-dunkel); }
.preis-status { min-height: 1.4em; margin: 0 0 16px; font-size: 14.5px; }
.preis-status.ok { color: var(--gruen); }
.preis-status.anfrage { color: #9a5b2c; }
.aufenthalt { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--linie); font-size: 14.5px; }
.aufenthalt dt { color: var(--tinte-2); }
.aufenthalt dd { margin: 0; }
.preis-klein { font-size: 12.5px; line-height: 1.5; color: var(--tinte-2); margin: 14px 0 0; }
.preis-karte .preis-klein { margin-top: auto; padding-top: 16px; }
.preis-karte.laedt .preis-gross { opacity: .4; transition: opacity .3s; }

.zaehler { display: flex; align-items: center; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--linie); }
.zaehler > span { flex: 1; }
.zaehler output { min-width: 1.4em; text-align: center; font: 300 28px/1 var(--head); }
.rund { width: 38px; height: 38px; border-radius: 0; border: 0; cursor: pointer; font-size: 20px; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie-2); color: var(--tinte); }
.rund:hover { box-shadow: inset 0 0 0 1px var(--sand-dunkel); }
.rund:disabled { opacity: .35; cursor: default; }
.kinder { display: grid; gap: 8px; padding: 12px 0; }
.kinder:empty { padding: 6px 0; }
.kind { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.kind label { flex: 1; }
.kind select { appearance: none; background: var(--weiss); color: var(--tinte); border: 0; border-radius: 0; padding: 8px 30px 8px 12px; font: inherit; box-shadow: inset 0 0 0 1px var(--linie-2);
  background-image: linear-gradient(45deg, transparent 50%, var(--tinte-2) 50%), linear-gradient(135deg, var(--tinte-2) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.kind .weg { background: none; border: 0; cursor: pointer; color: var(--tinte-2); font-size: 20px; padding: 0 4px; }
.platz { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; color: var(--tinte-2); }
.platz .person { width: 14px; height: 22px; position: relative; }
.platz .person::before { content: ''; position: absolute; left: 3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.platz .person::after { content: ''; position: absolute; left: 0; top: 10px; width: 14px; height: 12px; border-radius: 0; background: currentColor; }
.platz .belegt { color: var(--sand-dunkel); }
.platz .frei { color: #ddd4c8; }
.platz .zu-viel { color: #c0563f; }
.platz p { flex-basis: 100%; margin: 6px 0 0; }

.inklusive { border-color: transparent; padding-top: 6px; }
.inklusive ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.inklusive li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; }
.inklusive li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2px solid var(--sand-dunkel); border-bottom: 2px solid var(--sand-dunkel); transform: rotate(-45deg); }

.saison-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.saison-kopf h3 { margin: 0; }
.saison-kopf p { margin: 0; font-size: 13px; color: var(--tinte-2); }
.saison-chart { position: relative; display: flex; align-items: flex-end; gap: clamp(2px, .5vw, 6px); height: 220px; margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--linie); }
.woche { position: relative; flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; }
.woche .balken {
  height: calc(var(--h, .1) * 100%); border-radius: 0;
  /* Preisfarbe (gruen = guenstig ... rot = teuer), unten aufgehellt */
  background: linear-gradient(180deg, var(--farbe, #c7a68d), color-mix(in srgb, var(--farbe, #c7a68d) 38%, #fff));
  transform-origin: 50% 100%; transform: scaleY(var(--auf, 0));
  transition: transform .9s var(--ease), filter .2s, box-shadow .2s;
  transition-delay: calc(var(--k, 0) * 28ms);
}
.saison-chart.da .woche .balken { --auf: 1; }
/* Auf Anfrage: gleiche Preisfarbe, blass mit feinem Umriss — bewusst NICHT grau (wirkt wie ausgebucht) */
.woche.anfrage .balken { background: color-mix(in srgb, var(--farbe, #c7a68d) 22%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--farbe, #c7a68d) 75%, #fff); }
.woche .reise-marke { position: absolute; left: 50%; bottom: calc(var(--h) * 100% + 7px); width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); transform: translateX(-50%); }
.woche.reise .tipp-marke { bottom: calc(var(--h) * 100% + 20px); }
.woche:hover .balken { filter: brightness(.94); }
.woche[aria-pressed="true"] .balken { box-shadow: 0 0 0 2px var(--tinte); }
.woche .monat { position: absolute; left: 0; bottom: -24px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-2); white-space: nowrap; }
.woche .tipp-marke { position: absolute; left: 50%; bottom: calc(var(--h) * 100% + 8px); transform: translateX(-50%); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gruen); white-space: nowrap; }
.saison-tip {
  position: absolute; z-index: 5; bottom: calc(100% - 8px); left: 0; transform: translateX(-50%); pointer-events: none;
  padding: 8px 12px; border-radius: 0; font-size: 13px; line-height: 1.35; white-space: nowrap;
  background: var(--weiss); color: var(--tinte); border: 1px solid var(--linie); box-shadow: 0 10px 28px -12px rgba(24, 33, 46, .35); opacity: 0; transition: opacity .15s;
}
.saison-tip.an { opacity: 1; }
.saison-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; color: var(--tinte-2); }
.saison-legende i { display: inline-block; width: 10px; height: 10px; border-radius: 0; margin-right: 6px; vertical-align: -1px; }
.saison-legende span { display: inline-flex; align-items: center; }
.saison-legende .l-verlauf, .kal-legende .lg-verlauf { width: 64px; height: 10px; margin: 0 7px; background: linear-gradient(90deg, rgb(92 159 115), rgb(157 187 104), rgb(226 191 88), rgb(224 144 79), rgb(201 95 71)); }
.saison-legende .l-anfrage { background: color-mix(in srgb, rgb(226 191 88) 22%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, rgb(226 191 88) 75%, #fff); }
.l-spar { margin-right: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gruen); }

/* ---------- KI (hell) — mit Gastgeber ---------- */
.ki { padding: clamp(80px, 10vw, 130px) var(--rand); background: var(--weiss); border-top: 1px solid var(--linie); }
.ki-innen { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(220px, .72fr) 1.28fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.gastgeber { margin: 0; }
.gastgeber img { width: 100%; height: auto; aspect-ratio: 8 / 9; object-fit: cover; }
.gastgeber figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-2); }
.ki h2 { font-size: clamp(36px, 4.8vw, 64px); text-wrap: balance; }
.ki-text > p { color: var(--tinte-2); margin: 18px 0 0; max-width: 560px; }
.ki-text > p.eyebrow { margin: 0 0 12px; color: var(--sand-dunkel); }
.ki-text a { color: var(--tinte); text-decoration-color: var(--sand); text-underline-offset: 3px; }
.ki-form { display: flex; gap: 0; margin: 32px 0 0; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-2); }
.ki-form:focus-within { box-shadow: inset 0 0 0 1.5px var(--sand-dunkel); background: var(--weiss); }
.ki-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--tinte); font: inherit; padding: 16px 18px; outline: none; }
.ki-form input::placeholder { color: #8b929c; }
.ki-form .knopf { padding: 0 28px; }
.ki-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ki-chips button { border: 0; cursor: pointer; padding: 8px 14px; font-size: 14px; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie-2); color: var(--tinte-2); transition: color .2s, box-shadow .2s; }
.ki-chips button:hover { color: var(--tinte); box-shadow: inset 0 0 0 1px var(--sand-dunkel); }
.ki-hinweis { font-size: 12.5px !important; margin-top: 20px !important; }
.ki-hinweis.warn { color: #9a5b2c !important; }

/* ---------- Alle Zimmer ---------- */
.alle { background: var(--papier); padding: clamp(72px, 10vw, 130px) var(--rand); border-top: 1px solid var(--linie); }
.alle-innen { max-width: 1200px; margin: 0 auto; }
.alle h2 { font-size: clamp(32px, 4.4vw, 58px); max-width: 720px; }
.alle-raster { display: grid; grid-template-columns: minmax(240px, .62fr) 2fr; gap: clamp(32px, 5vw, 88px); margin-top: 48px; align-items: start; }
.vergleich { margin: 0; position: sticky; top: calc(var(--kopf-h) + 40px); }
.vergleich svg { width: 100%; max-width: 380px; overflow: visible; }
.vergleich rect { fill: none; stroke: rgba(80, 96, 113, .4); stroke-width: 1; transition: fill .3s, stroke .3s; }
.vergleich rect.aktiv { fill: rgba(193, 158, 131, .3); stroke: var(--sand-dunkel); stroke-width: 1.5; }
.vergleich rect.hover { fill: rgba(80, 96, 113, .18); stroke: var(--schiefer-dunkel); stroke-width: 1.5; }
.vergleich text { font: 700 9px var(--sans); fill: var(--schiefer); }
.vergleich figcaption { font-size: 13px; color: var(--tinte-2); margin-top: 12px; }
.alle-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.alle-liste li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.alle-liste li:last-child:nth-child(odd) .alle-bild { aspect-ratio: 21 / 9; }
.alle-liste a { display: block; text-decoration: none; }
.alle-bild { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--papier-2); }
.alle-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.alle-liste a:hover .alle-bild img { transform: scale(1.045); }
.alle-liste .aktiv .alle-bild::after { content: 'Sie sind hier'; position: absolute; left: 0; top: 0; padding: 8px 12px; background: var(--weiss); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-dunkel); }
.alle-text { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding-top: 16px; }
.alle-name { font: 300 clamp(22px, 2.2vw, 30px)/1.15 var(--head); }
.alle-fakten { grid-column: 1; font-size: 14.5px; color: var(--tinte-2); margin-top: 4px; }
.alle-preis { grid-column: 2; grid-row: 1 / span 2; align-self: start; text-align: right; font-size: 13px; color: var(--tinte-2); white-space: nowrap; }
.alle-preis b { display: block; font: 300 26px/1.05 var(--head); color: var(--tinte); }
.gut-zu-wissen { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin: 48px 0 0; padding: 0; }
.gut-zu-wissen li { padding: 16px 0; border-top: 1px solid var(--linie); font-size: 15px; line-height: 1.45; }

/* Naechstes Zimmer: Foto-Teaser */
.weiter { position: relative; display: block; min-height: 46svh; padding: clamp(48px, 7vw, 90px) var(--rand); text-decoration: none; color: var(--hell); background: var(--nacht) var(--bild) center / cover; overflow: hidden; }
.weiter::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 24, 38, .7), rgba(15, 24, 38, .1) 70%); transition: opacity .4s; }
.weiter > * { position: relative; }
.weiter span { display: block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-hell); }
.weiter strong { display: block; margin-top: 10px; font: 300 clamp(34px, 5vw, 70px)/1.05 var(--head); transition: transform .4s var(--ease); }
.weiter small { display: block; margin-top: 10px; font-size: 15px; color: var(--hell-2); }
.weiter:hover strong { transform: translateX(12px); }
.weiter:hover::before { opacity: .8; }
.fuss { padding: 32px var(--rand) 48px; background: var(--papier-2); color: var(--tinte-2); font-size: 14px; border-top: 1px solid var(--linie); }
.fuss p { margin: 0 0 6px; }

/* ---------- Laden ---------- */
.lade-balken { position: absolute; z-index: 6; left: 50%; bottom: 22px; width: 120px; height: 2px; margin-left: -60px; background: rgba(255, 255, 255, .14); border-radius: 0; overflow: hidden; transition: opacity .5s; }
.lade-balken i { display: block; height: 100%; background: var(--sand); transform-origin: 0 50%; transform: scaleX(var(--l, 0)); transition: transform .3s; }

/* ---------- Mobil ---------- */
@media (max-width: 1080px) {
  .kopf-zimmer { display: none; }
  .kopf { justify-content: space-between; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --kopf-h: 62px; }
  /* Handy: Platz reicht nur fuer ein groesseres Signet, die Schrift bleibt kompakt */
  .kopf-logo { gap: 9px; }
  .kopf-logo img { width: 38px; }
  .kopf-logo b { font-size: 13.5px; letter-spacing: .08em; }
  .kopf { gap: 12px; }
  .kopf-logo small { display: none; }
  .kopf-buchen { padding: .6em .85em; font-size: 13px; white-space: nowrap; }
  .kapitel-leiste { display: none; }
  .held { bottom: 26px; }
  .held h1 { font-size: clamp(38px, 11vw, 60px); }
  .chips li { font-size: 13px; }
  .immersiv .kapitel { bottom: 20px; padding: 16px 18px 18px; border-radius: 0; background: rgba(255, 255, 255, .94); color: var(--tinte); }
  .immersiv .kapitel h2, .immersiv .kapitel-text { text-shadow: none; }
  .immersiv .kapitel-nr { color: var(--sand-dunkel); }
  .kapitel h2 { font-size: 28px; }
  .kapitel-text { font-size: 15.5px; margin-top: 8px; }
  .hs-karte { max-width: 180px; padding: 7px 10px; }
  .hs-karte span { display: none; }
  .hs.offen .hs-karte span { display: block; }
  .preis-raster { grid-template-columns: 1fr; grid-template-areas: "preis" "belegung" "saison" "inklusive"; }
  .saison-chart { height: 180px; }
  .woche .monat { font-size: 10px; }
  .woche .tipp-marke { display: none; }
  .alle-raster { grid-template-columns: 1fr; }
  .vergleich { position: static; }
  .vergleich svg { max-width: 220px; }
  .alle-liste { grid-template-columns: 1fr; }
  .alle-liste li:last-child:nth-child(odd) .alle-bild { aspect-ratio: 4 / 3; }
  .ki-innen { grid-template-columns: 1fr; }
  .gastgeber { max-width: 300px; }
  .ki-form { flex-direction: column; }
  .ki-form .knopf { padding: 14px; }
  .statisch .kapitel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Zeitraum-Feld + Kalender (hell, ohne runde Ecken)
   ========================================================================== */
.preis-karte { position: relative; }
.zeitraum {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 6px; padding: 12px 16px;
  border: 0; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie-2); cursor: pointer; text-align: left;
  transition: box-shadow .2s, background .2s;
}
.zeitraum:hover, .zeitraum[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--sand-dunkel); background: var(--weiss); }
.zr-teil { display: flex; flex-direction: column; gap: 2px; }
.zr-teil small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-2); }
.zr-teil b { font-size: 16px; font-weight: 700; color: var(--tinte); white-space: nowrap; }
.zr-pfeil { color: var(--sand-dunkel); font-size: 18px; }
.zr-naechte { margin-left: auto; font-size: 14px; color: var(--tinte-2); white-space: nowrap; }
.zr-icon { width: 20px; height: 20px; color: var(--sand-dunkel); flex: none; }

.kalender {
  position: absolute; z-index: 30; left: clamp(22px, 2.4vw, 34px); top: calc(clamp(22px, 2.4vw, 34px) + 66px);
  width: min(700px, calc(100vw - 2 * var(--rand))); padding: 20px 22px 16px;
  background: var(--weiss); border: 1px solid var(--linie-2); box-shadow: 0 24px 60px -24px rgba(24, 33, 46, .35);
  opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease);
}
.kalender.auf { opacity: 1; transform: none; }
.kal-kopf { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--linie); }
.kal-kopf div { flex: 1; }
.kal-kopf b { display: block; font: 300 24px/1.1 var(--head); }
.kal-kopf span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--tinte-2); max-width: 560px; }
.kal-zu { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--tinte-2); padding: 0 4px; }
.kal-monate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-top: 14px; }
.kal-titel { position: relative; display: flex; align-items: center; justify-content: center; height: 34px; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.kal-nav { position: absolute; top: 0; width: 34px; height: 34px; border: 0; background: var(--papier); cursor: pointer; font-size: 20px; color: var(--tinte); }
.kal-nav[data-nav="-1"] { left: 0; }
.kal-nav[data-nav="1"] { right: 0; }
.kal-nav:hover { background: var(--papier-2); }
.kal-gitter { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.kal-wt { text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-2); padding: 4px 0 6px; }
.kal-wt.sa { color: var(--sand-dunkel); font-weight: 700; }
.kal-tag {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  aspect-ratio: 1 / .92; border: 0; cursor: pointer; font-size: 14px; color: var(--tinte);
  /* Preisfarbe der Woche als helle Toenung — Zahlen bleiben gut lesbar */
  background: color-mix(in srgb, var(--farbe, transparent) 34%, #fdfbf8);
  transition: background .12s, color .12s;
}
.kal-tag small { font-size: 10px; line-height: 1; color: var(--tinte-2); }
.kal-tag.sa span { font-weight: 700; }
.kal-tag.sa::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sand-dunkel); opacity: .55; }
/* Reisetipp: gruener Punkt in der Ecke (gruene Flaeche bedeutet jetzt "guenstig") */
.kal-tag.reise::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--gruen); }
.kal-tag.reise small, .kal-tag.tipp small { color: var(--gruen); font-weight: 700; }
/* Auf Anfrage: blass in der Preisfarbe statt grau schraffiert */
.kal-tag.anfrage { background: color-mix(in srgb, var(--farbe, transparent) 12%, #fdfbf8); color: #6f7884; }
.kal-tag:not([disabled]):hover { outline: 1.5px solid var(--tinte); outline-offset: -1.5px; z-index: 1; }
.kal-tag[disabled] { background: transparent; color: #c3c7cc; cursor: default; }
.kal-tag[disabled] small { display: none; }
.kal-tag.zwischen { background: #dde3e9; }
.kal-tag.an, .kal-tag.ab { background: var(--schiefer-dunkel); color: #fff; }
.kal-tag.an small, .kal-tag.ab small { color: rgba(255, 255, 255, .8); }
.kal-tag.vorschau { background: var(--schiefer); }
.kal-leer { aspect-ratio: 1 / .92; }
.kal-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--tinte-2); }
.kal-fuss b { color: var(--tinte); }
.kal-legende { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.kal-legende i { display: inline-block; width: 12px; height: 12px; margin-left: 8px; }
.kal-legende .lg-verlauf { margin-left: 2px; }
.kal-legende .lg-reise { width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); margin-left: 12px; }
.lg-anfrage { background: color-mix(in srgb, rgb(226 191 88) 12%, #fdfbf8); box-shadow: inset 0 0 0 1px var(--linie-2); margin-left: 12px !important; }

/* Vorschlaege bei nicht buchbarem Zeitraum */
.vorschlaege { display: grid; gap: 8px; margin: -4px 0 18px; }
.vorschlaege p { margin: 0; font-size: 13px; color: var(--tinte-2); }
.vorschlaege button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 11px 14px;
  border: 0; cursor: pointer; text-align: left; background: #eef6f0; box-shadow: inset 0 0 0 1px #bfdcc8; color: var(--tinte);
}
.vorschlaege button:hover { box-shadow: inset 0 0 0 1.5px var(--gruen); }
.vorschlaege button span { font-size: 13.5px; color: var(--gruen); white-space: nowrap; }

/* Reisetipps im Saisonverlauf */
.saison-legende .l-reise { width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); }
.saison-tip em { font-style: normal; color: var(--gruen); font-weight: 700; }
.reisetipp-hinweis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 18px 0 0; padding: 14px 16px; background: #eef6f0; border-left: 3px solid var(--gruen); font-size: 14.5px; }
.reisetipp-hinweis b { color: var(--gruen); }
.reisetipp-hinweis span { color: var(--tinte-2); }
.reisetipp-hinweis button { margin-left: auto; border: 0; background: none; padding: 0; cursor: pointer; color: var(--tinte); text-decoration: underline; text-decoration-color: var(--gruen); text-underline-offset: 3px; font-size: 14px; }

@media (max-width: 760px) {
  .zeitraum { flex-wrap: wrap; gap: 8px 12px; }
  .zr-naechte { margin-left: 0; }
  .kalender { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 88svh; overflow: auto; padding: 16px 14px 18px; transform: translateY(12px); }
  .kal-monate { grid-template-columns: 1fr; }
}

/* Scrollleiste: 5 px, CI-Sand mit leichtem Glanz, ohne Rundungen */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--papier); }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #ead6c4 0%, #c9a68b 40%, #a7825f 100%); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #dcc0a9 0%, #b38d6f 40%, #8d6a4f 100%); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: #b9957a var(--papier); }
}

.kalender:focus { outline: none; }

/* Kurtaxe/Ara + Belegungshinweis */
.preis-taxe { margin: -12px 0 18px; font-size: 13.5px; color: var(--tinte-2); }
.platz .hinweis { padding: 10px 12px; background: var(--papier); border-left: 3px solid var(--sand-dunkel); color: var(--tinte); font-size: 13.5px; line-height: 1.45; }

/* ============ Auf einen Blick + Häufige Fragen (SEO/GEO) ============ */
.steckbrief { background: var(--weiss); padding: clamp(72px, 9vw, 120px) var(--rand); border-top: 1px solid var(--linie); }
.steckbrief-innen { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steckbrief h2 { font-size: clamp(30px, 3.6vw, 48px); text-wrap: balance; }
.kurzantwort { margin: 22px 0 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--tinte); max-width: 640px; }
.fakten { display: grid; grid-template-columns: max-content 1fr; margin: 32px 0 0; border-top: 1px solid var(--linie); }
.fakten dt, .fakten dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--linie); font-size: 15px; line-height: 1.45; }
.fakten dt { padding-right: 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-dunkel); padding-top: 15px; }
.fakten dd { color: var(--tinte); }
.steckbrief-faq { padding-top: 6px; }
.faq-titel { margin-bottom: 18px; }
.steckbrief-faq details { border-top: 1px solid var(--linie); }
.steckbrief-faq details:last-child { border-bottom: 1px solid var(--linie); }
.steckbrief-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 16.5px; line-height: 1.4; color: var(--tinte); }
.steckbrief-faq summary::-webkit-details-marker { display: none; }
.steckbrief-faq summary::after { content: '+'; flex: none; font: 300 24px/0.9 var(--head); color: var(--sand-dunkel); transition: transform .3s var(--ease); }
.steckbrief-faq details[open] summary::after { transform: rotate(45deg); }
.steckbrief-faq summary:hover { color: var(--sand-dunkel); }
.steckbrief-faq summary:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.steckbrief-faq details p { margin: -4px 0 20px; color: var(--tinte-2); font-size: 15px; line-height: 1.6; max-width: 60ch; }
@media (max-width: 900px) {
  .steckbrief-innen { grid-template-columns: 1fr; }
  .fakten { grid-template-columns: 1fr; }
  .fakten dt { border-bottom: 0; padding-bottom: 0; }
  .fakten dd { padding-top: 4px; }
}

/* ============ Bildergalerie (Quelle: Buchungsstrecke /agent/rooms) ============ */
.galerie { background: var(--papier); padding: clamp(72px, 9vw, 120px) var(--rand); border-top: 1px solid var(--linie); }
.galerie-innen { max-width: 1400px; margin: 0 auto; }
.galerie-kopf h2 { font-size: clamp(32px, 4.4vw, 58px); }
.galerie-raster { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 18px); margin-top: 40px; }
/* Rhythmus je 6 Bilder: 1 volle Breite, 2 halbe, 3 Drittel */
.galerie-bild { margin: 0; grid-column: span 2; }
.galerie-bild:nth-child(6n+1) { grid-column: span 6; }
.galerie-bild:nth-child(6n+2), .galerie-bild:nth-child(6n+3) { grid-column: span 3; }
/* unvollstaendige letzte Reihe auffuellen */
.galerie-bild:nth-child(6n+2):last-child { grid-column: span 6; }
.galerie-bild:nth-child(6n+4):last-child { grid-column: span 6; }
.galerie-bild:nth-child(6n+4):nth-last-child(2), .galerie-bild:nth-child(6n+5):last-child { grid-column: span 3; }
.galerie-bild a { display: block; overflow: hidden; background: var(--papier-2); aspect-ratio: 4 / 3; }
.galerie-bild:nth-child(6n+1) a { aspect-ratio: 21 / 9; }
.galerie-bild:nth-child(6n+2) a, .galerie-bild:nth-child(6n+3) a { aspect-ratio: 3 / 2; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.galerie-bild a:hover img, .galerie-bild a:focus-visible img { transform: scale(1.025); }
.galerie-bild a:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.galerie-bild figcaption, .galerie-plan figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--tinte-2); }
.galerie-plan { margin: 56px 0 0; max-width: 1100px; }
.galerie-plan a { display: block; background: var(--weiss); border: 1px solid var(--linie); padding: clamp(12px, 2vw, 28px); cursor: zoom-in; transition: box-shadow .3s; }
.galerie-plan a:hover { box-shadow: 0 18px 40px -28px rgba(24, 33, 46, .45); }
.galerie-plan a:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.galerie-plan img { width: 100%; height: auto; display: block; }

/* Leuchtkasten: heller Grund statt dunkler Box */
.leuchtkasten { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.leuchtkasten::backdrop { background: rgba(246, 242, 235, .97); }
.leuchtkasten figure { position: absolute; inset: 64px 72px 56px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.leuchtkasten img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; box-shadow: 0 30px 80px -40px rgba(24, 33, 46, .45); }
.leuchtkasten figcaption { display: flex; gap: 18px; font-size: 14px; color: var(--tinte-2); }
.leuchtkasten .lk-zahl { color: var(--sand-dunkel); letter-spacing: .08em; }
.leuchtkasten button { position: absolute; width: 52px; height: 52px; border: 1px solid var(--linie-2); background: var(--weiss); color: var(--tinte); font: 300 24px/1 var(--head); cursor: pointer; transition: background .2s, color .2s; }
.leuchtkasten button:hover, .leuchtkasten button:focus-visible { background: var(--tinte); color: var(--weiss); outline: none; }
.lk-zu { top: 12px; right: 12px; }
.lk-vor { left: 12px; top: 50%; transform: translateY(-50%); }
.lk-nach { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .galerie-raster { grid-template-columns: 1fr; }
  .galerie-bild, .galerie-bild:nth-child(n) { grid-column: auto; }
  .galerie-bild a, .galerie-bild:nth-child(n) a { aspect-ratio: 3 / 2; }
  .leuchtkasten figure { inset: 64px 8px 72px; }
  .lk-vor, .lk-nach { top: auto; bottom: 10px; transform: none; }
}

/* ============ KI-Assistent als "Buchrücken" (ersetzt den runden Chat-Knopf) ============
   Schmale Leiste über die volle Höhe am rechten Rand. Das CASA-One-Chatpanel ist
   eine Seitenleiste, die die Seite nach links schiebt — es fährt also genau aus
   dieser Kante heraus. Die Seite reserviert die Breite, nichts liegt darunter. */
:root { --ruecken: 32px; }
body.mit-ruecken .aic-fab, body.mit-ruecken .aic-teaser { display: none !important; }

.ruecken {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: var(--ruecken);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
  padding: calc(var(--kopf-h) / 2 - 4px) 0 22px; margin: 0; border: 0; border-left: 1px solid rgba(255, 255, 255, .16);
  background: var(--schiefer); color: rgba(255, 255, 255, .92); cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  transition: background .3s, transform .45s var(--ease), box-shadow .3s;
}
.ruecken-text { flex: 1; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; white-space: nowrap; }
.ruecken-text .kurz { display: none; }
.ruecken-punkt { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #74d39d; animation: ruecken-atmen 2.8s ease-in-out infinite; }
@keyframes ruecken-atmen { 0%, 100% { box-shadow: 0 0 0 0 rgba(116, 211, 157, .55); } 50% { box-shadow: 0 0 0 6px rgba(116, 211, 157, 0); } }
.ruecken-pfeil { flex: none; font: 300 20px/1 var(--head); letter-spacing: 0; opacity: .65; transition: transform .35s var(--ease), opacity .3s; }
.ruecken:hover, .ruecken:focus-visible { background: var(--schiefer-dunkel); outline: none; box-shadow: -8px 0 24px -12px rgba(24, 33, 46, .5); }
.ruecken:hover .ruecken-pfeil, .ruecken:focus-visible .ruecken-pfeil { transform: translateX(-4px); opacity: 1; }
.ruecken:focus-visible { box-shadow: inset 0 0 0 2px var(--sand); }

/* Zunge: helle Lasche mit einer passenden Frage, hängt am Buchrücken */
.zunge {
  position: fixed; right: var(--ruecken); top: calc(var(--kopf-h) + 28px); z-index: 59; display: flex; align-items: stretch; max-width: 360px;
  background: var(--papier); color: var(--tinte); border: 1px solid var(--linie-2); border-right: 0;
  box-shadow: -18px 22px 44px -26px rgba(24, 33, 46, .5);
  transform: translateX(calc(100% + var(--ruecken) + 2px)); visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s .55s;
}
.zunge.zeigen { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.zunge-frage { flex: 1; margin: 0; padding: 14px 10px 15px 18px; border: 0; border-left: 3px solid var(--schiefer); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.zunge-frage small { display: block; margin-bottom: 7px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-dunkel); }
.zunge-frage span { display: block; font-size: 15.5px; line-height: 1.4; }
.zunge-frage:hover span, .zunge-frage:focus-visible span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sand); }
.zunge-frage:focus-visible { outline: 2px solid var(--sand); outline-offset: -2px; }
.zunge-zu { flex: none; width: 34px; padding: 10px 0 0; border: 0; background: none; color: var(--tinte-2); font-size: 18px; line-height: 1; cursor: pointer; align-self: flex-start; }
.zunge-zu:hover { color: var(--tinte); }

/* Platz reservieren, solange das Panel zu ist; offen übernimmt das Widget */
@media (min-width: 901px) {
  html:not(.aic-offen) body.mit-ruecken { margin-right: var(--ruecken); }
  html:not(.aic-offen) body.mit-ruecken .kopf { right: var(--ruecken); }
}
html.aic-offen body.mit-ruecken .kopf { right: min(var(--aic-w, 460px), 100vw); }
html.aic-anim body.mit-ruecken .kopf { transition: right .38s cubic-bezier(.4, 0, .2, 1); }
html.aic-offen .ruecken, html.aic-offen .zunge { transform: translateX(110%); pointer-events: none; }

/* Handy: kurze Lasche am Rand statt ganzer Leiste */
@media (max-width: 900px) {
  .ruecken { top: auto; bottom: 24svh; height: 150px; width: 30px; padding: 12px 0; gap: 10px; border-left: 0; box-shadow: -6px 8px 20px -10px rgba(24, 33, 46, .45); letter-spacing: .22em; }
  .ruecken-text .lang { display: none; }
  .ruecken-text .kurz { display: inline; }
  .ruecken-pfeil { display: none; }
  .zunge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ruecken-punkt { animation: none; }
  .zunge, .zunge.zeigen { transition: none; }
}

/* Ab-Preis im Titelbild nie zwischen € und Betrag umbrechen */
.held-preis strong { white-space: nowrap; }

/* Sehr schmale Handys: Logo-Schrift und Buchen-Knopf eine Stufe kompakter */
@media (max-width: 400px) {
  .kopf-logo img { width: 34px; }
  .kopf-logo b { font-size: 12px; letter-spacing: .05em; }
  .kopf-buchen { font-size: 12px; padding: .55em .7em; }
}

/* ============ Website-Footer (inc/de/footer.php) ============
   Gleiches Aussehen wie auf allen anderen Seiten (Werte aus css/main.css),
   aber auf #WSfooter begrenzt — main.css selbst wird hier nicht geladen. */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../../css/font_raleway/raleway-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../../css/font_raleway/raleway-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
#WSfooter { padding: 100px 0; background: #242633; color: #fff; font: 400 14.4px/normal 'Raleway', sans-serif; -webkit-font-smoothing: auto; }
#WSfooter h5 { margin: 0 10px 20px; padding: 0; font: 700 21.6px/normal 'Raleway', sans-serif; letter-spacing: normal; color: #999798; border-bottom: 1px solid #c29f84; }
#WSfooter p { margin: 0 10px 7.2px; color: #fff; font-size: 14.4px; line-height: normal; }
#WSfooter a { text-decoration: none; transition: all .2s ease; }
#WSfooter .mainFooter { display: flex; flex-wrap: wrap; align-items: center; }
#WSfooter .mainFooter .footerCol { flex: 1; margin: 0 20px; padding: 20px; }
#WSfooter .mainFooter .footerCol:first-child { min-width: 260px; max-width: 500px; }
#WSfooter .mainFooter .footerCol:first-child svg { max-width: 100%; height: auto; }
#WSfooter .mainFooter .footerCol svg:hover #AUT2329_1_ { fill: #a86562; }
#WSfooter .mainFooter .footerCol a { color: #fff; }
#WSfooter .mainFooter .footerCol a:hover { color: #c29f84; }
#WSfooter .mainFooter .footerCol ul { list-style: none; margin: 0 0 7.2px 14.4px; padding: 0; }
#WSfooter .mainFooter .footerCol ul li { margin: 0 0 0 28.8px; padding: 0; }
#WSfooter .cl-effect-1 a::before, #WSfooter .cl-effect-1 a::after { display: inline-block; opacity: 0; transition: transform .3s, opacity .2s; }
#WSfooter .cl-effect-1 a::before { margin-right: 10px; content: '['; transform: translateX(20px); }
#WSfooter .cl-effect-1 a::after { margin-left: 10px; content: ']'; transform: translateX(-20px); }
#WSfooter .cl-effect-1 a:hover::before, #WSfooter .cl-effect-1 a:hover::after,
#WSfooter .cl-effect-1 a:focus::before, #WSfooter .cl-effect-1 a:focus::after { opacity: 1; transform: translateX(0); }
#WSfooter .bottomFooter { margin-top: 40px; text-align: center; color: #fff; }
#WSfooter .bottomFooter .bottomFooterContent { color: #768ea6; }
#WSfooter .bottomFooter .bottomFooterContent p { color: #768ea6; }
#WSfooter .bottomFooter .bottomFooterContent:first-child { margin-bottom: 40px; }
#WSfooter .bottomFooter .bottomFooterContent a { color: #768ea6; }
#WSfooter .bottomFooter .bottomFooterContent:first-child a { display: inline-block; padding: 5px 10px; border-right: 1px solid #253b5e; }
#WSfooter .bottomFooter .bottomFooterContent:first-child a:last-child { border-right: none; }
#WSfooter .bottomFooter .bottomFooterContent a:hover { color: #c29f84; }
#WSfooter .bottomFooter .bottomFooterContent svg { width: 20px; height: 20px; display: inline; vertical-align: -3px; }
@media (max-width: 700px) {
  #WSfooter .mainFooter { display: block; }
  #WSfooter .mainFooter .footerCol { display: block; flex: none; padding: 20px; }
  #WSfooter .mainFooter .footerCol ul, #WSfooter .mainFooter .footerCol ul li { margin-left: 0; }
}
@media (max-width: 500px) {
  #WSfooter .mainFooter .footerCol ul li { font-size: 1.1em; }
}

/* Burger-Knopf in der Kopfzeile: öffnet das Website-Menü (#menuoverlay, css/menue.css) */
.kopf-menue { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; margin-left: -6px; padding: 0 10px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.kopf-menue span { display: block; height: 2px; background: currentColor; transition: background .2s, transform .3s var(--ease); }
.kopf-menue:hover span { background: var(--sand); }
.kopf-menue:hover span:nth-child(2) { transform: translateX(-4px); }
.kopf-menue:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
@media (max-width: 760px) { .kopf-menue { width: 38px; height: 40px; margin-left: -4px; padding: 0 7px; gap: 5px; } }

/* Kleinste Handys (< 340 px): nur das Signet, damit Buchen und Menü Platz haben */
@media (max-width: 340px) { .kopf-logo span { display: none; } }

/* ---------- Sprachumschalter DE/EN in der Kopfzeile ---------- */
.kopf-sprache { flex: none; padding: 10px 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-decoration: none; opacity: .82; border-bottom: 1px solid transparent; }
.kopf-sprache:hover, .kopf-sprache:focus-visible { opacity: 1; border-bottom-color: currentColor; }
@media (max-width: 1080px) { .kopf-sprache { margin-left: auto; } }
@media (max-width: 360px) { .kopf-sprache { display: none; } }

/* Link "Alle Zimmer im Vergleich" unter der Zimmerliste */
.alle-vergleich { margin: clamp(32px, 4vw, 48px) 0 0; }
