/* =========================================================================
   AWS GmbH, Dorsten – Designsystem „Leitung“
   Logoblau aus dem Logo gemessen (#1D5599, Facetten #1966AE / #1A76BE).
   Leitmotive: die durchgehende Linie aus dem Logo (A–W–S sind verbunden),
   die angeschnittenen Ecken der Buchstaben-Facetten und die Lichtfarben aus
   den echten Projektfotos (Lichtsäulen in Rot, Grün, Blau). Dunkle Abschnitte
   als Blaupause mit feinem Raster.
   Schrift: Archivo (variabel, OFL), Überschriften breit (116 %) und kräftig.
   Bewegung nur über opacity und transform, bei „Bewegung reduzieren“ ruhig.
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variabel.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: optional;
}

:root {
  --blau: #1d5599;
  --blau-2: #1966ae;
  --blau-hell: #1a76be;
  --blau-tief: #133f78;
  --blau-zart: #e8f0fa;
  --nacht: #081830;
  --nacht-2: #0c2140;
  --nacht-3: #132c52;
  --nacht-linie: rgba(150, 186, 232, .16);
  --papier: #f5f7fa;
  --nebel: #ebf0f6;
  --linie: #d9e1ec;
  --text: #0b1726;
  --text-2: #46566c;
  --text-3: #66758a;
  --text-hell: #eef3fa;
  --text-hell-2: #a9bad0;
  --licht: #5cc8ff;
  --gruen: #19b26b;
  --gruen-text: #0b7a47;
  --rot: #f0544a;
  --gelb: #ffc83d;
  --tuerkis: #2fd3c0;
  --violett: #a48bfa;

  --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --breit: 116%;
  --huelle: 1240px;
  --rand: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-klein: 10px;
  --ecke: 22px;
  --schatten: 0 1px 2px rgba(8, 24, 48, .06), 0 14px 34px -16px rgba(8, 24, 48, .28);
  --schatten-gross: 0 2px 4px rgba(8, 24, 48, .06), 0 34px 70px -28px rgba(8, 24, 48, .45);
  --kopf-hoehe: 78px;
  --sanft: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-stretch: var(--breit); font-weight: 780; line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.3rem + 4.1vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.42rem); line-height: 1.2; letter-spacing: -.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 680; }
:focus-visible { outline: 3px solid var(--licht); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--licht); color: var(--nacht); }

.huelle { width: 100%; max-width: calc(var(--huelle) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--nacht); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.sprung:focus { top: 12px; }

.abschnitt { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.abschnitt--eng { padding: clamp(48px, 6vw, 80px) 0; }
.abschnitt--nebel { background: var(--papier); }
.abschnitt--nacht { background: var(--nacht); color: var(--text-hell); }
.abschnitt--nacht .lead, .abschnitt--nacht p { color: var(--text-hell-2); }
.abschnitt--nacht h2, .abschnitt--nacht h3 { color: #fff; }
/* Blaupause: feines Raster auf dunklem Grund */
.raster-grund { position: relative; isolation: isolate; }
.raster-grund::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--nacht-linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--nacht-linie) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 85%);
  opacity: .55;
}

/* Kleine Überzeile mit Leitung und Knoten */
.marke {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blau); margin-bottom: 18px;
}
/* Leitung mit Knoten: Linie, dann Punkt, dann Text */
.marke::before {
  content: ""; width: 42px; height: 10px; flex: none;
  background:
    radial-gradient(circle at calc(100% - 5px) 50%, currentColor 3.5px, transparent 4.2px),
    linear-gradient(90deg, transparent, currentColor 70%) left center / 34px 2px no-repeat;
}
.abschnitt--nacht .marke, .marke--hell { color: var(--licht); }
.kopfzeile { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.kopfzeile--mitte { margin-left: auto; margin-right: auto; text-align: center; }
.kopfzeile--mitte .marke { justify-content: center; }
.kopfzeile h2 + .lead, .kopfzeile h2 + p { margin-top: 18px; }
.kopfzeile--zeile { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.kopfzeile--zeile > div { max-width: 720px; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.6; color: var(--text-2); }
.text-link { color: var(--blau); font-weight: 620; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--blau-tief); }
.abschnitt--nacht .text-link { color: var(--licht); }
.klein { font-size: 14.5px; color: var(--text-3); }

/* ---------- Knöpfe ---------- */
.knopf {
  --k-bg: var(--blau); --k-fg: #fff; --k-rand: var(--blau);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px;
  background: var(--k-bg); color: var(--k-fg); border: 1.5px solid var(--k-rand); border-radius: 10px;
  font-weight: 660; font-size: 16px; letter-spacing: .005em; text-decoration: none; line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--sanft), box-shadow .2s;
  position: relative;
}
.knopf:hover { --k-bg: var(--blau-tief); --k-rand: var(--blau-tief); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(29, 85, 153, .7); }
.knopf:active { transform: translateY(0); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf .pfeil { transition: transform .25s var(--sanft); }
.knopf:hover .pfeil { transform: translateX(3px); }
.knopf--rand { --k-bg: transparent; --k-fg: var(--blau); --k-rand: color-mix(in srgb, var(--blau) 35%, transparent); }
.knopf--rand:hover { --k-bg: var(--blau-zart); --k-fg: var(--blau-tief); --k-rand: var(--blau); box-shadow: none; }
.knopf--hell { --k-bg: #fff; --k-fg: var(--nacht); --k-rand: #fff; }
.knopf--hell:hover { --k-bg: var(--blau-zart); --k-rand: var(--blau-zart); --k-fg: var(--nacht); box-shadow: 0 10px 30px -12px rgba(92, 200, 255, .5); }
.knopf--glas { --k-bg: rgba(255, 255, 255, .06); --k-fg: #fff; --k-rand: rgba(255, 255, 255, .28); }
.knopf--glas:hover { --k-bg: rgba(255, 255, 255, .12); --k-rand: rgba(255, 255, 255, .5); --k-fg: #fff; box-shadow: none; }
.knopf--klein { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.knopf--breit { width: 100%; }
.knopf.laedt { pointer-events: none; color: transparent; }
.knopf.laedt::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: dreh .8s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 8px 30px -18px rgba(8, 24, 48, .35); }
.kopf__innen { display: flex; align-items: center; gap: 28px; height: var(--kopf-hoehe); }
.logo { display: block; flex: none; }
.logo img { width: 142px; height: auto; }
.menue { list-style: none; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menue > li { position: relative; }
.menue > li > a {
  display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; font-weight: 560; font-size: 15.5px; color: var(--text); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.menue > li > a:hover { color: var(--blau); background: var(--blau-zart); }
.menue > li > a[aria-current="page"] { color: var(--blau); }
.menue > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blau); border-radius: 2px; }
.pfeilchen { width: 15px; height: 15px; transition: transform .2s; }
.hat-unter:hover .pfeilchen, .hat-unter:focus-within .pfeilchen { transform: rotate(180deg); }
.unter {
  list-style: none; position: absolute; top: calc(100% + 10px); left: 50%; width: 640px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten-gross);
  opacity: 0; visibility: hidden; transform: translate(-42%, 6px); transition: opacity .2s, transform .2s var(--sanft), visibility .2s;
}
.unter::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hat-unter:hover .unter, .hat-unter:focus-within .unter { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.unter a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
.unter a:hover { background: var(--papier); }
.unter__symbol { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blau-zart); color: var(--blau); }
.unter__symbol svg { width: 22px; height: 22px; }
.unter b { display: block; font-weight: 660; font-size: 15px; line-height: 1.3; }
.unter small { display: block; color: var(--text-3); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.unter__alle { grid-column: 1 / -1; border-top: 1px solid var(--linie); margin-top: 4px; padding-top: 6px; }
.unter__alle a { align-items: center; color: var(--blau); font-weight: 640; font-size: 15px; }
.kopf__aktion { display: flex; align-items: center; gap: 14px; }
.kopf__tel { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 640; font-size: 15.5px; color: var(--text); white-space: nowrap; }
.kopf__tel svg { width: 20px; height: 20px; color: var(--blau); }
.kopf__tel:hover { color: var(--blau); }
.kopf__burger { display: none; width: 48px; height: 48px; border: 1.5px solid var(--linie); background: #fff; border-radius: 10px; position: relative; }
.kopf__burger span, .kopf__burger span::before, .kopf__burger span::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--sanft), opacity .2s; content: ""; }
.kopf__burger span { top: 22px; }
.kopf__burger span::before { left: 0; top: -6px; }
.kopf__burger span::after { left: 0; top: 6px; }
.kopf__burger[aria-expanded="true"] span { background: transparent; }
.kopf__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); background: var(--text); }
.kopf__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); background: var(--text); }

