/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS — Der Freie Horizont · v3
═══════════════════════════════════════════════════════ */
:root {
  /* Color */
  --color-void:           #0A0A08;
  --color-cinema:         #111111;
  --color-soil:           #1A1A1A;
  --color-earth:          #383530;
  --color-ausstattung-bg: #383530;
  --color-forest:         #3D4B35;
  --color-ember:          #E07518;
  --color-ember-deep:     #C8690F;
  --color-cream:          #F5EFE6;
  --color-cream-dim:      rgba(245, 239, 230, 0.65);
  --color-glass-light:    rgba(0, 0, 0, 0.30);

  /* Typography — Inter only, three tiers */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Headline hierarchy */
  --text-hero:    clamp(2.5rem, 6vw, 5.5rem);    /* Hero claim + parallax dividers only */
  --text-section: clamp(1.6rem, 3vw, 2.6rem);    /* Section headlines */
  --text-item:    clamp(1.2rem, 2vw, 1.7rem);     /* List items, card subheadlines */
  --text-t2:      clamp(1rem, 2.5vw, 1.25rem);   /* Body — Inter 400 or 500 */
  --text-t3:      0.875rem;                       /* Label / Meta — Inter 500 */
  --text-nav:     0.9375rem;                      /* Nav + Buttons */
  --text-eyebrow: clamp(1rem, 1.5vw, 1.4rem);

  /* Photo border-radius */
  --radius-photo: 12px;
  --radius-sm:    3px;
  --radius-md:    8px;

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);

  /* Duration */
  --dur-fast:     180ms;
  --dur-mid:      350ms;
  --dur-slow:     650ms;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  96px;
  --space-2xl: 140px;

  /* Layout */
  --container:  1280px;
  --gutter:     clamp(1.25rem, 4vw, 3.5rem);
  --section-py: clamp(80px, 10vw, 160px);

  /* Nav */
  --nav-h: 72px;
}

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

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

body {
  background-color: var(--color-cinema);
  color: var(--color-cream);
  font-family: var(--font);
  font-size: var(--text-t2);
  line-height: 1.7;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
figure { margin: 0; }

/* Global photo radius — Galerie is the sole exception */
.section:not(.section-gallery) img,
.komfort-image img,
.qualitaet-quote-wrap img {
  border-radius: var(--radius-photo);
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  text-wrap: balance;
  font-family: var(--font);
  font-weight: 900;
  line-height: 1.2;
}

.label-text {
  font-family: var(--font);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ember);
}

.section-eyebrow {
  display: block;
  font-size: var(--text-eyebrow);
  margin-bottom: var(--space-sm);
}

.section-headline {
  font-family: var(--font);
  font-size: var(--text-section);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-cream);
  letter-spacing: -0.01em;
}

.section-intro-text {
  margin-top: var(--space-md);
  max-width: 60ch;
  color: var(--color-cream-dim);
  font-size: var(--text-t2);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-py);
  background-color: var(--color-cinema);
}

.section-dark  { background-color: var(--color-soil); }
.section-earth { background-color: var(--color-earth); }

.section-light {
  background-color: var(--color-cream);
  color: var(--color-soil);
}
.section-light .label-text       { color: var(--color-ember-deep); }
.section-light .section-headline { color: var(--color-soil); }
.section-light .section-eyebrow  { color: var(--color-ember-deep); }

.section-header {
  margin-bottom: var(--space-xl);
  max-width: 760px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition:
    background-color var(--dur-fast) var(--ease-out-quart),
    transform        var(--dur-fast) var(--ease-out-quart),
    border-color     var(--dur-fast) var(--ease-out-quart);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-ember);
  color: #fff;
  border: 1px solid var(--color-ember);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-ember-deep);
  border-color: var(--color-ember-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(245, 239, 230, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-cream);
  background-color: rgba(245, 239, 230, 0.10);
  transform: translateY(-2px);
}

:focus-visible {
  outline: 2px solid var(--color-ember);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   var(--dur-slow) var(--ease-out-quart) var(--reveal-delay, 0ms),
    transform var(--dur-slow) var(--ease-out-quart) var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: var(--nav-h);
  padding-inline: var(--gutter);
  transition:
    background-color var(--dur-mid) var(--ease-out-quart),
    backdrop-filter  var(--dur-mid) var(--ease-out-quart);
}

