/* NK IT Service – Design 2026 „Nachtschicht Blau“ (Entwurf B2)
   Lädt nur auf Vorlagen mit nkit_neues_design() (functions.php).
   Tokens und Bausteine aus dem Entwurf, ergänzt um WordPress, WPForms
   und die Vertiefungen SEO, KI und BFSG. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Ersatzschrift für Unbounded mit Maßangleichung (4.2.0, T3): Unbounded läuft sehr breit. Ohne Angleichung
   brechen Überschriften vor und nach dem Laden der Webschrift verschieden um, der Schriftwechsel verschiebt
   dann die Seite. Verdana ist die breiteste verbreitete Systemschrift (Windows, macOS, iOS) und braucht nur
   rund 10 % Vergrößerung; Segoe UI bräuchte 33 % und würde dabei so hoch, dass sich bei dauerhaft fehlender
   Webschrift Ober- und Unterlängen der H1-Zeilen berühren (Barrierefreiheitsprüfung S10). Werte aus den
   Schriftmetriken (fontTools, S10): Breite des Unbounded-Texts geteilt durch die Breite der Ersatzschrift;
   ascent/descent = Unbounded 0,995/0,245 geteilt durch size-adjust. Atkinson Hyperlegible Next ist so breit
   wie Segoe UI und braucht keinen Ersatz. */
@font-face {
  font-family: "Unbounded Ersatz";
  src: local("Verdana"), local("Verdana Regular");
  font-weight: 200 400;
  size-adjust: 114%;
  ascent-override: 87.3%;
  descent-override: 21.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Unbounded Ersatz";
  src: local("Verdana Bold"), local("Verdana-Bold");
  font-weight: 401 900;
  size-adjust: 110%;
  ascent-override: 90.5%;
  descent-override: 22.3%;
  line-gap-override: 0%;
}

:root {
  --nacht: oklch(22% 0.06 258);
  --nacht-tief: oklch(19% 0.055 258);
  --nacht-hoch: oklch(26.5% 0.065 258);
  --linie: oklch(37% 0.06 256);
  --linie-stark: oklch(62% 0.07 252);
  --weiss: oklch(97.5% 0.008 250);
  --flaeche: oklch(99% 0.004 250);
  --eisblau: oklch(78% 0.05 250);
  --eis: oklch(90% 0.04 245);
  --logoblau: oklch(43% 0.132 255);
  --punkt: oklch(62% 0.12 255);
  --fehler: oklch(74% 0.14 22);
  /* Feste Ausgangswerte: der helle Grund (body) dreht die Tokens oben um, diese bleiben gleich;
     dunkle Flächen (.dunkel) holen sich damit die Werte von oben zurück */
  --fest-nacht: var(--nacht);
  --fest-nacht-tief: var(--nacht-tief);
  --fest-nacht-hoch: var(--nacht-hoch);
  --fest-linie: var(--linie);
  --fest-linie-stark: var(--linie-stark);
  --fest-weiss: var(--weiss);
  --fest-flaeche: var(--flaeche);
  --fest-eisblau: var(--eisblau);
  --fest-logoblau: var(--logoblau);
  --fest-eis: var(--eis);
  --fest-fehler: var(--fehler);
  /* Helle Blaustufen und Fehlerfarbe für den hellen Grund */
  --fest-hell-tief: oklch(96.5% 0.012 250);
  --fest-hell-hoch: oklch(94.5% 0.018 250);
  --fest-fehler-hell: oklch(50% 0.19 25);
  --fokus: var(--weiss);

  --schrift-display: "Unbounded", "Unbounded Ersatz", system-ui, sans-serif;
  --schrift-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --breite: 78rem;
  --kopf-hoehe: 4.5rem;
  --radius: 1rem;
  --abstand-abschnitt: clamp(4.5rem, 9vw, 8.5rem);
  --naht: clamp(2.5rem, 5.5vw, 5.5rem);

  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-heran: cubic-bezier(0.33, 1, 0.68, 1); /* ease-out cubic: Heranführen verteilt sich sichtbar über den Scrollweg */

  --z-wand: 1;
  --z-aufkleber: 2;
  --z-schalter: 3;
  --z-hinweis: 9; /* Cookie-Hinweis: über dem Inhalt, unter Kopf und offenem Menü */
  --z-kopf: 10;
  --z-menue: 11;
  --z-sprung: 20;

  color-scheme: light;
  scrollbar-color: color-mix(in oklch, var(--logoblau) 60%, transparent) var(--fest-hell-tief);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--nacht);
  color: var(--weiss);
  font-family: var(--schrift-text);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  caret-color: var(--weiss);
  overflow-x: clip;
}

::selection { background: var(--eis); color: var(--nacht); }

