@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-var-latin.woff2") format("woff2");
}

/* Gemeinsames Stylesheet der Rechtstexte (impressum, datenschutz, widerruf,
   risikohinweise). Tokenwerte 1:1 aus index.html uebernommen -- dort liegen sie
   inline im :root, weil index.html eine Single-File-Seite ist. Wer die Marke
   umstellt, aendert beide Stellen. */

:root {
  --gruen: #1E3A2F;
  --gruen-deep: #0F1F16;
  --gold: #B99B6B;
  --gold-soft: #F0E9DC;
  --ink: #22251F;
  --ink-soft: #3D423B;
  --ink-muted: #6E7269;
  --line: #E3E1D8;
  --bg: #FCFBF8;
  --bg-card: #FFFFFF;
  --negativ: #9A4A3A;
  --negativ-soft: #F0DBD5;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  /* Kantig wie die Startseite (Designrichtung vom 04.08.). Muss mit dem
     :root-Block in index.html gleichbleiben. */
  --radius: 0px;
  --max: 820px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.legal-top {
  background: var(--gruen-deep);
  color: #E8E3D9;
  padding: 18px 0;
}
.legal-top .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-top a { color: inherit; text-decoration: none; }
.brand { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; }
.brand .b2 { color: var(--gold); margin-left: .4em; }
.legal-top .home { font-size: .92rem; opacity: .85; }
.legal-top .home:hover { opacity: 1; text-decoration: underline; }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 24px 72px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--gruen);
  margin-bottom: 10px;
}
.stand { color: var(--ink-muted); font-size: .92rem; margin-bottom: 38px; }

h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--gruen);
  margin: 38px 0 12px;
}
h3 { font-size: 1.04rem; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }

p, li { color: var(--ink-soft); }
p { margin-bottom: 12px; }
ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 7px; }

main a { color: var(--gruen); text-decoration: underline; text-underline-offset: 2px; }
main a:hover { color: var(--gold); }

.karte {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 20px 0;
}

/* Platzhalter fuer noch fehlende Pflichtangaben. Bewusst auffaellig: diese
   Seiten duerfen nicht unbemerkt mit Luecken live gehen. Das Gate
   scripts/check-rechtstexte.mjs bricht ab, solange ein [[ANGABE: ]] existiert. */
.fehlt {
  display: inline-block;
  background: var(--negativ-soft);
  color: var(--negativ);
  border: 1px dashed var(--negativ);
  border-radius: var(--radius);
  padding: 1px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  font-weight: 600;
}

.hinweis {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.hinweis p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 14px 0 18px; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
th { background: var(--gold-soft); font-weight: 600; color: var(--gruen); }
.scroll-x { overflow-x: auto; }

footer.legal {
  border-top: 1px solid var(--line);
  padding: 28px 24px 46px;
  text-align: center;
  color: var(--ink-muted);
  font-size: .9rem;
}
footer.legal a { color: var(--ink-muted); text-decoration: none; margin: 0 9px; }
footer.legal a:hover { color: var(--gruen); text-decoration: underline; }
footer.legal .zeile { margin-bottom: 10px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 38px 20px 56px; }
}
