/* burghardt.studio — öffentliche Newsletter-Seiten im Look der neuen Website (Staging „Werkstatt-Nacht").
   Stand 13.11.2026, lokal gebaut, noch nicht live. Läuft in Listmonk als „Public custom CSS" (/public/custom.css)
   NACH /public/static/style.css und überschreibt es. Passt zu den Templates in templates/ (Klassen: kopf, fuss, nl-*).

   Quelle der Werte: Staging-Repo (Commit 0ffc33d, Worktree wt-unterseiten)
     globals.css (Tokens .theme-nacht + @theme), leistungsseite.css (.lp, .lp-h1, .lp-label),
     newsletter.css (.nl-*), SiteHeader.tsx, SiteFooter.tsx, ui/Button.tsx (KleinePille).
   Basis-Schrift 17 px (html), rem-Werte wie dort. Tailwind-Abstände (0.25rem × n) sind hier als rem ausgeschrieben.

   Keine Fremdressourcen: alle Schriften liegen unter /public/static/fonts/ (gleiche Domain). */

@font-face { font-family: 'BDO Grotesk'; src: url('/public/static/fonts/BDOGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'BDO Grotesk'; src: url('/public/static/fonts/BDOGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/public/static/fonts/space-grotesk-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/public/static/fonts/newsreader-latin-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/public/static/fonts/geist-mono-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  /* .theme-nacht (globals.css) */
  --bg: #0a0a0a;
  --surface: #141414;
  --ink: #f4f2ed;
  --ink-soft: rgba(244, 242, 237, 0.6);   /* ≈ 6,6:1 auf --bg */
  --ink-meta: rgba(244, 242, 237, 0.4);   /* nur Rahmen/Deko, nie Lesetext */
  --lp-text: rgba(244, 242, 237, 0.72);   /* Lesetext ≈ 9:1 */
  --line: rgba(244, 242, 237, 0.12);
  --accent: #db3903;
  --accent-hover: #c23302;
  --fehler: #ff7d57;
  /* @theme */
  --font-display: 'BDO Grotesk', 'Schibsted Grotesk', system-ui, sans-serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --text-label: 0.6875rem;
  --text-body-lg: 1.0625rem;
  --text-headline: clamp(2rem, 3.8vw, 3.5rem);
  --text-display: clamp(3rem, 6.5vw, 7rem);
  --text-display-mobile: clamp(2.125rem, 10.5vw, 3rem);
  --tracking-label: 0.12em;
  --tracking-display: -0.06em;
  --tracking-headline: -0.04em;
  --serif-scale: 1.08em;
  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 40px; --space-xl: 64px; --space-2xl: 96px;
  --radius-pill: 999px;
  --radius-werk: 4px;
  --gutter: clamp(20px, 5vw, 80px);
  --lp-mass: 31em;
  --lp-wechsel: 0.15s;
  --dur-fast: 0.3s;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Grundlage (ersetzt Listmonks hellen Grundstil und Tailwinds Preflight) ──────────────────────────── */
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;   /* Fuß bleibt auch auf kurzen Seiten unten */
  margin: 0; min-width: 320px; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.buehne { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 20px; background: var(--ink); color: var(--bg); }
.skip:focus { left: var(--space-sm); top: var(--space-xs); }
.nur-lesen { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Kopf (SiteHeader.tsx): Marke links, Navigation Mitte (optional), Kopf-Aufruf rechts ───────────────────── */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--bg); color: #eae8e3; }   /* #eae8e3 = Ergebnis der Blend-Differenz von #f4f2ed auf #0a0a0a */
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.kopf-logo { display: flex; align-items: center; min-height: 3rem; flex: none; padding-right: 2rem; color: inherit; transition: opacity var(--dur-fast) var(--ease); }
.kopf-logo .signet { width: 1.25rem; height: auto; aspect-ratio: 82.629 / 90.128; fill: currentColor; }
.kopf-logo .wortmarke { display: none; width: 146px; margin-left: 2px;   /* Staging rendert die Maske 146 px breit, 2 px eingerückt (gemessen 13.11.) */
   height: auto; aspect-ratio: 150.074 / 17.495; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .kopf-logo:hover, .kopf-nav a:hover { opacity: 0.55; } }
.kopf-nav { display: none; }
.kopf-nav ul { display: flex; align-items: center; gap: var(--space-lg); }
.kopf-nav a { color: inherit; transition: opacity var(--dur-fast) var(--ease); }

/* Kopf-Aufruf „Kostenloses Erstgespräch" (SiteHeader.tsx / menu-leiste.css, Teil G 02.12.2026): Text mit orangem Punkt statt Pille.
   Link = 48-px-Trefferfläche, Schrift und Farbe vom Kopf, Punkt 6 px, Abstand 10 px; Hover wie die Menü-Links (Deckkraft 0,55).
   Am Handy (bis 809 px) heißt er „Erstgespräch". */
.kopf-aufruf { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 3rem; border-radius: 8px; color: inherit; white-space: nowrap; transition: opacity var(--dur-fast) var(--ease); }
.kopf-punkt { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .kopf-aufruf:hover { opacity: 0.55; } }
.kopf-aufruf:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 809px) { .kopf-aufruf-lang { display: none; } }

/* Menü ohne JavaScript: <details> (nur wenn die Navigation im Kopf-Template eingeschaltet ist) */
.menue { flex: none; }
.menue summary {
  display: inline-flex; align-items: center; min-height: 3rem; margin-left: -0.75rem; padding: 0 0.75rem; cursor: pointer; list-style: none;
  font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase;
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary { position: relative; white-space: nowrap; }
.menue .zu { display: none; }
.menue[open] .auf { visibility: hidden; }   /* reserviert die Breite von „Menü", damit die Pille nicht wandert */
.menue[open] .zu { display: block; position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); }
.menue-feld { position: fixed; z-index: 60; inset: 4rem 0 0 0; padding: var(--space-lg) clamp(20px, 8vw, 80px); background: var(--bg); color: var(--ink); overflow-y: auto; }
.menue-feld ul { display: flex; flex-direction: column; gap: var(--space-md); }
.menue-feld a { display: block; font-family: var(--font-display); font-size: var(--text-headline); line-height: 1.05; letter-spacing: var(--tracking-headline); }
.menue-feld a span { margin-right: 0.4rem; vertical-align: super; font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: var(--tracking-label); color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .menue-feld a:hover { color: var(--accent); } }

@media (min-width: 768px) {
  .kopf-innen { gap: var(--space-md); }
  .kopf-logo { padding-right: 0; }
  .kopf-logo .signet { display: none; }
  .kopf-logo .wortmarke { display: block; }
}
@media (min-width: 1024px) {
  .kopf-nav { display: block; }
  .menue { display: none; }
}

/* ── Seite: Bühne, Kopfzeile, Lesemaß (leistungsseite.css .lp*) ──────────────────────────────────────── */
.lp { flex: 1 0 auto; padding-bottom: var(--space-2xl); background: var(--bg); color: var(--ink); }
.lp-seitenkopf { max-width: 52rem; padding-top: var(--space-xl); }
.lp-label {
  margin-bottom: var(--space-sm);
  font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ink-soft);
}
.lp-h1 {
  font-family: var(--font-display); font-weight: 400; font-size: var(--text-display-mobile);
  line-height: 0.95; letter-spacing: var(--tracking-display); text-wrap: balance; color: var(--ink);
}
@media (min-width: 768px) { .lp-h1 { font-size: var(--text-display); } }

