/* =====================================================================
   RUHMÜHLE – STYLESHEET
   Ruhig & warm: viel Weißraum, klare Abschnitte, große Bilder, wenige
   Rahmen. Waldgrün für Aktionen, Gold nur als sparsamer Akzent.
   Mobile-first aufgebaut.
   ===================================================================== */

/* ------------------------------ Schriften ---------------------------
   "Plus Jakarta Sans" wird selbst gehostet (fonts/) – keine Verbindung
   zu Google auf der Live-Seite (DSGVO). */
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+201E, U+201C, U+20AC;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-400-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+201E, U+201C, U+20AC;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-700-latin-ext.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-800-latin.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+201E, U+201C, U+20AC;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-800-latin-ext.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F;
}

/* ------------------------------ Design-Tokens ----------------------- */
:root {
  --bg:          #f8f8f6;   /* fast weiß, minimal warm */
  --surface:     #ffffff;
  --ink:         #171a18;   /* tiefes Neutralschwarz */
  --muted:       #656b66;   /* ruhiges Grau */
  --line:        #e7e8e4;   /* zarte Trennlinien */
  --green:       #1f3d30;   /* tiefes Waldgrün (Primärfarbe) */
  --green-dark:  #14291f;
  --green-soft:  #eef2ef;   /* zarte grüne Fläche */
  --wood:        #b59a55;   /* Gold-Akzent (= Smoobu-Buchungsbutton) */
  --wood-soft:   #f6f1e4;   /* heller Gold-Ton – aktuell ungenutzt, Reserve */
  --gold-ink:    #8a7134;   /* Gold als Schriftfarbe – aktuell ungenutzt, Reserve */
  --whatsapp:    #1faa53;

  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(23, 26, 24, .04), 0 4px 14px rgba(23, 26, 24, .04);
  --shadow-md: 0 10px 30px rgba(23, 26, 24, .09);

  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);   /* Anker unter dem festen Header */
  /* Sicherheitsnetz gegen zu breite Elemente auf dem Handy
     (clip statt hidden, damit sticky weiter funktioniert) */
  overflow-x: clip;
}
/* Solange eine Vollbild-Ansicht offen ist, scrollt die Seite nicht mit */
html.overlay-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1em; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--wood);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--green); color: #fff;
  padding: .5rem 1rem; border-radius: var(--r-sm);
  z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 8px; color: #fff; }

.eyebrow {
  color: var(--muted); font-weight: 600; font-size: .95rem;
  letter-spacing: 0; margin-bottom: .55rem;
}
.section-intro { color: var(--muted); max-width: 62ch; font-size: 1.05rem; line-height: 1.6; }
.small-note { color: var(--muted); font-size: .88rem; margin: .5rem 0 0; }
.subheading { margin-top: 2.25rem; }

/* ------------------------------ Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .8rem 1.45rem;
  font-weight: 600; text-decoration: none; border: 0; line-height: 1.2;
  transition: transform .12s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--green-soft); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: #e8eeea; color: var(--green-dark); }
.btn-small { padding: .55rem 1rem; font-size: .92rem; }

/* ------------------------------ Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(248, 248, 246, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 1rem;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--ink); text-decoration: none;
}
.brand svg { width: 34px; height: 34px; flex: none; }

.main-nav { display: none; }
.main-nav a {
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-size: .95rem; padding: .4rem .7rem; border-radius: 999px;
}
.main-nav a:hover { background: var(--green-soft); color: var(--ink); }

.header-cta {
  display: none;
  background: var(--green); color: #fff;
  border-radius: 999px; padding: .55rem 1.15rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); color: #fff; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
}
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: none; flex-direction: column; padding: .5rem 1.25rem 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .75rem .25rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); font-size: 1.05rem;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* Kopfzeile: Menü in einer Zeile, sobald es sicher passt (6 Punkte) */
@media (min-width: 760px) { .header-cta { display: inline-block; } }
@media (min-width: 1020px) {
  .main-nav { display: flex; gap: .15rem; }
  .nav-toggle { display: none; }
}

