/*
 * 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;
}

/* Handschrift (OFL) — Signatur, die sich schreibende Feder-Zeile. Nur für
   autorseitige Kurztexte (Papier-Stimme), nie für Fließtext/UI. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/caveat-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;
}

/* ---------- 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, Hand für Signatur */
  --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;
  --font-hand: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;

  /* Tintenfarben auf Papier (Feder-Zeile, Tintenklecks) */
  --ink: #33291F;
  --ink-soft: #4A3B2A;

  --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;
  /* Die Ellipse liegt fast ganz IM Bild (75%/80% statt der alten 125%/135%):
     die alte, weit über das Bild hinausreichende Maske ließ die Seiten voll
     deckend — harter Rechteck-Rand statt Vignette, und so fielen die ~19px
     weißen Pillarbox-Balken auf, die im tinte.jpg selbst eingebacken waren
     (Datei seitdem auf 986×576 zugeschnitten; die anderen drei LPs waren
     sauber). So fadet das Bild weich aus dem Dunkel auf — Sicherheitsbereich
     bis 97%, nie ein harter Rand. */
  -webkit-mask-image: radial-gradient(75% 80% at 50% 42%, #000 58%, transparent 97%);
  mask-image: radial-gradient(75% 80% at 50% 42%, #000 58%, transparent 97%);
}
.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 GANZE Seite liest sich wie ein Brief.
   Jeder Fließtext läuft in EB Garamond: die Absätze, die Situations-Liste
   (#womit), die Schutz-Beschreibungen (dd) und die FAQ-Antworten. Grotesk
   bleibt bewusst nur, was UI/Chrome ist — Labels (dt), Buttons, Microcopy,
   das Kleingedruckte (.preis-fussnote), die Preis-Karte, das Formular
   (#schreiben) und die Fußzeile. Vorher lief nur ein Teil der Absätze in der
   Briefschrift; der Wechsel serif↔grotesk mitten im Lesen wirkte wie ein Bug
   („revertiert zu Arial"). Die Cormorant-Akzente (.pull-quote, .schutz-schluss,
   .preis) sind absichtlich ausgenommen — die .signature läuft seit dem
   Schriftpapier-Redesign in der Handschrift (--font-hand). */
.hero-subhead,
#spiegelung p,
#nicht-der-erste p,
#mensch p,
#womit > .container > p,
#womit .womit-liste li,
#schutz > .container > p:not(.schutz-schluss),
#schutz .schutz-liste dd,
#beispiel .letter-vorbemerkung,
#ablauf > .container > p:not(.preis-fussnote),
#ablauf-preis > .container > p:not(.preis-fussnote),
.faq-a p {
  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-hand);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--amber-hi);
  display: inline-block;
  transform: rotate(-1.4deg);
}

.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));
}

/* Jede Scheibe atmet in eigener Periode — Kerzenlicht hinter Glas. Greift
   bei den unverlinkten Fenstern (Audienz-LPs) über die direkten rect-Kinder;
   die Navi-Scheiben der Startseite (.hero-window-nav) haben eigene Regeln. */
.hero-window > rect:nth-of-type(-n+4) { animation: pane-breathe-hi 7.6s ease-in-out infinite; }
.hero-window > rect:nth-of-type(3),
.hero-window > rect:nth-of-type(4) { animation-name: pane-breathe-lo; }
.hero-window > rect:nth-of-type(2) { animation-delay: -1.8s; animation-duration: 8.9s; }
.hero-window > rect:nth-of-type(3) { animation-delay: -4.2s; animation-duration: 6.7s; }
.hero-window > rect:nth-of-type(4) { animation-delay: -2.9s; animation-duration: 9.7s; }
@keyframes pane-breathe-hi {
  0%, 100% { opacity: 0.8; }
  42% { opacity: 1; }
  63% { opacity: 0.88; }
}
@keyframes pane-breathe-lo {
  0%, 100% { opacity: 0.6; }
  45% { opacity: 0.84; }
  68% { opacity: 0.7; }
}

/* Der Hero steigt einmal ruhig auf — Fenster, Wortmarke, Zeile, Headline,
   Subhead, CTA. Rein CSS (fill backwards), kein JS nötig; reduced-motion
   schaltet es über die globale Regel unten ab. */
