/* Lorenz Services – Stylesheet V4
   Layout-Anlehnung: WordPress-Theme "Neve". Marke: #0065DD / #01142D.
   Keine externen Ressourcen. */

/* --- Schriftart: Roboto, lokal ---
   Nur die vier verwendeten Schnitte: 400, 400 kursiv, 600, 700. */
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto/static/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto/static/Roboto-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto/static/Roboto-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto/static/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

/* Metrisch an Roboto angeglichen, damit der Fallback keine Umbrüche verschiebt. */
@font-face {
  font-family: "Roboto Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  font-style: normal;
  ascent-override: 92.67%;
  descent-override: 24.39%;
  line-gap-override: 0%;
  size-adjust: 100.11%;
}
/* Eigener Kursivschnitt: aus dem aufrechten berechnet der Browser sonst eine
   künstliche Schrägstellung, die sichtbar dicker wirkt. */
@font-face {
  font-family: "Roboto Fallback";
  src: local("Arial Italic"), local("Helvetica Neue Italic"), local("Liberation Sans Italic");
  font-style: italic;
  ascent-override: 92.67%;
  descent-override: 24.39%;
  line-gap-override: 0%;
  size-adjust: 100.11%;
}

/* --- Farb- und Layout-Variablen ---
   --accent-text ist im Dunkelmodus aufgehellt: #0065DD erreicht auf dunklem
   Grund nur ~3,5:1 und liegt damit unter dem WCAG-Mindestwert.
   --text-muted ist im Dunkelmodus ebenfalls heller als die reine Umkehrung
   des hellen Grautons: mittlere Grauwerte wirken auf dunklem Grund flauer,
   als ihr Kontrastwert vermuten lässt. */
:root {
  --accent:        #0065DD;
  --accent-text:   #0065DD;
  /* Auf --accent-soft statt auf dem Seitengrund: --accent-text käme dort nur
     auf 4,4:1 und verfehlte den WCAG-Mindestwert von 4,5:1. */
  --accent-on-soft:#0052B4;
  --accent-hover:  #0052B4;
  --accent-soft:   rgba(0, 101, 221, 0.08);
  --dark:          #01142D;

  --heading:       #01142D;
  --text:          #272626;
  /* Dunkler als Neves Grauton, damit die Absätze nicht blass wirken. */
  --text-muted:    #3E434C;
  --bg:            #FFFFFF;
  --bg-alt:        #F4F5F7;
  --card-bg:       #FFFFFF;
  --border:        #E5E7EB;
  --border-strong: #D4D9E1;

  --container:     1170px;
  --radius:        8px;  --radius-card:   14px;  --radius-pill:   999px;
  --shadow-hover:  rgba(149, 157, 165, 0.2) 0 8px 24px;
  --font-body: "Roboto", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Roboto", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* --- Dunkelmodus ---
   Hell ist die Vorgabe oben. Dunkel steht bewusst zweimal: einmal als
   Systemvorgabe, solange der Besucher nicht ausdrücklich hell gewählt hat,
   einmal für die ausdrückliche Wahl über data-theme. CSS kann Medienabfrage
   und Attribut nicht in einer Regel verbinden – beide Blöcke sind identisch
   und müssen es bleiben.
   data-theme setzt theme-init-v4.html vor dem ersten Zeichnen aus
   localStorage; ohne gespeicherte Wahl fehlt das Attribut und das System
   entscheidet. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --heading:       #FFFFFF;
  --text:          #E6E8EB;
  --text-muted:    #BFC6D0;
  --bg:            #121417;
  /* Dunkler als --bg statt heller: sonst trägt --bg-alt denselben Wert wie
     --card-bg und die Karten verschmelzen mit dem Grund. */
  --bg-alt:        #0B0D11;
  --card-bg:       #1A1D21;
  --border:        #2A2F36;
  --border-strong: #3A404A;
  --accent-text:   #4D9BFF;
  --accent-on-soft:#86BEFF;
  --accent-hover:  #86BEFF;
  --accent-soft:   rgba(0, 101, 221, 0.22);
  --shadow-hover:  0 8px 24px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --heading:       #FFFFFF;
  --text:          #E6E8EB;
  --text-muted:    #BFC6D0;
  --bg:            #121417;
  /* Dunkler als --bg statt heller: sonst trägt --bg-alt denselben Wert wie
     --card-bg und die Karten verschmelzen mit dem Grund. */
  --bg-alt:        #0B0D11;
  --card-bg:       #1A1D21;
  --border:        #2A2F36;
  --border-strong: #3A404A;
  --accent-text:   #4D9BFF;
  --accent-on-soft:#86BEFF;
  --accent-hover:  #86BEFF;
  --accent-soft:   rgba(0, 101, 221, 0.22);
  --shadow-hover:  0 8px 24px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* --- Reset --- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  /* Scroll Anchoring aus: sonst springt die Scroll-Position beim Öffnen des
   Burger-Menüs. */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
h1 { font-size: 40px; line-height: 1.1; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 28px; line-height: 1.4; }
h4 { font-size: 24px; line-height: 1.5; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card-bg);
  color: var(--heading);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* --- Layout-Helfer --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow,
.step__no {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-on-soft);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.eyebrow  { margin-bottom: 18px; }
.step__no { margin: 0 0 16px; }

.section-head h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* --- Buttons (Neve-Stil: weicher Radius, normale Schreibweise) --- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover,
.btn:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--heading);
}
.btn--outline:hover,
.btn--outline:focus {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-text);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost:hover,
.btn--ghost:focus {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}
.btn--light:hover,
.btn--light:focus {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn--ghost-alt {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-text);
}
.btn--ghost-alt:hover,
.btn--ghost-alt:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 18px;
}

