/* ============================================================
   SAHR APPARTEMENTS — global.css
   Fundament für alle Seiten. Kein !important, keine Inline-Styles,
   keine hardcodierten Farb-HEX (immer Custom Properties).
   Stack: Plain HTML5 + CSS3 + Vanilla JS. Kein Framework.
   ============================================================ */


/* === BLOCK: custom-properties === */

:root {
  /* Brand / CTA — v2 „Gartenlicht": leaf */
  --color-primary:           #2E7D2B;
  --color-primary-hover:     #256722;
  /* §4-Anpassung: v2-green #3FAB3C minimal aufgehellt → AA (4.58:1) auf ink für Text/Hover/Icons auf dunklen Flächen */
  --color-primary-on-dark:   #43AF40;

  /* Rating / Google-Sterne (gold = vertrautes Bewertungssignal) */
  --color-star:              #FBBC04;

  /* Signature Dark — v2: ink + leaf-deep als Abstufung */
  --color-dark-petrol:       #2E332B;
  /* Dunkle Fläche (Anthrazit mit Grünhauch) — entkoppelt von Text-Ink: Headlines/Fließtext bleiben auf --color-headline/--color-text (#2E332B) */
  --color-dark-surface:      #232522;
  --color-dark-petrol-soft:  #256722;

  /* Typography — v2: ink / bark */
  --color-headline:          #2E332B;
  --color-text:              #2E332B;
  --color-text-muted:        #666658;

  /* Backgrounds — v2: paper / sage */
  --color-bg:                #FBFBF7;
  --color-bg-white:          #FFFFFF;
  --color-section-sand:      #E9EFE3;
  --color-section-sage:      #3FAB3C;
  --color-section-sage-soft: #E9EFE3;

  /* Materials / Warmth — v2: bark / sage-line */
  --color-wood:              #666658;
  --color-stone:             #DFE5D7;

  /* Cards & Borders — v2: white / sage-line */
  --color-card-bg:           #FFFFFF;
  --color-border:            #DFE5D7;
  --color-white:             #FFFFFF;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-signature: 'Caveat', cursive; /* Ausnahme zu Brand-Regel "nur eine Font": ausschließlich für .gastgeber__signature (Block 4) */

  /* Spacing (Kaiserlodge-Prinzip) */
  --spacing-block:      80px;
  --spacing-block-lg:   120px;
  --spacing-section-v:  80px;

  /* Content widths */
  --content-width-text:  780px;
  --content-width-image: 1000px;
  --content-width-full:  1200px;

  /* Radii */
  --radius-img:    12px;
  --radius-btn:    50px;
  --radius-card:   18px;
  --radius-badge:  50px;

  /* Transitions */
  --transition-fast: 0.2s ease;
}

/* === END BLOCK: custom-properties === */


/* === BLOCK: reset === */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

svg {
  display: block;
  flex-shrink: 0;
}

/* === END BLOCK: reset === */


/* === BLOCK: typography === */

h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-headline);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-headline);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--color-headline);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-headline);
  line-height: 1.4;
}

p {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.65;
}

.text-muted {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.text-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.7;
}

/* === END BLOCK: typography === */


/* === BLOCK: layout === */

.container {
  width: 100%;
  max-width: var(--content-width-full);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--text {
  max-width: var(--content-width-text);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--image {
  max-width: var(--content-width-image);
  margin-inline: auto;
  padding-inline: 24px;
}

/* === END BLOCK: layout === */


/* === BLOCK: sections === */

.section {
  padding-block: var(--spacing-section-v);
}

.section--lg {
  padding-block: var(--spacing-block-lg);
}

.section--sm {
  padding-block: 48px;
}

/* Section-Farben — niemals zwei gleiche hintereinander */
.section-default {
  background-color: var(--color-bg);
}

.section-white {
  background-color: var(--color-bg-white);
}

.section-sand {
  background-color: var(--color-section-sand);
}

.section-sage {
  background-color: var(--color-section-sage-soft);
}

.section-dark {
  background-color: var(--color-dark-surface);
  color: var(--color-bg);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-bg);
}

.section-dark p {
  color: var(--color-stone);
}

.section-dark .text-muted {
  color: var(--color-stone);
}

/* === END BLOCK: sections === */


/* === BLOCK: section-badge === */

/* Kaiserlodge-Prinzip: vor jeder Haupt-Überschrift einsetzen */
.section-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-badge::before,
.section-badge::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.section-badge span {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-badge);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
}

