/* Hotel Sonderborg – Apple-Systemschrift; andere Geräte nutzen ihre Standardschrift */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f8f6f2;
  --ink: #111;
  --muted: #6d6a63;
  --line: #d9d5cc;
  --orange: #e68631;
  --olive: #7c7b67;
  --field: #ece8df;
  --field-focus: #fdfcfa;
  --button: #e2dbc9;
  --gutter: 16px;
  --logo-schrift: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  /* Gemeinsam für Startseite und Unterseiten, damit das Logo beim Seitenwechsel nicht springt */
  --kopf: clamp(100px, 12.7vw, 240px);
  --logo-breite: clamp(130px, 16.7vw, 320px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 40;
  padding: 8px 12px; background: var(--ink); color: var(--bg);
}
.skip:focus { top: 8px; }

/* Bilderleiste: alle Bilder liegen per multiply auf dem Seitenhintergrund und laufen weich ineinander */
.leiste { --h: var(--kopf); display: flex; height: var(--h); overflow: hidden; isolation: isolate; background: var(--bg); }
.leiste-logo { flex: none; display: flex; align-items: center; padding: 0 5vw 0 var(--gutter); }
.leiste-logo img { width: var(--logo-breite); height: auto; }
.leiste-bild { min-width: 0; background-repeat: no-repeat; mix-blend-mode: multiply; }
.leiste-tusche { flex: 1; background-image: url(../img/leiste-tusche.jpg); background-position: 0% 65%; background-size: 130% auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%); mask-image: linear-gradient(90deg, transparent, #000 5%); }
.leiste-karaffe { flex: 0 0 calc(1.45 * var(--h) + 4vw); margin-left: -3.5vw; background-image: url(../img/leiste-karaffe.jpg); background-size: calc(2.842 * var(--h)) auto; background-position: calc(-0.221 * var(--h)) 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5vw, #000 calc(100% - 4vw), transparent); mask-image: linear-gradient(90deg, transparent, #000 3.5vw, #000 calc(100% - 4vw), transparent); }
.leiste-gemaelde { flex: 0 0 auto; aspect-ratio: 1.7; margin-left: -4vw; background-image: url(../img/leiste-gemaelde.jpg); background-position: 50% 50%; background-size: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4vw); mask-image: linear-gradient(90deg, transparent, #000 4vw); }

/* Seitenkopf */
main { padding-top: 40px; }
.page-head {
  display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: start;
  padding: 0 var(--gutter); margin-bottom: 72px;
}
/* Schriftbild des Titels bündig mit dem ersten Registerpunkt. --einzug ist der Leerraum vor dem ersten Buchstaben,
   Standard für b, h, k, l, p; Seiten mit anderem Anfangsbuchstaben setzen ihren Wert selbst. */
.page-title {
  grid-column: 1 / span 8; margin-left: calc(1px - var(--einzug, .082em));
  font-size: clamp(min(44px, 11.4vw), 5.6vw, 92px); font-weight: 400; line-height: 1;
  color: var(--muted); font-family: var(--logo-schrift); font-weight: 400; letter-spacing: .035em; text-transform: lowercase;
}
.subnav {
  grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin-top: clamp(28px, 4vw, 66px); padding-bottom: 16px; font-size: 12px; line-height: 12px; text-transform: uppercase;
}
/* Startseite: eine Titelzeile mehr Luft unter der Collage; das Register folgt unter der Begrüßung mit demselben Abstand */
.kopf-start { --titelzeile: clamp(min(44px, 11.4vw), 5.6vw, 92px); --luft: calc(40px + var(--titelzeile)); }
.kopf-start .page-title-wrap { margin-top: var(--titelzeile); }
.kopf-start .subnav { grid-row: 2; margin-top: var(--luft); }
.subnav a { position: relative; text-decoration: none; }
/* Betriebsurlaub auf der Startseite: Schrift wie das Register, eckiges oranges Feld; der Text steht bündig mit den Registerpunkten */
.urlaub-hinweis {
  grid-column: 9 / -1; grid-row: 3; justify-self: start; width: fit-content; margin: 16px 0 0 -8px; padding: 8px;
  background: var(--orange); color: #fff; font-size: 12px; line-height: 16px; text-transform: uppercase;
}
/* Wie auf der alten Seite: Schrift wird orange, links erscheint ein oranger Strich */
.subnav a[aria-current], .subnav a:hover, .subnav a:active, .subnav a:focus-visible { color: var(--orange); }
.subnav a[aria-current]::before, .subnav a:hover::before, .subnav a:active::before, .subnav a:focus-visible::before {
  content: ""; position: absolute; top: -1px; bottom: -1px; left: -8px; width: 3px; background: var(--orange);
}

/* Bildreihe */
.strip {
  display: flex; gap: var(--gutter); overflow-x: auto; padding: 0 var(--gutter) 6px; margin-bottom: -6px;
  scrollbar-width: none; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; user-select: none; }
.strip.is-dragging a { pointer-events: none; }
.strip a { color: inherit; text-decoration: none; }
.strip figure { flex: 0 0 clamp(236px, 24vw, 340px); }
/* Startseite: doppelter Abstand über und unter dem Begrüßungstext */
.strip-nach-text, .strip:not(.strip-nach-text) + .text { margin-top: 192px; }
.strip figcaption { margin-bottom: 8px; font-size: 12px; line-height: 12px; text-transform: uppercase; }
.strip img { width: 100%; height: auto; aspect-ratio: 275 / 300; object-fit: cover; -webkit-user-drag: none; transition: transform .25s ease; }
/* Zimmerbild wird minimal größer, die Schrift darüber orange wie im Register */
.strip a:hover img, .strip a:active img, .strip a:focus-visible img { transform: scale(1.02); }
/* Der Strich sitzt bündig an der Kante des vergrößerten Bilds (1 % nach links), die Schrift rückt nach rechts */
.strip figcaption { position: relative; transition: padding-left .25s ease, color .25s ease; }
.strip figcaption::before {
  content: ""; position: absolute; top: -1px; bottom: -1px; left: -1%; width: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.strip a:hover figcaption, .strip a:active figcaption, .strip a:focus-visible figcaption { padding-left: calc(8px - 1%); color: var(--orange); }
.strip a:hover figcaption::before, .strip a:active figcaption::before, .strip a:focus-visible figcaption::before { transform: scaleX(1); }

/* Textspalten */
.text {
  display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px;
  padding: 0 var(--gutter); margin-top: 96px;
}
.text-left { grid-column: 1 / span 7; }
.text-right { grid-column: 9 / -1; }
.lede { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.lede p + p, .body p + p { margin-top: 1em; }
.body p.absatz-weit { margin-top: 2.5em; }
.body { font-size: 16px; line-height: 1.45; }
.body a, .lede a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.sub-lede { margin-top: 20px; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; }

/* Fließtexte im Grau der Überschriften */
.lede, .body, .sub-lede, .bestpreis-marke, .consent, .lade, .zimmer-seite-preis { color: var(--muted); }
.lade-name, .lade-weg, .karten-liste { color: var(--ink); }

/* Preise */
.prices { grid-column: 1 / span 7; color: var(--muted); }
.zustellbett { margin-top: 16px; font-size: 16px; }
.zustellbett[hidden] { display: none; }
.prices div {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px;
  padding: 16px 0; border-top: 1px solid var(--ink);
  font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.02em;
}
.prices div:last-child { border-bottom: 1px solid var(--ink); }
.prices dd { white-space: nowrap; }
.prices dt { flex: 1 1 60%; }

.banner { margin: 0 var(--gutter); max-width: 595px; }
.banner img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.map { background: #fff; }
.map img { width: 100%; }

/* Routenplaner */
.route { display: grid; gap: 16px; margin-top: 40px; }

/* Formularfelder */
.field { position: relative; display: block; }
.field input, .field select {
  display: block; width: 100%; height: 64px; padding: 28px 16px 10px;
  border: 1px solid transparent; border-radius: 12px;
  background: var(--field); font-size: 17px; line-height: 22px; appearance: none; -webkit-appearance: none;
  transition: background-color .2s, border-color .2s;
}
.field textarea {
  display: block; width: 100%; min-height: 200px; padding: 28px 16px 10px;
  border: 1px solid transparent; border-radius: 12px;
  background: var(--field); font-size: 17px; line-height: 22px; resize: vertical;
  transition: background-color .2s, border-color .2s;
}
.field textarea:focus { outline: none; background: var(--field-focus); border-color: var(--ink); }
.form-datenschutz { margin-top: 32px; }
.kontakt-form { margin-top: 72px; }
.field input[type="date"] { min-width: 0; cursor: pointer; }
.field input[type="date"]:disabled { pointer-events: none; }
.field input::-webkit-date-and-time-value { margin: 0; text-align: left; }
.field input::-webkit-calendar-picker-indicator { cursor: pointer; }
.field input:focus, .field select:focus { outline: none; background: var(--field-focus); border-color: var(--ink); }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 25px) 50%, calc(100% - 20px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field > span:not(.stepper-info) {
  position: absolute; top: 11px; left: 17px; right: 17px;
  overflow: hidden; color: var(--muted); font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis;
  pointer-events: none;
}
.stepper {
  display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 12px 0 17px;
  border: 1px solid transparent; border-radius: 12px; background: var(--field);
}
.stepper:focus-within { background: var(--field-focus); border-color: var(--ink); }
.stepper.field input {
  flex: none; width: 2.2ch; height: auto; margin-top: 18px; padding: 0; border: 0; border-radius: 0; background: none;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-info { flex: 1; min-width: 0; margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 16px; }
.step {
  flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: var(--bg); font-size: 18px; line-height: 32px; cursor: pointer; transition: background-color .2s, color .2s;
}
/* Pfeile als Zeichnung, damit sie exakt mittig im Kreis sitzen */
.step svg { display: block; width: 16px; height: 16px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stepper input + .step { margin-left: auto; }
.step:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.step:disabled { opacity: .35; cursor: default; }

/* Routenplaner */
.route { display: grid; gap: 16px; margin-top: 40px; }

/* Anfrageformular */
.anfrage { width: min(720px, 100%); margin: 40px auto 0; padding: 0 var(--gutter); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.span-2 { grid-column: 1 / -1; }
.aufenthalt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field input:disabled { opacity: 1; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.form-label { margin: 48px 0 14px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.anfrage .form-label:first-of-type { margin-top: 0; }
.form-note { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.room { margin-top: 16px; }
.room + .room { margin-top: 32px; }
.room-title { margin-bottom: 12px; font-size: 15px; font-weight: 600; line-height: 20px; }
.guests { display: grid; gap: 12px; margin-top: 12px; }
.guests[hidden], .stepper[hidden], .gast-umschalter[hidden], .kind-alter[hidden] { display: none; }
.kind-alter { margin-top: 12px; }
.room.nur-art .form-grid > .field:first-child { grid-column: 1 / -1; }
.gast-umschalter { display: block; margin-top: 14px; }
.grenz-hinweis { margin-top: 10px; padding: 12px 14px; border-left: 4px solid var(--orange); border-radius: 8px; background: #fff; color: var(--muted); }
.kosten-box { margin: 12px 1px 1px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kosten-titel { font-weight: 600; }
.form-fragen { margin-top: 20px; text-align: center; }
.kosten-box .form-note { margin: 4px 0 12px; }
.kosten-box .kosten-eigen { margin: 14px 0 6px; }
.kosten-felder { margin-bottom: 14px; }
.kosten-ok { margin: 0 0 14px; }
.kosten-box .kosten-status { margin: 12px 0 0; color: var(--ink); }

.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.choice label {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px;
  border: 1px solid transparent; border-radius: 12px; background: var(--field); cursor: pointer;
  transition: background-color .2s;
}
.choice label:has(input:checked) { background: var(--field-focus); border-color: var(--ink); }
.choice input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }

.firma { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.firma.is-open { grid-template-rows: 1fr; }
.firma > div { overflow: hidden; visibility: hidden; transition: visibility .3s; }
.firma.is-open > div { visibility: visible; }
.firma .form-grid { padding: 12px 1px 1px; }

.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 32px; font-size: 14px; line-height: 1.35; cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--ink); }
.send {
  display: block; width: calc(100% + 16px); height: 64px; margin: 28px -8px 0;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 17px; font-weight: 500; cursor: pointer; transition: opacity .2s;
}
.send:hover { opacity: .85; }
.send:disabled { opacity: .5; cursor: progress; }
.form-status { margin-top: 20px; text-align: center; }
.form-status.is-error { color: #a32b00; }
.form-done { width: min(688px, calc(100% - 32px)); margin: 56px auto 0; padding: 48px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; }
.form-done:focus { outline: none; }
.form-haken { display: block; width: 64px; height: 64px; margin: 0 auto 20px; fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-haken path { stroke-dasharray: 44; animation: haken .5s ease .15s backwards; }
@keyframes haken { from { stroke-dashoffset: 44; } }
/* Schrift wie „Herzlich Willkommen“ auf der Startseite, aber fett */
.form-done-titel { margin-bottom: 8px; font-family: var(--logo-schrift); font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.form-done .form-note { margin-top: 14px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Zimmerfoto: klappt auf, sobald eine Zimmerart gewählt ist */
.zimmerfoto { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.zimmerfoto.is-open { grid-template-rows: 1fr; }
.zimmerfoto > div { overflow: hidden; min-height: 0; }
.zimmer-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; padding-top: 16px; }
.zimmer-detail img { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 10px; object-fit: cover; }
.zimmerfoto.is-open img { animation: aufploppen .35s ease; }
.zimmer-name { font-size: 17px; font-weight: 600; line-height: 22px; }
.zimmer-preis { margin-top: 2px; color: var(--muted); font-size: 14px; }
.zimmer-leistungen { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 18px; }
.zimmer-leistungen li { display: flex; align-items: center; gap: 10px; }
.zimmer-leistungen li[hidden] { display: none; }
.zimmer-leistungen .icon { width: 18px; height: 18px; }
@keyframes aufploppen { from { opacity: 0; transform: scale(.96); } }

.bestpreis-marke { margin-bottom: 40px; padding-left: 10px; border-left: 4px solid var(--orange); font-size: 16px; line-height: 1.35; }
.bestpreis-marke strong { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.bestpreis-marke a { text-decoration: none; }
.bestpreis-marke a:hover strong { color: var(--orange); }
.bestpreis-links a { text-decoration: underline; text-underline-offset: 2px; }
.bestpreis-links a:hover { color: var(--orange); }
/* Bestpreis am Seitenende: gleicher Abstand nach oben wie zur Linie der Fußzeile */
.text.bestpreis-unten { margin-top: 140px; }
.bestpreis-unten .bestpreis-marke { margin-bottom: 0; }
/* Rezeptionszeiten unter dem Bestpreis: derselbe Abstand, derselbe Stil */
.text.rezeption-unten { margin-top: 140px; }
.bestpreis-marke.rezeption { margin-bottom: 0; }
.rezeption p + p, .rezeption p + div, .rezeption div + p { margin-top: .9em; }
.rezeption-zeiten { display: flex; flex-wrap: wrap; gap: .9em 48px; font-variant-numeric: tabular-nums; }
.rezeption-zeiten p + p { margin-top: 0; }
.rezeption-teil { font-weight: 600; }

/* Ausstattung */
.icon { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ausstattung-kasten { padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.kurzliste, .leistungen { margin: 0; padding: 0; list-style: none; }
/* Spaltenweise gefüllt, damit die letzten zwei Punkte untereinander stehen */
.kurzliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 18px 24px; }
.kurzliste li, .leistungen li { display: flex; align-items: center; gap: 12px; }
/* Schmale Kästen: eine Spalte, sonst passen lange Wörter wie „Fußbodenheizung“ nicht */
@media (max-width: 1000px) {
  .kurzliste { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
.pill {
  display: inline-block; min-height: 48px; padding: 12px 28px; border: 0; border-radius: 999px;
  background: var(--button); font-size: 16px; cursor: pointer; transition: background-color .2s, color .2s;
}
.pill:hover { background: var(--ink); color: var(--bg); }
.pill-breit { display: block; width: 100%; margin-top: 16px; }
.leistungen-dialog {
  width: min(680px, calc(100vw - 32px)); max-height: min(80dvh, 720px); padding: 32px;
  border: 0; border-radius: 20px; background: var(--bg); color: var(--muted);
}
.leistungen-dialog::backdrop { background: rgba(17, 17, 17, .45); }
.dialog-titel { color: var(--muted); font-family: var(--logo-schrift); font-size: clamp(36px, 4vw, 52px); font-weight: 400; line-height: 1; letter-spacing: .035em; text-transform: lowercase; }
.pill-label { display: inline-block; margin: 28px 0 4px; padding: 8px 16px; border-radius: 999px; background: var(--field); }
.leistungen li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.leistungen li:last-child { border-bottom: 0; }
.schliessen { position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; padding: 4px; border: 0; background: none; cursor: pointer; }
.schliessen svg { fill: none; stroke: currentColor; stroke-width: 1.2; }

/* Eigener Kalender (Computer) */
.aufenthalt { position: relative; }
.kalender-feld input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.datum-anzeige {
  display: block; width: 100%; height: 64px; padding: 28px 16px 10px; border: 1px solid transparent; border-radius: 12px;
  background: var(--field); font-size: 17px; line-height: 22px; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.datum-anzeige.is-leer { color: var(--muted); }
.datum-anzeige[aria-expanded="true"], .datum-anzeige:focus-visible { outline: none; background: var(--field-focus); border-color: var(--ink); }
.kalender {
  position: absolute; z-index: 25; width: 324px; max-width: 100%; padding: 16px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.kalender[hidden] { display: none; }
.kalender-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.kalender-titel { font-size: 16px; font-weight: 600; }
.kalender .step { background: var(--field); }
.kalender-gitter { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.kalender-wochentag { padding: 6px 0; color: var(--muted); font-size: 12px; text-align: center; }
.kalender-tag { height: 38px; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 14px; cursor: pointer; transition: background-color .15s; }
.kalender-tag:hover:not(:disabled) { background: var(--field); }
.kalender-tag:disabled { color: #bdb9b0; cursor: default; }
.kalender-tag.is-heute { box-shadow: inset 0 0 0 1px var(--line); }
.kalender-tag.is-bereich { background: rgba(230, 134, 49, .16); }
.kalender-tag.is-gewaehlt, .kalender-tag.is-gewaehlt:hover { background: var(--orange); color: #fff; font-weight: 600; }

/* Zimmerseite: Bilder ziehen oder wischen, wie auf der Vorlage */
.zimmer-galerie {
  --bild-breite: min(calc(100vw - 56px), calc(72svh * .75));
  display: flex; gap: var(--gutter); overflow-x: auto; padding: 0 var(--gutter);
  scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; cursor: grab;
}
.zimmer-galerie::-webkit-scrollbar { display: none; }
.zimmer-galerie::after { content: ""; flex: 0 0 max(0px, calc(100vw - var(--bild-breite) - 2 * var(--gutter) - var(--gutter))); }
.zimmer-galerie.is-ziehen { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.zimmer-bild { position: relative; flex: 0 0 var(--bild-breite); overflow: hidden; scroll-snap-align: start; }
.zimmer-bild img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; -webkit-user-drag: none; }
.zimmer-bild[role="button"] { cursor: pointer; }
.zimmer-bild.is-versteckt { visibility: hidden; }
.zimmer-bild.ohne-foto { aspect-ratio: 3 / 4; background: var(--field); }
.zimmer-detail img[hidden] { display: none; }
/* Name im Bild, im Stil des Logos: helles Feld, graue Schrift, oranger Streifen */
.zimmer-bild figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 9px 12px;
  border-right: 4px solid var(--orange); background: rgba(248, 246, 242, .94); color: var(--muted);
  font-family: var(--logo-schrift); font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; letter-spacing: .035em; text-transform: lowercase;
}
.zimmer-galerie:focus-visible, .zimmer-bild:focus-visible { outline-offset: -4px; }

/* Vollbild einer Zimmerkategorie */
body.voll-offen { overflow: hidden; }
.zimmer-voll {
  --folie: min(100vw, calc(100svh * .75));
  position: fixed; inset: 0; width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: 0;
  overflow: hidden; border: 0; background: var(--bg); color: var(--ink);
}
.zimmer-voll::backdrop { background: var(--bg); }
.voll-spur {
  display: flex; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline: none;
}
.voll-spur::-webkit-scrollbar { display: none; }
.voll-spur.is-ziehen { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.voll-folie { flex: 0 0 var(--folie); height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.voll-folie img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.zimmer-flieger { position: fixed; z-index: 3; object-fit: cover; pointer-events: none; }
.voll-zu { z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(248, 246, 242, .94); color: var(--ink); }
.voll-leiste {
  position: absolute; z-index: 2; inset: auto 12px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  pointer-events: none; transition: opacity .3s ease .2s;
}
.voll-leiste > * { pointer-events: auto; }
.voll-marke {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-right: 4px solid var(--orange); background: rgba(248, 246, 242, .94); color: var(--muted);
  font-family: var(--logo-schrift); font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; letter-spacing: .035em; text-transform: lowercase;
}
.voll-zaehler { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; font-size: 13px; letter-spacing: 0; }
.voll-steuerung { display: flex; align-items: center; gap: 8px; }
.voll-steuerung .step { width: 44px; height: 44px; background: rgba(248, 246, 242, .94); font-size: 20px; }
.voll-anfrage { background: rgba(248, 246, 242, .94); color: var(--ink); text-decoration: none; }
.zimmer-voll.is-fliegt .voll-spur { visibility: hidden; }
.zimmer-voll.is-fliegt .voll-leiste, .zimmer-voll.is-fliegt .voll-zu { opacity: 0; transition: none; }
@media (hover: none) { .voll-steuerung .step { display: none; } }

.zimmer-auswahl { margin: 16px var(--gutter) 0; }
.zimmer-pfeile { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.zimmer-zaehler { margin-right: 8px; color: var(--muted); font-size: 12px; line-height: 12px; }
.zimmer-pfeile .step { width: 40px; height: 40px; background: var(--field); font-size: 20px; }
.zimmer-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 16px; }
.zimmer-text[hidden] { display: none; }
.zimmer-seite-preis { font-size: 18px; }
.zimmer-zusatz { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.zimmer-anfrage { margin-top: 18px; color: inherit; text-decoration: none; }
.zimmer-seite-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; font-size: 15px; }
@media (max-width: 1000px) { .zimmer-seite-liste { grid-template-columns: minmax(0, 1fr); } }

/* E-Auto */
.lade-bereich { --karte-hoehe: clamp(340px, calc(100svh - 250px), 620px); display: grid; gap: 16px; margin: 56px var(--gutter) 0; }
.lade-karte .karte-flaeche { height: var(--karte-hoehe); }
.lade-wege { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lade-wege polyline { vector-effect: non-scaling-stroke; fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; stroke-linejoin: round; }
.lade-wege polyline.is-aktiv { stroke: var(--orange); stroke-width: 4; stroke-dasharray: none; }
.lade-marke {
  position: absolute; z-index: 3; width: 28px; height: 28px; padding: 0; transform: translate(-50%, -50%);
  border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
  font-size: 13px; font-weight: 600; line-height: 28px; cursor: pointer;
}
.lade-marke.is-aktiv { background: var(--orange); color: #fff; }
.lade-liste { display: grid; grid-auto-rows: max-content; gap: 12px; align-content: start; }
.lade-blatt {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-direction: column; max-height: 66svh;
  padding: 14px 16px calc(12px + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .22);
  transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.lade-blatt.is-sichtbar { transform: none; visibility: visible; }
.lade-blatt-inhalt { min-height: 0; padding-right: 36px; overflow-y: auto; }
.lade-blatt .lade-blatt-zu { top: 8px; right: 8px; z-index: 1; width: 44px; height: 44px; padding: 12px; color: var(--ink); }
.lade-blatt .lade { padding: 0; border: 0; border-radius: 0; background: none; }
.lade-blatt:not(.is-offen) .lade > :not(.lade-kopf) { display: none; }
.lade-blatt .lade-name { font-size: 18px; }
.lade-blatt .lade-name + p, .lade-blatt .lade-weg { margin-top: 2px; font-size: 14px; }
.lade-blatt-kurz { margin-top: 2px; color: var(--muted); font-size: 14px; }
.lade-blatt-leiste { display: flex; justify-content: space-between; flex: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .lade-blatt { display: none; }
  .lade-bereich { --karte-hoehe: clamp(490px, calc(100svh - 130px), 640px); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
  .lade-liste { height: var(--karte-hoehe); overflow-y: auto; }
  /* Gewählte Station genauso hoch wie die Karte, die übrigen darunter zum Scrollen */
  .lade-liste .lade.is-aktiv { min-height: var(--karte-hoehe); align-content: start; }
}
.lade { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; font-size: 15px; line-height: 1.4; }
.lade.is-aktiv { border-color: var(--orange); background: #fff; }
.lade-kopf { display: flex; gap: 12px; }
.lade-nr { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; line-height: 28px; text-align: center; }
.lade.is-aktiv .lade-nr { background: var(--orange); color: #fff; }
.lade-name { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.lade-name + p { margin-top: 4px; color: var(--muted); }
.lade-weg { margin-top: 8px; font-weight: 600; }
.lade-label { margin-bottom: 6px; color: var(--muted); font-size: 12px; line-height: 12px; text-transform: uppercase; }
.lade-abstand { margin-top: 14px; }
.lade-aktionen { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.lade-link { padding: 0; border: 0; background: none; color: inherit; font-size: 14px; line-height: 18px; text-decoration: underline; text-underline-offset: 3px; text-align: left; cursor: pointer; }
.lade-link:hover { color: var(--orange); }
.karten-liste { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.2; }
.karten-liste li { padding: 5px 10px; border-radius: 999px; background: var(--field); }
.lade-hinweis { margin: 24px var(--gutter) 0; color: var(--muted); font-size: 14px; }

/* Karte */
.karte-flaeche { position: relative; overflow: hidden; height: clamp(440px, 48vw, 760px); border-radius: 16px; background: #2b2b2b; }
.karte-flaeche iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none;
  filter: grayscale(1) invert(.92) contrast(.95);
}
.karte-hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 32px; color: #f4f2ee; }
.karte-hinweis p { max-width: 420px; }
.karte-hinweis .pill { color: var(--ink); }
.karte-hinweis .pill:hover { background: #fff; color: var(--ink); }
.karte-marke {
  position: absolute; z-index: 1; transform: translate(-50%, -50%);
  padding: 5px 11px; border: 2px solid var(--orange); border-radius: 999px;
  background: #fff; color: #323232; box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
  font-size: 12.5px; font-weight: 600; line-height: 15px; white-space: nowrap;
}
.karte-breit { grid-column: 1 / -1; }
/* Hotel wie in Apple Karten: runde Nadel mit Text daneben, ohne Kasten */
.hotel-marke { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.hotel-nadel {
  position: absolute; top: -15px; left: -15px; width: 30px; height: 30px; padding: 6px;
  border: 2px solid #fff; border-radius: 50%; background: var(--orange); box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.hotel-nadel svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hotel-name {
  position: absolute; top: -15px; right: 20px; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 15px; text-align: right; white-space: nowrap;
  text-shadow: 0 0 3px #111, 0 0 3px #111, 0 1px 4px #111;
}
.karte-link { display: inline-block; margin-top: 12px; font-size: 12px; line-height: 12px; text-transform: uppercase; text-decoration: none; }
.karte-link:hover { text-decoration: underline; }

/* Fußzeile */
.site-footer {
  display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px;
  margin-top: 140px; padding: var(--gutter) var(--gutter) 24px;
  border-top: 1px solid var(--line);
  font-size: 12px; line-height: 16px; text-transform: uppercase;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-a { grid-column: 1 / span 4; }
.foot-b { grid-column: 5 / span 4; }
.foot-c { grid-column: 9 / span 4; }
.foot-d { grid-column: 13 / -1; }
.lower { text-transform: none; }

@media (max-width: 760px) {
  :root { --kopf: 100px; --logo-breite: 112px; }
  /* Am Handy rückt alles enger zusammen, das Logo bleibt am Anfang der Collage */
  .leiste-logo { padding: 0 8px 0 var(--gutter); }
  .leiste-tusche { background-size: max(150px, 130%) auto; background-position: -28px 62%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px); mask-image: linear-gradient(90deg, transparent, #000 18px); }
  .leiste-karaffe { flex: 0 0 calc(16vw + 14px); margin-left: -14px; background-size: 210px auto; background-position: calc(16vw - 116px) 60%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 16px), transparent); }
  .leiste-gemaelde { aspect-ratio: .95; margin-left: -16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px); mask-image: linear-gradient(90deg, transparent, #000 16px); }
  .zimmer-text { grid-template-columns: minmax(0, 1fr); }
  main { padding-top: 24px; }
  .karte-breit { margin-top: 48px; }
  .page-head { display: block; margin-bottom: 48px; }
  .subnav { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; margin-top: 40px; padding-bottom: 8px; }
  .kopf-start { --luft: calc(24px + var(--titelzeile)); }
  .kopf-start .subnav { margin-top: var(--luft); }
  /* Am Handy größere Tippflächen, die Optik bleibt gleich */
  .subnav a { margin: -8px 0; padding: 8px 0; }
  .subnav a[aria-current]::before, .subnav a:hover::before, .subnav a:active::before, .subnav a:focus-visible::before { top: 7px; bottom: 7px; }
  .site-footer a, .lade-link { padding: 6px 0; }
  /* Größere Tippfläche, der Text bleibt an derselben Stelle */
  .karte-link { padding: 8px 0; margin: 4px 0 -8px; }
  .text { display: block; margin-top: 64px; }
  .strip-nach-text, .strip:not(.strip-nach-text) + .text { margin-top: 128px; }
  .text-right { margin-top: 48px; }
  .text > .prices + .text-right { margin-top: 32px; }
  .lade-bereich { margin-top: 32px; }
  .foot-a, .foot-b, .foot-c, .foot-d { grid-column: 1 / -1; }
  .site-footer { margin-top: 96px; }
  .text.bestpreis-unten, .text.rezeption-unten { margin-top: 96px; }
}
@media (max-width: 560px) {
  .form-grid, .choice, .zimmer-detail, .zimmer-seite-liste { grid-template-columns: minmax(0, 1fr); }
  .aufenthalt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aufenthalt > :last-child { grid-column: 1 / -1; }
  .aufenthalt input[type="date"] { padding-left: 12px; padding-right: 8px; font-size: 16px; }
  .aufenthalt .field > span:not(.stepper-info) { left: 13px; }
  .send { width: 100%; margin: 28px 0 0; }
}
/* Wechsel von und zur Startseite: Register und Inhalt gleiten an ihre neue Stelle, der Rest blendet weich.
   Zwischen Unterseiten setzt uebergang.js „wechsel-sofort“: Die neue Seite ist gleich da.
   Die Collage bleibt immer stehen: Das bisherige Bild bleibt sichtbar, bis die neue Seite sie fertig gezeichnet hat.
   Browser ohne diese Technik wechseln direkt. */
@view-transition { navigation: auto; }
.leiste { view-transition-name: leiste; }
.page-title { view-transition-name: titel; }
.subnav { view-transition-name: register; }
.page-head + *, .page-head + noscript + * { view-transition-name: inhalt; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, .8, .2, 1); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: .35s; animation-timing-function: ease; }
::view-transition-group(leiste) { animation: none; }
::view-transition-old(leiste) { animation: stehen .55s; }
::view-transition-new(leiste) { animation: none; opacity: 0; }
@keyframes stehen { from, to { opacity: 1; } }
:root.wechsel-sofort::view-transition-group(*), :root.wechsel-sofort::view-transition-new(*) { animation: none; }
:root.wechsel-sofort::view-transition-old(*) { animation: none; opacity: 0; }
:root.wechsel-sofort::view-transition-old(leiste) { animation: stehen .25s; opacity: 1; }
:root.wechsel-sofort::view-transition-new(leiste) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