/* --- Header ---
   Bleibt beim Scrollen oben stehen, soll dabei aber nicht als eigene Leiste
   auftreten: keine Trennlinie, Grundfarbe leicht durchscheinend mit
   Weichzeichner. Am Seitenanfang liegt er damit farbgleich auf dem Inhalt
   darunter, beim Scrollen nimmt er dessen Farbe auf, statt ihn abzuschneiden. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Erste Angabe ist der Rückfall für Browser ohne color-mix(). */
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

/* Ohne Weichzeichner läge durchscheinender Text übereinander: dann deckend. */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .site-header {
    background: var(--bg);
  }
}

/* Kurzer Verlauf unterhalb: der Inhalt löst sich zur Kopfzeile hin auf,
   statt an der Unterkante des Weichzeichners hart zu enden. */
.site-header::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 22px;
  /* Hinter die Untermenüs legen, die unter die Kopfzeile ragen – diese
     bildet durch position/z-index bereits einen eigenen Stapelkontext. */
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--bg) 55%, transparent),
    transparent
  );
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  padding: 10px 0;
}
.brand:hover { text-decoration: none; }

.brand__logo {
  height: 65px;
  width: auto;
  display: block;
}

/* Zwei Logodateien, je nach Farbmodus eine sichtbar – dieselbe Aufteilung
   wie bei den Farbvariablen: Systemvorgabe, sofern nicht ausdrücklich hell
   gewählt, plus die ausdrückliche Wahl. */
.brand__logo--on-dark { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--on-light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--on-dark  { display: block; }
}

:root[data-theme="dark"] .brand__logo--on-light { display: none; }
:root[data-theme="dark"] .brand__logo--on-dark  { display: block; }

.header-controls {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* inline-flex auch für Punkte ohne Pfeil: ein Inline-Element säße auf der
   Grundlinie und stünde sichtbar höher in der Zeile. */
.nav a,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 6px 0;
  transition: color .2s ease;
}