#site-nav.scrolled {
  background-color: rgba(10, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cream-dim);
  transition: color var(--dur-fast) var(--ease-out-quart);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background-color: var(--color-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--color-cream); }

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-cta { margin-left: var(--space-sm); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-cream);
  transition:
    transform var(--dur-mid) var(--ease-out-quart),
    opacity   var(--dur-mid) var(--ease-out-quart);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
#nav-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--color-void);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--gutter);
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100%);
  transition:
    opacity   var(--dur-mid) var(--ease-out-quart),
    transform var(--dur-mid) var(--ease-out-quart);
}

#nav-drawer:not([hidden]) {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer-close {
  position: absolute;
  top: 24px; right: var(--gutter);
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.nav-drawer-links a {
  font-family: var(--font);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.nav-drawer-links a:hover { color: var(--color-ember); }

.drawer-cta {
  margin-top: var(--space-md);
  align-self: flex-start;
  font-size: var(--text-nav) !important;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 10, 8, 0.40) 0%,
      rgba(10, 10, 8, 0.10) 20%,
      rgba(10, 10, 8, 0.08) 50%,
      rgba(10, 10, 8, 0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--gutter);
  max-width: 1100px;
  animation: hero-in 1.2s var(--ease-out-expo) 0.3s both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: block;
  font-size: var(--text-eyebrow);
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
  margin-top: calc(var(--nav-h) + var(--space-md));
}

.hero-claim {
  font-family: var(--font);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
  margin-bottom: var(--space-xl);
}

.hero-cta { margin-top: var(--space-sm); }

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-cream-dim);
  animation: scroll-bob 2.4s var(--ease-in-out) 1.5s infinite;
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.hero-scroll-hint:hover { color: var(--color-cream); }

@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   INTRO / EINLEITUNG
═══════════════════════════════════════════════════════ */
.section-intro {
  background-color: var(--color-soil);
  padding-bottom: calc(var(--section-py) * 0.65);
}

.intro-content { max-width: 760px; }

.intro-section-headline {
  font-size: var(--text-section);
  margin-bottom: var(--space-lg);
}

.intro-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-cream-dim);
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

.intro-emphasis {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-ember);
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

.intro-body {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-cream-dim);
  max-width: 65ch;
}

.intro-body--spacer { margin-top: var(--space-md); }

/* ═══════════════════════════════════════════════════════
   GRÜNDE
═══════════════════════════════════════════════════════ */
.gruende-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--space-xl);
}

.grund-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
}

.grund-number {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-ember);
  opacity: 0.6;
  letter-spacing: -0.03em;
  padding-top: 6px;
}

.grund-title {
  font-family: var(--font);
  font-size: var(--text-item);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  hyphens: auto;
  overflow-wrap: break-word;
}

.grund-body {
  min-width: 0;
  overflow-wrap: break-word;
}

.grund-body p {
  color: var(--color-cream-dim);
  font-size: var(--text-t2);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   PARALLAX DIVIDERS
═══════════════════════════════════════════════════════ */
.parallax-divider {
  position: relative;
  min-height: max(80vh, 640px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-void);
}

/* Parallax: JS-driven on all devices; CSS background-attachment
   as progressive enhancement on non-iOS desktop (hover+fine pointer) */
@media (hover: hover) and (pointer: fine) {
  .parallax-divider {
    background-attachment: fixed;
  }
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  backface-visibility: hidden;
}

.divider-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 10, 8, 0.55) 0%,
      rgba(10, 10, 8, 0.15) 35%,
      rgba(10, 10, 8, 0.15) 65%,
      rgba(10, 10, 8, 0.65) 100%);
  z-index: 1;
}

.divider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--gutter);
}

.divider-text {
  font-family: var(--font);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
}

/* ═══════════════════════════════════════════════════════
   MODELLE
═══════════════════════════════════════════════════════ */
.models-row {
  margin-bottom: var(--space-md);
}

.models-row--two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.models-row--individual {
  margin-bottom: 0;
}

.model-item {
  display: flex;
  flex-direction: column;
  background-color: var(--color-soil);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.model-item--individual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.model-individual-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.model-individual-photos .model-image {
  border-radius: 0;
}

.model-individual-photos .model-image img {
  border-radius: 0;
}

.model-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
}

.model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.8s var(--ease-out-quart);
}

.model-item:hover .model-image img {
  transform: scale(1.04);
}

