/* ==========================================================================
   grafzahl.io Website
   Tokens kopiert aus web/konfigurator-check/lp.css am 12.10.2026, bewusst nicht verlinkt.
   ========================================================================== */

/* Self-hosted Fonts, nur genutzte Schnitte (DSGVO: kein Request an Google). */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/Bitter-300-900-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/Bitter-300-900-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexMono-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexMono-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/IBMPlexSans-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Light Mode tokens */
  --bg: #FFFFFF;
  --bg-elevated: #F7F6F2;
  --bg-tinted: #F0EDE5;
  --ink: #16182A;
  --ink-soft: #353A52;
  --ink-muted: #6B6F82;
  --ink-faint: #A8ABBA;
  --line: #E2DFD7;
  --line-strong: #C7C3B7;

  --accent: #2B3FB7;          /* deeper, more grounded blue */
  --accent-bright: #4A6CF7;   /* original royal */
  --accent-soft: #E5E9FB;
  --copper: #B8763E;          /* industrial bronze */
  --copper-soft: #F4E5D2;
  --loss-red: #B8341D;        /* brick-red, kupfer-verwandt, gedeckt */

  --grid-line: rgba(22, 24, 42, 0.04);

  /* Typography scale */
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --fs-h1: clamp(2.2rem, 5vw, 4.2rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 2.6rem);
  --fs-h3: clamp(1.3rem, 2.4vw, 1.7rem);
  --fs-lead: clamp(1.15rem, 1.8vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-mono: 0.78rem;

  --gap-3: 8px;
  --gap-4: 16px;
  --gap-5: 24px;
  --gap-6: 40px;
  --gap-7: 64px;
  --gap-8: 96px;
  --gap-9: 128px;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-card: 0 1px 0 var(--line), 0 18px 32px -24px rgba(22, 24, 42, 0.18);
  --shadow-lift: 0 1px 0 var(--line-strong), 0 28px 50px -28px rgba(22, 24, 42, 0.28);

  --max: 1240px;
  --max-narrow: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1020;
    --bg-elevated: #161930;
    --bg-tinted: #1D2144;
    --ink: #F1ECE3;
    --ink-soft: #C9C3B6;
    --ink-muted: #8A8FA6;
    --ink-faint: #5A5F77;
    --line: #232744;
    --line-strong: #353A52;

    --accent: #6E84F4;
    --accent-bright: #8FA0F8;
    --accent-soft: #1D2447;
    --copper: #D89461;
    --copper-soft: #2B1F11;
    --loss-red: #E07060;       /* aufgehellt für Dark Mode */

    --grid-line: rgba(255, 255, 255, 0.04);

    --shadow-card: 0 1px 0 var(--line), 0 18px 32px -24px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 1px 0 var(--line-strong), 0 28px 50px -28px rgba(0, 0, 0, 0.8);
  }
}

/* Textfarbe Kupfer: --copper erreicht auf Weiß kein AA, für Text dunkler. */
:root { --copper-text: #8F5A2B; }
@media (prefers-color-scheme: dark) { :root { --copper-text: #D89461; } }

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Editorial-Layout (Skill grafzahl-lp-brand): ruhige Fläche, kein Blueprint-Raster. */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 4px; }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 0; padding: var(--gap-3) var(--gap-4); background: var(--accent); color: var(--bg); z-index: 100; }
.skip-link:focus { left: var(--gap-4); top: var(--gap-4); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ----- Kopf ----- */
.site-header { max-width: var(--max); margin: 0 auto; padding: var(--gap-5); display: flex; align-items: center; justify-content: space-between; gap: var(--gap-5); border-bottom: 1px solid var(--line-strong); }
.site-header .logo-link svg { height: 44px; width: auto; display: block; }
.site-nav ul { list-style: none; display: flex; gap: var(--gap-5); align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; padding: var(--gap-3) 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--bg); text-decoration: none; padding: 0 var(--gap-4); }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .js .nav-toggle { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; gap: var(--gap-3); background: none; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); font: inherit; padding: 0 var(--gap-4); }
  .js .site-nav ul { display: none; }
  .js .site-nav.open ul { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); padding: var(--gap-5); border-bottom: 1px solid var(--ink); z-index: 50; }
  .site-header { position: relative; }
}

