/* ==========================================================================
   Elektrotechnik- und EDV-Service Erhard – Stylesheet, VARIANTE 3
   --------------------------------------------------------------------------
   Heller, sachlicher Stil nach Art klassischer Schul-/Behördenseiten:
   weißer Header mit Logo, eine Schrift, eckige Kacheln,
   Inhalt mit Seitenleiste, schiefergrauer Footer. Akzent: Blitzblau.

   1. Schrift
   2. Farben & Grundwerte (hier zentral ändern!)
   3. Basis / Typografie
   4. Layout-Helfer & Buttons
   5. Header & Navigation
   6. Bühne / Titelleiste mit Blitz
   7. Inhaltsbausteine
   8. Footer
   9. Barrierefreiheit
   ========================================================================== */


/* 1. SCHRIFT – eine einzige Schrift für alles (variable Schrift, alle Stärken) */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}


/* 2. FARBEN & GRUNDWERTE ---------------------------------------------------
   Helles Design (Standard). Das dunkle Design steht direkt darunter.
   Umschalten: Button im Header (script.js, Abschnitt "Hell/Dunkel"). */
:root {
  color-scheme: light;

  /* Grundfarben */
  --c-paper: #ffffff;        /* Seitenhintergrund, Header */
  --c-ink: #141617;          /* Fließtext, Überschriften */
  --c-slate: #4f5862;        /* Nebentext */
  --c-accent: #1a6fc2;       /* Blitzblau – Links, aktive Navigation, Buttons */
  --c-night: #0b1324;        /* Nachtblau – Bühne mit Blitz (passt zum Logo) */

  /* Abstufungen */
  --c-surface: #ffffff;      /* Kästen, Kacheln, Formularfelder */
  --c-mist: #f5f6f8;         /* hellgraue Flächen */
  --c-line: #e1e4e8;         /* Linien und Rahmen */
  --c-field-line: #a3abb5;   /* Rahmen der Formularfelder */
  --c-accent-dark: #135699;  /* Button-Hover */
  --c-on-accent: #ffffff;    /* Schrift auf blauen Buttons */
  --c-spark: #8ccfff;        /* Blitz und Akzent auf Nachtblau */
  --c-footer: #0b1324;       /* Footer (Nachtblau) */
  --c-footer-line: #0b1324;  /* Trennlinie über dem Footer (hell: unsichtbar) */
  --c-mark: #e2f0fb;         /* Markierung der Platzhalter im Impressum */
  --c-card-top: #0b1324;     /* obere Kante der Leistungskarten */
  --c-error: var(--c-error);        /* Fehlermeldungen im Formular */

  --font: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 75rem;
  --gutter: 1.25rem;
  --space: clamp(2.75rem, 6vw, 4.25rem);
  --header-h: 4.5rem;
}
@media (min-width: 48em) {
  :root { --gutter: 2rem; --header-h: 5.25rem; }
}

/* Dunkles Design. Steht zweimal da, weil es auf zwei Wegen aktiv wird:
   a) per Button gewählt  -> <html data-theme="dark">
   b) Gerät steht auf Dunkel und es wurde nichts gewählt.
   Werte bei Änderungen bitte in BEIDEN Blöcken anpassen. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --c-paper: #0f141c;
  --c-ink: #e6eaf0;
  --c-slate: #a9b3c0;
  --c-accent: #6cb6f5;
  --c-surface: #161d28;
  --c-mist: #121923;
  --c-line: #283241;
  --c-field-line: #4a5566;
  --c-accent-dark: #a3d3ff;
  --c-on-accent: #0b1324;
  --c-footer: #0b1324;
  --c-footer-line: #283241;
  --c-mark: #17324d;
  --c-card-top: #6cb6f5;
  --c-error: #ff8a80;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --c-paper: #0f141c;
    --c-ink: #e6eaf0;
    --c-slate: #a9b3c0;
    --c-accent: #6cb6f5;
    --c-surface: #161d28;
    --c-mist: #121923;
    --c-line: #283241;
    --c-field-line: #4a5566;
    --c-accent-dark: #a3d3ff;
    --c-on-accent: #0b1324;
    --c-footer: #0b1324;
    --c-footer-line: #283241;
    --c-mark: #17324d;
    --c-card-top: #6cb6f5;
    --c-error: #ff8a80;
  }
}


/* 3. BASIS / TYPOGRAFIE ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.85rem); }
h3 { font-size: 1.25rem; }

p, ul, ol, dl { margin: 0 0 1.1em; }

a { color: var(--c-accent); text-underline-offset: 0.18em; }
a:hover { color: var(--c-accent-dark); }

strong { font-weight: 600; }


/* 4. LAYOUT-HELFER & BUTTONS ----------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space); }
.section--mist { background: var(--c-mist); }

/* Abschnittsüberschrift mit kurzem Akzentstrich darunter */
.title-bar { position: relative; padding-bottom: 0.6rem; margin-bottom: 1.4rem; }
.title-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 3px;
  background: var(--c-accent);
}

