/* Craftvolve – Landingpage. Mobile-first, ohne externe Schriften (keine Drittanbieter-Anfragen). */
:root {
  --nacht: #0d1424;
  --tiefe: #141d33;
  --flaeche: #1b2742;
  --flaeche-hell: #24335a;
  --rand: rgba(243, 234, 217, 0.12);
  --text: #f3ead9;
  --text-2: #bdb5a5;
  --gold: #eaa65b;
  --gold-hell: #f6c888;
  --gold-dunkel: #b9752f;
  --fenster: #ffd58a;
  --gruen: #8fc79a;
  --fehler: #f19a8a;
  --radius: 14px;
  --schatten: 0 18px 50px rgba(0, 0, 0, 0.45);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hell); }
a:hover { color: var(--fenster); }
:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; border-radius: 6px; }

.huelle { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Varianten: nur die passende Botschaft zeigen (Attribut setzt variante.js vor dem ersten Zeichnen) */
[data-nur] { display: none; }
html[data-v="a"] [data-nur~="a"],
html[data-v="b"] [data-nur~="b"],
html[data-v="c"] [data-nur~="c"] { display: revert; }

/* Kopf */
.kopf {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding: 16px 0;
}
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marke {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font: 600 20px/1 var(--serif); letter-spacing: 0.02em;
}
.marke svg { width: 30px; height: 30px; flex: none; }
.kopf-link {
  font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none;
  padding: 9px 14px; border: 1px solid var(--rand); border-radius: 999px;
  background: rgba(13, 20, 36, 0.55); backdrop-filter: blur(6px);
}
.kopf-link:hover { color: var(--text); border-color: var(--gold); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bild { position: absolute; inset: 0 0 auto 0; height: 400px; z-index: -2; }
.hero-bild picture, .hero-bild img { width: 100%; height: 100%; }
.hero-bild img { object-fit: cover; object-position: 58% 50%; }
html[data-v="b"] .hero-bild img,
html[data-v="c"] .hero-bild img { object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,20,36,0.4) 0, rgba(13,20,36,0.05) 120px, rgba(13,20,36,0.55) 250px, var(--nacht) 400px);
}
.hero-inhalt { padding: 270px 0 40px; }
.dachzeile {
  display: inline-block; margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-hell);
}
h1 {
  margin: 0 0 14px; max-width: 16ch;
  font: 600 clamp(34px, 9vw, 64px)/1.06 var(--serif);
  letter-spacing: -0.01em; text-wrap: balance;
}
.unterzeile { margin: 0 0 24px; max-width: 36ch; font-size: clamp(18px, 4.6vw, 21px); color: var(--text); opacity: 0.92; text-wrap: pretty; }

