/* DCE – Deutsche Carbon Exchange GmbH
   Farben 1:1 von dceag.com: Blau #316094, Oliv #B9BB17, Hellgrau #ECEFF4, Text #32373C */

@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-var.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-var.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --blue: #316094;
  --olive: #b9bb17;
  --olive-2: #afab1e;
  --mist: #eceff4;
  --ink: #32373c;
  --white: #fff;
  --error: #b3261e; /* nur für Fehlermeldungen im Formular */

  --ink-2: rgba(50, 55, 60, .74);
  --ink-3: rgba(50, 55, 60, .56);
  --line: rgba(50, 55, 60, .12);
  --line-strong: rgba(50, 55, 60, .22);
  --blue-08: rgba(49, 96, 148, .08);
  --blue-14: rgba(49, 96, 148, .14);
  --olive-18: rgba(185, 187, 23, .18);
  --on-blue-2: rgba(255, 255, 255, .78);
  --on-blue-line: rgba(255, 255, 255, .18);

  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Nunito", var(--font);
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --section: clamp(80px, 10vw, 136px);
  --shadow: 0 1px 2px rgba(50, 55, 60, .06), 0 12px 32px -12px rgba(50, 55, 60, .18);
  --shadow-lg: 0 2px 4px rgba(50, 55, 60, .06), 0 32px 64px -24px rgba(31, 61, 94, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.022em; color: var(--ink); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--olive); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--olive); }
.on-blue .eyebrow, .eyebrow--light { color: #fff; }

.display { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.035em; line-height: 1.04; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.03em; line-height: 1.08; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.h4 { font-size: 1.15rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
.hl { color: var(--blue); }
.hl-olive { box-shadow: inset 0 -.32em 0 var(--olive-18); }

.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--blue { background: var(--blue); color: #fff; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.on-blue h1, .on-blue h2, .on-blue h3, .on-blue h4 { color: #fff; }
.on-blue .lead, .on-blue .muted { color: var(--on-blue-2); }

.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head .lead { margin-top: 20px; }
.head--center { margin-inline: auto; text-align: center; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: end; }
.head--split .lead { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: -.005em;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(49, 96, 148, .6); }
.btn:hover svg { transform: translateX(3px); }
.btn--olive { --bg: var(--olive); --fg: var(--ink); }
.btn--olive:hover { --bg: var(--olive-2); box-shadow: 0 10px 24px -10px rgba(120, 122, 10, .6); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.on-blue .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, .4); }
.on-blue .btn--ghost:hover { border-color: #fff; }
.btn--white { --bg: #fff; --fg: var(--blue); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px;
}
.link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link:hover { background-size: 100% 2px; }
.link:hover svg { transform: translateX(3px); }
.on-blue .link { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(50, 55, 60, .5); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); flex-shrink: 0; }
.brand__mark { width: 70px; height: 23px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__dce { font-family: var(--font-logo); font-weight: 900; font-size: 22px; letter-spacing: .01em; }
.brand__name { font-family: var(--font-logo); font-weight: 700; font-size: 11.5px; letter-spacing: .02em; color: var(--ink-2); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15.5px; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--olive); }
.nav .btn { margin-left: 12px; }
.nav .btn, .nav .btn:hover { color: #fff; background: var(--blue); }
.nav .btn[aria-current="page"]::after { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (Start) ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--mist);
  font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 28px;
}
.hero__badge b { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; letter-spacing: .04em; }
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 560px; margin: 28px 0 36px; }
.hero__note { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 15px; color: var(--ink-2); }
.hero__note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--olive-2); }