/* Schalter-Reset auf den Stand der Menüpunkte daneben. */
.nav__toggle {
  background: none;
  border: 0;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"],
.nav__toggle:hover,
.nav__toggle:focus {
  color: var(--accent-text);
  text-decoration: none;
}

/* --- Untermenüs im Kopfbereich ---
   Maus über :hover (in hover: hover gekapselt), Tastatur über :focus-within,
   Tippen über .is-open aus assets/scripts/nav-dropdown.js. Ohne Skript
   tragen Maus und Tastatur das Menü allein. */
.nav__parent { position: relative; }

.nav__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
/* Ohne (hover: hover) bliebe auf Touchgeräten ein hängender Hover-Zustand. */
@media (hover: hover) {
  .nav__parent:hover > .nav__toggle .nav__chevron { transform: rotate(180deg); }
}
.nav__parent:focus-within > .nav__toggle .nav__chevron,
.nav__parent.is-open > .nav__toggle .nav__chevron { transform: rotate(180deg); }

.nav .nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  display: block;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 110;
}

/* Überbrückt den Abstand zum Menüpunkt, damit die Maus nicht herausfällt. */
.nav .nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}

@media (hover: hover) {
  .nav__parent:hover > .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav__parent:focus-within > .nav__sub,
.nav__parent.is-open > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nach Esc. Muss hinter den öffnenden Regeln stehen: bei gleicher Spezifität
   gewinnt die spätere, sonst klappte :focus-within sofort wieder auf. */
.nav__parent.is-dismissed > .nav__sub {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
}
.nav__parent.is-dismissed > .nav__toggle .nav__chevron { transform: none; }

.nav .nav__sub a {
  display: block;
  padding: 9px 18px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}
.nav .nav__sub a:hover,
.nav .nav__sub a:focus {
  background: var(--accent-soft);
  color: var(--accent-on-soft);
  text-decoration: none;
}

/* Menuepunkte, die in einem neuen Tab landen, tragen dasselbe Hinweissymbol
   wie die Knoepfe auf der Startseite. Sie brauchen Flex statt Block, damit
   Beschriftung und Symbol auf einer Grundlinie stehen. */
.nav .nav__sub a.is-external,
.burger-menu__dropdown li a.is-external {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav__external {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .75;
}

.header-actions {
  display: flex;
  align-items: center;
}

.nav--compact ul { gap: 18px; }
.nav--compact a { font-size: 18px; }

/* Hier tauschen Leiste und Burger die Rollen. */
@media (max-width: 1050px) {
  .nav--compact { display: none; }
  /* Die Einblendung steht bei .burger-menu weiter unten – hinter dessen
   Grundzustand, sonst würde sie überschrieben. */
}

/* --- Theme-Umschalter (reines CSS, kein JavaScript) --- */
.theme-switch { display: flex; align-items: center; }

.theme-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.theme-switch__label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.theme-switch__track {
  position: relative;
  width: 50px;
  height: 27px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: background-color .2s ease, border-color .2s ease;
}

.theme-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: transform .25s ease;
}

.theme-switch__icon {
  grid-area: 1 / 1;
  width: 13px;
  height: 13px;
  transition: opacity .2s ease, transform .2s ease;
}

.theme-switch__icon--sun { color: #E8A23D; opacity: 1; transform: scale(1); }
.theme-switch__icon--moon { color: var(--accent); opacity: 0; transform: scale(.5); }

/* Der Schalter zeigt den Zustand aus drei Quellen, die einander nicht
   widersprechen: das Attribut steht schon vor dem ersten Zeichnen, :checked
   folgt der Bedienung, und die Medienabfrage greift nur ohne eigene Wahl –
   also auch dann, wenn gar kein JavaScript läuft. */
:root[data-theme="dark"] .theme-switch__thumb,
#theme-toggle:checked + .theme-switch__label .theme-switch__thumb {
  transform: translateX(23px);
}
:root[data-theme="dark"] .theme-switch__icon--sun,
#theme-toggle:checked + .theme-switch__label .theme-switch__icon--sun {
  opacity: 0;
  transform: scale(.5);
}
:root[data-theme="dark"] .theme-switch__icon--moon,
#theme-toggle:checked + .theme-switch__label .theme-switch__icon--moon {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-switch__thumb { transform: translateX(23px); }
  :root:not([data-theme]) .theme-switch__icon--sun { opacity: 0; transform: scale(.5); }
  :root:not([data-theme]) .theme-switch__icon--moon { opacity: 1; transform: scale(1); }
}