.hero .hero-window-wrap,
.hero .hero-window,
.hero .wordmark,
.hero .double-rule,
.hero h1,
.hero .hero-subhead,
.hero .hero-cta-wrap,
.hero .microcopy {
  animation: hero-rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.hero .wordmark { animation-delay: 0.1s; }
.hero .double-rule { animation-delay: 0.18s; }
.hero h1 { animation-delay: 0.26s; }
.hero .hero-subhead { animation-delay: 0.38s; }
.hero .hero-cta-wrap { animation-delay: 0.5s; }
.hero .microcopy { animation-delay: 0.6s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.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.5rem;
}

/* ---------- 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-color: var(--paper);
  /* Schreibpapier: feine Lineatur + Licht- und Alterungszonen — erst bei
     genauem Hinsehen sichtbar, trägt das Brief-Thema, ohne die Lesbarkeit
     zu stören (Kontrast bleibt deutlich über AA). */
  background-image:
    linear-gradient(0deg, rgba(110, 80, 19, 0.045) 1px, rgba(110, 80, 19, 0) 1px),
    radial-gradient(90% 60% at 12% 4%, rgba(255, 252, 244, 0.65) 0%, rgba(255, 252, 244, 0) 46%),
    radial-gradient(70% 55% at 88% 102%, rgba(110, 80, 19, 0.08) 0%, rgba(110, 80, 19, 0) 58%);
  background-size: 100% 30px, auto, auto;
  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-family: var(--font-hand);
  font-size: 1.9rem;
  color: var(--letter-amber);
}
.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(2.1rem, 5vw, 2.9rem);
  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 & Brief-Details (Schriftpapier-Redesign) ------------- */

/* Staub im Lampenlicht — ein paar Partikel, die langsam durch den
   Hero-Glow steigen. Rein dekorativ, aria-hidden. */
.hero-motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-motes span {
  position: absolute;
  bottom: -4vh;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(232, 185, 106, 0.9);
  filter: blur(1px);
  opacity: 0;
  animation: mote-drift 14s linear infinite;
}
.hero-motes span:nth-child(1) { left: 22%; animation-duration: 17s; animation-delay: -3s; }
.hero-motes span:nth-child(2) { left: 38%; animation-duration: 13s; animation-delay: -9s; width: 2px; height: 2px; }
.hero-motes span:nth-child(3) { left: 51%; animation-duration: 19s; animation-delay: -6s; }
.hero-motes span:nth-child(4) { left: 64%; animation-duration: 15s; animation-delay: -12s; width: 2px; height: 2px; }
.hero-motes span:nth-child(5) { left: 77%; animation-duration: 21s; animation-delay: -1s; }
@keyframes mote-drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.65; }
  55% { transform: translate3d(1.5vw, -38vh, 0); opacity: 0.45; }
  100% { transform: translate3d(-1vw, -72vh, 0); opacity: 0; }
}

/* Maus-Spotlight: ein träges Taschenlampen-Licht, das dem Zeiger im Hero
   folgt. Das Overlay-Div wird von app.js erzeugt (nur bei feinem Zeiger,
   nie bei reduced-motion) — ohne JS existiert es gar nicht. Es liegt unter
   dem Inhalt (.hero .container hat z-index 1) und klickt nie mit. */
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 32%),
    rgba(232, 185, 106, 0.14) 0%,
    rgba(232, 185, 106, 0.06) 45%,
    rgba(232, 185, 106, 0) 100%);
}
.hero-spot.hero-spot-on { opacity: 1; }

/* --- Startseiten-Fenster mit vier stillen Wegen (Easter Egg) --------------
   Die vier Scheiben sind Links auf die Themen-Subdomains. Ungesagt bleibt
   das absichtlich: Erst bei Hover/Fokus leuchtet eine Scheibe auf und ein
   kleines Zeichen (Tinte, Feder, Zeile, Blatt) erscheint. */