/* Serif-Moment: Newsreader kursiv in Akzentfarbe, nur in der großen Überschrift */
.nl-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: var(--serif-scale); color: var(--accent); white-space: nowrap; }

/* ── Anmeldeseite (newsletter.css) ───────────────────────────────────────────────────────────────────── */
.nl { max-width: 72rem; padding-bottom: var(--space-lg); }
.nl-kopf { padding-top: var(--space-lg); }
.nl-spalten { display: grid; gap: 0; }

.nl-rubriken { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 810px) { .nl-rubriken { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nl-rubrik { padding-top: 12px; border-top: 2px solid var(--accent); }
.nl-rubrik-titel { margin-bottom: 6px; font-family: var(--font-display); font-weight: 500; font-size: var(--text-body-lg); line-height: 1.2; }
.nl-rubrik-text { color: var(--lp-text); font-size: 1rem; line-height: 1.5; }

.nl-ablauf { margin-top: var(--space-lg); }
.nl-ablauf-titel { margin-bottom: var(--space-xs); font-family: var(--font-display); font-weight: 500; font-size: var(--text-body-lg); }
.nl-ablauf-liste { max-width: var(--lp-mass); padding-left: 1.3em; list-style: decimal; color: var(--lp-text); line-height: 1.5; }
.nl-ablauf-liste li + li { margin-top: 6px; }
.nl-ablauf-liste li::marker { color: var(--lp-text); }

.nl-ankuendigung { max-width: var(--lp-mass); margin-top: var(--space-lg); color: var(--ink); font-size: var(--text-body-lg); line-height: 1.5; }
.nl-ablauf-text { max-width: var(--lp-mass); color: var(--lp-text); line-height: 1.5; }

.nl-form { display: grid; gap: var(--space-md); max-width: var(--lp-mass); margin-top: var(--space-lg); }
.nl-feld { display: grid; gap: 6px; }
.nl-feld label, .login label, .feld-label {
  font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ink-soft); cursor: pointer;
}
.lp input[type="text"], .lp input[type="email"], .lp input[type="password"] {
  width: 100%; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--ink-meta); border-radius: var(--radius-werk); background: transparent; box-shadow: none; color: var(--ink);
  font: inherit; line-height: 1.5; transition: border-color var(--lp-wechsel);
}
.lp input::placeholder { color: var(--ink-soft); opacity: 1; }
.lp input:focus::placeholder { color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .lp input[type="text"]:hover, .lp input[type="email"]:hover, .lp input[type="password"]:hover { border-color: var(--ink-soft); } }
.lp input:focus { border-color: var(--ink); }
.lp input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 100px #1a1a1a inset; }
.nl-nonce, .nonce, .form .nonce { display: none; }
.nl-hinweis { color: var(--lp-text); font-size: 0.9em; line-height: 1.5; }
.nl-hinweis a, .nl-archiv, .lp .link {
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-meta); transition: text-decoration-color var(--lp-wechsel);
}
@media (hover: hover) and (pointer: fine) { .nl-hinweis a:hover, .nl-archiv:hover, .lp .link:hover { text-decoration-color: var(--ink); } }

