/* ============================================================
   LONGEVITY RESORTS — Coming-Soon / Baustellen-Landingpage
   Design-Tokens & Sprache übernommen aus html-demo (Brand Guidelines)
   Quiet Luxury · Editorial · Science meets Nature
   ============================================================ */

/* ---------- Design Tokens ----------
   Farbwelt nach Logo-Reinzeichnung (Longevity-Resorts_Logo_LeadingSpa_2026_FINAL.ai):
   Rosé #DBC3C1 · Hellrosé #E4D1D0 · Dunkelgrau #3D3D3C · Weiß.
   Die Variablennamen --bronze/--stone stammen aus der Gold-Ära und bleiben
   als Alias bestehen, tragen aber jetzt die Rosé-Werte. */
:root {
  --ivory:        #F7F4F2;
  --ivory-deep:   #EFE9E6;
  --rose:         #DBC3C1;
  --rose-soft:    #E4D1D0;
  --stone:        #E4D1D0;
  --bronze:       #DBC3C1;
  --bronze-deep:  #9B736E;
  --charcoal:     #3D3D3C;
  --forest:       #4B524C;
  --soft-black:   #3D3D3C;

  --ink:          #3D3D3C;
  --ink-soft:     rgba(61, 61, 60, 0.72);
  --ink-faint:    rgba(61, 61, 60, 0.48);
  --line:         rgba(61, 61, 60, 0.14);
  --line-strong:  rgba(61, 61, 60, 0.28);
  --on-dark:      #F3EFED;
  --on-dark-soft: rgba(243, 239, 237, 0.68);
  --line-on-dark: rgba(243, 239, 237, 0.18);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow:   clamp(0.8rem, 0.74rem + 0.3vw, 0.9rem);
  --fs-body:      clamp(1.1rem, 1.02rem + 0.3vw, 1.22rem);
  --fs-lead:      clamp(1.28rem, 1.12rem + 0.8vw, 1.6rem);
  --fs-h3:        clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  --fs-h2:        clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  --fs-h1:        clamp(2.6rem, 1.4rem + 5vw, 5rem);

  --space-section: clamp(5rem, 4rem + 9vh, 11rem);
  --gutter:        clamp(1.4rem, 0.6rem + 4vw, 5rem);
  --maxw:          1380px;
  --measure:       62ch;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:  92px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 350;
  color: var(--ink);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; }
::selection { background: var(--rose); color: var(--charcoal); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  text-wrap: balance;
}
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.12; }

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.4;
  color: var(--ink);
}
p { max-width: var(--measure); text-wrap: pretty; }
em, .italic { font-style: italic; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--stone); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 3rem + 4vh, 6rem); }
.center { text-align: center; }

.bg-ivory      { background: var(--ivory); }
.bg-ivory-deep { background: var(--ivory-deep); }
.bg-dark       { background: var(--soft-black); color: var(--on-dark); }
.bg-forest     { background: var(--forest); color: var(--on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-forest h1, .bg-forest h2, .bg-forest h3,
.bg-dark .lead, .bg-forest .lead { color: var(--on-dark); }

.hairline { height: 1px; background: var(--line); border: 0; width: 100%; }
.text-bronze { color: var(--bronze-deep); }

/* ---------- Buttons ---------- */
.btn {
  --bd: var(--charcoal);
  --fg: var(--charcoal);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 2.1em;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 0;
  overflow: hidden;
  transition: color 0.5s var(--ease-soft);
  z-index: 0;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--ivory); }
.btn:hover::after { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: progress; }

.btn--solid { --fg: var(--ivory); background: var(--charcoal); }
.btn--solid::after { background: var(--bronze); }
.btn--solid:hover { color: var(--soft-black); }

.btn--bronze { --bd: var(--bronze); --fg: var(--soft-black); background: var(--bronze); }
.btn--bronze::after { background: var(--soft-black); }
.btn--bronze:hover { color: var(--ivory); }

.btn--block { width: 100%; }

/* Text link with underline reveal */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  padding-bottom: 0.35em;
  position: relative;
  width: fit-content;
}
.link-arrow .arw { transition: transform 0.45s var(--ease-out); }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover .arw { transform: translateX(5px); }