#theme-toggle:focus-visible + .theme-switch__label .theme-switch__track {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

/* --- Burger-Menü (JavaScript-gesteuert) --- */
/* Erscheint erst, wo die Leiste weicht. */
.burger-menu {
  position: relative;
  display: none;
  align-items: center;
}

/* Gegenstück zum Breakpoint oben. Muss hinter dem Grundzustand stehen. */
@media (max-width: 1050px) {
  .burger-menu { display: flex; }
}

.burger-menu__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--heading);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.burger-menu__label:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.burger-menu__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 18px;
}

.burger-menu__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.burger-menu__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 250px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 200;
}

.burger-menu__dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
}

.burger-menu__dropdown li a:hover,
.burger-menu__dropdown li a:focus {
  background: var(--accent-soft);
  color: var(--accent-on-soft);
  text-decoration: none;
}

.burger-menu__divider {
  display: block;
  margin: 6px 0;
  height: 1px;
  background: var(--border);
}

.burger-menu.is-open .burger-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Bei 3px Abstand liegt die Mitte 5px entfernt – daher translateY(±5px). */
.burger-menu.is-open .burger-menu__icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.burger-menu.is-open .burger-menu__icon span:nth-child(2) {
  opacity: 0;
}
.burger-menu.is-open .burger-menu__icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Sichtbar nur, solange die no-js-Markierung auf <html> steht - sie faellt
   in head-init-v4.html weg, sobald ein Skript laeuft. Deckt damit auch den
   Fall ab, dass ein Blocker die Skripte verhindert; <noscript> allein taete
   das nicht. */
.noscript-banner { display: none; }
.no-js .noscript-banner { display: block; }

.noscript-banner {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  text-align: center;
}

.noscript-banner .container {
  padding: 10px 24px;
}

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--bg);
  padding: 104px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 64px;
  right: 56px;
  width: 190px;
  height: 130px;
  color: var(--accent);
  background-image: radial-gradient(currentColor 2px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.25;
}

.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -200px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, rgba(0, 101, 221, 0.20), rgba(0, 101, 221, 0.05) 58%, transparent 72%);
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 1170px;
  text-align: left;
}

.hero__inner { max-width: 720px; }

.hero h1 {
  color: var(--heading);
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.hero__sub {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent-text);
  font-style: italic;
}

.hero__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}
.hero__trust li {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px 8px 34px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.hero__trust li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 5px;
  height: 9px;
  margin-top: -6px;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --- Vergleich (Warum Lorenz Services) --- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 8px;
}
.compare-grid .card p { color: var(--text-muted); margin: 0; }
.compare-grid .card h3 { margin-bottom: 14px; }
.compare-grid__highlight {
  border-color: rgba(0, 101, 221, 0.45);
  background: var(--accent-soft);
}

.warum-privat {
  margin-top: 26px;
}
.warum-privat p { color: var(--text-muted); margin: 0; }
.warum-privat h3 { margin-bottom: 14px; }

/* --- Seitenkopf für Unterseiten ---
   Beginnt oben in der Seitenfarbe und geht erst darunter in den Grauton über:
   sonst stünde die Kopfzeile mit einer sichtbaren Kante auf dem Farbwechsel. */
.page-head {
  background: var(--bg-alt);
  background: linear-gradient(to bottom, var(--bg) 0, var(--bg-alt) 88px);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.page-head h1 {
  color: var(--heading);
  font-size: 40px;
  letter-spacing: -0.5px;
  margin: 0;
}

/* --- Karten-Raster --- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.card { padding: 32px 28px; }

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

.card p + p,
.card p + .checklist,
.card .checklist + p,
.card .problem-list + p,
.compare-grid .card p + p,
.warum-privat .checklist + p {
  margin-top: 18px;
}

/* --- Ablauf (nummerierte Schritte als Zeitstrahl) ---
   Vier Karten nebeneinander ergaben bei ungleich langen Texten schmale,
   sehr hohe Spalten. Untereinander auf einem Zeitstrahl bekommt jeder
   Schritt die volle Breite: gleicher Text, ruhigere Höhe, klare Reihenfolge. */
.steps {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 10px;
  padding: 0 0 36px 44px;
}
.step:last-child { padding-bottom: 0; }

/* Linie vom Punkt zum nächsten Schritt */
.step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: -6px;
  width: 2px;
  background: var(--border);
}
.step:last-child::before { display: none; }

