/* ════════════════════════════════════════════════════════════
   Editorial Design System — v0.2
   Shared stylesheet. Verwendet von editorial.html und design-system.html.

   Aufbau:
   01 · Tokens          (Custom Properties)
   02 · Base            (reset, body, shell, atmospheric glow)
   03 · Layout patterns (masthead, section.essay, col-side)
   04 · Type            (h1/h2/h3, kicker, meta, accent classes)
   05 · Components      (buttons, mailto, marginalia, lists, quote-list)
   06 · Footer          (colophon)

   Theme-Entscheidung: Dark-only.
   Die Editorial-Ästhetik lebt vom warmen Schwarz mit amber Akzent.
   Eine Light-Variante würde das visuelle Versprechen ändern und ist
   bewusst nicht Teil dieses Systems.
   ════════════════════════════════════════════════════════════ */


/* ─── 01 · Tokens ──────────────────────────────────── */
:root {
  /* Color */
  --bg:        #0C0A09;
  --bg-soft:   #16120F;
  --line:      #221E1B;
  --line-hi:   #322C28;
  --ink:       #F2EDE5;
  --ink-soft:  #B5ACA0;
  --ink-mute:  #6E665B;
  --amber:     #D97706;
  --amber-hi:  #F59E0B;
  --amber-low: rgba(217, 119, 6, 0.12);
  --amber-rule:rgba(217, 119, 6, 0.55);

  /* Type */
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --pad-x: clamp(28px, 5vw, 80px);
  --rule:  1px solid var(--line);
  --shell-max: 1240px;
}


/* ─── 02 · Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  /* Bindestriche und automatische Worttrennung nicht als Bruchstelle nutzen.
     Browser bricht nur noch an echten Leerzeichen. */
  word-break: keep-all;
  hyphens: none;
  -webkit-hyphens: none;
}
/* atmosphärischer Schein — fest, ruhig beim Scrollen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(70% 55% at 18% 8%, rgba(217, 119, 6, 0.16), transparent 60%),
    radial-gradient(60% 50% at 88% 78%, rgba(217, 119, 6, 0.10), transparent 65%),
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
::selection { background: var(--amber); color: var(--bg); }
a { color: inherit; text-decoration: none; }

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}
/* feiner Lichtsaum links/rechts der Shell */
.shell::before, .shell::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(217, 119, 6, 0.22) 20%, rgba(217, 119, 6, 0.08) 60%, transparent 100%);
  box-shadow: 0 0 28px 2px rgba(217, 119, 6, 0.18);
}
.shell::before { left: 0; }
.shell::after  { right: 0; }


/* ─── 03 · Layout: Masthead ────────────────────────── */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  padding: 28px 0 22px;
  border-bottom: var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.masthead .vol { letter-spacing: 0.18em; }
.masthead .title {
  justify-self: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: none;
}
.masthead .title b { color: var(--amber); font-weight: 600; }
.masthead nav { justify-self: end; display: flex; gap: 22px; }
.masthead nav a:hover { color: var(--amber); }

@media (max-width: 800px) {
  .masthead {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 18px;
  }
  .masthead .vol { justify-self: start; }
  .masthead .title {
    justify-self: start;
    font-size: 20px;
    letter-spacing: -0.005em;
    line-height: 1.2;
  }
  .masthead nav {
    justify-self: start;
    justify-content: flex-end;
    gap: 22px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
    width: 100%;
  }
}

@media (max-width: 480px) {
  .masthead .title { font-size: 17px; }
  .masthead nav { gap: 16px; }
}


/* ─── 03 · Layout: section.essay ───────────────────── */
section.essay {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 80px 0;
  border-bottom: var(--rule);
}
@media (max-width: 900px) {
  section.essay { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
}

section.essay > .col-side {
  align-self: start;
  position: sticky;
  top: 28px;
}
@media (max-width: 900px) {
  section.essay > .col-side { position: static; top: auto; }
}

.section-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 6px;
  border-top: 1px solid var(--amber-rule);
  margin-bottom: 12px;
}
.section-no .num { color: var(--amber); margin-right: 8px; font-weight: 500; }

.col-side h2.section-h {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  max-width: 14ch;
  color: var(--ink);
}
.col-side .hint {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 22ch;
  margin: 0;
}


/* ─── 04 · Type: Headlines & body ──────────────────── */

/* Display – einmal pro Seite (Hero) */
.t-display {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0 0 36px;
  max-width: 14ch;
  color: var(--ink);
}
.t-display .a {
  background: linear-gradient(transparent 64%, var(--amber-low) 64%);
  padding: 0 0.04em;
}

/* Standfirst – Vorspann nach Display */
.t-standfirst {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 36px;
}

/* Kicker – Mono über Display */
.t-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 28px;
}


/* ─── 04 · Type: Akzent-Klassen ────────────────────── */
/* Drei wiederkehrende Muster, einmal definiert.
   Jede Auszeichnung hat genau eine Klasse — keine Mischung
   aus „fett+unterstrichen" und „fett+linker Rand".               */