/* ----- Grundelemente ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: var(--gap-3); min-height: 48px; padding: 10px var(--gap-5); border-radius: 2px; font-weight: 500; line-height: 1.35; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.text-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.text-link:hover { color: var(--accent); }

.eyebrow, .kicker { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); line-height: 2; }
.kicker b, .eyebrow b { color: var(--copper-text); font-weight: 500; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; }
h1 em { font-style: italic; font-weight: 400; color: var(--accent); padding-right: .12em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 60ch; }
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap-5) var(--gap-7); counter-reset: sec; }

/* ----- Hero (alle Seiten): Kennzeichnung links, Inhalt rechts versetzt ----- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: var(--gap-7) 0 var(--gap-6); border-bottom: 1px solid var(--ink); }
.hero-text { display: contents; }
.hero > *, .hero-text > * { grid-column: 4 / 12; }
.hero .eyebrow, .hero .kicker { grid-column: 1 / 4; grid-row: 1 / span 3; padding-top: 14px; }
.hero h1 { grid-column: 4 / 12; }
.hero .lead { grid-column: 4 / 11; margin-top: var(--gap-5); }
.hero .checklist { margin-top: var(--gap-5); }
.hero-sub h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.breadcrumb { padding-top: var(--gap-5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--gap-3); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--gap-3); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Startseite */
.hero-home .claim { grid-column: 4 / 13; font-family: var(--font-mono); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); display: flex; align-items: center; gap: 12px; }
.hero-home .claim::before { content: ""; width: 36px; height: 2px; background: var(--copper); flex: none; }
.hero-home h1 { grid-column: 4 / 11; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; margin-top: var(--gap-4); }
.hero-actions { grid-column: 4 / 13; display: flex; flex-wrap: wrap; gap: var(--gap-5); align-items: center; margin-top: var(--gap-5); }
.proof { grid-column: 4 / 11; margin-top: var(--gap-6); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--gap-4); max-width: 620px; }
.proof > * { grid-column: 2; }
.proof::before { grid-column: 1; grid-row: 1 / span 2; content: "“"; font-family: var(--font-display); font-size: 3.6rem; line-height: .8; color: var(--copper); }
.proof p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--ink); }
.proof cite { display: block; margin-top: 6px; font-style: normal; }

/* Ankerseiten: Wegweiser rechts im Hero */
.hero-anchor h1, .hero-anchor .lead { grid-column: 4 / 10; }
.wegweiser { grid-column: 10 / 13; grid-row: 1 / span 4; width: 100%; max-width: 320px; justify-self: end; align-self: center; }
.wegweiser .hatch line { stroke: var(--ink-faint); stroke-width: 1; opacity: .35; }
.wegweiser .ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.wegweiser .flow { fill: none; stroke: url(#gW); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawW 2.4s cubic-bezier(.65,0,.35,1) .4s forwards; }
@keyframes drawW { to { stroke-dashoffset: 0; } }
.wegweiser .n { fill: var(--bg); stroke: var(--accent); stroke-width: 3; }
.wegweiser .n.is-here { fill: var(--accent); }
.wegweiser .goal { fill: var(--copper); }
.wegweiser text { font-family: var(--font-mono); font-size: 15px; letter-spacing: .12em; fill: var(--ink-muted); }
.wegweiser text.is-here { fill: var(--ink); font-weight: 500; }
.wegweiser .coord { font-size: 11px; }
.wegweiser .dim { stroke: var(--ink-muted); stroke-width: 1; }
.svg-stop-accent { stop-color: var(--accent); } .svg-stop-copper { stop-color: var(--copper); }

/* Über mich */
.about-hero .portrait { grid-column: 1 / 4; grid-row: 1 / span 4; align-self: start; }
.about-hero .eyebrow { grid-column: 4 / 12; grid-row: auto; padding-top: 0; }

/* ----- Abschnitte: Nummer links, Inhalt ab Spalte 4, Haarlinien ----- */
.section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: var(--gap-7) 0; border-bottom: 1px solid var(--line-strong); counter-increment: sec; }
.section > * { grid-column: 4 / 12; }
.section > * + * { margin-top: var(--gap-4); }
.section > h2 + * { margin-top: var(--gap-5); }
.section::before { content: counter(sec, decimal-leading-zero); grid-column: 1 / 4; grid-row: 1; font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.section[data-no]::before { content: attr(data-no); }
.section > .side { grid-column: 1 / 4; grid-row: 2 / span 8; margin-top: var(--gap-4); align-self: start; }
.section-narrow > p, .section-narrow > ul, .section-narrow > ol { max-width: 64ch; }
.section p { color: var(--ink-soft); }
.section p strong { color: var(--ink); }
.plain { counter-increment: none; }
.plain::before { content: none; }
.closing { counter-increment: none; border-bottom: 0; }
.closing::before { content: "→"; -webkit-text-stroke: 0; color: var(--copper); font-weight: 400; }
.closing .lead { max-width: 52ch; }

/* Problem (Startseite) */
.problem blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--ink); }
.problem blockquote p { font: inherit; color: inherit; }
.problem blockquote p::before { content: "„"; color: var(--copper); }
.problem blockquote p::after { content: "“"; color: var(--copper); }
.problem cite { display: block; font-style: normal; }
.problem .folge { font-size: 1.1rem; grid-column: 4 / 11; margin-top: var(--gap-5); }
.problem > .side { grid-row: 1 / span 4; margin-top: 0; }