/* Punkt auf der Linie; der Ring blendet die Linie auf Abschnittsfarbe aus. */
.step::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-text);
  box-shadow: 0 0 0 4px var(--bg-alt);
}

.steps .step__no {
  margin: 0;
  /* Als Grid-Element wird das inline-block-Pill zum Block: sonst zöge es sich
     in der einspaltigen Ansicht über die volle Breite. */
  justify-self: start;
}

.step h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}

.step p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* Ausblick am Ende des Zeitstrahls: kein fünfter Schritt, sondern die
   Fortsetzung. Hohler Punkt, ruhigere Kennzeichnung, gestrichelte Zuleitung. */
.step--next { margin-top: 4px; }

.step--next::after {
  background: var(--bg-alt);
  border: 2px solid var(--accent-text);
}

.step:has(+ .step--next)::before {
  background: repeating-linear-gradient(
    to bottom,
    var(--border) 0 5px,
    transparent 5px 10px
  );
}

.step--next .step__no {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

/* --- Zwei-Spalten-Block (Über) --- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.split h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.split p { color: var(--text-muted); }

.checklist,
.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-size: 16px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 5px;
  height: 9px;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.problem-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-muted);
  font-size: 16px;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--border-strong);
}

.facts-box {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-card);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 24px;
}
.facts-box :focus-visible { outline-color: #fff; }

.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 6px;
}

.fact span {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.65);
}

/* --- Fernwartung --- */
/* Die vier Downloads stehen als 2x2-Block mittig unter dem Abschnittskopf.
   Feste Spaltenbreiten halten die Knoepfe trotz unterschiedlich langer
   Beschriftungen gleich gross. */
.software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Der Sammel-Link steht allein in seiner Zeile und behaelt seine
   natuerliche Breite. */
.software-grid--more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.btn--software {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Nachgestellter Hinweis auf einen externen Link: bewusst kleiner und
   zurückhaltender als das führende Symbol, damit er die Beschriftung
   begleitet statt mit ihr zu konkurrieren. */
.btn__icon--external {
  width: 15px;
  height: 15px;
  opacity: .75;
}

/* Knopf, der das Infofenster oeffnet. Sieht aus wie die Karte, die hier
   frueher aufgeklappt wurde, damit der Abschnitt ruhig bleibt. */
.info-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 980px;
  margin: 32px auto 0;
  padding: 20px 26px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--heading);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.info-trigger:hover,
.info-trigger:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.info-panel__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-text);
}

.info-trigger__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.info-trigger:hover .info-trigger__arrow { transform: translateX(3px); }

/* Das Fenster nimmt rund 80 % des Browserfensters ein. Die Obergrenze in
   Pixeln greift erst auf sehr breiten Monitoren - ohne sie liefen die
   Textzeilen dort auf eine Laenge, die sich schlecht liest. */
.info-modal {
  width: 80vw;
  max-width: 1200px;
  height: 80vh;
  max-height: 80vh;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  color: var(--text);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}
.info-modal[open] {
  display: flex;
  flex-direction: column;
}
.info-modal::backdrop { background: rgba(1, 20, 45, 0.55); }

/* Kopfzeile bleibt stehen, gescrollt wird nur der Inhalt darunter. */
.info-modal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}

/* Das Fenster laesst sich an der Kopfzeile im Tab verschieben. Der Zeiger
   zeigt das an, `touch-action: none` haelt den Browser davon ab, die Geste
   stattdessen als Scrollen zu deuten, und `user-select` verhindert, dass
   beim Ziehen die Ueberschrift markiert wird. Auf dem Telefon nimmt das
   Fenster ohnehin fast die ganze Flaeche ein - dort gibt es nichts zu
   verschieben, darum erst oberhalb der Telefonstufe (700px). */
