/* trustweb24.de – Gestaltung. Mobil zuerst, Systemschrift (keine Schriftdateien), keine externen Ressourcen.
   Farbwelt: Weiß, Dunkelblau (Überschriften), kräftiges Blau (Hauptbuttons), Hellblau (Karten, Bänder). */
:root {
  --weiss: #ffffff;
  --dunkelblau: #0b2a5b;
  --blau: #1059e8;
  --blau-dunkel: #0b45b8;
  --hellblau: #eaf2ff;
  --hellblau-2: #f5f9ff;
  --linie: #d7e3f6;
  --text: #1c2a44;
  --gedaempft: #4a5875;
  --fehler: #b42318;
  --fehler-bg: #fef3f2;
  --radius: 16px;
  --radius-sm: 12px;
  --btn-radius: 12px;
  --schatten: 0 1px 2px rgba(11, 42, 91, .05), 0 8px 24px rgba(11, 42, 91, .08);
  --max: 1160px;
  --prose: 44rem;
  --abstand: clamp(3rem, 2rem + 4vw, 5.5rem);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--weiss); color: var(--text); font: 400 1.0625rem/1.7 var(--font); }
@media (min-width: 720px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blau); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blau-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--dunkelblau); line-height: 1.18; font-weight: 750; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.4rem); margin: 0 0 1.1rem; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); margin: 3rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
p { margin: 0 0 1.1rem; }
strong { font-weight: 700; color: var(--dunkelblau); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 720px) { .container { padding: 0 2rem; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--dunkelblau); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: .75rem; color: #fff; }

/* ---------- Buttons (einheitlich) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.4rem; border-radius: var(--btn-radius); border: 2px solid transparent;
  font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
}
.btn:active { transform: translateY(0); }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; background: var(--blau); color: #fff; box-shadow: 0 6px 18px rgba(16, 89, 232, .25); }
.btn--primary:hover { background: var(--blau-dunkel); color: #fff; box-shadow: 0 12px 28px rgba(16, 89, 232, .34); }
.btn--primary:focus-visible { color: #fff; outline-color: var(--dunkelblau); box-shadow: 0 0 0 3px #fff, 0 12px 28px rgba(16, 89, 232, .34); }
/* Glanz: läuft beim Hover einmal über die Fläche – liegt UNTER der Schrift (z-index -1 im eigenen Stapelkontext) */
.btn--primary::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .18) 50%, transparent 100%); transform: skewX(-18deg); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .25s; }
  .btn--primary:hover, .btn--secondary:hover, .btn--light:hover { transform: translateY(-2px); }
  .btn--primary:hover::after { animation: glanz .75s ease-out 1; }
}
@keyframes glanz { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.btn--secondary { background: #fff; color: var(--blau-dunkel); border-color: var(--blau); }
.btn--secondary:hover { background: var(--hellblau); color: var(--blau-dunkel); box-shadow: 0 8px 20px rgba(11, 42, 91, .1); }
.btn--light { background: #fff; color: var(--dunkelblau); }
.btn--light:hover { background: var(--hellblau); color: var(--dunkelblau); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
/* Footer/CTA-Band: dunkler Hintergrund – Schrift des weißen Buttons ausdrücklich dunkel (vorher von .footer a überschrieben) */
.footer .btn--light, .footer .btn--light:hover, .footer .btn--light:focus-visible,
.cta-band .btn--light, .cta-band .btn--light:hover, .cta-band .btn--light:focus-visible { color: var(--dunkelblau); text-decoration: none; }
.footer .btn--light:focus-visible, .cta-band .btn--light:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn--sm { min-height: 44px; padding: .6rem 1.05rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .95rem 1.75rem; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header & Navigation (Runde 4, 2026-11-11) ----------
   Markierung einheitlich: abgerundete hellblaue Fläche + Farbwechsel (Hover, Tastaturfokus, aktive Seite). Keine Unterstreichung.
   Desktop: kompakte Untermenüs mit Icons und eigenem Abschlussbereich „Alle …“. Mobil: Vollbild-Menü mit Akkordeons. */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.header__inner { display: flex; align-items: center; gap: .75rem; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--dunkelblau); margin-right: auto; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__text { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo__num { color: var(--blau); }
.logo__tld { color: var(--gedaempft); font-weight: 600; }
.nav-toggle { display: none; }
.nav { width: 100%; }
.nav__gruppe { margin: 1.25rem 0 .4rem; padding: 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gedaempft); }
.nav__gruppe:first-child { margin-top: .5rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.nav__item { position: relative; }
.nav__zeile { display: flex; align-items: center; border-radius: 12px; color: var(--dunkelblau); }
.nav__link { flex: 1; display: flex; align-items: center; min-height: 52px; padding: .6rem 1rem; color: inherit; text-decoration: none; font-weight: 650; font-size: 1.08rem; border-radius: 12px; }
.nav__link:hover { color: var(--blau-dunkel); text-decoration: none; }
/* einheitliche Markierung */
.nav__item:hover > .nav__zeile, .nav__zeile:focus-within { background: var(--hellblau-2); color: var(--blau-dunkel); }
.nav__item.is-aktiv > .nav__zeile, .nav__item.is-offen > .nav__zeile { background: var(--hellblau); color: var(--blau-dunkel); }
.nav__item.is-aktiv .nav__link { font-weight: 750; }
.nav__link:focus-visible, .nav__auf:focus-visible { outline: 2px solid var(--blau); outline-offset: -2px; border-radius: 12px; }
.nav__auf { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; background: none; border: 0; border-radius: 12px; color: inherit; cursor: pointer; }
.nav__chevron { display: block; }
.nav__item.is-offen .nav__chevron { transform: rotate(180deg); }
/* Untermenü (mobil: Akkordeon) */
.nav__panel { display: none; }
.nav__item.is-offen > .nav__panel { display: block; margin: .35rem 0 .5rem; padding: .35rem; border: 1px solid var(--linie); border-radius: 14px; background: #fff; }
.nav__subs { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.nav__sub { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .45rem .6rem; border-radius: 10px; text-decoration: none; color: var(--dunkelblau); }
.nav__sub:hover, .nav__sub:focus-visible { background: var(--hellblau-2); color: var(--blau-dunkel); }
.nav__sub:focus-visible { outline: 2px solid var(--blau); outline-offset: -2px; }
.nav__sub[aria-current="page"] { background: var(--hellblau); color: var(--blau-dunkel); }
.nav__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--hellblau); color: var(--blau); }
.nav__sub-text-wrap { display: flex; flex-direction: column; min-width: 0; }
.nav__sub-titel { font-weight: 650; line-height: 1.25; }
.nav__sub-text { font-size: .85rem; color: var(--gedaempft); line-height: 1.3; }
.nav__alle { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .35rem; padding: .7rem .8rem; min-height: 52px;
  border-radius: 10px; background: var(--blau); color: #fff; text-decoration: none; }
.nav__alle:hover, .nav__alle:focus-visible { background: var(--blau-dunkel); color: #fff; }
.nav__alle:focus-visible { outline: 2px solid var(--dunkelblau); outline-offset: 2px; }
.nav__alle-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav__alle-text strong { color: #fff; font-size: 1rem; }
.nav__alle-text span { font-size: .82rem; color: #dbe6ff; }
.nav__alle .pfeil { font-size: 1.15rem; }
.nav__list--neben .nav__link { font-weight: 600; color: var(--text); }
.nav__cta { display: none; }
.header__cta { display: none; }
/* Menü-Button (mobil) */
.js .nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem .95rem;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--btn-radius); color: var(--dunkelblau); font: 650 .98rem var(--font); cursor: pointer;
}
.js .nav-toggle[aria-expanded="true"] { background: var(--dunkelblau); border-color: var(--dunkelblau); color: #fff; }
.nav-toggle:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
/* Vollbild-Menü unter dem Header; Hintergrund scrollt nicht mit */
.js .nav { display: none; }
@media (max-width: 999px) {
  .nav { padding: 0 0 1rem; }
  .js .nav.is-open { display: block; position: fixed; left: 0; right: 0; top: var(--header-h, 66px); bottom: 0; z-index: 49;
    background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: .25rem max(1.25rem, env(safe-area-inset-left)) calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); }
  html.menue-offen, html.menue-offen body { overflow: hidden; }
  html.menue-offen .header { backdrop-filter: none; background: #fff; } /* backdrop-filter würde die feste Position am Header festmachen */
  .js .nav.is-open .nav__cta { display: block; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
  .nav__cta p { margin: .6rem 0 0; font-size: .9rem; color: var(--gedaempft); text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav__zeile, .nav__sub, .nav__alle { transition: background-color .2s ease, color .2s ease; }
  .nav__chevron, .nav-toggle__bars::before, .nav-toggle__bars::after, .nav__alle .pfeil, .nav__icon { transition: transform .2s ease; }
  .nav__alle:hover .pfeil { transform: translateX(4px); }
}

@media (min-width: 1000px) {
  .header__inner { min-height: 76px; gap: 1.5rem; }
  .logo { margin-right: 0; }
  .js .nav-toggle { display: none; }
  .nav, .js .nav, .js .nav.is-open { display: flex; align-items: center; justify-content: center; flex: 1; width: auto; padding: 0; position: static; overflow: visible; background: none; border: 0; }
  .nav__gruppe { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .nav__list { flex-direction: row; align-items: center; gap: .2rem; }
  .nav__list--neben { margin-left: .9rem; padding-left: .9rem; border-left: 1px solid var(--linie); }
  .nav__zeile { border-radius: 10px; }
  .nav__link { min-height: 42px; padding: .45rem .8rem; font-size: 1rem; border-radius: 10px; }
  .nav__item--menue .nav__link { padding-right: .15rem; }
  .nav__auf { width: 28px; height: 42px; margin-right: .2rem; border-radius: 8px; }
  .nav__list--neben .nav__link { font-size: .96rem; color: var(--gedaempft); }
  .nav__list--neben .nav__item:hover .nav__link, .nav__list--neben .is-aktiv .nav__link { color: var(--blau-dunkel); }
  /* Untermenü: direkt unter dem Menüpunkt, mittig ausgerichtet, per JS ins Fenster verschoben (--dx) */
  .nav__panel, .nav__item.is-offen > .nav__panel { display: block; position: absolute; top: calc(100% + .55rem); left: 50%; z-index: 60; margin: 0;
    width: max-content; max-width: calc(100vw - 2rem); padding: .5rem; background: #fff; border: 1px solid var(--linie); border-radius: 16px;
    box-shadow: 0 2px 4px rgba(11, 42, 91, .05), 0 20px 44px rgba(11, 42, 91, .16);
    visibility: hidden; opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -4px); }
  .nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; } /* Brücke für die Maus */
  .nav__item.is-offen > .nav__panel { visibility: visible; opacity: 1; transform: translate(calc(-50% + var(--dx, 0px)), 0); }
  .nav__panel--leistungen { width: 20rem; }
  .nav__panel--branchen { width: 30rem; }
  .nav__subs--2 { grid-template-columns: 1fr 1fr; gap: .2rem .3rem; }
  .nav__sub { min-height: 46px; padding: .4rem .55rem; }
  .nav__sub:hover .nav__icon { transform: scale(1.06); }
  .nav__alle { margin: .45rem -.5rem -.5rem; border-radius: 0 0 15px 15px; padding: .8rem 1.1rem; background: var(--hellblau); color: var(--blau-dunkel); border-top: 1px solid var(--linie); }
  .nav__alle-text strong { color: var(--dunkelblau); }
  .nav__alle-text span { color: var(--gedaempft); }
  .nav__alle:hover, .nav__alle:focus-visible { background: #dce9ff; color: var(--blau-dunkel); }
  .header__cta { display: inline-flex; margin-left: auto; flex: none; }
  .nav__cta, .js .nav.is-open .nav__cta { display: none; }
}
@media (min-width: 1000px) and (hover: hover) {
  .nav__item--menue:hover > .nav__panel { visibility: visible; opacity: 1; transform: translate(calc(-50% + var(--dx, 0px)), 0); }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .nav__panel { transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
  .nav__item--menue:hover > .nav__panel, .nav__item.is-offen > .nav__panel { transition: opacity .16s ease .05s, transform .16s ease .05s, visibility 0s; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; color: var(--gedaempft); }
.breadcrumb li + li::before { content: "›"; margin: 0 .4rem 0 .2rem; }
.breadcrumb a { color: var(--gedaempft); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--hellblau) 0%, var(--hellblau-2) 75%, #fff 100%); padding: 2rem 0 2.5rem; }
.hero--plain, .hero--article { padding-bottom: 1.5rem; }
.hero--start { padding: 2.5rem 0 2.75rem; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__visual { display: none; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; } .hero--start { padding: 4.5rem 0 4rem; } .hero__visual { display: block; } }
.eyebrow { display: inline-block; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; color: var(--blau-dunkel); font-weight: 650; font-size: .88rem; border: 1px solid var(--linie); }
.hero__lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--text); max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.5rem 0 1.25rem; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--dunkelblau); font-weight: 600; font-size: .95rem; }
.hero__facts li::before { content: "✓"; color: var(--blau); margin-right: .4rem; font-weight: 800; }
.hero--landing h1 { max-width: 46rem; }
.byline { color: var(--gedaempft); font-size: .95rem; margin: 0; }

.match { display: grid; gap: .6rem; max-width: 420px; margin: 0 auto; }
.match__card { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--schatten); }
.match__card--req { background: var(--dunkelblau); color: #fff; border-color: var(--dunkelblau); }
.match__label { font-weight: 750; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .5rem; color: var(--blau); }
.match__card--req .match__label { color: #b9d0ff; }
.match__card ul { margin: 0; padding-left: 1.1rem; font-size: .97rem; }
.match__list { list-style: none; padding: 0 !important; }
.match__list li { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; border-bottom: 1px dashed var(--linie); }
.match__list li:last-child { border-bottom: 0; }
.dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--blau); flex: none; }
.match__arrow { text-align: center; color: var(--blau); font-size: 1.4rem; line-height: 1; }
.match__note { margin: .6rem 0 0; font-size: .78rem; color: var(--gedaempft); }

/* ---------- Abschnittsbänder (Startseite) ---------- */
.band { padding: var(--abstand) 0; }
.band--alt { background: var(--hellblau-2); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.band > .container.prose { padding-top: 0; padding-bottom: 0; }
.band .prose > h2:first-child, .band .prose > .faq:first-child { margin-top: 0; }
.band--form { padding: 2rem 0 var(--abstand); }
.mehr { margin: 1.5rem 0 1.75rem; }
.mehr:last-child { margin-bottom: 0; }
@media (max-width: 559px) { .mehr .btn { width: 100%; } }

/* ---------- Formularbereich „Projektkosten anfragen“ ---------- */
.formbereich { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .formbereich { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 3rem; align-items: start; } .formbereich__intro { position: sticky; top: 6.5rem; } }
.formbereich__intro h2 { margin: 0 0 .75rem; }
.preis { font-size: 1.3rem; color: var(--dunkelblau); margin: 0 0 .5rem; }
.preis strong { font-size: 1.6rem; color: var(--blau); }
.preis__hinweis { display: inline-block; background: var(--hellblau); border-radius: var(--radius-sm); padding: .7rem 1rem; font-weight: 600; color: var(--dunkelblau); margin: 0; }

/* ---------- Fließtext ---------- */
.prose { padding-top: 1.5rem; padding-bottom: var(--abstand); }
.prose > *:not(.cards):not(.steps):not(.benefits):not(.vorteile):not(.hinweis-flaeche):not(.table-wrap):not(.wizard):not(.pform):not(.faq):not(.formbereich) { max-width: var(--prose); }
.prose--wide > .faq { max-width: 52rem; }
.prose:not(.prose--wide) > * { max-width: var(--prose); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--blau); }
.prose > h2:first-child { margin-top: 1rem; }
.marke { font-size: 1.1rem; }

.checkliste { list-style: none; padding: 1.1rem 1.3rem !important; background: var(--hellblau-2); border: 1px solid var(--linie); border-radius: var(--radius); }
.checkliste li { position: relative; padding-left: 2rem; }
.checkliste li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.2rem; height: 1.2rem; border: 2px solid var(--blau); border-radius: 5px; background: #fff; }
.checkliste li::after { content: ""; position: absolute; left: .42rem; top: .43rem; width: .38rem; height: .7rem; border: solid var(--blau); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hinweis { background: var(--hellblau); border-left: 4px solid var(--blau); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 1.75rem 0; }
.hinweis p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--linie); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--linie); }
thead th { background: var(--hellblau); color: var(--dunkelblau); font-weight: 700; }
tbody th { color: var(--dunkelblau); font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) {
  .table-wrap { border: 0; overflow: visible; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { border: 1px solid var(--linie); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
  tbody th { background: var(--hellblau); }
  tbody td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: var(--gedaempft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
  tbody tr > * { border-bottom: 1px solid var(--linie); }
  tbody tr > *:last-child { border-bottom: 0 !important; }
}

/* FAQ */
.faq { margin-top: 2.5rem; }
.faq__list { border-top: 1px solid var(--linie); }
.faq__item { border-bottom: 1px solid var(--linie); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 2.75rem 1.1rem 0; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.08rem; }
.faq__item summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--hellblau); font-size: 1.3rem; line-height: 1; color: var(--blau); }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 0 1.1rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Karten, Schritte, Vorteile ---------- */
.cards, .steps, .benefits { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; } .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .benefits { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; margin: 0 !important; box-shadow: var(--schatten); }
.card__title { margin: 0 0 .5rem; font-size: 1.2rem; }
.card p { margin: 0 0 1.1rem; color: var(--text); font-size: 1rem; flex: 1; }
.card__btn { align-self: flex-start; }
.step-card { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; margin: 0 !important; box-shadow: var(--schatten); }
.step-card__nr { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blau); color: #fff; font-weight: 800; }
.step-card h3 { margin: .9rem 0 .4rem; }
.step-card p { margin: 0; font-size: 1rem; }
.benefits li { background: var(--hellblau-2); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; margin: 0 !important; }
.band--alt .benefits li { background: #fff; }
.benefits h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.benefits p { margin: 0; font-size: 1rem; }

.cta-box { background: var(--dunkelblau); color: #fff; border-radius: var(--radius); padding: 1.6rem; margin: 2.25rem 0; }
.cta-box p { color: #e3ecff; }
.cta-box__title { font-size: 1.3rem; font-weight: 750; color: #fff !important; margin-bottom: .35rem; }
.cta-box .btn--primary { box-shadow: none; }
.teaser { background: var(--hellblau); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem; margin: 2.5rem 0 0; }
.band--alt .teaser { background: #fff; }
.teaser__title { font-size: 1.25rem; font-weight: 750; color: var(--dunkelblau); margin-bottom: .3rem; }
.cta-band { background: var(--dunkelblau); color: #fff; padding: var(--abstand) 0; text-align: center; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #e3ecff; }

/* ---------- Inhaltsseiten mit Seitenleiste (Leistungen, Branchen, Ratgeber) ---------- */
.article-grid { display: grid; gap: 1rem; }
.article-grid > .prose { min-width: 0; }
.seitenleiste { display: none; }
.toc { background: var(--hellblau-2); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: .95rem; }
.toc__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gedaempft); margin: 0 0 .6rem; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .4rem .5rem; border-radius: 8px; color: var(--dunkelblau); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--blau); font-weight: 700; font-size: .8rem; padding-top: .1rem; }
.toc a:hover { background: var(--hellblau); }
.seitenleiste__cta { margin-top: 1rem; background: var(--dunkelblau); color: #e3ecff; border-radius: var(--radius); padding: 1.25rem; font-size: .95rem; }
.seitenleiste__titel { color: #fff; font-weight: 750; font-size: 1.1rem; margin: 0 0 .35rem; }
.seitenleiste__cta .btn--primary { box-shadow: none; }
@media (min-width: 1040px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; }
  .seitenleiste { display: block; position: sticky; top: 6.5rem; padding-top: 1.5rem; }
}

/* ---------- Zweispaltiger Seitenkopf mit Illustration ---------- */
.hero--split { padding: 1.5rem 0 1rem; overflow: hidden; }
.hero-split { display: grid; gap: .5rem; align-items: center; }
.hero-split__text { max-width: 40rem; }
.hero-split__text .byline { margin: 0 0 .5rem; }
.hero-split__bild img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
@media (min-width: 900px) {
  .hero--split { padding: 2rem 0 2.5rem; }
  .hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; }
  .hero-split__bild img { max-width: 600px; margin-right: -1.5rem; }
}

/* ---------- Inhaltsflächen ---------- */
@media (min-width: 720px) {
  .checkliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.5rem; }
}
.checkliste li { margin: .35rem 0; }
.hinweis { box-shadow: var(--schatten); border-left-width: 5px; }
.table-wrap { box-shadow: var(--schatten); background: #fff; }
.prose > h2 { scroll-margin-top: 6rem; }
.prose > h2::before { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--blau); margin-bottom: .9rem; }
.band .prose > h2::before, .faq h2::before { display: none; }

/* ---------- Weiterlesen ---------- */
.related { background: var(--hellblau-2); border-top: 1px solid var(--linie); padding: 3rem 0; }
.related__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .related__grid { grid-template-columns: repeat(2, 1fr); } }
.related__h { font-size: 1.25rem; margin: 0 0 .8rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.related li a { font-weight: 650; display: block; }
.related li span { display: block; color: var(--gedaempft); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dunkelblau); color: #dbe6fb; padding: 3.5rem 0 1.25rem; }
.footer a:not(.btn) { color: #fff; }
.footer a:not(.btn):focus-visible, .footer .linklike:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.footer .logo { color: #fff; } .footer .logo__tld { color: #b9c9e8; } .footer .logo__num { color: #8fb4ff; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand p { margin: 1rem 0; max-width: 24rem; font-size: 1rem; }
.footer__h { color: #fff; font-size: 1rem; margin: 0 0 .6rem; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 1rem; }
.footer li { margin: .5rem 0; }
.footer li a { text-decoration: none; } .footer li a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2.25rem; padding-top: 1rem; font-size: .92rem; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; }
.footer__bottom p { margin: 0; }
.footer .linklike { color: #fff; font-size: 1rem; }
.mobile-cta.is-versteckt { transform: translateY(110%); }
@media (prefers-reduced-motion: no-preference) { .mobile-cta { transition: transform .25s ease; } }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--linie); box-shadow: 0 -4px 16px rgba(11, 42, 91, .08); }
body:has(.mobile-cta) { padding-bottom: 80px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } body:has(.mobile-cta) { padding-bottom: 0; } }

/* ---------- Formulare ---------- */
.wizard, .pform { max-width: 46rem; margin: 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--schatten); }
.prose .pform { margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .wizard, .pform { padding: 2rem 2.25rem; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step { padding: 0 0 1.25rem; }
.step + .step { border-top: 1px solid var(--linie); padding-top: 1.25rem; }
.js .step { border-top: 0; padding-top: 0; }
.js .step:not(.is-active) { display: none; }
.step__legend { font-size: 1.3rem; font-weight: 750; color: var(--dunkelblau); line-height: 1.3; margin-bottom: 1.1rem; padding: 0; }
.step__nr { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--blau); background: var(--hellblau); border-radius: 999px; padding: .15rem .55rem; vertical-align: middle; margin-right: .3rem; }
.step__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.6rem; flex-wrap: wrap; }
.step__nav [data-next], .step__nav [data-submit] { margin-left: auto; }
.step__nav [data-next], .step__nav [data-prev] { display: none; }
.js .step__nav [data-next], .js .step__nav [data-prev] { display: inline-flex; }
@media (max-width: 559px) { .step__nav .btn { flex: 1 1 auto; } .step__nav [data-submit] { width: 100%; } }
.wizard__status { display: none; margin-bottom: 1.4rem; }
.js .wizard__status { display: block; }
.wizard__count { font-weight: 650; color: var(--dunkelblau); margin-bottom: .5rem; font-size: .95rem; }
.wizard__bar { height: 8px; background: var(--hellblau); border-radius: 99px; overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: 20%; background: var(--blau); border-radius: 99px; transition: width .25s; }
.subgroup { margin: 0 0 1.4rem; }
.subgroup > legend { font-weight: 700; color: var(--dunkelblau); margin-bottom: .6rem; padding: 0; }
.pform__group { margin-bottom: 1.75rem; }
.pform__group > legend { font-size: 1.25rem; font-weight: 750; color: var(--dunkelblau); margin-bottom: 1rem; padding: 0; }

.choices { display: grid; gap: .6rem; }
@media (min-width: 560px) { .choices--grid { grid-template-columns: repeat(2, 1fr); } .choices--row { grid-template-columns: repeat(2, 1fr); } }
.choice { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 1.5px solid var(--linie); border-radius: var(--radius-sm); background: #fff; cursor: pointer; min-height: 54px; transition: border-color .12s, background-color .12s; }
.choice:hover { border-color: var(--blau); }
.choice input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; accent-color: var(--blau); flex: none; }
.choice:has(input:checked) { border-color: var(--blau); background: var(--hellblau); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blau); outline-offset: 2px; }
.choice__body { display: flex; flex-direction: column; }
.choice__label { font-weight: 650; color: var(--dunkelblau); line-height: 1.35; }
.choice__desc { font-size: .92rem; color: var(--gedaempft); line-height: 1.45; margin-top: .15rem; }

.field { margin: 1.15rem 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 2fr; } }
.field label { display: block; font-weight: 650; color: var(--dunkelblau); margin-bottom: .4rem; }
.optional { font-weight: 400; color: var(--gedaempft); font-size: .92rem; }
.req { color: var(--fehler); font-weight: 700; }
.pflicht-hinweis { margin-top: 0; }
.hint { font-size: .93rem; color: var(--gedaempft); margin: -.1rem 0 .5rem; line-height: 1.5; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: .8rem .9rem; min-height: 52px;
  border: 1.5px solid #b9c9e3; border-radius: var(--radius-sm); background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(16, 89, 232, .3); outline-offset: 0; border-color: var(--blau); }
[aria-invalid="true"] { border-color: var(--fehler) !important; }
.field-error { color: var(--fehler); font-weight: 600; font-size: .93rem; margin: .4rem 0 0; }
.field-error::before { content: "! "; }
.js [data-show-if]:not(.is-visible) { display: none; }
.field--check { margin-top: 1.25rem; }
.check, .field .check { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; color: var(--text); cursor: pointer; line-height: 1.5; }
.check input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; accent-color: var(--blau); flex: none; }
.datenhinweis { background: var(--hellblau-2); border: 1px solid var(--linie); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.5rem 0 0; font-size: .95rem; line-height: 1.55; }
.datenhinweis__h { font-size: 1.05rem; margin: 0 0 .5rem; }
.datenhinweis ul { padding-left: 1.2rem; margin: 0 0 .5rem; }
.datenhinweis p { margin: 0; }
.form-alert { background: var(--fehler-bg); border: 1px solid #f5c2bd; color: var(--fehler); border-radius: var(--radius-sm); padding: .9rem 1rem; margin-bottom: 1.25rem; font-weight: 600; }
.form-note { font-size: .93rem; color: var(--gedaempft); margin: 1rem 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kform { max-width: 40rem; }

.referenz { background: var(--hellblau); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.draft-banner { background: #fffaeb; border: 1px solid #fedf89; color: #93370d; border-radius: var(--radius-sm); padding: .85rem 1rem; }
.draft-banner strong { color: #93370d; }
.kontakt-liste { list-style: none; padding: 0 !important; }

/* ---------- Cookie-Banner: drei gleichwertige Optionen ---------- */
.consent { position: fixed; z-index: 60; left: .75rem; right: .75rem; bottom: .75rem; max-width: 34rem; max-height: calc(100vh - 1.5rem); overflow-y: auto; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 16px 48px rgba(11, 42, 91, .28); font-size: .95rem; line-height: 1.55; }
@media (min-width: 640px) { .consent { left: 1.5rem; bottom: 1.5rem; padding: 1.5rem; } }
.consent__title { font-size: 1.15rem; margin: 0 0 .5rem; }
.consent__actions { display: grid; gap: .6rem; margin-top: 1rem; }
@media (min-width: 480px) { .consent__actions { grid-template-columns: repeat(3, 1fr); } }
.btn--consent { min-height: 48px; padding: .6rem .8rem; background: #fff; color: var(--blau-dunkel); border-color: var(--blau); font-size: .95rem; box-shadow: none; }
.btn--consent:hover { background: var(--hellblau); color: var(--blau-dunkel); }
.consent__settings { border-top: 1px solid var(--linie); margin-top: 1rem; padding-top: 1rem; display: grid; gap: .8rem; }
.consent__opt { background: var(--hellblau-2); border: 1px solid var(--linie); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.consent__settings .btn--consent.btn--primary { background: var(--blau); color: #fff; }

/* ---------- Rechte Spalte auf Standardseiten ---------- */
.seitenleiste__karte { margin-top: 1rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem; font-size: .95rem; box-shadow: var(--schatten); }
.seitenleiste__karte .seitenleiste__titel { color: var(--dunkelblau); }
.seitenleiste__karte a:not(.btn) { font-weight: 650; word-break: break-word; }
.seitenleiste__klein { color: var(--gedaempft); font-size: .9rem; }
.seitenleiste__liste { list-style: none; margin: 0 0 1rem; padding: 0; }
.seitenleiste__liste li { position: relative; padding-left: 1.5rem; margin: .3rem 0; }
.seitenleiste__liste li::before { content: ""; position: absolute; left: 0; top: .45em; width: .95rem; height: .55rem; border-left: 2.5px solid #8fb4ff; border-bottom: 2.5px solid #8fb4ff; transform: rotate(-45deg); }
.toc + .seitenleiste__cta, .toc + .seitenleiste__karte { margin-top: 1rem; }
.seitenleiste > :first-child { margin-top: 0; }

/* ---------- Ratgeber: Inhaltskarte im Seitenkopf ---------- */
.hero-split__karte { padding: .5rem 0 1rem; }
.hkarte { position: relative; background: #fff; border: 1px solid var(--linie); border-radius: 22px; padding: 1.4rem 1.4rem 1.25rem; font-size: .95rem;
  box-shadow: 0 2px 4px rgba(11, 42, 91, .05), 0 24px 56px rgba(11, 42, 91, .14); }
.hkarte::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--blau), #6fa0ff); }
.hkarte__label { display: inline-block; margin: 0 0 .6rem; padding: .2rem .65rem; border-radius: 999px; background: var(--hellblau); color: var(--blau-dunkel); font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.hkarte__titel { margin: 0 0 .3rem; font-size: 1.3rem; font-weight: 800; color: var(--dunkelblau); line-height: 1.25; }
.hkarte__text { margin: 0 0 1rem; color: var(--gedaempft); }
.hkarte__preise { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .7rem; }
.hkarte__preise li { display: grid; grid-template-columns: 1fr auto; gap: .15rem .75rem; align-items: baseline; }
.hkarte__name { color: var(--text); line-height: 1.35; }
.hkarte__wert { font-weight: 800; color: var(--dunkelblau); white-space: nowrap; }
.hkarte__balken { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--hellblau); position: relative; overflow: hidden; }
.hkarte__balken::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #6fa0ff, var(--blau)); }
.hkarte__balken--1::after { width: 6%; } .hkarte__balken--2::after { width: 22%; } .hkarte__balken--3::after { width: 62%; } .hkarte__balken--4::after { width: 100%; }
.hkarte__preise li:first-child .hkarte__wert { color: var(--blau-dunkel); }
.hkarte__fuss { margin: 0 0 .9rem; font-size: .82rem; color: var(--gedaempft); }
.hkarte__tabelle { width: 100%; margin: 0 0 1rem; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.hkarte__tabelle th, .hkarte__tabelle td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--linie); line-height: 1.4; }
.hkarte__tabelle thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blau-dunkel); background: var(--hellblau-2); border-bottom: 0; }
.hkarte__tabelle thead th:first-child { border-radius: 10px 0 0 10px; } .hkarte__tabelle thead th:last-child { border-radius: 0 10px 10px 0; }
.hkarte__tabelle tbody th { color: var(--dunkelblau); font-weight: 700; width: 28%; }
.hkarte__tabelle tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 479px) {
  .hkarte__tabelle thead { display: none; }
  .hkarte__tabelle, .hkarte__tabelle tbody, .hkarte__tabelle tr, .hkarte__tabelle th, .hkarte__tabelle td { display: block; width: auto; }
  .hkarte__tabelle tr { padding: .5rem 0; border-bottom: 1px solid var(--linie); }
  .hkarte__tabelle tbody tr:last-child { border-bottom: 0; }
  .hkarte__tabelle th, .hkarte__tabelle td { border: 0; padding: .15rem 0; }
  .hkarte__tabelle td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--blau-dunkel); }
}
.hkarte__check { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.hkarte__check li { position: relative; padding: .55rem .75rem .55rem 2.6rem; border-radius: 12px; background: var(--hellblau-2); border: 1px solid var(--linie); line-height: 1.4; }
.hkarte__check li::before { content: ""; position: absolute; left: .75rem; top: .62rem; width: 1.25rem; height: 1.25rem; border-radius: 6px; background: var(--blau); }
.hkarte__check li::after { content: ""; position: absolute; left: 1.13rem; top: .8rem; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hkarte__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.hkarte__link:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .hero-split__karte { padding: 1rem 0 1rem 1rem; }
  .hkarte { padding: 1.6rem 1.7rem 1.4rem; max-width: 30rem; margin-left: auto; }
}

/* ---------- Startseite: FAQ mit Karte rechts ---------- */
.faq-grid { display: grid; gap: 2rem; }
.faq-grid > .prose { min-width: 0; }
.faq-karte { background: var(--dunkelblau); color: #e3ecff; border-radius: var(--radius); padding: 1.5rem; font-size: .97rem; align-self: start; }
.faq-karte__titel { color: #fff; font-size: 1.2rem; font-weight: 750; margin: 0 0 .4rem; }
.faq-karte .btn--primary { box-shadow: none; margin-top: .25rem; }
.faq-karte__link { display: inline-flex; gap: .35rem; margin-top: 1rem; color: #fff; font-weight: 650; text-decoration: none; }
.faq-karte__link:hover { color: #fff; text-decoration: underline; }
.faq-karte__link:focus-visible { outline-color: #fff; }
@media (min-width: 1040px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; }
  .faq-karte { position: sticky; top: 6.5rem; margin-top: 2.5rem; }
}

/* ---------- Interaktionen: Karten heben sich, Pfeile bewegen sich ---------- */
.pfeil { display: inline-block; margin-left: .15rem; }
.card--link { position: relative; }
/* ganze Karte klickbar: der Button-Link spannt sich über die Karte (kein transform am Button, sonst springt die Fläche) */
.card--link .card__btn::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card--link:hover { border-color: #b8cdf2; box-shadow: 0 2px 4px rgba(11, 42, 91, .05), 0 18px 40px rgba(11, 42, 91, .14); }
.card--link:hover .card__btn { background: var(--hellblau); }
.card--link:focus-within { border-color: var(--blau); }
.card--link .card__btn:focus-visible { outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .card--link { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .25s ease; }
  .card--link:hover { transform: translateY(-4px); }
  .card--link .card__btn:hover { transform: none; }
  .pfeil { transition: transform .22s cubic-bezier(.2, .7, .2, 1); }
  a:hover .pfeil, a:focus-visible .pfeil, .card--link:hover .pfeil { transform: translateX(4px); }
}
.related li a { text-decoration: none; }
.related li a:hover { text-decoration: underline; }

@media print { .header, .footer, .mobile-cta, .consent, .cta-box, .cta-band, .related, .toc { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none !important; }
}

/* ---------- Branchen-Mockup: Smartphone mit Text-Legende ---------- */
.nowrap { white-space: nowrap; }
.mockup { margin: 0; }
.mockup img { display: block; width: 100%; height: auto; margin: 0 auto; }
.mockup__legende ol { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; counter-reset: fn; }
.mockup__legende li { counter-increment: fn; position: relative; padding: .55rem .6rem .55rem 2.4rem; background: #fff; border: 1px solid var(--linie); border-radius: 12px; font-size: .88rem; line-height: 1.3; box-shadow: var(--schatten); }
.mockup__legende li::before { content: counter(fn); position: absolute; left: .6rem; top: .55rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--blau); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.mockup__legende strong { display: block; font-size: .9rem; }
.mockup__legende span:not(.visually-hidden) { color: var(--gedaempft); }
.hero-split__bild--mockup img { max-width: 440px; }
@media (min-width: 900px) {
  .mockup__legende { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-split__bild--mockup img { max-width: 640px; margin-right: -1rem; }
}
/* geöffnetes Menü: untere Anfrage-Leiste ausblenden (Menü hat eigenen Button) */
.menue-offen .mobile-cta { display: none; }
/* Abstand zum Footer, damit die mitlaufende Seitenleiste nicht an den Footer stößt */
.article-grid--standard { padding-bottom: var(--abstand); }

/* ======================= Runde 3 (2026-11-09) ======================= */
/* ---------- Lichtrahmen: blauer Rahmen + umlaufendes Lichtsegment beim Hover (wiederholt sich) ---------- */
@property --licht { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.rahmen-licht { position: relative; isolation: isolate; }
.rahmen-licht::after { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--licht), transparent 0deg 290deg, rgba(111, 160, 255, .55) 320deg, #1059e8 348deg, transparent 360deg);
  -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 exclude, linear-gradient(#000 0 0); opacity: 0; }
.rahmen-licht:hover, .rahmen-licht:focus-within { border-color: #8fb4ff; box-shadow: 0 2px 4px rgba(11, 42, 91, .05), 0 18px 40px rgba(16, 89, 232, .14); }
@media (prefers-reduced-motion: no-preference) {
  .rahmen-licht { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .25s ease; }
  .rahmen-licht::after { transition: opacity .25s ease; }
  .rahmen-licht:hover { transform: translateY(-4px); }
  .rahmen-licht:hover::after { opacity: 1; animation: licht-lauf 2.6s linear infinite; }
}
@keyframes licht-lauf { to { --licht: 360deg; } }
/* reduzierte Bewegung: nur statischer blauer Rahmen */
@media (prefers-reduced-motion: reduce) {
  .rahmen-licht::after { display: none; }
  .rahmen-licht:hover, .rahmen-licht:focus-within { border-color: var(--blau); }
}
.step-card { position: relative; }

/* ---------- Karten mit Illustration (Branchen, Leistungen) ---------- */
.card__bild { margin: -1.4rem -1.4rem 1.1rem; aspect-ratio: 16 / 10; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #fff 0%, var(--hellblau) 70%); display: grid; place-items: center; border-bottom: 1px solid var(--linie); }
/* Bildfläche vollständig füllen: object-fit cover, Ausschnitt auf das Hauptmotiv */
.card__bild { position: relative; display: block !important; }
.card__bild img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.card--leistung .card__bild img { object-position: 50% 45%; }
.cards--branche .card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .cards--branche { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards--branche { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .cards--leistung { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .card__bild img { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .card--link:hover .card__bild img { transform: scale(1.04); }
}

/* ---------- Vorteile: eine Hauptkarte + vier Punkte mit Symbolen ---------- */
.vorteile { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.vorteil { margin: 0 !important; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--schatten); }
.vorteil h3 { margin: .85rem 0 .35rem; font-size: 1.12rem; }
.vorteil p { margin: 0; font-size: 1rem; }
.vorteil__symbol { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--hellblau); color: var(--blau); }
.vorteil__symbol .symbol { width: 26px; height: 26px; }
.vorteil--haupt { background: linear-gradient(160deg, #163a73 0%, var(--dunkelblau) 70%); border-color: var(--dunkelblau); color: #dbe6ff; padding: 1.75rem; }
.vorteil--haupt h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-top: 1.1rem; }
.vorteil--haupt .vorteil__symbol { width: 3.6rem; height: 3.6rem; background: rgba(255, 255, 255, .12); color: #fff; }
.vorteil--haupt .vorteil__symbol .symbol { width: 32px; height: 32px; }
.vorteil__preis { margin-top: 1.25rem !important; display: inline-block; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .95rem; }
.vorteil__preis strong { color: #fff; }
.vorteil--haupt.rahmen-licht:hover { border-color: #6fa0ff; }
@media (min-width: 640px) { .vorteile { grid-template-columns: repeat(2, 1fr); } .vorteil--haupt { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .vorteile { grid-template-columns: 1.25fr 1fr 1fr; gap: 1.25rem; }
  .vorteil--haupt { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; padding: 2.25rem; }
}

/* ---------- Partner-Sektion (Startseite) ---------- */
.partner-band { background: linear-gradient(135deg, #12356b 0%, var(--dunkelblau) 60%); color: #dbe6ff; padding: var(--abstand) 0; overflow: hidden; }
.partner-band__grid { display: grid; gap: 2rem; align-items: center; }
.partner-band__bild { background: radial-gradient(110% 90% at 50% 30%, #f5f9ff 0%, #d7e5ff 100%); border-radius: 28px; padding: .5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.partner-band__bild img { display: block; width: 100%; height: auto; }
.partner-band h2 { color: #fff; margin: .25rem 0 .75rem; }
.partner-band__text > p { font-size: 1.08rem; max-width: 34rem; }
.eyebrow--hell { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: transparent !important; }
.partner-band__punkte { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .45rem; }
.partner-band__punkte li { position: relative; padding-left: 1.75rem; color: #fff; }
.partner-band__punkte li::before { content: ""; position: absolute; left: .1rem; top: .4em; width: .95rem; height: .55rem; border-left: 2.5px solid #8fb4ff; border-bottom: 2.5px solid #8fb4ff; transform: rotate(-45deg); }
.partner-band .btn--light, .partner-band .btn--light:hover, .partner-band .btn--light:focus-visible { color: var(--dunkelblau); text-decoration: none; }
.partner-band .btn--light:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (min-width: 900px) { .partner-band__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 4rem; } }

/* ---------- Buttons nie abschneiden (schmale Fenster) ---------- */
.btn { max-width: 100%; }
.hero__actions .btn { white-space: normal; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }
/* Seitenleiste: nie höher als das Fenster – Inhaltsverzeichnis scrollt, Anfrage-Karte bleibt sichtbar */
@media (min-width: 1040px) {
  .seitenleiste { max-height: calc(100vh - 7.5rem); display: flex; flex-direction: column; gap: 1rem; }
  .seitenleiste > * { margin-top: 0 !important; }
  .seitenleiste .toc { min-height: 0; overflow-y: auto; overscroll-behavior: contain; flex: 0 1 auto; }
  .seitenleiste__cta, .seitenleiste__karte { flex: none; }
}
@media (min-width: 1040px) and (max-height: 640px) { .seitenleiste { position: static; max-height: none; } }
/* Branchenkarten neben der Seitenleiste: zwei Spalten, Button einzeilig */
.card__btn { white-space: nowrap; }
@media (min-width: 1000px) { .article-grid .cards--branche, .article-grid .cards--leistung { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
/* sehr schmale Geräte: Logo und Menü-Button bleiben in einer Zeile */
@media (max-width: 379px) {
  .logo__text { font-size: 1.05rem; }
  .logo__mark { width: 28px; height: 28px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .nav-toggle { padding: .5rem .7rem; }
}

/* ======================= Runde 4 (2026-11-11) ======================= */
/* ---------- Impressum ---------- */
.impressum { display: grid; gap: 1rem; margin-top: .5rem; }
@media (min-width: 720px) { .impressum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .imp-karte--haupt { grid-column: 1 / -1; } }
.imp-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--schatten); }
.imp-karte h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.imp-karte h2::before { display: none !important; }
.imp-karte p { margin: 0 0 .6rem; }
.imp-karte p:last-child { margin-bottom: 0; }
.imp-karte--haupt { background: var(--hellblau-2); }
.imp-marke { color: var(--blau-dunkel); font-weight: 650; }
.imp-liste { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; }
.imp-liste dt { font-weight: 650; color: var(--dunkelblau); }
.imp-liste dd { margin: 0; word-break: break-word; }
/* ---------- Cookie-Banner auf Smartphones: kompakte Leiste am unteren Rand, Seite bleibt oben sichtbar ---------- */
@media (max-width: 639px) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; max-height: 60vh; border-radius: 18px 18px 0 0; border-width: 1px 0 0;
    padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); font-size: .86rem; line-height: 1.45; box-shadow: 0 -10px 32px rgba(11, 42, 91, .18); }
  .consent__title { font-size: 1.02rem; margin-bottom: .35rem; }
  .consent p { margin-bottom: .25rem; }
  .consent__actions { grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }
  .consent__actions .btn { min-height: 44px; padding: .55rem .6rem; font-size: .92rem; }
  .consent__actions [data-consent="settings"] { grid-column: 1 / -1; min-height: 40px; border-color: transparent; text-decoration: underline; }
}
/* solange das Banner offen ist: Platz am Seitenende, keine zweite feste Leiste darüber */
body.consent-offen { padding-bottom: var(--consent-h, 0px) !important; }
body.consent-offen .mobile-cta { display: none; }
/* ---------- Formular: gewählte Antwort kurz bestätigen (vor dem automatischen Schrittwechsel) ---------- */
.choice { position: relative; }
.choice.is-bestaetigt { border-color: var(--blau); background: var(--hellblau); box-shadow: 0 0 0 3px rgba(16, 89, 232, .18); }
.choice.is-bestaetigt::after { content: "✓ Ausgewählt"; position: absolute; right: .6rem; top: 0; transform: translateY(-50%); padding: .1rem .55rem; border-radius: 999px;
  background: var(--blau); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.5; box-shadow: 0 0 0 2px #fff; }
@media (prefers-reduced-motion: no-preference) { .choice.is-bestaetigt::after { animation: bestaetigt .25s ease-out; } }
@keyframes bestaetigt { from { opacity: 0; transform: translateY(-50%) scale(.85); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
/* Cookie-Banner: Kurzfassung auf schmalen Geräten (gleicher Inhalt, weniger Höhe) */
.consent__text--kurz { display: none; }
@media (max-width: 420px) { .consent__text--lang { display: none; } .consent__text--kurz { display: block; } }
/* Navigation 1000–1199 px: alles einzeilig */
.nav__link { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .header__inner { gap: .75rem; }
  .nav__link { padding: .45rem .6rem; font-size: .96rem; }
  .nav__list--neben { margin-left: .4rem; padding-left: .4rem; }
  .header__cta { padding: .7rem 1rem; font-size: .95rem; }
}

/* ======================= Runde 5 (2026-11-11) ======================= */
/* ---------- Markenname: „24“ im CI-Blau, auf dunklen Flächen heller (Kontrast) ---------- */
:root { --marke-24: var(--blau); }
.tw-marke { white-space: nowrap; font: inherit; }
.tw-marke__24 { color: var(--marke-24); }
.footer, .partner-band, .cta-band, .vorteil--haupt, .seitenleiste__cta, .faq-karte, .hinweis-flaeche--dunkel { --marke-24: #8fb4ff; }
a .tw-marke__24 { color: inherit; }
/* ---------- Hinweisfläche „Deine Branche ist nicht dabei?“ ---------- */
.prose > .hinweis-flaeche { max-width: none; }
.hinweis-flaeche { display: grid; gap: 1rem 1.5rem; margin: 2rem 0 0; padding: 1.5rem; border-radius: 20px;
  background: linear-gradient(135deg, var(--hellblau) 0%, #f3f8ff 100%); border: 1px solid var(--linie); }
.hinweis-flaeche__icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: #fff; color: var(--blau);
  box-shadow: 0 6px 16px rgba(16, 89, 232, .12); }
.hinweis-flaeche h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.hinweis-flaeche__text p { margin: 0; color: var(--text); max-width: 38rem; }
.hinweis-flaeche__aktionen { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
.hinweis-flaeche__link { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; font-weight: 650; text-decoration: none; color: var(--blau-dunkel); }
.hinweis-flaeche__link:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .hinweis-flaeche { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 1.75rem 2rem; }
  .hinweis-flaeche__aktionen { align-items: center; }
}
/* große Abschlussfläche (Branchenübersicht) */
.hinweis-flaeche--gross { margin: 2.5rem 0 1rem; padding: 2rem 1.5rem; gap: 1.75rem; overflow: hidden; position: relative;
  background: radial-gradient(120% 140% at 100% 0%, #dbe8ff 0%, transparent 55%), linear-gradient(160deg, var(--hellblau) 0%, #f7faff 100%); }
.hinweis-flaeche--gross h2 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.hinweis-flaeche--gross h2::before { display: none !important; }
.hinweis-flaeche--gross p { margin: 0 0 1.5rem; max-width: 34rem; font-size: 1.06rem; }
.hinweis-flaeche__grafik { display: grid; grid-template-columns: repeat(3, 4rem); gap: .6rem; justify-content: start; }
.hinweis-flaeche__kachel { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 16px; background: #fff; border: 1px solid var(--linie);
  box-shadow: 0 6px 16px rgba(11, 42, 91, .06); }
.hinweis-flaeche__kachel .nav__icon { width: 2.4rem; height: 2.4rem; }
.hinweis-flaeche__kachel--neu { border: 2px dashed var(--blau); background: #fff; color: var(--blau); align-content: center; gap: .1rem; }
.hinweis-flaeche__kachel--neu span { font-size: .62rem; font-weight: 700; line-height: 1.1; text-align: center; }
@media (min-width: 900px) {
  .hinweis-flaeche--gross { grid-template-columns: auto minmax(0, 1fr); padding: 2.75rem 3rem; gap: 3rem; }
  .hinweis-flaeche__grafik { grid-template-columns: repeat(3, 4.5rem); }
  .hinweis-flaeche__kachel { width: 4.5rem; height: 4.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hinweis-flaeche__kachel--neu { animation: kachel-puls 2.4s ease-in-out infinite; }
}
@keyframes kachel-puls { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* große Hinweisfläche neben der Seitenleiste: Grafik als Reihe oben, Text darunter in voller Breite */
@media (min-width: 560px) { .article-grid .hinweis-flaeche__grafik { grid-template-columns: repeat(6, 4rem); } }
@media (min-width: 900px) {
  .article-grid .hinweis-flaeche--gross { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.5rem; }
  .article-grid .hinweis-flaeche__grafik { grid-template-columns: repeat(6, 4.25rem); }
  .article-grid .hinweis-flaeche__kachel { width: 4.25rem; height: 4.25rem; }
}