/* In dunklen Sections: Badge-Linie anpassen */
.section-dark .section-badge::before,
.section-dark .section-badge::after {
  background: var(--color-dark-petrol-soft);
}

/* §4-Kontrast: leaf (2.51:1) wäre auf ink unlesbar → aufgehelltes Grün */
.section-dark .section-badge span {
  color: var(--color-primary-on-dark);
  border-color: var(--color-primary-on-dark);
}

/* === END BLOCK: section-badge === */


/* === BLOCK: buttons === */

/* Basis-Stil — gilt für alle Button-Varianten */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0);
}

/* PRIMARY — auf hellen Backgrounds (#FBFBF7, #FFFFFF, #E9EFE3) */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* OUTLINE — sekundäre Aktion, auf hellen Backgrounds */
.btn--outline {
  background-color: transparent;
  color: var(--color-headline);
  border-color: var(--color-headline);
}

.btn--outline:hover {
  background-color: var(--color-headline);
  color: var(--color-bg);
  transform: translateY(-1px);
}

/* DARK — auf Dark-Petrol-Sections (#2E332B): helle Variante */
.btn--dark {
  background-color: var(--color-bg);
  color: var(--color-dark-petrol);
  border-color: var(--color-bg);
}

.btn--dark:hover {
  background-color: var(--color-section-sand);
  border-color: var(--color-section-sand);
  transform: translateY(-1px);
}

/* OUTLINE-DARK — auf Dark-Petrol-Sections: outline in hell */
.btn--outline-dark {
  background-color: transparent;
  color: var(--color-bg);
  border-color: var(--color-bg);
}

.btn--outline-dark:hover {
  background-color: var(--color-bg);
  color: var(--color-dark-petrol);
  transform: translateY(-1px);
}

/* SOFT — auf Sage-Sections (#E9EFE3): Petrol statt Grün (Grün auf Grün verboten) */
.btn--soft {
  background-color: var(--color-dark-surface);
  color: var(--color-white);
  border-color: var(--color-dark-surface);
}

.btn--soft:hover {
  background-color: var(--color-dark-petrol-soft);
  border-color: var(--color-dark-petrol-soft);
  transform: translateY(-1px);
}

/* CTA-Gruppe — Dual-CTA nebeneinander (Fanes-Prinzip) */
.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-group--center {
  justify-content: center;
}

/* === END BLOCK: buttons === */


/* === BLOCK: images === */

/* WHOOP-Prinzip: ALLE Bilder abgerundet + immer Luft drumherum */
img {
  border-radius: var(--radius-img);
}

/* Bilder die bis zum Rand gehen sollen (z.B. Hero) */
img.img--full {
  border-radius: 0;
}

/* Bild-Wrapper mit Abstand (Padding-Regel aus brand.md) */
.img-wrap {
  padding-inline: 24px;
}

.img-wrap img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
}

/* Platzhalter wenn Bild fehlt */
.img-placeholder {
  background-color: var(--color-section-sand);
  border-radius: var(--radius-img);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
}

/* === END BLOCK: images === */


/* === BLOCK: cards === */

.card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(46, 51, 43, 0.08);
}

.card__body {
  padding: 28px;
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.card h3 {
  color: var(--color-headline);
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text);
  font-size: 0.95rem;
}

/* === END BLOCK: cards === */


/* === BLOCK: header === */

