/* ═══════════════════════════════════════════════════════════════════════
   Heldentisch — Webseite

   Leitidee: die Seite ist eine Battlemap. Das 5-Fuß-Raster trägt das Layout,
   Kerzenlicht ist die einzige Lichtquelle, Ecken sind quadratisch wie
   Kartenfelder. Ein Akzent (Gold), ein Radius (0), ein Thema (Nacht).
   ═══════════════════════════════════════════════════════════════════════ */

/* ---- Schriften ---------------------------------------------------------- */
@font-face {
  font-family: 'Eczar';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/eczar.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/alegreya.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/alegreya-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/alegreya-sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/alegreya-sans-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

/* ---- Marken ------------------------------------------------------------- */
:root {
  /* Tiefen: von der tiefsten Nacht bis zum beleuchteten Stein */
  --ink: #06080d;
  --stone: #10151f;
  --stone-lit: #171d2b;
  --stone-edge: #242b3b;

  --parchment: #e9e0ca;
  --parchment-dim: #9b937f;

  --gold: #d4a24c;
  --gold-bright: #f2d195;
  --gold-deep: #8a6a2c;

  /* Kerzenglut ist Licht, keine UI-Farbe: nur in Gradienten und Schatten */
  --ember: 194, 65, 12;

  --line: rgba(212, 162, 76, 0.16);
  --line-strong: rgba(212, 162, 76, 0.34);

  --display: 'Eczar', 'Palatino Linotype', Georgia, serif;
  --body: 'Alegreya', 'Iowan Old Style', Georgia, serif;
  --ui: 'Alegreya Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --grid: 56px;              /* ein Kartenfeld */

  /* Kräftige Kurven: die eingebauten CSS-Easings sind zu weich */
  --out: cubic-bezier(0.23, 1, 0.32, 1);
  --in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Kerzenkorn über allem: fest verankert, damit kein Scroll-Repaint entsteht */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; }

a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

::selection { background: var(--gold-deep); color: var(--parchment); }

/* ---- Typografie --------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--parchment); max-width: 46ch; }
.dim { color: var(--parchment-dim); }
.small { font-size: 0.92rem; }

/* Kapitälchen-Label. Sparsam: höchstens eins alle drei Abschnitte. */
.label {
  font: 700 0.72rem/1 var(--ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.4rem;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
/* scroll-margin: die klebende Kopfzeile darf Sprungziele nicht verdecken */
section, [id] { scroll-margin-top: 96px; }
section { position: relative; padding: clamp(72px, 11vw, 148px) 0; }

/* Das Raster: Grundtextur jeder Sektion, Stärke steuert die Tiefe */
.field {
  position: relative;
  isolation: isolate;
  background: var(--stone);
}
.field::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(212, 190, 150, 0.05) 1px, transparent 1px) 0 0 / var(--grid) var(--grid),
    linear-gradient(90deg, rgba(212, 190, 150, 0.05) 1px, transparent 1px) 0 0 / var(--grid) var(--grid);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%);
}
.field-deep { background: var(--ink); }
/* Zonenwechsel bekommt eine Kante, sonst verschwimmen die Abschnitte */
.field + .field-deep, .field-deep + .field { border-top: 1px solid var(--line); }

/* ---- Schaltflächen ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 0.95rem/1 var(--ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 26px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--out), background 220ms var(--out),
              border-color 220ms var(--out), color 220ms var(--out);
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--gold);
  color: #1b1305;
  box-shadow: 0 0 0 0 rgba(212, 162, 76, 0.4);
}
.btn-gold:hover { background: var(--gold-bright); color: #1b1305; }

.btn-line {
  background: transparent;
  color: var(--parchment);
  border-color: var(--line-strong);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(212, 162, 76, 0.06); }

/* ---- Kopfzeile ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 1.15rem/1 var(--display);
  letter-spacing: 0.03em;
  color: var(--parchment);
  text-decoration: none;
  white-space: nowrap;
}
/* 44px: darunter zerfällt das Wappen zu einem goldenen Klumpen */
.brand img { width: 44px; height: 44px; display: block; }
.brand:hover { color: var(--gold-bright); }

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  font: 500 0.98rem/1 var(--ui);
}
.site-nav a {
  position: relative;
  color: var(--parchment-dim);
  text-decoration: none;
  padding: 10px 14px;
  transition: color 200ms var(--out);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--out);
}
.site-nav a:hover { color: var(--parchment); }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--parchment); }