/* ---------- Brand logo (Bilddatei) ---------- */
.brand-logo { height: clamp(120px, 11vw, 175px); width: auto; }
/* Logo-SVGs sind eng beschnitten (die früheren PNGs hatten ~18 % Transparenz-
   Rand) — Höhen um Faktor 0,815 reduziert, damit die sichtbare Größe gleich bleibt. */
.footer-logo { height: 130px; width: auto; margin-bottom: 1.4rem; }
.thanks-logo { height: clamp(163px, 18vw, 228px); width: auto; margin: 0 auto; }
.legal-logo { height: clamp(140px, 15vw, 200px); width: auto; }
@media (max-width: 560px) {
  .brand-logo { height: 104px; }
}

/* ---------- Brand mark (inline SVG, Legacy) ---------- */
.brand-mark .logo-ink { fill: none; stroke: currentColor; }
.brand-mark .logo-accent { fill: var(--bronze); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding-block: 1.2rem;
}
.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.9rem; color: var(--on-dark); }
.brand-mark { height: 46px; width: 46px; color: var(--on-dark); }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.bw-main {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.bw-sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-top: 0.25rem;
}
.header-badge {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  border: 1px solid var(--line-on-dark);
  padding: 0.55em 1em;
}

/* ---------- Hero (Split: links Logo + Text, rechts Bild) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1.618fr; /* Goldener Schnitt — Bild größer */
  isolation: isolate;
}

/* Linke Hälfte */
.hero__left {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* Logo auf hellem Originalhintergrund */
.hero__brandpanel {
  position: relative; /* Bezugsrahmen für .lang-switch */
  background: var(--ivory);
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 1.6vw, 1.4rem) clamp(1.5rem, 4vw, 4rem);
}
.hero-logo-orig {
  height: clamp(122px, 12.2vw, 187px);
  width: auto;
}

/* Texte + Anmeldung auf dunklem Hintergrund */
.hero__textpanel {
  flex: 1;
  background: var(--soft-black);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.5rem, 4vw, 4.5rem);
}