/* Ohne Spezifität und ohne Wirkung auf die Admin-Leiste */
:where(img, svg):where(:not(#wpadminbar *)) { display: block; max-width: 100%; }
:where(img):where(:not(#wpadminbar *)) { height: auto; }

h1, h2, h3 {
  font-family: var(--schrift-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}
h2 { font-size: clamp(1.625rem, 1.05rem + 2.3vw, 2.875rem); color: var(--ueberschrift); }
/* Silbentrennung nur auf sehr schmalen Flächen (400-%-Zoom); sonst trennt text-wrap: balance
   Wörter wie „Zusammenarbeit“, obwohl sie in die nächste Zeile passen (Finish-Review S6) */
@media (min-width: 23rem) {
  h1, h2, h3 { hyphens: manual; }
}
h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }
/* Lange Wörter („Barrierefreiheitsstärkungsgesetz“) brechen bei 320 px mit erhöhten Textabständen um,
   statt über den Rand zu laufen (WCAG 1.4.10/1.4.12, A11y-Prüfung S6) */
#main p { overflow-wrap: break-word; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, currentColor 55%, transparent);
  transition: text-decoration-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Ziel des Sprunglinks: Fokus ohne Rahmen um den ganzen Inhalt */
#main:focus { outline: none; }
/* Aufkleber dürfen über ihre Fläche ragen, aber nie über den Fensterrand (auch nicht mitten im Ankleben) */
#main { overflow-x: clip; }

.zahl { font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--voll { fill: currentColor; stroke-width: 1.2; }

.rahmen {
  width: min(100%, var(--breite));
  margin-inline: auto;
}

/* Sprunglink */
.sprung {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: var(--z-sprung);
  padding: 0.75rem 1.25rem;
  background: var(--weiss);
  color: var(--nacht);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-200%);
}
.sprung:focus { transform: none; outline-color: var(--eis); }

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.knopf--hell { background: var(--weiss); color: var(--nacht); }
.knopf--hell:hover { background: var(--eis); }
.knopf--nacht { background: var(--nacht); color: var(--weiss); }
.knopf--nacht:hover { background: var(--logoblau); }
.knopf:active { transform: translateY(1px); }
.knopf--klein { min-height: 2.75rem; padding: 0.5rem 1.15rem; font-size: 1rem; }
.knopf--breit { width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration-color: var(--eisblau);
  text-decoration-thickness: 2px;
}
.textlink .icon { transition: transform 260ms var(--ease-out); }
.textlink:hover .icon { transform: translateX(3px); }

/* Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: var(--z-kopf);
  background: var(--nacht);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--kopf-hoehe);
  width: min(100% - 2 * var(--gutter), 90rem);
  margin-inline: auto;
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--weiss);
}
.marke__zeichen {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  background: var(--marke, var(--weiss));
  -webkit-mask: url("../images/logo-maske.png") center / contain no-repeat;
  mask: url("../images/logo-maske.png") center / contain no-repeat;
}
.marke__name {
  font-family: var(--schrift-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.navi { display: flex; align-items: center; }
.navi__knopf { display: none; }
.navi__liste { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.5rem); }
.navi__liste ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.navi__liste ul a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.65rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration-color: transparent;
}
.navi__liste ul a:hover { text-decoration-color: var(--eisblau); }

@media (max-width: 61.99rem) {
  .js .navi__knopf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--linie-stark);
    border-radius: 999px;
    background: transparent;
    color: var(--weiss);
    font: 600 1rem/1 var(--schrift-text);
    cursor: pointer;
  }
  .js .navi__knopf .icon--zu { display: none; }
  .js .navi__knopf[aria-expanded="true"] .icon--zu { display: block; }
  .js .navi__knopf[aria-expanded="true"] .icon--auf { display: none; }
  .js .navi__knopf[aria-expanded="true"] { background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }

  .js .navi__liste {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--z-menue);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 0.75rem var(--gutter) 1.75rem;
    background: var(--nacht-hoch);
    border-bottom: 1px solid var(--linie);
    max-height: calc(100dvh - var(--kopf-hoehe));
    overflow-y: auto;
  }
  .js .admin-bar .navi__liste { max-height: calc(100dvh - var(--kopf-hoehe) - var(--wp-admin--admin-bar--height, 0px)); }
  .js .navi__knopf[aria-expanded="true"] + .navi__liste { display: flex; }
  .js .navi__liste ul { flex-direction: column; }
  .js .navi__liste ul li + li { border-top: 1px solid var(--linie); }
  .js .navi__liste ul a {
    display: flex;
    min-height: 3.25rem;
    padding: 0;
    font-weight: 700;
    font-size: 1.1875rem;
  }
  .js .navi__liste .knopf { align-self: flex-start; min-height: 3.25rem; padding-inline: 1.5rem; }

  @media (prefers-reduced-motion: no-preference) {
    .js .navi__knopf[aria-expanded="true"] + .navi__liste { animation: menue-auf 260ms var(--ease-out-expo); }
  }
}
@keyframes menue-auf {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 22.5rem) {
  .marke__name { display: none; }
}

/* Bühne */
.buehne {
  display: grid;
  /* Text nimmt die freie Breite, die Wand ist so breit wie ihre zwei Kachelspalten (4.1.2) */
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: clamp(38rem, calc(100svh - var(--kopf-hoehe)), 60rem);
}
.buehne__text {
  container-type: inline-size;
  align-self: center;
  /* Textbreite höchstens 32rem (4.1.2): breiter brechen Zweitzeile und Kontaktwege mit Ersatz- und
     Webschrift verschieden um, der Schriftwechsel verschiebt dann die Bühne (CLS 0,15 bei 1440 px) */
  width: min(100%, max(var(--gutter), (100vw - var(--breite)) / 2) + 32rem + var(--naht));
  padding-block: clamp(2.5rem, 6vh, 4.5rem);
  padding-inline-start: max(var(--gutter), (100vw - var(--breite)) / 2);
  padding-inline-end: var(--naht);
}
.buehne__titel {
  font-size: min(11.5cqi, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  hyphens: manual;
}
/* 4.3.0 (S12): Ortsnamen mit breiten Buchstaben („Muggensturm“) passen bei 11.5cqi nicht in den
   32rem-Rahmen und würden mitten im Wort umbrechen; Feld h1_schmal im Datenbaustein, 4 % kleiner. */
.buehne__titel--schmal { font-size: min(11cqi, 4.55rem); }
/* 4.3.0 (S12): Zwischen 56 und 68rem stehen diese H2 der Stadtseiten in schmalen Spalten; lange Ortsnamen
   („Muggensturm“, „Rheinstetten“) und Wörter wie „Zusammenarbeit“ brachen dort ohne Bindestrich mitten im
   Wort um (overflow-wrap). Nur in diesem Band Silbentrennung, sonst bleibt hyphens: manual (Finish-Review S6). */
@media (min-width: 56.01rem) and (max-width: 68rem) {
  :is(#st-ort-titel, #st-zusammenarbeit-titel, #st-faq-titel, #st-kontakt-titel) { hyphens: auto; hyphenate-limit-chars: 10 4 4; }
}
.am-stueck { white-space: nowrap; }
/* Klebestreifen unter dem Ort (V7): Hintergrund eines einzigen Inline-Spans, damit der Text für
   Screenreader ein Textknoten bleibt; bei mehrzeiligen Ortsnamen bekommt jede Zeile ihren Streifen.
   Ohne Bewegung ist er sofort vollständig da. */
.strich {
  background: linear-gradient(var(--strich-farbe, var(--logoblau)), var(--strich-farbe, var(--logoblau))) no-repeat 0 92% / 100% 0.17em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Auf der weißen Abo-Fläche ist die Schrift selbst Logoblau: der Streifen wird heller, damit er
   nicht wie ein unterstrichener Link wirkt (A11y-Prüfung S8) */
.abo .strich { background-image: linear-gradient(var(--eisblau), var(--eisblau)); }
.buehne__zweit {
  display: block;
  margin-top: 0.7em;
  max-width: 26em;
  font-size: clamp(1.0625rem, 4.4cqi, 1.75rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--eisblau);
  text-wrap: balance;
}
.buehne__satz {
  margin-top: clamp(1.25rem, 3vh, 1.75rem);
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.pruefen { margin-top: clamp(1.5rem, 3.5vh, 2.25rem); max-width: 34rem; }
.pruefen__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.pruefen__zeile { display: flex; gap: 0.5rem; }
.pruefen__zeile .eingabe { flex: 1 1 12rem; min-width: 0; }
.pruefen__zeile .knopf { flex: none; }
.pruefen__hinweis { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--eisblau); }
/* Ohne JavaScript kein Prüffeld (es würde nur ?website= erzeugen), sondern der Weg zum Formular */
.pruefen-ohne-js { margin-top: clamp(1.5rem, 3.5vh, 2.25rem); }
html:not(.js) .pruefen,
.js .pruefen-ohne-js { display: none; }

.buehne__wege {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  margin-top: 1.25rem;
}

/* Eingaben */
.eingabe {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--linie-stark);
  border-radius: 0.875rem;
  background: var(--nacht-tief);
  color: var(--weiss);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.eingabe::placeholder { color: var(--eisblau); opacity: 1; }
.eingabe:hover { border-color: var(--eisblau); }
.eingabe:focus-visible { outline-offset: 2px; border-color: var(--weiss); border-radius: 0.875rem; }
.eingabe[aria-invalid="true"] { border-color: var(--fehler); }

.feld__fehler {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fehler);
}
.feld__fehler:empty { display: none; }
.feld__fehler:not(:empty) { margin-top: 0.4rem; }
.pruefen .feld__fehler:empty { display: block; margin: 0; }
.pruefen .feld__fehler:not(:empty) { margin-top: 0.5rem; }

/* Wand */
/* Wand (4.1.2, Betreiber 29.10.2026, WR1–WR10): Die Fenster haben eine feste Breite je Gerätestufe
   (--kachel) statt mit dem Fenster zu wachsen; die Wand ist genau zwei Kachelspalten breit und endet
   rechts an der Inhaltskante – spiegelbildlich zum Text links (gleiche Formel wie .buehne__text). */
.wand {
  --kachel: 16rem;
  --wand-abstand: 1rem;
  position: relative;
  isolation: isolate;
  width: calc(2 * var(--kachel) + 3 * var(--wand-abstand));
  min-height: 24rem;
  margin-inline-end: max(var(--gutter), (100vw - var(--breite)) / 2);
}
.wand__flaeche {
  position: absolute;
  inset: 0;
  z-index: var(--z-wand);
  display: grid;
  /* Zwei Spalten mit getrennten Websites: keine Website ist zweimal zugleich zu sehen */
  grid-template-columns: repeat(2, var(--kachel));
  gap: var(--wand-abstand);
  padding-inline: var(--wand-abstand);
  overflow: clip;
  background: var(--nacht-tief);
  border-radius: 1.75rem;
}
.wand__spalte { min-width: 0; }
.wand__spalte:nth-child(2) { margin-top: -6rem; }
.wand__spur {
  animation: wand-hoch var(--dauer, 70s) linear infinite;
  will-change: transform;
}
/* Laufzeit wächst mit der Kachelzahl (8 bzw. 7 Websites), damit das Tempo gleich bleibt. */
.wand__spalte:nth-child(1) .wand__spur { --dauer: 85s; }
.wand__spalte:nth-child(2) .wand__spur { --dauer: 106s; animation-name: wand-runter; }
.wand__satz { display: block; }
.wand__kachel {
  margin: 0 0 var(--wand-abstand);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--nacht-hoch);
}
.wand__leiste {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: var(--nacht-hoch);
  border-bottom: 1px solid var(--linie);
  color: var(--eisblau);
  font-size: 0.6875rem;
  line-height: 1;
}
.wand__leiste span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wand__punkte {
  width: 1.5rem;
  height: 0.4rem;
  flex: none;
  --punkt-1: var(--punkt);
  --punkt-2: var(--eisblau);
  --punkt-3: var(--weiss);
}
.wand__kachel img { width: 100%; }

@keyframes wand-hoch {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@keyframes wand-runter {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@media (min-width: 56.01rem) {
  /* Höchstens rund vier Kachelhöhen: höher als ein Spaltenumlauf wäre dieselbe Website
     oben und unten zugleich zu sehen (hohe, schmale Bildschirme, z. B. Tablet hochkant) */
  /* Seit 4.1.2 rundum gerahmt: oben und unten ein fester Abstand zu Kopf und Belegleiste */
  .wand { align-self: center; height: min(100% - 2 * clamp(1.25rem, 3vh, 2.5rem), 65vw + 5rem); }
}
/* Kleine Laptops: kleinere feste Fenster, damit die H1 nicht kleiner wird als vor 4.1.2 (WR4) */
@media (min-width: 56.01rem) and (max-width: 72rem) {
  .wand { --kachel: 13rem; }
}
/* Anhalten nur über den Schalter (WCAG 2.2.2), nicht beim Überfahren mit der Maus (Betreiber 25.10.2026) */
.wand[data-angehalten] .wand__spur,
.wand[data-unsichtbar] .wand__spur { animation-play-state: paused; }

.wand__schalter {
  position: absolute;
  right: clamp(0.75rem, 1.5vw, 1.25rem);
  bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  z-index: var(--z-schalter);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: var(--nacht);
  color: var(--weiss);
  font: 700 0.9375rem/1 var(--schrift-text);
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.wand__schalter:hover { background: var(--nacht-hoch); }
.wand__schalter:focus-visible {
  outline: 3px solid var(--weiss);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--nacht), 0 0 0 7px var(--nacht);
}
.wand__schalter .icon { width: 1.125rem; height: 1.125rem; stroke-width: 2.2; }
.wand__schalter .icon--weiter { display: none; }
.wand[data-angehalten] .wand__schalter { background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }
.wand[data-angehalten] .wand__schalter .icon--pause { display: none; }
.wand[data-angehalten] .wand__schalter .icon--weiter { display: block; }

/* Aufkleber */
.aufkleber {
  position: absolute;
  z-index: var(--z-aufkleber);
  pointer-events: none;
  color: var(--nacht);
  container-type: inline-size;
}
.aufkleber img { width: 100%; }
.aufkleber__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  font-family: var(--schrift-display);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.aufkleber--stern {
  width: clamp(10rem, 15vw, 14rem);
  left: calc(0.5rem - var(--naht));
  top: 4%;
  transform: rotate(-9deg);
}
.aufkleber--stern .aufkleber__text { padding-top: 1%; }
.aufkleber__klein {
  font-family: var(--schrift-text);
  font-size: max(0.8125rem, 11cqi);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}
.aufkleber--stern .aufkleber__wert {
  font-size: 18cqi;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.aufkleber--blase {
  color: var(--weiss);
  width: clamp(12rem, 18vw, 16.5rem);
  left: calc(0.5rem - var(--naht));
  bottom: 5%;
  transform: rotate(-4deg);
}
.aufkleber--blase .aufkleber__text,
.aufkleber--eis .aufkleber__text {
  bottom: 27%;
  font-weight: 700;
}
.aufkleber--blase .aufkleber__text { font-size: max(0.8125rem, 10.5cqi); }
.aufkleber--eis .aufkleber__text { font-size: max(0.8125rem, 8.4cqi); line-height: 1.15; }
.aufkleber--blitz {
  width: clamp(6.5rem, 9vw, 9rem);
  right: 7%;
  top: 34%;
  transform: rotate(12deg);
}
.aufkleber--zeiger {
  width: clamp(4.5rem, 7vw, 6.5rem);
  right: -1.25rem;
  top: 36%;
  transform: rotate(-10deg);
}
.aufkleber--brief {
  width: clamp(5rem, 9vw, 8rem);
  right: -1.5rem;
  top: -3rem;
  transform: rotate(9deg);
}

/* Belege */
.belege {
  padding: 2rem 1rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  padding-inline: var(--gutter);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  background: var(--nacht);
}
.belege__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.belege__satz { flex: 1 1 16rem; max-width: 22rem; color: var(--eisblau); font-size: 0.9375rem; line-height: 1.5; }
.belege__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem clamp(1.75rem, 3.5vw, 3.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo { width: auto; filter: brightness(0); opacity: 0.88; }
.dunkel .logo { filter: brightness(0) invert(0.94); opacity: 1; }
.logo--conswk { height: 2.6rem; }
.logo--erfolgsakademie-baden { height: 2.85rem; }
.logo--goodridge { height: 1.2rem; }
.logo--led-holding { height: 2.75rem; }
.belege__bewertung {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 17rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.belege__bewertung .icon { width: 1.5rem; height: 1.5rem; color: var(--eis); }

/* Abschnitte */
.abschnitt {
  padding: 4.5rem 1rem;
  padding-block: var(--abstand-abschnitt);
  padding-inline: var(--gutter);
}
.abschnitt__kopf { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.abschnitt__kopf p { margin-top: 1.25rem; max-width: 66ch; color: var(--eisblau); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); }

/* Leistungen */
.zeilen { margin: 0; padding: 0; list-style: none; }
.zeile {
  display: grid;
  grid-template-columns: clamp(6rem, 14vw, 11rem) minmax(0, 1fr) clamp(6rem, 14vw, 11rem);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2rem 0;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--linie);
}
.zeile:last-child { border-bottom: 1px solid var(--linie); }
.zeile__objekt { grid-column: 1; grid-row: 1; width: 100%; transform: rotate(-6deg); }
.zeile:nth-child(even) .zeile__objekt { grid-column: 3; transform: rotate(7deg); }
.zeile__text { grid-column: 2; grid-row: 1; max-width: 40rem; }
.zeile__text p { margin-top: 0.75rem; max-width: 66ch; }
.zeile__text .textlink { margin-top: 0.75rem; }
.zeile__wege { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-top: 0.75rem; }
.zeile__wege .textlink { margin-top: 0; }
.zeile--kern { padding: 2.5rem 0; padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.zeile--kern h3 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); color: var(--eis); }
.zeile--kern .zeile__objekt { transform: rotate(-8deg) scale(1.12); }
.kern__punkte { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.kern__punkte li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--linie);
}
.kern__punkte li:last-child { border-bottom: 1px solid var(--linie); }
.kern__punkte strong { font-family: var(--schrift-display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.kern__punkte span { color: var(--eisblau); font-size: 0.9375rem; line-height: 1.5; }

.ausserdem {
  display: grid;
  grid-template-columns: clamp(6rem, 14vw, 11rem) minmax(0, 1fr);
  gap: 1.25rem clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ausserdem h3 { font-size: 1.0625rem; padding-top: 0.55rem; }
.ausserdem__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ausserdem__liste li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  font-size: 0.9375rem;
  line-height: 1.35;
}

/* Werkschau */
.werkschau { background: var(--nacht-tief); }
.projekte {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3.5vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.projekt { min-width: 0; }
.projekt:nth-child(4n + 1) { grid-column: 1 / span 7; }
.projekt:nth-child(4n + 2) { grid-column: 8 / span 5; margin-top: clamp(4rem, 9vw, 8rem); }
.projekt:nth-child(4n + 3) { grid-column: 1 / span 5; margin-top: clamp(2rem, 5vw, 4rem); }
.projekt:nth-child(4n + 4) { grid-column: 6 / span 7; }
.projekt__bild {
  position: relative;
  margin: 0 0 1.25rem;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--nacht-hoch);
  /* 1px-Kante: weiße Kundenseiten lösen sich sonst im hellen Grund auf (Finish-Review S9) */
  outline: 1px solid var(--linie);
}
.projekt__bild > img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; object-position: top center; }
/* Fenster für die Langaufnahme (V2, setzt nkit-2026.js nur bei Bedarf ein); unsichtbar, bis sie läuft */
.projekt__fenster {
  position: absolute;
  inset: 0;
  overflow: hidden; /* ältere Browser ohne clip */
  overflow: clip;
  border-radius: var(--radius);
  container-type: size;
  opacity: 0;
  pointer-events: none;
}
.projekt__lang { display: block; width: 100%; height: auto; max-width: none; }
.projekt h3 { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); }
.projekt__meta { margin-top: 0.35rem; color: var(--eisblau); font-size: 0.9375rem; }
.projekt__meta + p { margin-top: 0.75rem; max-width: 60ch; }
.projekt__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.projekt__wege { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 0.5rem; }
.projekt__vermerk { color: var(--eisblau); font-size: 0.9375rem; }
.projekt__links + .projekt__wege { margin-top: 0; }

/* Grund hell (4.1.1, Betreiber 29.10.2026, F39 Variante A „Nachtbühne“): Weiß ist der Grund der ganzen
   Seite. Die Bausteine sind für Nachtblau gebaut, deshalb drehen sich am body nur die Tokens um – Grund
   Weiß, Schrift Nacht, Zweitstimme und Überschriften Logoblau, Linien Logoblau 28 %, Nachtstufen werden
   helle Blaustufen. Text, Links, Linien, Chips, Eingaben und Knöpfe passen sich damit von selbst an.
   Dunkle Flächen (Bühne, Fuß) tragen die Klasse .dunkel und holen die Ausgangswerte aus :root zurück. */
body {
  --nacht: var(--fest-flaeche);
  --nacht-tief: var(--fest-hell-tief);
  --nacht-hoch: var(--fest-hell-hoch);
  --weiss: var(--fest-nacht);
  --eisblau: var(--fest-logoblau);
  --eis: var(--fest-logoblau);
  --linie: color-mix(in oklch, var(--fest-logoblau) 28%, transparent);
  --linie-stark: color-mix(in oklch, var(--fest-logoblau) 70%, transparent); /* Feldränder ≥ 3:1 auch auf hell-hoch (A11y S9) */
  --fehler: var(--fest-fehler-hell);
  --fokus: var(--fest-logoblau);
  --ueberschrift: var(--fest-logoblau);
  /* Streifen unter Schlüsselwörtern hell wie im Abo, damit er unter logoblauer Schrift nicht wie ein Link wirkt */
  --strich-farbe: var(--fest-eisblau);
  --marke: var(--fest-logoblau);
}
.dunkel {
  --nacht: var(--fest-nacht);
  --nacht-tief: var(--fest-nacht-tief);
  --nacht-hoch: var(--fest-nacht-hoch);
  --weiss: var(--fest-weiss);
  --eisblau: var(--fest-eisblau);
  --eis: var(--fest-eis);
  --linie: var(--fest-linie);
  --linie-stark: var(--fest-linie-stark);
  --fehler: var(--fest-fehler);
  --fokus: var(--fest-weiss);
  --ueberschrift: var(--fest-weiss);
  --strich-farbe: var(--fest-logoblau);
  --marke: var(--fest-weiss);
  color-scheme: dark;
  background: var(--nacht);
  color: var(--weiss);
}
/* Aufkleber behalten ihre eigenen Farben (Schrift auf Sprechblase, Stern, Brief) */
.aufkleber { --nacht: var(--fest-nacht); --weiss: var(--fest-weiss); --eis: var(--fest-eis); }
/* Zwei weiße Abschnitte nacheinander: eine Linie trennt sie */
.person + .region,
.abo + .region { border-top: 1px solid var(--linie); }

/* Abo: eigene Tinte auf Weiß (Schrift Nacht, Knopf Nacht, Überschrift und Häkchen Logoblau) */
.abo {
  --nacht: var(--fest-nacht);
  --weiss: var(--fest-weiss);
  --eisblau: var(--fest-eisblau);
  --eis: var(--fest-eis);
  background: var(--flaeche);
  color: var(--nacht);
}
.abo ::selection { background: var(--logoblau); color: var(--flaeche); }
.abo :focus-visible { outline-color: var(--logoblau); }
.abo h2 { color: var(--logoblau); }
.abo__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 6vw, 6rem);
}
.abo__kopf h2 { font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3.125rem); }
.abo__kopf p { margin-top: 1.25rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); }
.abo__kopf .knopf { margin-top: 2rem; }
.abo__inhalt h3,
.ablauf h3 { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); }
.haken { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.haken li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in oklch, var(--logoblau) 28%, transparent);
  font-weight: 600;
}
.haken li:last-child { border-bottom: 1px solid color-mix(in oklch, var(--logoblau) 28%, transparent); }
.haken .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.05rem; stroke-width: 2.4; color: var(--logoblau); }

