/* ------------------------------------------------------------------
   Birkenhof Apartments, Layout und Bausteine
   Farben und Abstaende kommen aus ci.css.
   ------------------------------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: var(--zeile);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-text); text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  color: var(--taupe-dunkel);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 var(--raum-3);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; margin-bottom: var(--raum-1); }
p { margin: 0 0 var(--raum-2); }
p:last-child { margin-bottom: 0; }

.kicker {
  display: block;
  font-size: var(--kicker);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gruen-text);
  font-weight: 700;
  margin-bottom: var(--raum-2);
}
.kicker--hell { color: #eef3d9; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }

.wrap { width: min(100% - 2.5rem, var(--spalte)); margin-inline: auto; }
.abschnitt { padding: var(--luft) 0; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--sand { background: var(--sand-warm); }
.abschnitt--gruen { background: var(--gruen-hauch); }
.mitte { text-align: center; }
.fliesstext { max-width: 60ch; font-size: 1.1rem; }
.mitte .fliesstext { margin-inline: auto; }
.kopfzeile { max-width: 48ch; margin-bottom: var(--raum-5); }
/* Auf der Buchungsseite steht der Kopf ueber dem breiten Modul. Eine schmale
   Spalte wirkt dort verloren, deshalb laeuft der Text hier in zwei Spalten. */
.kopfzeile--breit { max-width: none; margin-bottom: var(--raum-5); }
.kopfzeile--breit:last-child { margin-bottom: 0; }
.kopfzeile--breit .raster { margin-top: var(--raum-3); }
.mitte.kopfzeile { margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--taupe-dunkel);
  color: #fff; padding: 0.75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- Kopfzeile ---------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--raum-3); padding: var(--raum-2) 0;
}
.kopf__logo img { width: 200px; }
.nav { display: flex; align-items: center; gap: var(--raum-4); }
.nav a {
  color: var(--taupe-dunkel); text-decoration: none; font-weight: 600;
  font-size: 0.98rem; padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--gruen); }
.nav a[aria-current="page"] { border-bottom-color: var(--gruen); color: var(--gruen-text); }
.nav .btn {
  border-bottom: 0; background: var(--taupe-dunkel); color: #fff;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.6rem 1.25rem; box-shadow: none;
}
.nav .btn:hover { background: var(--gruen); color: #23290a; transform: none; }
.nav__schalter { display: none; }

/* --- Schaltflaechen ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--gruen); color: #23290a; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 0.85rem 1.75rem;
  border: 0; border-radius: var(--radius-pill); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(161, 184, 28, 0.28);
}
.btn:hover { background: var(--gruen-dunkel); color: #fff; transform: translateY(-2px); }
.btn--rand {
  background: transparent; color: var(--taupe-dunkel); box-shadow: inset 0 0 0 2px var(--linie);
}
.btn--rand:hover { background: var(--taupe-dunkel); color: #fff; box-shadow: none; }
.btn--hell { background: rgba(255, 255, 255, 0.95); color: var(--taupe-dunkel); box-shadow: none; }
.btn--hell:hover { background: #fff; color: var(--gruen-text); }
.btn--breit { width: 100%; }

/* --- Hero ---------------------------------------------------------- */
.hero { position: relative; background: var(--taupe-dunkel); color: #fff; isolation: isolate; }
.hero__bild {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(40, 33, 35, 0.86) 0%, rgba(40, 33, 35, 0.66) 46%,
              rgba(40, 33, 35, 0.34) 72%, rgba(40, 33, 35, 0.10) 100%);
}
.hero__innen { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.75rem, 6vw, 5rem); max-width: 54rem; }
/* Die Zeile mit dem Ort traegt die Groesse, der Zusatz steht ruhiger darunter.
   Beides bleibt in der h1, damit die Suchmaschine den ganzen Satz liest. */