/* Leitsystem mit Bemaßungsklammer (Startseite) */
.chainline { padding: var(--gap-6) 0; border-bottom: 1px solid var(--line-strong); }
.chainline svg { width: 100%; height: auto; display: block; }
.chainline .base { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 6 6; }
.chainline .done { stroke: url(#gC); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawC 2.2s cubic-bezier(.65,0,.35,1) .3s forwards; }
@keyframes drawC { to { stroke-dashoffset: 0; } }
.chainline .n { fill: var(--bg); stroke: var(--accent); stroke-width: 3; }
.chainline .goal { fill: var(--copper); }
.chainline .num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; fill: var(--ink-muted); }
.chainline .ttl { font-family: var(--font-display); font-weight: 700; font-size: 30px; fill: var(--ink); }
.chainline .sub { font-family: var(--font-body); font-size: 15px; fill: var(--ink-soft); }
.chainline .note { font-size: 13px; }
.chainline .brk { stroke: var(--ink-muted); stroke-width: 1.2; fill: none; }
.chainline .tool { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; fill: var(--copper-text); }
/* Desktop: Liste nur für Screenreader (SVG ist aria-hidden), mobil sichtbar */
.chain-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chain-list .note { display: block; font-size: var(--fs-small); color: var(--ink-soft); }
.chain-list .tool { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--copper-text); text-transform: uppercase; display: block; margin-top: 4px; }

/* Datenblatt */
.sheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sheet > div { padding: 16px 16px 16px 0; }
.sheet dt, .sheet small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.sheet dd, .sheet strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.sheet .price dd { color: var(--accent); }
.sheet-note { font-size: var(--fs-small); }

/* Befund-Ausschnitt */
.befund { border: 1.5px solid var(--ink); max-width: 720px; overflow: hidden; }
.befund-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-4); padding: 10px 16px; border-bottom: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.befund table { min-width: 0; width: 100%; table-layout: fixed; font-size: .95rem; }
.befund th, .befund td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.befund tbody th { white-space: normal; font-weight: 500; }
.befund td.m { font-family: var(--font-mono); text-align: center; width: 48px; font-size: 1.1rem; }
.befund td.ok { color: var(--accent); } .befund td.no { color: var(--copper-text); }
.befund td.who { width: 30%; color: var(--ink-muted); font-size: .88rem; }
.befund-foot { padding: 10px 16px; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-muted); }

/* Zwei Formen nebeneinander (Lösungsfinder / Konfigurator) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-6); border-top: 1px solid var(--line); padding-top: var(--gap-5); }
.pair h3 { font-size: 1.35rem; margin: 4px 0 var(--gap-3); }
.pair p + p { margin-top: var(--gap-3); }

/* Preis- und Infokasten: Linien statt Karte */
.price-box { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: var(--gap-5) 0; }
.price-box > * + * { margin-top: var(--gap-3); }
.price-box .price { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; color: var(--accent); }
.price-actions { display: flex; flex-wrap: wrap; gap: var(--gap-4); align-items: center; }

/* Listen */
.steps { counter-reset: step; list-style: none; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); padding: var(--gap-4) 0; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 3; font-family: var(--font-mono); font-size: .85rem; letter-spacing: .1em; color: var(--copper-text); padding-top: 4px; }
.steps > li > * { grid-column: 2; }
.steps h3 { font-size: 1.2rem; margin-bottom: var(--gap-3); }
.checklist { list-style: none; display: grid; gap: var(--gap-3); }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .8em; width: .9rem; height: 2px; background: var(--copper); }
.tiers { list-style: none; display: grid; gap: var(--gap-3); }
.tiers li { padding: var(--gap-3) 0; border-top: 1px solid var(--line); }

.faq details { border-top: 1px solid var(--line); padding: var(--gap-4) 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--ink); }
.faq details > p { margin-top: var(--gap-3); color: var(--ink-soft); }