.ablauf { grid-column: 1 / -1; padding-top: clamp(1rem, 3vw, 2rem); }
.schritte {
  counter-reset: schritt;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem clamp(1rem, 2vw, 2rem);
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.schritte li {
  counter-increment: schritt;
  position: relative;
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding-top: 3.75rem;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--logoblau);
  border-radius: 50%;
  background: var(--flaeche);
  color: var(--logoblau);
  font-family: var(--schrift-display);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.schritte li::after {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 3.25rem;
  right: -0.25rem;
  height: 2px;
  background: var(--logoblau);
}
.schritte li:last-child::after { display: none; }
.schritte strong { font-family: var(--schrift-display); font-weight: 650; font-size: 1rem; line-height: 1.25; }
.schritte span { color: var(--logoblau); font-size: 0.9375rem; line-height: 1.5; }
.ablauf__dauer { margin-top: 2rem; font-weight: 700; }

/* Vertiefungen SEO, KI, BFSG */
.seo { background: var(--nacht-tief); }
.vertiefung__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.vertiefung__kopf p { margin-top: 1.25rem; max-width: 34rem; }
.vertiefung__kopf p + p { margin-top: 1rem; }
.vertiefung__kopf .knopf { margin-top: 2rem; }

.ki__bereiche {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ki__bereiche li { padding: clamp(1.25rem, 2.5vw, 2rem) 0; border-top: 1px solid var(--linie); }
.ki__bereiche li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--linie); }
.ki__bereiche p { margin-top: 0.6rem; max-width: 60ch; }
.ki__praxis {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.ki__praxis p { margin-top: 1rem; max-width: 34rem; color: var(--eisblau); }
.ki__praxis .knopf { margin-top: 1.75rem; }
.kette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kette li { display: inline-flex; align-items: center; gap: 0.5rem; }
.kette__schritt {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.kette li:last-child .kette__schritt { background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }
.kette .icon { color: var(--eisblau); }

.bfsg { background: var(--nacht-tief); padding-block: clamp(3.5rem, 7vw, 6rem); }
/* Knopf unter dem Text wie in den anderen Vertiefungen (Finish-Review S6) */
.bfsg__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
.bfsg__raster .knopf { justify-self: start; }
.bfsg h2 { font-size: clamp(1.5rem, 1.05rem + 1.8vw, 2.375rem); max-width: 22em; }
.bfsg p { margin-top: 1.25rem; max-width: 66ch; }

/* Über mich */
.person__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.person__bild { position: relative; margin: 0; }
.person__bild > img { width: 100%; border-radius: 1.5rem; background: var(--nacht-hoch); }
.aufkleber--eis {
  width: clamp(10rem, 15vw, 12.5rem);
  right: clamp(-1rem, -2vw, -2.5rem);
  bottom: 8%;
  transform: rotate(5deg);
}
.person__text h2 { font-size: clamp(1.75rem, 1.05rem + 2.4vw, 3rem); }
.person__text > p { margin-top: 1.25rem; max-width: 60ch; }
.person__text > p:first-of-type { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); }
.person__wege {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  margin: 1.5rem 0 2rem;
}

/* FAQ und Akkordeons */
.fragen { background: var(--nacht-tief); }
.fragen__raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.fragen__kopf { position: sticky; top: calc(var(--kopf-hoehe) + 2rem); }
/* Solange der Cookie-Hinweis offen ist, nicht anheften: er verdeckte sonst bei niedrigen Fenstern
   fokussierte Links im Kopf (A11y-Prüfung S8, WCAG 2.4.11) */
html.nkit-cc-open .fragen__kopf { position: static; }
.fragen__kopf p { margin-top: 1.25rem; color: var(--eisblau); max-width: 30rem; }
.frage { padding: 0.5rem 0; border-top: 1px solid var(--linie); }
.frage:last-child { border-bottom: 1px solid var(--linie); }
.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding: 0.75rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--schrift-display);
  font-weight: 500;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  border-radius: 0.25rem;
}
.frage summary::-webkit-details-marker { display: none; }
/* Lange Wörter („Unternehmensverzeichnis?“) dürfen die Zeile nicht sprengen, das Plus bleibt im Bild
   (WCAG 1.4.10/1.4.12 bei 320 px, Barrierefreiheitsprüfung S10); Silbentrennung wie bei Überschriften erst unter 23rem */
