/* ======================================================================
   IMMESTO · LANDINGPAGE — EIN STIL FUER ALLE SEITEN (FIX9 F0.7)
   ======================================================================

   WARUM EINE DATEI UND NICHT NEUN <style>-BLOECKE. Die Seite hat sieben
   Inhaltsseiten plus Fehlerseite. Derselbe Stil in acht Dateien ist
   dieselbe Angabe an acht Stellen — die Bauweise, die in diesem Lauf
   schon dreimal aufgefallen ist (Markenfarben, Cookienamen,
   Absendername). Eine Datei, ein `<link>`, kein Bauschritt.

   KEIN FRAMEWORK, KEINE FREMDE ADRESSE. Die Schriften liegen in
   `schriften/` als woff2 und werden von hier geladen. Bis zum 15.09.2026
   stand in der alten Seite ein `<link>` auf fonts.googleapis.com; das
   laedt bei JEDEM Besucher vor jeder Einwilligung die IP-Adresse zu
   Google. Das LG Muenchen I hat das am 20.01.2022 (3 O 17493/20) als
   Verletzung des Persoenlichkeitsrechts gewertet. `pruefe:landingpage`
   haelt fest, dass keine fremde Adresse zurueckkommt.

   DIE FARBEN SIND DIE NEUEN DER MARKE (FIX9 F0.3): Navy #0B1A33,
   Gold #C9A24B, Creme #F4EFE3, dazu ein dunkles Gold #7A5C16 fuer Text
   auf hellem Grund — #C9A24B auf Creme haelt den Kontrast nach WCAG AA
   nicht, #7A5C16 schon. Das Design-System der Anwendung
   (#0A1628 / #C9A84C / #F8F6F1) ist ein anderes und bleibt es; der
   Angleich ist eine eigene Entscheidung (RF-N115).
   ====================================================================== */

/* ── Schriften ───────────────────────────────────────────────────────── */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(schriften/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(schriften/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(schriften/playfair-display-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(schriften/playfair-display-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Marke und Grundlagen ────────────────────────────────────────────── */

:root {
  --navy: #0B1A33;
  --navy-2: #122744;
  --gold: #C9A24B;
  --gold-hell: #E2C078;
  --gold-dunkel: #7A5C16;
  --creme: #F4EFE3;
  --weiss: #FFFFFF;
  --linie: #E3DCCB;
  --grau: #5F6672;
  --text: #1A2332;
  --breite: 1080px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  margin: 0 0 0.45em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p, li { max-width: 70ch; }

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-dunkel);
  outline-offset: 2px;
}

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

/* ── Sprungmarke: der erste Tabstopp jeder Seite ─────────────────────── */

.sprung {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10;
}
.sprung:focus {
  left: 0;
}

/* ── Kopf und Navigation ─────────────────────────────────────────────── */

.inhalt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.kopf {
  background: var(--navy);
  color: #fff;
}
.kopf .inhalt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.wortmarke {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.wortmarke svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--gold-hell);
  flex: none;
}

/* DIE NAVIGATION BRAUCHT KEIN JAVASCRIPT. Auf schmalen Schirmen bricht
   sie um, statt sich hinter einem Knopf zu verstecken. Sechs Punkte
   passen in zwei Zeilen; ein Menue, das ohne Skript nicht aufgeht, ist
   auf einer statischen Seite ein Ausfall und keine Einschraenkung. */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.95rem;
}
.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}
.nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 162, 75, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero .inhalt { position: relative; }
.hero h1 { max-width: 20ch; }
.hero .lead {
  font-size: 1.15rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
}
.hero .claim {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--gold-hell);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

/* ── Knoepfe ─────────────────────────────────────────────────────────── */

.knopf {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin: 0.35rem 0.5rem 0.35rem 0;
}
.knopf.gold {
  background: var(--gold);
  color: var(--navy);
}
.knopf.leise {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.knopf.rand {
  border: 1px solid var(--gold-dunkel);
  color: var(--gold-dunkel);
}

/* ── Abschnitte, Karten, Listen ──────────────────────────────────────── */

main section {
  padding: 3rem 0;
}
main section + section {
  border-top: 1px solid var(--linie);
}

.raster {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: 1.4rem;
}
.karte a { text-decoration: none; }
.karte h3 { margin-top: 0.6rem; }
.karte p, .karte li { color: var(--grau); }
.karte svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: var(--gold-dunkel);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.karte .mehr {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--gold-dunkel);
  font-weight: 600;
}

.schritte {
  counter-reset: schritt;
  list-style: none;
  padding: 0;
}
.schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 2.75rem;
  margin: 1rem 0;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-hell);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.hinweis {
  background: var(--weiss);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}

.klein {
  color: var(--grau);
  font-size: 0.92rem;
}

.luecke {
  background: #FDF6E3;
  border: 1px dashed var(--gold-dunkel);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
}
.luecke b { color: var(--gold-dunkel); }

/* ── Fragen und Antworten ohne JavaScript ────────────────────────────── */

details {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  margin: 0.6rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin-bottom: 0;
  color: var(--grau);
}

/* ── Beispielansichten statt Bildschirmfotos ─────────────────────────── */

.ansicht {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.88rem;
}
.ansicht .leiste {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ansicht table {
  border-collapse: collapse;
  width: 100%;
}
.ansicht th,
.ansicht td {
  text-align: left;
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--linie);
}
.ansicht td + td,
.ansicht th + th {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ansicht .quelle {
  padding: 0.5rem 0.9rem;
  color: var(--grau);
  font-size: 0.8rem;
}

/* ── Fusszeile ───────────────────────────────────────────────────────── */

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.25rem 0;
  font-size: 0.92rem;
  margin-top: 2rem;
}
footer a { color: var(--gold-hell); }
footer .zeilen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
footer .leise {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.75rem;
}

/* ── Tabellen im Fliesstext ──────────────────────────────────────────── */

.tabelle {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.tabelle th,
.tabelle td {
  text-align: left;
  padding: 0.55rem 0.75rem 0.55rem 0;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.tabelle th { font-weight: 600; }