.lead { font-size: 1.15em; color: var(--c-slate); }
.mt { margin-top: 2.5rem; }
.person__caption + .lead { margin-top: 1.5rem; }

/* Hauptinhalt + Seitenleiste */
.layout { display: grid; gap: 3rem; }
/* Seitenleiste schon ab Tablet-Querformat neben dem Inhalt */
@media (min-width: 54em) {
  .layout { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3rem; }
}
@media (min-width: 72em) {
  .layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.3em;
  border: 2px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn--primary:hover { background: var(--c-accent-dark); color: var(--c-on-accent); }
.btn--light { background: #fff; color: #141617; }   /* nur auf dunklem Grund */
.btn--light:hover { background: var(--c-spark); color: var(--c-night); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }


/* 5. HEADER & NAVIGATION -------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--c-accent);
  color: var(--c-on-accent);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--c-on-accent); }

/* weißer Header, bleibt beim Scrollen oben stehen */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--c-ink);
}
.brand img {
  height: 3rem;
  width: auto;
  border-radius: 3px;
}
@media (min-width: 48em) { .brand img { height: 3.6rem; } }
.brand__text { display: none; line-height: 1.25; }
.brand__name { display: block; font-weight: 700; font-size: 1.1rem; }
.brand__sub { display: block; font-size: 0.9rem; color: var(--c-slate); }
@media (min-width: 72em) { .brand__text { display: block; } }
.brand:hover { color: var(--c-ink); }

/* Knöpfe rechts im Header: Hell/Dunkel + Hamburger */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle,
.theme-toggle {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  background: var(--c-surface);
  color: var(--c-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle { display: none; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle:hover,
.theme-toggle:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Hell/Dunkel-Umschalter: nur mit JavaScript sinnvoll, daher sonst versteckt.
   Im hellen Design zeigt er den Mond, im dunklen die Sonne. */
.theme-toggle { display: none; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle.is-dark .icon-sun { display: block; }
.theme-toggle.is-dark .icon-moon { display: none; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 600;
}
.main-nav a:hover { color: var(--c-accent); }
.main-nav a[aria-current="page"] { color: var(--c-accent); }

@media (max-width: 53.99em) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { width: 100%; order: 3; }
  .js .main-nav { display: none; }
  .js .nav-open .main-nav { display: block; }
  .main-nav ul { padding-bottom: 0.5rem; }
  .main-nav li { border-top: 1px solid var(--c-line); }
  .main-nav a { padding: 0.8rem 0 0.8rem 0.9rem; border-left: 3px solid transparent; }
  .main-nav a[aria-current="page"] { border-left-color: var(--c-accent); }
}
@media (min-width: 54em) {
  .js .nav-toggle { display: none; }
  .main-nav { margin-left: auto; }
  .header-actions { order: 3; }
  .main-nav ul { display: flex; align-items: stretch; height: var(--header-h); }
  .main-nav a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;  /* hält den Text optisch mittig */
  }
  .main-nav a:hover { border-bottom-color: rgba(26, 111, 194, 0.35); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--c-accent); }
}


/* 6. BÜHNE / TITELLEISTE MIT BLITZ ----------------------------------------
   Startseite: große Bühne mit Logo. Unterseiten: niedrige Titelleiste mit
   Brotkrumen. Der Blitz (script.js) endet am Logo ([data-bolt-anchor]). */
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-night);
  color: #dfe6f1;
  padding-block: clamp(2rem, 5vw, 3rem);
  transition: background-color 0.5s ease-out;
}
.stage--home { padding-block: clamp(3rem, 8vw, 5.5rem); }

