/*
 * Stillschrift — Designvariante A „Fensterlichter" (Nocturne).
 * Der emotionale Pol: dunkelblauschwarz an den Rändern, warmer Lampen-Glow
 * im Zentrum, Off-White-Text. Atmosphäre entsteht ausschließlich aus
 * CSS-Gradienten + inline-SVG (kein Foto) und aus der Typografie.
 * Keine externen Requests: Fonts (OFL) liegen im Repo unter prototype/fonts/.
 */

/* ---------- Schriften (self-hosted, Latin-Subset) ------------------------- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-var-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/eb-garamond-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/eb-garamond-var-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Token ---------------------------------------------------------- */

:root {
  /* Flächen — Blauschwarz von der Kante ins Zimmer */
  --edge: #0D1117;        /* dunkelste Ränder */
  --base: #10151F;        /* Grundfläche der Seite */
  --mid: #141B29;         /* etwas gehobene Bänder */
  --deep: #1A2438;        /* erhöhte Flächen / tiefe Bänder */
  --card: #172032;        /* Karten */
  --field: #131A27;       /* Eingabefelder */

  /* Linien */
  --rule: #2A3446;
  --rule-soft: #202A3B;
  --field-border: #5C6B86;  /* sichtbarer Feldrahmen — WCAG 1.4.11 (>=3:1 auf --field) */

  /* Off-White-Text auf Dunkel */
  --text-hi: #F2EEE6;     /* Überschriften */
  --text: #DBD6CC;        /* tragender Lesetext */
  --text-mid: #C3BCB0;    /* sekundärer Lesetext */
  --text-dim: #A7AAB0;    /* Microcopy */
  --text-faint: #8A8F98;  /* Ordnungszahlen, Platzhalter */

  /* Bernstein / Gold — das warme Licht */
  --amber: #E0A94D;
  --amber-hi: #E8B96A;
  --amber-deep: #C8943A;

  /* Papier im Lampenlicht (Brief) */
  --paper: #ECE3D2;
  --letter-ink: #2A2A2E;
  --letter-amber: #6E5013;

  /* Schrift — Display serif, Body Grotesk, Brief serif */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-letter: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --section-gap: clamp(66px, 9vw, 116px);
}

/* ---------- Basis ---------------------------------------------------------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background-color: var(--edge);
  /* Warmer Fenster-Glow oben-zentral, ins Blauschwarz auslaufend */
  background-image:
    radial-gradient(130% 78% at 50% -6%,
      rgba(232, 185, 106, 0.16) 0%,
      rgba(200, 148, 58, 0.07) 26%,
      rgba(20, 27, 41, 0) 58%),
    linear-gradient(180deg, #131A28 0%, #10151F 46%, #0B0E14 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Vignette (dunkle Ränder) + ganz leichte Tiefe — rein dekorativ, fixiert. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 40%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.38) 100%);
}

::placeholder { color: var(--text-faint); opacity: 1; }
::selection { background: var(--amber-deep); color: var(--edge); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-hi);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 4.6vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: 0.004em;
  margin: 0 0 30px;
}

p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }

a { color: var(--amber); }

strong { font-weight: 600; }

.container {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 40rem; }
.container.narrower { max-width: 38rem; }
.container.faq-width { max-width: 42rem; }

.section { padding-top: var(--section-gap); }

/* Bild der Audienz-LPs: die eine Lampe des Abschnitts — aus dem Dunkel
   der Seite auftauchend (Feder-Maske statt Karte), mit einer Zeile in
   Briefstimme darunter. */
.lp-bild {
  max-width: 40rem;
  margin: clamp(40px, 6vw, 60px) auto 0;
  padding: 0 24px;
  background: radial-gradient(60% 55% at 50% 42%,
    rgba(232, 185, 106, 0.05) 0%, rgba(232, 185, 106, 0) 70%);
}
.lp-bild img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(125% 135% at 50% 40%, #000 52%, transparent 100%);
  mask-image: radial-gradient(125% 135% at 50% 40%, #000 52%, transparent 100%);
}
.lp-bild figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-letter);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* Erzählprosa in der Briefschrift — die Seite liest sich wie ein Brief;
   UI, Labels und Microcopy bleiben in der Grotesk. */