/* ═══ Hero ═══════════════════════════════════════════════════════════════
   Asymmetrischer Split: links das Versprechen, rechts eine lebende
   Battlemap. Die Einstiegsformulare liegen darunter über beide Spalten. */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(ellipse 70% 50% at 22% 26%, rgba(212, 162, 76, 0.14), transparent 62%),
    radial-gradient(ellipse 50% 40% at 82% 72%, rgba(var(--ember), 0.09), transparent 65%),
    var(--ink);
}
/* Die Tischszene liegt über die volle Breite hinter allem, zur Mitte hin
   ausgeblendet, damit Überschrift und Formulare ihren Kontrast behalten. */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: 0;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 88%);
}
.hero::after {
  /* Leseschicht: links dunkel für die Schrift, rechts offen fürs Bild */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(6, 8, 13, 0.94) 26%, rgba(6, 8, 13, 0.55) 62%, rgba(6, 8, 13, 0.8));
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(rgba(212, 190, 150, 0.06) 1px, transparent 1px) 0 0 / var(--grid) var(--grid),
    linear-gradient(90deg, rgba(212, 190, 150, 0.06) 1px, transparent 1px) 0 0 / var(--grid) var(--grid);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 35% 40%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 90% 85% at 35% 40%, #000 20%, transparent 76%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 3; }

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 0.3em; }
/* Die zweite Zeile trägt das Versprechen, nicht die Marke */
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
  display: block;
}

/* Lebende Battlemap: ein Kartenausschnitt, auf dem sich Tokens bewegen */
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-strong);
  background: var(--stone);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px #000;
}
.map img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(233, 224, 202, 0.13) 1px, transparent 1px) 0 0 / 12.5% 16.666%,
    linear-gradient(90deg, rgba(233, 224, 202, 0.13) 1px, transparent 1px) 0 0 / 12.5% 16.666%;
  pointer-events: none;
}
.token {
  position: absolute;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  background: radial-gradient(circle at 35% 30%, #2a3550, #0d1017);
  box-shadow: 0 0 18px rgba(212, 162, 76, 0.45), 0 4px 10px #000;
  will-change: transform;
}
.token-foe {
  border-color: rgb(var(--ember));
  background: radial-gradient(circle at 35% 30%, #4a1f12, #180a06);
  box-shadow: 0 0 18px rgba(var(--ember), 0.5), 0 4px 10px #000;
}

/* Einstiegskarten: Spielleiter · Spieler · Weiterspielen */
.entry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 64px);
  background: var(--line);
  border: 1px solid var(--line);
}
.entry form {
  background: var(--stone-lit);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Wer hier richtig ist — die Frage, die sich jeder vor dem Tippen stellt */
.entry .who {
  font: 700 0.72rem/1 var(--ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.entry h2 {
  font: 700 1.35rem/1.15 var(--display);
  color: var(--parchment);
  margin: 0;
}
.entry .hint { font: 500 0.9rem/1.5 var(--ui); color: var(--parchment-dim); margin: 0 0 6px; }
.entry .hint b { color: var(--parchment); font-weight: 600; }
.entry label { font: 500 0.9rem/1.3 var(--ui); color: var(--parchment-dim); }
.entry input {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--stone-edge);
  border-radius: 0;
  color: var(--parchment);
  font: 500 1rem/1.4 var(--ui);
  padding: 13px 15px;
  min-height: 48px;
  transition: border-color 200ms var(--out), box-shadow 200ms var(--out);
}
.entry input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.entry input::placeholder { color: #55503f; }
/* Codes: das Einzige, was die Gruppe laut vorliest */
.entry input.code {
  font: 700 1.5rem/1 var(--display);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-align: center;
  color: var(--gold-bright);
}
.entry .error { color: #e08b7a; font: 500 0.9rem var(--ui); margin: 0; }
.entry .error:empty { display: none; }
.entry .btn { margin-top: auto; }

/* ═══ Zahlen: was im Werkzeug steckt, als typografisches Statement ═══════ */
.counts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.counts div {
  background: var(--ink);
  padding: clamp(24px, 3vw, 40px) 20px;
  text-align: center;
}
.counts b {
  display: block;
  font: 700 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--display);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.counts span { font: 500 0.86rem/1.4 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--parchment-dim); }

/* ═══ Aufdecken: Bild wird beim Scrollen sichtbar wie gelüfteter Nebel ═══ */
.reveal-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.unveil {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.unveil img { display: block; width: 100%; }
.unveil::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--stone));
  opacity: 0.5;
  pointer-events: none;
}

/* ═══ Bento: Funktionen, ungleich groß, Bilder in den großen Zellen ═════ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cell {
  position: relative;
  isolation: isolate;
  background: var(--stone-lit);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  min-height: 210px;
  overflow: hidden;
  transition: background 300ms var(--out);
}
.cell:hover { background: #171c2a; }
.cell h3 { margin-bottom: 0.35em; }
.cell p { margin: 0; color: var(--parchment-dim); font-size: 0.98rem; }
.cell-wide { grid-column: span 4; }
.cell-half { grid-column: span 3; }
.cell-third { grid-column: span 2; }

/* Bildzellen: Motiv füllt die Kachel, Text steht auf einem Verlauf darüber.
   isolation oben macht die Zelle zum eigenen Stapelkontext, sonst fällt das
   Bild hinter den Zellenhintergrund. */
.cell-art { justify-content: flex-end; min-height: 330px; background: var(--ink); }
.cell-art img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--out);
}
.cell-art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.1) 15%, rgba(7, 9, 15, 0.94) 85%);
}
.cell-art h3, .cell-art p { position: relative; z-index: 2; }
.cell-art:hover img { transform: scale(1.045); }