/* Fanes-Prinzip: [Hamburger | Logo Mitte | Icons Rechts] */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-dark-surface);
  height: 98px;
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: var(--content-width-full);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-header__left {
  display: flex;
  align-items: center;
  flex: 1;
}

/* Absolute centering → unabhängig von den Seitenbreiten exakt mittig */
.site-header__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-header__center > * {
  pointer-events: auto;
}

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
}

/* Logo — weißes Badge auf dunklem Header */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: var(--color-white);
  border-radius: 6px;
  padding: 5px 12px;
  line-height: 0;
  transition: opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.88;
}

.site-logo__img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 52px;
  height: 52px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color var(--transition-fast);
}

.hamburger:hover {
  background-color: var(--color-dark-petrol-soft);
}

.hamburger__line {
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Header Icon-Buttons (Anrufen / Buchen) */
.header-icon-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.header-icon-btn:hover {
  background-color: var(--color-dark-petrol-soft);
}

.header-icon-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header-icon-btn--primary:hover {
  background-color: var(--color-primary-hover);
}

/* Abstand nach Header damit Inhalt nicht verdeckt wird */
.header-spacer {
  height: 68px;
}

/* === END BLOCK: header === */


/* === BLOCK: nav-overlay === */

/* 3-Formen-System wie Fanes-Referenz:
   Layer 0 = nav-overlay bg (dunkelst, #2E332B) — sichtbar in den Lücken zwischen den Formen
   Layer 1 = ::before (äußerste Form, breiteste, dunkel-mittel)
   Layer 2 = ::after  (mittlere Form, etwas schmaler, etwas heller)
   Layer 3 = __left   (innerste Form, schmalste, hellste der drei — Inhalt sitzt hier)
   Jede Form hat weniger border-radius als die dahinterliegende → "Schäl"-Effekt
*/
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  background-color: var(--color-dark-surface); /* Layer 0: dunkelst */
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.is-open {
  transform: translateX(0);
}

/* Layer 1 — äußerste Form (66%): 10% breiter als Layer 2, dunkel-mittel */
.nav-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 66%;
  background-color: #256722;
  border-top-right-radius: 460px;
  border-bottom-right-radius: 300px;
  pointer-events: none;
  z-index: 0;
}

/* Layer 2 — mittlere Form (56%): 10% breiter als Layer 3, sichtbar heller */
.nav-overlay::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 56%;
  background-color: #2E7D2B;
  border-top-right-radius: 400px;
  border-bottom-right-radius: 240px;
  pointer-events: none;
  z-index: 1;
}

/* Layer 3 — innerste Form (46%): schmalste, hellste — Inhalt sitzt hier */
.nav-overlay__left {
  width: 46%;
  min-width: 320px;
  flex-shrink: 0;
  background-color: #256722;
  display: flex;
  flex-direction: column;
  padding: 40px 48px 48px;
  overflow-y: auto;
  border-top-right-radius: 340px;
  border-bottom-right-radius: 180px;
  position: relative;
  z-index: 2;
}

/* RIGHT PANEL — Bild, Arch-Radius gleich wie Layer 3 */
.nav-overlay__right {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 340px;
  z-index: 2;
}

.nav-overlay__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Zweite Ebene für die Überblendung (wird per JS angelegt) */
.nav-overlay__img--oben {
  z-index: 1;
  pointer-events: none;
}

/* Close Button */
.nav-overlay__close {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-stone);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 56px;
  transition: color var(--transition-fast);
}

.nav-overlay__close:hover {
  color: var(--color-white);
}