#spiegelung p,
#nicht-der-erste p,
#mensch p,
.hero-subhead {
  font-family: var(--font-letter);
}

/* Schnell-verlassen — stiller Fluchtweg für geteilte Geräte (app.js
   ersetzt beim Klick den History-Eintrag; siehe Threat-Model). */
.quick-exit {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: blur(4px);
}
.quick-exit:hover,
.quick-exit:focus-visible {
  color: var(--text-hi);
  border-color: var(--field-border);
}
@media print { .quick-exit { display: none; } }

.muted { color: var(--text-mid); }

.microcopy {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--amber-hi);
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 1.85rem);
  line-height: 1.5;
  color: var(--text-hi);
  margin: 34px 0;
  text-align: center;
}

/* ---------- Ornament — die „Hausnummer im Nachtlicht" ---------------------- */

.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(30px, 5vw, 46px);
}
.ornament span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 14px rgba(232, 185, 106, 0.5);
}
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(200, 148, 58, 0.5) 0%,
    var(--rule) 24%,
    rgba(42, 52, 70, 0) 100%);
}

/* ---------- Buttons — der Lichtschalter ----------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(150deg, var(--amber-hi) 0%, var(--amber-deep) 100%);
  color: var(--edge);
  border: none;
  padding: 16px 38px;
  box-shadow:
    0 0 0 1px rgba(232, 185, 106, 0.28),
    0 14px 40px -14px rgba(200, 148, 58, 0.7);
  transition: box-shadow 0.28s ease, transform 0.28s ease, filter 0.28s ease;
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(232, 185, 106, 0.5),
    0 18px 52px -14px rgba(232, 185, 106, 0.85);
}

.btn-secondary {
  background: none;
  color: var(--text-hi);
  border: 1px solid var(--rule);
  padding: 12px 28px;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber-hi);
}

/* ---------- 1 · Hero — das erleuchtete Fenster ---------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 15vh, 148px) 0 clamp(72px, 11vh, 116px);
  text-align: center;
}

/* Der Lampen-Glow, in dem die Headline sitzt */
.hero-glow {
  position: absolute;
  left: 50%;
  top: clamp(30px, 8vh, 90px);
  width: min(120vw, 900px);
  height: min(90vh, 720px);
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(232, 185, 106, 0.28) 0%,
    rgba(200, 148, 58, 0.12) 34%,
    rgba(200, 148, 58, 0) 68%);
  filter: blur(6px);
  animation: hero-breathe 9s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

.hero .container { position: relative; z-index: 1; }

.hero-window {
  display: block;
  width: clamp(64px, 12vw, 96px);
  height: auto;
  margin: 0 auto clamp(24px, 4vw, 34px);
  filter: drop-shadow(0 0 26px rgba(232, 185, 106, 0.5));
}

.wordmark {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--amber);
}

.double-rule {
  width: 58px;
  height: 2px;
  margin: 0 auto clamp(34px, 5vw, 46px);
  border-radius: 2px;
  background: linear-gradient(90deg,
    rgba(200, 148, 58, 0) 0%,
    var(--amber) 50%,
    rgba(200, 148, 58, 0) 100%);
  box-shadow: 0 0 16px rgba(232, 185, 106, 0.55);
}
.double-rule::after { content: none; }

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.3rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.005em;
  max-width: 16ch;
  margin: 0 auto 28px;
  color: var(--text-hi);
  text-shadow: 0 2px 40px rgba(232, 185, 106, 0.22);
}

.hero-subhead {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 35rem;
  margin: 0 auto 44px;
}

.hero-cta-wrap { margin: 0 0 20px; }