.portrait { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; }
.portrait-lg { width: 220px; height: 220px; }
.about-short .portrait { grid-column: 1 / 4; grid-row: 2 / span 4; margin-top: var(--gap-4); }

/* Tabellen */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; min-width: 560px; }
caption { text-align: left; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: var(--gap-3); }
th, td { text-align: left; vertical-align: top; padding: var(--gap-3) var(--gap-4) var(--gap-3) 0; border-bottom: 1px solid var(--line); }
thead th { font-weight: 600; color: var(--ink-muted); font-size: var(--fs-small); border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 600; white-space: nowrap; }
.table-wrap:focus-visible { outline-offset: 2px; }

/* Rechtliches */
.legal { counter-increment: none; }
.legal::before { content: "§"; -webkit-text-stroke: 0; color: var(--copper); font-weight: 400; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.legal h2 { font-size: var(--fs-h3); margin-top: var(--gap-6); }
.legal-dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--gap-3) var(--gap-5); }
.legal-dl dt { font-weight: 600; }

/* ----- Fuß ----- */
.site-footer { max-width: var(--max); margin: 0 auto; padding: var(--gap-6) var(--gap-5) var(--gap-7); border-top: 1px solid var(--ink); font-size: var(--fs-small); display: grid; gap: var(--gap-6); grid-template-columns: 2fr 1fr 1fr; }
.site-footer h2 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--gap-4); }
.site-footer ul { list-style: none; } .site-footer a { color: var(--accent); display: inline-block; padding: 4px 0; }

/* ----- Logo ----- */
.logo-link { line-height: 0; }
.logo-svg .logo-mark { stroke: var(--accent-bright); }
.logo-svg .logo-mark-soft { stroke: var(--accent-bright); opacity: 0.25; }
.logo-svg .logo-text { fill: var(--ink); }

/* ----- Mobil ----- */
@media (max-width: 880px) {
  .hero, .section { grid-template-columns: minmax(0, 1fr); }
  .hero > *, .hero-text > *, .section > *, .hero .eyebrow, .hero .kicker, .wegweiser, .section > .side, .problem .folge { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .hero { padding-top: var(--gap-6); }
  .hero .eyebrow, .hero .kicker { padding-top: 0; margin-bottom: var(--gap-4); }
  .hero-home .claim { margin-top: 0; }
  .hero-home .proof { order: 10; }
  .wegweiser { display: none; }
  .section { padding: var(--gap-6) 0; }
  .section::before { font-size: 2.8rem; margin-bottom: var(--gap-4); }
  .section > .side { margin-top: 0; }
  .about-hero .portrait { margin-bottom: var(--gap-5); }
  .about-short .portrait { margin-top: 0; }
  .pair { grid-template-columns: 1fr; gap: var(--gap-5); }
}
@media (max-width: 700px) {
  .chainline svg { display: none; }
  .chain-list { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; gap: var(--gap-5); list-style: none; border-left: 2px dashed var(--line-strong); padding-left: var(--gap-5); }
  .chain-list li { position: relative; }
  .chain-list > li::before, .chain-list .brk > li:not(.toolrow)::before { content: ""; position: absolute; left: calc(-1 * var(--gap-5) - 9px); top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--accent); background: var(--bg); }
  .chain-list .brk > li:not(.toolrow)::before { left: calc(-1 * var(--gap-5) - 23px); }
  .chain-list > li.group::before { display: none; }
  .chain-list .brk { list-style: none; border-left: 2px solid var(--ink-muted); padding-left: 12px; margin-left: -4px; display: grid; gap: var(--gap-5); }
  .chain-list strong { font-family: var(--font-display); font-size: 1.4rem; display: block; }
  .sheet { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .legal-dl { grid-template-columns: 1fr; } .legal-dl dd { margin-bottom: var(--gap-3); } }
@media (max-width: 600px) { tbody th { white-space: normal; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .chainline .done, .wegweiser .flow { stroke-dashoffset: 0; }
}
.kicker { font-weight: 400; }
.about-short .portrait { grid-row: 1 / span 4; margin-top: 0; }
.section[data-no] { counter-increment: none; }
@media (max-width: 600px) {
  .befund table, .befund tbody { display: block; }
  .befund tr { display: grid; grid-template-columns: 40px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .befund th, .befund td { border-bottom: 0; }
  .befund tbody th { grid-column: 1 / -1; padding-bottom: 4px; }
  .befund td.m, .befund td.who { width: auto; padding-top: 0; }
  .befund td.m { text-align: left; padding-right: 0; }
}