.hero h1 { color: #fff; margin-bottom: var(--raum-3); line-height: 1.06; }
.hero__ort { display: block; }
.hero__zusatz {
  display: block; margin-top: var(--raum-3);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem); font-weight: 500;
  letter-spacing: 0; color: #e8eecf;
}
.hero p { font-size: 1.2rem; color: #f3efe9; max-width: 44rem; text-wrap: pretty; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: var(--raum-2); margin-top: var(--raum-4); }

/* Band mit den wichtigsten Angaben, sitzt unter dem Hero */
.band {
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten);
  margin-top: calc(var(--raum-5) * -1); position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: var(--raum-4); gap: var(--raum-3);
}
.band div { text-align: center; }
.band strong { display: block; font-size: 1.3rem; color: var(--taupe-dunkel); line-height: 1.25; }
.band span { font-size: 0.9rem; color: var(--text-leise); }

/* --- Raster und Karten --------------------------------------------- */
.raster { display: grid; gap: var(--raum-4); }
.raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.karte {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-stark); }
.karte__bild { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte__innen { padding: var(--raum-3) var(--raum-3) var(--raum-4); display: flex; flex-direction: column; flex: 1; }
.karte__innen h3 a { color: inherit; text-decoration: none; }
.karte__innen h3 a:hover { color: var(--gruen-text); }
.karte__fakten {
  list-style: none; margin: 0 0 var(--raum-2); padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  font-size: 0.85rem; color: var(--gruen-text);
}
.karte__fakten li {
  background: var(--gruen-hauch); border-radius: var(--radius-pill); padding: 0.2rem 0.75rem;
}
.karte__text { font-size: 0.98rem; color: var(--text-leise); }
.karte__preis {
  margin-top: auto; padding-top: var(--raum-3); font-weight: 700; font-size: 1.1rem;
  color: var(--taupe-dunkel);
}
.karte__preis span { font-size: 0.85rem; font-weight: 500; color: var(--text-leise); }
.karte__aktion { margin-top: var(--raum-2); }

.vorteil { background: #fff; border-radius: var(--radius); padding: var(--raum-4); box-shadow: var(--schatten); }
.vorteil h3 { font-size: 1.1rem; }
.vorteil p { font-size: 0.98rem; color: var(--text-leise); }
.vorteil__zeichen {
  width: 3rem; height: 3rem; border-radius: var(--blattradius);
  background: var(--gruen-hauch); color: var(--gruen-text);
  display: grid; place-items: center; font-size: 1.45rem; margin-bottom: var(--raum-2);
}

/* --- Bild und Text nebeneinander ----------------------------------- */
.duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.duo--gedreht .duo__text { order: 2; }
.duo__bild { border-radius: var(--blattradius); overflow: hidden; box-shadow: var(--schatten); }
.duo__bild img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* --- Galerie -------------------------------------------------------- */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--raum-2); }
.galerie figure { margin: 0; }
.galerie img {
  aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius-klein);
}

/* --- Fotos, die nicht vom Haus stammen ------------------------------- */
/* Jedes traegt seinen Nachweis mit, das verlangt das Urheberrecht und es
   ist die Bedingung, unter der die Tourist-Info die Bilder gibt. */
.fremdbild { margin: 0; }
.fremdbild img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-klein); box-shadow: var(--schatten);
}
.fremdbild figcaption {
  margin-top: 0.5rem; font-size: 0.86rem; line-height: 1.45; color: var(--text-leise);
}
/* Der Nachweis gehoert dazu, soll aber die Beschreibung nicht ueberlagern. */
.fremdbild__quelle { display: block; margin-top: 0.15rem; font-size: 0.76rem; opacity: 0.8; }
/* Im Dreierfeld bekommen alle dasselbe Mass, sonst steht die Reihe krumm. */
.galerie .fremdbild img { aspect-ratio: 3 / 2; object-fit: cover; }
/* Breiter Streifen ueber die ganze Spalte. */
.fremdbild--breit img { aspect-ratio: 21 / 9; object-fit: cover; }

/* --- Zeitraum-Kalender ----------------------------------------------
   Ein Feld statt zweier Datumsfelder. Das Fenster bleibt offen, bis
   Anreise und Abreise stehen; dazwischen faerbt sich die Strecke mit. */
