/* =========================================================================
   Hotel & Restaurant Sonne-Post – styles.css
   Mobile-First · reines CSS mit Custom Properties · keine externen CDNs
   ========================================================================= */

/* ---------- Lokale Schriften (woff2 aus assets/fonts) ----------
   Die Dateien Fraunces.woff2 und Inter.woff2 bitte in public/assets/fonts/
   ablegen. Sobald sie dort liegen, greift das Design automatisch.
   font-display: swap -> Text bleibt sofort sichtbar. */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-Italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farbwelt */
  --forest: #15476e;
  --forest-deep: #0f3252;
  --amber: #38a6df;
  --amber-deep: #1c82bb;
  --cream: #eef5fb;
  --cream-deep: #dfeaf5;
  --ink: #212d38;
  --ink-soft: #556472;
  --white: #ffffff;
  --line: rgba(21, 71, 110, 0.12);

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Maße */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Schatten */
  --shadow-sm: 0 2px 8px rgba(15, 50, 82, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 50, 82, 0.1);
  --shadow-lg: 0 26px 60px rgba(15, 50, 82, 0.16);

  /* Abstände */
  --section-y: 4.5rem;

  --header-h: 90px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%; /* iOS: keine ungewollte Textvergrößerung im Querformat */
  overflow-x: hidden;
  overflow-wrap: break-word;      /* lange Wörter/URLs brechen statt zu überlaufen */
}

/* Lange deutsche Komposita auf schmalen Screens sauber trennen */
h1, h2, h3 { overflow-wrap: break-word; }
.hero-lead,
.section-lead,
.card-text,
.trust-item p,
.feature-card p,
.accordion-content p { hyphens: auto; }

/* Scroll-Anker unter dem Sticky-Header */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

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

a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

p { margin: 0 0 1rem; }

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

.container.narrow { max-width: var(--maxw-narrow); }

/* Rechtstexte (Impressum / Datenschutz) */
.legal-page h1 { margin-bottom: 1.4rem; }
.legal-page h2 {
  margin: 2.2rem 0 0.85rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  color: var(--forest-deep);
}
.legal-page h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.05rem;
  color: var(--forest-deep);
}
.legal-page h4 {
  margin: 1.15rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.legal-page p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-page ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-page li { margin-bottom: 0.4rem; }
.legal-page a { color: var(--amber-deep); font-weight: 600; }
.legal-page a:hover { color: var(--forest); }
.legal-page .legal-caps {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

/* Lange Rechtstexte: komplette DE/EN-Fassungen per html[lang] umschalten */
.legal-lang-en { display: none; }
html[lang="en"] .legal-lang-de { display: none; }
html[lang="en"] .legal-lang-en { display: block; }

/* Skip-Link für Tastatur/Screenreader */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest-deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 1100;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  text-decoration: none;
  max-width: 100%;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--amber);
  color: var(--forest-deep);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--amber-deep); color: var(--white); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--forest-deep);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--white); border-color: var(--forest); box-shadow: var(--shadow-sm); }

/* Booking.com-Button (statischer externer Link, kein Widget/Tracking) */
.btn-booking {
  background: #0071c2;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-booking:hover { background: #00487a; color: var(--white); box-shadow: var(--shadow-md); }
.booking-mark { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(226, 238, 248, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--amber);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 0.2rem 0.35rem;
  object-fit: contain;
}
.brand-sun { color: var(--amber); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--forest-deep);
}
.brand-sub { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.02em; }

/* Navigation (Desktop) */
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--forest-deep);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.4rem 0;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width 0.2s ease;
}
.nav-list a:hover { text-decoration: none; }
.nav-list a:hover::after { width: 100%; }

/* Header-Aktionen (Sprachumschalter + Burger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Sprachumschalter DE / EN */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
}
.lang-toggle .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-toggle .lang-opt.is-active {
  background: var(--forest-deep);
  color: var(--white);
}

/* Burger */
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
}
/* Signature: Sonnen-Glow oben rechts */
.hero-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(56, 166, 223, 0.42) 0%,
    rgba(56, 166, 223, 0.18) 38%,
    rgba(56, 166, 223, 0) 70%
  );
  filter: blur(4px);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 0.75rem;
}
.hero h1 { margin-bottom: 0.6rem; }
.hero h1 em {
  font-style: italic;
  color: var(--amber-deep);
}
.hero-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* ---------- Media-Platzhalter ---------- */
.media-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      45deg,
      var(--cream-deep),
      var(--cream-deep) 14px,
      #d8e6f3 14px,
      #d8e6f3 28px
    );
  border: 2px dashed rgba(28, 130, 187, 0.5);
  color: var(--amber-deep);
  min-height: 220px;
  overflow: hidden;
}
.media-ph-label {
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(226, 238, 248, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  text-align: center;
}
.hero-media { min-height: clamp(240px, 42vw, 420px); box-shadow: var(--shadow-md); }

/* Echtes Hero-Bild (figure ohne Platzhalter) */
.hero-media:not(.media-ph) {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 42vw, 420px);
  object-fit: cover;
  display: block;
}

