/* ==========================================================================
   Haus am Mühlfeld – style.css
   Mobile-first. Keine externen Ressourcen. Einzige Webfont: Hurricane (SIL OFL), lokal.
   ========================================================================== */

/* ---------- 0. Lokale Schrift für den handschriftlichen Leitspruch ---------- */
@font-face {
  font-family: "Hurricane";
  /* Eigene Datei statt Data-URI: kleineres, schneller ladendes CSS, Schrift separat im Browser-Cache.
     index.html und en/index.html laden sie per <link rel="preload"> vor (kein sichtbarer Schriftwechsel).
     Lizenz: ../fonts/Hurricane-OFL.txt (SIL OFL 1.1) – beim Hochladen mit übertragen.
     Hinweis: Beim direkten Öffnen über file:// lädt der Browser die Schrift nicht (Ersatzschrift). */
  src: url("../fonts/hurricane-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Design-Tokens ---------- */
:root {
  /*
   * FARBEN – verbindliche helle CI-Variante
   * #B1C890 (RGB 177/200/144) Hauptfarbe · #CEDDB9 (RGB 206/221/185) zweite CI-Farbe.
   * Auf CI-Flächen nur dunkle Schrift: #22351F auf #B1C890 = 7,2:1, auf #CEDDB9 = 9,2:1.
   * Akzent #4A6B30 auf Creme = 5,8:1. Weiße Schrift auf den CI-Farben wird nicht verwendet.
   */
  --c-ci:            #b1c890;
  --c-ci-2:          #ceddb9;
  --c-heading:       #2b3f24;   /* Überschriften (10,8:1 auf Creme) */
  --c-ink:           #2b2d2b;   /* Fließtext */
  --c-muted:         #5d625c;   /* Sekundärtext (≥ 5:1 auf Creme und hellen Grünflächen) */
  --c-accent:        #4a6b30;   /* Links, Eyebrows, Icons, Fokus auf hellem Grund */
  --c-cream:         #faf8f3;
  --c-white:         #ffffff;
  --c-line:          #dcdfd6;
  --c-hero-shade:    20 40 22;  /* RGB der Hero-Abdunklung */

  --c-brand:         var(--c-ci);
  --c-brand-hover:   #a1ba7c;
  --c-brand-border:  #93ad6d;
  --c-on-brand:      #22351f;
  --c-tint:          #eef3e7;   /* #B1C890 zu 22 % auf Weiß */
  --c-hl-bg:         var(--c-ci);
  --c-hl-title:      #22351f;
  --c-hl-text:       #3c4c35;   /* 5,1:1 auf #B1C890 */
  --c-hl-icon:       #22351f;
  --c-band:          var(--c-ci);
  --c-on-band:       #22351f;
  --c-on-band-muted: #3c4c35;
  --c-band-line:     rgb(34 53 31 / 0.22);
  --c-band-focus:    #22351f;
  --c-footer:        var(--c-tint);   /* hell, damit das Logo unverändert auch im Footer steht */

  /* Typografie – Systemschriften; nur der Leitspruch nutzt die lokale Webfont */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Hurricane", "Snell Roundhand", cursive;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.1rem, 1rem + 0.35vw, 1.25rem);
  --fs-h3: 1.2rem;
  --fs-h2: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem);
  --fs-h1: clamp(2.4rem, 1.7rem + 3vw, 4rem);
  /*
   * Typografie-Hierarchie:
   * h1 Hero > h2 Abschnitt (Serif) > Bezeichnung (Eyebrow / Zwischenüberschrift, Versalien, fett, Akzentgrün)
   * > Gruppentitel (fett, normale Schreibung) > Fließtext. h1 und h2 bleiben unverändert.
   */
  --fs-label: 0.875rem;   /* Eyebrows und Zwischenüberschriften */

  /* Abstände & Layout */
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);   /* Übergang zwischen zwei Abschnitten = 2 × dieser Wert */
  --space-block: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);     /* Unterbereiche innerhalb eines Abschnitts */

  /* Hinweisfläche Anfrageformular: helles Graublau, auf das Grün abgestimmt (Text 11:1 auf der Fläche) */
  --c-info-bg:   #eaf0f3;
  --c-info-line: #8aa3b2;
  --c-info-ink:  #30373a;
  --radius: 4px;
  --header-h: 4.75rem;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px rgb(31 61 34 / 0.06);
}

/* ---------- 2. Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-cream);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.45em;
  color: var(--c-heading);
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 0.85em; }

a { color: var(--c-accent); text-underline-offset: 0.2em; }
a:hover { color: var(--c-heading); }

img { max-width: 100%; height: auto; display: block; }

/* :where() = Spezifität 0, damit Klassenregeln (Abstände von Listen-Komponenten) immer greifen */
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }

/* Fokus: auf hellem Grund Akzentgrün (5,8:1), auf dunklem Grund/Foto Weiß */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--c-heading);
  color: var(--c-white);
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--c-white); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.75rem;            /* Touch-Ziel ≥ 44px */
  padding: 0.55rem 1.15rem;
  font: 600 0.95rem/1.2 var(--font-sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--large { padding: 0.7rem 1.35rem; font-size: 0.98rem; }

.btn--primary {
  background: var(--c-brand);
  border-color: var(--c-brand-border);
  color: var(--c-on-brand);
}
.btn--primary:hover { background: var(--c-brand-hover); border-color: var(--c-brand-hover); color: var(--c-on-brand); }

/* Heller Button mit feiner dunkelgrüner Umrandung (Buchungsanfrage öffnen): #22351F auf Creme 12:1 */
.btn--light { background: var(--c-cream); border-color: #22351f; color: #22351f; cursor: pointer; }
.btn--light:hover { background: var(--c-ci-2); border-color: #22351f; color: #22351f; }

/* Dunkler Button auf der CI-Fläche (Route planen): Weiß auf #22351F 13:1 */
.btn--dark { background: #22351f; border-color: #22351f; color: var(--c-white); }
.btn--dark:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }
.btn__icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.btn--ghost-light { border-color: rgb(255 255 255 / 0.9); color: var(--c-white); }
.btn--ghost-light:hover { background: var(--c-white); color: var(--c-heading); }

/* Hero: Hauptaktion mit weißer Umrandung – bleibt durch die Füllung klar vom „Mehr erfahren“-Button unterscheidbar */
.btn--hero,
.btn--hero:hover {
  border: 2px solid var(--c-white);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.18);
}
/* Fokus auf dem Foto: weißer Ring mit dunklem Außenrand – auf hellen wie dunklen Bildstellen sichtbar */
.hero .btn:focus-visible {
  outline: 3px solid var(--c-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px rgb(var(--c-hero-shade) / 0.9);
}

/* ---------- 5. Logo (als SVG-Datei – Header und Footer identisch) ---------- */
.logo {
  display: inline-flex;
  flex-shrink: 0;
  min-width: 0;
  border-radius: var(--radius);
}
.logo__img { width: auto; height: 3rem; }   /* 187 × 48 px */

/* ---------- 6. Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 248 243 / 0.96);
  border-bottom: 1px solid var(--c-line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(250 248 243 / 0.88); backdrop-filter: blur(8px); }
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.site-header .logo { margin-right: auto; }

/*
 * Reihenfolge klein: Logo – Sprachwahl DE | EN – Menü-Button – (aufklappbares Menü inkl. „Zimmer anfragen“)
 * ab 40em zusätzlich: Header-Button „Zimmer anfragen“ zwischen Sprachwahl und Menü-Button
 * ab 72em: Navigation in einer Zeile, dahinter Sprachwahl und „Zimmer anfragen“, kein Menü-Button (darunter reicht
 *   der Platz für Menü, Sprachwahl und „Zimmer anfragen“/„Enquire About a Room“ nicht ohne Umbruch – gemessen DE/EN,
 *   Systemschriften)
 * Die Sprachwahl steht im HTML hinter <nav> (Tab-Reihenfolge am Desktop wie sichtbar), mobil per order davor.
 */
.lang-switch { order: 1; }
.site-header__cta { display: none; order: 2; }
.nav-toggle { order: 3; }
.site-nav { order: 4; flex-basis: 100%; }

.nav-toggle {
  display: none;              /* nur mit JavaScript sichtbar */
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--c-heading);
}
.js .nav-toggle { display: inline-grid; place-items: center; }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.25rem; height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.is-open .nav-toggle__bars { background: transparent; }
.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobil: Menü mit JS eingeklappt; ohne JS immer sichtbar */
.js .site-nav { display: none; }
.js .is-open .site-nav { display: block; }

.site-nav { padding-bottom: 1rem; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block;
  padding: 0.7rem 0;
  font-size: 1.05rem;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.site-nav__list a:hover { color: var(--c-accent); }
.site-nav__cta { width: 100%; margin-top: 0.75rem; }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
}
/* Aktive Sprache dunkelgrün, halbfett, feiner Unterstrich; andere Sprache zurückhaltend (alle Breiten) */
.lang-switch a {
  display: inline-block;
  padding: 0.5rem 0.6rem;
  color: var(--c-muted);
  font-weight: 500;
  text-decoration: none;
}
.lang-switch a:hover { color: var(--c-heading); }
.lang-switch a[aria-current] {
  color: var(--c-heading);
  font-weight: 600;
  text-decoration: underline 2px var(--c-accent);
  text-underline-offset: 0.45em;
}
.lang-switch li + li { border-left: 1px solid var(--c-line); }

/* Mobil und Tablet: Sprachwahl im Header neben dem Menü-Button – Touch-Flächen 44 px hoch,
   kurzer Trennstrich statt Linie über die volle Höhe */
@media not all and (min-width: 72em) {
  .lang-switch { gap: 0; margin: 0; }
  .lang-switch li { display: flex; align-items: center; }
  .lang-switch li + li { border-left: 0; }
  .lang-switch li + li::before { content: ""; width: 1px; height: 1rem; background: var(--c-line); }
  .lang-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.5rem;
  }
}

/* Logo im Header (ham-logo.svg, Seitenverhältnis 7000 : 1800 = 3,889)
 * Größe: höchstens 4,75rem = 296 × 76 px; der Header wächst
 * dann um 0,5rem auf 5,25rem. Wo der Platz nicht reicht, nur so weit verkleinern, dass alles in einer Zeile bleibt
 * (gemessen mit den längeren EN-Texten, WebKit):
 * - mobil: 9,1rem = 2 × 0,75rem Abstand + Sprachwahl 75 px + Menü-Button 44 px + 2 px Reserve
 * - 40–72em: 23,25rem = 3 × 0,75rem Abstand + Sprachwahl 75 px + „Enquire About a Room“ 200 px + Menü-Button 44 px
 *   + 17 px Reserve (Scrollleiste)
 * - ab 72em: 52,5rem = Navigation 427 px + 3 × 2rem Abstand + Sprachwahl 77 px + Header-Button 200 px + 23 px Reserve
 */
.site-header .logo__img--final { height: 4.75rem; margin-block: 0.25rem; }
html:has(.site-header .logo__img--final) { scroll-padding-top: calc(var(--header-h) + 0.5rem); }   /* höherer Header */
@media not all and (min-width: 40em) {
  .site-header .logo__img--final { height: min(4.75rem, (100vw - 2 * var(--gutter) - 9.1rem) / 3.889); }
}
@media (min-width: 40em) {
  .site-header .logo__img--final { height: min(4.75rem, (100vw - 2 * var(--gutter) - 23.25rem) / 3.889); }
}
@media (min-width: 72em) {
  .site-header .logo__img--final { height: min(4.75rem, (min(100vw, var(--container)) - 2 * var(--gutter) - 52.5rem) / 3.889); }
}

@media (max-width: 23em) {
  .site-header__inner { gap: 0.5rem; }
}

@media (min-width: 40em) {
  .site-header__cta { display: inline-flex; }
  .site-nav__cta { display: none; }
}

/* Desktop-Navigation */
@media (min-width: 72em) {
  .site-header__inner { flex-wrap: nowrap; gap: 2rem; }
  .site-header .logo { margin-right: 0; }
  .js .nav-toggle { display: none; }
  .site-nav,
  .js .site-nav,
  .js .is-open .site-nav {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 1.5rem;
    padding: 0;
  }
  .lang-switch { order: 3; margin: 0 0 0 -0.5rem; }   /* Abstand zur Navigation: 1,5rem */
  .site-header__cta { order: 4; }
  .site-nav__list { display: flex; gap: 1.6rem; }
  .site-nav__list a {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border: 0;
    border-bottom: 1.5px solid transparent;
  }
  .site-nav__list a:hover { border-bottom-color: var(--c-accent); }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  color: var(--c-white);
  isolation: isolate;
  overflow: hidden;   /* gedrehter Leitspruch darf nicht seitlich überstehen */

  /* Bildausschnitt und Abdunklung (mobil / ab 48em) */
  --hero-pos-mobile: 50% 45%;
  --hero-pos: 50% 70%;
  --hero-shade: 0.58;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--c-heading);   /* Fläche, bis das Bild geladen ist */
}
.hero__media picture { display: contents; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos-mobile);
}

/* Dezente Abdunklung: mobil gleichmäßig (Text liegt über dem ganzen Bild),
   ab Tablet nur links hinter dem Text – rechts bleibt das Foto hell */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(var(--c-hero-shade) / 0.4) 0%, rgb(var(--c-hero-shade) / 0) 40%),
    rgb(var(--c-hero-shade) / calc(var(--hero-shade) - 0.14));
}