.hero__visual { position: relative; }
.hero__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.is-loaded .hero__img img { transform: scale(1); }
.float-card {
  position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px 20px;
}
.float-card--scope { left: -40px; bottom: 44px; width: 300px; }
.float-card--stat { right: -24px; top: 36px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.float-card__k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.scope-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; }
.scope-row:first-of-type { border-top: 0; padding-top: 0; }
.scope-row small { font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.scope-row .yes { background: var(--blue-08); color: var(--blue); }
.scope-row .no { background: var(--mist); color: var(--ink-3); }
.stat-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--olive); display: grid; place-items: center; color: var(--ink); }
.stat-dot svg { width: 22px; height: 22px; }
.float-card--stat strong { display: block; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.float-card--stat div > span { font-size: 13px; color: var(--ink-2); font-weight: 600; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__v { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue); white-space: nowrap; }
.stat__v small { font-size: .48em; letter-spacing: -.01em; margin-left: 4px; color: var(--ink); }
.stat__l { margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 26ch; }
.on-blue .stats { border-color: var(--on-blue-line); }
.on-blue .stat + .stat { border-color: var(--on-blue-line); }
.on-blue .stat__v, .on-blue .stat__v small { color: #fff; }
.on-blue .stat__l { color: var(--on-blue-2); }

/* ---------- Karten & Raster ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.section--mist .card { border-color: transparent; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: 24px; }
.card__num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-bottom: 28px; display: flex; justify-content: space-between; align-items: center; }
.card--blue, a.card--blue { background: var(--blue); color: #fff; border-color: transparent; }
.card--blue .link { color: #fff; }
.card--blue h3 { color: #fff; }
.card--blue p { color: var(--on-blue-2); }

.ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blue-08); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 24px; flex-shrink: 0; transition: background-color .3s, color .3s;
}
.ico svg { width: 26px; height: 26px; }
a.card:hover .ico { background: var(--blue); color: #fff; }
.ico--olive { background: var(--olive-18); color: #6f7108; }
.on-blue .ico, .card--blue .ico { background: rgba(255, 255, 255, .12); color: #fff; }

.arrow-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--blue); transition: all .3s var(--ease); }
.arrow-btn svg { width: 16px; height: 16px; }
a.card:hover .arrow-btn { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--mist); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.section--mist .tag { background: #fff; }
.section--mist .card .tag, .section--mist .ref .tag { background: var(--mist); }
.tag--blue { background: var(--blue-08); color: var(--blue); }
.tag--olive { background: var(--olive-18); color: #5e6006; }
.on-blue .tag { background: rgba(255, 255, 255, .12); color: #fff; }

.checks li { position: relative; padding: 9px 0 9px 34px; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23316094' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checks--plain li { border-top: 0; padding-block: 6px; }
.checks--plain li::before { top: 10px; }
.on-blue .checks li { border-color: var(--on-blue-line); }
.on-blue .checks li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23b9bb17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.minus li::before { background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 10h7' fill='none' stroke='%2332373c' stroke-opacity='.5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.on-blue .minus li::before { background-color: rgba(255, 255, 255, .08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 10h7' fill='none' stroke='white' stroke-opacity='.6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split--top { align-items: start; }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--pano { aspect-ratio: 21 / 9; }
.media__cap {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.media__cap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
[data-parallax] img { will-change: transform; }

/* Platzhalter für noch fehlende Bilder */
.ph {
  position: relative; display: grid; place-items: center; border-radius: var(--r-lg); background-color: var(--mist);
  background-image: repeating-linear-gradient(135deg, rgba(49, 96, 148, .06) 0 1px, transparent 1px 14px);
  color: var(--ink-3); text-align: center; font-size: 14px; font-weight: 700; padding: 24px;
}
.ph svg { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--blue); opacity: .5; }

/* ---------- Rollenmodell ---------- */
.roles { display: grid; grid-template-columns: 1fr auto 1.25fr auto 1fr; align-items: stretch; gap: 0; }
.role { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.section--mist .role { border-color: transparent; }
.role--dce { background: var(--blue); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.role--dce h3 { color: #fff; }
.role__k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.role--dce .role__k { color: var(--olive); }
.role h3 { font-size: 1.3rem; margin-bottom: 18px; }
.role .checks { font-size: 15px; }
.role__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.role--dce .role__foot { border-color: var(--on-blue-line); color: #fff; }
.flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; min-width: 96px; }
.flow__line { position: relative; width: 100%; height: 2px; background: var(--line-strong); overflow: hidden; border-radius: 2px; }
.flow__line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--olive); animation: flow 2.4s linear infinite; }
.flow span { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-align: center; line-height: 1.35; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.stakeholders { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 18px 24px; border-radius: var(--r); border: 1px dashed var(--line-strong); }
.stakeholders strong { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }

/* ---------- Prozess ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process__track { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); border-radius: 2px; }
.process__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); border-radius: 2px; transition: width .2s linear; }
.step { position: relative; display: flex; flex-direction: column; }
.step__dot {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; color: var(--ink-3); margin-bottom: 24px; transition: all .4s var(--ease);
}
.section--mist .step__dot { background: var(--mist); }
.step.is-active .step__dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); }
.step__out { margin-top: auto; padding-top: 18px; }
.step__out span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.step__out b { font-size: 15px; color: var(--blue); }

/* Prozess, ausführlich (Arbeitsweise) */
.phases { display: grid; gap: 16px; }
.phase { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 32px; padding: 36px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.section--mist .phase { border-color: transparent; }
.phase__n { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--blue); }
.phase__n small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; font-weight: 800; }
.phase h3 { font-size: 1.4rem; margin-bottom: 12px; }
.phase p { color: var(--ink-2); }
.phase__result { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--olive-18); font-weight: 800; font-size: 15px; color: #4f5105; }
.phase__result svg { width: 18px; height: 18px; }
.phase__k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

/* ---------- Tabs ---------- */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--mist); margin-bottom: 40px; }
.section--mist .tabs__list { background: #fff; }
.tabs__list button {
  border: 0; background: transparent; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--ink-2); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.tabs__list button:hover { color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--blue); color: #fff; }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Zielgruppen ---------- */
.aud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.aud .card { padding: 26px; }
.aud h3 { font-size: 1.08rem; margin-bottom: 14px; }
.aud__q { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.aud__q::before { content: "„"; display: block; font-size: 44px; line-height: .6; font-weight: 800; color: var(--olive); margin-bottom: 10px; }

/* ---------- Referenzen ---------- */
.feature {
  display: grid; grid-template-columns: 1.05fr .95fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
}
.section--mist .feature { border-color: transparent; }
.feature + .feature { margin-top: 20px; }
.feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.feature__body > p { color: var(--ink-2); max-width: 52ch; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 28px 0; }
.specs div { background: #fff; padding: 16px 18px; }
.specs dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin: 6px 0 0; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.feature__dce { margin-top: auto; font-size: 15px; color: var(--ink-2); }
.feature__dce strong { color: var(--ink); }
.feature__visual { position: relative; background: var(--blue); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 380px; overflow: hidden; }
.feature__visual--img { padding: 0; }
.feature__visual--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.big-mw { font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.big-mw small { font-size: .3em; letter-spacing: 0; margin-left: 8px; color: var(--olive); }
.timeline { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; padding-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--on-blue-line); }
.timeline li { position: relative; font-size: 13.5px; color: var(--on-blue-2); line-height: 1.4; }
.timeline li::before { content: ""; position: absolute; top: -20px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid rgba(255, 255, 255, .5); }
.timeline li.done::before { background: var(--olive); border-color: var(--olive); }
.timeline li.now::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); }
.timeline b { display: block; color: #fff; font-size: 14.5px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; font-weight: 800; font-size: 14.5px; cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.section--mist .ref { border-color: transparent; }
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ref[hidden] { display: none; }
.ref__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--mist); }
.ref__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ref:hover .ref__img img { transform: scale(1.05); }
.ref__kwp { position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; color: var(--blue); }
.ref__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ref__body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.ref__body p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.ref__body .tags { margin-top: auto; }
.ref__body .tag { height: 26px; font-size: 12.5px; }

