/* Erscheinungsbild des Vereins, fürs Netz.
   Dieselben Farben und dieselbe Schrift wie in der App
   (lib/theme/app_theme.dart) — die Seite soll sich anfühlen wie das,
   worüber sie Auskunft gibt. */

@font-face {
  font-family: 'Playfair Display';
  src: url('assets/PlayfairDisplay.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --grund: #0b0b0b;
  --flaeche: #141310;
  --linie: #2a2519;
  --linie-stark: #3a3225;
  --gold: #c9a45c;
  --gold-hell: #e3c98f;
  --text: #f2efe8;
  --text-zweit: #a39d8f;
  --text-leise: #6f6a5e;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --grotesk: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--grotesk);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Kopf ---- */

header.marke {
  text-align: center;
  padding: 56px 20px 34px;
  border-bottom: 1px solid var(--linie);
}

header.marke .krone {
  width: 74px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

header.marke h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 6vw, 38px);
  margin: 0;
  letter-spacing: 0.01em;
}

header.marke h1 .und {
  color: var(--gold);
  font-style: italic;
  font-size: 0.7em;
  padding: 0 0.12em;
}

header.marke .jahr {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.34em;
  margin: 10px 0 0;
  text-transform: uppercase;
}

/* ---- Gerüst ---- */

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 4.4vw, 27px);
  color: var(--gold);
  margin: 46px 0 6px;
}

h2:first-of-type { margin-top: 0; }

h2 + .strich {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  margin: 30px 0 6px;
}

p { margin: 0 0 15px; color: var(--text-zweit); }
p.fuehrend { color: var(--text); font-size: 17px; }

a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--linie-stark); }
a:hover { color: var(--gold-hell); border-bottom-color: var(--gold); }

ul { margin: 0 0 15px; padding-left: 20px; color: var(--text-zweit); }
li { margin-bottom: 7px; }

strong { color: var(--text); font-weight: 600; }

/* ---- Karte ---- */

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 18px;
}

.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }

.karte.wichtig { border-color: var(--linie-stark); }

/* ---- Tabelle ---- */

.tafel { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.tafel th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-leise);
  padding: 0 12px 9px 0;
  border-bottom: 1px solid var(--linie-stark);
}
.tafel td {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--linie);
  color: var(--text-zweit);
  vertical-align: top;
}
.tafel td:first-child { color: var(--text); }
.tafel tr:last-child td { border-bottom: none; }

/* ---- Auf dem Telefon nebeneinander gesetzte Tabellen umbrechen ---- */

@media (max-width: 520px) {
  .tafel, .tafel tbody, .tafel tr, .tafel td { display: block; width: 100%; }
  .tafel thead { display: none; }
  .tafel tr { border-bottom: 1px solid var(--linie); padding: 12px 0; }
  .tafel tr:last-child { border-bottom: none; }
  .tafel td { border: none; padding: 0 0 4px; }
  .tafel td:first-child { font-weight: 600; }
  .tafel td[data-kopf]::before {
    content: attr(data-kopf) ' — ';
    color: var(--text-leise);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .tafel td:first-child[data-kopf]::before { content: none; }
}

/* ---- Fuß ---- */

footer {
  border-top: 1px solid var(--linie);
  padding: 26px 20px 46px;
  text-align: center;
  color: var(--text-leise);
  font-size: 13px;
}

footer nav { margin-bottom: 12px; }

footer nav a {
  color: var(--text-zweit);
  border: none;
  padding: 0 10px;
  white-space: nowrap;
  display: inline-block;
  line-height: 2;
}

footer nav a:hover { color: var(--gold); }

footer .stand { font-size: 12px; }
