/* =====================================================================
   WD Base — Sektions-Bibliothek (token-getrieben).
   1:1 portiert aus dem statischen WD-Build (projekte/*/site/styles.css) →
   gleiche CSS-Regeln = gleiche Pixel wie der freigegebene Static-Entwurf.
   Alle Farben/Fonts/Maße kommen aus tokens.css (← theme.json). Diese Datei ist
   byte-identisch über ALLE Kunden; nur das theme.json variiert pro Kunde.
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper);
  line-height: 1.65; font-size: 1.02rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--primary); }

/* a11y */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--primary);
  color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Typografie */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; color: var(--navy);
  font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--ink-soft); }
strong { color: var(--navy); }

/* Layout-Helfer */
.wrap { width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--wd-dark); color: var(--wd-on-dark-muted); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--wd-on-dark); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display);
  font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); display: inline-block; }
.section--navy .eyebrow { color: var(--wd-accent-on-dark); }
.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-soft); margin: 0; }
.section--navy .section-head p { color: var(--wd-on-dark-muted); }

/* ---------- Header / Navigation ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--wd-dark);
  border-bottom: 1px solid rgba(255,255,255,.08); }
.site-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin-inline: auto; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand img { height: 30px; width: auto; }
.brand .brand-sub { font-family: var(--display); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--wd-on-dark-faint); font-weight: 600; border-left: 1px solid rgba(255,255,255,.25);
  padding-left: .7rem; }
.site-nav { display: flex; align-items: center; gap: clamp(.3rem, 1.4vw, 1.25rem); }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: clamp(.3rem, 1.4vw, 1.1rem);
  margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.navlink { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; color: var(--wd-on-dark-muted);
  font-weight: 500; font-size: .95rem; padding: .55rem .25rem; position: relative; white-space: nowrap; }
.navlink .caret { width: 9px; height: 9px; opacity: .65; transition: transform .2s var(--ease); }
.navlink::after { content: ""; position: absolute; left: .25rem; right: .25rem; bottom: .15rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.navlink:hover, .navlink:focus-visible { color: #fff; }
.navlink:hover::after, .navlink.is-active::after { transform: scaleX(1); }
.navlink.is-active { color: #fff; }
/* Dropdown */
.dd { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + .35rem); left: 0;
  min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 5; }
.site-nav > ul > li:hover .dd, .site-nav > ul > li:focus-within .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav > ul > li:hover .navlink .caret { transform: rotate(180deg); }
.dd a { display: block; padding: .55rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink);
  font-size: .94rem; }
.dd a:hover, .dd a:focus-visible { background: var(--surface); color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; padding: .6rem 1.2rem !important; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow-sm); transition: background .2s, transform .15s; white-space: nowrap; }
.nav-cta:hover { background: var(--primary-d); transform: translateY(-1px); }
.nav-cta::after { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }
.site-head.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-head.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-head.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--btn-min-h);
  padding: .8rem 1.7rem; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; line-height: 1.1;
  transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-d); }
.btn--ghost { background: transparent; color: var(--navy); border-color: color-mix(in srgb, var(--navy) 25%, transparent); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--surface); }
.btn--lg { padding: .95rem 2rem; font-size: 1.05rem; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-row, .hero__actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background: linear-gradient(118deg, var(--wd-dark-2) 0%, var(--wd-dark) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0);
  background-size: 26px 26px; mask-image: linear-gradient(105deg, transparent 30%, #000 100%); }
.hero__inner { width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin-inline: auto;
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero__card { max-width: 52rem; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--wd-accent-on-dark); }
.hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--wd-on-dark-muted); max-width: 44ch; margin-bottom: 2rem; }
.hero__actions { margin-bottom: 2.6rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); font-size: .85rem; font-weight: 500; color: var(--wd-on-dark); }
.pill svg { width: 15px; height: 15px; color: var(--wd-accent-on-dark); }

/* Stat-Streifen (überlappt Hero) */
.statbar { width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin: -2.6rem auto 0; position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar .stat { text-align: center; padding: 1.5rem 1rem; border-right: 1px solid var(--line); min-width: 0; }
.statbar .stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  color: var(--primary); line-height: 1; }
.stat span { display: block; margin-top: .45rem; font-size: .86rem; color: var(--ink-soft); }
.section--navy .stat b { color: var(--wd-accent-on-dark); }
.section--navy .stat span { color: var(--wd-on-dark-muted); }

