/* Design-System jhonny-daum.de (Rework 2026-10-04, Regeln in marketing/design.md).
   Tokens farbneutral benannt; Tausch-Palette „Stahl" per <html data-palette="stahl">.
   Bewegung (2026-10-05): site.js setzt html.anim; ohne JS und bei reduzierter Bewegung
   gilt überall der Endzustand. Animiert wird nur, was kein Layout auslöst. */
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bitter-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/source-sans-3-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/source-sans-3-600.woff2') format('woff2'); }

:root {
  --paper: #FAF9F6;
  --sheet: #FFFFFF;
  --ink: #171614;
  --muted: #5F5B53;
  --faint: #A9A498;
  --accent: #1F4A30;
  --accent-deep: #153521;
  --tint: #E9F0EB;
  --line: #DEDBD2;
  --dark: #14251B;
  --dark-soft: #1E3A2A;
  --on-dark: #FAF9F6;
  --dark-accent: #9DBDA8;
  /* Fase wie im Zeichen: 35° (Höhe = 0,7 × Breite) */
  --cut: polygon(0 0, calc(100% - 14px) 0, 100% 9.8px, 100% 100%, 0 100%);
  --cut-in: polygon(0 0, calc(100% - 13px) 0, 100% 9.1px, 100% 100%, 0 100%);
  --cut-l: polygon(0 0, calc(100% - 22px) 0, 100% 15.4px, 100% 100%, 0 100%);
  --cut-l-in: polygon(0 0, calc(100% - 21.3px) 0, 100% 14.9px, 100% 100%, 0 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-palette="stahl"] {
  --paper: #F6F6F4;
  --ink: #16181A;
  --muted: #5E6266;
  --faint: #A4A7AA;
  --accent: #C2410C;
  --accent-deep: #9A3309;
  --tint: #ECEDEE;
  --line: #DCDDDD;
  --dark: #1B1E21;
  --dark-soft: #25292D;
  --on-dark: #F6F6F4;
  --dark-accent: #E8703A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .statement, .key b, .figures b, .quote, .big-quote, .st-num b { font-family: 'Bitter', Georgia, serif; font-weight: 600; }
h1 { font-size: clamp(31px, 5.4vw, 46px); line-height: 1.1; text-wrap: balance; }
h2 { font-size: 27px; line-height: 1.2; margin-bottom: 14px; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; }
p { max-width: 62ch; }
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }
.eyebrow { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent); }

/* Kopf */
header.site { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; position: relative; z-index: 1; }
.lockup { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lockup svg { width: 42px; height: 42px; fill: var(--accent); flex: none; overflow: visible; }
.lockup svg polygon { transition: transform .35s var(--ease); }
.lockup .name { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 23px; line-height: 1.15; }
.lockup .descriptor { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 2px; }
header.site nav a { font-weight: 600; font-size: 16px; text-decoration: none; }
header.site nav a:hover { text-decoration: underline; }
/* Explosionszeichnung: bei Hover rücken die vier Teile auseinander (Einheiten des 100er-Rasters) */
.lockup:hover svg polygon:nth-child(1) { transform: translate(-2px, -5px); }
.lockup:hover svg polygon:nth-child(3) { transform: translate(-5px, 4px); }
.lockup:hover svg polygon:nth-child(4) { transform: translate(6px, 0); }

main { display: flex; flex-direction: column; gap: 76px; padding: 52px 0 80px; overflow-x: clip; }
main > .wrap { width: 100%; }
section p + p { margin-top: 12px; }

/* Einstieg */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; align-items: stretch; position: relative; isolation: isolate; }
.hero .txt { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-bottom: 6px; }
.hero .lead { font-size: 19px; line-height: 1.5; }
.hero img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: 50% 22%; border-radius: 3px; display: block; }
/* Raster wie im LinkedIn-Banner (eingebettetes SVG aus build_banner.py), läuft nach rechts aus */
.raster { position: absolute; z-index: -1; pointer-events: none; width: 1104px; height: 576px; }
.raster rect { transform-box: fill-box; }
.raster .h { transform-origin: left center; }
.raster .v { transform-origin: center top; }
.hero .raster { top: -44px; right: 322px; color: var(--accent); opacity: .24; }
/* Überschrift im Kopf sitzt Zeile für Zeile zwischen den Rasterlinien (Raster 48 px): Zeilenhöhe = ein Feld,
   ohne Dachzeile beginnt die Überschrift ganz oben, also rückt das Raster dort mit */