.stage__bolt { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage__bolt svg { width: 100%; height: 100%; display: block; }

.stage h1 { color: #fff; margin-bottom: 0.3em; }
.stage--home h1 { font-size: clamp(2.25rem, 6vw, 3.6rem); font-weight: 700; }
.stage__lead { font-size: 1.15em; max-width: 34em; margin-bottom: 1.5rem; }
.stage__lead:last-child { margin-bottom: 0; }

.stage__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 54em) {
  .stage__grid { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* Brotkrumen-Navigation in der Titelleiste */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.95rem;
}
.breadcrumb li + li::before { content: "›"; margin: 0 0.5rem; opacity: 0.6; }
.breadcrumb a { color: var(--c-spark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* Logo in der Bühne */
.stage__logo {
  margin: 0;
  max-width: 22rem;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(140, 207, 255, 0.25);
  transition: filter 0.6s ease-out, box-shadow 0.6s ease-out;
}
.stage__logo img { width: calc(100% + 6px); max-width: none; margin: -3px; }
.stage.is-flash .stage__logo { filter: brightness(1.35); box-shadow: 0 0 0 1px var(--c-spark); transition: none; }
.stage.is-awake .stage__logo { box-shadow: 0 0 0 1px rgba(140, 207, 255, 0.55); }
.stage__logo--small { max-width: 12rem; }
@media (max-width: 53.99em) { .stage__logo--small { display: none; } }
@media (min-width: 54em) {
  .stage__logo { width: 22rem; }
  .stage__logo--small { width: 12rem; }
}

/* Blitz-Zustände */
.bolt path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 0.6s ease-out, stroke-width 0.6s ease-out;
}
.bolt__glow path { stroke: var(--c-spark); stroke-width: 7; opacity: 0.08; }
.bolt__core path { stroke: #eef7ff; stroke-width: 1.6; opacity: 0.32; }
.bolt__core path.is-branch { stroke-width: 1; }
.bolt__glow path.is-branch { stroke-width: 4; }
.bolt.is-awake .bolt__glow path { opacity: 0.16; }
.bolt.is-awake .bolt__core path { opacity: 0.6; }
.bolt.is-flash path { transition: none; }
.bolt.is-flash .bolt__glow path { opacity: 0.5; stroke-width: 10; }
.bolt.is-flash .bolt__core path { opacity: 1; stroke-width: 2.4; }
.bolt.is-flash .bolt__core path.is-branch { stroke-width: 1.4; }
.stage.is-flash { background-color: #16223a; transition: none; }


/* 7. INHALTSBAUSTEINE ----------------------------------------------------- */

/* --- Startseite: Begrüßung mit rundem Foto --- */
.intro {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
.intro__photo {
  width: 8.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 50%;
  border: 3px solid var(--c-paper);
  box-shadow: 0 0 0 1px var(--c-line);
}
.intro__text > :last-child { margin-bottom: 0; }
@media (min-width: 48em) {
  .intro { grid-template-columns: 11rem 1fr; gap: 2.5rem; }
  .intro__photo { width: 11rem; }
}

/* kleine Überzeile über Überschriften */
.eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.6rem;
}

/* --- Startseite: drei Leistungsbereiche als schlichte Karten --- */
.areas {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48em) {
  .areas { grid-template-columns: repeat(3, 1fr); }
}
.area {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-card-top);
  border-radius: 4px;
  padding: 1.4rem 1.4rem 1.2rem;
}
.area h3 { display: flex; align-items: center; gap: 0.6rem; }
.area p { color: var(--c-slate); margin-bottom: 0; }
.more-link { margin: 1.75rem 0 0; font-weight: 600; }

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Seitenleiste: Schnellzugriff & Kontaktbox --- */
.sidebar { display: grid; gap: 1.75rem; align-content: start; }
/* Seitenleiste unter dem Inhalt (schmale Bildschirme): Kästen nebeneinander
   statt als volle Breite übereinander, abgesetzt durch eine Linie */
@media (max-width: 53.99em) {
  .sidebar { padding-top: 2rem; border-top: 1px solid var(--c-line); gap: 1.25rem; }
}
@media (min-width: 36em) and (max-width: 53.99em) {
  .sidebar { grid-template-columns: 1fr 1fr; align-items: start; }
}
/* Auf breiten Bildschirmen wandert die Seitenleiste beim Scrollen mit */
@media (min-width: 54em) {
  .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.widget { border: 1px solid var(--c-line); background: var(--c-surface); }
.widget__title {
  margin: 0;
  padding: 0.75rem 1.1rem;
  font-size: 1.1rem;
  background: var(--c-mist);
  border-bottom: 3px solid var(--c-accent);
}
.widget__body { padding: 1rem 1.1rem; }
.widget__body > :last-child { margin-bottom: 0; }

.quicklinks { list-style: none; margin: 0; padding: 0; }
.quicklinks li + li { border-top: 1px solid var(--c-line); }
.quicklinks a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  color: var(--c-ink);
  text-decoration: none;
}
.quicklinks a::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--c-accent);
  border-right: 2px solid var(--c-accent);
  transform: rotate(45deg);
  flex: none;
}
.quicklinks a:hover { background: var(--c-mist); color: var(--c-accent); }

.phone-list { margin: 0; }
.phone-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1rem;
  padding: 0.45rem 0;
}
.phone-list div + div { border-top: 1px solid var(--c-line); }
.phone-list dt { color: var(--c-slate); }
.phone-list dd { margin: 0; font-weight: 600; }
.phone-list a { color: var(--c-ink); text-decoration-color: var(--c-accent); }

/* --- Leistungsseite --- */
.service-group { padding-block: 2rem; border-top: 1px solid var(--c-line); }
.service-group:first-child { padding-top: 0; border-top: 0; }
.service-group:last-child { padding-bottom: 0; }
.service-group h2 { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.2em; }
.service-group h2 .icon { width: 1.9rem; height: 1.9rem; }
.service-group__intro { color: var(--c-slate); margin-bottom: 1rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.75rem;
  border-bottom: 1px solid var(--c-line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.9rem;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(40deg);
}
.checklist small { display: block; color: var(--c-slate); font-size: 0.95em; }

/* --- Zu meiner Person --- */
.person__photo {
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 35%;
  border: 1px solid var(--c-line);
  padding: 5px;
  background: var(--c-surface);
  margin-bottom: 0.5rem;
}
.person__caption { font-size: 0.95rem; color: var(--c-slate); margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-line);
}
.timeline li:first-child { border-top: 1px solid var(--c-line); }
@media (min-width: 36em) { .timeline li { grid-template-columns: 9.5rem 1fr; } }
.timeline__date { font-weight: 600; color: var(--c-accent); }
.timeline p { margin: 0; }

/* --- Formular --- */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 36em) {
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 600; }
.field .req { color: var(--c-accent); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-field-line);
  border-radius: 0;
  padding: 0.6rem 0.75rem;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--c-slate); }