/* ---------- Trust-Bar ---------- */
.trustbar {
  background: var(--forest-deep);
  color: var(--cream);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 2.25rem;
}
.trust-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust-icon { line-height: 0; color: var(--amber); flex: none; }
.trust-icon svg { width: 30px; height: 30px; }
.trust-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
}
.trust-item p { margin: 0; color: rgba(226, 238, 248, 0.8); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--cream-deep); }
.section-head { max-width: 60ch; margin-bottom: 2.25rem; }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); }

.note {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Leistungen / Inklusive & Service */
.amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.amenities li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.amenity-icon { line-height: 0; flex: none; color: var(--amber-deep); }
.amenity-icon svg { width: 24px; height: 24px; display: block; }
@media (min-width: 600px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .amenities { grid-template-columns: repeat(3, 1fr); } }

/* Bewertungen */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.review-source {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.review-score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1;
}
.review-max { font-size: 1rem; color: var(--ink-soft); font-family: var(--font-body); }
.review-stars { color: var(--amber); font-size: 1.2rem; letter-spacing: 0.1em; }
.review-count { font-size: 0.88rem; color: var(--ink-soft); }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* Impressionen-Galerie (Bad, Dusche, Lounge, u.a.) – horizontal wischbarer
   Filmstreifen statt hoher gestapelter Raster: nimmt nur eine Zeile Platz
   ein, alle Bilder bleiben per Wisch-/Scrollgeste erreichbar. */
.impressions {
  margin-top: 1.5rem;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 0.75rem;
  height: 300px;
}
.impressions figure {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.impressions img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .impressions { height: 220px; }
}

/* CTA-Zeile unter den Zimmerkarten (Booking-Button + Check-in-Hinweis) */
.rooms-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
}
.rooms-cta .note { margin-top: 0; }

/* Aktions-Buttons im Kontaktbereich (Route + Booking) */
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.pills li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ---------- Karten-Grids ---------- */
/* Basis (Zimmer-Karten): mobil EINspaltig untereinander – die Karten tragen
   viel Text und würden zu zweit nebeneinander unleserlich gequetscht.
   Die kleinen Kachel-Varianten (-2/-3/-4: Öffnungszeiten, PDFs, Region)
   bleiben auch mobil 2er-Kacheln nebeneinander. */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.cards-grid-2,
.cards-grid-3,
.cards-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}
/* Grid-Kinder dürfen ohne dies nicht unter ihre Inhaltsbreite schrumpfen
   (CSS-Grid-Default min-width:auto) -> auf schmalen Handys sprengte das den
   Viewport und die ganze Seite wurde horizontal scrollbar. min-width:0
   erlaubt Text-Umbruch statt Überlauf, das Layout bleibt fix. */
.cards-grid > *,
.reviews > *,
.amenities > li,
.pdf-list > li {
  min-width: 0;
}

/* Zimmer-Karten */
.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; min-height: 200px; overflow: hidden; }
.card-media.media-ph { border-radius: 0; border: none; border-bottom: 2px dashed rgba(28, 130, 187, 0.4); }
.card-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-text { color: var(--ink-soft); font-size: 0.96rem; }
.price { margin-top: auto; padding-top: 0.5rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest-deep);
}
.price-unit { color: var(--ink-soft); font-size: 0.9rem; }

.badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 2;
  background: var(--amber);
  color: var(--forest-deep);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