/* Nav List */
.nav-overlay__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-overlay__item a {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  padding: 6px 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav-overlay__item a:hover {
  color: var(--color-primary-on-dark);
}

/* Sub-Navigation */
.nav-overlay__sub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-overlay__sub-item a {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 500;
  color: var(--color-stone);
  line-height: 1.3;
  padding: 3px 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav-overlay__sub-item a:hover {
  color: var(--color-primary-on-dark);
}

/* Meta Links */
.nav-overlay__meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-dark-petrol-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-overlay__meta a {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-stone);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-overlay__meta a:hover {
  color: var(--color-white);
}

/* Mobile: rechtes Bildpanel ausblenden, Formen vereinfachen */
@media (max-width: 768px) {
  .nav-overlay::before,
  .nav-overlay::after {
    display: none;
  }
  .nav-overlay__left {
    width: 100%;
    padding: 32px 32px 40px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--color-dark-petrol-soft);
  }
  .nav-overlay__right {
    display: none;
  }
}

/* === END BLOCK: nav-overlay === */


/* === BLOCK: breadcrumb === */

/* Kaiserlodge-Prinzip: auf allen Unterseiten */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding-block: 16px;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb__sep {
  color: var(--color-border);
}

.breadcrumb__current {
  color: var(--color-headline);
  font-weight: 600;
}

/* === END BLOCK: breadcrumb === */


/* === BLOCK: hero === */

/* WHOOP-Prinzip: Vollbreite, ein visueller Moment, Headline links-unten */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: clamp(460px, 65vh, 780px);
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Profil statt nur Spitzenwert: dunkler Bereich nach oben gestreckt,
     damit Subtext UND Breadcrumb gedeckt sind; oberste 12 % bleiben frei
     (Himmel/Hausspitze sichtbar). Petrol-Ton aus --color-dark-petrol. */
  background: linear-gradient(
    to top,
    rgba(35, 37, 34, 0.68) 0%,
    rgba(35, 37, 34, 0.55) 30%,
    rgba(35, 37, 34, 0.30) 58%,
    transparent 88%
  );
}

.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  max-width: var(--content-width-full);
  margin-inline: auto;
}

.hero__content h1 {
  color: var(--color-white);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero__content .text-lead {
  color: rgba(251, 251, 247, 0.95);
  max-width: 480px;
  margin-bottom: 32px;
}

/* Breadcrumb im Hero: hell statt grau. Standard-Breadcrumb erbt sonst
   --color-text-muted (#666658) und geht auf hellen Bildstellen unter.
   Gilt global für alle Hero-Breadcrumbs (auch zukünftige Seiten). */
.hero .breadcrumb,
.hero .breadcrumb a {
  color: rgba(251, 251, 247, 0.95);
}

.hero .breadcrumb a:hover {
  color: var(--color-white);
}

/* Markup nutzt aria-current statt der Klasse .breadcrumb__current */
.hero .breadcrumb [aria-current="page"] {
  color: var(--color-white);
  font-weight: 600;
}

/* === END BLOCK: hero === */


/* === BLOCK: feature-split === */

/* Text/Bild abwechselnd links/rechts (Kaiserlodge + Fanes-Prinzip) */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-split__text h2,
.feature-split__text h3 {
  margin-bottom: 0;
}

.feature-split__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-img);
}

/* === END BLOCK: feature-split === */


/* === BLOCK: icon-facts === */

/* Kaiserlodge-Prinzip: schnelle Fakten-Leiste auf Appartement-Seiten */
.icon-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.icon-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
}

.icon-fact__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-section-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-dark-petrol);
}

.icon-fact__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}

.icon-fact__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-headline);
  line-height: 1;
}

/* === END BLOCK: icon-facts === */


/* === BLOCK: testimonials === */

/* WHOOP-Prinzip: Zahlen-basierter Social Proof + Google-Bewertungs-Karten */
.testimonial-slider {
  position: relative;
  margin-top: 40px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;          /* Luft für Karten-Schatten + Fokusring */
  scrollbar-width: none;          /* Firefox: native Scrollbar aus (Dots/Pfeile übernehmen) */
  -ms-overflow-style: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;                  /* WebKit */
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);   /* Desktop: 3 Karten sichtbar */
  scroll-snap-align: start;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(46, 51, 43, 0.06);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--color-star);
}

.testimonial-card__text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 18px;
}

.testimonial-card__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-headline);
}