/* Das Feld traegt den ganzen Zeitraum als Text. Es braucht deshalb mehr
   Platz als ein Datumsfeld, und umbrechen darf es nie: zwei Zeilen wuerden
   das Formular auseinanderziehen. */
.suche--kalender { grid-template-columns: minmax(19rem, 2.2fr) minmax(8rem, 1fr) auto; }
.zeitfeld { position: relative; }
/* Der Hero bildet durch "isolation" einen eigenen Stapel; das Zahlenband
   darunter laege sonst ueber dem geoeffneten Kalender. Solange er offen
   ist, kommt der Hero nach vorn. */
.hero--kalender { z-index: 50; }
.zeitfeld__titel {
  display: block; font-size: 0.8rem; font-weight: 700;
  color: var(--taupe-dunkel); margin-bottom: 0.3rem;
}
.zeitfeld__knopf {
  width: 100%; min-height: 2.85rem; text-align: left; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem;
  border: 1px solid var(--linie); border-radius: var(--radius-klein);
  background: var(--sand); color: var(--text);
}
.zeitfeld__knopf--leer { color: var(--text-leise); }
.zeitfeld__knopf:focus-visible { outline: 3px solid var(--gruen); outline-offset: 1px; }

.kalender {
  position: absolute; z-index: 40; top: calc(100% + 0.5rem); left: 0;
  width: min(92vw, 40rem); padding: var(--raum-3);
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius-klein); box-shadow: var(--schatten-stark);
  color: var(--text); text-align: left;
}
.kalender[hidden] { display: none; }
/* Nach oben aufgeklappt, wenn unten kein Platz mehr ist. */
.kalender--oben { top: auto; bottom: calc(100% + 0.5rem); }
.kalender__kopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--raum-2); margin-bottom: var(--raum-2);
}
/* Der Titel im Kopf ist fuer Vorleseprogramme da; sichtbar stehen die
   Monatsnamen ueber den Gittern. */
.kalender__titel {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.kalender__pfeil {
  width: 2.25rem; height: 2.25rem; font-size: 1.3rem; line-height: 1; cursor: pointer;
  background: var(--sand); color: var(--taupe-dunkel);
  border: 1px solid var(--linie); border-radius: var(--radius-pill);
}
.kalender__pfeil:hover:not(:disabled) { background: var(--gruen-hauch); }
.kalender__pfeil:disabled { opacity: 0.35; cursor: default; }
.kalender__monate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--raum-3); }
.kalender__monatsname {
  margin: 0 0 0.5rem; text-align: center; font-size: 0.88rem; font-weight: 700;
  color: var(--taupe-dunkel);
}
.kalender__gitter { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.kalender__wochentag {
  text-align: center; font-size: 0.7rem; color: var(--text-leise); padding-bottom: 0.3rem;
}
.kalender__tag {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font: inherit; font-size: 0.92rem; cursor: pointer;
  background: none; border: 0; border-radius: var(--radius-klein);
  color: var(--text);
}
.kalender__tag:hover:not(:disabled) { background: var(--gruen-hauch); }
.kalender__tag--drin { background: var(--gruen-hauch); border-radius: 0; }
.kalender__tag--start, .kalender__tag--ende {
  background: var(--gruen); color: var(--weiss); font-weight: 700;
}
.kalender__tag--start { border-radius: var(--radius-klein) 0 0 var(--radius-klein); }
.kalender__tag--ende { border-radius: 0 var(--radius-klein) var(--radius-klein) 0; }
.kalender__tag--aus { color: var(--taupe); opacity: 0.45; cursor: default; }
/* Kuerzer als der uebliche Mindestaufenthalt: waehlbar, aber gekennzeichnet.
   Gesperrt wird nur, was wirklich unmoeglich ist. */
.kalender__tag--knapp { color: var(--text-leise); }
.kalender__tag--knapp::after {
  content: ""; position: absolute; bottom: 0.3rem; width: 4px; height: 4px;
  border-radius: 50%; background: var(--taupe);
}
.kalender__tag { position: relative; }
.kalender__tag:focus-visible { outline: 3px solid var(--gruen-text); outline-offset: -2px; }
.kalender__fuss { margin: var(--raum-2) 0 0; font-size: 0.8rem; color: var(--text-leise); }

@media (max-width: 699px) {
  /* Am Feld ausgerichtet ragt das Fenster rechts aus dem Bildschirm. Auf
     dem Telefon steht es deshalb mittig ueber dem Feld. */
  .kalender {
    width: auto; max-width: calc(100vw - 2rem);
    left: 50%; transform: translateX(-50%);
    padding: var(--raum-2);
  }
  .kalender__monate { grid-template-columns: 1fr; }
}

/* --- Listen --------------------------------------------------------- */
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.liste--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem var(--raum-4); }
.liste li { padding-left: 1.75rem; position: relative; font-size: 0.99rem; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 0.75rem; height: 0.75rem; border-radius: 0 0.75rem 0 0.75rem; background: var(--gruen);
}