/* Feature-Karten (Region) */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { display: block; margin-bottom: 0.7rem; line-height: 0; color: var(--amber-deep); }
.feature-icon svg { width: 34px; height: 34px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Split (Restaurant) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.split-media { min-height: clamp(240px, 50vw, 380px); box-shadow: var(--shadow-sm); }

/* Restaurant-Galerie – wie .impressions ein horizontal wischbarer
   Filmstreifen (siehe Begründung dort). */
.split-gallery {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 0.75rem;
  height: 340px;
}
.split-gallery figure {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.split-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .split-gallery { height: 240px; }
}

/* Sonntags-Brunch-Block innerhalb der Restaurant-Sektion */
.restaurant-brunch { margin-top: var(--section-y); }

/* Aktions-Banner: vollständig, ungeschnitten (natürliches Seitenverhältnis) */
.promo-banner {
  margin: 2rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-banner-narrow {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 1.5rem;
}
.dates-label {
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 0 0.6rem;
}

/* Über-uns-Bilder (Eingang + Empfang) */
.about-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.about-media figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

/* ---------- Accordion ---------- */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-header { margin: 0; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  text-align: left;
  min-height: 56px;
}
.accordion-trigger:hover { background: var(--cream); }
.accordion-icon {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--amber-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.accordion-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.accordion-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: scaleY(0); opacity: 0; }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.accordion-content p { margin: 0; }

/* ---------- Öffnungszeiten-Tabellen ---------- */
.hours-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.hours-card h3 { margin-bottom: 0.8rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.hours-table th { font-weight: 500; color: var(--ink); }
.hours-table td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .is-closed td { color: var(--amber-deep); font-weight: 600; }

/* Gemeinsame Öffnungszeiten-Tabelle: Tag | Hotel & Restaurant | Küche.
   table-layout:fixed + zentrierte Zeitspalten mit fester Breite, damit die
   beiden Zeitangaben sauber getrennt unter ihren Überschriften stehen. */
.hours-card-combined { max-width: 760px; margin-inline: auto; }
.hours-table-combined { table-layout: fixed; }
.hours-table-combined thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--forest-deep);
  text-align: center;
  padding: 0 0.35rem 0.7rem;
  border-bottom: 2px solid var(--line);
  overflow-wrap: anywhere;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.hours-table-combined thead th:first-child { width: 26%; text-align: left; padding-left: 0; }
.hours-table-combined td {
  text-align: center;
  white-space: nowrap;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-info h3 { margin-bottom: 0.8rem; }
.contact-address { font-style: normal; line-height: 1.8; color: var(--ink); }
.map-ph { min-height: 220px; margin: 1.25rem 0; }
.map-ph:not(.media-ph) {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-ph img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

/* Formular */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.1rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.35rem; }
.optional { color: var(--ink-soft); font-weight: 400; }
.req { color: var(--amber-deep); }

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  min-height: 48px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
/* iOS/Safari rendert date/time/number sonst mit eigenem Chrome und eigener
   intrinsischer Breite -> Felder ungleich lang. appearance:none erzwingt
   überall die identische Feld-Optik und -Breite. */
.field input[type="date"],
.field input[type="time"],
.field input[type="number"] {
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="date"]::-webkit-date-and-time-value,
.field input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(56, 166, 223, 0.18);
}
.field input[aria-invalid="true"],
.field-check input[aria-invalid="true"] { border-color: #c0392b; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.5rem 0 1.25rem;
}
.field-check input {
  width: 22px; height: 22px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--amber-deep);
  cursor: pointer;
}
.field-check label { font-size: 0.92rem; line-height: 1.5; }

.contact-form .btn { width: 100%; }
/* Reload-Knopf im Captcha darf NICHT 100% breit werden – sonst
   quetscht er das Zahlenfeld auf wenige Pixel (Eingabe unsichtbar). */
.contact-form .captcha-row .btn { width: auto; }

.form-status {
  margin: 1rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.form-status.is-error { color: #c0392b; }
.form-status.is-success { color: var(--forest); }

/* Honeypot gegen Spam-Bots – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Captcha (Rechenaufgabe) – DSGVO-freundlich, ohne Google/Cloudflare */
.captcha-field {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 0.95rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(238, 245, 251, 0.55);
}
.captcha-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.captcha-row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}
.captcha-row input {
  flex: 1 1 auto;
  min-width: 6.5rem;
  max-width: 12rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.04em;
  background: var(--white);
  color: var(--ink);
}
.captcha-row input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(56, 166, 223, 0.18);
}
.captcha-row input[aria-invalid="true"] {
  border-color: #c0392b;
}
.captcha-reload {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  min-height: 48px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 12px;
}
.captcha-hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(226, 238, 248, 0.82);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 0.6rem;
}
.footer-address { font-style: normal; line-height: 1.8; }
.footer-address a,
.footer-links a { color: var(--cream); }
.footer-title { font-size: 1rem; color: var(--white); margin-bottom: 0.6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(226, 238, 248, 0.18);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.copyright { margin: 0; font-size: 0.9rem; }
.powered { margin: 0; font-size: 0.9rem; }
.powered a { color: #22b8e0; font-weight: 600; }

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive – ab Tablet / Desktop
   ========================================================================= */
@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  :root { --section-y: 5.5rem; }
}

@media (min-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }

  .footer-grid { grid-template-columns: 2fr 1fr; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .cards-grid-4 .feature-card { padding: 1.75rem; }
}

/* =========================================================================
   Mobile-Navigation (Burger) – bis 899px
   ========================================================================= */
@media (max-width: 899px) {
  /* WICHTIG: backdrop-filter (Blur im Header) macht den Header laut CSS-Spec
     zum Bezugsrahmen für position:fixed-Kinder. Das Overlay-Menü richtete
     sich dadurch am Header statt am Bildschirm aus und war beim Scrollen
     kaputt (kollabierte Höhe). Auf Mobilgeräten daher solide Fläche statt
     Blur – damit ist der Bezugsrahmen wieder der Viewport. */
  .site-header,
  .site-header.is-scrolled,
  .site-header.header-transparent {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--cream);
  }

  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    height: auto;
    max-height: none;
    z-index: 999;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    background: var(--cream);
    padding: 1.5rem 1.25rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 1.1rem;
    min-height: 48px;
  }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 1.5rem; width: 100%; }
}

/* =========================================================================
   Handy-Optimierung – kompakter, größere Tap-Flächen, kein Überlauf
   ========================================================================= */
@media (max-width: 600px) {
  :root {
    --header-h: 76px;
    --section-y: 3.25rem;
    --radius-lg: 20px;
  }

  .container { padding-inline: 1rem; }
  .header-inner { gap: 0.5rem; }
  .brand-logo { height: 60px; }

  /* Wichtige CTAs füllen die Breite -> große, sichere Tap-Flächen */
  .hero-actions,
  .rooms-cta,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .rooms-cta .btn,
  .contact-actions .btn { width: 100%; }
  .rooms-cta .note { text-align: center; margin-top: 0.25rem; }

  /* Etwas kompaktere Überschriften-Blöcke */
  .section-head { margin-bottom: 1.75rem; }
  .trust-grid { padding-block: 1.75rem; }

  /* Karten/Bilder etwas niedriger, damit weniger gescrollt werden muss */
  .card-media, .card-media img { min-height: 170px; }
}