/* ---------- 3 · So funktioniert es ---------------------------------------- */

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

.steps {
  list-style: none;
  counter-reset: schritt;
  margin: clamp(30px, 5vw, 46px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.step {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
}
.step::before {
  content: counter(schritt);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--amber-hi);
  background: radial-gradient(60% 60% at 50% 40%,
    rgba(232, 185, 106, 0.14) 0%, rgba(232, 185, 106, 0) 100%);
  box-shadow: inset 0 0 18px -8px rgba(232, 185, 106, 0.6);
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.42rem;
  line-height: 1.3;
  color: var(--text-hi);
}
.step p { color: var(--text-mid); margin: 0; }

/* ---------- 4 · Warum ein Mensch ------------------------------------------ */

.gruende {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: clamp(28px, 5vw, 42px);
}
.gruende > div {
  padding: 26px 26px 26px 24px;
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--amber-deep);
  border-radius: 4px;
  background: linear-gradient(180deg,
    rgba(23, 32, 50, 0.55) 0%, rgba(16, 21, 31, 0.35) 100%);
}
.gruende h3 {
  margin: 0 0 10px;
  font-size: 1.36rem;
  line-height: 1.3;
  color: var(--amber-hi);
}
.gruende p { margin: 0; color: var(--text-mid); }

.transparenz-hinweis {
  margin-top: clamp(30px, 5vw, 46px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
  font-size: 0.95rem;
  line-height: 1.75;
}
.transparenz-hinweis p { color: var(--text-dim); margin: 0; }
.transparenz-hinweis .signature {
  margin-top: 16px;
  font-size: 1.25rem;
}

/* ---------- 5 · Dein Schutz ----------------------------------------------- */

.schutz-liste {
  margin: clamp(28px, 5vw, 42px) 0 0;
  border-top: 2px solid var(--amber-deep);
}
.schutz-liste > div {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.schutz-liste dt {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-hi);
}
.schutz-liste dd { margin: 0; color: var(--text-mid); }

.schutz-schluss {
  margin: clamp(32px, 5vw, 48px) 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  color: var(--amber-hi);
  text-shadow: 0 0 30px rgba(232, 185, 106, 0.28);
}

/* ---------- 6 · Beispiel-Einschätzung (Brief im Lampenschein) ------------- */

.letter-band {
  position: relative;
  overflow: hidden;
  margin-top: var(--section-gap);
  padding: var(--section-gap) 0;
  background:
    linear-gradient(180deg,
      rgba(11, 14, 20, 0.55) 0%,
      rgba(8, 11, 16, 0.75) 100%);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
/* warmer Lichtkegel, der auf den Brief fällt */
.letter-band-glow {
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(110vw, 760px);
  height: 70%;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(50% 46% at 50% 40%,
    rgba(232, 185, 106, 0.2) 0%,
    rgba(200, 148, 58, 0.08) 40%,
    rgba(200, 148, 58, 0) 72%);
  filter: blur(4px);
  /* dieselbe lebendige Lampe wie im Hero, andere Periode — nie synchron */
  animation: hero-breathe 11s ease-in-out infinite;
}

/* kompakter Ein-Satz-Brief im Teaser-Band */
.letter-band .letter-mini {
  max-width: 30rem;
  margin: 0 auto 30px;
  padding: clamp(26px, 5vw, 40px) clamp(22px, 5vw, 42px);
  font-family: var(--font-letter);
  font-size: 1.1rem;
  line-height: 1.7;
}
.letter-band .letter-mini .signature { margin-top: 14px; }
.letter-band .letter-nachbemerkung { text-align: center; }
.letter-band .container { position: relative; z-index: 1; }
.letter-band h2 {
  text-align: center;
  margin-bottom: 20px;
}

.letter-vorbemerkung {
  max-width: 34rem;
  margin: 0 auto 34px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.beispiel-paar {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 30px);
  max-width: 40rem;
  margin: 0 auto;
}

.beispiel-label {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.letter-label { color: var(--letter-amber); }

.anliegen-karte {
  background: rgba(19, 26, 39, 0.7);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--amber-deep);
  border-radius: 4px;
  padding: clamp(24px, 5vw, 38px);
}
.anliegen-text {
  margin: 0;
  color: var(--text);
  font-family: var(--font-letter);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.85;
}

.letter {
  position: relative;
  background: var(--paper);
  color: var(--letter-ink);
  border-radius: 4px;
  padding: clamp(30px, 7vw, 66px) clamp(24px, 7vw, 66px);
  box-shadow:
    0 0 0 1px rgba(232, 185, 106, 0.14),
    0 40px 100px -30px rgba(0, 0, 0, 0.8),
    0 4px 22px rgba(0, 0, 0, 0.45),
    0 0 90px -30px rgba(232, 185, 106, 0.55);
}
/* warmer Anschein von Lampenlicht auf dem Papier */
.letter::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%,
    rgba(232, 185, 106, 0.14) 0%,
    rgba(232, 185, 106, 0) 55%);
}
.letter > * { position: relative; }
.letter-glyph {
  display: block;
  width: 50px;
  height: auto;
  margin: 6px auto 30px;
  color: var(--letter-amber);
}
.letter p {
  font-family: var(--font-letter);
  font-size: 1.12rem;
  line-height: 1.92;
  color: var(--letter-ink);
  margin: 0 0 22px;
}
.letter .beispiel-label { font-family: var(--font-body); }
.letter .signature {
  margin: 6px 0 0;
  font-size: 1.5rem;
  color: var(--letter-amber);
}
.letter-auszug-hinweis {
  margin: 26px 0 6px !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--letter-amber) !important;
}