.testimonial-card__date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- Slider-Controls: Pfeile + Dots --- */
.testimonial-arrow {
  position: absolute;
  top: 0;
  bottom: 44px;                   /* Dots-Bereich aussparen → vertikal mittig im Track */
  height: 46px;
  width: 46px;
  margin-block: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-headline);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46, 51, 43, 0.12);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  z-index: 2;
}

.testimonial-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.testimonial-arrow:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.testimonial-arrow--prev { left: -22px; }
.testimonial-arrow--next { right: -22px; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.testimonial-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.25);
}

.testimonial-dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Zahlen-Proof Banner */
.social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.social-proof-bar__item strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.social-proof-bar__item span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.testimonials__link-row {
  text-align: center;
  margin-top: 44px;
}

/* === END BLOCK: testimonials === */


/* === BLOCK: gastgeber === */
/* Persönliches Gastgeber-Wort — eine Komponente, mehrere Seiten (section-sand, zentriert, ohne Bild). */
.gastgeber {
  text-align: center;
  border-top: 1px solid var(--color-border); /* dezenter Trenner zwischen zwei white-Blöcken */
}

.gastgeber .section-badge {
  justify-content: center;
}

/* Statement-Block trennt bereits über die border-top — Badge-Striche hier ausblenden,
   sonst zwei parallele 1px-Linien (border-top + Badge-Striche). Nur im Gastgeber, alle anderen Badges unberührt. */
.gastgeber .section-badge::before,
.gastgeber .section-badge::after {
  display: none;
}

.gastgeber h2 {
  margin-bottom: 20px;
}

/* Optionaler Bild-Slot — Bild da → rendert; Bild weg → text-only. Kein Modifier nötig. */
.gastgeber__img {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 32px;
  border-radius: var(--radius-img);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gastgeber__statement {
  max-width: 500px;
  margin: 0 auto 16px;
  font-size: 1.3rem;       /* ~21px — trägt den Block */
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-headline);
}

.gastgeber__sub {
  max-width: 430px;
  margin: 0 auto 28px;
  font-size: 0.875rem;     /* ~14px — ruhige Ergänzung */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Sichtbarer Platzhalter (Utility, projektweit) — bleibt auffällig, bis echter Text gesetzt + is-placeholder entfernt ist.
   Doppel-Selektor erzwingt Spezifität (0,2,0), damit Kontext-Regeln den Marker-Look (Monospace, Rahmen, Box)
   NICHT überschreiben. font-size bewusst NICHT gesetzt → das Feld behält seine Kontext-Größe
   (Statement groß, Sub klein, FAQ-Antwort-Größe); der Marker-Look bleibt überall identisch. */
.is-placeholder.is-placeholder {
  display: block;
  font-family: monospace;
  color: var(--color-text-muted);
  border: 1.5px dashed var(--color-primary);
  border-radius: 10px;
  padding: 16px 20px;
  background: rgba(46, 125, 43, 0.06);
}

.gastgeber__signature {
  font-family: var(--font-signature);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark-petrol);
  line-height: 1;
  margin-bottom: 28px;
}

.gastgeber__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 480px) {
  .gastgeber__contact {
    flex-direction: column;
  }
}
/* === END BLOCK: gastgeber === */


/* === BLOCK: faq === */
/* FAQ-Akkordeon — natives <details>/<summary>, kein JS. Genutzt auf preise-infos + unterkunft-buchen. */
.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--color-border);
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-headline);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__question {
  color: var(--color-primary);
}

.faq-item__answer {
  padding: 0 0 24px;
}

