/*
 * site.css – schlichte Gestaltung für Startseite, Impressum und Datenschutz.
 * Farben wie in der KI-Sammlung (siehe docs/DESIGN.md).
 */

:root {
  --akzent: #003399;
  --marke: #830036;
  --signal: #e3b300;
  --text: #2b2c2a;
  --text-leise: #5f615e;
  --flaeche: #ffffff;
  --flaeche-2: #f6f6f4;
  --rahmen: #dedfdc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --akzent: #7f9dff;
    --marke: #ff7aa8;
    --signal: #f0c63a;
    --text: #e8e9e6;
    --text-leise: #b4b6b3;
    --flaeche: #16181d;
    --flaeche-2: #1f2229;
    --rahmen: #33363d;
  }
}

* { box-sizing: border-box; }

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

/* Links: ohne Unterstrich, halbfett in der Akzentfarbe (Halbfett unterscheidet sie
   auch ohne Farbe vom Text). Beim Zeigen blendet eine dezente Linie ein. Links mit
   eigener Klasse (Knöpfe, Karten, Chips) gestalten sich selbst. */
a { color: var(--akzent); text-decoration: none; }
a:not([class]), .link-knopf {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.15s ease;
}
a:not([class]):hover, .link-knopf:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

.kopf {
  background: var(--flaeche);
  border-bottom: 1px solid var(--rahmen);
}
.kopf p {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  font-weight: 700;
}
.kopf a { color: var(--akzent); text-decoration: none; }

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

h1 { color: var(--akzent); font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 0.75rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
.einleitung { color: var(--text-leise); font-size: 1.1rem; }

/* Kachel auf der Startseite */
.kachel {
  display: block;
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.4rem;
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-left: 4px solid var(--akzent);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}
.kachel:hover { border-color: var(--akzent); }
.kachel strong { display: block; font-size: 1.2rem; color: var(--akzent); }

/* Platzhalter in den Vorlagen: auffällig, damit nichts vergessen wird */
.platzhalter {
  background: color-mix(in srgb, var(--signal) 30%, var(--flaeche));
  border-bottom: 2px dashed var(--signal);
  color: inherit;
  padding: 0 0.2em;
}
.vorlage-hinweis {
  padding: 0.75rem 1rem;
  background: var(--flaeche);
  border: 2px dashed var(--signal);
  border-radius: 10px;
}

.fuss {
  border-top: 1px solid var(--rahmen);
  background: var(--flaeche);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.fuss a { display: inline-block; padding: 0.6rem 0.75rem; }