.frage summary > span { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 23rem) {
  .frage summary { gap: 0.75rem; }
  .frage summary > span { hyphens: auto; }
}
.frage summary .icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border: 1px solid var(--linie-stark);
  border-radius: 50%;
  transition: transform 320ms var(--ease-out-expo), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.frage summary:hover .icon { border-color: var(--weiss); }
.frage[open] summary .icon { transform: rotate(45deg); background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }
.frage__antwort { padding: 0 3.5rem 1.25rem 0; }
.frage__antwort p { max-width: 64ch; }

/* Kontakt */
.kontakt__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.kontakt__info h2 { font-size: clamp(1.75rem, 1.05rem + 2.4vw, 3rem); }
.kontakt__info > p { margin-top: 1.25rem; max-width: 34rem; }
.wege { margin: 2rem 0 1.5rem; padding: 0; list-style: none; }
.wege li { padding: 0.5rem 0; }
.wege li + li { border-top: 1px solid var(--linie); }
.wege a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
  text-decoration: none;
}
.wege a .icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border-radius: 50%;
  background: var(--nacht-hoch);
  color: var(--eis);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.wege a:hover .icon { background: var(--weiss); color: var(--nacht); }
.wege a > span { display: grid; }
.wege__art { font-size: 0.875rem; color: var(--eisblau); }
.wege a > span > span:last-child { font-weight: 700; font-size: 1.125rem; text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--weiss) 40%, transparent); text-underline-offset: 0.22em; }
.wege a:hover > span > span:last-child { text-decoration-color: var(--eisblau); }
.kontakt__ort { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.6rem; color: var(--eisblau); }
.kontakt__ort .icon { color: var(--weiss); }
.kontakt__profil { margin-top: 1rem; }