/* Textzellen: Inhalt mittig, sonst klebt er oben und der Rest bleibt tot */
.cell:not(.cell-art) { justify-content: center; }
/* Die Wappen-Embleme brauchen Größe, unter 60px zerfallen sie zu Flecken */
.cell-icon { width: 64px; height: 64px; margin-bottom: 18px; opacity: 0.92; }

/* ═══ Initiative-Leiste: der Ablauf als Zugreihenfolge ═══════════════════ */
.initiative { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.turn {
  display: grid;
  grid-template-columns: var(--grid) 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
  background: var(--ink);
  padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.4vw, 32px);
  transition: background 300ms var(--out);
}
.turn:hover { background: var(--stone); }
/* Die Schrittnummer sitzt in einem Kartenfeld, nicht frei im Raum */
.turn b {
  width: var(--grid);
  height: var(--grid);
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font: 700 1.55rem/1 var(--display);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  transition: border-color 300ms var(--out), background 300ms var(--out);
}
.turn:hover b { border-color: var(--gold); background: rgba(212, 162, 76, 0.09); }
/* Oberkante der Überschrift auf die Mitte des Feldes ziehen */
.turn > div { padding-top: 12px; }
.turn h3 { margin-bottom: 0.3em; }
.turn p { margin: 0; color: var(--parchment-dim); max-width: 62ch; }

/* ═══ Porträtreihe ══════════════════════════════════════════════════════ */
.roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.roster figure { position: relative; margin: 0; background: var(--stone); overflow: hidden; }
.roster img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 600ms var(--out), filter 400ms var(--out);
  filter: saturate(0.85);
}
.roster figure:hover img { transform: scale(1.05); filter: saturate(1.05); }
.roster figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(7, 9, 15, 0.94));
  font: 500 0.84rem/1.35 var(--ui);
  color: var(--parchment-dim);
}
.roster b { display: block; font: 700 1rem/1.2 var(--display); color: var(--parchment); letter-spacing: 0.01em; }