.letter-nachbemerkung {
  margin: 24px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* ---------- 7 · Wer das liest --------------------------------------------- */

.stefan-block { text-align: center; }
.stefan-block .ornament { justify-content: center; }
.stefan-block .ornament::after { display: none; }
.stefan-block .signature {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-top: 34px;
}

/* ---------- 8 · Preis ----------------------------------------------------- */

.price-card {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(30px, 5vw, 46px);
  text-align: center;
  margin-top: 30px;
  background: linear-gradient(180deg,
    rgba(26, 36, 56, 0.6) 0%, rgba(16, 21, 31, 0.5) 100%);
}
.price-card .preis {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 2.5rem);
  line-height: 1.15;
  color: var(--amber-hi);
  text-shadow: 0 0 26px rgba(232, 185, 106, 0.3);
}
.price-card .leistung { color: var(--text); margin-bottom: 14px; }
.price-card .kein-abo { color: var(--text-mid); margin: 0; }

.preis-fussnote {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--text-dim);
}

/* ---------- 9 · FAQ ------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); margin-top: clamp(26px, 5vw, 42px); }
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-q { margin: 0; }
.faq-q button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  width: 100%;
  min-height: 44px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-hi);
  transition: color 0.2s ease;
}
.faq-q button:hover { color: var(--amber-hi); }
.faq-q button::after {
  content: '+';
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--amber);
  transition: transform 0.2s ease;
}
.faq-q button[aria-expanded='true']::after {
  content: '−';
  color: var(--amber-hi);
}

.faq-a { padding: 0 4px 26px; }
.faq-a p { color: var(--text-mid); margin: 0; }

/* ---------- 10 · Formular ------------------------------------------------- */

#schreiben { scroll-margin-top: 24px; }

#free-first label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-hi);
}

#free-first textarea,
#free-first input[type='text'],
#free-first input[type='password'] {
  display: block;
  width: 100%;
  background: var(--field);
  color: var(--text-hi);
  border: 1px solid var(--field-border);
  border-radius: 4px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#free-first textarea {
  padding: 20px;
  font-size: 1.08rem;
  line-height: 1.8;
  resize: vertical;
  min-height: 200px;
}
#free-first input[type='text'],
#free-first input[type='password'] {
  padding: 14px 16px;
  font-size: 1.05rem;
  min-height: 48px;
}
#free-first textarea:focus,
#free-first input:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 148, 58, 0.22);
}