.model-content {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-content--individual {
  padding: var(--space-xl) var(--space-xl);
  justify-content: center;
}

.model-designation {
  display: block;
  margin-bottom: var(--space-xs);
}

.model-name {
  font-family: var(--font);
  font-size: var(--text-item);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.model-benefit {
  color: var(--color-cream-dim);
  font-size: var(--text-t2);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: var(--space-md);
  flex: 1;
}

.model-price {
  font-family: var(--font);
  font-size: var(--text-t3);
  color: var(--color-cream-dim);
  margin-top: auto;
}

.model-price strong {
  color: var(--color-cream);
  font-weight: 700;
}

.model-item--placeholder .model-image { opacity: 0.75; }

/* ── Individuelle Kabine v2 ─────────────────────────────── */
.model-item--individual-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
  background-color: var(--color-soil);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.individual-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  align-items: stretch;
}

.individual-col-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.individual-img {
  overflow: hidden;
  border-radius: var(--radius-photo);
}

.individual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.individual-img--quer {
  aspect-ratio: 4 / 3;
}

.individual-img--hoch {
  aspect-ratio: 3 / 4;
}

.individual-content {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.individual-content .model-designation {
  margin-bottom: var(--space-xs);
}

.individual-content .model-name {
  margin-bottom: var(--space-sm);
}

.individual-content .model-benefit {
  margin-bottom: var(--space-md);
}

@media (max-width: 900px) {
  .model-item--individual-v2 {
    grid-template-columns: 1fr;
  }
  .individual-img--hoch {
    aspect-ratio: 4 / 3;
  }
}

.models-variants {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(245, 239, 230, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: baseline;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.models-variants-label {
  font-size: var(--text-t3);
  color: var(--color-cream-dim);
  white-space: nowrap;
}

.models-variants-list {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.models-variants-list li {
  font-size: var(--text-t3);
  color: var(--color-cream-dim);
}

.models-variants-list strong {
  color: var(--color-ember);
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0.04em;
}

.models-ausstattungs-note {
  margin-top: var(--space-lg);
  max-width: 65ch;
  color: var(--color-cream-dim);
  font-size: var(--text-t3);
  line-height: 1.7;
  letter-spacing: 0.01em;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 239, 230, 0.08);
}

/* ═══════════════════════════════════════════════════════
   AUSSTATTUNG
═══════════════════════════════════════════════════════ */
.section-ausstattung {
  background-color: var(--color-ausstattung-bg);
}

.section-ausstattung .section-headline { color: var(--color-cream); }

.ausstattung-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.ausstattung-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.ausstattung-item--flip {
  direction: rtl;
}

.ausstattung-item--flip > * {
  direction: ltr;
}

.ausstattung-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-photo);
}

.ausstattung-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.9s var(--ease-out-quart);
}

.ausstattung-item:hover .ausstattung-image img {
  transform: scale(1.04);
}

.ausstattung-content { max-width: 52ch; }
.ausstattung-content .section-eyebrow { font-size: var(--text-nav); }

.ausstattung-title {
  font-family: var(--font);
  font-size: var(--text-item);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  margin-top: var(--space-sm);
  letter-spacing: -0.01em;
}

.ausstattung-content p {
  color: var(--color-cream-dim);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════
   VIDEO
═══════════════════════════════════════════════════════ */
.section-video {
  background-color: var(--color-soil);
  text-align: center;
}

.video-header {
  margin-bottom: var(--space-xl);
}

.video-headline {
  font-size: var(--text-section);
}

.video-sub {
  color: var(--color-cream-dim);
  font-size: var(--text-t2);
  margin-top: var(--space-sm);
}

.video-embed-wrap {
  max-width: 960px;
  margin-inline: auto;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-photo);
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  border-radius: var(--radius-photo);
}

.video-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: rgba(10, 10, 8, 0.85);
  color: var(--color-cream);
  border-radius: var(--radius-photo);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.video-consent-text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.5;
  max-width: 40ch;
}

.video-consent-link {
  color: var(--color-cream);
  text-decoration: underline;
  font-weight: 500;
}

.video-consent-link:hover,
.video-consent-link:focus-visible {
  text-decoration-thickness: 3px;
}

.video-consent-btn {
  min-width: clamp(180px, 24vw, 240px);
}

.video-consent-noscript {
  margin: 0;
  padding: 1.5rem;
  background: rgba(10, 10, 8, 0.9);
  color: var(--color-cream);
  border-radius: var(--radius-photo);
}