/* ═══ Würfelwurf: die einzige Spielerei, und sie tut etwas ══════════════ */
/* Der Wurf bekommt eine eigene Bühne, sonst geht der Moment im Dunkel unter */
.arena {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.arena::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/img/wuerfel.webp') center / cover no-repeat;
  opacity: 0.5;
}
.arena::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 8, 13, 0.55) 20%, rgba(6, 8, 13, 0.93) 62%);
}
.roll {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.roll-out { flex: 1 1 420px; max-width: 560px; }
.roll-out h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.die {
  flex: 0 0 auto;
  width: 168px;
  height: 168px;
  border: 1px solid var(--line-strong);
  background: var(--stone-lit);
  color: var(--gold-bright);
  font: 700 4rem/1 var(--display);
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 0;
  transition: transform 200ms var(--out), border-color 200ms var(--out), background 200ms var(--out);
}
.die:hover { border-color: var(--gold); background: #1a1f2e; }
.die:active { transform: scale(0.96); }
.die[data-rolling='true'] { animation: tumble 560ms var(--in-out); }
@keyframes tumble {
  0%   { transform: rotate(0) scale(1); }
  35%  { transform: rotate(-14deg) scale(1.06); }
  70%  { transform: rotate(10deg) scale(0.98); }
  100% { transform: rotate(0) scale(1); }
}
.roll-out { min-width: 0; }
.roll-out p { margin: 0; }

/* ═══ Siegel ════════════════════════════════════════════════════════════
   Das Versprechen steht auf Pergament, nicht auf Stein. */
.vow { position: relative; isolation: isolate; overflow: hidden; }
.vow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/assets/img/pergament.webp') center / cover no-repeat;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000, transparent 78%);
}
.oath { display: flex; gap: clamp(28px, 4vw, 52px); align-items: center; flex-wrap: wrap; }
.oath img { width: 148px; height: 148px; flex: 0 0 auto; }
.oath > div { flex: 1 1 340px; }
.oath ul { list-style: none; margin: 0 0 1.4em; padding: 0; }
.oath li { position: relative; padding-left: 26px; margin-bottom: 0.5em; color: var(--parchment-dim); }
.oath li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
}
.oath li b { color: var(--parchment); font-weight: 500; }

/* ═══ FAQ ═══════════════════════════════════════════════════════════════ */
.qa { max-width: 820px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  font: 700 1.15rem/1.35 var(--display);
  color: var(--parchment);
  transition: color 200ms var(--out);
}
.qa summary:hover { color: var(--gold-bright); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '';
  flex: 0 0 auto;
  width: 13px; height: 13px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 260ms var(--out);
}
.qa details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.qa details p { color: var(--parchment-dim); margin: 0 0 22px; max-width: 68ch; }

/* ═══ Bildrahmen für Inhaltsseiten ══════════════════════════════════════ */
.plate { border: 1px solid var(--line); overflow: hidden; background: var(--stone); margin: 0; }
.plate img { display: block; width: 100%; }
.plate figcaption { font: 500 0.86rem/1.5 var(--ui); color: var(--parchment-dim); padding: 12px 16px; border-top: 1px solid var(--line); }

/* ═══ Seitenkopf der Unterseiten ════════════════════════════════════════
   Kein zweiter Hero: eine Zone mit Raster, Titel und einem Satz. */