@media (max-width: 400px) {
  /* An-/Abreise untereinander, damit die Datumsfelder genug Platz haben */
  .field-row { grid-template-columns: 1fr; }
  .split-gallery, .impressions { height: 190px; }
}

/* =========================================================================
   prefers-reduced-motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   CMS-Bloecke: Wochen-Aktionen & Brunch-Termine (Text-Variante)
   Werden vom Server aus content.json erzeugt (siehe server.js).
   Optik an Karten/Promo-Banner des restlichen Designs angelehnt.
   ========================================================================= */

/* --- Wochen-Aktionen als Textkarten --- */
.aktionen-block {
  margin-top: 8px;
}
.aktionen-heading,
.brunch-termine-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  color: var(--forest);
  text-align: center;
  margin: 0 0 22px;
}
.aktionen-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.aktion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aktion-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
}
.aktion-info {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.aktion-price {
  margin-top: 6px;
  font-weight: 600;
  color: var(--amber-deep);
  font-size: 1.1rem;
}

/* --- Brunch-Termine als Pillen --- */
.brunch-termine {
  text-align: center;
  margin: 8px auto 0;
  max-width: var(--maxw-narrow);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
}
.termine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.termine-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 600;
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}
.termine-empty {
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Feiern & Tagungen: PDF-Listen ---------- */
.raum-downloads { margin-top: 2rem; }
.raum-downloads .feature-card { text-align: left; }
.raum-downloads .feature-card h3 { margin: 0 0 0.75rem; }

/* Aufklappbare Bestuhlungs-Bereiche: untereinander, kompakt geschlossen */
.pdf-accordions {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin-inline: auto;
}
.pdf-toggle { padding: 0; overflow: hidden; }
.pdf-toggle summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--forest-deep);
  -webkit-tap-highlight-color: transparent;
}
.pdf-toggle summary::-webkit-details-marker { display: none; }
.pdf-toggle summary::after {
  content: "▾";
  color: var(--amber-deep);
  flex: none;
  transition: transform 0.2s ease;
}
.pdf-toggle[open] summary::after { transform: rotate(180deg); }
.pdf-toggle .pdf-list { padding: 0 1.25rem 1.15rem; }
.pdf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pdf-list li { margin: 0; }
.pdf-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--amber-deep);
  font-weight: 600;
  font-size: 0.92rem;
}
.pdf-list a::before {
  content: "PDF";
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--amber);
  padding: 0.12rem 0.3rem;
  border-radius: 4px;
  flex: none;
}

/* =========================================================================
   ÜBERARBEITUNG 2026 – Nav, Direktbuchung, Team, Formulare, Popup
   ========================================================================= */

/* Prominente Haupt-Navigation (3 Bereiche) */
.nav-list .nav-main > a { font-weight: 800; font-size: 1.05rem; color: var(--forest-deep); white-space: nowrap; }
.nav-list .nav-main > a:hover { color: var(--amber-deep); }
.nav-cta { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.92rem; }
.btn-lg { min-height: 54px; font-size: 1.05rem; padding: 0.85rem 1.9rem; }

/* Direktbuchungs-Band */
.booking-cta {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.booking-cta-inner { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: center; }
@media (min-width: 820px) { .booking-cta-inner { grid-template-columns: 1.3fr 1fr; gap: 2rem; } }
.booking-cta h3 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); margin: 0 0 0.8rem; }
.booking-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.booking-benefits li { position: relative; padding-left: 1.9rem; color: rgba(226, 238, 248, 0.92); }
.booking-benefits li::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.9rem no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.9rem no-repeat;
}
.booking-cta-action { text-align: center; }
.booking-cta-action .btn { width: 100%; }
.booking-cta-action .note { color: rgba(226, 238, 248, 0.78); margin: 0.7rem 0 0; }

/* Verpflegungs-Zeile in Zimmerkarten */
.card-catering { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 0.6rem; }