@media (min-width: 701px) {
  .hero h1 { line-height: 48px; }
  .hero:not(:has(.eyebrow)) .raster { top: -27px; }
}
/* Kästen im Kopf (4,6 Mio., Fakten): ragen links um --edge über den Textrand, dort blenden Fläche und
   Linien weich ein, das Raster läuft darunter aus statt an einer harten Kante abzubrechen */
.key, .facts { --edge: 48px; margin-left: calc(-1 * var(--edge));
  background: linear-gradient(to right, transparent, var(--line) var(--edge)) left top / 100% 1px no-repeat,
              linear-gradient(to right, transparent, var(--line) var(--edge)) left bottom / 100% 1px no-repeat,
              linear-gradient(to right, transparent, var(--paper) var(--edge)); }
.key { display: flex; align-items: center; gap: 16px; padding: 20px 20px 20px calc(var(--edge) + 20px); justify-content: center; align-self: stretch; }
/* optisch mittig zwischen den Linien: Zeilen auf Versalhöhe und Grundlinie beschneiden */
.key b, .key span, .facts small, .facts b { text-box: trim-both cap alphabetic; }
.key b { font-size: clamp(42px, 7vw, 60px); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.key span { font-size: 15.5px; line-height: 1.4; color: var(--muted); max-width: 30ch; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 17px; padding: 12px 26px 12px 24px; border-radius: 3px; clip-path: var(--cut); }
.cta:hover { background: var(--accent-deep); color: var(--paper); }
.cta:focus-visible { outline: 2px solid var(--paper); outline-offset: -5px; }
.cta .arr { display: inline-block; transition: transform .25s var(--ease); }
.cta:hover .arr { transform: translateX(4px); }
.cta-note { font-size: 14.5px; color: var(--muted); margin-top: -8px; }

/* Prozess: Vorher / Nachher. Ein Blatt läuft auf der Linie über den Kästen mit. */
.flow { margin-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.flow .row { position: relative; }
.flow .lab { display: flex; align-items: center; gap: 12px; font-size: 11.5px; line-height: 18px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.flow .lab::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.flow .after .lab { color: var(--accent); }
.chain { list-style: none; display: flex; align-items: stretch; gap: 26px; }
.chain > li { position: relative; display: flex; flex: 1 1 auto; }
.chain > li + li::before { content: ""; position: absolute; left: -21px; top: calc(50% - .75px); width: 12px; height: 1.5px; background: var(--arrow, var(--ink)); }
.chain > li + li::after { content: ""; position: absolute; left: -11px; top: calc(50% - 5px); border: 5px solid transparent; border-left: 7px solid var(--arrow, var(--ink)); border-right: 0; }
.chain .box { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 14px; border-radius: 4px; font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: color .3s, background-color .3s, border-color .3s; }
.before .chain { --arrow: var(--faint); }
.before .box { border: 1.2px dashed var(--faint); background: var(--paper); color: var(--muted); font-weight: 400; font-size: 14px; z-index: 1; }
.before .stack .sheet { position: absolute; inset: 0; border: 1.2px dashed var(--faint); border-radius: 4px; background: var(--paper); transition: transform .45s var(--ease), opacity .3s; }
.before .stack .sheet:nth-child(1) { transform: translate(8px, -8px); }
.before .stack .sheet:nth-child(2) { transform: translate(4px, -4px); }
.after .box { background: var(--ink); clip-path: var(--cut); color: var(--ink); }
.after .box::before { content: ""; position: absolute; inset: 1.5px; background: var(--sheet); border-radius: 3px; clip-path: var(--cut-in); }
.after .box::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transition: transform .55s cubic-bezier(.6, 0, .2, 1); }
.after li:not(.res) .box::after { display: none; }
.after .box .t { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; }
.after .res .box { background: var(--accent); color: var(--paper); }
.flow .ok { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 1 2; transition: stroke-dashoffset .4s ease .45s; }
.track { position: absolute; left: 0; right: 0; top: 9px; height: 0; pointer-events: none; }
.doc { position: absolute; left: 0; top: -9px; width: 14px; height: 18px; opacity: 0; z-index: 2; }
.doc path { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.after .doc path { stroke: var(--accent); }
.replay { display: inline-block; visibility: hidden; opacity: 0; transition: opacity .4s ease; align-self: flex-start; margin-top: -6px; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.replay:hover { color: var(--accent); text-decoration: underline; }
html:not(.anim) .replay { display: none; }
html.anim .flow[data-state="done"] .replay { visibility: visible; opacity: 1; }
/* Ausgangszustand vor dem Ablauf */
html.anim .flow:not([data-state="done"]) .chain > li:not(.on) .box { color: var(--faint); }
html.anim .flow:not([data-state="done"]) .after li:not(.on) .box { background: var(--faint); }
html.anim .flow:not([data-state="done"]) .before .stack:not(.grown) .sheet { transform: none; opacity: 0; }
html.anim .flow:not([data-state="done"]) .after .res:not(.on) .box { color: var(--faint); }
html.anim .flow:not([data-state="done"]) .after .res:not(.on) .box::after { transform: scaleX(0); }
html.anim .flow:not([data-state="done"]) .after .res:not(.on) .ok { stroke-dashoffset: 1; }
html.anim .flow .after .res.on .box { color: var(--paper); }

/* Methode */
.statement { font-size: clamp(22px, 3.4vw, 28px); line-height: 1.3; max-width: 24em; text-wrap: balance; margin-bottom: 14px; }
.statement .u { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 3px no-repeat; padding-bottom: 3px; transition: background-size .8s cubic-bezier(.5, 0, .2, 1); }
.statement .u2 { transition-delay: .8s; }
html.anim .statement:not(.is-in) .u { background-size: 0% 3px; }
.method { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 30px; }
.method li { position: relative; transition: opacity .9s ease; }
.method li:nth-child(2) { transition-delay: 2.4s; }
.method li:nth-child(3) { transition-delay: 5.2s; }
html.anim .method:not(.is-in) li { opacity: .35; }
.method .ico { width: 52px; height: 52px; display: block; margin-bottom: 14px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: miter; }
.method .ico path { stroke-dasharray: 1 2; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.45, 0, .2, 1); }
.method li:nth-child(2) .ico path { transition-delay: 2.4s; }
.method li:nth-child(3) .ico path { transition-delay: 5.2s; }
/* die Verbindung wächst in der Lesezeit zum nächsten Schritt */
.method li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 66px; right: -24px; height: 1.5px; background: var(--line); transform-origin: left; transition: transform 1.4s cubic-bezier(.4, 0, .4, 1); }
.method li:nth-child(1)::after { transition-delay: 1s; }
.method li:nth-child(2)::after { transition-delay: 3.8s; }
.method b { display: block; font-size: 18px; margin-bottom: 4px; }
.method span { display: block; font-size: 16px; }
html.anim .method:not(.is-in) .ico path { stroke-dashoffset: 1; }
html.anim .method:not(.is-in) li::after { transform: scaleX(0); }
.check-line { margin-top: 30px; padding-left: 16px; border-left: 3px solid var(--accent); }

/* dunkles Band */
.band { background: var(--dark); color: var(--on-dark); padding: 60px 0; position: relative; overflow: hidden; isolation: isolate; }
.band .raster { top: -20px; right: 52%; color: var(--on-dark); opacity: .12; }
.band .mark { position: absolute; z-index: -1; right: -130px; top: 50%; height: 170%; width: auto; transform: translateY(-50%); fill: var(--dark-soft); }
.band h2 { color: var(--on-dark); }
.band a { color: var(--dark-accent); font-weight: 600; }
.band a:hover { color: var(--on-dark); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 26px; }
.figures div { position: relative; padding-top: 14px; }
.figures div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--dark-accent); transform-origin: left; transition: transform .9s cubic-bezier(.5, 0, .2, 1); }
.figures div:nth-child(2)::before { transition-delay: .15s; }
.figures div:nth-child(3)::before { transition-delay: .3s; }
html.anim .figures:not(.is-in) div::before { transform: scaleX(0); }
.figures small { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-accent); font-weight: 600; }
.figures b { display: block; font-size: clamp(30px, 4.6vw, 40px); line-height: 1.1; margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.figures span { font-size: 15px; line-height: 1.35; color: #D8E3DB; display: block; }

/* Angebot */
.audit { background: var(--tint); border-radius: 4px; clip-path: var(--cut-l); padding: 28px 30px 26px; display: flex; flex-direction: column; gap: 20px; }
.audit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.audit-head b { display: block; font-size: 19px; }
.audit-head span { color: var(--muted); }
.audit .price { text-align: right; }
.audit .price b { font-family: 'Bitter', Georgia, serif; font-size: 30px; line-height: 1.1; }
.audit .price span { font-size: 14.5px; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; border-top: 1px solid #D3DED6; padding-top: 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 1 2; transition: stroke-dashoffset .35s ease; }
.checks li:nth-child(2) svg { transition-delay: .25s; }
.checks li:nth-child(3) svg { transition-delay: .5s; }
.checks li:nth-child(4) svg { transition-delay: .75s; }
html.anim .audit:not(.is-in) .checks svg { stroke-dashoffset: 1; }
.audit .path { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14.5px; color: var(--muted); }
.audit .path li + li::before { content: "→"; color: var(--accent); margin: 0 10px; }
.audit .fine { font-size: 14.5px; color: var(--muted); margin-top: -10px; }

/* Nutze ich selbst */
.own { display: grid; grid-template-columns: minmax(0, 1fr) 226px; gap: 48px; align-items: center; }
.phone { width: 226px; border: 2px solid var(--ink); border-radius: 28px; padding: 30px 14px 34px; background: var(--sheet); position: relative; }
.phone::before { content: ""; position: absolute; top: 11px; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 3px; background: var(--line); }
.phone small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 4px 10px; }
.phone ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.phone li { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 14px; line-height: 1.25; transition: color .3s; }
.phone i { width: 18px; height: 18px; flex: none; border-radius: 4px; border: 1.5px solid var(--accent); background: var(--accent); display: grid; place-items: center; transition: background-color .3s; }
.phone i svg { width: 12px; height: 12px; fill: none; stroke: var(--paper); stroke-width: 2.6; stroke-dasharray: 1 2; transition: stroke-dashoffset .3s ease .15s; }
.phone li:nth-child(2), .phone li:nth-child(2) i, .phone li:nth-child(2) svg { transition-delay: .7s; }
.phone li:nth-child(3), .phone li:nth-child(3) i, .phone li:nth-child(3) svg { transition-delay: 1.4s; }
html.anim .phone:not(.is-in) i { background: transparent; }
html.anim .phone:not(.is-in) i svg { stroke-dashoffset: 1; }
html.anim .phone:not(.is-in) li { color: var(--muted); }

/* Abschluss */
.closing { border-top: 1px solid var(--line); padding-top: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.closing h2 { font-size: clamp(28px, 4.4vw, 38px); margin: 0; }
.closing .mail { font-size: 15px; color: var(--muted); }

/* Impressum, Datenschutz: ruhige Textseite ohne Bewegung */
.legal main { gap: 30px; }
.legal h1 { font-size: clamp(30px, 4.8vw, 40px); }
.legal h2 { font-size: 20px; margin-bottom: 6px; }
.legal .placeholder { background: #FFF3C4; padding: 0 3px; }

footer.site { border-top: 1px solid var(--line); padding: 24px 24px 40px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* ---------- Über mich ---------- */
.hero .eyebrow { margin-bottom: -8px; }
.about-h1 { font-size: clamp(30px, 4.8vw, 42px); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: var(--edge); }
.facts div { padding: 17px 18px; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.facts b { font-weight: 600; }

.quote { position: relative; font-size: clamp(24px, 3.8vw, 33px); line-height: 1.25; max-width: 23em; padding-left: 24px; text-wrap: balance; }
.quote::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--accent); transform-origin: top; transition: transform .8s cubic-bezier(.5, 0, .2, 1); }
html.anim .quote:not(.is-in)::before { transform: scaleY(0); }
.quote + p { margin-top: 14px; padding-left: 27px; color: var(--muted); max-width: 58ch; }


/* Werdegang mit System-Plan */
.career { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; margin-top: 24px; align-items: start; }
.plan { position: sticky; top: max(24px, calc(50vh - 200px)); }
.plan svg { width: 100%; height: auto; display: block; overflow: visible; }
.plan-svg .sys path { fill: var(--accent); stroke: var(--accent); stroke-width: 1.5; transition: fill .45s, stroke .45s; }
.plan-svg .sys text { fill: var(--paper); transition: fill .45s; }
.plan-svg .t { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: 15px; }
.plan-svg .s { font-size: 10px; letter-spacing: .08em; font-weight: 600; opacity: .8; }
.plan-svg .link { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1 2; stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease; }
.plan-svg .head { fill: var(--ink); transition: opacity .3s ease .45s; }
.plan-svg .frame { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1 2; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.5, 0, .2, 1); }
.plan-svg .lbl rect { fill: var(--paper); }
.plan-svg .lbl text { fill: var(--accent); font-size: 10.5px; letter-spacing: .1em; font-weight: 600; }
.plan-svg .lbl { transition: opacity .4s ease .3s; }
html.steps .plan-svg .sys:not(.is-on) path { fill: var(--paper); stroke: var(--faint); stroke-dasharray: 4 3; }
html.steps .plan-svg .sys:not(.is-on) text { fill: var(--faint); }
html.steps .plan-svg .sys.is-built:not(.is-on) path { fill: var(--sheet); stroke: var(--ink); stroke-dasharray: none; }
html.steps .plan-svg .sys.is-built:not(.is-on) .t { fill: var(--ink); }
html.steps .plan-svg .sys.is-built:not(.is-on) .s { fill: var(--muted); }
html.steps .plan-svg .link:not(.is-drawn), html.steps .plan-svg .frame:not(.is-drawn) { stroke-dashoffset: 1; }
html.steps .plan-svg .head:not(.is-drawn), html.steps .plan-svg .lbl:not(.is-drawn) { opacity: 0; transition-delay: 0s; }
.plan .note { font-size: 13.5px; color: var(--muted); margin-top: 12px; padding-left: 6px; }
.mini { display: none; }

.station { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.station:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 70px; }
.st-head { display: flex; align-items: center; gap: 14px; }
.role { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.st-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: 10px 0 8px; }
.st-num small { width: 100%; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.st-num b { font-size: clamp(34px, 5vw, 44px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.st-num span { color: var(--muted); }
.points { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 15px; font-weight: 600; }
.points li { position: relative; padding-left: 20px; }
.points li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 10px; height: 5.5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Tempo: Konzern gegen Betrieb */
.pace { margin: 22px 0 20px; display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.pace .cap { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.pace .cap b { font-weight: 600; }
.pace .cap span { color: var(--muted); }
.pace .bar { height: 10px; border-radius: 2px; background: var(--faint); transform-origin: left; transition: transform 2.8s cubic-bezier(.3, .1, .3, 1); }
.pace .fast .bar { width: 14%; background: var(--accent); transition-duration: .6s; }
.pace .fast .cap { max-width: none; justify-content: flex-start; }
.pace .sub { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: none; }
html.anim .pace:not(.is-in) .bar { transform: scaleX(0); }
.note { font-size: 15px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; margin-top: 18px; }

/* Arbeitsweise als Karten */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.card { position: relative; background: var(--line); clip-path: var(--cut-l); border-radius: 4px; padding: 22px 24px 24px; }
.card::before { content: ""; position: absolute; inset: 1px; background: var(--sheet); border-radius: 3px; clip-path: var(--cut-l-in); }
.card > * { position: relative; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { font-size: 16px; }
/* Hover: Kante und Fase werden grün, nichts bewegt sich (keine Klick-Anmutung) */
/* Karten erscheinen nacheinander, wenn sie ins Bild kommen */
.card { transition: opacity .6s ease, transform .7s var(--ease); }
.card:nth-child(2) { transition-delay: .18s; }
.card:nth-child(3) { transition-delay: .36s; }
.card:nth-child(4) { transition-delay: .54s; }
html.anim .cards:not(.is-in) .card { opacity: 0; transform: translateY(18px); }

/* bekommt / bekommt nicht */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 20px; }
.pair h3 { font-size: 17px; font-family: 'Source Sans 3', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pair ul { list-style: none; display: flex; flex-direction: column; }
.pair li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); }
.pair li::before { content: ""; position: absolute; left: 3px; }
.pair .yes li::before { top: 15px; width: 12px; height: 6.5px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); }
.pair .no li { color: var(--muted); }
.pair .no li::before { top: 20px; width: 11px; height: 2px; background: var(--faint); transform-origin: left; }
/* Haken und Striche setzen sich nacheinander, erst links, dann rechts */
.pair li, .pair li::before { transition: opacity .45s ease, transform .35s var(--ease); }
.pair .yes li:nth-child(2), .pair .yes li:nth-child(2)::before { transition-delay: .14s; }
.pair .yes li:nth-child(3), .pair .yes li:nth-child(3)::before { transition-delay: .28s; }
.pair .yes li:nth-child(4), .pair .yes li:nth-child(4)::before { transition-delay: .42s; }
.pair .no li:nth-child(1), .pair .no li:nth-child(1)::before { transition-delay: .62s; }
.pair .no li:nth-child(2), .pair .no li:nth-child(2)::before { transition-delay: .76s; }
.pair .no li:nth-child(3), .pair .no li:nth-child(3)::before { transition-delay: .9s; }
.pair .no li:nth-child(4), .pair .no li:nth-child(4)::before { transition-delay: 1.04s; }
html.anim .pair:not(.is-in) li { opacity: .3; }
html.anim .pair:not(.is-in) .yes li::before { transform: rotate(-45deg) scale(0); }
html.anim .pair:not(.is-in) .no li::before { transform: scaleX(0); }
.closer { font-family: 'Bitter', Georgia, serif; font-weight: 600; font-size: clamp(21px, 3vw, 25px); line-height: 1.35; max-width: none; text-wrap: balance; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Bühne: Vom Raster zum Bild */
.away { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 52px; align-items: center; }
.away h2 { margin-bottom: 8px; }
.stage-pic { position: relative; margin: 0; isolation: isolate; --grid: color-mix(in srgb, var(--accent) 26%, transparent); }
/* Raster aus build_banner.py (stage_raster), Feld = Bildbreite / 6 = Bildhöhe / 8; das SVG reicht
   5 Felder links, 5 rechts, 4 oben und 4 unten über das Bild. Um ½ px versetzt, damit die Linien auf
   denselben Pixeln liegen wie die Kacheln beim Einblenden */
.stage-raster { position: absolute; z-index: -1; left: -83.333%; top: -50%; width: 266.667%; height: 200%;
  overflow: visible; pointer-events: none; color: var(--grid); transform: translate(.5px, .5px); }
/* Foto blendet entlang des Motivs (Auge und Bank) ins Raster aus, nicht als Rechteck.
   Die Transparenz steckt im Bild (buehne.webp aus build_buehne.py), keine CSS-Maske */
.stage-pic .feather { position: relative; display: block; transition: transform 1.9s cubic-bezier(.2, .6, .2, 1); }
.stage-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
html.anim .stage-pic:not(.is-in) .feather { transform: scale(1.05); }
/* Vom Raster zum Bild: Felder lösen sich diagonal von unten links auf, zuletzt verblassen die Linien */
.tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(8, 1fr); pointer-events: none; }
.tiles i { background: var(--paper); transition: opacity .55s ease; transition-delay: calc(var(--d) * 60ms); }
.tiles::after { content: ""; position: absolute; inset: 0; border-bottom: 1px solid var(--grid);
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: calc(100% / 6) calc(100% / 8); transition: opacity .7s ease 1s; }
.stage-pic.is-in .tiles i, .stage-pic.is-in .tiles::after { opacity: 0; }
.big-quote { font-size: clamp(25px, 4vw, 34px); line-height: 1.25; max-width: 20em; text-wrap: balance; margin: 30px 0 14px; }

/* Ladebewegungen: Zeichen setzt sich zusammen, Raster zeichnet sich ein */
@media (prefers-reduced-motion: no-preference) {
  .lockup svg polygon { animation: teil .95s var(--ease) backwards; }
  .lockup svg polygon:nth-child(1) { --from: translate(-6px, -16px); animation-delay: .4s; }
  .lockup svg polygon:nth-child(2) { --from: translate(0, 18px); animation-delay: .53s; }
  .lockup svg polygon:nth-child(3) { --from: translate(-16px, 10px); animation-delay: .66s; }
  .lockup svg polygon:nth-child(4) { --from: translate(18px, 0); animation-delay: .79s; }
  .hero .raster .h { animation: zieh-h 1.4s cubic-bezier(.3, .6, .2, 1) backwards; animation-delay: calc(.15s + var(--i) * 70ms); }
  .hero .raster .v { animation: zieh-v 1.2s cubic-bezier(.3, .6, .2, 1) backwards; animation-delay: calc(.45s + var(--i) * 45ms); }
}
@keyframes teil { from { opacity: 0; transform: var(--from); } }
@keyframes zieh-h { from { transform: scaleX(0); } }
@keyframes zieh-v { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
html.ruhig *, html.ruhig *::before, html.ruhig *::after { transition: none !important; animation: none !important; }

@media (max-width: 760px) {
  .career { grid-template-columns: 1fr; gap: 0; }
  .plan { position: static; max-width: 300px; margin-bottom: 20px; }
  html.has-mini .plan { display: none; }
  .mini { display: block; width: 58px; flex: none; }
  .mini text, .mini .lbl { display: none; }
  .station, .station:first-child { min-height: 0; padding: 26px 0; border-top: 1px solid var(--line); justify-content: flex-start; }
}
@media (max-width: 700px) {
  main { gap: 60px; padding-top: 36px; }
  header.site nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero .raster { right: -140px; top: -36px; opacity: .18; }
  .hero img { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-position: 50% 16%; }
  .key, .facts { --edge: 24px; }
  .key { flex-direction: column; align-items: flex-start; gap: 6px; }
  .chain { flex-direction: column; gap: 22px; padding-left: 26px; }
  .chain > li + li::before { left: calc(50% - .75px); top: -17px; width: 1.5px; height: 10px; }
  .chain > li + li::after { left: calc(50% - 5px); top: -8px; border: 5px solid transparent; border-top: 6px solid var(--arrow, var(--ink)); border-bottom: 0; }
  .track { left: 0; right: auto; top: 30px; bottom: 0; width: 14px; height: auto; }
  .doc { top: 0; }
  .method { grid-template-columns: 1fr; gap: 26px; }
  .method li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; }
  .method .ico { grid-row: span 2; margin: 0; }
  .method li:not(:last-child)::after { top: 62px; left: 25px; right: auto; width: 1.5px; height: calc(100% - 50px); transform-origin: top; }
  html.anim .method:not(.is-in) li::after { transform: scaleY(0); }
  .band .raster { right: -140px; opacity: .09; }
  .band .mark { right: -190px; height: 75%; top: 70%; opacity: .7; }
  .audit .path { flex-direction: column; gap: 2px; }
  .audit .path li + li::before { margin: 0 8px 0 0; }
  .figures { grid-template-columns: 1fr; gap: 18px; }
  .audit { padding: 24px 20px; }
  .audit .price { text-align: left; }
  .checks { grid-template-columns: 1fr; }
  .own { grid-template-columns: 1fr; gap: 28px; }
  .phone { justify-self: center; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .pair { grid-template-columns: 1fr; }
  .away { grid-template-columns: 1fr; gap: 26px; }
  .away > div { order: -1; }
  /* Bühne am Handy schmaler, damit das Raster links und rechts sichtbar ausläuft; oben steht Text,
     unten der Kontakt: dort blendet das Raster vorher aus (eine einfache Verlaufsmaske) */
  .stage-pic { width: 80%; margin-inline: auto; }
  .stage-raster { -webkit-mask-image: linear-gradient(to bottom, transparent 21%, #000 24.5%, #000 77.5%, transparent 83%);
    mask-image: linear-gradient(to bottom, transparent 21%, #000 24.5%, #000 77.5%, transparent 83%); }
}