.t-quote {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-left: 2px solid var(--amber);
  padding: 6px 0 6px 22px;
  margin: 0 0 24px;
  max-width: 32ch;
}
.t-quote::before { content: "„"; color: var(--amber); }
.t-quote::after  { content: "“"; color: var(--amber); }
.t-quote--small {
  font-size: 19px;
  line-height: 1.45;
  padding: 4px 0 4px 18px;
  max-width: 50ch;
  margin-bottom: 16px;
}
.t-quote--bare {
  border-left: none;
  padding-left: 0;
}
.t-lead {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 28ch;
}
.t-emph {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}


/* ─── 05 · Components: Buttons ─────────────────────── */

/* Primär – der einzige CTA. Amber-Fläche, weicher Schein.
   Wirkt sowohl auf <a> als auch auf <button>: Button-Defaults werden hier
   explizit zurückgesetzt (border, line-height, appearance), damit die Form
   identisch bleibt. */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.005em;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow:
    0 8px 24px rgba(217, 119, 6, 0.32),
    0 0 56px rgba(217, 119, 6, 0.28);
  transition: background 160ms ease, transform 160ms ease, box-shadow 200ms ease;
}
.btn-primary:hover {
  background: var(--amber-hi);
  transform: translateY(-1px);
  box-shadow:
    0 10px 32px rgba(245, 158, 11, 0.4),
    0 0 72px rgba(245, 158, 11, 0.4);
}
.btn-primary .arrow {
  display: inline-block;
  transition: transform 200ms ease;
  font-weight: 400;
}
.btn-primary:hover .arrow { transform: translateX(4px); }

/* Sekundär – ruhig, ohne Schein. Outline-Variante.
   Für Aktionen, die nicht der Haupt-CTA sind. */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 27px;            /* −1px wegen Border */
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.005em;
  border: 1px solid var(--line-hi);
  outline: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-low);
}
.btn-secondary .arrow {
  display: inline-block;
  transition: transform 200ms ease;
  font-weight: 400;
}
.btn-secondary:hover .arrow { transform: translateX(4px); }


/* ─── 05 · Components: Mailto ──────────────────────── */
.mailto-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 6px;
  transition: color 160ms ease;
}
.mailto-link:hover { color: var(--amber); }
@media (max-width: 480px) {
  .mailto-link { font-size: 22px; word-break: break-all; }
}


/* ─── 05 · Components: Marginalia ──────────────────── */
.marg {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  line-height: 1.9;
  border-top: 1px solid var(--amber-rule);
  padding-top: 14px;
}
.marg .row { display: flex; justify-content: space-between; gap: 12px; }
.marg .row b { color: var(--ink); font-weight: 500; }


/* ─── 05 · Components: Listen mit Rhythmus ─────────── */
/* Universelles Listen-Pattern.
   Items werden durch border-top getrennt.
   Erstes Item: kein border-top, kein padding-top.
   Letztes Item: kein padding-bottom.

   Gilt sowohl für ungeordnete (.list-rhythm) als auch
   geordnete Varianten. Trägt Stationen, Skill-Bänder,
   Quotes, Thesen — alles gleicher Rhythmus.            */
.list-rhythm {
  list-style: none;
  margin: 0; padding: 0;
}
.list-rhythm > * {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.list-rhythm > *:first-child { border-top: none; padding-top: 0; }
.list-rhythm > *:last-child { padding-bottom: 0; }


/* ─── 05 · Components: Quote-Liste (Haltung) ───────── */
/* Nummerierte Quote-Liste. Verwendet .list-rhythm intern. */
.quotes {
  list-style: none;
  margin: 0; padding: 0;
}
.quotes li {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: baseline;
}
.quotes li:first-child { border-top: none; padding-top: 0; }
.quotes li:last-child { padding-bottom: 0; }
.quotes .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
}
.quotes blockquote { margin: 0; max-width: 28ch; }


/* ─── 06 · Footer ──────────────────────────────────── */
footer.colophon {
  padding: 36px 0;
  border-top: var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
footer.colophon .left { line-height: 1.8; }
footer.colophon .left b { color: var(--ink-soft); font-weight: 500; }
footer.colophon .right { color: var(--amber); text-align: right; }
@media (max-width: 600px) {
  footer.colophon { grid-template-columns: 1fr; }
  footer.colophon .right { text-align: left; }
}


/* ─── 07 · Components: Kontaktformular ─────────────── */
/* Editorial-Form: Mono-Labels, Hairline-Border, Amber-Fokus.
   Honeypot-Feld .hp ist visuell unsichtbar, für Bots aber befüllbar. */
.kontakt-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 60ch;
}
.kontakt-form .row { display: flex; flex-direction: column; gap: 6px; }
.kontakt-form label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.kontakt-form input,
.kontakt-form textarea {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber-rule);
}
.kontakt-form textarea { resize: vertical; min-height: 140px; }
.kontakt-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.kontakt-form button.btn-primary { align-self: flex-start; }
.kontakt-form button[disabled] { opacity: 0.5; cursor: wait; }
.kontakt-status {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0;
  min-height: 1.4em;
  color: var(--ink-soft);
}
.kontakt-status.is-ok { color: var(--amber); }
.kontakt-status.is-err { color: #d97070; }
.kontakt-note {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
  max-width: 60ch;
}
.kontakt-or {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 28px 0 12px;
}