/* Management & Team */
.team-block { margin-top: 1.5rem; }
.team-intro { max-width: 60ch; margin: 0 auto 2rem; text-align: center; color: var(--ink-soft); font-size: 1.05rem; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-member { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.team-photo { margin: 0; aspect-ratio: 4 / 3; min-height: 0; border-radius: 0; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-info { padding: 1.1rem 1.3rem 1.4rem; }
.team-name { margin: 0 0 0.15rem; font-size: 1.2rem; }
.team-role { margin: 0 0 0.7rem; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber-deep); }
.team-desc { margin: 0 0 0.8rem; font-size: 0.95rem; color: var(--ink-soft); }
.team-contact { margin: 0; font-size: 0.9rem; }
.team-contact a { color: var(--amber-deep); font-weight: 600; }

/* Formular-Karten (Tisch & Veranstaltung) */
.form-card { max-width: var(--maxw-narrow); margin: 2rem auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.form-card > h3 { margin-top: 0; }
.form-hint { background: var(--cream-deep); border-radius: var(--radius); padding: 0.7rem 0.95rem; font-size: 0.9rem; color: var(--forest-deep); margin: 0 0 1.2rem; }

/* Dezentes Popup unten rechts */
.promo-popup {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1200;
  width: min(360px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: auto;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.2rem 1.2rem;
  opacity: 0; transform: translateY(14px); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.promo-popup.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.promo-popup[hidden] { display: none; }
.promo-popup h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.promo-popup p { margin: 0 0 0.9rem; font-size: 0.9rem; color: var(--ink-soft); }
.promo-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.promo-actions .btn { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9rem; }
.promo-close { position: absolute; top: 0.45rem; right: 0.45rem; width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink-soft); font-size: 1.5rem; line-height: 1; border-radius: 50%; cursor: pointer; }
.promo-close:hover { background: var(--cream-deep); color: var(--forest-deep); }
@media (prefers-reduced-motion: reduce) { .promo-popup { transition: none; } }
.booking-cta-link { margin: 0.5rem 0 0; }
.booking-cta-link a { color: #fff; font-size: 0.85rem; text-decoration: underline; opacity: 0.9; }
.booking-cta-link a:hover { opacity: 1; }

/* Zentrale Team-Kontaktzeile (ohne Fotokarten) */
.team-contact-central { text-align: center; margin-top: 1.25rem; color: var(--ink-soft); }

/* =========================================================================
   PREMIUM-EFFEKTE – dezente Mikro-Interaktionen & Feinschliff
   (respektiert prefers-reduced-motion über den globalen Reduce-Block)
   ========================================================================= */

/* Markenfarbe für Textauswahl */
::selection { background: rgba(56, 166, 223, 0.28); }

/* ---------- Header: verdichtet sich beim Scrollen ---------- */
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.is-scrolled {
  background: rgba(238, 245, 251, 0.96);
  box-shadow: 0 8px 24px rgba(15, 50, 82, 0.1);
}
.brand-logo { transition: height 0.25s ease; }
.site-header.is-scrolled .brand-logo { height: 60px; }

/* Aktiver Bereich in der Navigation (Scrollspy) */
.nav-list a.is-current { color: var(--amber-deep); }
.nav-list a.is-current::after { width: 100%; }

/* ---------- Überschriften: feiner Akzentbalken ---------- */
.section-head h2 { position: relative; padding-bottom: 0.55rem; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
}

/* ---------- Hero: lebendiger Glow + edles Bild ---------- */
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50%      { transform: translate(-20px, 14px) scale(1.06); opacity: 1; }
}
.hero-glow { animation: glowFloat 10s ease-in-out infinite; }
.hero-media { transition: transform 0.5s ease, box-shadow 0.5s ease; }
@media (hover: hover) {
  .hero-media:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}

/* ---------- Gestaffelte Einblendungen (Reveal-Kaskade) ---------- */
.trust-grid .reveal:nth-child(2),
.cards-grid .reveal:nth-child(2) { transition-delay: 0.09s; }
.trust-grid .reveal:nth-child(3),
.cards-grid .reveal:nth-child(3) { transition-delay: 0.18s; }
.cards-grid .reveal:nth-child(4) { transition-delay: 0.27s; }

/* ---------- Karten: sanftes Anheben + Bild-Zoom ---------- */
@media (hover: hover) {
  .room-card, .feature-card, .hours-card, .review-card, .aktion-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .room-card:hover, .feature-card:hover, .hours-card:hover,
  .review-card:hover, .aktion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  .card-media img, .split-gallery figure img, .impressions figure img {
    transition: transform 0.55s ease;
  }
  .room-card:hover .card-media img { transform: scale(1.05); }
  .split-gallery figure:hover img,
  .impressions figure:hover img { transform: scale(1.045); }
}

/* ---------- Buttons: dezenter Glanz-Sweep ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }

/* Haupt-Buchungs-CTA: sehr dezenter Puls */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 166, 223, 0.35); }
  60%      { box-shadow: 0 0 0 14px rgba(56, 166, 223, 0); }
}
.booking-cta-action .btn { animation: ctaPulse 3.4s ease-out infinite; }

/* ---------- Bilder: sanftes Einblenden nach dem Laden ---------- */
.lazy-fade { opacity: 0; transition: opacity 0.6s ease; }
.lazy-fade.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lazy-fade { opacity: 1; } }

/* ---------- „Nach oben"-Button (links unten, Popup bleibt rechts) ---------- */
.to-top {
  position: fixed;
  left: 1rem; bottom: 1rem;
  z-index: 1100;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest-deep);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--cream-deep); }

/* =========================================================================
   HERO 2.0 – große Bühne: Aurora, Gradient-Headline, Foto-Stack, Rating
   ========================================================================= */
.hero { position: relative; overflow: hidden; }

/* Zweiter, gegenläufiger Licht-Blob unten links (Aurora-Effekt) */
.hero-glow-2 {
  top: auto; right: auto;
  bottom: -220px; left: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(
    circle at center,
    rgba(28, 130, 187, 0.32) 0%,
    rgba(28, 130, 187, 0.14) 40%,
    rgba(28, 130, 187, 0) 70%
  );
  animation: glowFloat2 13s ease-in-out infinite;
}
@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50%      { transform: translate(24px, -16px) scale(1.08); opacity: 1; }
}

/* Größere, edlere Headline – „wo" als Farbverlauf */
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.01em; }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(115deg, var(--amber) 10%, var(--amber-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--amber-deep);            /* Fallback */
  -webkit-text-fill-color: transparent;
}

/* Inszenierter Einstieg: Textzeilen erscheinen nacheinander */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > * { animation: heroUp 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.44s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.58s; }
.hero-stack { animation: heroUp 1s cubic-bezier(0.22, 0.8, 0.3, 1) 0.35s both; }