/* ---------- Karten ---------- */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; align-items: stretch; }
.cards > .card { flex: 1 1 250px; max-width: 360px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .45rem; color: var(--navy); }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card .card__more { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.card .card__more:hover { gap: .6rem; }
a.card { text-decoration: none; color: inherit; }

/* ---------- Feature-Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative;
  background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.split__body { min-width: 0; }
.feature-list { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.feature-list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--primary); margin-top: .15rem; }
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: var(--primary); color: #fff; }
.tag--navy { background: var(--navy); }
.split__media .tag { position: absolute; left: 1rem; top: 1rem; }

/* ---------- Info-/Faktentafel (Zahlen) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: #fff; padding: 1.4rem 1.3rem; min-width: 0; }
.fact b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy); line-height: 1.05; }
.fact span { display: block; margin-top: .3rem; font-size: .86rem; color: var(--ink-soft); letter-spacing: .02em; }

/* ---------- Timeline (Entwicklung) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.tl { position: relative; padding: 0 0 1.6rem 2.4rem; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary); }
.tl b { font-family: var(--display); font-size: 1.15rem; color: var(--primary); display: inline-block; margin-right: .6rem; }
.tl span { color: var(--ink); }

/* ---------- Mitglieder / Partner-Logos ---------- */
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.member-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; min-width: 0; overflow-wrap: anywhere;
  transition: transform .2s var(--ease), box-shadow .2s; }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.member-card b { display: block; color: var(--navy); font-weight: 700; line-height: 1.3; }
.member-card .loc { display: block; color: var(--ink-soft); font-size: .9rem; margin: .25rem 0 .5rem; }
.member-card a { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--primary);
  display: inline-flex; align-items: center; gap: .3rem; word-break: break-all; }
.member-card a:hover { text-decoration: underline; }
.member-card .ges-logo { display: flex; align-items: center; justify-content: flex-start; height: 56px;
  margin: -.2rem 0 .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.member-card .ges-logo img { max-width: 100%; max-height: 56px; object-fit: contain; object-position: left center; }

/* ---------- Video (Klick-to-Load Facade, DSGVO: kein YouTube-Call vor Klick) ---------- */
.video { position: relative; max-width: 960px; margin: 2.4rem auto 0; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.video__btn, .video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { padding: 0; cursor: pointer; background: #000; display: block; }
.video__poster { width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: .82; transition: opacity .3s, transform .5s var(--ease); }
.video__btn:hover .video__poster, .video__btn:focus-visible .video__poster { opacity: 1; transform: scale(1.04); }
.video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.video__btn:hover .video__play, .video__btn:focus-visible .video__play {
  background: var(--primary); transform: translate(-50%, -50%) scale(1.08); }
.video__play svg { margin-left: 4px; }

/* ---------- Standortkarte (Klick-to-Load Facade) ---------- */
.mapwrap { position: relative; max-width: 960px; margin: 0 auto 2.4rem; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.mapwrap .map__btn, .mapwrap .map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapwrap .map__btn { cursor: pointer; padding: 1.5rem; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--wd-dark) 0%, var(--primary) 150%); color: #fff; text-align: center; }
.mapwrap .map__face { display: flex; flex-direction: column; align-items: center; gap: .5rem; max-width: 30rem; }
.mapwrap .map__face b { font-size: 1.15rem; line-height: 1.3; }
.mapwrap .map__face > span:last-child { font-size: .92rem; opacity: .85; }
.mapwrap .map__ic { display: flex; width: 60px; height: 60px; border-radius: 50%; margin-bottom: .3rem;
  background: rgba(255, 255, 255, .14); align-items: center; justify-content: center;
  transition: transform .25s, background .25s; }
.mapwrap .map__btn:hover .map__ic, .mapwrap .map__btn:focus-visible .map__ic {
  transform: scale(1.08); background: rgba(255, 255, 255, .24); }

/* ---------- Zertifikate ---------- */
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-top: 2rem; }
.cert-card { flex: 1 1 300px; max-width: 360px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.cert-card > a { display: block; background: #f3f4f6; line-height: 0; }
.cert-card img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.cert-card > a:hover img, .cert-card > a:focus-visible img { transform: scale(1.03); }
.cert-card figcaption { padding: .9rem 1.1rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; }
.cert-card figcaption span { font-weight: 700; color: var(--navy); }
.cert-card figcaption .btn { gap: .4rem; }

/* ---------- Download-Liste ---------- */
.dl-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem; }
.dl-item { flex: 1 1 320px; max-width: 560px; }
.dl-link { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1rem 1.15rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.dl-link:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.dl-ic { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface); color: var(--primary); }
.dl-ic svg { width: 22px; height: 22px; }
.dl-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .12rem; }
.dl-txt b { font-weight: 700; color: var(--navy); line-height: 1.25; }
.dl-txt span { font-size: .85rem; color: var(--ink-soft); }
.dl-meta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--primary); }
.dl-meta svg { width: 16px; height: 16px; }
.dl-group-h { margin: 2rem 0 0; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .03em; }
.dl-group-h::before { content: ""; display: inline-block; width: 20px; height: 3px; vertical-align: middle;
  margin-right: .6rem; background: var(--accent); }