.field-reassurance { margin: 10px 0 26px; }

#form-step-2 {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}
#form-step-2 h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--text-hi);
}
#form-step-2 > p { color: var(--text-mid); margin-bottom: 28px; }

.field { margin-bottom: 24px; }
.field .fieldhelp {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.84rem;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.field label { margin-bottom: 6px; }

.phrase-hinweis { font-size: 0.95rem; color: var(--text-mid); margin: 0 0 26px; }

.field.consent { margin: 0 0 30px; }
.field.consent label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
  cursor: pointer;
  margin: 0;
}
.field.consent input[type='checkbox'] {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--amber-deep);
}

/* Honeypot — für Menschen unerreichbar, für Bots ein Feld */
.hp-feld {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Ruhige Feldfehler */
.feld-fehler {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--amber-hi);
  border-left: 2px solid var(--amber-deep);
  padding-left: 12px;
  margin: 12px 0 20px;
}

/* Schritt 3 — Wiederherstellungs-Schlüssel */
#form-step-3 {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}
#form-step-3 h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--text-hi);
}
#form-step-3 > p { color: var(--text-mid); }
#form-step-3 > .microcopy { color: var(--text-dim); }

.phrase-card {
  margin: 30px 0 18px;
  padding: clamp(28px, 5vw, 46px);
}
.phrase-card-titel {
  margin: 0 0 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--letter-amber);
}
.phrase-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
}
.phrase-liste li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.06rem;
  color: var(--letter-ink);
}
.wort-nr {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--letter-amber);
  min-width: 1.5em;
  text-align: right;
}
.wort-text {
  font-family: var(--font-letter);
  letter-spacing: 0.02em;
}

.phrase-print-hinweis { margin: 0 0 18px; }
.phrase-print-wrap { margin: 0 0 28px; }

.success-konto-link { margin-bottom: 18px; }
.success-konto-link a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#form-success {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(30px, 6vw, 48px);
  text-align: center;
  background: linear-gradient(180deg,
    rgba(26, 36, 56, 0.55) 0%, rgba(16, 21, 31, 0.5) 100%);
}
#form-success h3 {
  margin: 0 0 18px;
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--amber-hi);
  text-shadow: 0 0 26px rgba(232, 185, 106, 0.3);
}
#form-success p { color: var(--text); }
#form-success .microcopy { color: var(--text-mid); }

.krisen-hinweis {
  margin-top: clamp(36px, 6vw, 52px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  font-size: 0.95rem;
  line-height: 1.75;
}
.krisen-hinweis p { color: var(--text-mid); margin: 0; }
.krisen-hinweis strong { color: var(--text-hi); font-weight: 600; }
.krisen-hinweis a {
  color: var(--text-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---------- 11 · Footer --------------------------------------------------- */

.site-footer {
  margin-top: var(--section-gap);
  padding: clamp(52px, 8vw, 82px) 0 clamp(40px, 6vw, 60px);
  text-align: center;
  background: linear-gradient(180deg,
    rgba(8, 11, 16, 0.4) 0%, rgba(6, 8, 12, 0.85) 100%);
  border-top: 1px solid var(--rule-soft);
}
.wichtig-titel {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
}
.wichtig-block p {
  max-width: 38rem;
  margin: 0 auto 36px;
  font-size: 0.98rem;
  color: var(--text-mid);
}
.legal-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 20px;
}
.legal-nav a {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 0;
}
.legal-nav a:hover { color: var(--amber-hi); }
.copyright {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--text-faint);
}

/* ---------- 2b · Womit du dich melden kannst ------------------------------ */

.womit-liste {
  list-style: none;
  margin: clamp(26px, 5vw, 38px) 0 0;
  padding: 0;
}
.womit-liste li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.6;
}
.womit-liste li:last-child { border-bottom: none; }
.womit-liste li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 1.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(232, 185, 106, 0.7);
}