/* Vertrauens-Badges */
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-deep);
  box-shadow: var(--shadow-sm);
}
.hero-badge .star { color: #f2a71b; }

/* Foto-Stack: großes Stimmungsbild + schwebende Karten */
.hero-stack { position: relative; margin-bottom: 1.25rem; }
/* Außenansicht groß im Querformat (entspricht dem Bildformat 3:2) */
.hero-media-main {
  aspect-ratio: 3 / 2;
  min-height: clamp(280px, 36vw, 500px);
}
.hero-media-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-media-front {
  position: absolute;
  left: -12%;
  bottom: -10%;
  width: 74%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: floatY 7s ease-in-out infinite;
}
.hero-media-front img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-rating {
  position: absolute;
  top: -18px;
  right: -12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem 0.95rem;
  box-shadow: var(--shadow-md);
  animation: floatY 9s ease-in-out infinite reverse;
}
.hero-rating-stars { color: #f2a71b; letter-spacing: 2px; font-size: 0.95rem; }
.hero-rating-score { font-weight: 800; color: var(--forest-deep); font-size: 1.05rem; line-height: 1.1; }
.hero-rating-src { font-size: 0.72rem; color: var(--ink-soft); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Scroll-Hinweis (Maus-Silhouette mit wanderndem Punkt) */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 30px;
  height: 48px;
  border: 2px solid rgba(21, 71, 110, 0.35);
  border-radius: 999px;
  display: block;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 5px;
  height: 9px;
  margin-left: -2.5px;
  border-radius: 3px;
  background: var(--amber-deep);
  animation: cueDrop 1.9s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

/* Mobil: Stack vereinfachen, Cue ausblenden */
@media (max-width: 640px) {
  .hero-media-front { display: none; }
  .hero-stack { margin-bottom: 1rem; }
  .hero-rating { top: auto; bottom: -14px; right: 10px; }
}
@media (max-width: 900px) {
  .scroll-cue { display: none; }
}

/* =========================================================================
   LIGHTBOX – Bilder anklicken & groß ansehen (Vanilla, ohne Bibliothek)
   ========================================================================= */
.lb-zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2.5rem);
  background: rgba(10, 30, 48, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; }

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.is-open .lightbox-figure { transform: none; }

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #0a1e30;
}
.lightbox-caption {
  color: rgba(226, 238, 248, 0.9);
  font-size: 0.9rem;
  text-align: center;
  max-width: 70ch;
}
.lightbox-counter {
  color: rgba(226, 238, 248, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* Bedienknöpfe */
.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.06); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
  .lightbox-img { max-height: 74vh; }
}
body.lb-locked { overflow: hidden; }
.lightbox[hidden] { display: none; }

/* Logo im Popup */
.promo-logo {
  height: 58px;
  width: auto;
  margin: 0 0 0.6rem;
  border-radius: 8px;
  display: block;
}

/* =========================================================================
   ZIMMERKARTEN – einheitliches Layout trotz unterschiedlicher Fotoformate
   ========================================================================= */
.room-card { display: flex; flex-direction: column; }
/* Alle Zimmerbilder im gleichen 3:2-Ausschnitt (Hochformate werden mittig beschnitten) */
.room-card .card-media { aspect-ratio: 3 / 2; min-height: 0; }
.room-card .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
/* Inhalte gleichmäßig: Verpflegung + Preis immer bündig am Kartenende */
.room-card .card-body { flex: 1; display: flex; flex-direction: column; }
.room-card .card-catering { margin-top: auto; padding-top: 0.6rem; }
.room-card .price { margin-bottom: 0; }

/* =========================================================================
   HERO IMMERSIV – Außenansicht als vollflächiges Hintergrundbild
   ========================================================================= */
.hero-immersive {
  min-height: clamp(560px, 80vh, 840px);
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(4.5rem, 11vh, 7rem);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Kontrast-Overlay: links dunkler (Text), rechts Bild sichtbar, unten Verlauf */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(10, 30, 48, 0.86) 0%,
      rgba(10, 30, 48, 0.62) 42%,
      rgba(10, 30, 48, 0.18) 72%,
      rgba(10, 30, 48, 0.32) 100%),
    linear-gradient(0deg, rgba(10, 30, 48, 0.55) 0%, rgba(10, 30, 48, 0) 34%);
}

.hero-immersive .hero-inner {
  position: static; /* Rating-Karte positioniert sich relativ zur ganzen Hero-Fläche */
  display: block;
}
.hero-immersive .hero-copy { max-width: 660px; }