/* Rechte Hälfte: Bild mit Anmelde-Card darüber */
.hero__right {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 3vw, 2rem);
  justify-items: end;
  align-items: end;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media img {
  /* Links verankert: Das Wand-Logo am linken Bildrand darf beim Cover-Crop
     und der Pan-Animation nicht angeschnitten werden (Kundenwunsch). */
  object-position: left center;
  transform-origin: 0% 45%;
  will-change: transform;
  animation: heroPan 48s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from { transform: scale(1.05); }
  to   { transform: scale(1.16) translateY(-1.8%); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  /*background:*/
  /*  linear-gradient(180deg, rgba(26,27,25,0.14), rgba(26,27,25,0.34)),*/
  /*  radial-gradient(62% 62% at 50% 50%, rgba(26,27,25,0.34), transparent 74%);*/
}

/* Notice / Texte */
.hero__notice {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  width: fit-content;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.3rem);
  font-size: clamp(0.82rem, 0.74rem + 0.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #EAD8D6;
}
.hero__notice::before {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: var(--bronze);
}
.hero__title {
  font-size: clamp(2.4rem, 1.6rem + 2.9vw, 3.9rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: #FDFCFB;
  margin-bottom: 0.6rem;
}
.hero__title em { color: #EAD8D6; }
.hero__tagline {
  max-width: 40ch;
  margin: 0 0 clamp(0.6rem, 1.2vw, 1rem);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.25;
  color: #EAD8D6;
}
.hero__sub {
  max-width: 46ch;
  margin: 0 0 clamp(1.8rem, 3vw, 2.8rem);
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.12rem);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.45;
  color: #EBE3E0;
}

/* Marken-Siegel mit Domain (Etablierung im Gedächtnis) — bewusst rahmenlos,
   nur Typografie */
.hero__seal {
  align-self: start;
  width: fit-content;
  max-width: 100%;
  text-align: left;
  padding: 0;
}
.hero__seal-top,
.hero__seal-bot {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero__seal-domain {
  display: block;
  margin: 0.3rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  letter-spacing: 0.015em;
  white-space: nowrap;
  color: #EAD8D6;
}

/* Scroll-Hinweis (über dem Bild, rechts) */
.hero__scroll {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2.6rem);
  bottom: 1.8rem;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.hero__scroll .bar {
  width: 1px; height: 46px;
  background: linear-gradient(#fff, transparent);
}

/* ---------- KI-Badge auf Medien (Art. 50 Abs. 4 KI-VO) ----------
   Ruhezustand: dauerhaft sichtbares EU-Icon (Basic Icon, Anhang I des Code of
   Practice). Bei Hover/Fokus/Tap fährt der vollständige Text
   „KI-generierte Visualisierung“ aus.

   Der Badge trägt die Kennzeichnung an jedem Bild; ergänzend dokumentiert der
   Impressum-Abschnitt „Bildnachweis und Kennzeichnung KI-generierter Inhalte“
   die Kennzeichnung im Klartext. Die früheren zusätzlichen Klartext-Zeilen
   (p.ai-note unter der Galerie und im Footer) wurden bewusst entfernt —
   siehe README, Abschnitt „KI-Kennzeichnung der Bilder“.

   Eigener Träger mit Blur, weil die Bildinhalte zwischen hellen und dunklen
   Bereichen wechseln — nur so bleibt der Marker überall sichtbar. */
.ai-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(26, 27, 25, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  cursor: help;
  transition: background 0.3s var(--ease-soft);
}
.ai-badge:hover,
.ai-badge:focus-visible { background: rgba(26, 27, 25, 0.78); outline: none; }

/* Offizielles EU-Icon („Basic Icon“, Anhang I des Code of Practice) auf dem
   dunklen Träger. Die Kommission empfiehlt genau dieses Icon, wenn eine
   zweite, interaktive Ebene mit Klartext dahinterliegt — wie hier. */
/* Das EU-Icon bringt seinen eigenen Kreis mit — es sitzt deshalb bündig auf
   dem Träger statt in ihm. Eingerückt wäre das „AI“ zu klein; der Code of
   Practice verlangt eine „clearly visible size“.
   Zwei Klassen, damit `.gallery img { width:100%; height:100% }` und das
   Pendant in `.split__media` das Icon nicht auf Bildgröße aufblasen. */
.ai-badge .ai-badge__icon {
  flex: none;
  display: block;
  width: 1.9rem; height: 1.9rem;
  padding: 0;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}
/* Der Zoom-Effekt der Galerie gilt nur dem Bild, nicht dem Icon. */
.gallery figure:hover .ai-badge__icon { transform: none; }
.ai-badge__text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: max-width 0.55s var(--ease-out), opacity 0.3s var(--ease-soft),
              padding-right 0.55s var(--ease-out);
}
.ai-badge:hover .ai-badge__text,
.ai-badge:focus .ai-badge__text,
.ai-badge:focus-within .ai-badge__text {
  max-width: 22rem;
  opacity: 1;
  padding-right: 0.85rem;
}

/* Hero: etwas mehr Abstand, das Video ist großflächig */
.hero .ai-badge { top: clamp(1.2rem, 2.4vw, 1.8rem); right: clamp(1.4rem, 3vw, 2.6rem); }

@media (prefers-reduced-motion: reduce) {
  .ai-badge__text { transition: none; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__left { min-height: 0; }
  /* Mobil: Textbereich (Notice, Titel, Untertext, Siegel) mittig */
  .hero__textpanel { align-items: center; text-align: center; }
  .hero__notice { margin-inline: auto; }
  .hero__tagline { margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__seal { align-self: center; text-align: center; }
  /* Kundenwunsch: Der Anmeldekasten verdeckte mobil das Headerbild. Daher
     Bild in voller Breite im nativen 3:2-Format (Logo bleibt komplett
     sichtbar) und das Formular darunter im normalen Fluss. */
  .hero__right {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .hero__media {
    position: relative;
    inset: auto;
    aspect-ratio: 3 / 2;
  }
  .signup { max-width: none; }
  /* Scroll-Hinweis mobil ausblenden (natürliches Scrollen) */
  .hero__scroll { display: none; }
}

/* ---------- Signup card ---------- */
.signup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  margin: 0;
  background: rgba(244, 241, 236, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(45, 45, 45, 0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  padding: clamp(1.3rem, 0.9rem + 1.6vw, 1.9rem);
  text-align: left;
}
.signup__label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 0.9rem;
}
.signup__row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.signup__row .field { flex: 1 1 220px; margin: 0; }

.field { position: relative; margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 0.45rem;
}
.field input[type="email"],
.field input[type="text"] {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0;
  font-size: 1.15rem;
  color: var(--charcoal);
  transition: border-color 0.4s;
}
.signup .field label { color: var(--ink); }
.signup .field input::placeholder { color: var(--ink-soft); }
.signup .form-note { color: var(--ink-soft); }
.signup .consent { color: var(--ink); }
/* Maus-Klick: dezente Bronze-Unterkante; Tastatur-Fokus: deutlicher Outline-Ring */
.field input:focus { border-color: var(--bronze); }
.field input:focus:not(:focus-visible) { outline: none; }
.field input:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* Consent / honeypot */
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.2rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: none;
}
.consent input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.05rem; height: 1.05rem;
  accent-color: var(--bronze);
  flex: 0 0 auto;
}
.consent a { color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  margin-top: 0.8rem;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  min-height: 1.3em;
  color: var(--forest);
}
.form-status.is-error { color: #9c4a3c; }
.form-note {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 0.8rem;
  max-width: none;
}

/* ---------- Pillars ---------- */
.brandblock { text-align: center; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.brandblock img { height: clamp(122px, 13.9vw, 179px); width: auto; margin: 0 auto 1.5rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.pillar {
  background: var(--ivory);
  padding: clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem);
}
.pillar .idx {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bronze-deep);
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-size: 1.5rem;
  margin: 0.8rem 0 0.6rem;
}
.pillar p { font-size: 1.06rem; color: var(--ink-soft); max-width: none; }

/* ---------- Kriterien (Auswahlkriterien für Longevity Resorts) ---------- */
.bg-rose { background: var(--rose-soft); }
.criteria {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.criteria__row {
  display: grid;
  grid-template-columns: 3.2rem minmax(18ch, 0.65fr) 1.35fr;
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.3rem, 2.2vw, 1.8rem);
  border-bottom: 1px solid var(--line);
}
.criteria__row .num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--bronze-deep);
}
.criteria__row h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.18;
}
.criteria__row p { color: var(--ink-soft); max-width: none; font-size: 1.06rem; }
@media (max-width: 720px) {
  .criteria__row { grid-template-columns: 2.4rem 1fr; }
  .criteria__row p { grid-column: 2; }
}

/* ---------- Sprachumschalter ---------- */
.lang-switch {
  position: absolute;
  top: 1rem;
  right: clamp(1rem, 2.5vw, 1.6rem);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.lang-switch a { color: var(--ink-faint); transition: color 0.3s var(--ease-soft); }
.lang-switch a:hover { color: var(--charcoal); }
.lang-switch .is-active {
  color: var(--charcoal);
  border-bottom: 1px solid var(--bronze-deep);
  padding-bottom: 0.1em;
}
/* Variante für dunkle Header (Rechtsseiten) */
.lang-switch--dark { color: var(--on-dark-soft); top: 1.4rem; }
.lang-switch--dark a { color: var(--on-dark-soft); }
.lang-switch--dark a:hover { color: var(--on-dark); }
.lang-switch--dark .is-active {
  color: var(--on-dark);
  border-bottom-color: var(--rose);
}

/* ---------- Split (Text + Bild) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.split__text { align-self: center; }
.split__media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 2.6rem); }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(205px, 21vw, 285px);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.gallery figure { position: relative; overflow: hidden; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.gallery figure:hover img { transform: scale(1.05); }
.g-wide   { grid-column: span 8; grid-row: span 2; }
.g-tall   { grid-column: span 4; grid-row: span 2; }
.g-half   { grid-column: span 6; grid-row: span 2; }
.g-third  { grid-column: span 4; grid-row: span 2; }

/* Einzelbild außerhalb der Galerie trägt denselben KI-Badge wie Hero und
   Galerie — der frühere Verlauf am unteren Bildrand entfällt damit. */
.split__media { position: relative; }

/* ---------- Programmes list ---------- */
.prog-list { margin-top: clamp(2rem, 3vw, 3rem); border-top: 1px solid var(--line-on-dark); }
.prog-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.prog-row .num { font-family: var(--font-display); color: var(--bronze); font-size: 1.1rem; }
.prog-row .name { font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); color: var(--on-dark); }
.prog-row .meta { font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: clamp(1.2rem, 2.5vw, 1.7rem) 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
  line-height: 1.2;
  color: var(--charcoal);
  transition: color 0.3s var(--ease-soft);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--bronze-deep);
  transition: transform 0.35s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--bronze-deep); }