/* --- Gaestestimmen --------------------------------------------------- */
.note {
  display: flex; align-items: center; gap: var(--raum-3);
  background: #fff; border-radius: var(--radius); padding: var(--raum-4);
  box-shadow: var(--schatten);
}
.note__zahl { font-size: 3.2rem; font-weight: 700; color: var(--gruen-text); line-height: 1; }
.note__text { font-size: 0.95rem; color: var(--text-leise); }
.stimme {
  background: #fff; border-radius: var(--radius); padding: var(--raum-4);
  box-shadow: var(--schatten); display: flex; flex-direction: column;
}
.stimme blockquote { margin: 0 0 var(--raum-3); font-size: 1.05rem; color: var(--text); }
.stimme cite { margin-top: auto; font-style: normal; font-size: 0.88rem; color: var(--text-leise); }

/* --- Suchformular, uebergibt die Reisedaten an das Buchungsmodul -------- */
.suche {
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten-stark);
  padding: var(--raum-3); display: grid; gap: var(--raum-2);
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end;
}
.suche--flach { box-shadow: var(--schatten); }
.suche label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--taupe-dunkel); margin-bottom: 0.3rem; }
.suche input,
.suche select {
  /* 1rem ist Absicht und darf nicht kleiner werden: iPhones zoomen beim
     Antippen in jedes Feld unter 16 Pixel hinein und zoomen nicht zurueck.
     Die Seite steht danach rechts ueber den Rand hinaus. */
  width: 100%; max-width: 100%; min-width: 0;
  padding: 0.7rem 0.85rem; font: inherit; font-size: 1rem;
  border: 1px solid var(--linie); border-radius: var(--radius-klein);
  background: var(--sand); color: var(--text);
}
/* Datumsfelder bringen auf iOS ihr eigenes Mass mit und halten sich nicht an
   die Breite der Spalte. Das Zuruecksetzen der Systemdarstellung behebt das;
   der Kalenderknopf von Chrome bleibt erhalten. */
.suche input[type="date"] {
  -webkit-appearance: none; appearance: none;
  height: 2.85rem; line-height: 1.25;
  display: block; text-align: left;
}
.suche input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.suche input[type="date"]::-webkit-calendar-picker-indicator { margin-inline-start: auto; }
.suche input:focus, .suche select:focus { outline: 3px solid var(--gruen); outline-offset: 1px; }
/* Die zwei Regeln nennen .suche mit, sonst gewinnt .hero p ueber der Karte
   und faerbt Hinweis und Ueberschrift cremeweiss auf weissem Grund. */
.suche .suche__hinweis {
  grid-column: 1 / -1; margin: 0; font-size: 0.82rem; color: var(--text-leise);
}
/* Der gewaehlte Zeitraum im Klartext, erscheint erst mit beiden Daten. */
.suche .suche__zeitraum {
  grid-column: 1 / -1; margin: 0; font-size: 0.92rem; font-weight: 600;
  color: var(--gruen-text);
}
.suche .suche__zeitraum[hidden] { display: none; }
.suche .suche__titel {
  grid-column: 1 / -1; margin: 0; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gruen-text);
}
.hero .suche { margin-top: var(--raum-4); }