.mobil {
  position: fixed; inset: var(--kopf-hoehe) 0 0 0; z-index: 99; background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 18px var(--rand) 40px; display: flex; flex-direction: column; gap: 22px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--sanft), visibility .25s;
}
.mobil.ist-offen { opacity: 1; visibility: visible; transform: none; }
.mobil ul { list-style: none; }
.mobil li { border-bottom: 1px solid var(--linie); }
.mobil li > a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; text-decoration: none; font-size: 19px; font-weight: 640; font-stretch: 108%; }
.mobil li > a[aria-current="page"] { color: var(--blau); }
.mobil__unter { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; padding: 0 0 14px; }
.mobil__unter a { padding: 7px 0; text-decoration: none; color: var(--text-2); font-size: 15.5px; }
.mobil__unter a[aria-current="page"] { color: var(--blau); font-weight: 640; }
.mobil__marke { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gruen-text); background: #e3f6ec; padding: 4px 9px; border-radius: 99px; font-stretch: 100%; }
.mobil__aktion { display: grid; gap: 10px; }
.mobil__zeiten { font-size: 14px; color: var(--text-3); text-align: center; margin: 4px 0 0; }
body.menue-offen { overflow: hidden; }

@media (max-width: 1240px) {
  .menue { display: none; }
  .kopf__burger { display: block; }
  .kopf__aktion { margin-left: auto; }
}
@media (min-width: 1241px) { .mobil { display: none; } }
@media (max-width: 720px) {
  :root { --kopf-hoehe: 68px; }
  .logo img { width: 118px; }
  .kopf__cta { display: none; }
  .kopf__tel-text { display: none; }
  .kopf__tel { width: 48px; height: 48px; justify-content: center; border: 1.5px solid var(--linie); border-radius: 10px; }
}

/* ---------- Bilder mit angeschnittener Ecke ---------- */
.bild { position: relative; margin: 0; overflow: hidden; background: var(--nebel); clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, var(--ecke) 100%, 0 calc(100% - var(--ecke))); border-radius: 4px; }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--rund { clip-path: none; border-radius: var(--radius); }
.bild figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; color: #fff; font-size: 13.5px; font-weight: 560; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.bild--verlauf::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 24, 48, .7)); pointer-events: none; }
.bild--verlauf figcaption { z-index: 1; }

/* ---------- Hero ---------- */
.hero { background: var(--nacht); color: var(--text-hell); position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(26, 118, 190, .45), transparent 70%);
}
.hero__raster { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__ort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; font-weight: 700; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--text-hell-2); margin-bottom: 22px; }
.hero__ort b { color: var(--licht); font-weight: 760; }
.hero__ort .punkt-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px rgba(25, 178, 107, .2); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.3rem + 3.3vw, 3.9rem); }
.hero h1 .zeile { display: inline; }
.hero h1 .leuchtet { background: linear-gradient(92deg, #fff 0%, var(--licht) 55%, #9fdcff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 22px 0 32px; color: var(--text-hell-2); max-width: 600px; }
.hero__lead strong { color: #fff; font-weight: 620; }
.hero__siegel { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--nacht-linie); }
.hero__siegel li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 560; color: var(--text-hell); }
.hero__siegel svg { width: 20px; height: 20px; color: var(--licht); flex: none; }
.hero__bild { position: relative; aspect-ratio: 4 / 4.6; max-height: 640px; }
.hero__bild .bild--haupt { position: absolute; inset: 0 0 0 16%; box-shadow: var(--schatten-gross); }
.hero__bild .bild--neben { position: absolute; left: 0; bottom: 8%; width: 40%; aspect-ratio: 3 / 4; border: 5px solid var(--nacht); box-sizing: content-box; clip-path: none; border-radius: 12px; }
.hero__bild .bild--neben img { border-radius: 8px; }
.hero__linien { position: absolute; right: -6%; top: 10%; width: 46%; z-index: 2; pointer-events: none; }
.schwebe {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 12px; box-shadow: var(--schatten-gross);
  font-size: 14px; line-height: 1.3; max-width: 250px;
}
.schwebe b { display: block; font-size: 15px; font-weight: 700; }
.schwebe small { color: var(--text-3); font-size: 13px; }
.schwebe__symbol { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blau); color: #fff; }
.schwebe__symbol svg { width: 22px; height: 22px; }
.schwebe__symbol--gruen { background: var(--gruen); }
.schwebe__symbol--rot { background: #d9443b; }
.schwebe--a { right: -3%; top: 9%; }
.schwebe--b { right: 4%; bottom: 4%; }
@media (prefers-reduced-motion: no-preference) {
  .schwebe { animation: schweben 7s ease-in-out infinite; }
  .schwebe--b { animation-delay: -3.5s; }
}
@keyframes schweben { 50% { transform: translateY(-7px); } }

@media (max-width: 980px) {
  .hero__raster { grid-template-columns: 1fr; }
  .hero__bild { max-width: 560px; width: 100%; aspect-ratio: 4 / 3.9; margin: 8px auto 0; }
  .schwebe--a { right: 0; top: 4%; }
}
@media (max-width: 520px) {
  .hero__bild { aspect-ratio: 1 / 1.08; }
  .hero__bild .bild--haupt { inset: 0 0 0 12%; }
  .hero__bild .bild--neben { width: 42%; bottom: 6%; border-width: 4px; }
  .schwebe { padding: 9px 12px 9px 9px; max-width: 200px; font-size: 13px; }
  .schwebe b { font-size: 13.5px; }
  .schwebe__symbol { width: 32px; height: 32px; }
  .schwebe__symbol svg { width: 18px; height: 18px; }
  .schwebe--a { display: none; }
  .schwebe--b { right: 2%; bottom: 3%; }
  .hero__siegel { gap: 10px 16px; }
  .hero__siegel li { font-size: 13.5px; }
}

/* ---------- Laufband mit Symbolen ---------- */
.laufband { background: var(--blau); color: #fff; overflow: hidden; position: relative; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.laufband::before, .laufband::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.laufband::before { left: 0; background: linear-gradient(90deg, var(--blau), transparent); }
.laufband::after { right: 0; background: linear-gradient(-90deg, var(--blau), transparent); }
.laufband__muster { position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 18px, rgba(255, 255, 255, .5) 18px 19px); }
.laufband__spur { display: flex; width: max-content; position: relative; z-index: 1; }
.laufband__gruppe { display: flex; align-items: center; gap: 44px; padding-right: 44px; list-style: none; }
.laufband__wort { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 640; font-stretch: 112%; white-space: nowrap; letter-spacing: .01em; }
.laufband__symbol { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); flex: none; }
.laufband__symbol svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .laufband__spur { animation: laufen 52s linear infinite; }
  .laufband:hover .laufband__spur { animation-play-state: paused; }
}
@keyframes laufen { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .laufband__spur { width: auto; flex-wrap: wrap; justify-content: center; }
  .laufband__gruppe { flex-wrap: wrap; justify-content: center; gap: 14px 30px; padding: 0 20px; }
  .laufband__gruppe[aria-hidden="true"] { display: none; }
}

