/* Land of Green – reduziert, viel Weiß, wenig Schwarz, ein Hauch Grün. Mobile first. */

/* Schrift: Jost (SIL Open Font License, kostenlos auch gewerblich), lokal ausgeliefert – keine Verbindung zu Google */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
:root {
  --text: #1c1c1c;
  --leise: #6f6f6f;
  --linie: #e7e7e4;
  --gruen: #5d7a4c;
  --grund: #ffffff;
  --hell: #f3f5ef;              /* helle Flächen: helles Farbband, Hinweisbox */
  /* Schrift, Abstände, Rundungen – im Backend unter „Design“ änderbar (Werte kommen dann per <style> im Kopf) */
  --groesse: 1.0625rem;  --zeilen: 1.7;  --staerke: 350;
  --h1: 3rem;  --h2: 1.85rem;  --h-zeilen: 1.15;  --h-staerke: 300;
  --rand-max: 2.5rem;
  --rand: clamp(1rem, 4vw, var(--rand-max));
  --eng: 42rem;
  --abstand: 2rem;       /* Abstand zwischen Bausteinen (breite Bausteine; schmale ×0,6, volle ×1,5) */
  --kachel-x: 1.5rem;  --kachel-y: 2.5rem;
  --knopf-rund: 0px;  --kasten-rund: 1.25rem;
  --schrift: "Jost", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--grund); color: var(--text); font: var(--staerke) var(--groesse)/var(--zeilen) var(--schrift); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--linie); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--gruen); }
