/* ============================================================
   Democracy Intelligence – Grundlagen für die Landingpages 1–4
   Schriften und Farben aus dem DI-Designsystem. Seitenaufbau
   in css/lp.css, Spendenformular in css/form-mock.css.
   ============================================================ */

:root {
  --ink: #141a2e;          /* Überschriften, Dunkelblau-Fläche */
  --text: #232a40;         /* Fließtext */
  --muted: #4b5268;
  --soft: #8e95a6;
  --line: #e6e9ee;
  --surface: #ffffff;
  --blue: #12519a;
  --brand: #205573;        /* Markenverlauf Petrol → Magenta */
  --accent: #c026d3;
  --grad: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  --lila: linear-gradient(135deg, #e5effe 0%, #eeeaff 100%);   /* helle Hero-Fläche */

  --font-head: "Montserrat", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 864px;           /* Inhaltsspalte 800 px + Ränder */
  --gutter: 32px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 26px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Text im Markenverlauf */
.verlauf-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Verlaufsstrich unter Überschriften (wie im Newsletter) */
.akzent { display: block; width: 64px; height: 4px; border-radius: var(--r-full); background: var(--grad); }

/* Fließtext: 20 px, linksbündig mit sauberer Silbentrennung */
.fliesstext {
  font-size: 20px; line-height: 34px; letter-spacing: -0.005em; color: var(--text);
  text-align: left; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty;
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .fliesstext { font-size: 17px; line-height: 29px; }
}

/* Reduzierte Bewegung (Barrierefreiheit) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