/* Helle Typografie auf dem Bild */
.hero-immersive .eyebrow { color: #9ed3f0; }
.hero-immersive h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-immersive h1 em {
  background: linear-gradient(115deg, #8fd0f2 10%, var(--amber) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--amber);
  -webkit-text-fill-color: transparent;
}
.hero-immersive .hero-lead { color: rgba(226, 238, 248, 0.94); max-width: 52ch; }

/* Buttons/Badges auf dunklem Grund */
.hero-immersive .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-immersive .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}
.hero-immersive .hero-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Bewertungs-Karte: oben links auf dem Bild, statisch (keine Bewegung),
   mit Abstand über der Überzeile */
.hero-immersive .hero-rating {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  top: auto;
  animation: none; /* nicht schweben */
}
@media (min-width: 900px) {
  .hero-immersive .hero-rating {
    left: 28%;
    top: 12%;
    right: auto;
    bottom: auto;
  }
}
@media (max-width: 640px) {
  .hero-immersive { min-height: 72vh; }
  .hero-immersive .hero-rating { position: static; display: inline-flex; margin-top: 1.2rem; }
}

/* Scroll-Cue in Weiß */
.hero-immersive .scroll-cue { border-color: rgba(255, 255, 255, 0.55); }
.hero-immersive .scroll-cue::before { background: #fff; }

/* =========================================================================
   TRANSPARENTER HEADER ÜBER DEM HERO
   (Logo + Navigation liegen auf dem Bild; beim Scrollen kommt der helle
   Header zurück – gesteuert über .header-transparent aus script.js)
   ========================================================================= */
.site-header.header-transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (min-width: 900px) {
  .site-header.header-transparent .nav-list a {
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
  }
  .site-header.header-transparent .nav-list a.is-current { color: #9ed3f0; }
}
.site-header.header-transparent .brand-logo {
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  background: #fff;
}

/* Hero beginnt hinter dem Header (Bild läuft bis ganz nach oben) */
.hero-immersive {
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(clamp(5rem, 12vh, 8rem) + var(--header-h));
}

/* =========================================================================
   GERÄTE-OPTIMIERUNG – iPhone, iPad, Android (Samsung & Co.)
   ========================================================================= */

/* Touch: kein blaues Antipp-Blitzen, kein Doppeltipp-Zoom auf Bedienelementen */
a, button, .btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* iOS/Android: stabile Hero-Höhe trotz ein-/ausfahrender Browserleiste (svh) */
@supports (min-height: 100svh) {
  .hero-immersive { min-height: min(80svh, 840px); }
  @media (max-width: 640px) {
    .hero-immersive { min-height: 74svh; }
  }
}

/* iPhone mit Notch/Home-Indikator: schwebende Elemente respektieren Safe-Areas */
.to-top {
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: calc(1rem + env(safe-area-inset-left, 0px));
}
.promo-popup {
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  right: calc(1rem + env(safe-area-inset-right, 0px));
}
.lightbox-close { top: calc(1rem + env(safe-area-inset-top, 0px)); }

/* Telefone (bis 640px): Hero kompakter, alles bequem tippbar */
@media (max-width: 640px) {
  /* Hero: weniger Leerraum oben/unten, Text früher sichtbar */
  .hero-immersive {
    padding-top: calc(var(--header-h) + 2.25rem);
    padding-bottom: 3.25rem;
  }
  .hero-immersive .hero-lead { font-size: 1.02rem; }
  .hero-badges { gap: 0.4rem; }
  .hero-badge { font-size: 0.8rem; padding: 0.4rem 0.75rem; }

  /* Formulare: Felder untereinander (Datum/Zeit/Personen brauchen Platz) */
  .field-row { grid-template-columns: 1fr; }

  /* Direktbuchungs-Band kompakt, Vorteile gut lesbar */
  .booking-cta { border-radius: var(--radius); }
  .booking-benefits li { font-size: 0.95rem; }

  /* Popup als kompakte Karte, nie breiter als der Schirm */
  .promo-popup { width: calc(100vw - 1.5rem); right: 0.75rem; }

  /* Feiern/PDF-Karten & Formulare mit etwas engerem Innenabstand */
  .form-card { padding: 1.2rem 1rem 1.4rem; }
  .raum-downloads .feature-card { padding: 1.2rem 1rem; }
}

/* Kleine Telefone (bis 380px, z. B. iPhone SE): Schrift & Karten minimal kleiner */
@media (max-width: 380px) {
  .hero-immersive h1 { font-size: 2.1rem; }
  .hero-rating { transform: scale(0.92); transform-origin: left bottom; }
  .pdf-list a { font-size: 0.86rem; }
}

/* Tablets im Hochformat (641–899px, iPad/Galaxy Tab):
   Bewertungs-Karte unten rechts, Inhalte zweispaltig wo sinnvoll */
@media (min-width: 641px) and (max-width: 899px) {
  .hero-immersive { min-height: 60vh; }
  .hero-immersive .hero-copy { max-width: 560px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Querformat-Telefone (niedrige Höhe): Hero nicht höher als der Schirm */
@media (max-height: 480px) {
  .hero-immersive { min-height: 100vh; padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 2rem; }
  .hero-immersive .hero-rating { display: none; }
  .scroll-cue { display: none; }
}

/* =========================================================================
   MOBIL-FEINSCHLIFF KACHELN – Schrift darf nie aus den Kästen laufen.
   Lange Wörter (Klassifizierung, Familienfreundlich, …) werden getrennt,
   Innenabstände/Schriftgrößen sind für schmale 2er-/3er-Kacheln verkleinert.
   ========================================================================= */
@media (max-width: 640px) {
  .review-card,
  .amenities li,
  .feature-card,
  .hours-card,
  .trust-item {
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .reviews { gap: 0.6rem; }
  .review-card { padding: 1rem 0.5rem; border-radius: var(--radius); gap: 0.3rem; }
  .review-source { font-size: 0.78rem; }
  .review-score { font-size: 1.6rem; }
  .review-max { font-size: 0.8rem; }
  .review-stars { font-size: 0.85rem; letter-spacing: 0.04em; }
  .review-count { font-size: 0.74rem; }

  .amenities { gap: 0.6rem; }
  .amenities li { padding: 0.7rem 0.75rem; gap: 0.5rem; font-size: 0.86rem; }
  .amenity-icon svg { width: 20px; height: 20px; }

  .cards-grid-2, .cards-grid-3, .cards-grid-4 { gap: 0.75rem; }
  .feature-card { padding: 1rem 0.85rem; }
  .feature-card h3 { font-size: 1.02rem; }
  .feature-card p { font-size: 0.86rem; }
  .hours-card { padding: 1rem 0.85rem; }
  .hours-card h3 { font-size: 1.02rem; }
  .hours-table { font-size: 0.85rem; }
  .hours-table-combined th,
  .hours-table-combined td { font-size: 0.85rem; }
  .hours-table-combined thead th { font-size: 0.92rem; }
  .hours-table-combined thead th:first-child { width: 22%; }
  .pdf-list a { font-size: 0.86rem; }
}

/* =========================================================================
   WISCH-GALERIEN ERKENNBAR MACHEN
   Die Bilderstreifen scrollen horizontal – das muss auf den ersten Blick
   sichtbar sein. Bedienelemente liegen in .gallery-shell NEBEN dem Streifen
   (js/cms.js ersetzt den Streifen-Inhalt und würde Kinder darin löschen).
   ========================================================================= */
/* min-width:0 ist hier PFLICHT: .gallery-shell ist ein Grid-Element (in
   .split) und Grid-/Flex-Elemente schrumpfen per Voreinstellung nicht unter
   ihre Inhaltsbreite. Der Bilderstreifen ist mehrere tausend Pixel breit und
   hat sonst die ganze Spalte – und damit die komplette Seite – aufgezogen.
   Ergebnis auf dem Handy: alles in eine schmale Spalte gequetscht. */
.gallery-shell {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.split > *,
.gallery-shell > .split-gallery,
.gallery-shell > .impressions {
  min-width: 0;
  max-width: 100%;
}

/* Verlaufskanten: signalisieren "hier geht es weiter" */
.gallery-shell.is-scrollable::before,
.gallery-shell.is-scrollable::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.gallery-shell.is-scrollable::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), rgba(238, 245, 251, 0));
}
.gallery-shell.is-scrollable::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), rgba(238, 245, 251, 0));
}
.section-alt .gallery-shell.is-scrollable::before {
  background: linear-gradient(to right, var(--cream-deep), rgba(223, 234, 245, 0));
}
.section-alt .gallery-shell.is-scrollable::after {
  background: linear-gradient(to left, var(--cream-deep), rgba(223, 234, 245, 0));
}
.gallery-shell.at-start.is-scrollable::before { opacity: 0; }
.gallery-shell.at-end.is-scrollable::after { opacity: 0; }

/* Zähler-Badge "3 / 10" */
.gallery-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  z-index: 3;
  display: none;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 50, 82, 0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.gallery-shell.is-scrollable .gallery-badge { display: block; }

/* Hinweistext – verschwindet, sobald der Gast einmal gewischt hat */
.gallery-swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 50, 82, 0.72);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  pointer-events: none;
  animation: swipeHintPulse 2.4s ease-in-out infinite;
}
.gallery-swipe-hint::before { content: "‹"; opacity: 0.75; }
.gallery-swipe-hint::after { content: "›"; opacity: 0.75; }
.gallery-shell.is-scrollable .gallery-swipe-hint { display: inline-flex; }
.gallery-shell.has-scrolled .gallery-swipe-hint {
  opacity: 0;
  animation: none;
  transition: opacity 0.35s ease;
}
@keyframes swipeHintPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* Pfeil-Buttons (vor allem für Maus/Desktop) */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--forest-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background 0.18s ease, opacity 0.25s ease;
  touch-action: manipulation;
}
.gallery-nav:hover { background: var(--white); }
.gallery-nav-prev { left: 0.5rem; }
.gallery-nav-next { right: 0.5rem; }
.gallery-shell.is-scrollable .gallery-nav { display: inline-flex; }
.gallery-shell.at-start .gallery-nav-prev,
.gallery-shell.at-end .gallery-nav-next { opacity: 0; pointer-events: none; }

/* Auf Touch-Geräten stören die Pfeile – dort führt der Wisch-Hinweis. */
@media (hover: none) {
  .gallery-nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-swipe-hint { animation: none; }
}

/* Eigenes Bild anstelle des eingebauten Symbols (Dashboard -> Bilder -> Symbole).
   Die Maße müssen die der jeweiligen SVGs spiegeln (30/24/34px). Mit
   width/height:100% wurde das Bild 318px breit und 0px hoch, weil die Hülle
   selbst keine Höhe vorgibt – sie war immer nur so groß wie ihr SVG. */
.trust-icon.has-custom-icon img,
.amenity-icon.has-custom-icon img,
.feature-icon.has-custom-icon img { object-fit: contain; display: block; }
.trust-icon.has-custom-icon img { width: 30px; height: 30px; }
.amenity-icon.has-custom-icon img { width: 24px; height: 24px; }
.feature-icon.has-custom-icon img { width: 34px; height: 34px; }