h1, h2 { font-weight: var(--h-staerke); letter-spacing: .01em; line-height: var(--h-zeilen); margin: 0 0 .5rem; }
h1 { font-size: clamp(calc(var(--h1) * .6333), calc(var(--h1) * .4833 + 1.9vw), var(--h1)); }
h2 { font-size: clamp(calc(var(--h2) * .7568), calc(var(--h2) * .6216 + 1vw), var(--h2)); }
p { margin: 0 0 1rem; }
strong { font-weight: 500; }
.gesperrt { text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; font-weight: 400; color: var(--leise); }
.klein { font-size: .8rem; }
.leise { color: var(--leise); }
.gruen { color: var(--gruen); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eng { max-width: var(--eng); margin-inline: auto; padding-inline: var(--rand); }
.zentriert { text-align: center; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: .6rem var(--rand); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.logo { grid-column: 2; grid-row: 1; }
.logo img { height: clamp(44px, 34px + 2.2vw, 72px); width: auto; }
.kopf-rechts { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: .9rem; }
.sprache { text-decoration: none; font-size: .72rem; letter-spacing: .12em; color: var(--leise); padding: .5rem 0; }
.sprache:hover { color: var(--text); }
.menue-knopf { grid-column: 1; grid-row: 1; justify-self: start; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.menue-knopf span:first-child, .menue-knopf span:first-child::before, .menue-knopf span:first-child::after {
  position: absolute; left: 11px; width: 22px; height: 1px; background: var(--text); content: ""; transition: .2s; }
.menue-knopf span:first-child { top: 22px; }
.menue-knopf span:first-child::before { left: 0; top: -7px; }
.menue-knopf span:first-child::after { left: 0; top: 7px; }
.menue-knopf[aria-expanded="true"] span:first-child { background: transparent; }
.menue-knopf[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
.menue { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--linie); }
.menue.offen { display: block; }
.menue ul { list-style: none; margin: 0; padding: .5rem var(--rand) 1.5rem; }
.menue li a { display: block; padding: .7rem 0; text-decoration: none; border-bottom: 1px solid var(--linie); }
.menue li:last-child a { border: 0; }
.menue a[aria-current] { color: var(--gruen); }

/* Knöpfe */
.knopf { display: inline-block; padding: .75rem 1.5rem; border: 1px solid var(--text); border-radius: var(--knopf-rund);
  text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 400; background: #fff;
  color: var(--text); font-family: var(--schrift); cursor: pointer; }   /* Farbe/Schrift ausdrücklich: <button> hat sonst Browser-Vorgaben (iOS: blauer Text, Systemschrift) */
.knopf:hover { background: var(--text); color: #fff; }

/* Titelbild */
.held { margin: 0; }
.held-bild { width: 100%; height: 62svh; min-height: 320px; max-height: 820px; object-fit: cover; }

/* Seitenkopf */
.seitenkopf { text-align: center; padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: 1rem; }
.seitenkopf h1::after { content: ""; display: block; width: 4rem; height: 1px; background: var(--text); margin: 1.2rem auto 0; }
.unterzeile { color: var(--leise); }
.fakten { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; color: var(--leise); }
.nur-gross { display: none; }

/* Fließtext */
.fliesstext { padding-block: 1.5rem; }
.fliesstext p:first-child::first-line { color: var(--text); }
.hinweis { border-top: 1px solid var(--linie); padding-top: 1rem; margin-top: 1.5rem; color: var(--leise); }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--kachel-y) var(--kachel-x); padding: 2rem var(--rand) 3rem; max-width: 1280px; margin: 0 auto; }
.kachel { min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: .35rem; }
.kachel-bild { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: .6rem; background: #f4f4f2; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kachel:hover .kachel-bild img { transform: scale(1.03); }
.kachel-titel { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem); font-weight: 300; }
.kachel-text { color: var(--leise); font-size: .95rem; }

/* Galerie */
.galerie { columns: 2; column-gap: .5rem; padding: 1.5rem .5rem; max-width: 1400px; margin: 0 auto; }
.galerie a { display: block; margin-bottom: .5rem; break-inside: avoid; overflow: hidden; }
.galerie img { width: 100%; transition: transform .6s ease; }
.galerie a:hover img { transform: scale(1.02); }

/* Preise & Ausstattung */
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 2rem; }
.liste { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .55rem 1.2rem; margin: 1rem 0; border-top: 1px solid var(--linie); padding-top: 1rem; }
.liste dt { color: var(--leise); font-size: .9rem; }
.liste dd { margin: 0; }
.lage { padding-block: 1rem 3rem; text-align: center; }
.lageplan { text-align: center; padding-block: 2rem 4rem; }
.lageplan img { margin-top: 1.5rem; border: 1px solid var(--linie); }

/* Google-Formular (lädt erst nach Klick) */
.formular { max-width: 640px; margin: 2rem auto; padding: 1.5rem; text-align: center; border: 1px solid var(--linie); background: var(--hell); }
.formular p { margin: 0 0 1rem; }
.formular .klein { margin: 1rem 0 0; }
.formular.geladen { padding: 0; border: 0; background: none; }
.formular iframe { display: block; width: 100%; border: 0; }
/* Newsletter-Anmeldung */
.newsletter { max-width: 640px; margin: 3rem auto; padding: 2rem 1.5rem; text-align: center; background: var(--hell); border-radius: var(--kasten-rund); }
.newsletter h2 { margin-top: 0; }
.nl-felder { display: grid; gap: .6rem; margin: 1.25rem 0 .75rem; }
.nl-felder input { width: 100%; padding: .75rem .9rem; font: inherit; border: 1px solid var(--linie); border-radius: var(--knopf-rund); background: #fff; }
.nl-felder input:focus { outline: 2px solid var(--gruen); outline-offset: 1px; }
.nl-felder .knopf { justify-self: center; cursor: pointer; }
.nl-felder[hidden] { display: none; }   /* nach erfolgreicher Anmeldung ausblenden (display:grid würde hidden sonst überstimmen) */
.nl-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-hinweis { color: var(--leise); margin: 0; }
.nl-meldung { margin: 1rem 0 0; font-weight: 500; }
.nl-meldung.fehler { color: #b42318; }
@media (min-width: 640px) { .nl-felder { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .nl-felder .knopf { justify-self: stretch; } }

/* Buchungsleiste (Handy) */
.buchen-leiste { position: sticky; bottom: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem var(--rand) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--linie); }
.buchen-leiste .knopf { background: var(--text); color: #fff; }

/* Fuß */
.fuss { text-align: center; padding: 3rem var(--rand) 5rem; border-top: 1px solid var(--linie); color: var(--leise); font-size: .9rem; }
.fuss-logo { margin: 0 auto 1.5rem; height: 46px; width: auto; }

/* Leuchtkasten */
.leuchtkasten { padding: 0; border: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(255,255,255,.98); }
.leuchtkasten::backdrop { background: rgba(255,255,255,.9); }
.leuchtkasten img { width: 100%; height: 100%; object-fit: contain; padding: 3rem .5rem; }
.leuchtkasten button { position: absolute; border: 0; background: none; font: 200 2.6rem/1 var(--schrift); color: var(--text); cursor: pointer; padding: 1rem; }
.lk-zu { top: 0; right: 0; }
.lk-zurueck { left: 0; top: 50%; transform: translateY(-50%); }
.lk-weiter { right: 0; top: 50%; transform: translateY(-50%); }

/* Tablet */
@media (min-width: 600px) {
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { columns: 3; }
}
/* Desktop */
@media (min-width: 900px) {
  .menue > ul { columns: 2; column-gap: 4rem; max-width: 52rem; margin: 0 auto; padding: 2rem var(--rand) 3rem; }
  .menue > ul > li { break-inside: avoid; }
  .menue li a { font-size: 1.15rem; }
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zwei-spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 68rem; }
  .nur-gross { display: inline-block; margin-top: 1.6rem; }
  .buchen-leiste { display: none; }
  .held-bild { height: 78svh; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Live-Kalender auf den Unterkunftsseiten ---- */
.eng-breit { max-width: 60rem; margin-inline: auto; padding-inline: var(--rand); }
.kalender { padding-block: 2.5rem 3rem; border-top: 1px solid var(--linie); text-align: center; }
.kal-hilfe { margin-bottom: 1.5rem; }
.kal-kopf { display: flex; align-items: flex-start; gap: .5rem; }
.kal-kopf > button { border: 0; background: none; font: 200 2.2rem/1 var(--schrift); color: var(--text); cursor: pointer; padding: .2rem .6rem; }
.kal-kopf > button:disabled { opacity: .2; cursor: default; }
.kal-monate { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.kal-monatsname { margin: .3rem 0 .8rem; font-weight: 400; letter-spacing: .04em; }
.kal-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.kal-wt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); padding-bottom: .3rem; }
.kal-tag { border: 0; background: #fff; font: 400 .95rem/1.1 var(--schrift); color: var(--text); aspect-ratio: 1 / 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px; cursor: pointer; padding: 0; }
.kal-tag small { font-size: .62rem; color: var(--leise); font-weight: 350; }
.kal-tag.frei { background: color-mix(in srgb, var(--gruen) 11%, #fff); }
.kal-tag.frei:hover { outline: 1px solid var(--gruen); }
.kal-tag.belegt, .kal-tag.vorbei, .kal-tag.unbekannt { color: #c4c4bf; background: #fafaf8; cursor: default; }
.kal-tag.belegt { text-decoration: line-through; }
.kal-tag.moeglich { background: color-mix(in srgb, var(--gruen) 11%, #fff); color: var(--text); text-decoration: none; cursor: pointer; }
.kal-tag.anreise, .kal-tag.abreise, .kal-tag.dazwischen { background: var(--gruen); color: #fff; text-decoration: none; }
.kal-tag.anreise small, .kal-tag.abreise small, .kal-tag.dazwischen small { color: rgba(255,255,255,.8); }
.kal-tag.dazwischen { background: color-mix(in srgb, var(--gruen) 80%, #fff); }
.kal-legende { margin-top: 1rem; }
.kl { display: inline-block; width: .8em; height: .8em; margin: 0 .3em 0 .9em; vertical-align: -1px; }
.kl-frei { background: color-mix(in srgb, var(--gruen) 11%, #fff); } .kl-belegt { background: #fafaf8; outline: 1px solid var(--linie); } .kl-wahl { background: var(--gruen); }
.kal-auswahl { margin: 2rem auto 0; max-width: 30rem; text-align: left; border: 1px solid var(--linie); padding: 1.4rem; }
.kal-zeitraum { font-weight: 400; margin-bottom: 1rem; }
.kal-personen { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.kal-personen label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); display: flex; flex-direction: column; gap: .3rem; }
.kal-personen select { font: 400 1rem var(--schrift); border: 1px solid var(--linie); padding: .5rem .7rem; min-width: 5rem; background: #fff; border-radius: 0; }
.kal-preis { margin-top: 1.2rem; }
.kal-preis .summe { font-weight: 500; color: var(--text); border-top: 1px solid var(--linie); padding-top: .5rem; }
.kal-hinweis { color: var(--leise); margin: .8rem 0 0; }
.kal-buchen { display: block; text-align: center; margin-top: 1.2rem; background: var(--text); color: #fff; }
@media (min-width: 760px) {
  .kal-monate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kal-tag { aspect-ratio: 5 / 4; }
}

/* ---- Menü: Unterpunkte ---- */
.menue { max-height: calc(100svh - 70px); overflow-y: auto; }
.untermenue { list-style: none; padding: 0 0 .4rem 1rem !important; margin: 0; columns: 1 !important; }
.menue .untermenue a { font-size: .95rem !important; padding: .45rem 0; color: var(--leise); border: 0; }

/* ---- Aktueller Hinweis (Startseite) ---- */
.aktuell { margin: 0; padding: .7rem var(--rand); text-align: center; background: color-mix(in srgb, var(--gruen) 11%, #fff); color: var(--text); font-size: .95rem; }

/* ---- Bausteine ---- */
.bausteine { padding-block: 1rem 2rem; }
.baustein.eng { margin-block: 0 calc(var(--abstand) * .6); }
.baustein.breit { margin-block: var(--abstand); }
.baustein h2 { margin-top: var(--abstand); }
.baustein h3 { font-size: 1.15rem; font-weight: 400; margin: 1.5rem 0 .4rem; }
.baustein ul, .baustein ol { padding-left: 1.2rem; }
/* Text-Baustein „Gestaltung“ (snippets/blocks/text.php): Abweichungen vom Grundwert aus dem Reiter „Design“ */
.text-zeilen-eng { line-height: calc(var(--zeilen) * .85); }
.text-zeilen-weit { line-height: calc(var(--zeilen) * 1.2); }
.text-groesse-klein { font-size: .9em; }
.text-groesse-gross { font-size: 1.2em; }
.text-mitte { text-align: center; }
.text-rechts { text-align: right; }
:is(.text-mitte, .text-rechts) :is(ul, ol) { list-style-position: inside; padding-left: 0; }
:is(.text-mitte, .text-rechts) li > p { display: inline; }   /* sonst steht der Punkt allein über dem Text */
.baustein li > p { margin: 0; }
.baustein li + li { margin-top: .25em; }
.baustein figure { margin: 1.5rem 0; }
.baustein figcaption { font-size: .85rem; color: var(--leise); margin-top: .4rem; }
.baustein blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 1px solid var(--gruen); font-style: italic; }
.baustein hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }
.baustein-video iframe { width: 100%; max-width: 60rem; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; margin: 0 auto; }
.baustein-video { padding-inline: var(--rand); }
.hinweisbox { border-left: 2px solid var(--gruen); background: color-mix(in srgb, var(--hell) 70%, #fff); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.hinweisbox p:last-child { margin: 0; }
/* Bild-Baustein: Breite, Seitenverhältnis, Störer */
.bausteine { overflow-x: clip; }
.baustein.voll { margin-block: calc(var(--abstand) * 1.5); }
.baustein.voll figure, .baustein.breit figure { margin: 0 auto; }
.bild-breit { max-width: 68rem; padding-inline: var(--rand); }
.bild-breit img, .bild-voll img, .bild-format img { width: 100%; }
.bild-voll:not(.bild-format) img { max-height: 88svh; object-fit: cover; }
.bild-voll figcaption { padding-inline: var(--rand); text-align: center; }
.bild-format img { aspect-ratio: var(--format); height: auto; object-fit: cover; }
.bild-format.ohne-zuschnitt img { object-fit: contain; background: #f4f5f1; }
.bild-rahmen { position: relative; }
.stoerer { position: absolute; z-index: 2; width: 6rem; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; padding: .6rem;
  background: var(--gruen); color: #fff; text-align: center; font-size: .7rem; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-8deg); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); pointer-events: none; }
.stoerer-oben-rechts { top: -1.2rem; right: -.5rem; }
.stoerer-oben-links { top: -1.2rem; left: -.5rem; }
.stoerer-unten-rechts { bottom: -1.2rem; right: -.5rem; }
.stoerer-unten-links { bottom: -1.2rem; left: -.5rem; }
.bild-voll .stoerer-oben-rechts, .bild-voll .stoerer-unten-rechts { right: var(--rand); }
.bild-voll .stoerer-oben-links, .bild-voll .stoerer-unten-links { left: var(--rand); }
.ausrichtung-links { text-align: left; }
.ausrichtung-rechts { text-align: right; }
@media (min-width: 760px) {
  .stoerer { width: 8rem; font-size: .78rem; padding: .9rem; }
  .stoerer-oben-rechts { top: -2.2rem; right: -2.2rem; }
  .stoerer-oben-links { top: -2.2rem; left: -2.2rem; }
  .stoerer-unten-rechts { bottom: -2.2rem; right: -2.2rem; }
  .stoerer-unten-links { bottom: -2.2rem; left: -2.2rem; }
}
.textbild { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: 68rem; margin: 0 auto; padding-inline: var(--rand); align-items: center; }
.textbild-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.textbild-text { padding-block: 0; }
.kachel-mehr { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .3rem; }
div.kachel { cursor: default; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-child { border-top: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: .9rem 2rem .9rem 0; list-style: none; position: relative; font-weight: 400; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: .2rem; top: .7rem; font-size: 1.3rem; font-weight: 200; }
.fragen details[open] summary::after { content: "–"; }
.fragen .antwort { padding: 0 0 1rem; color: #3b3b3b; }
.faq h2 { margin-top: 2.5rem; }
.downloads { list-style: none; padding: 0 !important; }
.downloads li { padding: .6rem 0; border-bottom: 1px solid var(--linie); }

/* ---- News ---- */
.beitraege { padding-block: 1rem 3rem; }
.beitrag-vorschau { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; text-decoration: none; padding: 1.5rem 0; border-bottom: 1px solid var(--linie); }
.beitrag-vorschau > span:last-child { display: flex; flex-direction: column; gap: .3rem; }
.beitrag-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- Kalender mit mehreren Einheiten: Liste der freien Einheiten ---- */
.auswahl .kal-tag small { font-size: .58rem; }
.auswahl .kal-auswahl { max-width: 34rem; }
.aw-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.aw-wahl { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 400; }
.aw-wahl input { width: 1.15rem; height: 1.15rem; accent-color: var(--gruen); flex: none; }
.aw-preis { text-align: right; white-space: nowrap; }
.aw-preis small { display: block; font-size: .68rem; color: var(--leise); }
.aw-optionen { grid-column: 1 / -1; margin: .6rem 0 0 1.75rem; display: none; }
.aw-zeile.gewaehlt .aw-optionen { display: flex; }
.aw-zeile.gewaehlt .aw-name { color: var(--gruen); }
.aw-liste > p.klein { margin-top: .8rem; }

/* ---- Fuß ---- */
.fuss-links a, .fuss-social a { margin: 0 .6rem; }

@media (min-width: 760px) {
  .textbild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
  .textbild.bild-rechts .textbild-bild { order: 2; }
  .beitrag-vorschau { grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; }
}

/* ---- Startseiten-Suche: Belegungskalender + Overlay ---- */
.suche { padding-block: 2.5rem 3rem; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); text-align: center; margin-top: 1rem; }
.suche .kal-tag small { font-size: .58rem; }
.suche-auswahl { margin: 1.8rem auto 0; max-width: 34rem; text-align: left; border: 1px solid var(--linie); padding: 1.4rem; }
.suche-hund { flex-direction: row !important; align-items: center; gap: .5rem !important; align-self: flex-end; padding-bottom: .55rem; }
.suche-hund input { width: 1.1rem; height: 1.1rem; accent-color: var(--gruen); }
.suche-los { display: block; width: 100%; margin-top: 1.2rem; background: var(--text); color: #fff; cursor: pointer; font-family: var(--schrift); }
.suche-los:disabled { background: #fff; color: #b9b9b4; border-color: var(--linie); cursor: default; }
.suche-ergebnis { width: min(46rem, 100vw); max-width: 100vw; max-height: 92svh; padding: 0; border: 0; background: #fff; color: var(--text); box-shadow: 0 10px 40px rgba(0,0,0,.15); }
/* Offenes Suchfenster/Bildansicht: Seite dahinter festhalten – sonst scrollt das Mausrad am Ende des Fensters
   oder über dem abgedunkelten Rand den Hintergrund weiter (scrollbar-gutter verhindert ein Springen des Layouts) */
html:has(.suche-ergebnis[open], .leuchtkasten[open]) { overflow: hidden; scrollbar-gutter: stable; }
.suche-ergebnis { overscroll-behavior: contain; }
.suche-ergebnis::backdrop { background: rgba(28,28,28,.45); }
.se-kopf { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.4rem .8rem; background: #fff; border-bottom: 1px solid var(--linie); text-align: left; }
.se-kopf p { margin: 0; }
.se-zeitraum { font-weight: 400; }
.se-zu { border: 0; background: none; font: 200 2.2rem/1 var(--schrift); cursor: pointer; padding: 0 .3rem; color: var(--text); }
.se-liste { padding: 1rem 1.4rem 1.6rem; text-align: left; }
.se-karte { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.se-karte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.se-text { display: flex; flex-direction: column; gap: .2rem; }
.se-preis { font-weight: 500; margin-top: .2rem; }
@media (min-width: 760px) { .se-karte { grid-template-columns: 11rem minmax(0, 1fr); } }

/* ---- Mehrfachauswahl im Startseiten-Overlay ---- */
.se-karte .aw-zeile { padding: .6rem 0; border-bottom: 0; border-top: 1px solid var(--linie); margin-top: .4rem; }
.se-karte .aw-zeile:first-of-type { margin-top: .6rem; }
.se-karte .aw-optionen { margin-left: 0; gap: .6rem; }
.se-karte .aw-optionen select { min-width: 4.2rem; }
.se-karte .kachel-titel { text-decoration: none; }
.se-bild { display: block; }
.aw-wahl small { margin-left: .2rem; font-size: .72rem; }
/* Detailansicht einer Unterkunft im Suchfenster (suche.js, snippets/haus-info.php) */
.se-detail { padding: 0 1.4rem 1.6rem; text-align: left; }
.se-zurueck { border: 0; background: none; padding: .35rem 0 .45rem; margin: -.35rem 0 0; font: 400 1.05rem/1.3 var(--schrift); color: var(--text); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.se-zurueck[hidden], .se-zu[hidden], .se-titel[hidden] { display: none; }
.hi-bilder-rahmen { position: relative; margin: 0 -1.4rem; }
.hi-bilder { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hi-bilder::-webkit-scrollbar { display: none; }
.hi-bilder figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.hi-bilder img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hi-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--text); font: 300 1.8rem/1 var(--schrift); cursor: pointer; display: none; }
.hi-zurueck { left: .8rem; } .hi-weiter { right: .8rem; }
.hi-zaehler { position: absolute; right: .8rem; bottom: .6rem; margin: 0; padding: .1rem .5rem; border-radius: 1rem; background: rgba(28,28,28,.6); color: #fff; }
@media (hover: hover) { .hi-pfeil { display: block; } }
.hi-text h2 { margin: .2rem 0 0; }
.hi-text > .gesperrt { margin: 1.2rem 0 0; }
.hi-fakten { justify-content: flex-start; margin-top: .6rem; }
.hi-text h3 { margin-top: 1.6rem; }
.hi-seite { margin-top: 1.6rem; }
.se-detail-aktion { margin-top: 1rem; }
.se-detail-aktion .knopf[hidden] { display: none; }
.se-fuss { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--linie); padding: .8rem 1.4rem 1.1rem; text-align: left; box-shadow: 0 -6px 18px rgba(0,0,0,.06); }
.se-fuss .kal-preis { margin: 0; max-height: 7.5rem; overflow: auto; }
.se-fuss .kal-buchen { margin-top: .7rem; }
.se-fuss .kal-hinweis:empty { display: none; }

/* ---- Gutschein kaufen ---- */
.gutschein { text-align: center; padding-block: 1rem 1.5rem; }
.gs-betraege { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.2rem auto 1rem; max-width: 36rem; }
.gs-betrag { font: 400 1rem var(--schrift); border: 1px solid var(--linie); background: #fff; color: var(--text); padding: .7rem 1rem; min-width: 5.2rem; cursor: pointer; }
.gs-betrag:hover { border-color: var(--gruen); }
.gs-betrag[aria-checked="true"] { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.gs-kaufen { display: block; max-width: 24rem; margin: 1rem auto 0; }
.gs-kaufen[aria-disabled="true"] { background: #fff; color: #b9b9b4; border-color: var(--linie); pointer-events: none; }

/* ---- Chatbot ---- */
.chat-knopf { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px;
  background: var(--gruen); color: #fff; font: 400 .95rem var(--schrift); padding: .75rem 1.1rem .75rem .95rem; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.chat-knopf:hover { background: color-mix(in srgb, var(--gruen) 83%, #000); }
body:has(.buchen-leiste) .chat-knopf { bottom: 84px; }
body.chat-offen .chat-knopf { display: none; }
.chat { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: #fff; color: var(--text); }
.chat[hidden] { display: none; }
.chat-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 1.1rem .8rem; border-bottom: 1px solid var(--linie); background: #fff; }
.chat-kopf p { margin: 0; }
.chat-titel { font-weight: 400; font-size: 1.1rem; }
.chat-unter { color: var(--leise); }
.chat-zu { border: 0; background: none; font: 200 2rem/1 var(--schrift); color: var(--text); cursor: pointer; padding: 0 .2rem; }
.chat-verlauf { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; overscroll-behavior: contain; }
.chat-nachricht { max-width: 88%; padding: .65rem .85rem; font-size: .95rem; line-height: 1.5; }
.chat-nachricht p { margin: 0 0 .5rem; } .chat-nachricht p:last-child { margin-bottom: 0; }
.chat-nachricht ul { margin: .2rem 0 .5rem; padding-left: 1.1rem; }
.chat-nachricht a { color: var(--gruen); text-decoration-color: currentColor; }
.chat-nachricht.bot { align-self: flex-start; background: color-mix(in srgb, var(--gruen) 7%, #fff); }
.chat-nachricht.gast { align-self: flex-end; background: var(--text); color: #fff; white-space: pre-wrap; }
.chat-nachricht.laedt { display: flex; gap: .3rem; padding: .9rem; }
.chat-nachricht.laedt span { width: 6px; height: 6px; border-radius: 50%; background: var(--leise); animation: chat-punkt 1s infinite ease-in-out; }
.chat-nachricht.laedt span:nth-child(2) { animation-delay: .15s; } .chat-nachricht.laedt span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-punkt { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-nachricht.laedt span { animation: none; opacity: .6; } }
.chat-eingabe { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem 1.1rem .4rem; border-top: 1px solid var(--linie); }
.chat-eingabe textarea { flex: 1; resize: none; font: 400 1rem/1.4 var(--schrift); border: 1px solid var(--linie); padding: .6rem .7rem; border-radius: 0; max-height: 140px; }
.chat-eingabe textarea:focus { outline: none; border-color: var(--gruen); }
.chat-eingabe button { border: 0; background: var(--text); color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-eingabe button:hover { background: var(--gruen); }
.chat-hinweis { margin: 0; padding: 0 1.1rem calc(.7rem + env(safe-area-inset-bottom)); font-size: .7rem; color: var(--leise); }
.chat-hinweis a { color: inherit; }
@media (min-width: 760px) {
  .chat-knopf { right: 24px; bottom: 24px; }
  .chat { inset: auto 24px 24px auto; width: 390px; height: min(600px, calc(100vh - 48px)); box-shadow: 0 12px 40px rgba(0,0,0,.18); border: 1px solid var(--linie); }
}
@media (min-width: 900px) { body:has(.buchen-leiste) .chat-knopf { bottom: 24px; } }   /* Buchungsleiste ist dort ausgeblendet */

/* ---- Abschnitte (fertig gestaltete Bausteine) ---- */
.baustein.voll { margin-block: calc(var(--abstand) * 1.5); }
/* Großes Bild mit Text */
.banner { position: relative; display: grid; min-height: 60svh; color: #fff; background: #2b3326; overflow: hidden; }
.banner-niedrig { min-height: 40svh; }
.banner-hoch { min-height: 88svh; }
.banner-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)); }
.banner-text { position: relative; z-index: 1; align-self: center; justify-self: center; text-align: center; max-width: 44rem; padding: 3rem var(--rand); }
.banner-links .banner-text { align-self: end; justify-self: start; text-align: left; }
.banner-text h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); margin: .3rem 0 .8rem; }
.banner-text .gesperrt { color: rgba(255,255,255,.85); }
.banner-text p { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.banner .knopf { margin-top: .8rem; border-color: #fff; background: transparent; color: #fff; }
.banner .knopf:hover { background: #fff; color: var(--text); }
/* Farbband */
.band { text-align: center; padding: 3.5rem var(--rand); }
.band h2 { margin: 0 auto .6rem; max-width: 40rem; }
.band p { margin: 0 auto 1.4rem; max-width: 36rem; }
.band-gruen { background: var(--gruen); color: #fff; }
.band-gruen h2 { color: #fff; }
.band-gruen .knopf { background: #fff; border-color: #fff; color: var(--text); }
.band-gruen .knopf:hover { background: transparent; color: #fff; }
.band-hell { background: var(--hell); }
.band .gesperrt { margin: 0 auto .8rem; }
.band-gruen .gesperrt { color: rgba(255,255,255,.85); }
/* Farbkasten: abgerundet, in Textbreite, linksbündig */
.band-kasten { text-align: left; border-radius: var(--kasten-rund); padding: 2rem 1.6rem; margin-block: 1.5rem; }
.band-kasten h2, .band-kasten p, .band-kasten .gesperrt { margin-inline: 0; max-width: none; }
@media (min-width: 600px) { .band-kasten { padding: 2.4rem 2.4rem; } }
/* Großes Zitat */
.grosses-zitat { margin: 3rem auto; text-align: center; }
.grosses-zitat blockquote { border: 0; padding: 0; font-style: normal; margin: 0; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); line-height: 1.4; font-weight: 300; }
.grosses-zitat blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: 1; color: var(--gruen); }
.grosses-zitat figcaption { margin-top: 1rem; color: var(--leise); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
/* Text in Spalten */
.spalten { display: grid; gap: 2rem; max-width: 68rem; margin: 0 auto; padding-inline: var(--rand); }
/* Bildstreifen */
.bildstreifen { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-inline: .5rem; }
.bildstreifen img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
/* Zahlen & Fakten */
.fakten-reihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 68rem; margin: 0 auto; padding-inline: var(--rand); text-align: center; }
.fakt-zahl { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 300; color: var(--gruen); margin: 0; }
.fakt-titel { margin: .2rem 0 .3rem; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.fakt-text { margin: 0; font-size: .95rem; }
/* Sonderseite: Zeilen mit Spalten */
.zeile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; max-width: 72rem; margin: 0 auto; padding-inline: var(--rand); }
.zeile .bausteine { padding-block: .5rem; overflow: visible; }
.zeile .eng, .zeile .textbild, .zeile .spalten, .zeile .fakten-reihe, .zeile .bild-breit { max-width: none; padding-inline: 0; }
.zeile .kacheln { padding-inline: 0; }
@media (min-width: 760px) {
  .spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .spalten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .bildstreifen { grid-template-columns: repeat(var(--anzahl), minmax(0, 1fr)); }
  .bildstreifen img { aspect-ratio: auto; height: 22rem; }
  .bildstreifen-niedrig img { height: 14rem; }
  .bildstreifen-hoch img { height: 34rem; }
  .fakten-reihe { grid-template-columns: repeat(var(--anzahl), minmax(0, 1fr)); }
  .zeile { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .zeile .spalte { grid-column: span var(--breite); }
  .banner-links .banner-text { padding: 4rem calc(var(--rand) * 2); }
}