@media (min-width: 701px) {
  .info-modal__head {
    cursor: grab;
    touch-action: none;
    user-select: none;
  }
  .info-modal--dragging .info-modal__head { cursor: grabbing; }
}

/* Sobald verschoben wurde, steht das Fenster auf eigenen Koordinaten statt
   in der vom Browser gesetzten Mitte (`inset: 0` + `margin: auto`). Die
   Werte fuer left/top setzt das Skript inline. `position` steht im
   UA-Stylesheet fuer Dialoge im Modalzustand ohnehin auf fixed - hier
   noch einmal ausdruecklich, damit die Koordinaten sich in jedem Browser
   auf das Fenster und nicht auf die Seite beziehen. */
.info-modal--moved {
  position: fixed;
  inset: auto;
  margin: 0;
}

.info-modal__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: var(--heading);
}

.info-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.info-modal__close:hover,
.info-modal__close:focus-visible {
  border-color: var(--accent);
  color: var(--accent-text);
}
.info-modal__close svg { width: 18px; height: 18px; }

/* Browser ohne <dialog>: derselbe Kasten, fest auf der Seite. */
.info-modal--static {
  display: block;
  position: static;
  width: auto;
  max-width: 980px;
  height: auto;
  max-height: none;
  margin: 32px auto 0;
  inset: auto;
}
.info-modal--static .info-modal__close { display: none; }

/* Solange das Fenster offen ist, soll der Hintergrund nicht mitscrollen. */
html.has-info-modal,
html.has-info-modal body { overflow: hidden; }

/* Zwei breite Spalten statt vier schmaler: im Dialog ist genug Platz, und
   die Absaetze sind zu lang fuer enge Spalten. */
.info-panel__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 44px;
  padding: 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Als Flex-Element im Dialog: ohne min-height duerfte der Bereich nicht
     unter seine Inhaltshoehe schrumpfen - er wuerde aus dem Fenster laufen
     und unten abgeschnitten, statt zu scrollen. */
  flex: 1;
  min-height: 0;
}

.info-panel__lead {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 15px;
}
.info-panel__lead strong { color: var(--text); }

.info-panel__col h3 {
  font-size: 16px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 12px;
}

.info-panel__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
}

.info-modal .checklist { gap: 10px; }
.info-modal .checklist li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 28px;
}
.info-modal .checklist li::before { width: 16px; height: 16px; top: 5px; }
.info-modal .checklist li::after { left: 5px; top: 9px; width: 4px; height: 8px; }