/* ═══════════════════════════════════════════════════════
   GALERIE
═══════════════════════════════════════════════════════ */
.section-gallery { padding-bottom: 0; }
.section-gallery .section-header { padding-inline: var(--gutter); }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 340px);
  gap: 3px;
  margin-top: var(--space-lg);
}

/* Galerie: sharp corners — the sole exception to the border-radius rule */
.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0; /* removes inline gap under image */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.9s var(--ease-out-quart);
  display: block;
}

.gallery-item:hover img { transform: scale(1.05); }

.gi-tall   { grid-row: span 2; }
.gi-wide   { grid-column: span 1; }
.gi-square { grid-column: span 1; }

/* ═══════════════════════════════════════════════════════
   KOMFORT
═══════════════════════════════════════════════════════ */
.section-komfort {
  background-color: var(--color-earth);
}

.komfort-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.komfort-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-photo);
}

.komfort-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.komfort-content { max-width: 52ch; }

.komfort-content .section-headline {
  margin-bottom: var(--space-md);
  margin-top: var(--space-sm);
}

.komfort-content p {
  color: var(--color-cream-dim);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 48ch;
}

/* ═══════════════════════════════════════════════════════
   QUALITÄT & FRANK
═══════════════════════════════════════════════════════ */
.qualitaet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.qualitaet-quote-wrap {
  position: relative;
  padding: var(--space-xl);
  background-color: var(--color-earth);
  border-radius: var(--radius-md);
}

.qualitaet-quote-wrap::before {
  content: '\201E';
  position: absolute;
  top: -0.1em;
  left: var(--space-md);
  font-family: var(--font);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-ember);
  opacity: 0.25;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-cream);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-source {
  font-family: var(--font);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ember);
  font-style: normal;
}

.quote-context {
  font-size: var(--text-t3);
  color: var(--color-cream-dim);
}

.qualitaet-bio { padding-top: var(--space-sm); }

.qualitaet-bio p {
  color: var(--color-cream-dim);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  max-width: 52ch;
}

.frank-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: var(--space-sm);
  border: 2px solid var(--color-ember);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.credentials-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-t2);
  color: var(--color-cream-dim);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}

.credentials-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 1px;
  background-color: var(--color-ember);
}

/* ═══════════════════════════════════════════════════════
   PREISE
═══════════════════════════════════════════════════════ */
.preise-list {
  margin-top: var(--space-xl);
  max-width: 800px;
}

.preis-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  padding-block: var(--space-md);
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}

.preis-item--highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: start;
  padding-block: var(--space-lg);
  border-bottom: none;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
  margin-top: var(--space-sm);
}

.preis-name {
  display: block;
  font-family: var(--font);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.3;
}

.preis-item--highlight .preis-name {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.preis-sub {
  display: block;
  font-size: var(--text-t3);
  color: var(--color-cream-dim);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.preis-value {
  font-family: var(--font);
  font-size: var(--text-t3);
  color: var(--color-cream-dim);
  white-space: nowrap;
  font-weight: 500;
}

.preis-value strong {
  color: var(--color-cream);
  font-weight: 700;
}

.preis-item--highlight .preis-value {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.preis-item--highlight .preis-value strong {
  color: var(--color-ember);
}

/* Expandable spec list */
.preise-details {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  margin-top: var(--space-md);
}

.preise-details summary {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-block: 10px;
  cursor: pointer;
  font-family: var(--font);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.40);
  list-style: none;
  transition: color var(--dur-fast) var(--ease-out-quart);
  user-select: none;
}

.preise-details summary::-webkit-details-marker { display: none; }
.preise-details summary:hover { color: var(--color-cream-dim); }
.preise-details[open] summary { color: var(--color-cream-dim); }

.details-arrow {
  display: inline-block;
  transition: transform var(--dur-mid) var(--ease-out-quart);
}
.preise-details[open] .details-arrow { transform: rotate(90deg); }

.preise-spec-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md) var(--space-lg);
  padding-block: var(--space-md) var(--space-lg);
}

.spec-group-title {
  font-family: var(--font);
  font-size: var(--text-t3);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ember);
  margin-bottom: var(--space-sm);
}

.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-list li {
  font-size: var(--text-t3);
  color: rgba(245, 239, 230, 0.50);
  line-height: 1.65;
  padding-block: 3px;
  padding-left: var(--space-sm);
  position: relative;
}

.spec-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px;
  height: 1px;
  background-color: rgba(224, 117, 24, 0.5);
}

.preise-cta-wrap {
  margin-top: var(--space-xl);
}

