/* ==========================================================================
   Nexoravi – Stylesheet
   Durchgehend dunkel in den Markenfarben: Midnight und Deep Navy im Wechsel,
   Electric Blue für Knöpfe und das Feld mit den Zusagen, Cyan als Akzent.
   Bewegung: ein Auftritt beim Laden jeder Seite, dazu Reaktionen auf Maus
   und Scrollen an den wichtigsten Stellen (Treppe, Auswahl, Ablauf, Karten).
   Farben, Schriften und Bewegungskurve stehen oben in :root.
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --midnight: #070D24;      /* Grundfläche */
  --navy: #0B1640;          /* zweite Fläche, im Wechsel mit Midnight */
  --blau: #2563EB;          /* Knöpfe, Zusagen-Feld, Linien */
  --blau-tief: #1D4ED8;
  --cyan: #22D3EE;          /* Akzent: Links, Symbole, Wege */
  --rahmen: #1E3A8A;        /* Rahmen um Symbole */
  --text: #CBD5EC;          /* Fließtext */
  --hell: #E8EDF9;          /* hervorgehobener Text */
  --hell-leise: #A3B1D0;    /* Nebentext */
  --linie: rgba(255, 255, 255, 0.14);
  --feldrand: #7181AB;
  --fehler: #FF9B8F;
  --schrift-titel: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --weich: cubic-bezier(0.2, 0.8, 0.2, 1);
  --rand: max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --breite: 72.5rem;
  --kopf: 4rem;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* Weicher Wechsel zwischen den Seiten (in Browsern, die das können) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: seite-aus 0.18s ease both; }
::view-transition-new(root) { animation: seite-ein 0.45s var(--weich) both; }
::view-transition-group(kopf) { animation: none; }
@keyframes seite-aus { to { opacity: 0; } }
@keyframes seite-ein { from { opacity: 0; transform: translateY(12px); } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf) + 1.5rem);
  background: var(--midnight);
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--schrift-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1rem + 5vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2.4vw, 2.75rem); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); line-height: 1.2; }

p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p, li, dd {
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 12 5 5;
  -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5;
}