/* --- Handlungsaufforderung --- */
.cta {
  background: var(--accent);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.cta .hero__actions { justify-content: center; }
.cta :focus-visible { outline-color: #fff; }

/* --- Kontakt --- */
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.contact__item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: center;
}

.contact__item .card__icon { margin: 0 auto 18px; }
.contact__item h3 { font-size: 20px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.contact__item p { color: var(--text-muted); font-size: 16px; }
.contact__item a { font-weight: 600; }

/* --- FAQ --- */
.faq {
  max-width: 1080px;
  margin: 0 auto;
  column-count: 2;
  column-gap: 26px;
}

.faq details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
  margin-bottom: 14px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-weight: 700;
  color: var(--heading);
  font-size: 17px;
  line-height: 1.5;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 14px;
  font-size: 24px;
  line-height: 1;
  color: var(--accent-text);
}

.faq details[open] summary::after { content: "\2013"; }

.faq details[open] summary { border-bottom: 1px solid var(--border); }

.faq p { color: var(--text-muted); margin: 18px 0 20px; }

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(56px, 8vw, 96px) 0 0;
  font-size: 16px;
  line-height: 1.7;
}
.site-footer :focus-visible { outline-color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand__link {
  display: inline-block;
  margin-bottom: 22px;
}
.footer-brand__link:hover { text-decoration: none; }

.footer-brand__logo {
  height: 64px;
  width: 64px;
  display: block;
}

.footer-brand__claim {
  margin: 0;
  max-width: 38ch;
}

.footer-col__title {
  /* 0.48 statt 0.45: erst dort erreicht das 13px-Label die geforderten 4,5:1. */
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 16px;
}

/* min-width: 0, sonst drückt die lange E-Mail-Adresse die Spalte auf. */
.footer-col { min-width: 0; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-links__lead {
  font-size: 19px;
  font-weight: 600;
}

.footer-links a { overflow-wrap: anywhere; }

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
/* Über .site-footer geführt: .site-footer a ist spezifischer als eine
   einzelne Klasse und nähme die Farbe sonst zurück. */
.site-footer .footer-links__lead,
.site-footer .footer-bottom__copy { color: #fff; }

.footer-address {
  font-style: normal;
  margin-top: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.footer-bottom__copy { margin: 0; }

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Fließtextseiten (Impressum, Datenschutz) --- */
.prose { max-width: 780px; }
.prose h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-top: 44px;
  text-transform: none;
  letter-spacing: 0;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 1.5; margin-top: 28px; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin-bottom: 1.2em; }

.note a { color: var(--accent-on-soft); }

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-top: 10px;
  margin-bottom: 36px;
  font-size: 16px;
  color: var(--text);
}

/* --- Dokumente (dokumente.html) --- */
.doc-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.doc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 24px 26px;
}

.doc-item .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.doc-item h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.doc-item__meta {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.doc-item .btn {
  padding: 11px 24px;
  font-size: 15px;
  white-space: nowrap;
}

/* --- Responsiv --- */
@media (max-width: 1180px) {
  .hero::before { display: none; }
}

/* Unter dieser Breite bleibt vom 80-%-Fenster zu wenig fuer zwei Spalten. */
@media (max-width: 900px) {
  .info-panel__body { grid-template-columns: 1fr; }
}

/* Auf dem Telefon darf das Fenster fast die ganze Flaeche einnehmen. */
@media (max-width: 700px) {
  .info-modal {
    width: 94vw;
    height: 88vh;
    max-height: 88vh;
  }
  .info-modal__head { padding: 16px 20px; }
  .info-modal__title { font-size: 19px; }
  .info-panel__body { padding: 20px; gap: 26px; }
  .info-trigger { padding: 18px 20px; }
}

@media (max-width: 960px) {
  .grid--3, .contact { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .compare-grid { grid-template-columns: 1fr; }
  .faq { column-count: 1; max-width: 820px; }
  .hero { padding: 88px 0 80px; }
  .hero::after { width: 420px; height: 420px; top: -140px; right: -180px; }
  h1 { font-size: 38px; }
  h2, .section-head h2, .split h2, .cta h2 { font-size: 30px; }
  .page-head h1 { font-size: 38px; }
}

@media (max-width: 760px) {
  .site-header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
    min-height: 0;
  }
  .brand { padding: 0; }
  .brand__logo { height: 34px; }
  .header-controls { gap: 10px; }

  .header-actions { display: none; }

  .nav { display: none; }

  .hero { padding: 64px 0 60px; }
  .section { padding: 68px 0; }
  .cta { padding: 64px 0; }
  .page-head { padding: 56px 0; }
  h1, .page-head h1 { font-size: 34px; }
  h2, .section-head h2, .split h2, .cta h2 { font-size: 28px; }
  .section-head { margin-bottom: 40px; }

  .doc-item {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }
  .doc-item .btn {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .grid--3, .contact,
  .facts-box, .footer-grid { grid-template-columns: 1fr; }
  .software-grid { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .software-grid .btn { width: 100%; text-align: center; }
  .btn--software { justify-content: center; }
  .hero__trust { gap: 10px; }
  .facts-box { padding: 30px 26px; }
  .footer-bottom { justify-content: flex-start; gap: 6px 24px; }
}

@media (max-width: 560px) {
  .step {
    grid-template-columns: 1fr;
    row-gap: 8px;
    padding: 0 0 30px 32px;
  }
  .step::before { left: 5px; }
  .step::after  { left: 0; width: 12px; height: 12px; box-shadow: 0 0 0 3px var(--bg-alt); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