.womit-bruecke {
  margin: clamp(26px, 4vw, 34px) 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--text-hi);
}

.flow-mini {
  list-style: none;
  counter-reset: flowmini;
  margin: clamp(28px, 5vw, 42px) 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.flow-mini li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}
.flow-mini-nr {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--amber);
  min-width: 1.2em;
}

/* ---------- Rechtliche Stub-Seiten (Impressum / Datenschutz) -------------- */

.stub-main {
  padding: clamp(80px, 14vh, 140px) 0;
  text-align: center;
}
.stub-main .wordmark { margin-bottom: 26px; }
.stub-main h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  color: var(--text-hi);
}
.stub-hinweis {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
  margin: 0 0 36px;
}
.stub-hinweis p { color: var(--text-mid); margin: 0; }
.stub-back a { color: var(--amber); }

/* ---------- Bewegung reduzieren ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .hero-glow { opacity: 0.9; }
}

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 540px) {
  body { font-size: 17px; }
  .phrase-liste { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step::before { width: 40px; height: 40px; font-size: 1.3rem; }
}

@media (min-width: 760px) {
  .gruende { gap: 22px; }
}

/* ---------- Druck: nur die Wörter-Karte, schwarz auf weiß ----------------- */

@media print {
  body.print-phrase * { visibility: hidden; }
  body.print-phrase .phrase-card,
  body.print-phrase .phrase-card * { visibility: visible; }
  body.print-phrase .phrase-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
    background: #fff;
    border-radius: 0;
  }
  body.print-phrase .phrase-card::before { display: none; }
  body.print-phrase .phrase-card,
  body.print-phrase .phrase-card * { color: #000; }
}


/* ---------- Turnstile-Feld (LP + Portal) --------------------------------- */
.turnstile-feld { margin-bottom: 24px; }
.turnstile-slot:empty { display: none; }

/* ---------- /konto — Portal (Fensterlichter-Theme) ------------------------ */

.konto-main { padding: clamp(56px, 9vh, 96px) 0 var(--section-gap); }

.konto-kopf { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.konto-kopf .double-rule { margin-bottom: 0; }

.konto-note {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-mid);
  border-left: 2px solid var(--amber-deep);
  padding: 4px 0 4px 14px;
  margin: 0 0 30px;
}
.konto-note:empty { display: none; }

.konto-view h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 24px; }
.konto-view h3 { font-size: 1.3rem; line-height: 1.3; margin: 40px 0 14px; }

.quick-exit {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 10;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--deep);
  border: 1px solid var(--field-border);
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.quick-exit:hover { color: var(--text-hi); border-color: var(--amber); }

.konto-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-hi);
}
.konto-form input[type='text'],
.konto-form input[type='password'],
.konto-form textarea {
  display: block;
  width: 100%;
  background: var(--field);
  color: var(--text-hi);
  border: 1px solid var(--field-border);
  border-radius: 4px;
  font-family: var(--font-body);
  padding: 14px 16px;
  font-size: 1.05rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.konto-form textarea {
  padding: 20px;
  font-size: 1.1rem;
  line-height: 1.85;
  resize: vertical;
  min-height: 160px;
}
.konto-form input:focus,
.konto-form textarea:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 148, 58, 0.22);
}
.konto-form .field { margin-bottom: 22px; }
.konto-form button { margin-top: 4px; }

.link-btn {
  background: none;
  border: none;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--text-hi); }

.konto-nebenweg { margin-top: 22px; }

.wort-fieldset { border: none; margin: 0 0 22px; padding: 0; }
.wort-fieldset legend {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-hi);
  padding: 0;
  margin-bottom: 10px;
}
.wort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
@media (max-width: 540px) { .wort-grid { grid-template-columns: repeat(2, 1fr); } }
.wort-feld { display: flex; align-items: center; gap: 8px; }
.wort-grid-nr {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-faint);
  min-width: 1.4em;
  text-align: right;
}
.konto-form .wort-feld input { min-height: 44px; padding: 8px 10px; font-size: 0.98rem; }