.nl-einwilligung { display: flex; align-items: flex-start; gap: 14px; }
.nl-einwilligung input { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--accent); color-scheme: dark; cursor: pointer; }
.nl-einwilligung label { flex: 1; min-height: 48px; color: var(--lp-text); font-size: 0.9em; line-height: 1.5; cursor: pointer; }

.nl-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.nl-archiv { display: inline-flex; align-items: center; min-height: 48px; margin-left: auto; }

/* Orange Pille (KleinePille: Mono, Versalien) — auch für Listmonks .button auf den übrigen Seiten */
.lp .button, .lp button.button, .lp input.button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 14px 24px;
  border: 1px solid var(--accent); border-radius: var(--radius-pill); background: var(--accent); box-shadow: none; color: #fff;
  font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; line-height: 1.3; letter-spacing: var(--tracking-label); text-align: center; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--lp-wechsel), border-color var(--lp-wechsel);
}
@media (hover: hover) and (pointer: fine) { .lp .button:hover, .lp button.button:hover, .lp input.button:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: #fff; } }
.lp .button.button-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lp .button.button-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); } }
.lp .button:disabled { opacity: 0.45; cursor: not-allowed; }
.lp .button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Zwei Spalten ab 1000 px: Info links, Formular rechts */
@media (min-width: 1000px) {
  .nl-spalten { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-xl); align-items: start; }
  .nl-rubriken { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
  .nl-form { max-width: none; margin-top: var(--space-md); }
}

/* ── Übrige Seiten (Bestätigung, Meldung, Abmeldung, Archiv, Login): gleiche Bühne, kleinere Überschrift ── */
.seite { max-width: 52rem; padding-top: var(--space-xl); padding-bottom: var(--space-lg); }
.seite > section, .seite .section, .seite.section { margin: 0; }
.data-form .seite { padding-top: 0; }
.data-form h2 { font-size: var(--text-title); }
.seitentitel {
  margin-bottom: var(--space-md); font-family: var(--font-display); font-weight: 400; font-size: var(--text-headline);
  line-height: 1.05; letter-spacing: var(--tracking-headline); text-wrap: balance; color: var(--ink);
}
.seite h2 { margin-bottom: var(--space-md); font-family: var(--font-display); font-weight: 400; font-size: var(--text-headline); line-height: 1.05; letter-spacing: var(--tracking-headline); text-wrap: balance; }
.seite h3 { margin: var(--space-lg) 0 var(--space-xs); font-family: var(--font-display); font-weight: 500; font-size: var(--text-body-lg); line-height: 1.2; }
.seite p, .seite .text, .seite .row { max-width: var(--lp-mass); margin-bottom: var(--space-sm); color: var(--lp-text); line-height: 1.5; }
.seite .row { margin-bottom: var(--space-md); }
.seite strong { color: var(--ink); font-weight: 500; }
.seite a:not(.button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-meta); transition: text-decoration-color var(--lp-wechsel); }
@media (hover: hover) and (pointer: fine) { .seite a:not(.button):hover { text-decoration-color: var(--ink); } }
.seite form > div > p { margin-bottom: var(--space-md); }
.seite form label { display: inline-block; margin-bottom: 6px; }
.seite input[type="checkbox"], .seite input[type="radio"] { width: 20px; height: 20px; margin: 2px 10px 0 0; vertical-align: top; accent-color: var(--accent); color-scheme: dark; cursor: pointer; }
.seite li label, .seite p label[for^="privacy"], .seite .row label { font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--lp-text); }
.seite .lists { margin: 0 0 var(--space-md); }
.seite .lists li { margin: 0 0 8px; }
.seite .lists .description { margin: 0 0 12px 30px; font-size: 0.9em; color: var(--ink-soft); }
.seite .error, .seite p.error { color: var(--fehler); }
.seite .small { font-size: 0.9em; }
.seite .center { text-align: left; }
.seite .submit { margin-top: var(--space-md); }
.seite .login button { width: auto; }
.seite .login input[name="totp_code"] { font-size: 1.6em; letter-spacing: 5px; text-align: center; }