a { color: var(--cyan); text-underline-offset: 0.18em; transition: color 0.2s; }
a:hover { color: #fff; }
svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

.breite { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sprung {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: 6px;
  background: #fff; color: var(--navy); font-weight: 600;
}
.sprung:focus { top: 1rem; }
.sprung:hover { color: var(--navy); }

/* Angaben, die noch fehlen: schlichter Hinweis im Text. Vor dem Start der Website werden sie ersetzt. */
.folgt { color: var(--hell-leise); }

/* ---------- Auftritt beim Laden ---------- */
.auftritt { animation: auftritt 0.8s var(--weich) both; animation-delay: var(--d, 0s); }
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); } }
@keyframes erscheinen { from { opacity: 0; } }
@keyframes zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Überschrift: jede Zeile fährt aus einer Maske nach oben */
.zeile { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.zeile > span { display: block; animation: zeile 0.95s var(--weich) both; animation-delay: var(--d, 0s); }
@keyframes zeile { from { transform: translateY(110%); } }

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.75rem 1.4rem;
  border: 2px solid transparent; border-radius: 6px;
  font: 600 1rem/1.25 var(--schrift-text); text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.25s var(--weich), box-shadow 0.3s;
}
.knopf--haupt, .knopf--haupt:hover { color: #fff; }
.knopf--haupt { background: var(--blau); }
.knopf--haupt:hover { background: var(--blau-tief); box-shadow: 0 16px 34px -14px rgba(37, 99, 235, 0.95); }
.knopf--rand, .knopf--rand:hover { color: #fff; }
.knopf--rand { border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.knopf--rand:hover { border-color: #fff; background: rgba(255, 255, 255, 0.07); }
@media (hover: hover) { .knopf--haupt:hover, .knopf--rand:hover { transform: translateY(-2px); } }
.knopf { position: relative; }
.knopf:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 4px; }   /* hält die Maus beim Anheben */
.knopf:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.knopf[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Was weiterführt, trägt einen Pfeil. Was etwas auslöst, ist ein Knopf. */
.pfeil {
  flex: none; width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--weich);
}
.rundknopf {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: transparent; color: var(--cyan); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.rundknopf::after { content: ""; position: absolute; inset: calc(-0.25rem - 1px); }   /* Tippfläche größer als der sichtbare Kreis */
.rundknopf svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .rundknopf:hover { background: var(--blau); border-color: var(--blau); color: #fff; } }
.rundknopf:active { background: var(--blau); border-color: var(--blau); color: #fff; }
.rundknopf[disabled] { opacity: 0.35; cursor: default; background: transparent; border-color: rgba(255, 255, 255, 0.4); color: var(--cyan); }

.textlink { font-weight: 600; color: #fff; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.textlink:hover { color: var(--cyan); }

/* Symbol-Kachel, wie die Highlight-Cover bei Instagram */
.zeichen {
  display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--rahmen); border-radius: 8px;
  background: var(--midnight); color: var(--cyan);
  transition: border-color 0.25s;
}
.zeichen svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zeichen--klein { width: 2.75rem; height: 2.75rem; }
.zeichen--klein svg { width: 1.35rem; height: 1.35rem; }

/* Lichtschein, der an Karten der Maus folgt */
.licht { position: relative; isolation: isolate; }
.licht::before, .licht::after {
  content: ""; position: absolute; border-radius: inherit;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.licht::before {
  inset: -1px; z-index: 1; padding: 1px;
  background: radial-gradient(16rem circle at var(--lx, 50%) var(--ly, 0%), rgba(34, 211, 238, 0.95), rgba(34, 211, 238, 0) 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.licht::after {
  inset: 0; z-index: -1;
  background: radial-gradient(24rem circle at var(--lx, 50%) var(--ly, 0%), rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0) 70%);
}
.licht:hover::before, .licht:hover::after { opacity: 1; }
/* Karten, die sich bei Maus darüber heben, behalten die Maus über diesen Streifen */
.fang { display: none; position: absolute; left: 0; right: 0; top: 100%; height: 7px; }
:hover > .fang { display: block; }

/* Rasterpapier mit Licht unter dem Mauszeiger */
.raster {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 12.5% 100%, 100% var(--zeile);
  background-position: 0 100%;
}
.rasterlicht {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(34, 211, 238, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.5) 1px, transparent 1px);
  background-size: 12.5% 100%, 100% var(--zeile);
  background-position: 0 100%;
  -webkit-mask-image: radial-gradient(9rem circle at var(--mx, -20rem) var(--my, -20rem), #000, transparent);
  mask-image: radial-gradient(9rem circle at var(--mx, -20rem) var(--my, -20rem), #000, transparent);
}

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--midnight); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
  view-transition-name: kopf;
}
.kopf[data-gescrollt] {
  background: rgba(7, 13, 36, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.kopf__innen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: 1rem; min-height: var(--kopf);
  transition: min-height 0.35s var(--weich);
}
.kopf__fortschritt {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--cyan); transform: scaleX(var(--seite, 0)); transform-origin: left;
}
.marke, .marke:hover { color: #fff; }
.marke { display: inline-flex; align-items: center; min-height: 2.75rem; }
.marke svg { height: clamp(1.5rem, 8vw, 2rem); width: auto; }

.menue-knopf {
  display: none; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0.5rem 0.9rem;
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 6px;
  font: 600 0.9375rem var(--schrift-text); cursor: pointer;
}
.menue-knopf svg { width: 1.25rem; height: 1.25rem; }

/* Handy und ohne JavaScript: Navigation als Liste unter dem Logo */
.nav { flex-basis: 100%; padding-bottom: 1.25rem; }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.85rem 0;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: none;
  color: #fff; text-align: left; text-decoration: none;
  font: 600 1.125rem var(--schrift-titel);
}
.nav__schalter svg { display: none; }
.untermenue__liste { padding: 0.25rem 0 0.5rem; }
.untermenue__gruppe { padding-top: 0.9rem; font-size: 0.875rem; color: var(--hell-leise); }
.untermenue__gruppe strong { margin-right: 0.4rem; font: 600 0.875rem var(--schrift-titel); color: #fff; }
.untermenue__eintrag {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: center;
  padding: 0.6rem 0; color: #fff; text-decoration: none;
}
.untermenue__eintrag strong { display: block; font: 600 1rem/1.3 var(--schrift-titel); }
.untermenue__eintrag span span { display: block; font-size: 0.875rem; color: var(--hell-leise); }
.untermenue__alle {
  display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; margin-top: 0.35rem;
  font-weight: 600; font-size: 0.9375rem; color: #fff; text-decoration: none;
}
.untermenue__alle .pfeil { color: var(--cyan); }
.nav .knopf { width: 100%; margin-top: 1.25rem; }

.js .menue-knopf { display: inline-flex; }
.js .nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--kopf)); overflow-y: auto;
  padding: 0.25rem var(--rand) 1.5rem;
  background: var(--midnight);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.js .nav[data-offen="ja"] { display: block; }

/* Ab 960 px: Menüzeile mit Aufklapp-Feld für die Leistungen */
@media (min-width: 60rem) {
  :root { --kopf: 4.75rem; }
  .kopf[data-gescrollt] .kopf__innen { min-height: 4rem; }
  .menue-knopf, .js .menue-knopf { display: none; }
  .nav, .js .nav {
    display: flex; align-items: center; gap: 2.25rem;
    position: static; flex-basis: auto; max-height: none; overflow: visible;
    padding: 0; border: 0; background: none;
  }
  .nav__liste { display: flex; align-items: center; gap: 2rem; }
  .nav__punkt { position: relative; }
  .nav__link {
    position: relative; display: inline-flex; gap: 0.4rem; width: auto; padding: 0.6rem 0;
    border: 0; color: var(--hell); font: 500 0.9375rem var(--schrift-text); cursor: pointer;
    transition: color 0.2s;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 2px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s var(--weich);
  }
  .nav__link:hover, .nav__link[aria-current="page"], .nav__punkt--unter:hover .nav__link { color: #fff; }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after,
  .nav__punkt--unter:hover .nav__link::after, .nav__punkt--unter[data-offen="ja"] .nav__link::after { transform: scaleX(1); }
  .nav__schalter svg {
    display: block; width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2.2;
    stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--weich);
  }
  .nav__punkt--unter:hover .nav__schalter svg, .nav__punkt--unter[data-offen="ja"] .nav__schalter svg { transform: rotate(180deg); }
  .nav .knopf { width: auto; margin: 0; min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }

  .untermenue {
    position: absolute; top: 100%; left: 50%; width: 47rem; padding-top: 0.85rem;
    opacity: 0; visibility: hidden; transform: translate(-50%, -8px);
    transition: opacity 0.2s 0.12s, transform 0.35s var(--weich) 0.12s, visibility 0s linear 0.32s;
  }
  .untermenue__innen {
    padding: 0.6rem; border: 1px solid var(--linie); border-radius: 14px;
    background: var(--navy); box-shadow: 0 34px 80px -26px rgba(0, 0, 0, 0.85);
  }
  .nav__punkt--unter:hover .untermenue, .nav__punkt--unter[data-offen="ja"] .untermenue,
  html:not(.js) .nav__punkt--unter:focus-within .untermenue {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity 0.2s, transform 0.35s var(--weich), visibility 0s;
  }
  .nav__punkt--unter[data-zu] .untermenue { opacity: 0 !important; visibility: hidden !important; }
  .untermenue__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; padding: 0; }
  .untermenue__gruppe { padding: 0.75rem 0.85rem 0.3rem; }
  .untermenue__liste + .untermenue__gruppe { margin-top: 0.35rem; border-top: 1px solid var(--linie); padding-top: 0.95rem; }
  .untermenue__liste li { opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.3s var(--weich); }
  .nav__punkt--unter:hover .untermenue__liste li, .nav__punkt--unter[data-offen="ja"] .untermenue__liste li,
  html:not(.js) .nav__punkt--unter:focus-within .untermenue__liste li {
    opacity: 1; transform: none; transition: opacity 0.3s, transform 0.45s var(--weich);
    transition-delay: calc(var(--i) * 45ms + 40ms);
  }
  .untermenue__eintrag { padding: 0.85rem; border-radius: 10px; transition: background-color 0.2s, color 0.2s; }
  .untermenue__eintrag:hover, .untermenue__eintrag:focus-visible { background: rgba(255, 255, 255, 0.07); color: #fff; }
  .untermenue__eintrag:hover .zeichen, .untermenue__eintrag:focus-visible .zeichen { border-color: var(--cyan); }
  .untermenue__alle {
    min-height: 0; margin-top: 0.35rem; padding: 0.9rem 0.85rem 0.55rem;
    border-top: 1px solid var(--linie);
  }
  .untermenue__alle .pfeil { transition: transform 0.3s var(--weich); }
  .untermenue__alle:hover .pfeil { transform: translateX(4px); }
  .untermenue__alle:hover { color: var(--cyan); }
}

/* ---------- Einstieg ---------- */
.held { background: var(--midnight); color: var(--hell); }
.held__innen {
  display: grid; row-gap: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(3.5rem, 2.5rem + 5vw, 6rem);
}
.markenzeile {
  font: 600 0.8125rem/1.4 var(--schrift-titel);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
}
.held__text { max-width: 35rem; -webkit-hyphens: manual; hyphens: manual; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; }
.held__aktionen { display: grid; gap: 0.75rem; margin-top: 2rem; }
.held__aktionen .knopf { padding-inline: 1rem; }

@media (min-width: 36rem) {
  .held__aktionen { display: flex; flex-wrap: wrap; }
  .held__aktionen .knopf { padding-inline: 1.4rem; }
}
@media (min-width: 60rem) {
  .held__innen { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: end; }
  .weg { justify-self: end; width: 100%; margin-top: 0; }
}

/* ---------- Einstieg der Startseite ----------
   Wenig Text, dahinter ein Bild. Am Handy steht das Bild unter dem Text und läuft weich hinter ihn.
   Ab 960 px füllt es den ganzen Einstieg, der Text steht links. */
.held--neu {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(35rem, 100vh - var(--kopf), 54rem);
  min-height: clamp(35rem, 100svh - var(--kopf), 54rem);
}
.held__inhalt { position: relative; z-index: 2; padding-top: clamp(2.25rem, 1.6rem + 3.5vw, 4rem); }
.held--neu h1 { margin-top: 1rem; font-size: clamp(1.7rem, 8.4vw, 2.75rem); }   /* „Digitale Systeme,“ bleibt am Handy in einer Zeile */
.held__satz {
  max-width: 31rem; margin-top: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  -webkit-hyphens: manual; hyphens: manual;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.5; color: var(--hell);
}
.held--neu .held__aktionen { display: grid; gap: 0.35rem; justify-items: start; margin-top: clamp(1.4rem, 1.1rem + 1.4vw, 2.25rem); }
.held--neu .held__aktionen .knopf { width: 100%; }
.held__weiter {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding-right: 0.5rem;
  font-weight: 600; color: #fff; text-decoration: none;
}
.held__weiter .pfeil { color: var(--cyan); transition: transform 0.3s var(--weich); }
.held__weiter:hover { color: #fff; }
.held__weiter:hover .pfeil { transform: translateY(4px); }
@media (min-width: 36rem) {
  .held--neu h1 { font-size: clamp(2.6rem, 1rem + 3.9vw, 4.25rem); }
  .held--neu .held__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; }
  .held--neu .held__aktionen .knopf { width: auto; }
}

/* Platz für das Bild: am Handy der Rest des ersten Bildschirms unter dem Text */
.held__platz { position: relative; z-index: 1; flex: 1 1 auto; min-height: 13.5rem; margin-top: 1rem; }
.held__bildflaeche {
  position: absolute; inset: -9rem 0 0 0; animation: erscheinen 1.1s ease 0.15s both;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.55) 24%, #000 44%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.55) 24%, #000 44%);
}
.held__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.held__schleier { position: absolute; z-index: 2; inset: 0; pointer-events: none; }

/* Ab 960 px und auf dem Handy im Querformat: Text links, das Bild füllt den Einstieg */
@media (min-width: 60rem), (min-width: 36rem) and (max-height: 32rem) {
  .held--neu { justify-content: center; }
  .held__inhalt { padding-block: 2.5rem 4rem; }
  .held--neu h1 { max-width: 46rem; }
  .held__platz { position: static; flex: none; min-height: 0; margin: 0; }
  .held__bildflaeche { inset: 0; z-index: 0; -webkit-mask-image: none; mask-image: none; }
  .held__bild { object-position: 100% var(--lage, 60%); }   /* senkrechte Lage: je Bild im Bau-Skript festgelegt */
  .held__schleier { background: linear-gradient(to right, rgba(7, 13, 36, 0.96) 0%, rgba(7, 13, 36, 0.84) 28%, rgba(7, 13, 36, 0.3) 56%, rgba(7, 13, 36, 0) 74%); }
}
/* Sehr breite Bildschirme: Das Bild wächst nicht weiter mit, sonst bliebe vom Motiv nur ein Streifen */
@media (min-width: 120rem) {
  .held__bildflaeche {
    left: auto; width: 120rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%);
  }
}
/* Handy im Querformat: wenig Höhe, deshalb alles etwas kleiner */
@media (min-width: 36rem) and (max-height: 32rem) {
  .held--neu { min-height: max(16rem, 100vh - var(--kopf)); min-height: max(16rem, 100svh - var(--kopf)); }
  .held--neu h1 { margin-top: 0.6rem; font-size: clamp(1.75rem, 4.4vw, 2.5rem); }
  .held__inhalt { padding-block: 1.1rem 1.4rem; }
  .held__satz { max-width: 25rem; margin-top: 0.6rem; font-size: 1rem; }
  .held--neu .held__aktionen { margin-top: 0.9rem; }
}

/* ---------- Abschnitt „Die vier Stufen“: Überschrift links, die Treppe zum Anfassen rechts ---------- */
.stufenkopf { display: grid; gap: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.stufenkopf .kopfzeile { margin-bottom: 0; }
.stufenkopf .weg { margin-top: 0; }
.stufenkopf .weg__bild { background-color: var(--midnight); }
.js .weg[data-sichtbar]:not(.ist-sichtbar), .js .weg[data-sichtbar]:not(.ist-sichtbar) * { animation-play-state: paused; }
@media (min-width: 60rem) {
  .stufenkopf { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: end; }
  .stufenkopf .weg { justify-self: end; width: 100%; }
}

/* Einstieg der Unterseiten */
.pfad { padding-top: 1.5rem; font-size: 0.9375rem; color: var(--hell-leise); }
.pfad ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.pfad li + li::before { content: "/"; margin-right: 0.6rem; color: var(--feldrand); }
.pfad a { color: var(--hell-leise); text-decoration: none; }
@media (max-width: 59.99rem) {   /* größere Tippflächen für Links im Text, ohne dass sich etwas verschiebt */
  .pfad a, .textlink, .formular__hinweis a, .rechtstext a, .kontaktwege a { padding-block: 0.8rem; }
  /* Rechtstexte: Kontaktzeilen und Links liegen dicht untereinander. Als eigener Block wächst die Zeile mit, und die Tippflächen überdecken sich nicht. */
  .rechtstext a { display: inline-block; padding-block: 0.55rem; }
  /* Der Pfad liegt über der Zeile darunter, damit die ganze Tippfläche seiner Links wirkt; kurze Links wie „Start“ werden breiter */
  .pfad { position: relative; z-index: 1; }
  .pfad a { padding-inline: 0.5rem; margin-inline: -0.5rem; }
}
.pfad a:hover { color: #fff; text-decoration: underline; }
.pfad [aria-current] { color: #fff; pointer-events: none; }   /* reiner Text: verdeckt bei Umbruch nicht die Tippfläche der Links darüber */
.pfadzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 2rem; }
.pfadzeile .stufe { padding-top: 1.5rem; }
.held--seite .held__innen { padding-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); align-items: center; }
.held--seite h1 { margin-top: 1.5rem; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); }
.held--seite .held__text { margin-top: 1.5rem; }
.held__marke { display: flex; align-items: center; gap: 1rem; }
.held__marke strong { display: block; font: 600 1.0625rem/1.3 var(--schrift-titel); color: #fff; }
.held__marke span span { display: block; font-size: 0.9375rem; color: var(--cyan); }
@media (min-width: 60rem) {
  .held--seite .held__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
}

/* ---------- Der Weg: vier Stufen und der Punkt aus dem Logo ----------
   Eine Treppe auf Rasterpapier. Jede Stufe ist vier Rasterzeilen höher. Beim Laden steigen
   die Stufen auf, dann läuft der Punkt hinauf. Mit der Maus zeigt jede Stufe ihre Erklärung, ein Klick öffnet die Seite.
   Ohne Maus ist die Treppe ein Bild. */
.weg { position: relative; margin-top: clamp(1.25rem, 0.75rem + 2.5vw, 2rem); }
@media (max-width: 35.99rem) { .weg__bild { overflow-x: clip; } }      /* reicht dort von Rand zu Rand: Der Ring um den Punkt bleibt im Bild */
.weg__titel { font: 600 1rem/1.3 var(--schrift-titel); letter-spacing: 0; color: #fff; }
.weg__titel { position: absolute; left: 0; top: 0.75rem; z-index: 2; max-width: 11rem; margin: 0; animation: erscheinen 0.6s ease 0.4s both; }
.rasterlicht { display: none; }
.weg__bild {
  --raster: 0.82rem; --zeile: var(--raster);
  position: relative; height: calc(var(--raster) * 21 + 1px); margin-inline: calc(-1 * var(--rand));
}
.weg__stufen {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 12.5% 100%, 100% var(--raster);
  background-position: 0 100%;
  animation: erscheinen 0.7s ease 0.3s both;
}
.weg__stufe {
  position: relative; grid-column: var(--n); grid-row: 1; container-type: inline-size;
  height: calc(var(--raster) * (6 + (var(--n) - 1) * 4));
  animation: stufe 0.75s var(--weich) both; animation-delay: calc(0.5s + (var(--n) - 1) * 0.13s);
  transition: filter 0.35s;
}
.weg__stufe:nth-child(1) { background: #0B1640; }
.weg__stufe:nth-child(2) { background: #122C73; }
.weg__stufe:nth-child(3) { background: #1A45AB; }
.weg__stufe:nth-child(4) { background: #2563EB; }
.weg__stufe::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cyan); }
.weg__stufe::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 3px; height: calc(var(--raster) * 4 + 3px); background: var(--cyan);
}
.weg__stufe:first-child::after { display: none; }
.weg__stufe a {
  display: grid; align-content: start; justify-content: start; gap: 0.2rem;
  height: 100%; padding: 0.7rem 0.25rem 0.4rem 0.55rem;
  color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.weg__schritt { font: 600 0.875rem/1.25 var(--schrift-titel); font-size: clamp(0.6875rem, 13.8cqw, 0.9375rem); }
.weg__bereich { font-size: 0.8125rem; font-size: clamp(0.6875rem, 13.8cqw, 0.8125rem); line-height: 1.3; color: var(--hell); }
.weg__stufe:nth-child(4) .weg__bereich { color: #fff; }
.weg__stufe .pfeil { display: none; }
.weg[data-aktiv] .weg__stufe { filter: brightness(0.7); }
.weg[data-aktiv] .weg__stufe.ist-aktiv { filter: brightness(1.14); }
.weg__ziel {
  position: absolute; right: 1.6rem; top: 0; z-index: 2;
  display: flex; align-items: center; height: 1rem; margin: 0;
  font: 600 0.9375rem/1.3 var(--schrift-titel); color: #fff; white-space: nowrap;
  animation: erscheinen 0.5s ease 3.05s both;
}
.weg__ziel::before {
  content: ""; position: absolute; right: calc(-1.1rem - 1.5px); top: 1rem; width: 3px;
  height: calc(var(--raster) * 3 - 1rem + 3px); background: var(--cyan);
  transform-origin: bottom; animation: wachsen 0.12s linear 2.98s both;
}
.weg__punkt {
  display: block; position: absolute; z-index: 3;
  left: var(--x, calc(100% - 0.5rem)); bottom: var(--y, calc(var(--raster) * 21 - 0.5rem));
  width: 1rem; height: 1rem; margin: 0 0 -0.5rem -0.5rem; border-radius: 50%; background: #fff;
  animation: lauf 1.9s linear 1.2s both, erscheinen 0.2s linear 1.2s both;
  transition: left 0.55s var(--weich), bottom 0.55s var(--weich);
}
.weg__punkt.ist-da { animation: none; }
.weg__punkt::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff;
  opacity: 0; animation: puls 1.1s ease-out 3.1s backwards;      /* danach wieder klein: Der Ring ragt am Handy sonst dauerhaft über den Rand */
}
.weg[data-aktiv="1"] .weg__punkt { --x: 12.5%; --y: calc(var(--raster) * 6); }
.weg[data-aktiv="2"] .weg__punkt { --x: 37.5%; --y: calc(var(--raster) * 10); }
.weg[data-aktiv="3"] .weg__punkt { --x: 62.5%; --y: calc(var(--raster) * 14); }
.weg[data-aktiv="4"] .weg__punkt { --x: 87.5%; --y: calc(var(--raster) * 18); }

/* Erklärung zur Stufe unter der Maus */
.weg__info { margin-top: 1rem; min-height: 4.75rem; }
html:not(.js) .weg__info { display: none; }
.weg__text { -webkit-hyphens: manual; hyphens: manual; color: var(--hell-leise); }
.weg[data-aktiv] .weg__text { color: var(--text); }

/* Ab 576 px: feste Breite, das Bild reicht nicht mehr von Rand zu Rand */
@media (min-width: 36rem) {
  .weg { max-width: 36rem; }
  .weg__bild { --raster: 1.05rem; margin-inline: 0; }
  .weg__stufen { border-right: 1px solid rgba(255, 255, 255, 0.07); }
  .weg__titel { left: 0.9rem; top: 0.85rem; }
  .weg__stufe a { gap: 0.25rem; padding: 0.95rem 0.5rem 0.5rem 0.8rem; }
}
/* Ohne Maus ist die Treppe ein ruhiges Bild: nichts zu tippen, kein Text, der darunter wechselt.
   Die vier Bereiche stehen direkt danach zum Aufklappen. */
@media not all and (hover: hover) and (pointer: fine) {
  .weg__stufe a { pointer-events: none; }
  .weg__info { display: none; }
}
/* Mit der Maus ab 576 px: Die Erklärung steht links oben auf dem Rasterpapier, ein Klick auf die Stufe öffnet die Seite.
   Auf Geräten zum Tippen bleibt es in jeder Breite bei Erklärung und Knopf unter dem Bild. */
@media (min-width: 36rem) and (hover: hover) and (pointer: fine) {
  .weg { height: calc(1.05rem * 21 + 1px); }
  .weg__bild { position: absolute; inset: 0; height: auto; }
  .weg__info {
    position: absolute; left: 0.9rem; top: 4.15rem; z-index: 2; display: block; max-width: 13.25rem;
    min-height: 0; margin: 0; pointer-events: none;
  }
  .weg__text { font-size: 0.875rem; line-height: 1.45; animation: erscheinen 0.6s ease 3.2s both; }
  .weg[data-aktiv] .weg__text { color: var(--hell); }
  .rasterlicht { display: block; }
  /* Der Pfeil zeigt: Ein Klick auf die Stufe öffnet die Seite dazu */
  .weg__stufe .pfeil {
    display: block; position: absolute; left: 0.8rem; bottom: 0.7rem; width: 1.15rem; height: 1.15rem;
    opacity: 0.55; transition: opacity 0.3s, transform 0.35s var(--weich), color 0.3s;
  }
  .weg__stufe.ist-aktiv .pfeil { opacity: 1; color: var(--cyan); transform: translateX(4px); }
  .weg__stufe:nth-child(4).ist-aktiv .pfeil { color: #fff; }
}
@keyframes stufe { from { transform: translateY(101%); } }
@keyframes wachsen { from { transform: scaleY(0); } }
@keyframes puls { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(3); } }
@keyframes lauf {
  0% { left: 0%; bottom: calc(var(--raster) * 6); }
  17.8% { left: 25%; bottom: calc(var(--raster) * 6); }
  26% { left: 25%; bottom: calc(var(--raster) * 10); }
  43.8% { left: 50%; bottom: calc(var(--raster) * 10); }
  52% { left: 50%; bottom: calc(var(--raster) * 14); }
  69.8% { left: 75%; bottom: calc(var(--raster) * 14); }
  78% { left: 75%; bottom: calc(var(--raster) * 18); }
  94.8% { left: calc(100% - 0.5rem); bottom: calc(var(--raster) * 18); }
  100% { left: calc(100% - 0.5rem); bottom: calc(var(--raster) * 21 - 0.5rem); }
}

/* ---------- Schaubilder auf den Unterseiten ---------- */
.schema { max-width: 36rem; }
.js .schema:not(.ist-sichtbar) .schema__flaeche, .js .schema:not(.ist-sichtbar) .schema__flaeche * { animation-play-state: paused; }
@media (min-width: 60rem) { .schema { max-width: none; } }
.schema__flaeche {
  --zeile: calc(100% / 21);
  position: relative; aspect-ratio: 560 / 352.8;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  animation: erscheinen 0.7s ease 0.3s both;
}
.schema svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.schema figcaption { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--hell-leise); }
.s-kasten { fill: var(--navy); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.s-telefon { fill: #122C73; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; }
.s-blau { fill: var(--blau); }
.s-stufe2 { fill: #122C73; }
.s-stufe3 { fill: #1A45AB; }
.s-weiss { fill: #fff; }
.s-leise { fill: rgba(255, 255, 255, 0.3); }
.s-linie { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.s-text { fill: #fff; font: 600 14px var(--schrift-titel); }
.s-klein { fill: var(--hell); font: 500 13px var(--schrift-text); }
.s-gross { fill: #fff; font: 700 26px var(--schrift-titel); }
.s-mitte { dominant-baseline: central; }
/* Am Handy ist das Schaubild kleiner, die Schrift darin deshalb größer gesetzt */
@media (max-width: 35.99rem) {
  .s-text { font-size: 21px; }
  .s-klein { font-size: 21px; }
  .s-gross { font-size: 38px; }
/* Unter 390 px Breite etwas größer, damit die Beschriftung bei 13 px bleibt */
@media (max-width: 24.37rem) { .s-text, .s-klein { font-size: 23px; } }
}
.s-ein { animation: auftritt 0.7s var(--weich) both; animation-delay: var(--d, 0s); }
.schema__weg, .schema__ast {
  fill: none; stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 1;
  animation: zeichnen 1.2s var(--weich) both; animation-delay: var(--d, 0.6s);
}
.schema__punkt { fill: #fff; animation: 2s linear 1s both, erscheinen 0.25s linear 1s both; }
@keyframes lauf-web {
  0.0% { transform: translate(-140px, 92.4px); }
  27.1% { transform: translate(-77px, 92.4px); }
  66.9% { transform: translate(-77px, 0px); }
  100.0% { transform: translate(0px, 0px); }
}
.schema__punkt--web { animation-name: lauf-web, erscheinen; }
@keyframes lauf-ai {
  0.0% { transform: translate(-227.5px, 0px); }
  100.0% { transform: translate(0px, 0px); }
}
.schema__punkt--ai { animation-name: lauf-ai, erscheinen; }
@keyframes lauf-automation {
  0.0% { transform: translate(-287px, 84px); }
  67.9% { transform: translate(-35px, 84px); }
  90.6% { transform: translate(-35px, 0px); }
  100.0% { transform: translate(0px, 0px); }
}
.schema__punkt--automation { animation-name: lauf-automation, erscheinen; }
@keyframes lauf-growth {
  0.0% { transform: translate(0px, -285.6px); }
  100.0% { transform: translate(0px, 0px); }
}
.schema__punkt--growth { animation-name: lauf-growth, erscheinen; }

/* Bildmarke, die sich auf der Seite „Über Nexoravi“ aufbaut */
.marke-bau .balken { transform-box: fill-box; transform-origin: bottom; animation: balken 0.9s var(--weich) both; animation-delay: var(--d, 0.5s); }
.marke-bau .diagonale { animation: diagonale 0.9s var(--weich) 0.95s both; }
.marke-bau .punkt { transform-box: fill-box; transform-origin: center; animation: landen 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 1.6s both; }
@keyframes balken { from { transform: scaleY(0); } }
@keyframes diagonale { from { opacity: 0; transform: translate(-22px, -22px); } }
@keyframes landen { from { opacity: 0; transform: translateY(-46px); } }

/* ---------- „Auf dieser Seite“: Sprungmarken langer Seiten ----------
   Am PC eine Leiste, die unter dem Kopf stehen bleibt. Am Handy übernimmt das die feste Leiste unten. */
.ortsnav { background: var(--midnight); border-block: 1px solid var(--linie); }
.ortsnav .breite { display: flex; align-items: center; gap: 1.5rem; min-height: 3rem; }
.ortsnav__titel { flex: none; font-size: 0.875rem; color: var(--hell-leise); }
.ortsnav ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.ortsnav ul::-webkit-scrollbar { display: none; }
.ortsnav a {
  position: relative; display: flex; align-items: center; min-height: 3rem; padding: 0 0.85rem;
  font: 500 0.9375rem var(--schrift-text); color: var(--hell); text-decoration: none; white-space: nowrap;
}
.ortsnav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--weich);
}
.ortsnav a:hover, .ortsnav a[aria-current] { color: #fff; }
.ortsnav a[aria-current]::after { transform: scaleX(1); }
@media (max-width: 59.99rem) {
  .js .ortsnav { display: none; }
  .ortsnav__titel { display: none; }
}
@media (min-width: 60rem) {
  html { scroll-padding-top: calc(var(--kopf) + 3.75rem); }
  .ortsnav {
    position: sticky; top: calc(4rem + 1px); z-index: 30;
    background: rgba(7, 13, 36, 0.96);   /* fast deckend: Überschriften, die darunter durchlaufen, stören die Beschriftung nicht */
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  }
}

/* Feste Leiste am Handy: Inhalt der Seite und der Weg zur Anfrage */
.leiste { display: none; }
.blatt { display: none; }
@media (max-width: 59.99rem) {
  .js .leiste {
    display: flex; align-items: center; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 0.6rem var(--rand) calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 13, 36, 0.94); border-top: 1px solid var(--linie);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.4s var(--weich), visibility 0s linear 0.4s;
  }
  .js .leiste[data-da] { transform: none; visibility: visible; transition: transform 0.4s var(--weich), visibility 0s; }
  .leiste .knopf { flex: 1; min-height: 3rem; padding: 0.5rem 0.75rem; }
  .leiste__inhalt {
    display: inline-flex; align-items: center; gap: 0.5rem; flex: none; min-height: 3rem; padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 6px; background: transparent;
    color: #fff; font: 600 1rem var(--schrift-text); cursor: pointer;
  }
  .leiste__inhalt[hidden] { display: none; }
  .leiste__inhalt svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; }
  .js .fuss { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }

  .js .blatt {
    display: block; position: fixed; inset: 0; z-index: 60;
    background: rgba(3, 6, 18, 0.6); animation: erscheinen 0.25s ease both;
  }
  .blatt__innen {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto;
    padding: 1.25rem var(--rand) calc(1.25rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--linie); border-radius: 16px 16px 0 0; background: var(--navy);
    animation: blatt 0.4s var(--weich) both;
  }
  .blatt__titel { font: 600 1rem var(--schrift-titel); color: #fff; }
  .blatt__titel:focus { outline: none; }
  .blatt__liste { margin-top: 0.5rem; }
  .blatt__liste a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem;
    border-bottom: 1px solid var(--linie); color: var(--hell); text-decoration: none; font: 500 1.0625rem var(--schrift-text);
  }
  .blatt__liste a[aria-current] { color: #fff; font-weight: 600; }
  .blatt__liste a[aria-current]::before { content: ""; order: 2; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--cyan); }
  .blatt__zu { width: 100%; margin-top: 1.25rem; }
}
/* Quer gehaltenes Handy: Die Leiste nähme zu viel Höhe weg */
@media (max-width: 59.99rem) and (max-height: 30rem) { .js .leiste { display: none; } .js .fuss { padding-bottom: 2rem; } }
@keyframes blatt { from { transform: translateY(100%); } }

/* ---------- Abschnitte: Midnight und Deep Navy im Wechsel ---------- */
.abschnitt { --flaeche: var(--midnight); --karte: var(--navy); padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem); }
.abschnitt--navy { --flaeche: var(--navy); --karte: var(--midnight); background: var(--navy); }
.kopfzeile { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.kopfzeile p { -webkit-hyphens: manual; hyphens: manual; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.weiter { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* Die kleine Treppe zeigt, welche der vier Stufen gemeint ist */
.stufe { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.65rem; font-size: 0.9375rem; color: var(--hell-leise); }
.stufe strong { padding-left: 0.65rem; border-left: 1px solid rgba(255, 255, 255, 0.3); font: 600 0.9375rem/1.3 var(--schrift-titel); color: #fff; }

.striche { display: grid; gap: 0.6rem; }
.striche li { position: relative; padding-left: 1.6rem; }
.striche li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.75rem; height: 2px; background: var(--cyan); }
/* Häkchen statt Aufzählung: Das gehört zu diesem Bereich */
.dabei { display: grid; gap: 0.9rem; margin-top: 0.4rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.dabei__titel { font: 600 0.9375rem/1.3 var(--schrift-titel); color: var(--hell-leise); }
.dabei__liste { display: grid; gap: 0.75rem; }
.dabei__liste li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: start; color: #fff; -webkit-hyphens: manual; hyphens: manual; }
.dabei__haken { width: 1.3rem; height: 1.3rem; margin-top: 0.14em; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Leistungen: die vier Stufen links, das Feld zur gewählten Stufe rechts ----------
   Zwei Gruppen: Schwerpunkt (Stufe 1 und 2) und Ausbau (Stufe 3 und 4). */
.wahl { display: grid; gap: 1.5rem; }
.wahl__liste { display: none; }
.wahl__felder { display: grid; gap: 1.5rem; }
.wahl__gruppe { font-size: 0.9375rem; color: var(--hell-leise); }
.wahl__gruppe strong { margin-right: 0.5rem; font: 600 1rem var(--schrift-titel); color: #fff; }
.wahl__gruppe--feld:not(:first-child) { margin-top: 1rem; }
.wahl__feld {
  display: grid; gap: 1rem; align-content: start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border: 1px solid var(--linie); border-radius: 14px; background: var(--karte);
}
.wahl__zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.25rem; margin-bottom: 0.35rem; }
.wahl__kopf { display: flex; align-items: center; gap: 1rem; }
.wahl__kopf p { margin-top: 0.15rem; font-weight: 500; font-size: 0.9375rem; color: var(--cyan); -webkit-hyphens: manual; hyphens: manual; }
.wahl__aussage { margin-top: 0.5rem; font: 600 clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem)/1.25 var(--schrift-titel); color: #fff; -webkit-hyphens: manual; hyphens: manual; }
.wahl__bezug { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--hell); }   /* kurzer Vermerk, kein Knopf */
.wahl__bezug::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cyan); }
.wahl__feld .knopf { margin-top: 0.75rem; }

/* Die Zeile zum Aufklappen gibt es nur am Handy mit Skript. Sonst gehört der Inhalt direkt zum Feld. */
.klapp__titel { display: none; }
.klapp__inhalt, .klapp__rahmen, .klapp__innen { display: contents; }

/* Handy: vier Zeilen zum Aufklappen in zwei Gruppen. Der Inhalt öffnet sich direkt unter der angetippten Zeile,
   die zuvor offene Zeile schließt sich. So bleibt alles an einer Stelle, ohne weites Scrollen. */
@media (max-width: 59.99rem) {
  /* Die Seite führt das Skript beim Aufklappen selbst nach. Der Browser soll nicht zusätzlich nachführen. */
  .js, .js body, .js .wahl { overflow-anchor: none; }
  .js .wahl__felder { gap: 0.6rem; }
  .js .wahl__gruppe--feld:not(:first-child) { margin-top: 1.15rem; }
  .js .wahl__feld { display: block; padding: 0; overflow: hidden; transition: border-color 0.3s; }
  .js .wahl__feld.ist-offen { border-color: rgba(34, 211, 238, 0.6); }
  .js .klapp__titel { display: block; margin: 0; }
  .klapp__kopf {
    display: flex; align-items: center; gap: 0.9rem; width: 100%; min-height: 4.5rem; padding: 0.8rem 1rem 0.8rem 1.1rem;
    border: 0; background: none; color: #fff; font: inherit; letter-spacing: 0; text-align: left; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .klapp__kopf:focus-visible { outline-offset: -4px; border-radius: 14px; }
  .klapp__kopf .zeichen { transition: border-color 0.3s; }
  .ist-offen .klapp__kopf .zeichen { border-color: rgba(34, 211, 238, 0.7); }
  .klapp__text { flex: 1 1 auto; min-width: 0; display: grid; gap: 0.2rem; }
  .klapp__name { font: 600 1.125rem/1.2 var(--schrift-titel); font-size: clamp(1rem, 4.6vw, 1.125rem); }   /* „Nexoravi Automation“ bleibt ab 360 px in einer Zeile */
  .klapp__art { font: 400 0.875rem/1.3 var(--schrift-text); color: var(--hell-leise); }
  .klapp__zeichen {            /* Winkel im Kreis: zeigt, dass sich die Zeile öffnen und schließen lässt */
    flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; color: var(--cyan);
    transition: transform 0.4s var(--weich), background-color 0.25s, border-color 0.25s, color 0.25s;
  }
  .klapp__zeichen svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .ist-offen .klapp__zeichen { transform: rotate(180deg); background: var(--blau); border-color: var(--blau); color: #fff; }
  .js .klapp__inhalt {
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows 0.38s var(--weich), visibility 0s linear 0.38s;
  }
  .js .wahl__feld.ist-offen > .klapp__inhalt { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
  /* Zeile oberhalb der angetippten: Der Inhalt blendet aus, behält aber seinen Platz, bis die Seite still steht (main.js) */
  .js .wahl__feld.haelt > .klapp__inhalt { grid-template-rows: 1fr; }
  .js .klapp__rahmen { display: block; min-height: 0; overflow: hidden; }
  .js .klapp__innen { display: grid; gap: 0.9rem; padding: 0.15rem 1.1rem 1.25rem; }
  /* Der Inhalt blendet beim Öffnen ein und beim Schließen rasch aus: So ist nie halb abgeschnittener Text zu sehen */
  .js .klapp__innen { opacity: 0; transition: opacity 0.14s ease; }
  .js .wahl__feld.ist-offen .klapp__innen { opacity: 1; transition: opacity 0.3s ease; }   /* ohne Wartezeit: Das Feld ist beim Öffnen nie leer */
  .js .ohne-uebergang, .js .ohne-uebergang * { transition: none !important; }
  /* Stufe, Name und Symbol stehen schon in der Zeile; „Unser Schwerpunkt“ steht schon über der Gruppe */
  .js .klapp__innen .stufe, .js .klapp__innen .zeichen, .js .klapp__innen .wahl__kopf h3, .js .wahl__zeile--schwerpunkt { display: none; }
  .js .klapp__innen .wahl__zeile { margin: 0; }
  .js .klapp__innen .wahl__kopf p { margin-top: 0; }
  .js .klapp__innen .wahl__aussage { margin-top: 0; font-size: 1.25rem; }
  .js .klapp__innen .knopf { width: 100%; margin-top: 0.35rem; }
}
@media (max-width: 23.4rem) {   /* schmale Handys: etwas enger, damit Name und Stufe in je einer Zeile bleiben */
  .klapp__kopf { gap: 0.7rem; padding-inline: 0.85rem; }
  .klapp__kopf .zeichen { width: 2.5rem; height: 2.5rem; }
  .klapp__zeichen { width: 2rem; height: 2rem; }
}

@media (min-width: 60rem) {
  .wahl { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3.5rem; align-items: start; }
  .wahl__liste { position: relative; display: block; }
  .js .wahl__liste::before {
    content: ""; position: absolute; left: 0; top: 0; width: 3px; height: var(--wahl-h, 0);
    background: var(--cyan); transform: translateY(var(--wahl-y, 0));
    transition: transform 0.5s var(--weich), height 0.5s var(--weich);
  }
  .wahl__liste .wahl__gruppe { padding-bottom: 0.75rem; }
  .wahl__liste ol { border-top: 1px solid var(--linie); }
  .wahl__liste ol + .wahl__gruppe { margin-top: 2.25rem; }
  .wahl__liste li { border-bottom: 1px solid var(--linie); }
  .wahl__eintrag {
    display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1rem 1.15rem 1.5rem; text-decoration: none;
    color: rgba(255, 255, 255, 0.5); transition: color 0.3s, padding-left 0.45s var(--weich);
  }
  /* vor dem Namen steht das Symbol des Bereichs, dasselbe wie im Menü und im Kopf der Bereichsseite */
  .wahl__eintrag .zeichen { width: 3rem; height: 3rem; opacity: 0.6; transition: border-color 0.3s, opacity 0.3s; }
  .wahl__eintrag .zeichen svg { width: 1.5rem; height: 1.5rem; }
  .wahl__eintrag::after {
    content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-left: auto;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    transform: rotate(45deg); opacity: 0.45; transition: opacity 0.3s, transform 0.35s var(--weich), border-color 0.3s;
  }
  .wahl__eintrag:hover::after, .wahl__eintrag.ist-aktiv::after { opacity: 1; border-color: var(--cyan); transform: translateX(3px) rotate(45deg); }
  .wahl__eintrag.ist-aktiv { background: rgba(255, 255, 255, 0.045); }
  .wahl__name { display: block; font: 600 1.5rem/1.2 var(--schrift-titel); }
  .wahl__art { display: block; margin-top: 0.3rem; font-size: 0.9375rem; color: var(--hell-leise); transition: color 0.3s; }
  .wahl__eintrag:hover, .wahl__eintrag.ist-aktiv { color: #fff; padding-left: 2rem; }
  .wahl__eintrag:hover .zeichen, .wahl__eintrag.ist-aktiv .zeichen { opacity: 1; border-color: var(--cyan); }
  .wahl__eintrag.ist-aktiv .wahl__art { color: var(--cyan); }
  .wahl__felder { gap: 0; }
  .js .wahl__gruppe--feld { display: none; }
  .js .wahl__feld {
    grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity 0.3s, transform 0.5s var(--weich), visibility 0s linear 0.3s;
  }
  .js .wahl__feld.ist-aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s 0.08s, transform 0.55s var(--weich) 0.08s, visibility 0s; }
  html:not(.js) .wahl__felder { gap: 1.5rem; }
}

/* ---------- Arbeitsweise und Zusagen ---------- */
.prinzipien { display: grid; gap: 2.25rem; }
.prinzip p { margin-top: 0.75rem; max-width: 34rem; }
@media (min-width: 48rem) {
  .prinzipien { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; }
  .prinzipien--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
}

/* Die vier Zusagen stehen auf einem blauen Feld, wie die blauen Kacheln bei Instagram. */
.zusagen-feld {
  margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: 14px; background: var(--blau); color: #fff;
}
.zusagen-feld--oben { margin-top: 0; }
.zusagen { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.zusage { display: grid; gap: 0.3rem; align-content: start; }
.zusage dt {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: start;
  font: 600 1.125rem/1.35 var(--schrift-titel); color: #fff;
}
.haken { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.haken path { stroke-dasharray: 1; }
.js .zusagen-feld .haken { opacity: 0.4; }
.js .zusagen-feld.ist-sichtbar .haken { opacity: 1; transition: opacity 0.3s; }
.js .zusagen-feld.ist-sichtbar .haken path { animation: zeichnen 0.55s var(--weich) both; animation-delay: calc(var(--i) * 0.17s + 0.1s); }
.zusage dd { padding-left: 1.95rem; }
@media (min-width: 48rem) {
  .zusagen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3.5rem; margin-top: 2rem; }
}

/* ---------- Ablauf: Die Linie läuft durch, sobald die Schritte im Bild sind ----------
   Danach bleibt alles gefüllt. Am PC liegt die Linie quer, am Handy läuft sie von oben nach unten.
   Die Maus hebt den Schritt hervor, auf dem sie steht, und nimmt nichts zurück. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 1; }
.ablauf { --p: 1; position: relative; transition: --p var(--ablauf-dauer, 0.4s) linear; }
.ablauf__schritte { display: grid; counter-reset: schritt; }
.schritt { --f: 100%; position: relative; padding: 0 0 2rem 3.5rem; counter-increment: schritt; }
.schritt:last-child { padding-bottom: 0; }
.schritt::before {
  content: counter(schritt); position: absolute; left: 0; top: -0.2rem; z-index: 1;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--cyan); color: var(--midnight);
  font: 700 1rem/2.25rem var(--schrift-titel); text-align: center;
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s, transform 0.35s var(--weich);
}
.schritt::after {
  content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.35rem; bottom: 0.3rem; width: 2px;
  background: linear-gradient(var(--cyan), var(--cyan)) top / 100% var(--f) no-repeat, rgba(255, 255, 255, 0.2);
  transition: background-size 0.48s linear;
}
.schritt:last-child::after { display: none; }
.schritt p { margin-top: 0.5rem; }
.schritt h3, .schritt p { transition: opacity 0.35s; }
.ablauf--laeuft .schritt:not(.ist-aktiv) { --f: 0%; }
.ablauf--laeuft .schritt:not(.ist-aktiv)::before {
  background: var(--flaeche); color: var(--hell-leise); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.ablauf--laeuft .schritt.ist-aktiv::before { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0.16); animation: knoten 0.55s var(--weich); }
.ablauf--laeuft .schritt:not(.ist-aktiv) h3, .ablauf--laeuft .schritt:not(.ist-aktiv) p { opacity: 0.5; }
@media (min-width: 60rem) {
  .ablauf__schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.5rem; }
  .ablauf::before, .ablauf::after {
    content: ""; position: absolute; top: calc(1.125rem - 1.5px); height: 3px; border-radius: 2px;
    left: 1.125rem; right: calc(25% - 3rem);
  }
  .ablauf::before { background: rgba(255, 255, 255, 0.16); }
  .ablauf::after { background: var(--cyan); transform: scaleX(var(--p)); transform-origin: left; }
  .schritt, .schritt:last-child { padding: 3.5rem 1rem 0 0; cursor: default; }
  .schritt::before { top: 0; }
  .schritt::after { display: none; }
}
@media (min-width: 60rem) and (hover: hover) {
  .schritt p { transition: opacity 0.35s, color 0.3s; }
  .ablauf--fertig .schritt:hover::before { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.26); transform: scale(1.12); }
  .ablauf--fertig .schritt:hover p { color: #fff; }
}
@keyframes knoten { 0% { transform: scale(0.8); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* Kurze Folge mit drei Schritten (Kontakt, Danke) */
.folge { display: grid; gap: 1.25rem; counter-reset: folge; }
.folge li { position: relative; padding-left: 3rem; counter-increment: folge; }
.folge li::before {
  content: counter(folge); position: absolute; left: 0; top: 0.05rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--cyan); color: var(--midnight);
  font: 700 0.9375rem/2rem var(--schrift-titel); text-align: center;
}
.folge strong { display: block; font: 600 1.0625rem/1.35 var(--schrift-titel); color: #fff; }

/* ---------- Spalten mit Linie oben: Zielgruppen, Ausgangslagen ---------- */
.gruppen { display: grid; gap: 2rem; }
.gruppe { padding-top: 1rem; border-top: 2px solid var(--blau); }
.gruppe p { margin-top: 0.5rem; }
/* Links, die weiterführen, als Knöpfe mit Pfeil */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9375rem; }
.gruppe__links { margin-top: 1.1rem; }
.chips a {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.35rem 0.85rem 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  font-weight: 600; color: #fff; text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
.chips .pfeil { color: var(--cyan); width: 1rem; height: 1rem; }
.chips a:hover { border-color: var(--cyan); background: rgba(255, 255, 255, 0.06); color: #fff; }
.chips a:hover .pfeil { transform: translateX(3px); }
/* Am Handy stehen die beiden Bereiche einer Zielgruppe nebeneinander: dort genügt das kurze Wort (Growth, Web …) */
@media (max-width: 59.99rem) { .gruppe__links .chips__marke { display: none; } }
/* „Baut auf“: Verweis von Stufe 3 und 4 auf die beiden Schwerpunkt-Stufen */
.anschluss { display: grid; gap: 0.5rem; margin-top: 1.4rem; }
.anschluss__titel { font-size: 0.9375rem; color: var(--hell-leise); }
@media (min-width: 40rem) { .anschluss { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; } }
@media (min-width: 40rem) { .gruppen { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }
@media (min-width: 64rem) {
  .gruppen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gruppen--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; }
}

/* ---------- Was wir übernehmen: große Karten mit bewegtem Schaubild, darunter kleine mit Symbol ----------
   Die Karten führen nirgends hin, deshalb heben sie sich bei Maus darüber nicht.
   Das Schaubild spielt bei Maus darüber erneut ab, zusätzlich gibt es dafür einen Knopf. */
.nutzen { display: grid; gap: 1.25rem; }
.nutzen__gross, .nutzen__klein { display: grid; gap: 1.25rem; }
.nutzen__karte {
  display: grid; gap: 0.55rem; align-content: start; padding: 1.5rem;
  border: 1px solid var(--linie); border-radius: 14px; background: var(--karte);
  transition: border-color 0.3s;
}
.nutzen__karte:hover { border-color: rgba(255, 255, 255, 0.26); }
.nutzen__karte h3 { font-size: 1.1875rem; line-height: 1.3; }
.nutzen__karte h3, .nutzen__karte p { -webkit-hyphens: manual; hyphens: manual; }
.nutzen__karte .zeichen { margin-bottom: 0.6rem; transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.45s var(--weich); }
.nutzen__karte:hover .zeichen { background: var(--blau); border-color: var(--blau); color: #fff; transform: scale(1.08); }
.nutzen__karte:hover .zeichen svg * { animation: zeichnen 0.85s var(--weich); }
@keyframes zeichnen { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
.nutzen__karte--klein > div { display: grid; gap: 0.55rem; align-content: start; min-width: 0; }
.nutzen__karte--gross { padding: 1.1rem 1.1rem 1.75rem; }
.nutzen__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.9rem; padding-inline: 0.6rem; }
.nutzen__karte--gross h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); }
.nutzen__karte--gross p { padding-inline: 0.6rem; }
.nochmal { display: none; width: 2.25rem; height: 2.25rem; margin-top: -0.15rem; }
.js .nochmal { display: inline-grid; }
.nochmal svg { transition: transform 0.6s var(--weich); }
.nochmal:hover svg, .spult .nochmal svg { transform: rotate(-200deg); }
@media (prefers-reduced-motion: reduce) { .js .nochmal { display: none; } }
.nutzen__buehne {
  --zeile: 10%;
  position: relative; aspect-ratio: 320 / 170; margin-bottom: 0.9rem; overflow: hidden;
  border-radius: 9px; background-color: var(--flaeche);
}
.nutzen__ruf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 1.25rem; padding: 1.4rem 1.75rem; border: 1px solid var(--linie); border-radius: 14px;
}
.nutzen__frage { font: 600 1.1875rem/1.3 var(--schrift-titel); color: #fff; }
.nutzen__frage + p { margin-top: 0.3rem; }

/* Steuerung der Wisch-Reihe: nur am Handy */
.reihe-steuerung { display: none; align-items: center; justify-content: center; gap: 1.25rem; }
.reihe-punkte { display: flex; gap: 0.55rem; }
.reihe-punkte span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: background-color 0.3s, transform 0.3s; }
.reihe-punkte span.ist-aktiv { background: var(--cyan); transform: scale(1.35); }

/* Handy: die großen Karten als Reihe zum Wischen, die kleinen als Zeilen mit Symbol links */
@media (max-width: 39.99rem) {
  .nutzen { gap: 1rem; }
  .nutzen__karte--gross { padding: 0 0 1.4rem; }
  .nutzen__karte--gross .nutzen__buehne { border-radius: 13px 13px 0 0; margin-bottom: 1rem; }
  .nutzen__kopf, .nutzen__karte--gross p { padding-inline: 1.15rem; }
  .nochmal { width: 2.5rem; height: 2.5rem; margin-top: -0.25rem; }
  .nutzen__klein { gap: 0.75rem; }
  .nutzen__karte--klein { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; padding: 1.15rem; }
  .nutzen__karte--klein .zeichen { margin-bottom: 0; }
  .nutzen__karte--klein > div { gap: 0.3rem; }
  .nutzen__karte--klein h3, .nutzen__karte--klein p { -webkit-hyphens: auto; hyphens: auto; }
  .js .nutzen__gross {
    position: relative; display: flex; gap: 0.75rem; overflow-x: auto; overscroll-behavior-x: contain;
    --reihenrand: max(0px, min(var(--rand), (100vw - 320px) / 2));
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--reihenrand);
    margin-inline: calc(-1 * var(--rand)); padding-inline: var(--reihenrand);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .js .nutzen__gross::-webkit-scrollbar { display: none; }
  /* mindestens 320 px breit: so bleibt die Schrift im Schaubild bei 13 px, auf schmalen Handys reicht die Karte dafür von Rand zu Rand */
  .js .nutzen__gross > .nutzen__karte { flex: 0 0 min(100vw, max(320px, 90%)); scroll-snap-align: start; scroll-snap-stop: always; }
  .js .reihe-steuerung { display: flex; }
  .nutzen__ruf { padding: 1.25rem; }
  .nutzen__ruf .knopf { width: 100%; }
}
@media (min-width: 40rem) {
  .nutzen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nutzen__gross, .nutzen__klein { display: contents; }
}
@media (min-width: 60rem) {
  .nutzen { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .nutzen__karte--gross { grid-column: span 6; }
  .nutzen--k4 .nutzen__karte--klein { grid-column: span 6; }
  .nutzen--k3 .nutzen__karte--klein { grid-column: span 4; }
}
/* Schmale Bildschirme mit drei großen Karten: die dritte liegt quer darunter */
@media (min-width: 60rem) and (max-width: 71.99rem) {
  .nutzen--g3 .nutzen__karte--gross:nth-child(3) {
    grid-column: span 12; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; align-items: center;
  }
  .nutzen--g3 .nutzen__karte--gross:nth-child(3) .nutzen__buehne { grid-row: span 2; margin-bottom: 0; }
  .nutzen--g3 .nutzen__karte--gross:nth-child(3) .nutzen__kopf { align-self: end; }
  .nutzen--g3 .nutzen__karte--gross:nth-child(3) p { align-self: start; }
}
@media (min-width: 72rem) {
  .nutzen--k4 .nutzen__karte--klein { grid-column: span 3; }
  .nutzen--g3 .nutzen__karte--gross { grid-column: span 4; }
  .nutzen--g3 .nutzen__karte--gross h3 { font-size: 1.25rem; }
}

/* Die Schaubilder: Ruhezustand ohne Klasse, Ablauf mit „ist-an“ */
.szene { --gleiten: cubic-bezier(0.6, 0, 0.3, 1); position: absolute; inset: 0; width: 100%; height: 100%; }
.szene * { transition: transform 0.7s var(--weich), opacity 0.45s, fill 0.45s, stroke 0.45s, stroke-dashoffset 0.9s var(--weich); }
.z-rahmen { fill: var(--navy); stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.2; }
.z-block { fill: #1B3A8C; }
.z-blau { fill: var(--blau); }
.z-weiss { fill: #fff; }
.z-cyanf { fill: var(--cyan); }
.z-loch { fill: var(--navy); }
.z-leise { fill: rgba(255, 255, 255, 0.3); }
.z-halb { fill: rgba(255, 255, 255, 0.6); }
.z-schild { fill: rgba(255, 255, 255, 0.22); }
.z-blass { opacity: 0.4; }
.z-strich { fill: none; stroke: rgba(255, 255, 255, 0.42); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.z-wstrich { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.z-cyan { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.z-zug { stroke-dasharray: 1; stroke-dashoffset: 1; }
.z-text { fill: #fff; font: 600 13.5px var(--schrift-titel); }
.z-gross { font-size: 18px; font-weight: 700; }
.z-klein { fill: var(--hell); font: 500 13.2px var(--schrift-text); }
.z-tag { fill: #fff; font-size: 13.2px; }
.z-handy, .z-ki, .z-nadel { transform-box: fill-box; transform-origin: center; }
.z-nadel { transform-origin: 50% 100%; }
.z-glas { fill: rgba(34, 211, 238, 0.1); stroke: #fff; stroke-width: 2; }
.z-griff { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; }
.szene .z-lupe { transition: transform 1.6s var(--gleiten); }
.z-haken, .z-neu, .z-chip, .z-anfrage { opacity: 0; }
.z-leer { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.2; stroke-dasharray: 3 3; }
.z-chip { fill: var(--cyan); }
.z-knopf { fill: rgba(255, 255, 255, 0.85); }
.szene .z-p { transition: transform 1.1s var(--gleiten); }
.z-zeiger { fill: #fff; stroke: var(--midnight); stroke-width: 1; stroke-linejoin: round; }
.szene .z-zeiger { transition: transform 0.9s var(--gleiten); }
.szene .z-chip { transition: transform 0.8s var(--gleiten), opacity 0.3s; }
.spult .szene * { transition-duration: 0.22s !important; transition-delay: 0s !important; }
.szene .z-feed { transition: transform 1s var(--gleiten); }

.z-frage { fill: rgba(255, 255, 255, 0.16); }
.z-chat { fill: #fff; font: 500 13.2px var(--schrift-text); }
.z-cyantext { fill: var(--cyan); }
.z-wahl { fill: none; stroke: var(--cyan); stroke-width: 1.4; }
.z-dunkel { fill: var(--midnight); font: 700 13.2px var(--schrift-text); }
.z-kauf { fill: rgba(255, 255, 255, 0.22); }
.z-tippen, .z-antwort, .z-korb, .z-ein { opacity: 0; }
.szene .z-korb { transition: transform 0.75s var(--gleiten), opacity 0.25s; }
@keyframes tippen { 0% { opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { opacity: 0; } }

.ist-an .z-zug { stroke-dashoffset: 0; }
.ist-an .z-ein, .ist-an .z-antwort, .ist-an .z-korb { opacity: 1; }
.ist-an .z-w3 { transition-delay: 0.3s; }
.ist-an .z-w5 { transition-delay: 0.5s; }
.ist-an .z-w9 { transition-delay: 0.9s; }
.ist-an .z-w11 { transition-delay: 1.1s; }
.ist-an .z-w13 { transition-delay: 1.3s; }
.ist-an .z-w15 { transition-delay: 1.5s; }
.ist-an .z-w17 { transition-delay: 1.7s; }
.ist-an .z-tippen { animation: tippen 1.05s 0.25s both; }
.ist-an .z-antwort { transition-delay: 1.3s; }
.ist-an .z-kauf2 { fill: var(--cyan); transition-delay: 0.8s; }
.ist-an .z-korb { transform: translate(95px, -50px); transition-delay: 0.95s; }
.ist-an .z-v2 { transition-delay: 0.15s; }
.ist-an .z-v3 { transition-delay: 0.3s; }
.ist-an .z-v4 { transition-delay: 0.85s; }
.ist-an .z-pc { opacity: 0.4; }
.ist-an .z-handy { transform: scale(1.07); transition-delay: 0.2s; }
.ist-an .z-handy .z-block { fill: var(--blau); }
.ist-an .z-n1 { transition-delay: 0.25s; }
.ist-an .z-n2 { transition-delay: 0.35s; }
.ist-an .z-n3 { transition-delay: 0.45s; }
.ist-an .z-n4 { transition-delay: 0.55s; }
.ist-an .z-treffer { transform: translateY(-6px); }
.ist-an .z-karte { stroke: var(--cyan); stroke-width: 2.2; }
.ist-an .z-nadel { transform: translateY(-4px) scale(1.18); }
.ist-an .z-lupe { transform: translateX(224px); }
.ist-an .z-fund { fill: var(--cyan); }
.ist-an .z-haken { opacity: 1; }
.ist-an .z-f1 { transition-delay: 0.5s; }
.ist-an .z-f2 { transition-delay: 0.9s; }
.ist-an .z-ki { transform: scale(1.09); transition-delay: 0.6s; }
.ist-an .z-p1 { transform: translate(162px, 45px); }
.ist-an .z-p2 { transform: translate(162px, 45px); transition-delay: 0.2s; }
.ist-an .z-p3 { transform: translate(162px, -90px); transition-delay: 0.4s; }
.ist-an .z-quelle { fill: var(--blau); }
.ist-an .z-chip { opacity: 1; transform: translateX(158px); }
.ist-an .z-neu { opacity: 1; }
.ist-an .z-leer { opacity: 0; transition-delay: 0.6s; }
.ist-an .z-r1 { transition-delay: 0.7s; }
.ist-an .z-r3 { transition-delay: 0.9s; }
.ist-an .z-zeiger { transform: translate(-44px, -62px); }
.ist-an .z-zeiger2 { transform: translate(-166px, -10px); }
.ist-an .z-karte2 { stroke: var(--cyan); stroke-width: 2.6; transition-delay: 0.7s; }
.ist-an .z-feed { transform: translateY(-44px); }
.ist-an .z-knopf { fill: var(--cyan); transition-delay: 0.6s; }
.ist-an .z-anfrage { opacity: 1; transition-delay: 1.05s; }

/* ---------- Häufige Fragen ---------- */
.fragen-block { display: grid; gap: 2rem; }
.fragen-block__text p { margin-top: 1rem; max-width: 22rem; }
.fragen-block__text a { white-space: nowrap; }
@media (min-width: 60rem) { .fragen-block { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 3.5rem; } }
.fragen { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font: 600 1.125rem/1.35 var(--schrift-titel); color: #fff; transition: color 0.2s;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--cyan); }
.frage__zeichen { position: relative; flex: none; width: 1.125rem; height: 1.125rem; }
.frage__zeichen::before, .frage__zeichen::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--cyan); transition: transform 0.4s var(--weich);
}
.frage__zeichen::after { transform: rotate(90deg); }
.frage[open] .frage__zeichen::after { transform: rotate(0deg); }
.frage__antwort { max-width: 40rem; padding: 0 2.5rem 1.5rem 0; }
.frage::details-content { height: 0; overflow: hidden; transition: height 0.45s var(--weich), content-visibility 0.45s allow-discrete; }
.frage[open]::details-content { height: auto; }

/* ---------- Karten: weitere Bereiche ---------- */
.karten { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.karte {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; padding: 1.75rem;
  border: 1px solid var(--linie); border-radius: 14px; background: var(--karte);
  color: var(--text); text-decoration: none;
  transition: transform 0.45s var(--weich), border-color 0.3s;
}
.karte:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.26); }
.karte:hover .zeichen { border-color: var(--cyan); }
@media (hover: hover) { .karte:hover { transform: translateY(-5px); } }
.karte__pfeil {
  display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; color: var(--cyan);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
@media (hover: hover) { .karte:hover .karte__pfeil { background: var(--blau); border-color: var(--blau); color: #fff; } }
.karte:hover .karte__pfeil .pfeil { transform: translateX(3px); }
.karte { position: relative; }
.karte__stufe { display: block; font-size: 0.875rem; color: var(--hell-leise); }
.karte__stufe + strong { margin-top: 0.2rem; }
.karte strong { display: block; margin-top: 0.4rem; font: 600 1.25rem/1.25 var(--schrift-titel); color: #fff; }
.karte__art { font-size: 0.9375rem; font-weight: 500; color: var(--cyan); }
/* Handy: oben Symbol und Stufe in einer Zeile, darunter Name und Art, unten Leitsatz und Pfeil */
@media (max-width: 47.99rem) {
  .karten { gap: 0.75rem; }
  .karte { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 0.9rem; padding: 1.15rem; }
  .karte > .zeichen { grid-column: 1; grid-row: 1; width: 2.75rem; height: 2.75rem; }
  .karte > .zeichen svg { width: 1.35rem; height: 1.35rem; }
  .karte > .karte__kopf { display: contents; }
  .karte .karte__stufe { grid-column: 2; grid-row: 1; line-height: 1.35; }
  .karte .karte__kopf strong { grid-column: 1 / -1; grid-row: 2; margin-top: 0.9rem; font-size: 1.1875rem; }
  .karte .karte__art { grid-column: 1 / -1; grid-row: 3; margin-top: 0.2rem; line-height: 1.4; }
  .karte > .karte__aussage { grid-column: 1 / 3; grid-row: 4; align-self: end; margin-top: 0.6rem; }
  .karte > .karte__pfeil { grid-column: 3; grid-row: 4; align-self: end; margin: 0; }
}

/* ---------- Anfrage und Formular ---------- */
.kontakt { display: grid; gap: 2.5rem; }
.kontakt__text h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); }
.kontakt__text > p { -webkit-hyphens: manual; hyphens: manual; margin-top: 1rem; max-width: 30rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.kontaktwege { display: grid; gap: 1.1rem; margin-top: 2rem; }
.kontaktwege dt { font-size: 0.9375rem; color: var(--hell-leise); }
.kontaktwege dd { font: 600 1.125rem/1.4 var(--schrift-titel); color: #fff; }
.kontaktwege a { color: inherit; text-decoration-color: var(--cyan); }
.kontaktwege a:hover { color: var(--cyan); }
.kontakt__folge { margin-top: 2.5rem; }
.kontakt__folge h2 { margin-bottom: 1.25rem; font-size: 1.25rem; letter-spacing: 0; }
@media (min-width: 60rem) {
  .kontakt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; align-items: start; }
}

.formular {
  --feld: var(--flaeche);
  display: grid; gap: 1.25rem;
  padding: clamp(1.25rem, 0.9rem + 2vw, 2.25rem);
  border: 1px solid var(--linie); border-radius: 14px; background: var(--karte);
}
.formular__felder { display: grid; gap: 1.25rem; }
.formular__reihe { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .formular__reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feld { display: grid; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.feld label, .feld legend { padding: 0; font-weight: 600; font-size: 0.9375rem; color: #fff; }
.feld legend { margin-bottom: 0.4rem; }
.feld .frei { font-weight: 400; color: var(--hell-leise); }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
  border: 1px solid var(--feldrand); border-radius: 6px;
  background: var(--feld); color: #fff; font: inherit;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.feld textarea { min-height: 8.5rem; resize: vertical; }
.feld input:hover, .feld textarea:hover { border-color: var(--hell-leise); }
.feld input:focus-visible, .feld textarea:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.35); }
.feld input:-webkit-autofill {
  -webkit-text-fill-color: #fff; caret-color: #fff;
  box-shadow: 0 0 0 100px var(--feld) inset;
}
.feld [aria-invalid="true"] { border-color: var(--fehler); border-width: 2px; }
.feld__fehler { font-size: 0.9375rem; color: var(--fehler); }

.auswahl { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.auswahl label {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  border: 1px solid var(--feldrand); border-radius: 6px; background: var(--feld);
  font-weight: 500; cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.auswahl label:hover { border-color: var(--hell-leise); }
.auswahl input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--cyan); }
.auswahl label:has(input:checked) { border-color: var(--cyan); background: #0D2A52; }

.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { font-size: 0.9375rem; }
.formular .knopf { justify-self: start; }

.meldung { padding: 1rem 1.1rem; border: 1px solid var(--feldrand); border-radius: 6px; background: var(--feld); }
.meldung strong { display: block; font: 600 1.125rem/1.35 var(--schrift-titel); color: #fff; }
.meldung p { margin-top: 0.4rem; }
.meldung .knopf { margin-top: 1rem; }
.meldung--fehler { border-color: var(--fehler); }

/* ---------- Fuß ---------- */
.fuss { padding-block: 3.5rem 2rem; background: var(--midnight); border-top: 1px solid var(--linie); color: var(--hell-leise); font-size: 0.9375rem; }
.fuss a { color: var(--hell); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.fuss__oben { display: grid; gap: 2.5rem; }
.fuss .marke svg { height: 2.25rem; }
.fuss__zeile { margin-top: 0.9rem; max-width: 20rem; }
.fuss__listen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.fuss__titel { margin-bottom: 0.4rem; color: #fff; font: 600 0.9375rem var(--schrift-titel); }
.fuss__listen li a { display: inline-block; padding: 0.7rem 0; }
@media (min-width: 60rem) { .fuss__listen li a { padding: 0.45rem 0; } }
.fuss__unten { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2.5rem; }
.fuss__hinweis { max-width: 34rem; }
.kontakt__hinweis { margin-top: 1.5rem; max-width: 30rem; font-size: 0.9375rem; color: var(--hell-leise); }
@media (min-width: 48rem) {
  .fuss__listen { grid-template-columns: repeat(3, auto); column-gap: 4.5rem; }
}
@media (min-width: 60rem) {
  .fuss__oben { grid-template-columns: minmax(0, 1fr) auto; column-gap: 4rem; }
}

/* ---------- Rechtstexte und Danke ---------- */
.rechtstext { max-width: 44rem; }
.rechtstext h1 { font-size: clamp(1.875rem, 1.4rem + 3vw, 3rem); -webkit-hyphens: manual; hyphens: manual; }
.rechtstext h2 { margin-top: 2.5rem; font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); line-height: 1.25; letter-spacing: 0; }
.rechtstext p, .rechtstext ul { margin-top: 0.9rem; }
.rechtstext ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.rechtstext strong { color: #fff; }
.rechtstext .stand { margin-top: 2.5rem; font-size: 0.9375rem; color: var(--hell-leise); }
.rechtstext .stand--oben { margin-top: 0.75rem; }
.rechtstext h3 { margin-top: 1.75rem; font-size: 1.0625rem; line-height: 1.35; letter-spacing: 0; color: var(--hell); }
.rechtstext a { overflow-wrap: anywhere; }   /* lange Adressen brechen auch auf schmalen Handys um */
/* Widerspruchsrecht: getrennt von den übrigen Angaben (Art. 21 Abs. 4 DSGVO) */
.rechtstext .kasten {
  margin-top: 2.5rem; padding: 0.25rem clamp(1.125rem, 4vw, 1.75rem) 1.5rem;
  border: 1px solid var(--rahmen); border-left: 3px solid var(--cyan); border-radius: 0.75rem;
  background: rgba(37, 99, 235, 0.1);
}
.rechtstext .kasten h2 { margin-top: 1.25rem; }
.danke { max-width: 40rem; }
.danke > p { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.danke .folge { margin-top: 2.5rem; }
.danke .knopf { margin-top: 2.5rem; }

/* ---------- Weniger Bewegung, wenn das Gerät es so wünscht ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-delay: 0s !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Fehlerseite (404): zwei Wege zurück */
.danke .fehler__wege { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.danke .fehler__wege .knopf { margin-top: 0; }