/* ---------- Konstellationen ---------- */
.case { display: flex; flex-direction: column; }
.case__letter { width: 48px; height: 48px; border-radius: 14px; background: var(--olive); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 22px; margin-bottom: 22px; }
.case dl { margin: 18px 0 0; }
.case dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 16px; }
.case dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; }
.case__foot { margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 700; color: var(--blue); }

/* ---------- Scope (Sektorenkopplung) ---------- */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.scope__col { border-radius: var(--r); padding: 26px; }
.scope__col--yes { background: var(--blue-08); }
.scope__col--no { background: var(--mist); }
.section--mist .scope__col--no { background: #fff; }
.on-blue .scope__col--yes { background: rgba(255, 255, 255, .1); }
.on-blue .scope__col--no { background: rgba(0, 0, 0, .12); }
.scope__col h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.scope__col--yes h3 { color: var(--blue); }
.on-blue .scope__col--yes h3 { color: var(--olive); }
.scope__col--no h3 { color: var(--ink-3); }
.on-blue .scope__col--no h3 { color: var(--on-blue-2); }
.scope .checks { font-size: 15px; }

.diagram { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); }
.section--mist .diagram { border-color: transparent; }
.diagram svg { width: 100%; height: auto; }
.diagram__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.diagram__legend span { display: inline-flex; align-items: center; gap: 8px; }
.diagram__legend i { width: 14px; height: 14px; border-radius: 4px; }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.crumbs svg { width: 12px; height: 12px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 680px; margin-top: 24px; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.page-hero__aside { padding: 24px 0 0 28px; border-left: 3px solid var(--olive); color: var(--ink-2); font-size: 16px; }
.page-hero__aside strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.page-banner { margin-top: clamp(40px, 5vw, 64px); }
.page-banner .media { aspect-ratio: 21 / 8; }

/* Unternavigation (Leistungen) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 18px 13px; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a span { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.subnav a svg { width: 13px; height: 13px; margin-left: -4px; color: var(--ink-3); }
.subnav a.is-active span { color: var(--blue); }
/* Seiten mit Unternavigation: Sprungziele unterhalb von Kopfzeile und Leiste */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 86px); }
[tabindex="-1"]:focus { outline: none; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--blue); border-color: var(--blue); }