.hero__content {
  align-self: center;
  padding-block: 2.25rem 0.5rem;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.3);
}
.hero__title {
  font-size: var(--fs-h1);
  color: var(--c-white);
  margin-bottom: 0.15em;
}
.hero__host {
  margin-bottom: 1.1rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #f1f6ec;
}
.hero__claim {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.25;
}
.hero__lead {
  max-width: 31rem;
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; text-shadow: none; }

/* Handschriftlicher Leitspruch – lockere Signaturschrift, treppenartig, leicht ansteigend */
.script { font-family: var(--font-script); font-weight: 400; }
.hero__accent {
  justify-self: end;
  margin: 0;
  padding: 0 var(--gutter) 3.5rem;
  font-size: 2.0rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  transform: rotate(-10deg);
  transform-origin: 100% 100%;
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.35);
}
.hero__accent span { display: block; }
.hero__accent span:nth-child(2) { margin-left: 0.2em; }
.hero__accent--single { font-size: 2.4rem; }   /* einzeiliger Leitspruch (DE) etwas größer */
/* .hero__accent span:nth-child(3) { margin-left: 1.15em; } */

@media (min-width: 48em) {
  .hero { min-height: clamp(26rem, 32vw, 30rem); }
  .hero__img { object-position: var(--hero-pos); }
  .hero__media::after {
    background:
      linear-gradient(0deg, rgb(var(--c-hero-shade) / 0.28) 0%, rgb(var(--c-hero-shade) / 0) 30%),
      linear-gradient(90deg,
        rgb(var(--c-hero-shade) / var(--hero-shade)) 0%,
        rgb(var(--c-hero-shade) / calc(var(--hero-shade) - 0.18)) 38%,
        rgb(var(--c-hero-shade) / 0.06) 64%,
        rgb(var(--c-hero-shade) / 0) 80%);
  }
  .hero__content { padding-block: 2.5rem; }
  .hero__lead { font-size: 1.08rem; }
}

/* Ab Desktop: Leitspruch rechts unten im Bild, bündig mit dem Container */
@media (min-width: 64em) {
  .hero__accent {
    position: absolute;
    right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    bottom: 3.9rem;
    padding: 0;
    font-size: clamp(2.4rem, 1.3rem + 2.0vw, 3rem);
  }
  .hero__accent--single { bottom: 5.25rem; font-size: clamp(2.9rem, 1.6rem + 2.4vw, 3.6rem); }   /* höher, damit das „f“ nicht am Bildrand ansteht */
}
/* Breite Desktops: einzeiligen Leitspruch näher an den Hero-Text rücken (Tablet/iPad quer bis 1199 px unverändert) */
@media (min-width: 75em) {
  .hero__accent--single { margin-right: 18rem; }
}

/* ---------- 8. Kurzübersicht unter dem Hero (verlinkt) ---------- */
.highlights { background: var(--c-hl-bg); }
.highlights__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  padding-block: 0.75rem;
}
.highlights__list > li { display: flex; }
/* Ganzer Block als Link; Klickfläche größer als der sichtbare Inhalt */
.highlights__link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem 0.65rem;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s;
}
.highlights__link:hover { background: rgb(255 255 255 / 0.4); }
.highlights__link:hover .highlights__title { text-decoration: underline; text-underline-offset: 0.2em; }
.highlights__link:focus-visible { outline-color: var(--c-heading); outline-offset: 0; }

.highlights__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--c-hl-icon);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.highlights__title {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-hl-title);
}
.highlights__text {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--c-hl-text);
}
@media (min-width: 30em) {
  .highlights__link { flex-direction: row; align-items: flex-start; gap: 0.75rem; }
}
@media (min-width: 56em) {
  .highlights__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-block: 0.9rem; }
  .highlights__link { align-items: center; }
  .highlights__icon { width: 2.4rem; height: 2.4rem; }
}

/* ---------- 9. Abschnitte ---------- */
.section { padding-block: var(--space-section); }
/* gleicher Hintergrund wie der vorige Abschnitt → kein doppelter Abstand */
.section--tight-top { padding-top: calc(var(--space-section) * 0.25); }
.section--tint { background: var(--c-tint); }