.field [aria-invalid="true"] { border-color: var(--c-error); border-width: 2px; }
.field__error { color: var(--c-error); font-size: 0.95rem; margin: 0; }
.field__error:empty { display: none; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 0.95rem; color: var(--c-slate); margin: 0; }
.form__status { padding: 1rem 1.2rem; border-left: 4px solid var(--c-accent); background: var(--c-mist); margin: 0; }
.form__status[hidden] { display: none; }
.form__status--error { border-left-color: var(--c-error); }

/* --- Impressum --- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.placeholder { background: var(--c-mark); padding: 0 0.25em; }


/* 8. FOOTER --------------------------------------------------------------- */
/* Nachtblauer Footer in drei Spalten: Name, Telefon, Rechtliches */
.site-footer {
  background: var(--c-footer);
  color: #dfe6f1;
  padding-block: 3rem 1.5rem;
  font-size: 1rem;
  border-top: 1px solid var(--c-footer-line);
}
.site-footer a { color: #dfe6f1; text-decoration-color: rgba(140, 207, 255, 0.6); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer a[aria-current="page"] { color: var(--c-spark); }

.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48em) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-spark);        /* Blitz-Hellblau als Überschrift */
  margin: 0 0 0.6rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.35rem; }
.footer-list span { display: inline-block; min-width: 3.5rem; opacity: 0.75; }

.footer-bottom {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}


/* 9. BARRIEREFREIHEIT ----------------------------------------------------- */
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.stage :focus-visible,
.site-footer :focus-visible { outline-color: var(--c-spark); }
/* Anker-Ziele nicht unter dem klebenden Header verstecken */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