/* --- Buchungsmodul ---------------------------------------------------- */
.modul {
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten);
  padding: var(--raum-2); scroll-margin-top: 5.5rem;
}
/* Kein overflow:hidden. Der Rahmen des Buchungssystems hat seine eigenen
   runden Ecken, und das Kalenderfenster muss aus dem Kasten herausragen
   duerfen, sonst wird es abgeschnitten. */
/* Fester Rahmen mit eigenem Rollbereich. Das Modul meldet seine Hoehe nicht,
   deshalb springt die Seite sonst, sobald der Inhalt im Rahmen kuerzer wird. */
.modul iframe {
  width: 100%; height: min(86vh, 1400px); min-height: 520px;
  border: 0; border-radius: var(--radius-klein);
}
.modul__platzhalter {
  display: grid; gap: var(--raum-3); place-items: center; text-align: center;
  padding: clamp(2.25rem, 5vw, 3.5rem) var(--raum-3);
  background: var(--gruen-hauch); border-radius: var(--radius-klein);
}
.modul__platzhalter p { max-width: 48ch; color: var(--text-leise); font-size: 0.97rem; }
.modul__platzhalter p.modul__hinweis { margin: 0; font-size: 0.86rem; }
/* Auf der Buchungsseite stehen die Reisefelder im Kasten. Sie brauchen die
   volle Breite und ihre eigene Ausrichtung, sonst zentriert der Kasten auch
   die Beschriftungen ueber den Feldern. */
.modul__platzhalter--formular { padding: clamp(2.2rem, 6vw, 3.5rem) var(--raum-3); }
.modul__platzhalter .suche { width: 100%; max-width: 46rem; text-align: left; }
/* Die Schaltflaeche traegt hier einen langen Text. Neben den Feldern bliebe
   fuer die Datumsangaben zu wenig Platz, deshalb bekommt sie eine eigene
   Zeile ueber die volle Breite. Nur am breiten Bildschirm: schmaler teilen
   die beiden Haltepunkte weiter unten die Felder ohnehin schon auf.      */