.eyebrow {
  margin-bottom: 0.45rem;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* Kopfzeilen: Überschriften dürfen die volle Breite nutzen, nur Fließtext wird begrenzt */
.section-head { margin-bottom: 1.5rem; }
.section-head p:not(.eyebrow) { max-width: 44rem; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.section-head--row > div:first-child { flex: 1 1 auto; min-width: 0; }   /* nur der Textblock wächst, nicht die Galerie-Buttons */
.section-head--row h2,
.section-head--row p:last-child { margin-bottom: 0; }

/* Bild-Text-Split der Hauptbilder (Familie, Radfahren, Umgebung, Frühstück):
   überall gleiche Aufteilung – Bildspalte 1,1 : Textspalte 0,9 – und Bilder abwechselnd links/rechts.
   Mobil gilt die Reihenfolge im Quelltext. */
.split { display: grid; gap: 1.5rem; align-items: center; }
.split__text > :last-child { margin-bottom: 0; }

@media (min-width: 56em) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .split--media-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .split--media-left .split__media { order: -1; }
  .split--media-right { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .split--media-right .split__media { order: 2; }
  /* Familie: Textspalte breiter (0,9 : 1,1), damit „Persönlich. Familiär. Seit 1979.“ ab 64em einzeilig bleibt */
  .split--media-left.split--text-wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* Fotos in Bild-Text-Abschnitten: einheitliches 3:2-Format */
.photo { margin: 0; }
.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--c-tint);
}
.photo--rad img { object-position: 50% 30%; }   /* Radfahren: 4:3-Foto, Ausschnitt nimmt vor allem Wiese unten weg */
.photo figcaption {
  margin-top: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* ---------- Zimmer & Preise ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 64em) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Karte: Bild – Text – Preis – Ausstattung – Preisdetails.
   Smartphone: untereinander · Tablet (40–64em): Querformat, Foto links · Desktop: drei Spalten,
   mit subgrid stehen Preise, „Ausstattung & Service“ und „Preise & Belegung“ in allen Karten auf gleicher Höhe. */
.room { display: flex; flex-direction: column; }
.room__body { flex: 1; padding: 1rem 1.25rem 0.25rem; }
@media (min-width: 40em) and (max-width: 63.999em) {
  .room { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto auto 1fr; }
  .room > .card__media,
  .room > .room-gallery { grid-column: 1; grid-row: 1 / -1; height: 100%; min-height: 15rem; }
  .room > .card__media { aspect-ratio: auto; }
  .room > .room-gallery .room-gallery__viewport,
  .room > .room-gallery .room-gallery__track,
  .room > .room-gallery li { height: 100%; }
  .room > .room-gallery img { height: 100%; aspect-ratio: auto; }
  .room__body, .price, .price-details { grid-column: 2; }
  .price-details { align-self: start; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 64em) {
    .rooms { grid-template-rows: auto auto auto auto auto; }
    .room { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .price-details { align-self: start; }   /* geöffnete Details der Nachbarkarte nicht mitstrecken */
  }
}
.room h3 { margin-bottom: 0.15em; }
.room__type { margin-bottom: 0.5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent); }
.room__text { margin-bottom: 0.65rem; }

.room__features {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.room__features li { position: relative; padding-left: 1.3rem; line-height: 1.45; }
.room__features li::before {      /* Häkchen */
  content: "";
  position: absolute;
  left: 0.1rem; top: 0.38em;
  width: 0.65rem; height: 0.38rem;
  border: solid var(--c-accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.price {
  margin: 0.25rem 1.25rem 0;
  padding: 0.75rem 0 0.7rem;
  border-top: 1px solid var(--c-line);
}
.price p { margin: 0; }
.price__main { font-size: 0.95rem; color: var(--c-ink); }
.price__amount {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--c-heading);
}
.price__unit { white-space: nowrap; }
.price__note { margin-top: 0.15rem; font-size: var(--fs-sm); color: var(--c-muted); }
.price__hint {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #22351f;                    /* 9,2:1 auf #CEDDB9 */
  background: var(--c-ci-2);
  border-radius: 2px;
}

/* Aufklappbare Preisübersicht (natives <details>, per Tastatur bedienbar) */
.price-details { margin: 0 1.25rem 1.1rem; border-top: 1px solid var(--c-line); }
.price-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;               /* Touch-Ziel ≥ 44 px */
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-accent);
  cursor: pointer;
  list-style: none;
}
.price-details summary::-webkit-details-marker { display: none; }
.price-details summary::after {      /* Pfeil, dreht sich beim Öffnen */
  content: "";
  width: 0.5rem; height: 0.5rem;
  margin: 0 0.3rem 0.2rem 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.price-details[open] summary::after { transform: rotate(-135deg); margin-bottom: -0.2rem; }
.price-details summary:hover { color: var(--c-heading); }
.price-details summary:focus-visible { outline-offset: 2px; }

.price-table {
  width: 100%;
  margin-bottom: 0.5rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.price-table caption {
  margin-bottom: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  text-align: left;
}
.price-table th,
.price-table td { padding: 0.35rem 0; border-bottom: 1px solid var(--c-line); text-align: right; }
.price-table th:first-child { text-align: left; font-weight: 500; }
.price-table thead th { font-size: 0.8rem; font-weight: 600; color: var(--c-muted); }
.price-table td + td,
.price-table th + th { padding-left: 0.75rem; }
.price-details__note { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.price-details__note + .price-details__note { margin-top: 0.35rem; }
/* „Ausstattung & Service“: gleiche Aufklapp-Gestaltung, direkt über „Preise & Belegung“ */
.room-extras { margin-bottom: 0; }
.room-extras .room__features { margin-bottom: 0.75rem; }

/* Apartmentfotos: manuell blätterbar, eine Aufnahme pro Ansicht */
.room-gallery { position: relative; overflow: hidden; }
.room-gallery__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.room-gallery__viewport::-webkit-scrollbar { display: none; }
.room-gallery__viewport:focus-visible { outline-offset: -3px; }
.room-gallery__track { display: flex; }
.room-gallery__track li { flex: 0 0 100%; scroll-snap-align: start; }
.room-gallery__track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--c-tint); }
.room-gallery__controls {
  position: absolute;
  right: 0.6rem; bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  background: rgb(255 255 255 / 0.92);
  border-radius: 999px;
  box-shadow: 0 1px 6px rgb(0 0 0 / 0.15);
}
.room-gallery__controls[hidden] { display: none; }
.room-gallery__btn {
  width: 2.75rem; height: 2.75rem;
  padding: 0 0 0.15rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c-heading);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.room-gallery__btn:hover:not(:disabled) { background: var(--c-tint); }
.room-gallery__btn:disabled { opacity: 0.35; cursor: default; }
.room-gallery__count { min-width: 2.6rem; font-size: 0.8rem; font-weight: 600; text-align: center; color: var(--c-ink); font-variant-numeric: tabular-nums; }

/* Kleine Zwischenüberschrift (Radbereich, Zimmerausstattung) – gleiche Bezeichnungs-Optik wie .eyebrow */
.mini-title {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* Servicelisten: schlichte Liste mit Symbol und feinen Linien statt Boxen (Radservices, Zimmerausstattung) */
.service-list {
  display: grid;
  column-gap: 2rem;
  border-top: 1px solid rgb(31 61 34 / 0.15);
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgb(31 61 34 / 0.15);
  line-height: 1.4;
  color: var(--c-heading);
}
.service-list__icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 36em) {
  .service-list--2,
  .service-list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56em) { .service-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-note { margin: 1rem 0 0; }

/* Gruppentitel innerhalb einer Übersicht (Im Haus / Kultur & Geschichte …):
   eine Stufe unter der Zwischenüberschrift – normale Schreibung statt Versalien, damit beide nicht verwechselt werden */
.room-notes__title,
.rad-more__group {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-heading);
}

/* Hinweise unter den Karten: Ortstaxe, Check-in und Haustiere als Zeilen, darunter Ausstattung & Service in zwei Gruppen */
.room-notes { margin: 1.75rem 0 2rem; }   /* unten 32 px bis „Sie planen einen längeren Aufenthalt?“ */
.room-notes__info { margin-bottom: 1.75rem; border-top: 1px solid rgb(31 61 34 / 0.15); }
.room-notes__line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgb(31 61 34 / 0.15);
  font-size: 1.02rem;
  color: var(--c-heading);
}
.room-notes .mini-title { margin-bottom: 1.25rem; }
.room-notes__groups { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 56em) {
  .room-notes__groups { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* Längere Aufenthalte (unter den Zimmerhinweisen, dezent) */
.long-stay {
  margin-top: 1rem;
  padding: 0.9rem 1.25rem;
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  background: var(--c-white);
  font-size: 0.95rem;
}
.long-stay__title { margin: 0 0 0.3rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--c-heading); }
.long-stay p { margin: 0 0 0.5rem; max-width: 52rem; }
.long-stay__contact { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; overflow-wrap: anywhere; }
.long-stay__contact li { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.long-stay__contact a { color: var(--c-accent); padding-block: 0.15rem; }
.long-stay__contact a:hover { color: var(--c-heading); }
.long-stay__icon { flex-shrink: 0; width: 1rem; height: 1rem; fill: none; stroke: var(--c-accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: 0.8; }

/* Kurzer Zusatzhinweis in Textabschnitten */
.note { font-size: 0.95rem; color: var(--c-muted); }

/* ---------- Radfahren ---------- */
/* Einstieg: Text links, Bild rechts (.split--media-right) */
/* Sehr schmale Displays: Überschrift zweizeilig statt „Mit dem Rad die / Thermenregion / entdecken“ */
@media (max-width: 22.5em) { #rad-title { font-size: 1.5rem; } }

/* Logo auf weißer Fläche (Logo hat weißen Hintergrund); gut lesbar, aber zurückhaltend */
.rad-partner {
  flex-shrink: 0;
  width: 7rem;             /* schmale Geräte: passt neben die Überschrift */
  height: auto;
  padding: 0.4rem 0.6rem;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Unterbereiche im Radabschnitt */
.rad-block { margin-top: var(--space-block); }
/* Überschrift „Für unsere Radgäste“ mit Radpartner-Logo rechtsbündig */
.rad-block__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.rad-block__head .mini-title { margin-bottom: 0; }
@media (min-width: 36em) { .rad-partner { width: 9rem; } }

/* Routenkarten: Smartphone untereinander · Tablet Foto links · Desktop drei Spalten */
/* Die ganze Karte ist ein Link (.route-card__link); Layout deshalb am Link statt an der Karte */
.route-card { display: flex; transition: box-shadow 0.2s; }
.route-card__link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.route-card__body { padding: 1rem 1.25rem 1.15rem; }
.route-card__title { margin: 0 0 0.35em; font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; color: var(--c-heading); }
.route-card__end { white-space: nowrap; }   /* Pfeil bleibt beim letzten Wort */
.route-card__arrow {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.3em;
  vertical-align: 0.02em;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.route-card__body p { margin: 0; font-size: 0.97rem; color: var(--c-ink); }
/* Hover: etwas mehr Schatten, Titel in Akzentfarbe, Pfeil rückt leicht nach rechts oben */
.route-card:hover { box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 12px 32px rgb(31 61 34 / 0.12); }
.route-card__link:hover .route-card__title { color: var(--c-accent); }
.route-card__link:hover .route-card__arrow { transform: translate(2px, -2px); }
/* Fokus: Rahmen um die ganze Karte (die Karte schneidet mit overflow: hidden einen äußeren Rahmen am Link ab) */
.route-card__link:focus-visible { outline-offset: -3px; }
@supports selector(:has(*)) {
  .route-card:has(.route-card__link:focus-visible) { overflow: visible; outline: 3px solid var(--c-accent); outline-offset: 3px; }
  .route-card:has(.route-card__link:focus-visible) .card__media { border-radius: var(--radius) var(--radius) 0 0; }
  .route-card__link:focus-visible { outline: none; }
}
@media (prefers-reduced-motion: reduce) {
  .route-card, .route-card__arrow { transition: none; }
  .route-card__link:hover .route-card__arrow { transform: none; }
}
@media (min-width: 40em) and (max-width: 63.999em) {
  .route-card__link { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); align-items: center; }
  .route-card .card__media { height: 100%; }
  .route-card__body { padding: 1rem 1.5rem; }
}

/* Klappbereiche „Weitere Radtouren entdecken“ und „Unsere Wander- und Ausflugstipps entdecken“ (gleiche Gestaltung):
   mit JavaScript ein dezentes Bedienelement – feine grüne Umrandung, heller Grund, Pfeil (Chevron).
   Ohne JavaScript ist der Inhalt offen; dann bleibt es eine schlichte Zwischenüberschrift ohne Chevron. */
.rad-more__heading { margin: 0; padding-top: 0.5rem; border-top: 1px solid rgb(31 61 34 / 0.15); font-size: var(--fs-h3); }
.js .rad-more__heading { padding-top: 0; border-top: 0; }
.rad-more__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;              /* Touch-Ziel */
  padding: 0.25rem 0;
  font: inherit;
  color: var(--c-heading);
  text-align: left;
  background: none;
  border: 0;
  cursor: default;
}
.js .rad-more__toggle {
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.55rem 1rem 0.55rem 1.15rem;
  font: 600 1rem/1.35 var(--font-sans);
  background: rgb(255 255 255 / 0.75);
  border: 1px solid rgb(74 107 48 / 0.45);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.js .rad-more__toggle:hover { background: var(--c-white); border-color: var(--c-accent); }
.js .rad-more__toggle[aria-expanded="true"] { background: var(--c-white); border-color: var(--c-accent); }
@media (max-width: 35.99em) {
  .js .rad-more__toggle { display: flex; width: 100%; justify-content: space-between; }
}
.rad-more__chevron {
  display: none;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.js .rad-more__chevron { display: block; }
.rad-more__toggle[aria-expanded="true"] .rad-more__chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .rad-more__chevron, .js .rad-more__toggle { transition: none; } }

.rad-more__panel { padding-top: 1.25rem; }
.rad-block .rad-more__panel { padding-top: 2rem; }   /* Radtouren: 32 px zwischen Schaltfläche und „Kultur & Geschichte“ */
.js .rad-more__panel:not(.is-open) { display: none; }
.rad-more__groups { display: grid; gap: 1.25rem 2rem; margin-bottom: 1.25rem; }
@media (min-width: 48em) { .rad-more__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Routen als Zeilen mit feinen Linien – wie die Servicelisten darüber */
.rad-more__list { display: grid; font-size: 0.97rem; border-top: 1px solid rgb(31 61 34 / 0.15); }
.rad-more__list li { border-bottom: 1px solid rgb(31 61 34 / 0.15); }
.rad-more__list a {
  display: block;
  padding: 0.55rem 0;
  line-height: 1.4;
  color: var(--c-heading);
  text-decoration: none;
}
.rad-more__list .ext-link__icon { stroke: var(--c-accent); }
.rad-more__text { font-size: 0.97rem; color: var(--c-muted); }
/* Textlink im Satz: dezent unterstrichen */
.rad-more__text a {
  color: var(--c-heading);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(31 61 34 / 0.35);
  text-underline-offset: 0.22em;
}
.rad-more__list a:hover { color: var(--c-accent); text-decoration: underline; }
.rad-more__text a:hover { color: var(--c-accent); text-decoration-color: currentColor; }

/* ---------- 10. Umgebung & Ausflugsziele ---------- */
.umg-block { margin-top: var(--space-block); }

/* Einstieg: Bild links (.split--media-left, gespiegelt zum Radbereich) */

/* Drei Themen: Textspalten mit feiner Linie, keine Boxen */
.umg-topics { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 56em) { .umg-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.umg-topic { padding-top: 0.9rem; border-top: 1px solid rgb(31 61 34 / 0.15); }
.umg-topic__title,
.umg-tip__title,
.trip__title { margin: 0 0 0.4em; font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; color: var(--c-heading); }
.umg-topic p { margin-bottom: 0.5rem; font-size: 0.97rem; }
.umg-topic > :last-child { margin-bottom: 0; }

/* Externe Links, websiteweit einheitlich: Text + dezenter Pfeil ↗ (.ext-link__icon).
   Alle öffnen in neuem Tab (target="_blank", rel="noopener noreferrer") mit Screenreader-Hinweis.
   .link-line = eigenständige Linkzeile („Wienerwald entdecken ↗“), in Listen und Sätzen nur das Symbol. */
.link-line { margin: 0; font-size: 0.95rem; }
.ext-link { font-weight: 600; text-decoration: none; }
.ext-link:hover { text-decoration: underline; }
.ext-link__icon {
  display: inline-block;
  width: 0.8em; height: 0.8em;
  margin-left: 0.25em;
  vertical-align: 0.02em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Klappbereich (nutzt .rad-more): Wandertipps, danach Ausflugskarten */
.umg-more { padding-top: 1.25rem; }
.umg-more__subtitle { margin-top: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.umg-tips { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 56em) { .umg-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.umg-tip p { margin-bottom: 0.5rem; font-size: 0.97rem; }
.umg-tip > :last-child { margin-bottom: 0; }

/* Ausflugskarten ohne Fläche/Schatten: 1 Spalte · ab 40em 2 · ab 80em (1280 px) 4 */
.trips { display: grid; gap: 1.75rem 1.5rem; }
@media (min-width: 40em) { .trips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .trips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trip { display: flex; flex-direction: column; }
.trip__link { margin-top: auto; }
/* Zeilen per subgrid ausrichten: Titel und Links einer Reihe auf gleicher Höhe */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 40em) {
    .trip { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  }
}
.trip__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
  margin-bottom: 0.85rem;
  object-fit: cover;
  border-radius: var(--radius);
}
img.trip__img { background: var(--c-tint); }
.trip__text { margin-bottom: 0.6rem; font-size: 0.97rem; }

/* Mobil kompakt: Bild links, Text rechts – Text darunter über die volle Breite */
@media (max-width: 39.99em) {
  .trip { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  .trip__img { grid-row: 1 / span 2; margin-bottom: 0; }
  .trip__title { align-self: center; }
  .trip__text,
  .trip__link { grid-column: 1 / -1; }
  .trip__text { margin-top: 0.75rem; }
}

/* ---------- 11. Anfrage & Kontakt (Markenfläche) ---------- */
.section--band {
  padding-block: calc(var(--space-section) * 0.6);
  background: var(--c-band);
  color: var(--c-on-band);
}
.section--band h2,
.section--band .eyebrow { color: var(--c-on-band); }
.section--band :focus-visible { outline-color: var(--c-band-focus); }

.contact { display: grid; gap: 1.5rem; }
.contact__intro > p:not(.eyebrow) { margin-bottom: 0.5rem; }

.contact__list { max-width: 46rem; margin: 0.75rem 0 0.6rem; }   /* Kontaktdaten über dem Formular, nicht über die volle Breite */
.contact__list div {
  display: grid;
  gap: 0 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--c-band-line);
}
@media (min-width: 30em) {
  .contact__list div { grid-template-columns: 10.5rem minmax(0, 1fr); align-items: baseline; }
}
.contact__list dt { font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; }
.contact__list dd { margin: 0; overflow-wrap: anywhere; }
.section--band a:not(.btn) { color: var(--c-on-band); }   /* 7,2:1 auf #B1C890 */
.section--band a:not(.btn):hover { text-decoration-thickness: 2px; }
.contact__intro > :last-child { margin-bottom: 0; }

/* Formular ein-/ausklappen (main.js). Ohne JavaScript: kein Button, Formular sichtbar. */
.inquiry-toggle { display: none; }
.js .inquiry-toggle { display: inline-flex; width: 100%; margin-top: 1rem; }
.js .inquiry-toggle[hidden] { display: none; }
@media (min-width: 30em) { .js .inquiry-toggle { width: auto; } }
.inquiry-toggle__icon { transition: transform 0.2s; }
.inquiry-toggle[aria-expanded="true"] .inquiry-toggle__icon { transform: rotate(180deg); }
.inquiry-toggle:disabled { opacity: 0.6; cursor: default; }
.js .inquiry-panel:not(.is-open) { display: none; }
@media (prefers-reduced-motion: reduce) { .inquiry-toggle__icon { transition: none; } }

/* ---------- 11a. Buchungsanfrage (Formular auf weißer Karte) ---------- */
.inquiry {
  position: relative;
  --c-error: #9b2c1f;                 /* 7,2:1 auf Weiß */
  --c-field-line: #7c8676;            /* Feldrahmen 3,9:1 auf Weiß */
  padding: 1.25rem 1rem 1.25rem;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--c-ink);
}
@media (min-width: 30em) { .inquiry { padding: 1.75rem 1.75rem 1.5rem; } }
@media (min-width: 64em) { .inquiry { padding: 2rem 2.5rem 1.75rem; } }
.inquiry__title { margin-bottom: 0.2rem; font-size: 1.5rem; }
.inquiry__required { margin-bottom: 0.15rem; font-size: var(--fs-sm); color: var(--c-muted); }
.inquiry__disclaimer { margin-bottom: 1rem; font-size: 0.8rem; line-height: 1.45; color: var(--c-muted); }   /* 6,2:1 auf Weiß */
.inquiry__noscript { padding: 0.75rem 1rem; background: var(--c-tint); border-radius: var(--radius); }

.inquiry__group {
  min-inline-size: 0;
  margin: 0 0 1.1rem;
  padding: 1.1rem 0 0;
  border: 0;
  border-top: 1px solid var(--c-line);
}
.inquiry__group > legend {
  float: left;                        /* Legende im Fluss, damit der Abstand zur Linie stimmt */
  width: 100%;
  margin-bottom: 0.7rem;
  padding: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  line-height: 1.25;
  color: var(--c-heading);
}
.inquiry__group > legend + * { clear: both; }

.inquiry__grid { display: grid; gap: 0.85rem 1rem; }
.inquiry__grid + .inquiry__grid { margin-top: 0.85rem; }
@media (min-width: 36em) {
  .inquiry__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiry__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.inquiry__grid--dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Desktop: Kontaktdaten in einer Zeile, Daten und Personen nebeneinander */
@media (min-width: 64em) {
  .inquiry__grid--contact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inquiry__stay { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.85rem 2rem; }
  .inquiry__stay > .inquiry__grid + .inquiry__grid { margin-top: 0; }
}
/* Smartphone: Personenzähler zeilenweise (Bezeichnung links, −/+ rechts) */
@media (max-width: 35.99em) {
  .inquiry__grid--3 { gap: 0; }
  .inquiry__grid--3 .field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 1rem;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--c-line);
  }
  .inquiry__grid--3 .field label { margin: 0; }
  .inquiry__grid--3 .field__hint,
  .inquiry__grid--3 .field__error { grid-column: 1 / -1; }
  .inquiry__grid--3 .field__hint { grid-column: 1; grid-row: 2; margin-top: 0; }
}
.field label { display: block; margin-bottom: 0.3rem; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.field + .field { margin-top: 0.85rem; }
.inquiry__grid > .field + .field { margin-top: 0; }
.field__req { color: var(--c-error); }
.field__opt { font-weight: 400; color: var(--c-muted); }
.field__hint { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--c-muted); }
.field__hint:empty { display: none; }
.field__note {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-sm);
  background: var(--c-tint);
  border-radius: var(--radius);
}
.field__error { margin: 0.3rem 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--c-error); }
.field__error a { color: inherit; }
.field__error:empty { display: none; }
.inquiry__group > .field__error { margin-top: 0.75rem; }

.inquiry input[type="text"],
.inquiry input[type="email"],
.inquiry input[type="tel"],
.inquiry input[type="date"],
.inquiry input[type="number"],
.inquiry textarea {
  display: block;
  width: 100%;
  min-height: 2.9rem;                 /* gut treffbar auf dem Smartphone */
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 1rem;                    /* ≥ 16 px: kein automatisches Zoomen unter iOS */
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-field-line);
  border-radius: var(--radius);
}
.inquiry input[type="date"] { -webkit-appearance: none; appearance: none; line-height: 1.5; }
.inquiry textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.inquiry textarea::placeholder { color: var(--c-muted); opacity: 1; }
.inquiry :focus-visible { outline-color: var(--c-accent); outline-offset: 1px; }
.inquiry [aria-invalid="true"] { border-color: var(--c-error); box-shadow: inset 0 0 0 1px var(--c-error); }

/* Zahlenfelder mit −/+ (Schaltflächen per main.js) */
.inquiry input.field__num { width: 4.25rem; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.inquiry input.field__num::-webkit-inner-spin-button,
.inquiry input.field__num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.inquiry input.field__short { width: 6rem; }
.stepper { display: flex; flex: none; align-items: stretch; width: 9.75rem; }   /* feste Breite: −, Feld, + */
.stepper input.field__num { flex: 0 0 4.25rem; min-width: 0; border-radius: 0; }
.stepper__btn {
  flex: 0 0 2.75rem;
  min-height: 2.9rem;
  padding: 0;
  font: 600 1.25rem/1 var(--font-sans);
  color: var(--c-heading);
  background: var(--c-tint);
  border: 1px solid var(--c-field-line);
  cursor: pointer;
}
.stepper__btn:first-child { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.stepper__btn:last-child { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.stepper__btn:hover:not(:disabled) { background: var(--c-ci-2); }
.stepper__btn:disabled { color: rgb(43 63 36 / 0.35); cursor: default; }

/* Auswahl (Radio/Checkbox): Kästchen links, Text daneben */
.choice,
.check {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.1rem 0.7rem;
  align-items: start;
}
.choice {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.choice + .choice { margin-top: 0.5rem; }
@media (min-width: 48em) {
  .choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .choice-group .choice + .choice { margin-top: 0; }
}
.choice:has(input:checked) { background: var(--c-tint); border-color: var(--c-accent); }
.check + .check { margin-top: 0.6rem; }
.choice input,
.check input {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  background: var(--c-white);
  border: 2px solid var(--c-field-line);
  border-radius: 3px;
  cursor: pointer;
}
.choice input { border-radius: 50%; }
.choice input:checked { border-color: var(--c-accent); background: radial-gradient(circle, var(--c-accent) 0 42%, var(--c-white) 47%); }
.check input:checked {
  border-color: var(--c-accent);
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.choice label,
.check label { font-weight: 600; cursor: pointer; }
.choice__text,
.check__text,
.check .field__error { grid-column: 2; margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.check .field__error { color: var(--c-error); }
.inquiry__lead { margin: 0 0 0.8rem; }
.inquiry__checks { margin-bottom: 0.9rem; }
@media (min-width: 48em) {
  .inquiry__wishes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem 2.5rem; }
  .inquiry__checks { margin-bottom: 0; }
}

/* Konkrete Zimmerwahl */
.rooms { min-inline-size: 0; margin: 0.75rem 0 0; padding: 0; border: 0; }
.rooms__list { display: grid; column-gap: 2rem; }
@media (min-width: 64em) { .rooms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
.rooms__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--c-line);
}
.rooms__row label { font-size: 0.95rem; line-height: 1.35; }
.rooms__name { font-weight: 600; }
.rooms__info { display: block; font-size: 0.8rem; color: var(--c-muted); }
.rooms__hint { grid-column: 1 / -1; margin: 0; font-size: 0.8rem; color: var(--c-accent); font-weight: 600; }
.rooms__summary { margin: 0.75rem 0 0; padding: 0.5rem 0.75rem; font-size: var(--fs-sm); background: var(--c-tint); border-radius: var(--radius); }
.rooms__summary:empty { display: none; }

/* Sehr schmale Bildschirme: −/+ unter die Bezeichnung, damit lange Zimmernamen Platz haben */
@media (max-width: 23.99em) {
  .rooms__row,
  .inquiry__grid--3 .field { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .inquiry__grid--3 .field__hint { grid-row: auto; }
}

/* Spamschutz */
.field--spam { margin-bottom: 1.1rem; }
.inquiry__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Serviceinformation (hervorgehoben), Absenden, rechtliche Hinweise (dezent) */
.inquiry__notice {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  background: var(--c-info-bg);
  border-left: 3px solid var(--c-info-line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--c-info-ink);
}
.inquiry__notice p { margin-bottom: 0.4rem; }
.inquiry__notice p:last-child { margin-bottom: 0; }
.inquiry__submit { width: 100%; justify-content: center; }
@media (min-width: 30em) { .inquiry__submit { width: auto; } }
.inquiry__status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #fff4d6;
  border: 2px solid #b7791f;
  border-radius: var(--radius);
  color: #3d2c00;                     /* 12:1 */
}
.inquiry__status p { margin: 0; }
.inquiry__status p + p { margin-top: 0.4rem; }
.inquiry__status--success { background: var(--c-tint); border-color: var(--c-accent); color: var(--c-ink); }
.inquiry__status--error { background: #fdf0ee; border-color: var(--c-error); color: var(--c-ink); }
.inquiry__status a { color: inherit; font-weight: 600; }
.inquiry__submit:disabled { opacity: 0.6; cursor: default; }
.inquiry__submit[aria-busy="true"] { cursor: progress; }
.inquiry__restart { margin-top: 1rem; }
.inquiry__restart[hidden] { display: none; }
.inquiry__legal,
.inquiry__privacy { max-width: 60rem; font-size: 0.82rem; line-height: 1.5; color: var(--c-muted); }   /* 6,2:1 auf Weiß */
.inquiry__legal { margin-top: 1.25rem; }
.inquiry__legal h4 { margin: 0 0 0.25rem; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600; color: var(--c-muted); }
.inquiry__legal p { margin-bottom: 0.3rem; }
.inquiry__privacy { margin: 0.5rem 0 0; }
.inquiry .inquiry__privacy a { color: var(--c-accent); }

/* ---------- 12. Footer (hell, gleiches Logo wie im Header) ---------- */
.site-footer {
  padding-block: 1.5rem 0.25rem;
  background: var(--c-footer);
  border-top: 1px solid rgb(34 53 31 / 0.1);
  color: var(--c-ink);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--c-accent); }      /* 5,4:1 auf #EEF3E7 */
.site-footer a:hover { color: var(--c-heading); }
.site-footer__grid { display: grid; gap: 1rem 2.5rem; }
/* Spalte 1: Logo und Routenbutton – mobil und Tablet nebeneinander, Desktop untereinander */
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; }
.site-footer__route { flex-shrink: 0; }
.site-footer a.site-footer__route,
.site-footer a.site-footer__route:hover { color: var(--c-white); }   /* allgemeine Footer-Linkfarbe nicht auf den Button anwenden */
@media (max-width: 39.99em) {
  .site-footer__brand .logo__img { height: 2.4rem; }   /* 149 × 38 px */
  .site-footer__route { min-height: 2.75rem; padding: 0.45rem 0.8rem; font-size: 0.88rem; gap: 0.35em; }
}
@media (max-width: 22.49em) {
  .site-footer__brand { gap: 0.5rem; }
  .site-footer__brand .logo__img { height: 2.1rem; }   /* 131 × 34 px, damit der Button bei 320 px daneben passt */
  .site-footer__route { padding-inline: 0.65rem; }
  .site-footer__route .btn__icon { display: none; }   /* bei 320 px: Button ohne Symbol, damit er neben dem Logo Platz hat */
}
.site-footer__route-ext { display: none; }
@media (min-width: 40em) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; justify-content: flex-start; gap: 0.75rem 2.5rem; }
  /* Ab Tablet: „Route planen ↗“ als dezenter Textlink mit Standortsymbol (mobil bleibt der Button neben dem Logo) */
  .site-footer a.site-footer__route,
  .site-footer a.site-footer__route:hover {
    gap: 0.4em;
    padding-inline: 0;
    font-size: 0.95rem;
    color: var(--c-accent);
    background: none;
    border-color: transparent;
  }
  .site-footer a.site-footer__route:hover { color: var(--c-heading); text-decoration: underline; }
  .site-footer__route-ext { display: inline-block; margin-left: 0; }
}
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr) minmax(0, 0.95fr); column-gap: 1.75rem; }   /* Kontaktspalte breiter: E-Mail-Adressen mit Symbol in einer Zeile */
}
@media (min-width: 64em) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
  .site-footer__brand { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1rem; }
}
.site-footer__title {
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-heading);
}
.site-footer__address { margin-bottom: 0; font-style: normal; }
/* Anreisehinweis: unter dem Routenlink ab Desktop, sonst unter der Anschrift */
.site-footer__transit { margin: 0.5rem 0 0; text-wrap: balance; }   /* kein einzelnes Wort in der letzten Zeile */
.site-footer__transit--brand { display: none; }
@media (min-width: 64em) {
  .site-footer__transit--brand { display: block; margin-top: -0.75rem; }
  .site-footer__transit--address { display: none; }
}
/* Fahrplanauskunft (VOR): gleiche Gestaltung wie der Textlink „Route planen ↗“ ab Tablet, mit Zugsymbol */
.site-footer a.site-footer__timetable {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 2.75rem;
  padding-block: 0.55rem;
  font: 600 0.95rem/1.2 var(--font-sans);
  color: var(--c-accent);
  text-decoration: none;
  white-space: nowrap;   /* „Timetables & routes ↗“ bei 768 px nicht umbrechen */
  border-block: 1.5px solid transparent;
}
.site-footer a.site-footer__timetable:hover { color: var(--c-heading); text-decoration: underline; }
.site-footer__timetable .ext-link__icon { margin-left: 0; }
.site-footer__dl { margin: 0; overflow-wrap: anywhere; }
.site-footer__dl div + div { margin-top: 0.25rem; }
.site-footer__dl dt { font-size: 0.78rem; line-height: 1.3; color: var(--c-muted); }
.site-footer__dl dd { display: flex; align-items: center; gap: 0.45rem; margin: 0; }
.site-footer__dl a { display: inline-block; min-width: 0; padding-block: 0.1rem; }
/* Telefon- und Briefsymbol: dezent, kleiner als die Social-Media-Icons */
.site-footer__icon { flex-shrink: 0; width: 1rem; height: 1rem; fill: none; stroke: var(--c-accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: 0.8; }
.site-footer__contact { display: grid; gap: 0.1rem; overflow-wrap: anywhere; }
.site-footer__contact a { display: inline-block; padding-block: 0.2rem; }

/* Social-Media: nur Links mit lokalen Icons */
.social { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.social__link {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(74 107 48 / 0.45);
  border-radius: 50%;
}
.social__link:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white) !important; }

.site-footer__bottom { margin-top: 1rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; border-top: 1px solid rgb(34 53 31 / 0.12); }
.site-footer__links a {
  display: inline-block;
  padding: 0.6rem 0;          /* ausreichende Klickfläche */
}
.site-footer__links a[aria-current] { color: var(--c-heading); font-weight: 600; text-decoration: none; }

/* ---------- 12a. Unterseiten (Impressum, Datenschutz) ---------- */
.legal { min-height: 50vh; padding-block: calc(var(--space-section) * 0.9) var(--space-section); }   /* kurze Seiten: Footer nicht mitten im Bild */
.legal__inner { max-width: calc(46rem + 2 * var(--gutter)); }
.legal h1 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.legal h2 { margin: 1.6rem 0 0.35rem; font-size: var(--fs-h3); }
.legal p { margin-bottom: 0.6rem; }
.legal a { overflow-wrap: anywhere; }
.legal__stand { margin-top: -0.5rem; font-size: var(--fs-sm); color: var(--c-muted); }
.legal__facts { margin: 0 0 0.6rem; }
.legal__facts div { display: grid; gap: 0 1.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 36em) { .legal__facts div { grid-template-columns: 15rem minmax(0, 1fr); } }
.legal__facts dt { font-weight: 600; color: var(--c-heading); }
.legal__facts dd { margin: 0; }
.legal__doc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.legal__doc-meta { font-size: var(--fs-sm); color: var(--c-muted); }
.legal__draft {
  padding: 1rem 1.25rem;
  background: var(--c-ci-2);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  color: #22351f;
}