/* Morgenbericht (Variante B) */
.bericht {
  margin: 0 0 22px; max-width: 360px;
  background: rgba(20, 29, 51, 0.92); border: 1px solid var(--rand); border-radius: 18px;
  padding: 14px 16px 16px; box-shadow: var(--schatten); backdrop-filter: blur(8px);
}
.bericht-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; color: var(--text-2); }
.bericht-kopf b { color: var(--text); font-size: 14px; }
.bericht-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 38%, #e7b98f 0 32%, #8a3b25 33% 100%);
  border: 2px solid var(--gold);
}
.bericht p { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.bericht-knoepfe { display: flex; gap: 8px; }
.bericht-knoepfe span {
  flex: 1; text-align: center; font-size: 14px; font-weight: 600;
  padding: 8px 10px; border-radius: 10px; background: var(--flaeche-hell); border: 1px solid var(--rand);
}
.bericht-knoepfe span:first-child { background: var(--gold); color: #24170a; border-color: transparent; }

/* Formular */
.anmeldung { max-width: 480px; }
.feld-reihe { display: flex; flex-direction: column; gap: 10px; }
.eingabe {
  width: 100%; min-height: 54px; padding: 0 16px;
  font: inherit; color: var(--text);
  background: rgba(13, 20, 36, 0.78); border: 1px solid rgba(243,234,217,0.28); border-radius: 12px;
}
.eingabe::placeholder { color: #8d8879; }
.eingabe:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(234,166,91,0.28); }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 24px; width: 100%;
  font: 700 17px/1 var(--sans); color: #24170a; text-decoration: none;
  background: linear-gradient(180deg, var(--gold-hell), var(--gold));
  border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(234, 166, 91, 0.28), inset 0 -2px 0 rgba(0,0,0,0.15);
  transition: transform .12s ease, filter .12s ease;
}
.knopf:hover { filter: brightness(1.05); color: #24170a; }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: 0.6; cursor: progress; }
.knopf-zweit {
  background: transparent; color: var(--text); box-shadow: none; border: 1px solid var(--rand);
}
.knopf-zweit:hover { color: var(--text); border-color: var(--gold); }
.haken { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.haken input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gold); }
.klein { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.anmeldung .klein { margin: 12px 0 0; }
.honig { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung {
  margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15.5px;
  background: rgba(143, 199, 154, 0.12); border: 1px solid rgba(143, 199, 154, 0.45);
}
.meldung.fehler { background: rgba(241, 154, 138, 0.1); border-color: rgba(241, 154, 138, 0.5); }
.meldung[hidden] { display: none; }

/* Punkte unter dem Hero */
.punkte { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.punkte li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.punkte li::before {
  content: ""; width: 10px; height: 10px; flex: none; border-radius: 3px; transform: rotate(45deg);
  background: var(--fenster); box-shadow: 0 0 12px rgba(255, 213, 138, 0.8);
}

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--rand); }
h2 { margin: 0 0 12px; font: 600 clamp(28px, 6.5vw, 40px)/1.12 var(--serif); text-wrap: balance; }
.einleitung { margin: 0 0 32px; max-width: 58ch; color: var(--text-2); }

.saeulen { display: grid; gap: 16px; }
.saeule {
  background: var(--tiefe); border: 1px solid var(--rand); border-radius: var(--radius); overflow: hidden;
}
.saeule picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #17130f; }
.saeule-text { padding: 18px 18px 20px; }
.saeule h3 { margin: 0 0 6px; font: 600 21px/1.25 var(--serif); }
.saeule p { margin: 0; color: var(--text-2); font-size: 16px; }

.stadt-bild { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rand); box-shadow: var(--schatten); }
.stadt-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bildhinweis { margin: 10px 0 0; font-size: 13.5px; color: var(--text-2); }

.fakten { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 28px 0 0; }
.fakt { background: var(--tiefe); border: 1px solid var(--rand); border-radius: var(--radius); padding: 16px; }
.fakt b { display: block; font: 600 26px/1.1 var(--serif); color: var(--fenster); }
.fakt span { font-size: 14.5px; color: var(--text-2); }

/* Fragen */
.fragen details { border-bottom: 1px solid var(--rand); }
.fragen summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 17px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--sans); color: var(--gold);
}
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: 0 0 18px; color: var(--text-2); max-width: 64ch; }

/* Schluss-Aufruf */
.schluss { text-align: left; }
.schluss .anmeldung { margin-top: 20px; }