/* ------------------------------ Hero -------------------------------- */
.hero { padding-top: 1.5rem; }
.hero-text { max-width: 720px; padding: 1.25rem 0 1.5rem; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.2rem); margin-bottom: .3em; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 600px; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-rating {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.1rem; text-decoration: none;
  color: var(--muted); font-size: .95rem; font-weight: 600;
}
.hero-rating:hover { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--wood); }
.stars svg { width: 17px; height: 17px; }

/* Foto-Raster im Airbnb-Stil: 1 großes + 4 kleine Bilder */
.hero-gallery {
  position: relative;
  display: grid; gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--r-lg); overflow: hidden;
}
.hero-tile { position: relative; display: block; padding: 0; border: 0; background: var(--green-soft); overflow: hidden; }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .45s ease; }
.hero-tile:hover img { transform: scale(1.04); }
.hero-tile:first-child { grid-column: 1 / -1; }
.hero-tile:first-child img { aspect-ratio: 16 / 10; }
/* Mobil nur großes Bild + zwei kleine – ruhiger */
.hero-tile:nth-child(n+4) { display: none; }
.hero-more {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
  border-radius: 999px; padding: .5rem 1rem;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-more svg { width: 17px; height: 17px; }
.hero-more:hover { background: #fff; }
@media (min-width: 760px) {
  .hero-gallery {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: clamp(340px, 44vw, 500px);
  }
  .hero-tile:nth-child(n+4) { display: block; }
  .hero-tile:first-child { grid-column: 1; grid-row: 1 / 3; }
  .hero-tile img, .hero-tile:first-child img { aspect-ratio: auto; height: 100%; }
}

/* ------------------------------ Layout: Inhalt + Buchungskarte ------- */
.page-grid { display: block; }
/* Raster in der Inhaltsspalte richten sich nach deren Breite (neben der
   Buchungskarte ist sie schmaler als das Fenster) */
.page-content { container-type: inline-size; }
@media (min-width: 1020px) {
  .page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 3.5rem;
    align-items: start;
  }
}

/* Abschnitte: viel Luft und eine feine Linie statt vieler Kästen */
.section { padding-top: 3.75rem; margin-top: 3.75rem; border-top: 1px solid var(--line); }
.section-first { padding-top: 2rem; margin-top: 0; border-top: 0; }
.page-content > .section:last-child { padding-bottom: 1rem; }
@media (min-width: 760px) {
  .section { padding-top: 4.5rem; margin-top: 4.5rem; }
  .section-first { padding-top: 2.5rem; margin-top: 0; }
}


/* ------------------------------ Auf einen Blick ---------------------- */
.highlights {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@container (min-width: 640px) { .highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.highlight {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .95rem 1rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.highlight svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.highlight > div { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.highlight strong { display: block; font-size: 1rem; line-height: 1.3; }
.highlight span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }

/* ------------------------------ Geschichte ---------------------------- */
.story { display: grid; gap: 1.5rem; margin-top: 2.75rem; align-items: center; }
@container (min-width: 600px) { .story { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.25rem; } }
.story-text p { color: var(--muted); margin: 0; }
.story-figure { margin: 0; }
.story-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.story-figure figcaption { color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: .6rem; }

/* ------------------------------ Das Haus: 3D-Rundgang-Karte ------------ */
/* Dunkle Karte – die Dollhouse-Ansicht hat selbst einen schwarzen Grund */
.explore-card {
  display: grid; margin-top: 1.5rem;
  background: #111512; color: #fff;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.explore-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; }
.explore-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform .5s ease; }
.explore-media:hover img { transform: scale(1.16); }
/* weicher Übergang vom schwarzen Bildgrund in die Karte */
.explore-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, #111512); pointer-events: none; }
@container (min-width: 600px) {
  .explore-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore-media { aspect-ratio: auto; min-height: 15.5rem; }
  .explore-media::after { background: linear-gradient(90deg, transparent 72%, #111512); }
}
.explore-badge {
  position: absolute; left: 50%; top: 50%;
  width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .95); color: var(--green-dark);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .4);
  transition: transform .2s;
}
.explore-media:hover .explore-badge { transform: scale(1.08); }
.explore-badge svg { width: 30px; height: 30px; }
.explore-body { display: flex; flex-direction: column; justify-content: center; padding: 1.15rem 1.25rem 1.35rem; min-width: 0; }
@container (min-width: 600px) { .explore-body { padding: 1.5rem 1.6rem; } }
.explore-body h3 { font-size: 1.22rem; margin: 0 0 .35rem; color: #fff; }
.explore-body p { color: #c6cfc8; font-size: .95rem; line-height: 1.5; margin: 0 0 1.05rem; }
.explore-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.explore-actions .btn { padding: .65rem 1rem; font-size: .94rem; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------ Das Haus: Etagen-Auswahl --------------- */
.floors { margin-top: 2.25rem; }
.floor-picker-label {
  display: flex; align-items: center; gap: .45rem;
  margin: 0 0 .65rem;
  color: var(--muted); font-size: .95rem; font-weight: 600;
}
.floor-picker-label svg { width: 18px; height: 18px; flex: none; }
/* Große Reiter als Auswahl-Kacheln: mobil 2×2, sonst in einer Reihe */
.floor-tabs {
  display: grid; gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@container (min-width: 600px) { .floor-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.floor-tabs [role=tab] {
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
  min-width: 0; text-align: left;
  border: 1.5px solid var(--line); background: var(--surface);
  border-radius: var(--r-md); padding: .75rem .85rem .8rem;
  color: var(--ink); box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .12s;
}
.floor-tabs [role=tab]:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.floor-tabs [role=tab]:active { transform: scale(.98); }
.floor-tabs [role=tab] svg { width: 28px; height: 28px; color: var(--green); margin-bottom: .3rem; flex: none; }
.floor-tab-name { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.floor-tab-hint { font-size: .8rem; line-height: 1.3; color: var(--muted); }
.floor-tab-name, .floor-tab-hint { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.floor-tabs [role=tab][aria-selected="true"] {
  background: var(--green); border-color: var(--green); color: #fff; box-shadow: var(--shadow-md);
}
.floor-tabs [role=tab][aria-selected="true"] svg { color: #fff; }
.floor-tabs [role=tab][aria-selected="true"] .floor-tab-hint { color: #cfe0d6; }

/* Kompakte Leiste beim Scrollen: klebt unter dem Header, liegt über dem
   Inhalt (Höhe 0 = kein Springen der Seite) und bleibt innerhalb der Etagen */
.floor-sticky { position: sticky; top: var(--header-h); height: 0; z-index: 30; }
.floor-compact {
  position: absolute; left: 0; right: 0; top: .5rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem;
  padding: .3rem; border-radius: 999px;
  background: rgba(255, 255, 255, .97); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.floor-compact.is-visible { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
.floor-compact button {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  min-width: 0; padding: .45rem .4rem;
  border: 0; border-radius: 999px; background: transparent;
  font-size: .86rem; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: background .2s, color .2s;
}
.floor-compact button:hover { background: var(--green-soft); }
.floor-compact button[aria-pressed="true"] { background: var(--green); color: #fff; }
.floor-compact svg { width: 18px; height: 18px; flex: none; }
@container (max-width: 400px) { .floor-compact svg { display: none; } }

/* Am Ende einer Etage: weiter zur nächsten */
.floor-next {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%; margin-top: 1.4rem; padding: .85rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  color: var(--ink); font-size: .95rem; text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.floor-next:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.floor-next strong { color: var(--green); }
.floor-next svg { width: 20px; height: 20px; color: var(--green); flex: none; }

.floor-panel { padding-top: 1.25rem; }
.floor-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.floor-lead { color: var(--muted); margin: 0; max-width: 560px; }
.floor-chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.floor-chips li {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--green-soft); color: var(--green-dark);
  border-radius: 999px; padding: .25rem .75rem; font-size: .85rem; font-weight: 600;
}
.floor-chips svg { width: 16px; height: 16px; }

.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: 1.6rem 0 .1rem; }
.group-head h3 { margin: 0; font-size: 1.12rem; }
.group-meta { color: var(--muted); font-size: .88rem; }

/* ------------------------------ Raum-Karten --------------------------- */
.room-grid {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .9rem;
}
@container (min-width: 640px) { .room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.room-card {
  display: flex; flex-direction: column; text-align: left;
  padding: 0; margin: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.room-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.room-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-soft); }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room-card:hover .room-media img { transform: scale(1.04); }
.room-count {
  position: absolute; left: .5rem; bottom: .5rem;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(20, 41, 31, .8); color: #fff;
  border-radius: 999px; padding: .2rem .6rem .2rem .45rem;
  font-size: .76rem; font-weight: 600;
}
.room-count svg { width: 14px; height: 14px; }
/* Räume ohne Foto: ruhige Fläche mit Hinweis auf den 3D-Rundgang */
.room-media-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  color: var(--green); padding: .75rem; text-align: center;
  background: repeating-linear-gradient(135deg, var(--green-soft) 0 12px, #e6ece8 12px 24px);
}
.room-media-empty svg { width: 30px; height: 30px; }
.room-media-empty span { font-size: .8rem; font-weight: 600; line-height: 1.3; }
.room-media-plan { background: #f3f6f8; }
.room-media-plan img { object-fit: contain; padding: .35rem; }
.room-card-plan:hover .room-media img { transform: scale(1.02); }

.room-body { display: flex; flex-direction: column; gap: .15rem; padding: .65rem .8rem .8rem; min-width: 0; }
.room-name { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.room-name svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.room-beds { font-size: .86rem; color: var(--ink); line-height: 1.35; }
.room-text {
  font-size: .82rem; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.room-body span { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }

/* ------------------------------ Schlafplatz-Liste --------------------- */
.bedlist {
  margin-top: 2rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.bedlist summary {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1.1rem; cursor: pointer; list-style: none;
  font-weight: 600;
}
.bedlist summary::-webkit-details-marker { display: none; }
.bedlist summary svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.bedlist summary::after {
  content: "+"; margin-left: auto; font-size: 1.35rem; line-height: 1; color: var(--green);
  transition: transform .2s;
}
.bedlist[open] summary::after { transform: rotate(45deg); }
.bedlist-count {
  background: var(--green-soft); color: var(--green-dark);
  border-radius: 999px; padding: .05rem .6rem; font-size: .85rem;
}
.bedlist-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.bedlist-table th, .bedlist-table td {
  text-align: left; vertical-align: top;
  padding: .55rem 1.1rem; border-top: 1px solid var(--line);
  overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto;
}
.bedlist-table thead th {
  font-size: .82rem; font-weight: 600;
  color: var(--muted); background: var(--bg);
}
.bedlist-table tbody th { font-weight: 600; }
.bedlist-table tbody th span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.bedlist-table .num { text-align: right; width: 4.5rem; }
.bedlist-group th, .bedlist-group td { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.bedlist-total { margin: 0; padding: .85rem 1.1rem 1rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--green-dark); }
@media (max-width: 560px) {
  .bedlist-table th, .bedlist-table td { padding: .5rem .65rem; font-size: .9rem; }
  .bedlist-table .num { width: 3.2rem; }
}

/* ------------------------------ Ausstattung --------------------------- */
.amenities {
  list-style: none; padding: 0; margin: .5rem 0 0;
  display: grid; gap: .55rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@container (min-width: 640px) { .amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.amenities li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.amenities svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.amenities span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }

/* ------------------------------ Lage & Ausflüge ---------------------- */
.map-wrap {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--green-soft);
  min-height: 300px; margin: 1.25rem 0 .6rem;
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-address { font-size: .9rem; color: var(--muted); }

.excursions {
  list-style: none; padding: 0; margin: 1.25rem 0 0;
  display: grid; column-gap: 2.25rem;
}
@container (min-width: 600px) { .excursions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.excursions li { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.excursion-dist {
  flex: none; width: 6.4rem; padding-top: .1rem;
  color: var(--muted); font-size: .88rem; font-weight: 600; line-height: 1.4;
}
.excursion-body { min-width: 0; }
.excursion-body strong { display: block; line-height: 1.35; }
.excursion-body span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* ------------------------------ Bewertungen --------------------------- */
.review-highlight {
  margin: 1.25rem 0 0; padding: 1.6rem 1.75rem;
  background: var(--green-soft); border-radius: var(--r-lg);
}
.review-highlight blockquote {
  margin: 0; font-weight: 700;
  font-size: clamp(1.1rem, 2.3vw, 1.4rem); line-height: 1.4;
  letter-spacing: -.015em; text-wrap: balance;
}
.review-highlight figcaption {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin-top: .9rem; color: var(--muted);
  font-size: .9rem; font-weight: 600;
}

.slider-wrap { position: relative; margin-top: 1.25rem; }
.slider-arrow {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  box-shadow: var(--shadow-md); font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--green); color: #fff; }
.slider-arrow-prev { left: -8px; }
.slider-arrow-next { right: -8px; }

.reviews-slider {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(330px, 82%);
  gap: 1rem; overflow-x: auto;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
}
.review-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.25rem 1.35rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.review-card h3 { font-size: 1rem; margin: 0; }
.review-card blockquote { margin: 0; }
.review-card blockquote p {
  color: var(--muted); margin: 0; font-size: .95rem;
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card footer { font-size: .88rem; color: var(--muted); margin-top: auto; padding-top: .35rem; }
.review-card footer strong { color: var(--ink); }
.slider-controls { text-align: center; margin-top: .6rem; }

/* ------------------------------ Preise -------------------------------- */
.price-table {
  width: 100%; border-collapse: collapse; margin-top: 1.25rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.price-table th, .price-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 600; }
.price-table .price-value { font-weight: 700; }
.price-table .price-note { display: block; color: var(--muted); font-size: .84rem; font-weight: 400; }
@media (max-width: 480px) {
  .price-table th, .price-table td { padding: .75rem .75rem; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
}

.discount-tiers {
  list-style: none; padding: 0; margin: .9rem 0 0;
  display: grid; gap: .55rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.discount-tiers li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .65rem .9rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.discount-tiers li span { color: var(--muted); font-size: .82rem; }
.discount-tiers li strong { color: var(--green-dark); font-size: 1.05rem; }
.discount-tiers li:first-child strong { color: var(--muted); font-weight: 600; font-size: .95rem; }

.price-notes { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .45rem; }
.price-notes li { display: flex; gap: .55rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.price-notes svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: .2rem; }

/* ------------------------------ Buchung (Smoobu) --------------------- */
.booking { margin-top: 1rem; }
.booking-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.2rem; margin-top: 1.25rem;
  overflow-x: auto;
}
.booking-block h4 { margin-bottom: .6rem; }
.cal-legend { color: var(--muted); font-size: .88rem; margin: -.2rem 0 .75rem; }
.cal-legend .chip {
  display: inline-block; width: 14px; height: 14px; border-radius: 4px;
  vertical-align: -2px; margin-right: .35rem;
}
.cal-legend .chip-booked { background: #e2606b; }
.cal-legend .chip-free { background: #fff; border: 1px solid var(--line); }

/* ------------------------------ FAQ ---------------------------------- */
.faq-list { margin-top: 1.25rem; display: grid; gap: .55rem; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.15rem; }
.faq-list summary {
  cursor: pointer; font-weight: 600; padding: .95rem 0;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.35rem; color: var(--green); transition: transform .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* ------------------------------ Kontakt ------------------------------ */
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.4rem; margin-top: 1.25rem;
}
.contact-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-phone { background: var(--green); color: #fff; }
.btn-phone:hover { background: var(--green-dark); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178a43; color: #fff; }
.btn-email { background: var(--green-soft); color: var(--green-dark); }
.btn-email:hover { background: #dde7e0; color: var(--green-dark); }
.contact-line { color: var(--muted); font-size: .92rem; margin: .9rem 0 1.25rem; overflow-wrap: anywhere; }
.operator-heart { font-weight: 600; margin-bottom: .3rem; }
.operator-block { color: var(--muted); font-size: .9rem; font-style: normal; line-height: 1.55; }

/* ------------------------------ Weitere Häuser ----------------------- */
.promo-head { text-align: center; }
.promo-head .section-intro { margin-inline: auto; }
.promo-logo { display: flex; justify-content: center; margin-bottom: 1rem; }
.promo-logo img { width: auto; height: 64px; }
.promo-slider {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(280px, 76%);
  gap: 1rem; overflow-x: auto;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
}
.promo-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.promo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--ink); }
.promo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.promo-title { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .75rem 1rem; font-weight: 700; font-size: .95rem; }
.promo-title span { color: var(--green); font-size: 1.2rem; }
.promo-cta-wrap { text-align: center; margin-top: 1.1rem; }

/* ------------------------------ Buchungskarte (sticky) --------------- */
.booking-card-wrap { display: none; }
@media (min-width: 1020px) {
  .booking-card-wrap { display: block; position: sticky; top: calc(var(--header-h) + 20px); margin-top: 2rem; }
}
.booking-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-md);
}
.booking-card .price-line { font-size: 1rem; margin-bottom: .25rem; }
.booking-card .price-line strong { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -.025em; }
.booking-card .price-line span { color: var(--muted); font-size: .92rem; }
.booking-note { color: var(--muted); font-size: .85rem; margin: 0 0 .6rem; }
/* Platz für den verschobenen Smoobu-Kalender */
.cal-slot { margin: 0 -4px; }
.cal-slot .calendarWidget { width: 100%; }
/* In der schmalen Karte nur einen Monat zeigen (blättern per Pfeile) */
.cal-slot .calendar.singleCalendarWidget.last { display: none; }
.booking-card .btn { width: 100%; margin-top: .75rem; }
.booking-hint { color: var(--muted); font-size: .78rem; margin: .6rem 0 0; text-align: center; }

/* Mobile Buchungsleiste unten */
.mobile-booking-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(23, 26, 24, .08);
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
}
.mobile-booking-bar .price { margin: 0; min-width: 0; }
.mobile-booking-bar .price strong { font-size: .98rem; display: block; line-height: 1.25; }
.mobile-booking-bar .price span { display: block; color: var(--muted); font-size: .78rem; }
.mobile-booking-bar .btn { white-space: nowrap; flex: none; padding: .7rem 1.1rem; }
@media (min-width: 1020px) { .mobile-booking-bar { display: none; } }
@media (max-width: 1019.9px) { body { padding-bottom: 74px; } }

/* ------------------------------ Footer ------------------------------- */
.site-footer {
  margin-top: 3.5rem; background: var(--green-dark); color: #e8e4da;
  padding: 2.5rem 0 5.5rem;
}
@media (min-width: 1020px) { .site-footer { padding-bottom: 2.5rem; } }
.footer-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; margin: 0 0 .4rem; }
.footer-tagline { max-width: 420px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.footer-copy { margin-top: 1.5rem; font-size: .85rem; color: #b9c4b4; }

/* =====================================================================
   VOLLBILD-ANSICHTEN (Foto-Tour, Foto-Ansicht, 3D-Rundgang)
   ===================================================================== */
dialog.overlay {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
}
dialog.overlay[open] { display: flex; flex-direction: column; }
dialog.overlay::backdrop { background: rgba(10, 14, 12, .6); }
.overlay-light { background: var(--bg); color: var(--ink); }
.overlay-dark { background: #0f1210; color: #eef0ec; }

.overlay-close {
  flex: none; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; padding: 0;
}
.overlay-close svg { width: 20px; height: 20px; }
.overlay-close:hover { background: var(--green-soft); }
.overlay-dark .overlay-close { background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.overlay-dark .overlay-close:hover { background: rgba(255, 255, 255, .25); }

/* --- Foto-Tour --- */
.overlay-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.overlay-title { flex: 1; margin: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.photos-index {
  display: flex; gap: .4rem; overflow-x: auto;
  padding: .6rem clamp(1rem, 4vw, 2rem);
  background: var(--surface); border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.photos-index::-webkit-scrollbar { display: none; }
.photos-index button {
  flex: none; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: .4rem .95rem; font-size: .9rem; font-weight: 600;
}
.photos-index button:hover { background: var(--green-soft); }
.photos-body { flex: 1; overflow-y: auto; padding: .5rem clamp(1rem, 4vw, 2rem) 3rem; }
.pt-floor { max-width: 1040px; margin: 0 auto; padding-top: 1.5rem; scroll-margin-top: .5rem; }
.pt-floor-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pt-room { margin-top: 1.4rem; }
.pt-room-head h4 { margin: 0; font-size: 1.02rem; }
.pt-room-head p { margin: .1rem 0 .6rem; color: var(--muted); font-size: .88rem; }
.pt-grid { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pt-grid button { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--green-soft); cursor: zoom-in; }
.pt-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.pt-grid button:hover img { transform: scale(1.04); }
/* Grundrisse ganz oben: immer drei nebeneinander, Plan vollständig sichtbar */
.pt-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .8rem; }
.pt-plans button { display: flex; flex-direction: column; border: 1px solid var(--line); background: #f3f6f8; }
.pt-plans img { object-fit: contain; padding: .35rem; }
.pt-plans button:hover img { transform: scale(1.02); }
.pt-plan-label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .45rem .4rem .5rem; background: #fff;
  font-size: .9rem; font-weight: 600; line-height: 1.25; color: var(--ink); text-align: center;
}
.pt-plan-label svg { width: 16px; height: 16px; color: var(--green); flex: none; }
@media (max-width: 480px) {
  .pt-plan-label { font-size: .78rem; }
  .pt-plan-label svg { display: none; }
}

/* --- Foto-Ansicht --- */
.viewer-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem clamp(.75rem, 3vw, 1.5rem);
}
.viewer-heading { flex: 1; min-width: 0; }
.viewer-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-sub { margin: 0; font-size: .82rem; color: #a9b3ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-count { margin: 0; font-size: .92rem; color: #d7ddd8; font-variant-numeric: tabular-nums; flex: none; }
.viewer-stage {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(.5rem, 6vw, 5rem);
  touch-action: pan-y pinch-zoom; user-select: none;
}
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.viewer-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 50px; height: 50px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 2rem; line-height: 1; display: grid; place-items: center; padding: 0 0 4px;
}
.viewer-nav:hover { background: rgba(255, 255, 255, .28); }
.viewer-nav[hidden] { display: none; }
.viewer-prev { left: clamp(.35rem, 1.5vw, 1rem); }
.viewer-next { right: clamp(.35rem, 1.5vw, 1rem); }
@media (max-width: 600px) { .viewer-nav { width: 40px; height: 40px; font-size: 1.6rem; background: rgba(0, 0, 0, .4); } }
.viewer-foot { padding: .6rem clamp(.75rem, 3vw, 1.5rem) calc(.9rem + env(safe-area-inset-bottom)); text-align: center; }
.viewer-caption { margin: 0 auto .6rem; max-width: 760px; font-size: .9rem; color: #cfd6d0; min-height: 1.4em; }
.viewer-caption a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.viewer-caption svg { width: 16px; height: 16px; }
.viewer-thumbs { display: flex; gap: .4rem; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.viewer-thumbs::-webkit-scrollbar { display: none; }
.viewer-thumbs button {
  flex: none; width: 64px; height: 48px; padding: 0;
  border: 2px solid transparent; border-radius: 7px; overflow: hidden;
  background: #222; opacity: .55; transition: opacity .2s;
}
.viewer-thumbs button:hover { opacity: .85; }
.viewer-thumbs button.active { border-color: #fff; opacity: 1; }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* --- 3D-Rundgang --- */
.tour-stage { position: relative; flex: 1; min-height: 0; }
.tour-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-start { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.tour-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 18, 16, .35), rgba(15, 18, 16, .82)); }
.tour-start-inner { position: relative; z-index: 1; max-width: 560px; padding: 1.5rem; text-align: center; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
.tour-start-inner .btn { text-shadow: none; }
.tour-text { font-size: 1.05rem; margin-bottom: 1.25rem; text-wrap: balance; }
.tour-go { font-size: 1.05rem; padding: .9rem 1.6rem; }
.tour-go svg { width: 22px; height: 22px; }
.tour-privacy { margin: 1.1rem 0 0; font-size: .82rem; color: #d5dbd6; }
.tour-privacy a { color: #fff; }

/* ------------------------------ Reduzierte Bewegung ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------ Für Firmen (Teaser) -------------------- */
.business {
  display: grid; gap: 1.1rem; align-items: center;
  background: var(--green-soft); border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem;
}
@container (min-width: 700px) { .business { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; } }
.business h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: .45rem; }
.business > div > p { color: var(--muted); margin: 0 0 .9rem; max-width: 52ch; }
.business .floor-chips li { background: #fff; color: var(--green-dark); }
/* Zahlen-Kacheln auf der Firmen-Seite: drei nebeneinander statt vier */
@container (min-width: 640px) { .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Bildreihe oben auf der Firmen-Seite: sechs gleich große Kacheln */
.lead-gallery { display: grid; gap: .8rem; margin-top: 1.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 760px) { .lead-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lead-gallery figure { margin: 0; min-width: 0; }
.lead-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.lead-gallery figcaption { color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: .4rem; }
/* Klickbare Kacheln der Firmen-Seite */
.lead-tile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; }
.lead-tile img { transition: transform .4s ease; }
.lead-tile:hover img { transform: scale(1.04); }
.lead-count {
  position: absolute; left: .5rem; bottom: .5rem;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(20, 41, 31, .82); color: #fff;
  border-radius: 999px; padding: .2rem .6rem .2rem .45rem;
  font-size: .76rem; font-weight: 600;
}
.lead-count:empty { display: none; }
.lead-count svg { width: 14px; height: 14px; }

/* ------------------------------ Feinschliff --------------------------- */
/* Zahlen groß setzen: die Zahl ist die Botschaft */
.numbers .highlight { padding: 1.1rem 1.15rem 1.2rem; }
.numbers .highlight strong {
  font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em;
  overflow-wrap: normal; hyphens: manual; -webkit-hyphens: manual;
}
@container (max-width: 560px) { .numbers .highlight strong { font-size: 1.2rem; } }
.numbers .highlight span { font-size: .92rem; }

/* Großes Einstiegsbild mit Text darauf (Firmen-Seite) */
.page-hero {
  position: relative; isolation: isolate;
  margin-top: 1.5rem; border-radius: var(--r-lg); overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 52vw, 560px);
  color: #fff; background: #0f1210;
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 12, .2) 0%, rgba(10, 14, 12, .5) 42%, rgba(10, 14, 12, .92) 100%);
}
.page-hero-text { padding: clamp(1.25rem, 4vw, 2.5rem); max-width: 46rem; }
.page-hero-text .eyebrow { color: #d7e0d8; }
.page-hero-text h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .35em; color: #fff; }
.page-hero-text p { font-size: clamp(1rem, 1.6vw, 1.12rem); color: #e4e9e4; max-width: 46ch; margin-bottom: 1.3rem; }
.page-hero .hero-actions { gap: .6rem; }

/* Abschnitte beim Scrollen sanft einblenden */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .reveal { opacity: 0; transform: translateY(12px); }
  html.js-reveal .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .55s ease, transform .55s ease;
  }
}
/* Beim Drucken ist alles sichtbar */
@media print {
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

/* Smoobu-Kalender in der Buchungskarte kompakter darstellen.
   Nur Abstände des eingebetteten Widgets – an der Einbettung selbst
   (IDs, URLs, data-verification) wird nichts verändert. */
.cal-slot .multiCalendarWidget,
#booking-calendar-block .multiCalendarWidget { padding-top: 4px !important; }
.cal-slot .calendar.singleCalendarWidget,
#booking-calendar-block .calendar.singleCalendarWidget { margin-left: 0 !important; margin-right: 0 !important; }
.cal-slot .logo,
#booking-calendar-block .logo { margin: 10px 0 0 !important; }