.formular {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 1.5rem;
  background: var(--nacht-hoch);
}
.formular__titel { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); }
.formular__hinweis { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--eisblau); }
.formular__uebergabe {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--eisblau);
  border-radius: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.formular__uebergabe[hidden] { display: none; }
.pflicht { color: var(--eis); }
.formular__datenschutz { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--eisblau); }
.formular__datenschutz a { color: var(--weiss); }

/* WPForms im B2-Stil: Variablen des Modern-Renderers, dazu Fokus, Fehler und Knopf */
.formular .wpforms-container {
  --wpforms-field-border-radius: 0.875rem;
  --wpforms-field-border-style: solid;
  --wpforms-field-border-size: 1px;
  --wpforms-field-background-color: var(--nacht);
  --wpforms-field-border-color: var(--linie-stark);
  --wpforms-field-border-color-spare: var(--linie-stark);
  --wpforms-field-text-color: var(--weiss);
  --wpforms-label-color: var(--weiss);
  --wpforms-label-sublabel-color: var(--eisblau);
  --wpforms-label-error-color: var(--fehler);
  --wpforms-button-border-radius: 999px;
  --wpforms-button-border-style: none;
  --wpforms-button-background-color: var(--weiss);
  --wpforms-button-border-color: var(--weiss);
  --wpforms-button-text-color: var(--nacht);
  --wpforms-field-size-input-height: 3.25rem;
  --wpforms-field-size-input-spacing: 0.4rem;
  --wpforms-field-size-font-size: 1.0625rem;
  --wpforms-field-size-line-height: 1.4;
  --wpforms-field-size-padding-h: 1rem;
  --wpforms-label-size-font-size: 1.0625rem;
  --wpforms-label-size-line-height: 1.5;
  --wpforms-label-size-sublabel-font-size: 0.9375rem;
  --wpforms-label-size-sublabel-line-height: 1.45;
  --wpforms-button-size-font-size: 1.0625rem;
  --wpforms-button-size-height: 3.25rem;
  --wpforms-button-size-padding-h: 1.5rem;
  --wpforms-button-size-margin-top: 1.75rem;
  margin: 1.75rem 0 0;
  font-family: var(--schrift-text);
}
.formular .wpforms-container .wpforms-field-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.formular .wpforms-container .wpforms-field { min-width: 0; padding: 0; }
.formular .wpforms-container .wpforms-field-email,
.formular .wpforms-container .wpforms-field-textarea { grid-column: 1 / -1; }
.formular .wpforms-container .wpforms-field-label {
  margin: 0 0 0.4rem;
  color: var(--weiss);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.5;
  hyphens: manual;
}
.formular .wpforms-container .wpforms-required-label { color: var(--eis); font-weight: 700; }
.formular div.wpforms-container-full .wpforms-form .wpforms-field input,
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea {
  width: 100%;
  max-width: 100%;
  font-family: var(--schrift-text);
  line-height: 1.4;
  transition: border-color 200ms var(--ease-out);
}
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea {
  min-height: 8rem;
  height: 10rem;
  padding: 0.75rem 1rem;
  hyphens: manual;
}
.formular div.wpforms-container-full .wpforms-form .wpforms-field input:hover,
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea:hover { border-color: var(--eisblau); }
.formular div.wpforms-container-full .wpforms-form .wpforms-field input:focus,
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea:focus {
  border-color: var(--weiss);
  box-shadow: none;
}
.formular div.wpforms-container-full .wpforms-form .wpforms-field input:focus-visible,
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 2px;
}
.formular div.wpforms-container-full .wpforms-form .wpforms-field input.wpforms-error,
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea.wpforms-error { border-color: var(--fehler); box-shadow: none; }
.formular div.wpforms-container-full .wpforms-form .wpforms-field input.wpforms-error:focus-visible,
.formular div.wpforms-container-full .wpforms-form .wpforms-field textarea.wpforms-error:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.formular div.wpforms-container-full .wpforms-form em.wpforms-error,
.formular div.wpforms-container-full .wpforms-form label.wpforms-error {
  margin-top: 0.4rem;
  color: var(--fehler);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.formular div.wpforms-container-full .wpforms-form .wpforms-error-container,
.formular .wpforms-container .wpforms-error-noscript { color: var(--fehler); font-weight: 700; }
.formular div.wpforms-container-full .wpforms-form .wpforms-submit-container { margin-top: 1.75rem; }
.formular div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit {
  width: 100%;
  min-height: 3.25rem;
  height: auto;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--weiss);
  color: var(--nacht);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.formular div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit:hover { background: var(--eis); }
.formular div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit:active { background: var(--eis); transform: translateY(1px); }
.formular div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit:focus::after { display: none; }
.formular div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.formular div.wpforms-container-full .wpforms-confirmation-container-full {
  margin: 1.75rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--eisblau);
  border-radius: 0.875rem;
  background: transparent;
  color: var(--weiss);
  font-weight: 600;
}
.formular div.wpforms-container-full .wpforms-confirmation-container-full p { color: var(--weiss); }
.formular div.wpforms-container-full .wpforms-confirmation-container-full:has(.bestaetigung__haken) { display: flex; gap: 0.75rem; align-items: flex-start; }
.bestaetigung__haken { flex: none; width: 1.75rem; height: 1.75rem; color: var(--eis); }
.bestaetigung__text { flex: 1; min-width: 0; }

/* Schnellkontakt im Kopf (nur schmale Bildschirme, der Desktop hat „Erstgespräch“ in der Navigation) */
.kopf__schnell { display: none; }
.kopf__anruf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--linie-stark);
  border-radius: 50%;
  color: var(--eis);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.kopf__anruf:hover { background: var(--weiss); color: var(--nacht); }