/* Opt-in-Seite: Listenname als Pille */
.optin-form ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-md); }
.optin-form li { padding: 8px 16px; border: 1px solid var(--ink-soft); border-radius: var(--radius-pill); color: var(--ink); font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; }

/* Archiv: jede Ausgabe eine Kachel (Nacht: Hairline, 4 px, schattenfrei), ganze Fläche klickbar */
.seite .archive { display: grid; gap: 10px; margin: 0 0 var(--space-lg); max-width: var(--lp-mass); }
.archive li { position: relative; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-werk); background: var(--surface); transition: border-color var(--lp-wechsel); }
.seite .archive li a { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; text-decoration: none; }
.archive li a::after { content: ""; position: absolute; inset: 0; }
.archive li a:focus-visible { outline: none; }
.archive li:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.archive .date { display: block; margin-top: 8px; color: var(--ink-soft); font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .archive li:hover { border-color: var(--accent); } }
.seite .archiv-leer { max-width: var(--lp-mass); margin: 0 0 var(--space-md); color: var(--lp-text); }
.seite .right { display: flex; align-items: center; gap: var(--space-md); max-width: none; margin-bottom: 0; }
.right a:has(img.feed) { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
.right a img.feed { margin: 0; filter: brightness(0) invert(0.9); }   /* rss.svg ist blau → hell */
.pagination { margin-top: var(--space-md); }
.pg-page { display: inline-block; padding: 0 10px; color: var(--ink-soft); text-decoration: none; }
.pg-page.pg-selected { color: var(--ink); text-decoration: underline; }

/* Startseite des Newsletter-Hosts (leitet weiter) */
.seite.mitte { text-align: left; }

/* Ausblick auf Ausgabe 1 (Sneak Peek): Hairline, Mono-Label, Betreff in der Display-Schrift, ein Satz Vorschau.
   Am Handy steht der Block direkt vor dem Formular (letzter Block der Info-Spalte). */
.nl-peek { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--line); max-width: var(--lp-mass); }
.nl-peek .lp-label { margin-bottom: 12px; }
.nl-peek-betreff { margin-bottom: 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.nl-peek-vorschau { color: var(--lp-text); line-height: 1.5; }

/* ── Fuß (SiteFooter.tsx): Nacht, NAP, Wortmarken-Anschnitt ──────────────────────────────────────────── */
.fuss { flex: none; overflow: hidden; padding-top: var(--space-xl); background: var(--bg); color: var(--ink-soft); }
.fuss-raster { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) { .fuss-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fuss a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.fuss .ink { color: var(--ink); }
.fuss-links { display: flex; flex-direction: column; gap: 0.25rem; }
@media (hover: hover) and (pointer: fine) { .fuss a:hover { color: var(--ink); } }
.fuss a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fuss-zeile { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-md); margin-top: var(--space-xl); }
.fuss-marke { font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.fuss-marke .punkt { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 0.1em; }
.fuss .powered { font-size: 0.8125rem; }
.fuss .powered a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-meta); }
.fuss-anschnitt { display: block; width: 104%; max-width: none; height: auto; aspect-ratio: 150.074 / 17.495; margin-top: var(--space-sm); margin-bottom: -2.2%; transform: translateX(-2%); fill: currentColor; opacity: 0.12; }