.dl-group-h + .dl-list { margin-top: .8rem; }
@media (max-width: 620px) { .dl-item { flex-basis: 100%; } .dl-link { flex-wrap: wrap; } .dl-meta { width: 100%; } }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--wd-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--wd-on-dark-muted); max-width: 54ch; margin-inline: auto; }
.cta-band .cta-actions { justify-content: center; margin-top: 1.8rem; }
.cta-band .btn--light { background: #fff; color: var(--navy); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); min-width: 0; }
.contact-card ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-card li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-card .ci { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.contact-card .ci svg { width: 20px; height: 20px; }
.contact-card a { color: var(--navy); text-decoration: none; font-weight: 700; word-break: break-word; }
.contact-card a:hover { color: var(--primary); }
.contact-card small { color: var(--ink-soft); font-weight: 400; display: block; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,114,167,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .8rem; color: var(--ink-soft); margin-top: .4rem; }
.req { color: var(--primary); }
.form__ok { display: none; background: var(--surface); border: 1px solid var(--primary); border-radius: 10px; padding: 1rem 1.1rem; color: var(--navy); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16/10; margin-top: 1.4rem; }
.map-wrap iframe { border: 0; width: 100%; height: 100%; min-height: 300px; display: block; }

/* ---------- Footer ---------- */
.site-foot { background: var(--wd-dark-2); color: var(--wd-on-dark-muted); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem;
  width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin-inline: auto; padding: clamp(3rem,6vw,4.5rem) 0 2.5rem; }
.foot-brand img { height: 30px; margin-bottom: 1rem; }
.foot-brand p { font-size: .92rem; color: var(--wd-on-dark-faint); max-width: 36ch; }
.foot-col h4 { color: #fff; font-family: var(--display); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-col a { color: var(--wd-on-dark-muted); text-decoration: none; font-size: .94rem; }
.foot-col a:hover { color: #fff; }
.foot-col p { font-size: .94rem; margin: 0 0 .4rem; color: var(--wd-on-dark-muted); }
.foot-bar { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bar__in { width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin-inline: auto; padding: 1.2rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.4rem; font-size: .85rem; color: var(--wd-on-dark-faint); }
.foot-bar a { color: var(--wd-on-dark-faint); text-decoration: none; }
.foot-bar a:hover { color: #fff; }
.foot-bar nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }

/* ---------- Content-/Rechtsseiten ---------- */
.page-hero { background: linear-gradient(118deg, var(--wd-dark-2), var(--wd-dark)); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0); background-size: 24px 24px;
  mask-image: linear-gradient(105deg, transparent 40%, #000 100%); }
.page-hero__in { position: relative; width: min(100% - (var(--pad-x) * 2), var(--maxw)); margin-inline: auto;
  padding: clamp(2.6rem,6vw,4.2rem) 0 clamp(2.2rem,4vw,3rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--wd-on-dark-muted); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--wd-on-dark-faint); margin-bottom: 1rem; }
.breadcrumb a { color: var(--wd-on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.prose { max-width: none; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; color: var(--navy); }
.prose p, .prose li { color: var(--ink); }
.detail-cols { columns: 2; column-gap: 2.4rem; }
.detail-cols li { break-inside: avoid; }
.legal { max-width: 80ch; }
.legal h2 { color: var(--navy); font-size: 1.3rem; margin: 2.2rem 0 .6rem; text-transform: none; }
.legal h3 { color: var(--navy); font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 2rem; color: var(--ink); font-size: .95rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wd-dark); padding: .5rem var(--pad-x) 1.4rem; max-height: calc(100vh - 60px); overflow-y: auto;
    border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 30px -22px rgba(0,0,0,.6);
    transform: translateY(-130%); transition: transform .3s var(--ease); }
  .site-head.nav-open .site-nav { transform: translateY(0); }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav > ul > li { width: 100%; }
  .navlink { padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .navlink .caret { display: none; }
  .navlink::after { display: none; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: transparent; padding: 0 0 .4rem .2rem; min-width: 0; }
  .dd a { color: var(--wd-on-dark-muted); padding: .55rem .7rem; }
  .dd a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav-cta { text-align: center; justify-content: center; margin-top: .9rem; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .statbar .stat:nth-child(2) { border-right: 0; }
  .statbar .stat:nth-child(1), .statbar .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .detail-cols { columns: 1; }
}
@media (max-width: 620px) {
  .statbar { grid-template-columns: 1fr 1fr; margin-top: 1.6rem; }
  .form .grid2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__actions, .cta-actions, .btn-row { display: grid; grid-template-columns: max-content; }
  .cta-actions { justify-content: center; }
  .hero__actions .btn, .cta-actions .btn, .btn-row .btn { width: 100%; }
}

/* =====================================================================
   WP-Bridge — gilt NUR im WordPress-Kontext (wd-base). Der statische Build
   nutzt seine eigene styles.css und ist hiervon unberührt.
   Zweck: native Core-Blöcke (core/list, core/image, core/group) pixel-exakt
   an die WD-Sektions-Optik angleichen, damit der Kunde editierbare Blöcke
   bekommt OHNE Treueverlust. Reine Additions — keine bestehende Regel ändert sich.
   ===================================================================== */
/* core/list als Feature-Liste: Items sind editierbarer Reintext (kein Inline-SVG
   mehr) → Häkchen via CSS-Pseudo in Markenfarbe, optisch identisch zum Static. */
.feature-list.is-checks { list-style: none; padding: 0; }
.feature-list.is-checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.feature-list.is-checks li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: .15rem; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m5%2013%204%204L19%207'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m5%2013%204%204L19%207'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* core/image im Split-Medienfeld: füllt die Spalte randlos wie das Static-<img>. */
.split__media .wp-block-image,
.split__media figure { margin: 0; height: 100%; }
.split__media .wp-block-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
/* Hero-Eyebrow auf dunklem Verlauf hell (Static setzt das inline). */
.hero .eyebrow { color: var(--wd-accent-on-dark); }
/* core/heading bringt .wp-block-heading mit — Default-Margins killt unser Typo-Reset
   bereits; nur sicherstellen, dass keine WP-Top-Margin den Section-Abstand sprengt. */
.wp-block-heading { margin-top: 0; }

/* =====================================================================
   Faithful-Chrome — gilt NUR mit body.wd-faithful (Generator setzt die Klasse für
   faithfulCss-Projekte). Faithful-Themes rendern den Seiten-Content über ihre EIGENE
   .wrap/.detail (inset um --pad-x); wd-base-Chrome ist per Default edge-aligned (passt
   zum WP-Constrained-Content der Non-Faithful). Hier auf dieselbe Inset-Konvention,
   damit Header-Bar/page-hero/Footer mit dem Content fluchten. OHNE die Klasse (dagema
   u. a.) ändert sich nichts. Ersetzt die früher pro Kunde hand-geschriebenen Chrome-
   Overrides — ein Faithful-Projekt braucht das jetzt nicht mehr selbst zu schreiben.
   ===================================================================== */
/* Sicherheitsnetz: stylt die Faithful-CSS .site-head als Flex-Bar (Static-Struktur),
   neutralisiert das hier den WP-Template-Part-Wrapper <header class="site-head">, der die
   innere .site-head__bar umschließt — sonst doppelter Container (Logo-Versatz um
   (100%-maxw)/2). Höhere Spezifität (.wd-faithful + :has) schlägt das Kunden-.site-head. */
.wd-faithful .site-head:has(.site-head__bar) { display: block; padding-inline: 0; }
.wd-faithful .site-head__bar,
.wd-faithful .page-hero__in,
.wd-faithful .foot-bar__in,
.wd-faithful .foot-grid {
  width: auto; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x);
}
/* Chrome, das zusätzlich in einem Faithful-.wrap nestet (z. B. anita-Footer: .wrap > .foot-grid),
   füllt den Parent statt erneut zu insetzen — sonst doppelter Gutter. */
.wd-faithful .wrap .foot-grid,
.wd-faithful .wrap .page-hero__in,
.wd-faithful .wrap .foot-bar__in { max-width: none; padding-inline: 0; }