.kopf__anruf .icon { width: 1.25rem; height: 1.25rem; }
@media (max-width: 61.99rem) {
  .kopf__schnell { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
}
/* Bis 31rem ohne Schriftzug: zwischen 26 und 30rem ragte der Menüknopf sonst über den Rand
   (430 px = iPhone Plus/Pro Max, 44 px Überstand; Accessibility Auditor S12, F62) */
@media (max-width: 31rem) {
  .marke__name { display: none; }
}
@media (max-width: 22.5rem) {
  /* Nur noch das Symbol; „Menü“ bleibt als Name für Screenreader */
  .js .navi__knopf span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .js .navi__knopf { padding-inline: 0.6rem; }
}

/* Kontaktbänder zwischen den Abschnitten */
.band {
  padding-block: clamp(2rem, 4vw, 3rem);
  padding-inline: var(--gutter);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  background: var(--nacht-hoch);
}
.band__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}
.band__text {
  flex: 1 1 22rem;
  max-width: 40rem;
  font-family: var(--schrift-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.band__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; }

/* Bedingungen im Abo-Abschnitt (ohne Preise, Betreiber 25.10.2026) */
.abo__bedingungen {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}
.abo__bedingungen li {
  padding: 0.5rem 0;
  border-top: 1px solid color-mix(in oklch, var(--logoblau) 28%, transparent);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.abo__bedingungen li:last-child { border-bottom: 1px solid color-mix(in oklch, var(--logoblau) 28%, transparent); }

/* Region und Verweise */
.region { border-top: 1px solid var(--linie); }
/* Die lange Überschrift braucht mehr Breite als 5 von 12 Teilen */
@media (min-width: 64rem) {
  .region .vertiefung__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.region__links { display: grid; justify-items: start; gap: 0; margin-top: 1.5rem; }
.zielgruppen a { color: var(--weiss); }
.fragen__wege { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 1rem; }
.formular__ablauf { margin-top: 1.25rem; font-size: 0.9375rem; }

/* Stadtseiten: Knopf zum Erstgespräch in der Bühne (statt Prüffeld) */
.buehne__start { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Kerngebiet-Stadtseiten (4.2.0): Brotkrumen in der Bühne, Ortsabschnitt, Werkschau-Auswahl, Hub der Startseite */
.brotkrumen { margin-bottom: clamp(0.5rem, 1.5vh, 1rem); }
.brotkrumen ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--eisblau);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.brotkrumen li { display: flex; align-items: center; }
.brotkrumen a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brotkrumen__trenner { margin-inline: 0.6rem; }

/* Ortsabschnitt: abgesenkt wie Werkschau und FAQ, Kopf mit Anfahrt als Kennwerte, daneben drei Abschnitte mit Linien */
.ort { background: var(--nacht-tief); }
/* Wie Region: die Ortsüberschrift braucht mehr Breite als 5 von 12 Teilen (sonst vier Zeilen bei 1440 px) */
@media (min-width: 64rem) {
  .ort .vertiefung__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.ort__fakten { max-width: 34rem; margin: 2rem 0 0; }
.ort__fakten div {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: 0.15rem 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--linie);
}
.ort__fakten div:last-child { border-bottom: 1px solid var(--linie); }
.ort__fakten dt { color: var(--eisblau); font-size: 0.9375rem; line-height: 1.5; }
.ort__fakten dd { margin: 0; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) {
  .ort__fakten div { grid-template-columns: minmax(0, 1fr); }
}
.ort__punkte { margin: 0; padding: 0; list-style: none; }
.ort__punkte li {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--linie);
}
.ort__punkte li:last-child { border-bottom: 1px solid var(--linie); }
.ort__punkte p { margin-top: 0.75rem; max-width: 62ch; }

.werkschau__mehr { margin-top: clamp(2.5rem, 5vw, 4rem); }

.region__orte-titel { margin-top: 2rem; font-size: 1.0625rem; }
.region__orte {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

/* Unterseiten: Seitenkopf und Lesespalte (page.php, Impressum, Datenschutz, Cookie-Richtlinie) */
.unterseite {
  padding-inline: var(--gutter);
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--abstand-abschnitt);
}
.seitenkopf {
  max-width: 52rem;
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
  border-bottom: 1px solid var(--linie);
}
.seitenkopf h1 {
  font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.75rem);
  letter-spacing: -0.03em;
}
.seitenkopf__satz {
  margin-top: 1rem;
  max-width: 60ch;
  color: var(--eisblau);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.text { max-width: 68ch; overflow-wrap: break-word; }
@media (max-width: 36rem) {
  .text { hyphens: auto; }  /* lange Wörter wie „Verbraucherstreitbeilegungsgesetz“ (auch mit erhöhtem Textabstand, 1.4.12) */
}
.text > * + * { margin-top: 1.1em; }
.text h2 {
  margin-top: 2.4em;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  letter-spacing: -0.015em;
}
.text h3 { margin-top: 2em; }
.text :is(h2, h3) + * { margin-top: 0.75em; }
.text :is(ul, ol) { padding-left: 1.4em; }
.text li + li { margin-top: 0.4em; }
/* Wegweiser (404): Textlinks mit Pfeil statt Aufzählungspunkten */
.text .weiter { margin: 0 0 2rem; padding: 0; list-style: none; display: grid; justify-items: start; gap: 0.15rem; }
.text .weiter li + li { margin-top: 0; }
.text li::marker { color: var(--eisblau); }
.text :is(a, code) { overflow-wrap: anywhere; }
.text a { text-decoration-color: var(--eisblau); }
.text code {
  padding: 0.1em 0.4em;
  border-radius: 0.375rem;
  background: var(--nacht-hoch);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
}
.text blockquote {
  margin: 2em 0 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 1px solid var(--linie-stark);
  color: var(--eis);
  font-size: 1.125em;
}
.text blockquote > * + * { margin-top: 0.75em; }
.text table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.text :is(th, td) {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.text th { border-bottom-color: var(--linie-stark); font-weight: 700; }
.text hr { margin-block: 2.5em; border: 0; border-top: 1px solid var(--linie); }
.text figure { margin-inline: 0; }
.text figcaption { margin-top: 0.5rem; color: var(--eisblau); font-size: 0.9375rem; }
.text img { border-radius: 0.75rem; }
.text .aligncenter { margin-inline: auto; }
@media (min-width: 40rem) {
  .text .alignleft { float: left; margin: 0.35em 1.5em 1em 0; max-width: 50%; }
  .text .alignright { float: right; margin: 0.35em 0 1em 1.5em; max-width: 50%; }
  .text::after { content: ""; display: table; clear: both; }
}

.kasten {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--nacht-hoch);
}

/* Suche (404 und Suchergebnisse) */
.suche { max-width: 34rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.suche__label { display: block; margin-bottom: 0.5rem; font-weight: 700; }
.suche__zeile { display: flex; gap: 0.5rem; }
.suche__zeile .eingabe { flex: 1 1 12rem; min-width: 0; }
.suche__zeile .knopf { flex: none; }
.seitenkopf + .suche { margin-top: 0; }
.treffer { max-width: 68ch; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; }
.treffer__eintrag { padding: 1.25rem 0; border-top: 1px solid var(--linie); }
.treffer__eintrag:last-child { border-bottom: 1px solid var(--linie); }
.treffer__titel { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.treffer__titel a { text-decoration-color: var(--eisblau); }
.treffer__eintrag p { margin-top: 0.5rem; color: var(--eisblau); }
.treffer__leer { margin-top: clamp(2rem, 4vw, 3rem); }
.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.nav-links .page-numbers.current { background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }
.nav-links a.page-numbers:hover { border-color: var(--weiss); }
@media (max-width: 36rem) {
  .suche__zeile { flex-direction: column; }
  .suche__zeile .eingabe { flex: none; }
  .suche__zeile .knopf { width: 100%; }
}

/* Kennwerte als Liste statt Tabelle (Cookie-Richtlinie): bricht auf schmalen Bildschirmen sauber um */
.kennwerte { margin: 0; }
.kennwerte > div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr);
  gap: 0.25rem 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--linie);
}
.kennwerte > div:first-child { border-top: 1px solid var(--linie); }
.kennwerte dt { color: var(--eisblau); }
.kennwerte dd { margin: 0; }
@media (max-width: 36rem) {
  .kennwerte > div { grid-template-columns: minmax(0, 1fr); }
}

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  padding: 2.5rem 1rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  padding-inline: var(--gutter);
  font-size: 0.9375rem;
  color: var(--eisblau);
}
.fuss__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}
.fuss__marke { display: flex; gap: 1rem; align-items: flex-start; }
.fuss__marke strong { color: var(--weiss); }
.fuss__titel {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--weiss);
}
.fuss ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.fuss a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--weiss); }
.fuss__knopf {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--weiss);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, currentColor 55%, transparent);
  cursor: pointer;
}
.fuss__knopf:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.fuss__copy { grid-column: 1 / -1; padding: 1.25rem 0 0; border-top: 1px solid var(--linie); }

/* WordPress-Admin-Leiste: Kopf, Sprunglink und Sprungziele darunter */
.admin-bar .kopf { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .sprung { top: calc(var(--wp-admin--admin-bar--height, 32px) + 0.75rem); }
.admin-bar .fragen__kopf { top: calc(var(--kopf-hoehe) + var(--wp-admin--admin-bar--height, 32px) + 2rem); }
html:has(> body.admin-bar) { scroll-padding-top: calc(var(--kopf-hoehe) + var(--wp-admin--admin-bar--height, 32px) + 1rem); }
@media screen and (max-width: 600px) {
  /* Die Leiste scrollt hier mit (position: absolute) */
  .admin-bar .kopf { top: 0; }
  html:has(> body.admin-bar) { scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); }
}