.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(ellipse 60% 60% at 18% 30%, rgba(212, 162, 76, 0.11), transparent 64%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
/* Kopfband: dasselbe Prinzip wie im Hero, nur flacher */
.page-head .head-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  z-index: 0;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 60%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 60%, transparent 92%);
}
.page-head::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg, rgba(6, 8, 13, 0.95) 30%, rgba(6, 8, 13, 0.62) 66%, rgba(6, 8, 13, 0.85));
  pointer-events: none;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(rgba(212, 190, 150, 0.055) 1px, transparent 1px) 0 0 / var(--grid) var(--grid),
    linear-gradient(90deg, rgba(212, 190, 150, 0.055) 1px, transparent 1px) 0 0 / var(--grid) var(--grid);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 45%, #000 15%, transparent 74%);
  mask-image: radial-gradient(ellipse 80% 90% at 30% 45%, #000 15%, transparent 74%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 3; }
@media (max-width: 860px) {
  .page-head .head-bg { opacity: 0.24; }
  .page-head::after { background: linear-gradient(180deg, rgba(6, 8, 13, 0.88), rgba(6, 8, 13, 0.95)); }
}
.page-head h1 { max-width: 20ch; }
.page-head .lead { max-width: 58ch; margin-bottom: 0; }

/* ═══ Zweispaltig (Inhaltsseiten) ═══════════════════════════════════════ */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.duo.mid { align-items: center; }
/* Bild steht im Quelltext vor dem Text, rutscht auf schmalen Schirmen darunter */
@media (max-width: 1000px) { .media-first { order: 2; } }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trio > * { background: var(--stone-lit); padding: clamp(22px, 2.4vw, 32px); margin: 0; }
.trio h3 { margin-bottom: 0.4em; }
.trio p { margin: 0; color: var(--parchment-dim); font-size: 0.98rem; }

/* Textseiten */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--gold); }
.prose ul.plain { list-style: none; padding: 0; }
address { font-style: normal; }

/* ═══ Fußzeile ══════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: clamp(48px, 6vw, 76px) 0 40px;
  font: 500 0.94rem/1.6 var(--ui);
  color: var(--parchment-dim);
}
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h3 { font: 700 0.72rem/1 var(--ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--parchment-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 26px; font-size: 0.82rem; line-height: 1.7; color: #6b6555; }
.site-footer .legal a { color: #8a8271; text-decoration: underline; }

/* ═══ Bewegung ══════════════════════════════════════════════════════════
   Alles nur über transform und opacity. Reveals über IntersectionObserver
   (site.js), Ambient-Motion über CSS. */

.rise { opacity: 0; transform: translateY(22px); }
.rise.seen {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--out), transform 700ms var(--out);
}
.rise-2.seen { transition-delay: 90ms; }
.rise-3.seen { transition-delay: 180ms; }
.rise-4.seen { transition-delay: 270ms; }

/* Nebel lüften: das Bild wird von links nach rechts freigelegt */
.unveil { clip-path: inset(0 100% 0 0); }
.unveil.seen { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--in-out); }

/* Kerzen atmen. Sehr langsam, sonst flackert die ganze Seite. */
@keyframes breathe {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}
.hero::before { animation: breathe 7s ease-in-out infinite; }

/* Tokens ziehen ihre Runde über die Karte */
@keyframes patrol-a {
  0%, 12%   { transform: translate(0, 0); }
  25%, 37%  { transform: translate(112%, 0); }
  50%, 62%  { transform: translate(112%, 108%); }
  75%, 87%  { transform: translate(0, 108%); }
  100%      { transform: translate(0, 0); }
}
@keyframes patrol-b {
  0%, 14%   { transform: translate(0, 0); }
  30%, 44%  { transform: translate(-98%, 92%); }
  60%, 74%  { transform: translate(-190%, 0); }
  90%, 100% { transform: translate(0, 0); }
}
@keyframes patrol-c {
  0%, 100%  { transform: translate(0, 0); }
  40%, 55%  { transform: translate(96%, -84%); }
}
.token-a { animation: patrol-a 26s var(--in-out) infinite; }
.token-b { animation: patrol-b 31s var(--in-out) infinite; }
.token-c { animation: patrol-c 19s var(--in-out) infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .rise { opacity: 1; transform: none; }
  .unveil { clip-path: none; }
}

/* ═══ Schmale Schirme ═══════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .entry { grid-template-columns: 1fr; }
  .reveal-split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell-wide, .cell-half, .cell-third { grid-column: span 2; }
  .roster { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 8px; row-gap: 6px; }
  .site-nav { order: 3; flex-basis: 100%; margin-left: -14px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-header .btn { margin-left: auto; padding: 12px 18px; }
  .brand img { width: 38px; height: 38px; }
  .counts { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide, .cell-half, .cell-third { grid-column: span 1; }
  .cell-art { min-height: 260px; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .turn { grid-template-columns: 1fr; gap: 8px; }
  .turn b { font-size: 1.6rem; }
  .oath img { width: 104px; height: 104px; }
}

/* Abschnittsmarke auf den Inhaltsseiten: ein Emblem statt eines Kapitälchen-Labels */
.mark { display: block; width: 76px; height: 76px; margin-bottom: 18px; opacity: 0.9; }