/* Leistungsblock */
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 90px); }
.svc__n { font-family: var(--mono); font-size: 14px; color: var(--blue); margin-bottom: 18px; display: block; }
.svc__intro .lead { margin: 20px 0 28px; }
.svc__result { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--olive-18); margin-top: 28px; }
.svc__result svg { width: 22px; height: 22px; flex-shrink: 0; color: #5e6006; margin-top: 2px; }
.svc__result strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #5e6006; margin-bottom: 2px; }
.svc__result span { font-weight: 700; }
.svc__cards { display: grid; gap: 16px; }
.svc__cards .card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc__cards .card h3 .ico { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.svc__cards .card h3 .ico svg { width: 22px; height: 22px; }
.svc__q { padding: 22px 24px; border-radius: var(--r); border: 1px dashed var(--line-strong); }
.svc__q strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.svc__q ul { display: grid; gap: 6px; }
.svc__q li { font-size: 15.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.svc__q li::before { content: "?"; position: absolute; left: 0; font-weight: 900; color: var(--olive-2); }
.svc + .svc { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .3s; }
.section--mist .faq details { border-color: transparent; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; font-weight: 800; font-size: 17.5px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); transition: background-color .3s, transform .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--blue); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq__a { padding: 0 26px 24px; color: var(--ink-2); max-width: 80ch; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--mist); margin-bottom: 18px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform .8s var(--ease); }
.person:hover .person__img img { filter: grayscale(0); transform: scale(1.03); }
.person h3 { font-size: 1.2rem; }
.person__role { color: var(--blue); font-weight: 800; font-size: 15px; margin: 4px 0 10px; }
.person p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.person a { font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--olive); }