/* Breakpoints */
@media (max-width: 64rem) {
  .schritte { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
  .schritte li::after { display: none; }
}

@media (max-width: 56rem) {
  .buehne { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .buehne__text { width: auto; padding: 1.75rem var(--gutter) 1.5rem; }
  /* Wand unter dem Text: feste Fenster von 10rem, mittig; nur auf sehr schmalen Handys (unter rund
     388 px) etwas kleiner, damit nichts über den Rand ragt. Aufkleber dazu in fester Größe. */
  .wand {
    --wand-abstand: 0.75rem;
    --kachel: min(10rem, (100vw - 2 * var(--gutter) - 3 * var(--wand-abstand)) / 2);
    justify-self: center;
    min-height: 0;
    height: clamp(15rem, 52vw, 24rem);
    margin-inline: var(--gutter);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  }
  .wand__flaeche { border-radius: 1.25rem; }
  .wand__spalte:nth-child(2) { margin-top: -5rem; }
  .aufkleber--stern { width: 7.5rem; left: -0.5rem; top: -1rem; }
  .aufkleber--blase { width: 9.5rem; left: auto; right: -0.4rem; bottom: auto; top: 9%; transform: rotate(5deg); }
  .aufkleber--blitz { width: 3.5rem; left: 5%; right: auto; top: auto; bottom: 6%; transform: rotate(-10deg); }
  .aufkleber--brief { right: -0.5rem; top: -3.25rem; }
  .aufkleber--zeiger { width: clamp(4rem, 13vw, 5.5rem); right: 4%; top: auto; bottom: 6%; }

  .abo__raster,
  .person__raster,
  .fragen__raster,
  .kontakt__raster,
  .vertiefung__raster,
  .ki__praxis,
  .bfsg__raster { grid-template-columns: minmax(0, 1fr); }
  .fragen__kopf { position: static; }
  .person__bild { max-width: 28rem; }
  .aufkleber--eis { right: -0.5rem; }
  .bfsg__raster { align-items: start; }

  .projekte { grid-template-columns: minmax(0, 1fr); }
  .projekt:nth-child(n) { grid-column: auto; margin-top: 0; }
  .fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ausserdem { grid-template-columns: minmax(0, 1fr); }
  .ausserdem h3 { padding-top: 0; }
}

@media (max-width: 40rem) {
  .ki__bereiche { grid-template-columns: minmax(0, 1fr); }
  .ki__bereiche li:nth-last-child(2) { border-bottom: 0; }
}

@media (max-width: 36rem) {
  .pruefen__zeile { flex-direction: column; }
  .pruefen__zeile .eingabe { flex: none; }
  .pruefen__zeile .knopf { width: 100%; }
  .zeile { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .zeile__objekt,
  .zeile:nth-child(even) .zeile__objekt { grid-column: 1; grid-row: 1; width: 5.5rem; }
  .zeile__text { grid-column: 1; grid-row: 2; }
  .ausserdem { grid-template-columns: minmax(0, 1fr); }
  .zeile--kern .zeile__objekt { width: 6.5rem; transform: rotate(-8deg); }
  .formular .wpforms-container .wpforms-field-container { grid-template-columns: minmax(0, 1fr); }
  .fuss__raster { grid-template-columns: minmax(0, 1fr); }
  .frage__antwort { padding-right: 0; }
  .belege__innen { flex-direction: column; align-items: flex-start; }
  .belege__satz { flex: none; max-width: none; }
}

@media (max-height: 30rem) {
  .kopf { position: relative; }
  .admin-bar .kopf { top: 0; }
  /* Kopf scrollt mit: das offene Menü darf voll aufklappen statt als kleine Scrollbox */
  .js .navi__liste,
  .js .admin-bar .navi__liste { max-height: none; }
}

/* Ohne JavaScript: Navigation umbrechen, Kopf nicht anheften (er wäre auf dem Handy sehr hoch) */
html:not(.js) .kopf { position: relative; }
html:not(.js) .kopf__innen,
html:not(.js) .navi__liste { flex-wrap: wrap; }

/* Bewegung (S6: V1 V3 V4 V5 V7, MUSS AN1–AN8; S8: V6 V8 V9 V10 V12, MUSS AM1–AM9)
   Grundsatz: Ohne Bewegung ist alles vollständig da. Die Effekte laufen nur bei
   prefers-reduced-motion: no-preference, Scroll-Effekte nur mit Unterstützung (@supports),
   bewegt werden nur transform-Eigenschaften und opacity – Ausnahmen: V4 die FAQ-Höhe nach einem Klick,
   V7/V8 die Breite des Streifen-Hintergrunds (nur Malen, kein Layout). Parallaxe (V6, V9) folgt
   der Scrollposition linear. */
@media (prefers-reduced-motion: no-preference) {
  /* V7 und V1, der eine Auftritt der Seite: Der Streifen zieht sich unter den Ort,
     danach kleben sich die Aufkleber der Bühne nacheinander an */
  .buehne__titel .strich { animation: strich-ziehen 640ms var(--ease-out-expo) 180ms both; }

  .wand .aufkleber { animation: ankleben 620ms var(--ease-out-expo) both; }
  .wand .aufkleber--stern { --anklebe-dreh: -7deg; animation-delay: 380ms; }
  .wand .aufkleber--blase { --anklebe-dreh: 6deg; animation-delay: 500ms; }
  .wand .aufkleber--blitz { --anklebe-dreh: -8deg; animation-delay: 620ms; }

  /* V4: Fragen öffnen und schließen weich statt zu springen (andere Browser: wie bisher) */
  @supports (interpolate-size: allow-keywords) {
    .frage { interpolate-size: allow-keywords; }
    .frage::details-content {
      block-size: 0;
      overflow: clip;
      overflow-clip-margin: 0.5rem; /* Fokusrahmen von Links in der Antwort bleiben ganz */
      transition: block-size 320ms var(--ease-out-expo), content-visibility 320ms allow-discrete;
    }
    .frage[open]::details-content { block-size: auto; }
  }

  @supports (animation-timeline: view()) {
    /* V1 außerhalb der Bühne: kleben sich an, während sie ins Bild kommen */
    .formular .aufkleber,
    .person__bild .aufkleber {
      animation: ankleben var(--ease-out) both;
      animation-timeline: view(block 0px); /* volle Fensterhöhe; „auto“ zieht scroll-padding des Kopfes ab und verschiebt den Bereich */
      animation-range: entry 0% cover 35%;
    }
    .aufkleber--brief { --anklebe-dreh: 7deg; }
    .aufkleber--eis { --anklebe-dreh: -6deg; }

    /* V3: Die Linie zwischen den Schritten zeichnet sich Schritt für Schritt, die Nummern bleiben stehen */
    .schritte { view-timeline: --ablauf block; view-timeline-inset: 0px; }
    .schritte li::after {
      transform-origin: left center;
      animation: ziehen var(--ease-out) both;
      animation-timeline: --ablauf;
      animation-range: cover 10% cover 24%;
    }
    .schritte li:nth-child(2)::after { animation-range: cover 16% cover 30%; }
    .schritte li:nth-child(3)::after { animation-range: cover 22% cover 36%; }
    .schritte li:nth-child(4)::after { animation-range: cover 28% cover 42%; }

    /* V8: Derselbe Streifen zieht sich – kräftiger als in der H1 (F35) – unter das Schlüsselwort jeder
       Abschnittsüberschrift, während sie ins Bild kommt; der Text steht von Anfang an da */
    .strich--abschnitt {
      animation: strich-ziehen-dick var(--ease-out) both;
      animation-timeline: view(block 0px);
      animation-range: entry 100% cover 45%;
    }

    /* F35 Heranführen: Überschriften, Einleitungen, Werkschau-Projekte, Ablauf-Schritte, Formular und
       Porträt gleiten beim Hineinscrollen sichtbar an ihren Platz. Nur transform: Jeder Inhalt ist ab dem
       ersten Moment sichtbar und lesbar, er kommt nur von etwas weiter unten (AM2). Unterseiten
       (Rechtstexte, 404, Suche) bleiben ruhig. */
    body:not(.nkit-unterseite) main h2,
    .abschnitt__kopf > p,
    .abo__kopf > p,
    .vertiefung__kopf > p,
    .fragen__kopf > p {
      --heran: clamp(2rem, 5vw, 4rem);
      animation: heran var(--ease-heran) both;
      animation-timeline: view(block 0px);
      animation-range: entry 0% cover 40%; /* über rund ein Drittel der Fensterhöhe, nicht nur die Zeilenhöhe */
    }
    .abschnitt__kopf > p,
    .abo__kopf > p,
    .vertiefung__kopf > p,
    .fragen__kopf > p { --heran: clamp(2.5rem, 6vw, 5rem); }
    .projekt,
    .formular,
    .person__bild {
      --heran: clamp(2.5rem, 7vw, 5.5rem);
      animation: heran var(--ease-heran) both;
      animation-timeline: view(block 0px);
      animation-range: entry 0% cover 40%;
    }
    /* Werkschau: die rechte Spalte kommt von weiter unten als die linke – die Spalten ziehen
       unterschiedlich schnell vorbei */
    .projekt:nth-child(even) { --heran: clamp(2.5rem, 12vw, 9.5rem); }
    /* Die letzten zwei Karten starten näher: sonst lagen sie vor dem Hereingleiten über „Alle Projekte
       ansehen“ (axe target-size, je nach Breite und Reihenfolge; Accessibility Auditor S12, F62) */
    .projekte > .projekt:nth-last-child(-n + 2) { --heran: 2rem; }
    .schritte li {
      --heran: clamp(1.5rem, 4vw, 3rem);
      animation: heran var(--ease-heran) both;
      animation-timeline: view(block 0px);
      animation-range: entry 0% cover 25%;
    }
    .schritte li:nth-child(2) { animation-range: entry 15% cover 30%; }
    .schritte li:nth-child(3) { animation-range: entry 30% cover 35%; }
    .schritte li:nth-child(4) { animation-range: entry 45% cover 40%; }
    .schritte li:nth-child(5) { animation-range: entry 60% cover 45%; }

    /* Kundenlogos gleiten beim Scrollen langsam quer durch die Belegleiste (nur, wo daneben Platz ist;
       schmal füllen sie die Zeile und würden über den Rand geschoben) */
    @media (min-width: 56.01rem) {
      .belege__logos {
        animation: logos-gleiten linear both;
        animation-timeline: view(block 0px);
        animation-range: cover 0% cover 100%;
      }
    }

    /* V6: Die Leistungsobjekte schweben beim Scrollen deutlich gegeneinander (F35: bis ±40px),
       wie lose Aufkleber */
    .zeile__objekt {
      --schweben: clamp(1rem, 3.2vw, 2.5rem);
      animation: schweben linear both;
      animation-timeline: view(block 0px);
      animation-range: cover 0% cover 100%;
    }
    .zeile:nth-child(even) .zeile__objekt { animation-direction: reverse; }

    /* V9: Tiefe auf der Bühne (zweispaltig) in drei Ebenen: Der Text scrollt normal, die Aufkleber bleiben
       etwas zurück, die Wand deutlich (F35); sie gleitet unter die Belegleiste. Der Anhalten-Schalter
       bleibt an seinem Platz */
    @media (min-width: 56.01rem) {
      .buehne { --tiefe: clamp(7rem, 16vh, 12rem); view-timeline: --buehne block; view-timeline-inset: 0px; }
      .buehne .wand,
      .buehne .wand__schalter {
        animation: tiefe linear both;
        animation-timeline: --buehne;
        animation-range: exit 0% exit 100%;
      }
      .buehne .wand__schalter { animation-name: tiefe-gegen; }
      .buehne .wand .aufkleber {
        animation: ankleben 620ms var(--ease-out-expo) both, aufkleber-vor linear both;
        animation-timeline: auto, --buehne;
        animation-range: normal, exit 0% exit 100%;
      }
      .buehne .wand .aufkleber--stern { animation-delay: 380ms, 0s; }
      .buehne .wand .aufkleber--blase { animation-delay: 500ms, 0s; }
      .buehne .wand .aufkleber--blitz { animation-delay: 620ms, 0s; }
      .belege { position: relative; } /* malt über der zurückbleibenden Wand */
    }
  }

  /* V10: Werkschau-Bild und Leistungsobjekt antworten auf Zeiger und Tastaturfokus –
     das Bild hebt sich, das Objekt richtet sich ein Stück auf */
  .projekt__bild { transition: translate 300ms var(--ease-out), scale 300ms var(--ease-out); }
  .zeile__objekt { transition: rotate 300ms var(--ease-out), scale 300ms var(--ease-out); }
  @media (hover: hover) {
    .projekt:hover .projekt__bild { translate: 0 -0.75rem; scale: 1.015; }
    .zeile:hover .zeile__objekt { rotate: 10deg; scale: 1.14; }
    .zeile:nth-child(even):hover .zeile__objekt { rotate: -10deg; }
  }
  .projekt:has(:focus-visible) .projekt__bild { translate: 0 -0.75rem; scale: 1.015; }
  .zeile:has(:focus-visible) .zeile__objekt { rotate: 10deg; scale: 1.14; }
  .zeile:nth-child(even):has(:focus-visible) .zeile__objekt { rotate: -10deg; }

  /* V2: Die Website-Vorschau läuft, solange nkit-2026.js das Projekt aktiv setzt (Hover-Absicht oder
     Tastaturfokus), einmal langsam von oben nach unten durch die ganze Seite (höchstens 4,5 s, dann
     Stillstand; Ausnahme von 200–700 ms und ease-out, weil der gleichmäßige Durchlauf selbst der Effekt
     ist); danach gleitet sie zurück und blendet aus */
  .projekt__fenster { transition: opacity 250ms var(--ease-out) 450ms; }
  .projekt__lang { transition: translate 700ms var(--ease-out); }
  .projekt__bild.ist-aktiv.ist-geladen .projekt__fenster { opacity: 1; transition-delay: 0ms; }
  .projekt__bild.ist-aktiv.ist-geladen .projekt__lang {
    translate: 0 calc(-100% + 100cqh);
    transition: translate 4.5s cubic-bezier(0.45, 0, 0.55, 1) 100ms;
  }

  /* V11: Nach dem Absenden zeichnet sich der Haken in der Bestätigung einmal (Ausnahme: Strich) */
  .bestaetigung__haken path {
    stroke-dasharray: 1;
    animation: haken-zeichnen 560ms var(--ease-out-expo) 150ms both;
  }
  /* WPForms scrollt 1 s zur Bestätigung (Klasse nur bei „message_scroll“): erst danach zeichnen */
  .wpforms-confirmation-scroll .bestaetigung__haken path { animation-delay: 1050ms; }

  /* V12: weicher Wechsel zwischen Seiten im Design 2026 (Chromium, Safari; andere wie bisher).
     Der Kopf bleibt stehen, die Seite blendet kurz über */
  @view-transition { navigation: auto; }
  .kopf { view-transition-name: kopf; }
  #wpadminbar { view-transition-name: adminleiste; }
  ::view-transition-old(root) { animation: seite-raus 200ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: seite-rein 340ms var(--ease-out-expo) both; }

  /* V5: Schatten unter dem Kopf erst nach dem ersten Scrollen (Start- und Stadtseiten),
     nur wo der Kopf angeheftet ist (mit JavaScript, nicht bei Fenstern bis 30rem Höhe) */
  @supports (animation-timeline: scroll()) {
    @media not all and (max-height: 30rem) {
      .js body:not(.nkit-unterseite) .kopf::after {
        content: "";
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        height: 0.75rem;
        background: linear-gradient(oklch(22% 0.06 258 / 0.1), oklch(22% 0.06 258 / 0)); /* auf Weiß nur angedeutet */
        pointer-events: none;
        animation: kopf-schatten var(--ease-out) both;
        animation-timeline: scroll(root);
        animation-range: 0 4rem;
      }
    }
  }
}
/* V7: Ausnahme von AN3 wie V4 – background-size wird nur neu gemalt, das Layout bleibt stehen */
@keyframes strich-ziehen {
  from { background-size: 0% 0.17em; }
  to { background-size: 100% 0.17em; }
}
/* V3: Ablauf-Linie zieht sich von links auf */
@keyframes ziehen {
  from { scale: 0 1; }
  to { scale: 1 1; }
}
@keyframes ankleben {
  from { scale: 1.14; rotate: var(--anklebe-dreh, -6deg); translate: 0 -0.35rem; }
  to { scale: 1; rotate: 0deg; translate: 0 0; }
}
@keyframes kopf-schatten {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes schweben {
  from { translate: 0 var(--schweben, 12px); }
  to { translate: 0 calc(-1 * var(--schweben, 12px)); }
}
/* F35: Inhalt ist immer sichtbar, er kommt nur von etwas weiter unten an seinen Platz */
@keyframes heran {
  from { translate: 0 var(--heran, 2rem); }
  to { translate: 0 0; }
}
@keyframes logos-gleiten {
  from { translate: 2.5rem 0; }
  to { translate: -2.5rem 0; }
}
/* V9 (F35): Aufkleber bleiben weniger zurück als die Wand – eine eigene Ebene dazwischen */
@keyframes aufkleber-vor {
  from { translate: 0 0; }
  to { translate: 0 calc(-0.55 * var(--tiefe)); }
}
/* V8 (F35): breiterer Streifen unter dem Schlüsselwort der H2 */
@keyframes strich-ziehen-dick {
  from { background-size: 0% 0.3em; }
  to { background-size: 100% 0.3em; }
}
@keyframes tiefe {
  from { translate: 0 0; }
  to { translate: 0 var(--tiefe); }
}
@keyframes tiefe-gegen {
  from { translate: 0 0; }
  to { translate: 0 calc(-1 * var(--tiefe)); }
}
@keyframes haken-zeichnen {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes seite-raus {
  to { opacity: 0; }
}
@keyframes seite-rein {
  from { opacity: 0; translate: 0 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wand__spur { animation: none !important; transform: none; will-change: auto; }
  .wand__schalter { display: none; }
}

@media (forced-colors: active) {
  .marke__zeichen { forced-color-adjust: none; background-color: CanvasText; }
  .abo__inhalt .icon, .ki__praxis .icon, .belege__bewertung .icon, .kontakt__ort .icon,
  .kette .icon, .haken .icon, .bestaetigung__haken { color: CanvasText; }
  .knopf, .wand__schalter,
  .formular div.wpforms-container-full .wpforms-form button[type="submit"].wpforms-submit { border: 1px solid ButtonText; }
}
@media (forced-colors: active) and (prefers-color-scheme: light) {
  .logo { filter: brightness(0); }
}
/* Dunkler Kontrastmodus: der helle Grund wird dunkel, Logos wieder hell */
@media (forced-colors: active) and (prefers-color-scheme: dark) {
  .logo { filter: brightness(0) invert(0.94); opacity: 1; }
}