/* Schmale Schirme: das Hintergrundbild zoomt sonst in ein einzelnes Gesicht */
@media (max-width: 860px) {
  .hero-bg { opacity: 0.26; object-position: 50% 62%; }
  .hero::after { background: linear-gradient(180deg, rgba(6, 8, 13, 0.86), rgba(6, 8, 13, 0.94)); }
}

/* Spenden-Aufruf direkt im Seitenkopf: Knopf und Zusatz auf einer Linie */
.head-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 2rem; }

/* ═══ Blog ══════════════════════════════════════════════════════════════
   Lesespalte statt Marketing-Breite: 920px für Kopf und Bild, 72ch für Text. */
.post .wrap { max-width: 920px; }
.post { padding-bottom: clamp(56px, 8vw, 96px); }
.post-head { padding: clamp(44px, 7vw, 84px) 0 28px; }
.post-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 24ch; }
.post-head .label a { color: inherit; text-decoration: none; }
.post-head .label a:hover { color: var(--gold-bright); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; font: 500 0.9rem/1.4 var(--ui); color: var(--parchment-dim); }
.post-meta > * + *::before { content: '·'; margin: 0 10px; color: var(--gold-deep); }
.post-hero img { aspect-ratio: 1200 / 655; object-fit: cover; }
.post-body { max-width: 72ch; margin-top: 2.5rem; }
.post-body .lead { max-width: none; font-size: clamp(1.12rem, 1.7vw, 1.32rem); line-height: 1.5; }
.prose h3 { font-size: 1.15rem; }
.prose ol { padding-left: 1.3em; }
.prose figure { margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); font-style: italic; }
.prose blockquote p { margin: 0; }
.prose .box, .prose .nachtrag { border: 1px solid var(--line); background: var(--stone); padding: 16px 20px; margin: 1.6em 0; font-size: 0.96rem; }
.prose .box p:last-child, .prose .nachtrag p:last-child { margin: 0; }
.prose .nachtrag b { color: var(--gold); }
.prose .qa { margin-top: 1.2em; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font: 700 0.72rem/1.4 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.prose td:first-child { color: var(--parchment); font-weight: 500; }

.author { display: flex; gap: 18px; align-items: flex-start; max-width: 72ch; margin-top: 3rem; padding: 20px 22px; border: 1px solid var(--line); background: var(--stone); }
.author img { width: 56px; height: 56px; flex: 0 0 auto; }
.author p { margin: 0; font-size: 0.96rem; color: var(--parchment-dim); }
.author b { color: var(--parchment); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.post-nav > * { display: block; padding: 18px 22px; background: var(--stone); color: var(--parchment); text-decoration: none; font-family: var(--display); font-weight: 700; line-height: 1.25; }
.post-nav a:hover { background: var(--stone-lit); color: var(--gold-bright); }
.post-nav .next { text-align: right; }
.post-nav span.small { display: block; margin-bottom: 6px; font: 500 0.8rem/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }

.trio .label { margin-bottom: 0.8rem; }
.trio .label time { color: var(--parchment-dim); }
.trio h3 a { color: var(--parchment); text-decoration: none; }
.trio h3 a:hover { color: var(--gold-bright); }

.post-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.post-list article { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 28px 0; background: var(--ink); }
.post-when { display: flex; flex-direction: column; gap: 6px; font: 500 0.88rem/1.4 var(--ui); color: var(--parchment-dim); }
.post-when span { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.post-list h2 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); margin-bottom: 0.3em; }
.post-list h2 a { color: var(--parchment); text-decoration: none; }
.post-list h2 a:hover { color: var(--gold-bright); }
.post-list p { margin: 0; max-width: 68ch; color: var(--parchment-dim); }

@media (max-width: 620px) {
  .post-list article { grid-template-columns: 1fr; gap: 10px; }
  .post-when { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .author { flex-direction: column; }
}