.faq-item__answer p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.faq__further {
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.faq__further a {
  font-weight: 600;
  color: var(--color-headline);
  text-decoration: none;
}

.faq__further a:hover {
  color: var(--color-primary);
}

@media (max-width: 480px) {
  .faq-item__question {
    font-size: 0.95rem;
    padding: 18px 0;
  }
}

/* === END BLOCK: faq === */


/* === BLOCK: ausstattung === */

/* Ausstattungsliste auf Appartement-Seiten */
.ausstattung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.ausstattung-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.ausstattung-item__icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.ausstattung-category {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  margin-top: 32px;
}

.ausstattung-category:first-child {
  margin-top: 0;
}

/* === END BLOCK: ausstattung === */


/* === BLOCK: cta-final === */

/* Kaiserlodge + Fanes-Prinzip: JEDE Seite endet hiermit.
   Sand (#E9EFE3) statt Petrol — klare Trennung vom Footer. */
.cta-final {
  position: relative;
  background-color: var(--color-section-sand);
  padding-top: var(--spacing-block-lg);
  padding-bottom: calc(var(--spacing-block-lg) + 240px);
  text-align: center;
}

/* Kaiserlodge-Effekt: SVG-Silhouette schneidet aus dem Sand-Bereich heraus.
   transparent oben (Sand scheint durch) → dunkle Kontur → solider Dark-Petrol-Block im Footer. */
.cta-final::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -1px;
  width: calc(100% + 2px);
  height: 280px;
  background-image: url('../bilder_web/02_bilder/10_footer/footer_silhouette.svg');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.cta-final h2 {
  color: var(--color-headline);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 16px;
}

.cta-final p {
  color: var(--color-text);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.cta-final .btn-group {
  justify-content: center;
}

/* === END BLOCK: cta-final === */


/* === BLOCK: footer === */

.footer-silhouette {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.site-footer {
  background-color: var(--color-dark-surface);
  color: var(--color-stone);
  margin-top: -2px;
  padding-top: 64px;
  padding-bottom: 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Footer-Logo — weißes Badge auf dunklem Footer */
.site-footer__logo {
  line-height: 0;
}

.site-footer__logo a {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 5px 12px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.site-footer__logo a:hover {
  opacity: 0.85;
}

.site-footer__logo-img {
  height: 144px;
  width: auto;
  display: block;
  border-radius: 0;
}

.site-footer__tagline {
  font-size: 0.9rem;
  color: var(--color-stone);
  line-height: 1.5;
}

.site-footer__heading {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__links a {
  font-size: 0.9rem;
  color: var(--color-stone);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__links a:hover {
  color: var(--color-primary-on-dark);
}

.site-footer__address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--color-stone);
  line-height: 1.7;
}

.site-footer__address a {
  color: var(--color-stone);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__address a:hover {
  color: var(--color-primary-on-dark);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-dark-petrol-soft);
  font-size: 0.82rem;
  color: var(--color-stone);
}

/* Copyright-<p> bricht sonst aus der geerbten Footer-Farbe aus, weil die
   globale p-Regel (color: var(--color-text)) die Vererbung schlaegt.
   Auf Dark Petrol dadurch unlesbar -> auf helle Footer-Sekundaerfarbe setzen. */
.site-footer__bottom p {
  color: var(--color-stone);
}

.site-footer__bottom a {
  color: var(--color-stone);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__bottom a:hover {
  color: var(--color-bg);
}

/* === END BLOCK: footer === */


/* === BLOCK: utility === */

/* Block-Abstand Helfer */
.mt-block  { margin-top: var(--spacing-block); }
.mb-block  { margin-bottom: var(--spacing-block); }
.mt-block-lg { margin-top: var(--spacing-block-lg); }
.mb-block-lg { margin-bottom: var(--spacing-block-lg); }

/* Text-Alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Bett+Bike Zertifizierungs-Badge */
.bett-bike-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--color-section-sand);
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-headline);
}

.bett-bike-badge img {
  width: 20px;
  height: auto;
  border-radius: 0;
}

/* Wood-Divider — sparsam einsetzen */
.divider-wood {
  width: 48px;
  height: 3px;
  background-color: var(--color-wood);
  border-radius: 2px;
  margin-block: 20px;
}

/* === END BLOCK: utility === */


/* === BLOCK: responsive === */

@media (max-width: 1024px) {
  :root {
    --spacing-block:    64px;
    --spacing-block-lg: 96px;
    --spacing-section-v: 64px;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-split--reverse {
    direction: ltr;
  }

  .testimonial-card {
    flex-basis: calc((100% - 24px) / 2);   /* Tablet: 2 Karten sichtbar */
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .cta-final::after {
    height: 260px;
  }

  .cta-final {
    padding-bottom: calc(var(--spacing-block-lg) + 220px);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-block:    48px;
    --spacing-block-lg: 72px;
    --spacing-section-v: 48px;
  }

  .hero__content {
    padding: 28px 24px;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-group--center {
    align-items: center;
  }

  .testimonial-card {
    flex-basis: 88%;               /* Mobile: 1 Karte + Peek der nächsten → Swipe-Affordance */
  }

  .testimonial-arrow {
    display: none;                 /* Mobile: Swipe + Dots statt Pfeile */
  }

  .icon-facts {
    gap: 20px;
  }

  .social-proof-bar {
    gap: 28px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-final::after {
    height: 200px;
  }

  .cta-final {
    padding-bottom: calc(var(--spacing-block-lg) + 160px);
  }
}

@media (max-width: 480px) {
  .container,
  .container--text,
  .container--image {
    padding-inline: 16px;
  }

  .hero__content {
    padding: 20px 16px;
  }

  .hero__img {
    height: clamp(340px, 55vh, 520px);
  }

  .header-icon-btn span {
    display: none;
  }

  .ausstattung-grid {
    grid-template-columns: 1fr;
  }

  .cta-final::after {
    height: 100px;
  }

  .cta-final {
    padding-bottom: calc(var(--spacing-block-lg) + 60px);
  }
}

@media (max-width: 320px) {
  .cta-final::after {
    height: 80px;
  }

  .cta-final {
    padding-bottom: calc(var(--spacing-block-lg) + 40px);
  }
}

/* === END BLOCK: responsive === */


/* === BLOCK: accessibility === */

/* Fokus-Stile für Tastaturnavigation */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link für Screen Reader */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  padding: 12px 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* === END BLOCK: accessibility === */


/* === BLOCK: consent === */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: flex;
  justify-content: center;
}
.consent[hidden] { display: none; }
.consent__inner {
  width: 100%;
  max-width: 760px;
  background: var(--color-bg-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 48px rgba(46, 51, 43, 0.18);
  padding: 20px 24px;
}
.consent__title { font-weight: 700; margin: 0 0 6px; color: var(--color-headline); }
.consent__text { margin: 0 0 16px; font-size: .9rem; line-height: 1.6; }
.consent__text a { color: var(--color-primary); text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent__btn { flex: 1 1 160px; justify-content: center; }
.footer-consent-link {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: inherit; cursor: pointer;
}
.footer-consent-link:hover { text-decoration: underline; }

/* === END BLOCK: consent === */


/* === BLOCK: rating-summary === */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 32px;
}
.rating-summary__score {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 10px;
  border-radius: 12px 12px 12px 0;
  background: var(--color-dark-surface);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.35rem;
}
.rating-summary__text { line-height: 1.5; color: var(--color-text); }
.rating-summary__stand { font-size: .82rem; color: var(--color-text-muted); }
/* Google + Booking nebeneinander (Startseite, Kontakt, Buchen), mobil untereinander */
.rating-summaries {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 20px 0 32px;
}

.rating-summaries .rating-summary {
  margin: 0;
}

/* Als Link aufs Bewertungsprofil (Startseite, Kontakt, Buchen) */
.rating-summary--link {
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
}

/* Unterstrichen wird nur „x Bewertungen auf …", nicht Zahl, Sterne oder Stand */
.rating-summary--link:hover .rating-summary__linktext,
.rating-summary--link:focus-visible .rating-summary__linktext {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rating-summary--link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.rating-summary__stars {
  display: inline-flex;
  gap: 1px;
  vertical-align: -2px;
  color: var(--color-star);
}

/* === END BLOCK: rating-summary === */
