/* Info-Seite Vereinszuschuss digital – System-Fonts, keine externen Ressourcen. */
:root {
  --navy: #133250;
  --teal: #1f8b8b;        /* Flächen und Balken */
  --teal-text: #146b6b;   /* Text auf Weiß/Hellgrau, Kontrast >= 5:1 */
  --teal-light: #7fd6d6;  /* Text auf Navy */
  --card: #eef3f6;
  --line: #d3dde4;
  --text: #1a2530;
  --muted: #44525f;
  --warn-bg: #fff4e0;
  --warn-border: #b45309;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
}
.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }
a { color: var(--teal-text); text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }
/* Fokusring: auf hellem Grund Navy (ca. 12:1 auf Weiß), Gelb hätte dort nur ca. 1,9:1.
   Auf dem dunklen Kopf-/Kontaktband bleibt Gelb (ca. 10:1 gegen Navy). */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .kontakt :focus-visible { outline-color: #f5b301; }
/* Skip-Link liegt je nach Seite auf Weiß oder Navy: gelber Ring innen, Navy-Rand außen, in beiden Fällen >= 3:1. */
.skip:focus-visible { outline: 3px solid #f5b301; outline-offset: 0; box-shadow: 0 0 0 6px var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 0.5rem; top: -4rem; background: #fff; color: var(--navy); padding: 0.6rem 1rem; z-index: 10; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 0.5rem; }

/* Kopfband */
.hero { background: var(--navy); color: #fff; border-bottom: 10px solid var(--teal); padding: 2.5rem 0 2.25rem; }
.kicker { margin: 0 0 0.5rem; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-light); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 8vw, 3.75rem); margin: 0 0 0.25em; }
.hero .lead { font-size: clamp(1.1rem, 3vw, 1.5rem); color: #e6eef5; margin: 0; }

/* Abschnitte */
section { padding: 2rem 0 0.5rem; }
h2 { font-size: 1.35rem; text-transform: uppercase; color: var(--teal-text); margin-bottom: 1rem; }
.steps, .features { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.step { background: var(--card); border-radius: 16px; padding: 1.25rem 1.4rem 0.9rem; }
.steps { counter-reset: schritt; }
.step h3 { display: flex; align-items: center; gap: 0.8rem; font-size: 1.4rem; margin-bottom: 0.9rem; }
.step h3::before { counter-increment: schritt; content: counter(schritt); flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--teal-text); color: #fff; font-size: 1.3rem; display: grid; place-items: center; }
.step p { color: var(--muted); }
.features li { background: #fff; border: 2px solid var(--line); border-left: 8px solid var(--teal); border-radius: 14px; padding: 0.9rem 1.2rem 0.5rem; }
.features h3 { font-size: 1.2rem; margin-bottom: 0.25em; }
.features p { color: var(--muted); margin-bottom: 0.5em; }

/* Screenshots */
.shots { display: grid; gap: 1.5rem; margin: 0; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border: 2px solid var(--line); }
figcaption { margin-top: 0.5rem; color: var(--muted); }

/* Kontaktband */
.kontakt { font-style: normal; background: var(--navy); color: #fff; border-radius: 20px; padding: 1.5rem 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 3rem; font-size: 1.2rem; }
.kontakt strong { font-size: 1.5rem; }
.kontakt a { color: #fff; }
.kontakt a:hover { color: var(--teal-light); }

/* Fuß */
footer { margin-top: 2.5rem; padding: 1.25rem 0 2rem; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; border-top: 2px solid var(--line); padding-top: 1rem; }
footer p { margin: 0; }
footer ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
footer a { color: var(--navy); display: inline-block; padding: 0.25rem 0; min-height: 24px; } /* Tippfläche >= 24px */

/* Rechtsseiten */
.recht { padding: 2rem 0 1rem; max-width: 46rem; }
.recht .brand-link { display: inline-block; margin-bottom: 1rem; }
.recht h1 { font-size: 2rem; }
.recht h2 { font-size: 1.25rem; text-transform: none; color: var(--navy); margin-top: 2rem; }
.vorlage { background: var(--warn-bg); border: 2px solid var(--warn-border); border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0 2rem; color: #4a2a05; }
.vorlage strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; }
.platzhalter { background: #fff3b0; color: #3a2e00; padding: 0 0.25em; border-radius: 3px; font-weight: 600; }

/* Kontaktformular */
.kontaktformular { margin: 1.5rem 0; }
.feld { margin-bottom: 1.25rem; }
.feld label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--navy); }
.feld .hilfe { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.95rem; }
.kontaktformular input[type="text"], .kontaktformular input[type="email"], .kontaktformular textarea {
  display: block; width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 2px solid #5b6b78; border-radius: 8px; padding: 0.6rem 0.75rem; min-height: 2.75rem;
}
.kontaktformular textarea { resize: vertical; min-height: 10rem; }
.kontaktformular [aria-invalid="true"] { border-color: #b3261e; border-left-width: 8px; }
.feld-fehler { margin: 0.35rem 0 0; color: #8c1d18; font-weight: 600; }
.fehlerbox { border: 2px solid #b3261e; border-left-width: 8px; background: #fdf0ef; border-radius: 8px; padding: 0.9rem 1.2rem 0.4rem; margin: 1.25rem 0; }
.fehlerbox h2 { font-size: 1.1rem; margin: 0 0 0.5rem; color: #8c1d18; }
.fehlerbox ul { margin: 0 0 0.6rem; padding-left: 1.25rem; }
.fehlerbox a { color: #8c1d18; }
.fehlerbox:focus-visible { outline-color: #b3261e; }
.hinweis { color: var(--muted); font-size: 0.95rem; }
.kontaktformular button { font: inherit; font-weight: 700; color: #fff; background: var(--navy); border: 2px solid var(--navy); border-radius: 8px; padding: 0.7rem 1.5rem; min-height: 2.75rem; cursor: pointer; }
.kontaktformular button:hover { background: #0d2238; }
/* Honeypot: aus dem Sichtbereich, nicht per display:none (sonst überspringen Bots ihn). */
.fangnetz { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.kontakt-link { font-size: 1.2rem; }

@media (min-width: 40rem) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 52rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