@media (min-width: 1001px) {
  .modul__platzhalter .suche { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modul__platzhalter .suche .btn { grid-column: 1 / -1; }
  /* Mit dem Zeitraum-Feld sind es nur noch zwei Spalten, und die erste
     braucht die Breite fuer den Text. */
  .modul__platzhalter .suche--kalender {
    grid-template-columns: minmax(19rem, 2fr) minmax(8rem, 1fr);
  }
}
.modul__auswahl[hidden] { display: none; }
.modul__platzhalter p.modul__auswahl {
  color: var(--text); font-size: 1.02rem; font-weight: 600;
  background: #fff; border: 1px solid var(--gruen-rand);
  border-radius: var(--radius-pill); padding: 0.55rem 1.2rem;
}

/* --- Brotkrumen, der Pfad ueber der Seite ------------------------------ */
.krumen { background: var(--sand-warm); border-bottom: 1px solid var(--linie); }
.krumen ol {
  list-style: none; margin: 0; padding: 0.7rem 0; display: flex; flex-wrap: wrap;
  gap: 0.2rem 0.55rem; font-size: 0.84rem; color: var(--text-leise);
}
.krumen li { display: flex; align-items: center; gap: 0.55rem; }
.krumen li + li::before { content: "›"; color: var(--taupe); }
.krumen a { color: var(--text-leise); }
.krumen a:hover { color: var(--gruen-text); }
.krumen [aria-current] { color: var(--taupe-dunkel); font-weight: 600; }

/* --- Zweite Zeile unter einer Ueberschrift ----------------------------- */
.zusatzzeile {
  display: block; margin-top: var(--raum-2);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500;
  letter-spacing: 0; color: var(--text-leise);
}
.zusatzzeile::before {
  content: ""; display: block; width: 3rem; height: 3px; border-radius: 2px;
  background: var(--gruen); margin-bottom: var(--raum-2);
}

/* --- Preistabelle ------------------------------------------------------ */
.preise { margin-top: var(--raum-4); overflow-x: auto; }
.preise table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden;
  font-size: 0.97rem;
}
.preise caption {
  caption-side: bottom; text-align: left; padding-top: var(--raum-2);
  font-size: 0.84rem; color: var(--text-leise);
}
.preise th, .preise td {
  padding: 0.85rem var(--raum-2); text-align: left; border-bottom: 1px solid var(--linie);
  white-space: nowrap;
}
.preise thead th {
  background: var(--gruen-hauch); color: var(--taupe-dunkel);
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.preise tbody tr:last-child th, .preise tbody tr:last-child td { border-bottom: 0; }
.preise tbody th { font-weight: 700; }
.preise__preis { font-weight: 700; color: var(--taupe-dunkel); }
/* Tabellen mit Fliesstext statt Zahlen: hier darf die Zelle umbrechen,
   sonst schiebt eine lange Streckenangabe die Tabelle aus dem Bild. */
.preise--text td { white-space: normal; }

/* --- Hinweis ---------------------------------------------------------- */
.hinweis {
  background: var(--gruen-hauch); border-radius: var(--radius-klein);
  padding: var(--raum-3) var(--raum-4); font-size: 0.99rem;
  border: 1px solid var(--gruen-rand);
}

/* --- Abschluss mit Handlungsaufruf ------------------------------------- */
.aufruf { text-align: center; }
.aufruf h2 { margin-bottom: var(--raum-2); text-wrap: balance; }
.aufruf .fliesstext { margin-inline: auto; text-wrap: pretty; }
.aufruf .btn { margin-top: var(--raum-3); }

/* --- Fusszeile --------------------------------------------------------- */
.fuss { background: var(--taupe-dunkel); color: #ded7d9; padding: calc(var(--luft) * 0.8) 0 var(--raum-4); }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--raum-5); }
.fuss h3 { color: #fff; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.fuss__logo { width: 200px; margin-bottom: var(--raum-3); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.96rem; }
.fuss__unten {
  margin-top: var(--raum-5); padding-top: var(--raum-3);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-wrap: wrap; gap: var(--raum-2) var(--raum-4);
  justify-content: space-between; font-size: 0.87rem;
}

/* --- E-Mail-Adressen ----------------------------------------------------
   Die Adresse steht nirgends am Stueck im Quelltext, sondern in zwei
   Attributen. Hier wird sie fuer das Auge zusammengesetzt, auch ohne
   JavaScript. Sobald js/site.js gelaufen ist, steht sie als echter Text im
   Verweis, damit man sie markieren und kopieren kann. */
a.mail::after { content: attr(data-u) "\0040" attr(data-d); }
a.mail--fertig::after { content: none; }

/* --- Rechtstexte -------------------------------------------------------- */
.rechtstext { max-width: 70ch; }
.rechtstext h2 { font-size: 1.45rem; margin-top: var(--raum-5); }
.rechtstext h3 { font-size: 1.08rem; margin-top: var(--raum-4); }
/* Die Texte aus eRecht24 gehen bis zur vierten Ebene. */
.rechtstext h4 { font-size: 1rem; margin-top: var(--raum-3); color: var(--taupe-dunkel); }
.rechtstext p, .rechtstext li { font-size: 0.99rem; }
.rechtstext ul { margin: var(--raum-2) 0 var(--raum-2) 1.2rem; }
.rechtstext a { word-break: break-word; }
.rechtstext mark { background: var(--gruen-hauch); padding: 0.1em 0.3em; border-radius: 4px; }

/* --- Sanftes Einblenden -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }

/* --- Schmalere Bildschirme ------------------------------------------------ */
@media (max-width: 1000px) {
  .suche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suche .btn { grid-column: 1 / -1; }
  .raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: repeat(2, 1fr); gap: var(--raum-4); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__schalter {
    display: inline-flex; align-items: center; gap: 0.5rem; background: none;
    border: 1px solid var(--linie); border-radius: var(--radius-pill);
    padding: 0.55rem 1rem; font: inherit; font-weight: 600; cursor: pointer;
    color: var(--taupe-dunkel);
  }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--weiss); border-bottom: 1px solid var(--linie);
    padding: var(--raum-1) 1.25rem var(--raum-3); box-shadow: var(--schatten);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--linie); }
  .nav .btn { margin-top: var(--raum-3); padding: 0.8rem 1.25rem; font-size: 1rem; }
  .raster--2, .raster--3, .raster--4, .duo, .galerie, .liste--2, .band { grid-template-columns: 1fr; }
  /* Untereinander braucht das Band weniger Luft, sonst sind vier Zahlen
     ein halber Bildschirm. */
  .band { margin-top: calc(var(--raum-4) * -1); gap: var(--raum-2); padding: var(--raum-3); }
  .duo--gedreht .duo__text { order: 0; }
  .fuss__raster { grid-template-columns: 1fr; }
  .note { flex-direction: column; text-align: center; }
  .modul iframe { height: min(88vh, 1200px); }
  .suche { grid-template-columns: 1fr; }
  .suche .btn { width: 100%; }
}