/* ═══════════════════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════════════════ */
.kontakt-layout {
  max-width: 600px;
}

.kontakt-headline {
  margin-block: var(--space-sm) var(--space-md);
}

.kontakt-intro {
  color: rgba(26, 26, 26, 0.70);
  font-size: var(--text-t2);
  line-height: 1.75;
  max-width: 55ch;
  margin-bottom: var(--space-xl);
}

.kontakt-address {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.kontakt-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: color var(--dur-fast) var(--ease-out-quart);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.kontakt-link:hover { color: var(--color-ember-deep); }
.kontakt-link:hover .kontakt-link-value { color: var(--color-ember-deep); }

.kontakt-link-label {
  font-size: var(--text-t3);
  letter-spacing: 0.1em;
  color: var(--color-ember-deep);
}

.kontakt-link-value {
  font-family: var(--font);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-soil);
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.kontakt-location {
  font-size: var(--text-t3);
  letter-spacing: 0.05em;
  color: rgba(26, 26, 26, 0.45);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
#site-footer {
  background-color: var(--color-void);
  padding-block: var(--space-xl);
  border-top: 1px solid rgba(245, 239, 230, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer-logo-wrap img { height: 44px; width: auto; }

.footer-nav,
.footer-legal {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-legal {
  gap: var(--space-md);
  margin-left: auto;
}

.footer-nav a,
.footer-legal a {
  font-family: var(--font);
  font-size: var(--text-t3);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.60);
  transition: color var(--dur-fast) var(--ease-out-quart);
}

.footer-nav a:hover,
.footer-legal a:hover { color: var(--color-cream); }

.footer-legal a {
  color: rgba(245, 239, 230, 0.45);
}

.footer-copy {
  width: 100%;
  font-size: var(--text-t3);
  color: rgba(245, 239, 230, 0.35);
  letter-spacing: 0.04em;
  margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gruende-list {
    grid-template-columns: 1fr;
  }

  .qualitaet-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .preise-spec-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) and (orientation: portrait),
       (max-width: 1024px) and (orientation: landscape) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .models-row--two {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .models-variants {
    padding: var(--space-md);
  }

  .model-item--individual-v2 {
    gap: 0;
  }

  .individual-masonry {
    padding: 0 var(--space-md) var(--space-md);
  }

  .model-item--individual {
    grid-template-columns: 1fr;
  }

  .model-individual-photos {
    grid-template-columns: 1fr 1fr;
  }

  .individual-content {
    padding: 0 var(--space-md) var(--space-md);
  }

  .ausstattung-item,
  .ausstattung-item--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-md);
  }

  .komfort-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gi-tall { grid-row: span 1; grid-column: span 2; aspect-ratio: 16/9; }
  .gi-wide { grid-column: span 1; }
  .gi-square { grid-column: span 1; }
  .gallery-item { aspect-ratio: 1; }
  .gi-tall { aspect-ratio: 16/9; }

  .gruende-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .footer-legal {
    margin-left: 0;
  }

  .footer-copy {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .hero-claim { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  .parallax-divider { min-height: max(60vh, 400px); }

  .gallery-mosaic {
    grid-template-columns: 1fr;
  }
  .gi-tall, .gi-wide, .gi-square {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .preise-spec-groups {
    grid-template-columns: 1fr;
  }

  .preis-item {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
  .preis-value { text-align: left; }
}

/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content { animation: none; opacity: 1; transform: none; }
  .hero-scroll-hint { animation: none; }

  .parallax-bg { transform: none !important; }

  .model-image img,
  .ausstattung-image img,
  .gallery-item img,
  .komfort-image img {
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* LEGAL MODAL */
.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 8, 0.78);
}

.legal-modal__body {
  position: relative;
  width: min(720px, 92vw);
  max-height: 82vh;
  background: var(--color-soil);
  color: var(--color-cream);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.legal-modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--color-cream);
  cursor: pointer;
  padding: 4px;
}

.legal-modal__content {
  padding: calc(var(--space-lg) + 4px) var(--space-lg) var(--space-lg);
  overflow-y: auto;
}

.legal-modal__text {
  white-space: pre-wrap;
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-cream-dim);
}

@media (max-width: 720px) {
  .legal-modal__body {
    width: 94vw;
    max-height: 88vh;
    border-radius: var(--radius-sm);
  }
  .legal-modal__content {
    padding: var(--space-lg) var(--space-md) var(--space-md);
  }
}