/* ---------- Werte / Zeitleiste ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding-top: 24px; border-top: 3px solid var(--olive); }
.value h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value p { color: var(--ink-2); }
.on-blue .value p { color: var(--on-blue-2); }

.history { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.history li { position: relative; padding: 36px 24px 0 0; border-top: 2px solid var(--line); }
.history li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 5px #fff; }
.section--mist .history li::before { box-shadow: 0 0 0 5px var(--mist); }
.history b { display: block; font-size: 2rem; letter-spacing: -.03em; color: var(--blue); line-height: 1; margin-bottom: 12px; }
.history span { color: var(--ink-2); font-size: 15.5px; }

/* ---------- CTA-Band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--blue); color: #fff;
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: var(--on-blue-2); margin-top: 18px; max-width: 54ch; }
.cta .btns { justify-content: flex-end; }
.cta__arc { position: absolute; right: -12%; bottom: -38%; width: 62%; color: #fff; opacity: .07; pointer-events: none; }
.cta > div { position: relative; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact__side { display: grid; gap: 20px; }
.contact__card { background: var(--mist); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.contact__card--plain { background: none; border: 1.5px solid var(--line); }
.contact__card .h4 { margin-bottom: 6px; }
.contact__card .direct { margin-top: 22px; }
.contact__team { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact__team p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.avatars { display: flex; flex-shrink: 0; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2.5px solid var(--mist); }
.avatars picture + picture img, .avatars img + img { margin-left: -12px; }
.need { display: grid; gap: 18px; margin-top: 22px; }
.need li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.need .ico { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.need .ico svg { width: 20px; height: 20px; }
.need strong { display: block; font-size: 15.5px; }
.need span { font-size: 14.5px; color: var(--ink-2); }
.direct { display: grid; gap: 10px; }
.direct a, .direct div { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; font-size: 16.5px; }
.direct svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.direct a:hover { color: var(--blue); }

/* Anfrageformular: einspaltig, zwei Schritte, Prüfung direkt am Feld */
.form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.form [hidden] { display: none !important; }
.form h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form__head p { color: var(--ink-2); }
.form__progress { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 26px 0 30px; }
.form__progress li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); font-size: 14px; font-weight: 800; color: var(--ink-3); transition: color .3s, border-color .3s; }
.form__progress li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 12.5px; background: var(--mist); color: var(--ink-2); transition: background-color .3s, color .3s; }
.form__progress li.is-active, .form__progress li.is-done { color: var(--ink); border-color: var(--blue); }
.form__progress li.is-active span, .form__progress li.is-done span { background: var(--blue); color: #fff; }
.form__step { display: grid; gap: 24px; }
.form__step + .form__step { margin-top: 24px; }
.form__row { display: grid; gap: 24px; }
.js .form__step { animation: fadeUp .4s var(--ease); }
html:not(.js) .form__progress, html:not(.js) [data-next], html:not(.js) [data-back] { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field__label { display: block; padding: 0; font-size: 14.5px; font-weight: 800; margin-bottom: 8px; }
.field__label { margin-bottom: 10px; }
.field label small, .field__label small { font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.req { color: var(--blue); font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-14); }
.field__hint { font-size: 13.5px; color: var(--ink-3); margin-top: 7px; }
.field__err { font-size: 13.5px; font-weight: 700; color: var(--error); margin-top: 7px; }
.field__fix { margin-top: 7px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--blue); cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.field.is-invalid input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }
.field.is-valid input {
  border-color: rgba(49, 96, 148, .55); padding-right: 46px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23316094' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat right 14px center / 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 17px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 14.5px; font-weight: 700; line-height: 1.25; cursor: pointer; user-select: none; transition: background-color .2s, border-color .2s, color .2s; }
.chips span:hover { border-color: var(--blue); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 4px; }
.form__foot .btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.form__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 800; color: var(--ink-2); cursor: pointer; }
.form__back:hover { color: var(--blue); }
.form__back svg { width: 14px; height: 14px; transform: rotate(180deg); }
.form__status { padding: 12px 16px; border-radius: 12px; background: rgba(179, 38, 30, .07); font-size: 14.5px; font-weight: 700; color: var(--error); }
.form__legal { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.form__legal a { color: var(--ink-2); }
.form__trust { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.form__trust li { display: inline-flex; align-items: center; gap: 9px; }
.form__trust svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.form__done, .form__fallback { outline: none; animation: fadeUp .45s var(--ease); }
.form__done-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--olive-18); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.form__done-ico svg { width: 28px; height: 28px; }
.form__done p, .form__fallback p { color: var(--ink-2); margin: 10px 0 22px; max-width: 48ch; }
.form__done p a { color: var(--blue); font-weight: 700; }
.form__fallback .form__back { margin-top: 14px; }
.form.is-final .form__head, .form.is-final .form__progress, .form.is-final .form__trust { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 15.5px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .72); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__name { color: rgba(255, 255, 255, .6); }
.footer__brand p { margin-top: 20px; max-width: 34ch; }
.site-footer h2 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin: 48px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal a { color: var(--blue); }
.note { padding: 16px 20px; border-radius: var(--r-sm); background: var(--olive-18); font-size: 15px; font-weight: 600; margin-bottom: 32px; }

/* ---------- Scroll-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* <picture> dient nur der Formatwahl und soll das Layout nicht beeinflussen */
picture { display: contents; }
/* Der Zuschnitt liegt auf dem Bild, nicht auf dem beobachteten Rahmen: Ein vollständig
   weggeschnittenes Element gilt für den IntersectionObserver als unsichtbar und würde nie eingeblendet. */
.js .clip-in img { clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.js .clip-in.is-in img { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .clip-in img { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Chat-Assistent ---------- */
.chat-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 300; height: 60px; padding: 0 22px 0 8px; border-radius: 999px; border: 0;
  background: var(--blue); color: #fff; display: flex; align-items: center; gap: 12px; cursor: pointer;
  box-shadow: 0 14px 36px -10px rgba(31, 61, 94, .55); font-weight: 800; font-size: 15.5px;
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher__ico { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.chat-launcher__ico svg { width: 22px; height: 22px; }
.chat-launcher__ico::after { content: ""; position: absolute; right: 1px; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--olive); border: 2px solid var(--blue); }
.chat-open .chat-launcher { opacity: 0; transform: scale(.8); pointer-events: none; }

.chat {
  position: fixed; right: 24px; bottom: 24px; z-index: 310; width: min(420px, calc(100vw - 32px)); height: min(680px, calc(100vh - 48px));
  display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(50, 55, 60, .08), 0 40px 80px -24px rgba(31, 61, 94, .45);
  transform-origin: bottom right; transform: translateY(16px) scale(.96); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s;
}
.chat-open .chat { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s, visibility 0s; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; background: var(--blue); color: #fff; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chat__avatar svg { width: 30px; height: 14px; }
.chat__title { flex: 1; line-height: 1.25; }
.chat__title strong { display: block; font-size: 16px; }
.chat__title span { font-size: 13px; color: var(--on-blue-2); display: inline-flex; align-items: center; gap: 6px; }
.chat__title span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.chat__x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.chat__x:hover { background: rgba(255, 255, 255, .24); }
.chat__x svg { width: 16px; height: 16px; }
.chat__head .chat__x + .chat__x { margin-left: -4px; }
.chat__x:disabled { opacity: .4; cursor: default; }
.chat__x.is-on { background: #fff; color: var(--blue); }
.chat__list { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--mist); }
.chat__list[hidden], .chat__log[hidden], .chat__form[hidden] { display: none; }
.chat__list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.chat__list-head strong { font-size: 16px; }
.chat__list-new { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.chat__list-new svg { width: 15px; height: 15px; }
.chat__list ul { display: grid; gap: 8px; }
.chat__list li { display: flex; align-items: stretch; background: #fff; border-radius: 14px; border: 1.5px solid transparent; }
.chat__list li.is-active { border-color: var(--blue); }
.chat__item { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 12px 14px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; border-radius: 14px; }
.chat__item strong { font-size: 14.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat__item span { font-size: 12.5px; color: var(--ink-3); }
.chat__item:hover strong { color: var(--blue); }
.chat__del { width: 44px; flex-shrink: 0; border: 0; background: none; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; border-radius: 14px; }
.chat__del:hover { color: var(--error); }
.chat__del svg { width: 17px; height: 17px; }
.chat__list-empty, .chat__list-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.chat__log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--mist); overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; animation: fadeUp .35s var(--ease); }
.msg p { margin: 0 0 .6em; }
.msg p:last-child { margin: 0; }
.msg ul { list-style: disc; padding-left: 18px; margin: 0 0 .6em; }
.msg ul:last-child { margin-bottom: 0; }
.msg li { margin: 2px 0; }
.msg a { color: var(--blue); font-weight: 700; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--error { align-self: flex-start; background: #fff; border: 1.5px solid rgba(185, 187, 23, .6); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__suggest button { text-align: left; padding: 9px 14px; border-radius: 14px; border: 1.5px solid var(--blue-14); background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; }
.chat__suggest button:hover { border-color: var(--blue); background: var(--blue-08); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form textarea { flex: 1; resize: none; min-height: 46px; max-height: 140px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); }
.chat__form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-14); }
.chat__send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background-color .2s, opacity .2s; }
.chat__send:disabled { opacity: .4; cursor: default; }
.chat__send svg { width: 18px; height: 18px; }
.chat__legal { padding: 0 16px 12px; background: #fff; font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.chat__legal a { color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 15px; }
  .aud { grid-template-columns: repeat(3, 1fr); }
  .roles { grid-template-columns: 1fr; gap: 0; }
  .flow { flex-direction: row; min-height: 64px; padding: 8px 0; }
  .flow__line { width: 2px; height: 40px; }
  .flow__line::after { width: 100%; height: 40%; animation-name: flowv; }
  @keyframes flowv { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
  .float-card--scope { left: -16px; }
  .float-card--stat { right: -8px; }
}
@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px var(--pad) 28px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(50, 55, 60, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 18px; border-radius: 12px; }
  .nav a[aria-current="page"]::after { left: auto; right: 16px; top: 50%; margin-top: -2.5px; }
  .nav .btn { margin: 12px 0 0; }
  .hero__grid, .split, .split--wide-text, .svc, .contact, .page-hero__grid, .head--split, .cta { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero__img { aspect-ratio: 4 / 3; }
  .float-card--scope { left: 16px; bottom: 16px; }
  .float-card--stat { right: 16px; top: 16px; }
  .svc__intro { position: static; }
  .grid--4, .team { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .refs, .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__track { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__bar { width: 100% !important; height: var(--p, 0%); bottom: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .step__dot { grid-row: span 3; margin: 0; }
  .feature { grid-template-columns: 1fr; }
  .feature__visual { min-height: 300px; }
  .phase { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .history { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .cta .btns { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .page-hero__aside { padding: 0 0 0 20px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .refs, .values, .aud, .scope, .team, .history { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .float-card--scope { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
  .float-card--stat { padding: 10px 14px; }
  .hero__badge { font-size: 13px; }
  .btns .btn { flex: 1 1 auto; }
  .footer__top { grid-template-columns: 1fr; }
  .chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .chat-launcher { right: 16px; bottom: 16px; padding: 0 8px; }
  .chat-launcher__label { display: none; }
  .tabs__list { display: flex; border-radius: var(--r); }
  .tabs__list button { flex: 1 1 auto; }
  .timeline { grid-auto-flow: row; padding: 0 0 0 26px; gap: 14px; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li::before { top: 3px; left: -26px; }
}

/* Energiefluss in Diagrammen */
.flowline path { stroke-dasharray: 6 7; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -13; } }

/* Vergleichstabelle */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 18px 24px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; padding-top: 22px; }
.compare tbody th { font-weight: 800; width: 18%; }
.compare td { color: var(--ink-2); width: 41%; }
.compare .is-dce { background: var(--blue-08); color: var(--ink); font-weight: 700; }
.compare thead .is-dce { color: var(--blue); }
@media (max-width: 680px) {
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .compare tr:first-child { border-top: 0; }
  .compare th, .compare td { width: auto; border: 0; padding: 8px 20px; }
  .compare tbody th { padding-top: 18px; }
  .compare td::before { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .compare td:not(.is-dce)::before { content: "Aus einer Hand"; }
  .compare td.is-dce { margin: 0 12px 14px; border-radius: 10px; padding: 10px 12px; }
  .compare td.is-dce::before { content: "DCE-Modell"; color: var(--blue); }
}

.card__num svg { width: 22px; height: 22px; color: var(--blue); }
.nav a.btn[aria-current="page"] { color: #fff; }

/* ---------- Feinschliff ---------- */
.card__media { position: relative; margin: 0 0 26px; border-radius: 14px; overflow: hidden; aspect-ratio: 2 / 1; background: rgba(255, 255, 255, .08); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card__media img { transform: scale(1.04); }
.card__media figcaption, .feature__img figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 34, 51, .62); color: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; backdrop-filter: blur(6px); }
.feature__visual--photo { padding: 0; gap: 0; justify-content: flex-start; }
.feature__img { position: relative; margin: 0; flex: 1; min-height: 260px; }
.feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__visual--photo .timeline { margin: clamp(24px, 3vw, 36px); }
.teaser { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin-top: 28px; padding: 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .3s, transform .3s var(--ease); }
.teaser:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.teaser img { width: 132px; height: 88px; object-fit: cover; border-radius: 12px; }
.teaser > span { display: grid; gap: 3px; }
.teaser small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.teaser strong { font-size: 16.5px; line-height: 1.3; }
.teaser .link { font-size: 14.5px; margin-top: 4px; justify-self: start; }
.ref__img--cta { display: grid; place-items: center; background: var(--blue); color: #fff; }
.ref__img--cta svg { width: 62%; opacity: .9; }
.ref__img--cta .mono { position: absolute; left: 18px; bottom: 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-blue-2); }

/* Chat: Kontaktkarte, wenn der Assistent an das Team übergibt */
.chat__contact { align-self: stretch; padding: 16px; border-radius: 18px; background: #fff; border: 1.5px solid var(--blue-14); animation: fadeUp .35s var(--ease); }
.chat__contact strong { display: block; font-size: 15px; }
.chat__contact p { margin: 2px 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.chat__contact a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--mist); color: var(--ink); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.chat__contact a + a { margin-top: 6px; }
.chat__contact a:hover { background: var(--blue); color: #fff; }
.chat__contact a:hover svg { color: #fff; }
.chat__contact svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

@media (max-width: 1020px) {
  /* Leiste ist breiter als der Bildschirm: rechter Rand läuft aus, als Hinweis zum Wischen */
  .subnav .wrap { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); padding-right: 44px; }
  .contact > .form { order: -1; }
  /* Beim Ausfüllen auf kleinen Bildschirmen den Chat-Knopf nicht über die Felder legen */
  html:has(#anfrage input:focus, #anfrage textarea:focus) .chat-launcher { opacity: 0; pointer-events: none; }
}
@media (max-width: 680px) {
  .form__foot .btn { width: 100%; }
  .teaser { grid-template-columns: 96px 1fr; }
  .teaser img { width: 96px; height: 72px; }
  .form__progress li { font-size: 13px; }
}