/* --- Cookie-Einwilligung (CCM19) ----------------------------------------
   Das Banner wird von CCM19 in die Seite geschrieben, nicht in einen Rahmen.
   Deshalb laesst es sich hier an das Erscheinungsbild anpassen. Beide
   Schaltflaechen sehen absichtlich gleich aus: Zustimmen und Ablehnen
   muessen gleich leicht zu finden sein. */
#ccm-widget.ccm-modal { font-family: var(--schrift); color: var(--text); }
/* Oben steht bewusst kein farbiger Balken. Das Feld hebt sich durch Schatten
   und eine Haarlinie vom Inhalt ab, die Hausfarbe kommt ueber Schaltflaechen
   und Verweise. */
#ccm-widget .ccm-modal-inner {
  background: var(--weiss);
  border-top: 1px solid var(--linie);
  box-shadow: 0 -18px 48px rgba(59, 50, 53, 0.18);
  padding-block: var(--raum-3);
}
/* CCM19 liefert Rumpf und Fuss in einem blassen Blau aus seiner Vorlage.
   Das passt nicht zu den warmen Toenen des Hauses. */
#ccm-widget .ccm-modal--body { background: var(--weiss); }
#ccm-widget .ccm-modal--footer {
  background: var(--sand);
  border-top: 1px solid var(--linie);
}
#ccm-widget .ccm-widget--text {
  color: var(--text); line-height: var(--zeile); max-width: 68ch;
}
#ccm-widget .ccm-widget--text h1,
#ccm-widget .ccm-widget--text h2,
#ccm-widget .ccm-widget--text h3 { color: var(--taupe-dunkel); }
#ccm-widget a { color: var(--gruen-text); }
#ccm-widget button.ccm--save-settings,
#ccm-widget button.ccm--decline-cookies,
#ccm-widget .ccm-widget--buttons button {
  background: var(--taupe-dunkel);
  color: var(--weiss);
  border: 2px solid var(--taupe-dunkel);
  border-radius: var(--radius-pill);
  font-family: var(--schrift);
  font-weight: 600;
  padding: 0.7rem 1.7rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
#ccm-widget button.ccm--save-settings:hover,
#ccm-widget button.ccm--decline-cookies:hover,
#ccm-widget .ccm-widget--buttons button:hover {
  background: var(--gruen);
  border-color: var(--gruen);
  color: var(--taupe-dunkel);
}
#ccm-widget button.ccm--small { padding: 0.4rem 1rem; font-size: 0.9rem; }
/* Der runde Knopf unten links liegt auf dem Handy mitten im Suchfeld. Das
   Banner laesst sich ueber "Cookie-Einstellungen" in der Fusszeile jederzeit
   wieder oeffnen, deshalb braucht es ihn nicht. */
.ccm-settings-summoner { display: none !important; }
#ccm-widget .ccm-powered-by { opacity: 0.55; font-size: 0.8rem; }
#ccm-widget .ccm-link-container a { font-size: 0.9rem; }