.faq__item summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.faq__body {
  padding: 0 0 clamp(1.4rem, 2.5vw, 2rem);
  max-width: 68ch;
}
.faq__body p { color: var(--ink-soft); max-width: none; }
.faq__body p + p { margin-top: 1rem; }
.faq__body ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 1rem 0;
  color: var(--ink-soft);
}
.faq__body ul li { margin-bottom: 0.5rem; }
.faq__body ul + p { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft-black); color: var(--on-dark); padding-top: clamp(4rem, 8vh, 7rem); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand svg { height: 56px; width: auto; margin-bottom: 1.4rem; color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-soft); font-size: 1.04rem; max-width: 42ch; }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 0.5rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1.3rem;
}
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a, .footer-col address {
  color: var(--on-dark-soft); font-size: 1.04rem; font-style: normal; transition: color 0.3s;
}
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.8rem;
  font-size: 0.86rem; letter-spacing: 0.06em; color: var(--on-dark-soft);
}
.footer-bottom .legal { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-credit { color: var(--on-dark-soft); }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color 0.3s; }
.footer-credit a:hover { color: var(--on-dark); }

/* ---------- Legal pages ---------- */
.legal-page { padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 5rem)); }
.legal-header {
  position: relative; /* Bezugsrahmen für .lang-switch */
  background: var(--soft-black);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vh, 5rem) clamp(2rem, 4vh, 3rem);
}
.legal-header .container { text-align: center; }
.legal-header .brand { color: var(--on-dark); justify-content: center; margin-bottom: 1.4rem; }
.legal-body { padding-block: clamp(3rem, 6vh, 5rem); }
.legal-body h2 {
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  margin: 2.6rem 0 0.9rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: var(--measure); }
.legal-body ul { list-style: disc; padding-left: 1.4rem; }
.legal-body ul li { margin-bottom: 0.5rem; }
.legal-body a { color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-body .placeholder {
  background: rgba(219, 195, 193, 0.28);
  border-left: 2px solid var(--bronze);
  padding: 0.05em 0.4em;
  font-style: italic;
}
.legal-body .updated { font-size: 0.95rem; color: var(--ink-faint); margin-top: 3rem; }

/* ---------- Thank-you ---------- */
.thanks {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--soft-black);
  color: var(--on-dark);
  padding: var(--gutter);
}
.thanks h1 { color: var(--on-dark); font-size: var(--fs-h1); margin: 1.4rem 0; }
.thanks p { color: var(--on-dark-soft); margin: 0 auto 2rem; }
.thanks .brand-mark { color: var(--on-dark); height: 64px; width: 64px; margin: 0 auto; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip-Link: visuell versteckt, bei Tastatur-Fokus sichtbar */
.skip-link {
  position: absolute; left: 1rem; top: -100%;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--soft-black); color: var(--ivory);
  font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none;
  border-radius: 4px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery { grid-auto-rows: auto; }
  .g-wide, .g-tall, .g-half, .g-third { grid-column: span 6; grid-row: auto; aspect-ratio: 4 / 3; }
  .header-badge { display: none; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-wide, .g-tall, .g-half, .g-third { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .bw-sub { display: none; }
  .prog-row { grid-template-columns: 2.5rem 1fr; }
  .prog-row .meta { grid-column: 2; }
}

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