/* ---------- Leistungs-Kacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.kachel {
  grid-column: span 4; position: relative; display: flex; flex-direction: column; min-height: 100%;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform .35s var(--sanft), box-shadow .35s, border-color .35s;
}
.kachel:hover { transform: translateY(-4px); box-shadow: var(--schatten-gross); border-color: transparent; }
.kachel:focus-visible { outline-offset: 2px; border-radius: var(--radius); }
.kachel--gross { grid-column: span 6; }
.kachel__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--nebel); position: relative; }
.kachel--gross .kachel__bild { aspect-ratio: 16 / 9; }
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sanft); }
.kachel:hover .kachel__bild img { transform: scale(1.04); }
.kachel__text { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; }
.kachel__symbol { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blau); color: #fff; box-shadow: 0 10px 22px -10px rgba(29, 85, 153, .8); border: 3px solid #fff; }
.kachel__symbol svg { width: 24px; height: 24px; }
.kachel h3 { margin-top: 22px; }
.kachel p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; margin: 0; }
.kachel__mehr { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--blau); font-weight: 660; font-size: 15px; }
.kachel__mehr svg { width: 18px; height: 18px; transition: transform .25s var(--sanft); }
.kachel:hover .kachel__mehr svg { transform: translateX(4px); }
.kachel__marke { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(8, 24, 48, .78); color: #fff; padding: 6px 10px; border-radius: 6px; }
@media (max-width: 980px) { .kachel, .kachel--gross { grid-column: span 6; } }
@media (max-width: 640px) {
  .kacheln { gap: 14px; }
  .kachel, .kachel--gross { grid-column: 1 / -1; }
  .kachel__bild, .kachel--gross .kachel__bild { aspect-ratio: 16 / 8.5; }
}

/* ---------- Gewerke-Bühne (Startseite): ein Gebäude, alle Gewerke ---------- */
.gewerke { background: var(--nacht); color: var(--text-hell); overflow: hidden; }
.gewerke__karte { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 0; border: 1px solid var(--nacht-linie); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(19, 44, 82, .55), rgba(12, 33, 64, .35)); }
.gewerke__buehne { position: relative; padding: clamp(14px, 2.4vw, 28px); border-right: 1px solid var(--nacht-linie); display: flex; flex-direction: column; gap: 14px; }
.gewerke__buehne svg { width: 100%; height: auto; }
.gewerke__legende { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--text-hell-2); flex-wrap: wrap; }
.gewerke__legende span { display: inline-flex; align-items: center; gap: 8px; }
.gewerke__legende i { width: 10px; height: 10px; border-radius: 50%; background: var(--g, var(--licht)); box-shadow: 0 0 10px var(--g, var(--licht)); }
.gewerke__steuer { display: flex; gap: 8px; }
.gewerke__steuer button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--nacht-linie); background: rgba(255, 255, 255, .04); color: #fff; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.gewerke__steuer button:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.gewerke__steuer svg { width: 18px; height: 18px; }
.gewerke__seite { display: flex; flex-direction: column; }
.gewerke__tabs { display: grid; grid-template-columns: 1fr; list-style: none; }
.gewerke__tab {
  --g: var(--licht);
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 20px; border: 0; border-bottom: 1px solid var(--nacht-linie); background: transparent; color: var(--text-hell-2);
  font-weight: 600; font-size: 15.5px; transition: background-color .25s, color .25s; position: relative;
}
.gewerke__tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--g); transform: scaleY(0); transition: transform .3s var(--sanft); }
.gewerke__tab:hover { background: rgba(255, 255, 255, .035); color: #fff; }
.gewerke__tab[aria-selected="true"] { background: rgba(255, 255, 255, .06); color: #fff; }
.gewerke__tab[aria-selected="true"]::before { transform: scaleY(1); }
.gewerke__tab-symbol { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--nacht-linie); color: var(--g); background: rgba(255, 255, 255, .03); transition: background-color .25s, color .25s, box-shadow .25s; }
.gewerke__tab[aria-selected="true"] .gewerke__tab-symbol { background: var(--g); color: var(--nacht); box-shadow: 0 0 22px -4px var(--g); border-color: transparent; }
.gewerke__tab-symbol svg { width: 22px; height: 22px; }
.gewerke__tab-nr { font-size: 12px; font-weight: 700; font-stretch: 125%; color: var(--text-hell-2); opacity: .7; letter-spacing: .08em; }
.gewerke__info { padding: 22px 22px 24px; display: grid; gap: 12px; margin-top: auto; min-height: 190px; }
.gewerke__info h3 { font-size: 1.22rem; color: #fff; }
.gewerke__info p { color: var(--text-hell-2); font-size: 15.5px; margin: 0; }
.gewerke__info .text-link { justify-self: start; }
.gewerke__info.ist-neu > * { animation: auftauchen .45s var(--sanft) both; }
.gewerke__info.ist-neu > *:nth-child(2) { animation-delay: .05s; }
.gewerke__info.ist-neu > *:nth-child(3) { animation-delay: .1s; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(6px); } }

/* Zeichnung */
.plan { --strich: rgba(169, 199, 236, .5); --zart: rgba(169, 199, 236, .16); font-family: var(--schrift); }
.plan .bau { fill: none; stroke: var(--strich); stroke-width: 1.4; }
.plan .bau--dick { stroke-width: 2.2; stroke: rgba(190, 214, 244, .75); }
.plan .flaeche { fill: rgba(150, 186, 232, .045); stroke: none; }
.plan .zart { fill: none; stroke: var(--zart); stroke-width: 1; }
.plan .boden { fill: url(#plan-boden); }
.plan .beschriftung { fill: rgba(190, 214, 244, .55); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-stretch: 112%; }
.plan .g { transition: opacity .5s var(--sanft); }
.plan .g .leitung { fill: none; stroke: var(--g); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan .g .leitung--fein { stroke-width: 1.5; }
.plan .g .leitung--strich { stroke-dasharray: 5 5; }
.plan .g .teil { fill: rgba(8, 24, 48, .9); stroke: var(--g); stroke-width: 1.6; }
.plan .g .voll { fill: var(--g); }
.plan .g .glimmen { fill: var(--g); opacity: 0; filter: url(#plan-glow); }
.plan .g .schein { opacity: 0; transition: opacity .5s; }
.plan .g--elektro { --g: var(--licht); }
.plan .g--licht { --g: var(--gruen); }
.plan .g--brand { --g: var(--rot); }
.plan .g--pv { --g: var(--gelb); }
.plan .g--laden { --g: var(--tuerkis); }
.plan .g--daten { --g: var(--violett); }
/* Ruhezustand: alle Gewerke schwach sichtbar, das gewählte leuchtet */
.plan[data-aktiv] .g { opacity: .16; }
.plan[data-aktiv="elektro"] .g--elektro, .plan[data-aktiv="licht"] .g--licht, .plan[data-aktiv="brand"] .g--brand,
.plan[data-aktiv="pv"] .g--pv, .plan[data-aktiv="laden"] .g--laden, .plan[data-aktiv="daten"] .g--daten { opacity: 1; }
.plan[data-aktiv="elektro"] .g--elektro .schein, .plan[data-aktiv="licht"] .g--licht .schein, .plan[data-aktiv="brand"] .g--brand .schein,
.plan[data-aktiv="pv"] .g--pv .schein, .plan[data-aktiv="laden"] .g--laden .schein, .plan[data-aktiv="daten"] .g--daten .schein { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .plan[data-aktiv="elektro"] .g--elektro .glimmen, .plan[data-aktiv="licht"] .g--licht .glimmen, .plan[data-aktiv="brand"] .g--brand .glimmen,
  .plan[data-aktiv="pv"] .g--pv .glimmen, .plan[data-aktiv="laden"] .g--laden .glimmen, .plan[data-aktiv="daten"] .g--daten .glimmen { animation: glimmen 2.2s ease-in-out infinite; }
  .plan[data-aktiv="laden"] .g--laden .akku { animation: laden 3.2s var(--sanft) infinite; }
  .plan[data-aktiv="brand"] .g--brand .blinkt { animation: blinken 1.2s steps(2, jump-none) infinite; }
}
.plan .akku { transform-box: fill-box; transform-origin: left center; }
@keyframes glimmen { 0%, 100% { opacity: .15; } 50% { opacity: .75; } }
@keyframes laden { 0% { transform: scaleX(.15); } 70%, 100% { transform: scaleX(1); } }
@keyframes blinken { 0% { opacity: 1; } 100% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .plan .g .glimmen { opacity: .45; } }

@media (max-width: 980px) {
  .gewerke__karte { grid-template-columns: 1fr; }
  .gewerke__buehne { border-right: 0; border-bottom: 1px solid var(--nacht-linie); }
  .gewerke__tabs { grid-template-columns: repeat(3, 1fr); }
  .gewerke__tab { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 14px 8px; font-size: 13.5px; border-right: 1px solid var(--nacht-linie); line-height: 1.25; }
  .gewerke__tab:nth-child(3n) { border-right: 0; }
  .gewerke__tab::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; transform: scaleX(0); }
  .gewerke__tab[aria-selected="true"]::before { transform: scaleX(1); }
  .gewerke__tab-nr { display: none; }
  .gewerke__info { min-height: 0; }
}
@media (max-width: 420px) {
  .gewerke__tabs { grid-template-columns: repeat(2, 1fr); }
  .gewerke__tab:nth-child(3n) { border-right: 1px solid var(--nacht-linie); }
  .gewerke__tab:nth-child(2n) { border-right: 0; }
}

/* ---------- Reiter (Zielgruppen u. a.) ---------- */
.reiter { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.reiter__liste { display: grid; gap: 8px; position: sticky; top: calc(var(--kopf-hoehe) + 24px); }
.reiter__tab {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; width: 100%;
  border: 1px solid var(--linie); border-radius: 12px; background: #fff; font-weight: 640; font-size: 16px; color: var(--text-2);
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.reiter__tab svg { width: 24px; height: 24px; color: var(--blau); flex: none; }
.reiter__tab:hover { border-color: color-mix(in srgb, var(--blau) 40%, var(--linie)); color: var(--text); }
.reiter__tab[aria-selected="true"] { background: var(--blau); border-color: var(--blau); color: #fff; box-shadow: 0 14px 30px -16px rgba(29, 85, 153, .85); }
.reiter__tab[aria-selected="true"] svg { color: #fff; }
.reiter__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.reiter__panel[hidden] { display: none; }
.reiter__panel.ist-neu .reiter__inhalt, .reiter__panel.ist-neu .bild { animation: auftauchen .5s var(--sanft) both; }
.reiter__panel .bild { aspect-ratio: 4 / 4.4; }
.reiter__inhalt h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin-bottom: 14px; }
.reiter__inhalt .liste-haken { margin: 18px 0 24px; }
@media (max-width: 980px) {
  .reiter { grid-template-columns: 1fr; }
  .reiter__liste { position: static; grid-template-columns: repeat(2, 1fr); }
  .reiter__panel { grid-template-columns: 1fr; }
  .reiter__panel .bild { aspect-ratio: 16 / 10; order: -1; }
}
@media (max-width: 520px) { .reiter__tab { padding: 13px 12px; font-size: 14.5px; gap: 10px; } .reiter__tab svg { width: 20px; height: 20px; } }

/* ---------- Haken-Liste ---------- */
.liste-haken { list-style: none; display: grid; gap: 11px; }
.liste-haken li { position: relative; padding-left: 32px; color: var(--text-2); line-height: 1.5; }
.liste-haken li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 21px; height: 21px; border-radius: 6px; background: var(--blau-zart);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5599' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 15px; background-position: center; background-repeat: no-repeat;
}
.liste-haken li b { color: var(--text); }
.abschnitt--nacht .liste-haken li, .liste-haken--hell li { color: var(--text-hell-2); }
.abschnitt--nacht .liste-haken li b, .liste-haken--hell li b { color: #fff; }
.abschnitt--nacht .liste-haken li::before, .liste-haken--hell li::before { background-color: rgba(92, 200, 255, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cc8ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- Sonderbauten (dunkel, Foto-Trio) ---------- */
.sonderbau { overflow: hidden; }
.sonderbau__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sonderbau__fotos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; align-items: end; }
.sonderbau__fotos .bild { aspect-ratio: 3 / 4.6; }
.sonderbau__fotos .bild:nth-child(2) { aspect-ratio: 3 / 5.4; transform: translateY(-18px); }
.sonderbau__fotos .bild:nth-child(3) { aspect-ratio: 3 / 4.2; }
.belege { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.belege li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--nacht-linie); border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14.5px; line-height: 1.4; color: var(--text-hell-2); }
.belege b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.belege svg { width: 22px; height: 22px; color: var(--licht); flex: none; margin-top: 1px; }
@media (max-width: 980px) { .sonderbau__raster { grid-template-columns: 1fr; } .sonderbau__fotos { order: -1; } }
@media (max-width: 520px) { .belege { grid-template-columns: 1fr; } .sonderbau__fotos { gap: 8px; } }

/* ---------- Zahlenband ---------- */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.zahl { padding: 30px 24px; border-right: 1px solid var(--linie); }
.zahl:last-child { border-right: 0; }
.zahl__wert { display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.03em; line-height: 1; color: var(--blau); font-variant-numeric: tabular-nums; }
.zahl__wert small { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.zahl__text { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .zahlen { grid-template-columns: 1fr 1fr; } .zahl:nth-child(2) { border-right: 0; } .zahl:nth-child(-n+2) { border-bottom: 1px solid var(--linie); } }
@media (max-width: 420px) { .zahl { padding: 22px 14px; } }

/* ---------- Ablauf (Leitung mit vier Knoten) ---------- */
.ablauf { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: schritt; }
.ablauf::before { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 2px; background: var(--linie); }
.ablauf::after { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 2px; background: linear-gradient(90deg, var(--blau), var(--licht)); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--sanft) .2s; }
.ablauf.ist-sichtbar::after { transform: scaleX(1); }
.ablauf li { position: relative; counter-increment: schritt; }
.ablauf__knoten { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 2px solid var(--linie); color: var(--blau); position: relative; z-index: 1; transition: border-color .4s, background-color .4s, color .4s; }
.ablauf__knoten svg { width: 24px; height: 24px; }
.ablauf.ist-sichtbar .ablauf__knoten { border-color: var(--blau); background: var(--blau); color: #fff; }
.ablauf.ist-sichtbar li:nth-child(2) .ablauf__knoten { transition-delay: .7s; }
.ablauf.ist-sichtbar li:nth-child(3) .ablauf__knoten { transition-delay: 1.3s; }
.ablauf.ist-sichtbar li:nth-child(4) .ablauf__knoten { transition-delay: 1.9s; }
.ablauf h3 { margin: 20px 0 8px; font-size: 1.15rem; }
.ablauf h3::before { content: counter(schritt, decimal-leading-zero) "  "; color: var(--blau); font-size: .8em; letter-spacing: .04em; white-space: pre; }
.ablauf p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.abschnitt--nacht .ablauf::before { background: var(--nacht-linie); }
.abschnitt--nacht .ablauf__knoten { background: var(--nacht-2); border-color: var(--nacht-linie); color: var(--licht); }
.abschnitt--nacht .ablauf.ist-sichtbar .ablauf__knoten { background: var(--blau); border-color: var(--blau-hell); color: #fff; }
.abschnitt--nacht .ablauf h3::before { color: var(--licht); }
@media (max-width: 860px) {
  .ablauf { grid-template-columns: 1fr; gap: 26px; }
  .ablauf::before, .ablauf::after { left: 26px; right: auto; top: 26px; bottom: 26px; width: 2px; height: auto; }
  .ablauf::after { transform-origin: top; transform: scaleY(0); }
  .ablauf.ist-sichtbar::after { transform: scaleY(1); }
  .ablauf li { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; }
  .ablauf h3 { margin: 4px 0 6px; }
  .ablauf p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .ablauf::after { transition: none; } .ablauf__knoten { transition: none !important; } }

/* ---------- Bildstreifen (Referenzen-Vorschau) ---------- */
.streifen { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.streifen .bild { aspect-ratio: 3 / 4; scroll-snap-align: start; }
.streifen .bild:nth-child(even) { aspect-ratio: 3 / 3.4; align-self: end; }
@media (max-width: 720px) { .streifen { grid-auto-columns: 62%; margin-right: calc(-1 * var(--rand)); padding-right: var(--rand); } }

/* ---------- Text-Bild-Abschnitte ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--umgekehrt > .split__bild { order: 2; }
.split__bild .bild { aspect-ratio: 4 / 3.3; }
.split__bild--hoch .bild { aspect-ratio: 4 / 4.8; }
.split__text h2 { margin-bottom: 18px; }
.split__text .liste-haken { margin: 22px 0 28px; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split__bild { position: relative; }
.split__bild .schwebe { left: -18px; bottom: 26px; right: auto; top: auto; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--umgekehrt > .split__bild { order: 0; }
  .split__bild .bild, .split__bild--hoch .bild { aspect-ratio: 16 / 11; }
  .split__bild .schwebe { left: 10px; bottom: 12px; }
}

/* ---------- Merkmale / Punkte ---------- */
.punkte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.punkte--vier { grid-template-columns: repeat(4, 1fr); }
.punkt { padding: 26px 24px 24px; border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; position: relative; transition: border-color .3s, box-shadow .3s; }
.punkt:hover { border-color: color-mix(in srgb, var(--blau) 35%, var(--linie)); box-shadow: var(--schatten); }
.punkt__symbol { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blau-zart); color: var(--blau); margin-bottom: 18px; }
.punkt__symbol svg { width: 24px; height: 24px; }
.punkt h3 { font-size: 1.1rem; margin-bottom: 8px; }
.punkt p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.abschnitt--nebel .punkt { border-color: transparent; }
.abschnitt--nacht .punkt { background: rgba(255, 255, 255, .03); border-color: var(--nacht-linie); }
.abschnitt--nacht .punkt__symbol { background: rgba(92, 200, 255, .12); color: var(--licht); }
@media (max-width: 980px) { .punkte, .punkte--vier { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .punkte, .punkte--vier { grid-template-columns: 1fr; } .punkt { padding: 22px 20px; } }

/* Phasen (z. B. DIN 14675) */
.phasen { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--nacht-linie); border-radius: 16px; overflow: hidden; }
.phasen li { padding: 22px 18px; border-right: 1px solid var(--nacht-linie); position: relative; }
.phasen li:last-child { border-right: 0; }
.phasen__nr { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--licht); font-stretch: 125%; }
.phasen b { display: block; color: #fff; font-size: 16px; margin: 10px 0 6px; font-stretch: 110%; }
.phasen p { font-size: 14px; color: var(--text-hell-2); margin: 0; line-height: 1.45; }
@media (max-width: 980px) { .phasen { grid-template-columns: repeat(3, 1fr); } .phasen li:nth-child(3) { border-right: 0; } .phasen li:nth-child(-n+3) { border-bottom: 1px solid var(--nacht-linie); } }
@media (max-width: 560px) { .phasen { grid-template-columns: 1fr 1fr; } .phasen li { border-right: 1px solid var(--nacht-linie) !important; border-bottom: 1px solid var(--nacht-linie); } .phasen li:nth-child(2n) { border-right: 0 !important; } .phasen li:nth-last-child(-n+2) { border-bottom: 0; } }

/* ---------- Fragen & Antworten ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq--mitte { margin: 0 auto; }
.faq details { border: 1px solid var(--linie); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--blau) 35%, var(--linie)); box-shadow: var(--schatten); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; font-weight: 640; font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--blau-zart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5599' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--sanft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__antwort { padding: 0 22px 20px; color: var(--text-2); }
.abschnitt--nebel .faq details { border-color: transparent; }

/* ---------- Aufruf-Band ---------- */
.aufruf { position: relative; overflow: hidden; background: var(--blau); color: #fff; border-radius: 20px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center; isolation: isolate; }
.aufruf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(92, 200, 255, .35), transparent 60%), linear-gradient(120deg, var(--blau-tief), var(--blau) 55%, var(--blau-hell)); }
.aufruf__streifen { position: absolute; right: -40px; bottom: 18px; width: 340px; z-index: -1; opacity: .22; }
.aufruf h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.aufruf p { color: rgba(255, 255, 255, .82); margin-top: 14px; max-width: 620px; }
.aufruf .knoepfe { justify-content: flex-end; }
.aufruf__tel { display: block; font-size: 14px; color: rgba(255, 255, 255, .75); text-align: right; margin-top: 10px; }
@media (max-width: 860px) { .aufruf { grid-template-columns: 1fr; } .aufruf .knoepfe { justify-content: flex-start; } .aufruf__tel { text-align: left; } }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf { background: var(--nacht); color: var(--text-hell); position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0 clamp(52px, 7vw, 92px); }
.seitenkopf::after { content: ""; position: absolute; right: -15%; top: -40%; width: 70%; height: 160%; pointer-events: none; background: radial-gradient(closest-side, rgba(26, 118, 190, .38), transparent 70%); }
.seitenkopf__raster { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.seitenkopf h1 { color: #fff; font-size: clamp(2.15rem, 1.3rem + 3.4vw, 3.8rem); }
.seitenkopf .lead { color: var(--text-hell-2); margin: 20px 0 28px; max-width: 620px; }
.seitenkopf .marke { color: var(--licht); }
.seitenkopf .bild { aspect-ratio: 4 / 3.2; box-shadow: var(--schatten-gross); }
.seitenkopf__kurz { list-style: none; display: grid; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--nacht-linie); }
.seitenkopf__kurz li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-hell); font-size: 15.5px; }
.seitenkopf__kurz svg { width: 20px; height: 20px; color: var(--licht); flex: none; margin-top: 2px; }
.seitenkopf--ohne-bild .seitenkopf__raster { grid-template-columns: minmax(0, 820px); }
.seitenkopf--hell { background: var(--papier); color: var(--text); }
.seitenkopf--hell::after { display: none; }
.seitenkopf--hell h1 { color: var(--text); }
.seitenkopf--hell .lead { color: var(--text-2); }
.seitenkopf--hell .marke { color: var(--blau); }
.seitenkopf--hell .krumen a { color: var(--text-2); }
.seitenkopf--hell .krumen li + li::before { color: var(--text-3); }
.seitenkopf--hell .krumen li[aria-current] { color: var(--text); }
.krumen { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin-bottom: 26px; color: var(--text-hell-2); }
.krumen li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.krumen a { color: var(--text-hell-2); text-decoration: none; }
.krumen a:hover { color: #fff; text-decoration: underline; }
.krumen li[aria-current] { color: #fff; font-weight: 560; }
@media (max-width: 900px) {
  .seitenkopf__raster { grid-template-columns: 1fr; }
  .seitenkopf .bild { aspect-ratio: 16 / 10; }
}

/* Sprungmarken innerhalb einer Seite */
.sprungleiste { display: flex; flex-wrap: wrap; gap: 8px; }
.sprungleiste a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--nacht-linie); background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 560; transition: background-color .2s, border-color .2s; }
.sprungleiste a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.sprungleiste svg { width: 16px; height: 16px; color: var(--licht); }

/* ---------- Galerie mit Filter und Großansicht ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter button { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--linie); background: #fff; font-weight: 600; font-size: 15px; color: var(--text-2); transition: background-color .2s, border-color .2s, color .2s; }
.filter button:hover { border-color: var(--blau); color: var(--blau); }
.filter button[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: #fff; }
.galerie { list-style: none; columns: 3 280px; column-gap: 14px; }
.galerie li { break-inside: avoid; margin-bottom: 14px; }
.galerie li[hidden] { display: none; }
.galerie button { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; border-radius: 12px; overflow: hidden; text-align: left; }
.galerie img { width: 100%; transition: transform .7s var(--sanft); }
.galerie button:hover img { transform: scale(1.035); }
.galerie__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.35; background: linear-gradient(transparent, rgba(8, 24, 48, .82)); }
.galerie__text small { display: block; font-weight: 500; opacity: .8; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.grossansicht { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; color: #fff; overflow: visible; }
.grossansicht::backdrop { background: rgba(4, 12, 26, .9); }
.grossansicht img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.grossansicht__leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.grossansicht__text { font-size: 15px; }
.grossansicht__knoepfe { display: flex; gap: 8px; }
.grossansicht__knoepfe button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.grossansicht__knoepfe button:hover { background: rgba(255, 255, 255, .18); }
.grossansicht__knoepfe svg { width: 20px; height: 20px; }

/* ---------- Team, Siegel, Partner ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.person { border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: #fff; }
.person__bild { aspect-ratio: 4 / 4.2; background: linear-gradient(150deg, var(--blau-tief), var(--blau) 60%, var(--blau-hell)); display: grid; place-items: center; position: relative; overflow: hidden; }
.person__bild img { width: 100%; height: 100%; object-fit: cover; }
.person__kuerzel { font-size: 54px; font-weight: 800; font-stretch: 120%; color: rgba(255, 255, 255, .92); letter-spacing: -.02em; }
.person__bild::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(118deg, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px); pointer-events: none; }
.person__bild:has(img)::after { display: none; }
.person__text { padding: 18px 20px 20px; }
.person__text b { display: block; font-size: 17px; }
.person__text span { display: block; color: var(--blau); font-weight: 600; font-size: 14.5px; margin: 2px 0 8px; }
.person__text p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

.siegel { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.siegel li { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; }
.siegel img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.siegel__symbol { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--blau-zart); color: var(--blau); flex: none; }
.siegel__symbol svg { width: 28px; height: 28px; }
.siegel b { display: block; font-size: 15.5px; line-height: 1.3; }
.siegel span { display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.35; margin-top: 2px; }

.partner { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.partner li { display: grid; place-items: center; height: 92px; padding: 14px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; }
.partner img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.partner li:hover img { filter: none; opacity: 1; }

/* ---------- Stellen und Vorteile ---------- */
.stellen { display: grid; gap: 14px; }
.stelle { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 24px 26px; border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.stelle:hover { border-color: color-mix(in srgb, var(--blau) 40%, var(--linie)); box-shadow: var(--schatten); }
.stelle h3 { font-size: 1.25rem; }
.stelle__fakten { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }
.stelle__fakten li { font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 8px; background: var(--papier); color: var(--text-2); }
.stelle p { color: var(--text-2); margin: 10px 0 0; font-size: 15.5px; }
@media (max-width: 720px) { .stelle { grid-template-columns: 1fr; padding: 22px 20px; } }

/* ---------- Formulare ---------- */
.formular-karte { background: #fff; border: 1px solid var(--linie); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--schatten); }
.formular-karte h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); }
.formular-karte > p, .schritt > p { color: var(--text-2); margin-top: 8px; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 24px; }
.feld { display: grid; gap: 7px; align-content: start; }
.feld--breit { grid-column: 1 / -1; }
.feld label, .feld__titel { font-weight: 620; font-size: 15px; }
.feld small { font-weight: 450; color: var(--text-3); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid var(--linie); border-radius: 10px; background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.feld select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346566c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: #b9c6d8; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(29, 85, 153, .14); }
.feld [aria-invalid="true"] { border-color: #c8372d; }
.feld__fehler { color: #b42318; font-size: 14px; font-weight: 560; min-height: 0; }
.feld__fehler:empty { display: none; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.zustimmung input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 1px; accent-color: var(--blau); }
.zustimmung a { color: var(--blau); }
.datei { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #b9c6d8; border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.datei:hover { border-color: var(--blau); background: var(--blau-zart); }
.datei input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.datei:focus-within { outline: 3px solid var(--licht); outline-offset: 2px; }
.datei__symbol { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--blau-zart); color: var(--blau); flex: none; }
.datei__symbol svg { width: 22px; height: 22px; }
.datei b { display: block; font-size: 15px; }
.datei small { display: block; font-size: 13.5px; color: var(--text-3); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__meldung { color: #b42318; font-weight: 600; margin-top: 14px; }
.formular__meldung:empty { display: none; }
.formular__fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.formular__hinweis { font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.formular__hinweis svg { width: 18px; height: 18px; color: var(--gruen-text); }
@media (max-width: 600px) { .felder { grid-template-columns: 1fr; } }

/* ---------- Assistent (Anfrage in 1 Minute, Schnellbewerbung) ---------- */
.check { max-width: 860px; margin: 0 auto; }
.check__fortschritt { position: relative; height: 34px; margin-bottom: 10px; --anteil: .25; --breite: 600px; }
.check__spur { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 4px; background: var(--linie); overflow: hidden; }
.check__balken { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blau), var(--licht)); transform-origin: left; transform: scaleX(var(--anteil)); transition: transform .6s var(--sanft); }
.check__stecker { position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--blau); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(29, 85, 153, .9);
  transform: translateX(calc(var(--anteil) * (var(--breite) - 34px))); transition: transform .6s var(--sanft); }
.check__stecker svg { width: 20px; height: 20px; }
.check__zaehler { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-3); font-weight: 560; margin-bottom: 18px; }
.schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.schritt.ist-neu { animation: auftauchen .45s var(--sanft) both; }
.schritt h2:focus { outline: none; }
.wahl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.wahl--drei { grid-template-columns: repeat(3, 1fr); }
.wahl__option { position: relative; }
.wahl__option input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.wahl__option label {
  display: flex; align-items: center; gap: 14px; min-height: 72px; height: 100%; padding: 14px 16px; cursor: pointer;
  border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--sanft);
}
.wahl__option label:hover { border-color: color-mix(in srgb, var(--blau) 45%, var(--linie)); transform: translateY(-1px); }
.wahl__option label > svg { width: 42px; height: 42px; padding: 9px; border-radius: 10px; background: var(--blau-zart); color: var(--blau); flex: none; transition: background-color .2s, color .2s; }
.wahl__option label span { display: grid; gap: 2px; }
.wahl__option b { font-size: 15.5px; line-height: 1.3; }
.wahl__option small { color: var(--text-3); font-size: 13.5px; line-height: 1.35; }
.wahl__option input:checked + label { border-color: var(--blau); background: var(--blau-zart); box-shadow: 0 0 0 1px var(--blau); }
.wahl__option input:checked + label > svg { background: var(--blau); color: #fff; }
.wahl__option input:focus-visible + label { outline: 3px solid var(--licht); outline-offset: 2px; }
.check__nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; }
.check__nav [data-weiter], .check__nav [type="submit"] { margin-left: auto; }
.zurueck { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 12px 6px; font-weight: 620; color: var(--text-2); }
.zurueck:hover { color: var(--blau); }
.zurueck svg { width: 20px; height: 20px; }
.zusammenfassung { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.zusammenfassung li { font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 8px; background: var(--blau-zart); color: var(--blau-tief); }
.danke { text-align: center; padding: clamp(32px, 5vw, 56px); }
.danke__symbol { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px; display: grid; place-items: center; background: var(--gruen); color: #fff; box-shadow: 0 16px 36px -14px rgba(25, 178, 107, .8); }
.danke__symbol svg { width: 38px; height: 38px; }
.danke h2 { margin-bottom: 12px; }
.danke ol { text-align: left; max-width: 520px; margin: 26px auto 30px; padding-left: 22px; display: grid; gap: 8px; color: var(--text-2); }
.danke__test { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); background: var(--papier); padding: 8px 12px; border-radius: 8px; }
@media (max-width: 640px) {
  .wahl, .wahl--drei { grid-template-columns: 1fr; gap: 10px; }
  .wahl__option label { min-height: 64px; padding: 12px 14px; }
  .check__nav { position: sticky; bottom: 0; background: #fff; padding: 12px 0; margin: 20px 0 -12px; border-top: 1px solid var(--linie); z-index: 2; }
}
.check-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; max-width: 1180px; margin: 0 auto; }
.check-raster .check { max-width: none; margin: 0; }
.check-seite { position: sticky; top: calc(var(--kopf-hoehe) + 24px); display: grid; gap: 14px; }
.check-seite .bild { aspect-ratio: 4 / 3.4; }
.check-seite__karte { padding: 20px; border-radius: 14px; background: var(--papier); }
.check-seite__karte b { display: block; margin-bottom: 8px; }
.check-seite__karte .liste-haken { gap: 8px; font-size: 15px; }
@media (max-width: 980px) { .check-raster { grid-template-columns: 1fr; } .check-seite { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .check-seite { grid-template-columns: 1fr; } }

/* ---------- Prüffristen-Helfer ---------- */
.pruefer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: 18px; overflow: hidden; border: 1px solid var(--linie); background: #fff; box-shadow: var(--schatten); }
.pruefer__eingabe { padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 22px; align-content: start; }
.pruefer__eingabe .wahl { margin-top: 10px; grid-template-columns: 1fr 1fr; }
.pruefer__eingabe .wahl__option label { min-height: 62px; }
.pruefer__ergebnis { background: var(--nacht); color: var(--text-hell); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.pruefer__ergebnis::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 18px solid rgba(25, 178, 107, .14); }
.pruefer__plakette { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--gruen); color: #fff; font-weight: 800; font-stretch: 112%; font-size: 13px; line-height: 1.1; box-shadow: 0 0 0 6px rgba(25, 178, 107, .22); position: relative; }
.pruefer__plakette span { font-size: 22px; display: block; }
.pruefer__wert { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; font-stretch: 116%; color: #fff; line-height: 1.05; }
.pruefer__ergebnis p { color: var(--text-hell-2); font-size: 15px; margin: 0; }
.pruefer__ergebnis small { color: var(--text-hell-2); font-size: 13px; opacity: .85; }
.pruefer__monat { display: flex; gap: 10px; }
.pruefer__monat .feld { flex: 1; }
@media (max-width: 860px) { .pruefer { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pruefer__eingabe .wahl { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.kontaktwege { display: grid; gap: 12px; }
.kontaktweg { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--linie); border-radius: 14px; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--sanft); }
a.kontaktweg:hover { border-color: var(--blau); box-shadow: var(--schatten); transform: translateY(-2px); }
.kontaktweg__symbol { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blau); color: #fff; flex: none; }
.kontaktweg__symbol svg { width: 24px; height: 24px; }
.kontaktweg small { display: block; font-size: 13.5px; color: var(--text-3); }
.kontaktweg b { display: block; font-size: 17px; }
.anfahrt { position: relative; border-radius: 16px; overflow: hidden; background: var(--nacht); color: #fff; padding: 26px; display: grid; gap: 14px; min-height: 280px; align-content: end; isolation: isolate; }
.anfahrt__karte { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.anfahrt b { font-size: 18px; }
.anfahrt p { color: var(--text-hell-2); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); margin: 44px 0 14px; }
.rechtstext h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.rechtstext a { color: var(--blau); }
.offen { background: #fff3b0; box-shadow: 0 0 0 3px #fff3b0; border-radius: 2px; color: var(--text); }

/* ---------- Fehlerseite ---------- */
.fehler { text-align: center; padding: clamp(64px, 10vw, 140px) 0; }
.fehler__zahl { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--blau); letter-spacing: -.04em; }
.fehler p { color: var(--text-2); max-width: 520px; margin: 16px auto 28px; }
.fehler .knoepfe { justify-content: center; }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: var(--text-hell-2); padding: clamp(56px, 7vw, 88px) 0 28px; position: relative; overflow: hidden; }
.fuss__linie { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blau), var(--licht) 40%, var(--gruen) 60%, var(--gelb) 80%, var(--rot)); opacity: .85; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.fuss .logo img { width: 150px; }
.fuss p { font-size: 15px; margin-top: 18px; max-width: 320px; }
.fuss h2 { font-size: 13px; font-weight: 700; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.fuss ul { list-style: none; display: grid; gap: 9px; font-size: 15px; }
.fuss a { text-decoration: none; transition: color .2s; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fuss__siegel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fuss__siegel span { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--nacht-linie); color: var(--text-hell); }
.fuss__unten { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--nacht-linie); font-size: 14px; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 980px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss__raster { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile Aktionsleiste */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--linie); box-shadow: 0 -10px 30px -16px rgba(8, 24, 48, .35); transform: translateY(110%); transition: transform .35s var(--sanft); }
.leiste .knopf { flex: 1; min-height: 48px; padding: 10px 12px; font-size: 15px; }
.leiste.ist-sichtbar { transform: none; }
@media (max-width: 720px) { .leiste { display: flex; } body { padding-bottom: 0; } .fuss { padding-bottom: 96px; } }
body.menue-offen .leiste { transform: translateY(110%); }

/* ---------- Einblenden ---------- */
.js .ein { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--sanft), transform .8s var(--sanft); transition-delay: var(--v, 0s); }
.js .ein.ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .ein { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Hilfsklassen */
.mitte { text-align: center; }
.oben-0 { padding-top: 0 !important; }
.abstand-oben { margin-top: clamp(40px, 5vw, 64px); }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 800px) { .zwei-spalten { grid-template-columns: 1fr; } }

/* Hinweis auf Entwurf (Rechtstexte) */
.hinweis-entwurf { padding: 16px 18px; border-radius: 12px; background: #fff8d6; border: 1px solid #f1df8a; color: var(--text); font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.rechtstext > h2:first-of-type { margin-top: 32px; }

/* Heller, kompakter Seitenkopf (Anfrage, Kontakt, Rechtliches) */
.seitenkopf--hell { padding: clamp(28px, 4vw, 52px) 0 clamp(44px, 5vw, 64px); }
.seitenkopf--hell h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.seitenkopf--hell .lead { margin-bottom: 0; }
.seitenkopf--hell .krumen { margin-bottom: 18px; }
a[href^="tel:"] { white-space: nowrap; }

/* Schmale Bildschirme: lange deutsche Wörter trennen, Raster-Spalten dürfen schrumpfen */
.split > *, .zwei-spalten > *, .kontakt-raster > *, .hero__raster > *, .seitenkopf__raster > *, .reiter > *, .check-raster > *,
.sonderbau__raster > *, .gewerke__karte > *, .fuss__raster > *, .reiter__panel > * { min-width: 0; }
.wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wahl__option label span { min-width: 0; }
@media (max-width: 980px) { .reiter__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  h1, h2, h3, .marke, .lead, .faq summary, .reiter__tab, .wahl__option b, .gewerke__tab, .belege b, .siegel b, .stelle h3, .person__text b {
    -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
  }
  .formular-karte { padding: clamp(16px, 5vw, 28px); }
}
@media (max-width: 640px) { .wahl, .wahl--drei { grid-template-columns: minmax(0, 1fr); } }
.zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .zahl__text { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }

/* Gewerke-Bühne auf dem Handy: Zeichnung größer, beim Laden zum Parkplatz gleiten */
.plan__inhalt { transform-box: view-box; transform-origin: 0 0; }
@media (max-width: 640px) {
  .plan__inhalt { transform: scale(1.3) translate(-2px, -95px); transition: transform .7s var(--sanft); }
  .plan[data-aktiv="laden"] .plan__inhalt { transform: scale(1.3) translate(-196px, -95px); }
  .plan .beschriftung { font-size: 12px; }
}

/* Laufband bei „Bewegung reduzieren“: waagerecht wischen statt langer Liste */
@media (prefers-reduced-motion: reduce) {
  .laufband { overflow-x: auto; scrollbar-width: none; }
  .laufband::-webkit-scrollbar { display: none; }
  .laufband__spur { width: max-content; flex-wrap: nowrap; justify-content: flex-start; }
  .laufband__gruppe { flex-wrap: nowrap; justify-content: flex-start; gap: 44px; padding: 0 24px; }
}
/* Herstellerlogos etwas kräftiger */
.partner img { opacity: .88; filter: grayscale(1) contrast(1.15); }
.siegel li { min-width: 0; }
.siegel b, .siegel span { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
/* Menü und Aktionen rechtsbündig neben dem Logo */
.kopf__innen > nav { margin-left: auto; }
.menue { margin-left: 0; }