/* Fuß */
.fuss { padding: 36px 0 48px; border-top: 1px solid var(--rand); font-size: 14.5px; color: var(--text-2); }
.fuss .huelle { display: flex; flex-direction: column; gap: 14px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss a { color: var(--text-2); }
.fuss a:hover { color: var(--text); }

/* Unterseiten (Rechtstexte, Bestätigung) */
.seite-kopf { position: static; border-bottom: 1px solid var(--rand); background: var(--tiefe); }
.text { padding: 40px 0 64px; }
.text .huelle { max-width: 760px; }
.text h1 { max-width: none; font-size: clamp(30px, 7vw, 44px); }
.text h2 { font-size: 23px; margin: 36px 0 8px; }
.text h3 { font: 600 18px/1.3 var(--sans); margin: 22px 0 6px; }
.text p, .text li { color: #e2dacb; }
.text ul { padding-left: 1.2em; }
.text li { margin: 0 0 6px; }
.stand { color: var(--text-2); font-size: 14.5px; }
.hinweis {
  background: var(--tiefe); border: 1px solid var(--rand); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 14px 16px; margin: 18px 0; font-size: 15px; color: var(--text-2);
}
.tabelle-huelle { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
th, td { border: 1px solid var(--rand); padding: 9px 11px; text-align: left; vertical-align: top; }
th { background: var(--tiefe); }

/* Preisstufe */
.karte {
  background: var(--tiefe); border: 1px solid var(--rand); border-radius: 18px;
  padding: 24px 20px; box-shadow: var(--schatten); margin: 24px 0;
}
.preis { font: 600 44px/1 var(--serif); color: var(--fenster); margin: 8px 0 2px; }
.preis small { font: 500 16px/1 var(--sans); color: var(--text-2); }
.vorteile { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; }
.vorteile li { display: flex; gap: 10px; }
.vorteile li::before { content: "✓"; color: var(--gruen); font-weight: 700; }
.laedt { color: var(--text-2); }

@media (min-width: 720px) {
  .hero { min-height: 92vh; display: flex; align-items: flex-end; }
  .hero-bild { inset: 0; height: auto; }
  .hero-inhalt { padding: 160px 0 72px; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(13,20,36,0.92) 0%, rgba(13,20,36,0.7) 38%, rgba(13,20,36,0.05) 70%),
      linear-gradient(180deg, rgba(13,20,36,0.4) 0%, transparent 25%, transparent 75%, var(--nacht) 100%);
  }
  .feld-reihe { flex-direction: row; }
  .feld-reihe .eingabe { flex: 1; }
  .feld-reihe .knopf { width: auto; flex: none; }
  .punkte { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 28px; }
  .saeulen { grid-template-columns: repeat(3, 1fr); }
  .fakten { grid-template-columns: repeat(4, 1fr); }
  .abschnitt { padding: 96px 0; }
  .fuss .huelle { flex-direction: row; justify-content: space-between; align-items: center; }
  .karte { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}

/* Hilfsklassen statt Inline-Styles (CSP ohne 'unsafe-inline') */
.ohne-rand { margin: 0; }
.einleitung.knapp { margin-bottom: 0; }
h2.oben { margin-top: 0; }
.klein.abstand { margin-top: 12px; }
.knopf.schmal { max-width: 320px; }

/* ---------- Ausführliche Abschnitte (29.11.) ---------- */
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.schritte, .ringe, .fahrplan { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.schritte { counter-reset: schritt; }
.schritte li, .ringe li, .fahrplan li { display: grid; gap: 4px; background: var(--tiefe); border: 1px solid var(--rand); border-radius: var(--radius); padding: 16px 18px; min-width: 0; align-content: start; }
.schritte li { counter-increment: schritt; padding-left: 62px; position: relative; }
.schritte li::before { content: counter(schritt); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #24170a; font-weight: 700; font-size: 15px; }
.schritte b, .ringe b, .fahrplan b { font: 600 19px/1.3 var(--serif); color: var(--text); }
.schritte span, .ringe span, .fahrplan span { color: var(--text-2); font-size: 16px; }

.einzel { background: linear-gradient(180deg, var(--tiefe), var(--nacht)); }
.einzel-raster { display: grid; gap: 28px; align-items: start; }
.liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 60ch; }
.liste li { color: var(--text-2); padding-left: 20px; position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--fenster); transform: rotate(45deg); }
.liste b { color: var(--text); }
.biografie { margin: 0; background: #1d1a17; border: 1px solid rgba(246, 200, 136, 0.35); border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); }
.bio-marke { margin: 0 0 10px; display: inline-block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--rand); border-radius: 999px; padding: 3px 10px; }
.bio-name { margin: 0; font: 600 26px/1.2 var(--serif); color: var(--gold-hell); }
.bio-meta { margin: 4px 0 16px; font-size: 14px; color: var(--text-2); }
.bio-zeit { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid rgba(246, 200, 136, 0.35); display: grid; gap: 12px; font-size: 15px; }
.bio-zeit b { display: block; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

.karten { display: grid; gap: 12px; }
.karte { background: var(--tiefe); border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px; min-width: 0; }
.karte h3 { margin: 0 0 6px; font: 600 20px/1.25 var(--serif); }
.karte p { margin: 0; color: var(--text-2); font-size: 16px; }

.ringe { margin: 22px 0 8px; }
.ringe li { border-left: 4px solid var(--gold-dunkel); }
.ringe li:nth-child(2) { border-left-color: var(--gold); }
.ringe li:nth-child(3) { border-left-color: var(--gold-hell); }
.ringe li:nth-child(4) { border-left-color: var(--fenster); }
.stadt-bild { margin: 24px 0 0; }

.nie { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nie li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rand); background: var(--tiefe); font-size: 15px; }
.nie li::before { content: "✕ "; color: var(--fehler); }

.fahrplan li { border-left: 4px solid var(--flaeche-hell); }
.fahrplan li.jetzt { border-left-color: var(--gruen); }
.fahrplan li.jetzt b::after { content: " · in progress"; font: 500 13px var(--sans); color: var(--gruen); }
html[lang="de"] .fahrplan li.jetzt b::after { content: " · läuft"; }

@media (min-width: 720px) {
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .karten { grid-template-columns: repeat(2, 1fr); }
  .ringe { grid-template-columns: repeat(2, 1fr); }
  .einzel-raster { grid-template-columns: 1.2fr 1fr; gap: 40px; }
}
@media (min-width: 1000px) {
  .schritte { grid-template-columns: repeat(4, 1fr); }
  .karten { grid-template-columns: repeat(4, 1fr); }
  .fahrplan { grid-template-columns: repeat(5, 1fr); }
}