.thread-status {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text-hi);
  margin-bottom: 32px;
}
.thread-status:empty { display: none; }

.msg { margin-bottom: 34px; }
.msg-meta { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-dim); margin: 0 0 8px; }
.msg-body { white-space: pre-wrap; margin: 0; }
.msg-client { border-left: 2px solid var(--rule); padding: 4px 0 4px 18px; }
.msg-client .msg-body { color: var(--text); }
.letter.msg-brief { padding: clamp(24px, 5vw, 48px); }
.msg-brief .msg-body { color: var(--letter-ink); font-size: 1.08rem; line-height: 1.85; }

#composer-block { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--rule); }
#upgrade-block { margin-top: 40px; padding-top: 8px; }
.upgrade-titel { margin-top: 0 !important; }
.upgrade-cta { margin-top: 26px; text-align: center; }

.konto-nav {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

#invoice-block a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

.gefahr-block { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule); }
.gefahr-block h3 { margin-top: 0; }
#delete-confirm { margin-top: 20px; border: 1px solid var(--rule); border-radius: 4px; padding: 22px; }
#delete-confirm .link-btn { margin-left: 16px; }

/* ---------- Rechtstexte (Impressum / Datenschutz / AGB) ------------------- */
.legal-top { border-bottom: 1px solid var(--rule); }
.legal-top .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px; padding-bottom: 22px;
}
.legal-top .wordmark { margin: 0; }
.legal-back {
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim); white-space: nowrap;
}
.legal-back:hover { color: var(--amber); }

.legal { padding: clamp(48px, 8vh, 88px) 0 clamp(72px, 12vh, 128px); }
.legal-kicker {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px;
}
.legal h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.05; color: var(--text-hi); margin: 0 0 12px;
}
.legal-lede { color: var(--text-mid); font-size: 1.02rem; line-height: 1.7; margin: 0 0 28px; }
.legal-rule { height: 1px; background: var(--rule); margin-bottom: 44px; }

.legal-section { margin-bottom: 40px; }
.legal-section h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 1.8rem); line-height: 1.2; color: var(--amber-hi); margin: 0 0 14px;
}
.legal-section h3 {
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  color: var(--text-hi); margin: 24px 0 8px;
}
.legal-section p { color: var(--text); font-size: 0.98rem; line-height: 1.75; margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--text-hi); }
.legal-section a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--amber-hi); }
.legal-section ul { padding-left: 20px; margin: 8px 0 12px; }
.legal-section li { color: var(--text); font-size: 0.98rem; line-height: 1.7; margin-bottom: 5px; }

.legal-section table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 10px 0 12px;
  display: block; overflow-x: auto;
}
.legal-section th, .legal-section td {
  border: 1px solid var(--rule); padding: 9px 12px; text-align: left;
  color: var(--text-mid); vertical-align: top; line-height: 1.55;
}
.legal-section th {
  font-family: var(--font-body); font-weight: 600; color: var(--text-hi); background: var(--deep);
}

.legal-model {
  padding: 16px 18px; background: var(--deep); border-left: 3px solid var(--amber-deep);
  border-radius: 0 6px 6px 0; color: var(--text-mid); font-size: 0.94rem; line-height: 1.75;
}
.legal-note {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule);
  font-size: 0.85rem; color: var(--text-dim); line-height: 1.65;
}

.legal-footer { border-top: 1px solid var(--rule); padding: 28px 0; }
.legal-footer .container {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
}
.legal-footer .copyright { margin: 0; font-size: 0.8rem; color: var(--text-faint); }
.legal-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-footer a { font-size: 0.8rem; color: var(--text-dim); }
.legal-footer a:hover { color: var(--amber); }