.hero-window-wrap { display: block; }
.hero-window-nav {
  width: clamp(132px, 24vw, 190px);
}
.hero-window-nav .pane-glass {
  animation: pane-breathe-hi 7.6s ease-in-out infinite;
  transition: stroke 0.3s ease;
}
.hero-window-nav .pane:nth-of-type(2) .pane-glass { animation-delay: -1.8s; animation-duration: 8.9s; }
.hero-window-nav .pane:nth-of-type(3) .pane-glass {
  animation-name: pane-breathe-lo;
  animation-delay: -4.2s;
  animation-duration: 6.7s;
}
.hero-window-nav .pane:nth-of-type(4) .pane-glass {
  animation-name: pane-breathe-lo;
  animation-delay: -2.9s;
  animation-duration: 9.7s;
}
.hero-window-nav .pane:hover .pane-glass,
.hero-window-nav .pane:focus-visible .pane-glass {
  animation: none;
  opacity: 1;
}
.hero-window-nav .pane:focus-visible { outline: none; }
.hero-window-nav .pane:focus-visible .pane-glass {
  stroke: #F3CE85;
  stroke-width: 2;
}
.hero-window-nav .pane-icon {
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  fill: none;
  stroke: #4A3417;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Die Position liegt am transform-Attribut der äußeren Gruppe — die CSS-
   Bewegung läuft auf der inneren, sonst überschreibt sie die Position. */
.hero-window-nav .pane-icon-inner {
  transform: translateY(4px) scale(0.8);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s ease;
}
.hero-window-nav .pane:hover .pane-icon,
.hero-window-nav .pane:focus-visible .pane-icon {
  opacity: 1;
}
.hero-window-nav .pane:hover .pane-icon-inner,
.hero-window-nav .pane:focus-visible .pane-icon-inner {
  transform: none;
}

/* --- Ruhiges Aufsteigen beim Scrollen (app.js setzt .rv, IO .rv-in) -------
   Ohne JS keine .rv-Klasse — alles bleibt sichtbar. Bei reduced-motion
   vergibt app.js die Klassen gar nicht erst. */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--rv-delay, 0s);
}
.rv.rv-in { opacity: 1; transform: none; }

/* Das Ornament zieht seine Linie, sobald die Sektion sichtbar wird */
.ornament::after {
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s;
}
.ornament.rv::after { transform: scaleX(0); }
.ornament.rv-in::after { transform: scaleX(1); }

/* --- Signatur-Schnörkel: ein Federzug, der sich unter die Handschrift
   zieht (app.js injiziert das SVG, sobald die Signatur sichtbar wird) --- */
.sig-flourish {
  display: block;
  width: 118px;
  height: auto;
  margin-top: 1px;
  color: inherit;
}
.sig-flourish path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  transition: stroke-dashoffset 1.1s ease 0.35s;
}
.sig-flourish.sig-drawn path { stroke-dashoffset: 0; }

/* Das Kuvert-Zeichen auf den Beispielseiten schwebt ganz leicht */
.letter-glyph { animation: glyph-float 7s ease-in-out infinite; }
@keyframes glyph-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --- Die schreibende Feder — Signatur am Briefende -------------------------
   Ohne JS: die Signatur steht vollständig da, die Feder bleibt unsichtbar.
   Mit JS armiert .quill-armed die Szene: „— Stefan" enthüllt sich Zeichen
   für Zeichen in Handschrift, die Feder folgt dem Schreibpunkt und hebt am
   Ende ab; danach zieht sich der Signatur-Schnörkel (app.js). */
.quill-scene {
  position: relative;
  margin: 6px 0 0;
}
.quill-sign .quill-pen { color: var(--letter-amber); }
.quill-armed .qc { visibility: hidden; }
.quill-armed .qc.qc-on { visibility: visible; }
.quill-caret {
  display: inline-block;
  width: 0;
  height: 1em;
  vertical-align: -0.15em;
}
.quill-pen {
  position: absolute;
  left: 0;
  top: 0;
  width: 58px;
  height: 58px;
  display: none;
  pointer-events: none;
  color: var(--ink-soft);
  filter: drop-shadow(0 3px 3px rgba(42, 32, 20, 0.25));
  transition: left 0.13s linear, top 0.13s linear;
}
.quill-armed .quill-pen {
  display: block;
  animation: quill-nib 0.45s ease-in-out infinite;
}
.quill-pen.quill-lift {
  animation: none;
  transition:
    left 1.05s cubic-bezier(0.5, 0, 0.8, 0.4),
    top 1.05s cubic-bezier(0.5, 0, 0.8, 0.4),
    opacity 1.05s ease,
    transform 1.05s ease;
  transform: rotate(16deg);
  opacity: 0;
}
@keyframes quill-nib {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2.6deg); }
}

/* ---------- 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-intro { margin: 0 0 24px; color: var(--text-mid); }
.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); }
