/* ============================================================
   AGENOVATION v5 "Zeichnung"
   Weiß, Graphit, Enzianblau. Barlow / Barlow Semi Condensed.
   Technische Zeichnung als Gestaltungsprinzip: Linien statt Schatten,
   Schriftfeld, Maßlinien, Stückliste. Alle Seiten (DE + EN).
   Hält das Klassen-Vokabular der v3-Unterseiten und des Funnels
   (IDs und Klassen aus js/app.js bleiben unverändert).
   ============================================================ */

:root {
  --paper: #FFFFFF;
  --surface: #F4F6F8;
  --grid: #EBEEF2;
  --line: #CBD2DA;
  --line-strong: #1A1F26;
  --ink: #1A1F26;
  --mid: #4A5260;
  --faint: #6E7785;
  --blue: #0B4F8A;
  --blue-deep: #083B68;
  --blue-tint: #E7EFF7;
  --on-blue: #FFFFFF;
  --success: #1C7C54;
  --error: #C03434;
  --display: 'Barlow Semi Condensed', 'Barlow', 'Segoe UI', Arial, sans-serif;
  --body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --container: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Aliase, damit alte v3-Regeln und Inline-Styles weiter funktionieren */
  --navy: #0B4F8A;
  --navy-deep: #083B68;
  --accent: #0B4F8A;
  --ink-soft: #4A5260;
  --ink-faint: #6E7785;
  --white: #FFFFFF;
  --paper-alt: #F4F6F8;
  --radius-sm: 3px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --font-display: var(--display);
  --font-body: var(--body);
  --line-strong-v3: #CBD2DA;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { font-family: var(--body); background: var(--paper); color: var(--mid); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.funnel-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; font-weight: 600; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.08; }
h3 { font-size: 1.45rem; line-height: 1.2; }
h4 { font-family: var(--body); font-size: 0.95rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
strong, b { color: var(--ink); font-weight: 600; }
ul, ol { padding-left: 1.2em; }
::selection { background: rgba(11, 79, 138, 0.16); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, canvas:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-animate { opacity: 1; transform: none; }

/* ---- Buttons ---- */
.cta-button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 3px; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2; border: 1.5px solid var(--blue); background: var(--blue); color: var(--on-blue); cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s; text-align: center; }
.cta-button:hover, .btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--on-blue); text-decoration: none; }
.cta-button--ghost, .btn-secondary { background: var(--paper); color: var(--blue); }
.cta-button--ghost:hover, .btn-secondary:hover { background: var(--blue-tint); color: var(--blue-deep); border-color: var(--blue); }
.cta-button--light { background: var(--blue); color: var(--on-blue); }
.cta-button.is-loading { opacity: 0.6; pointer-events: none; }
.cta-button--text { background: none; border: none; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }
button.cta-button { font-family: var(--body); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 10px var(--gutter); min-height: 70px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-header__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.site-header__brand:hover { text-decoration: none; }
.site-header__brand img { width: 38px; height: 38px; border-radius: 0; }
.site-header__brand-name { display: block; font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--ink); line-height: 1; }
.site-header__brand-sub { display: block; font-size: 0.72rem; font-weight: 500; color: var(--faint); margin-top: 3px; }
.site-header__nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.site-header__nav a { color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.site-header__nav a:hover { color: var(--blue); text-decoration: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switcher { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.lang-switcher a { padding: 4px 10px; font-size: 0.8rem; font-weight: 600; color: var(--mid); }
.lang-switcher a:hover { text-decoration: none; color: var(--blue); }
.lang-switcher a.is-active { background: var(--ink); color: var(--paper); }
.site-header__cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 3px; background: var(--blue); color: var(--on-blue); font-weight: 600; font-size: 0.95rem; border: 1.5px solid var(--blue); }
.site-header__cta:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--on-blue); text-decoration: none; }

/* ---- Hero (Startseite: Zeichnungsblatt) ---- */
.hero { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero__bg { display: none; }
.hero__grid { max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter) 64px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding-top: 10px; }
.hero__kicker { display: inline-block; font-size: 0.95rem; font-weight: 600; color: var(--blue); }
.hero__title { max-width: 16ch; }
.hero__subtitle { font-size: 1.25rem; line-height: 1.5; color: var(--mid); max-width: 56ch; }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__alt-line, .cta-band__alt { font-size: 0.9rem; color: var(--faint); }
.hero__alt-line button, .cta-band__alt button { background: none; border: none; padding: 0; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hero__alt-line button:hover, .cta-band__alt button:hover { color: var(--blue-deep); }
.hero__capacity, .cta-band__capacity { display: block; font-size: 0.9rem; color: var(--mid); }

/* Zeichnungsblatt */
.sheet { border: 1.5px solid var(--line-strong); background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; min-width: 0; }
.sheet-view { position: relative; }
.sheet-view canvas { display: block; width: 100%; height: 400px; max-width: 100%; touch-action: pan-y; cursor: grab; }
.sheet-view canvas:active { cursor: grabbing; }
.sheet-hint { position: absolute; right: 12px; bottom: 10px; font-size: 0.75rem; color: var(--faint); pointer-events: none; }
.sheet-replay { position: absolute; right: 12px; top: 10px; font: 500 0.75rem var(--body); color: var(--mid); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 4px 9px; cursor: pointer; }
.sheet-replay:hover { color: var(--blue); border-color: var(--blue); }
.block { border-top: 1.5px solid var(--line-strong); background: var(--paper); font-size: 0.9rem; }
.block-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.block-top img { width: 96px; height: 96px; object-fit: cover; border-right: 1px solid var(--line); }
.block-name { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.block-name b { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.block-name span { color: var(--mid); font-size: 0.9rem; }
.block-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.block-key { padding: 8px 14px; color: var(--faint); font-size: 0.78rem; font-weight: 500; border-right: 1px solid var(--line); }
.block-val { padding: 8px 14px; color: var(--ink); min-width: 0; }
.block-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 7px 14px; font-size: 0.75rem; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---- Kennzahlen mit Maßlinien ---- */
.stat-band { background: var(--paper); }
.stat-band__grid { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.stat-band__item::before { content: ""; display: block; position: relative; height: 14px; margin-bottom: 18px; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); background: linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat; }
.stat-band__value { font-family: var(--display); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat-band__label { margin-top: 10px; color: var(--mid); font-size: 0.95rem; line-height: 1.4; }

/* ---- Sektionen ---- */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--surface); }
.section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; max-width: 72ch; }
.section__kicker { font-size: 0.95rem; font-weight: 600; color: var(--blue); }
.section__title { margin: 0; }
.section__lead { font-size: 1.15rem; line-height: 1.55; color: var(--mid); }
.section__head--row { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: none; }
.section__head--row .section__lead { max-width: 44ch; font-size: 1.05rem; }

/* ---- Stückliste (Fallstudien, Startseite) ---- */
.table-box { overflow-x: auto; }
.bom { width: 100%; border-collapse: collapse; border: 1.5px solid var(--line-strong); font-size: 0.97rem; }
.bom th { text-align: left; font-weight: 600; font-size: 0.82rem; color: var(--mid); background: var(--surface); padding: 10px 14px; border-bottom: 1.5px solid var(--line-strong); border-right: 1px solid var(--line); }
.bom th:last-child, .bom td:last-child { border-right: 0; }
.bom td { vertical-align: top; padding: 18px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.bom tr:last-child td { border-bottom: 0; }
.bom ul { margin: 0; padding-left: 18px; color: var(--mid); }
.bom li { margin: 2px 0; }
.bom h3 { font-size: 1.3rem; }
.bom__pos { color: var(--faint); font-variant-numeric: tabular-nums; }
.bom__res { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1.05; color: var(--blue); white-space: nowrap; }
.bom__res small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.8rem; color: var(--faint); margin-top: 4px; white-space: normal; }

/* ---- Karten-Vokabular (v3) im Zeichnungs-Look: Rahmen statt Schatten ---- */
.case-grid, .entry-grid, .service-grid, .tools-grid, .testimonial-grid { display: grid; gap: 0; border: 1.5px solid var(--line-strong); background: var(--paper); }
.case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-grid, .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card, .entry-card, .service-card, .tool-card, .testimonial-card { padding: 28px 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; background: var(--paper); color: var(--mid); text-decoration: none; transition: background 0.15s; }
a.case-card:hover, a.entry-card:hover, a.tool-card:hover { background: var(--blue-tint); text-decoration: none; color: var(--mid); }
.case-grid > :nth-child(2n), .tools-grid > :nth-child(2n), .testimonial-grid > :nth-child(2n) { border-right: 0; }
.entry-grid > :nth-child(3n), .service-grid > :nth-child(3n) { border-right: 0; }
.case-grid > :nth-last-child(-n+2), .tools-grid > :nth-last-child(-n+2) { border-bottom: 0; }
.entry-grid > :nth-last-child(-n+3), .service-grid > :nth-last-child(-n+3) { border-bottom: 0; }
.testimonial-grid > :nth-last-child(-n+2) { border-bottom: 0; }
.case-card h3, .entry-card h3, .service-card h3, .tool-card h3 { font-size: 1.3rem; }
.case-card ul, .entry-card ul { padding-left: 18px; color: var(--mid); font-size: 0.97rem; }
.case-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.case-card__metric { font-family: var(--display); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.case-card__metric small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.82rem; color: var(--faint); margin-top: 4px; }
.case-card__tag { font-size: 0.8rem; font-weight: 600; color: var(--mid); border: 1px solid var(--line); border-radius: 3px; padding: 3px 8px; white-space: nowrap; }
.case-card__link, .entry-card__more, .tool-card a { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--blue); font-size: 0.97rem; }
.entry-card__icon, .service-card__icon, .tool-card__icon { width: 36px; height: 36px; color: var(--blue); }
.entry-card__icon svg, .service-card__icon svg, .tool-card__icon svg { width: 32px; height: 32px; }
.testimonial-card__quote-mark { font-family: var(--display); font-size: 2.4rem; line-height: 0.6; color: var(--blue); }
.testimonial-card__text { font-size: 1.05rem; color: var(--ink); line-height: 1.55; }
.testimonial-card__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.testimonial-card__avatar { width: 38px; height: 38px; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink); flex-shrink: 0; }
.testimonial-card__name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.testimonial-card__role { font-size: 0.85rem; color: var(--faint); }

/* ---- CTA-Band ---- */
.cta-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.cta-band__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.cta-band__inner:not(:has(.cta-band__copy)) { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__inner:not(:has(.cta-band__copy)) .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
.cta-band__inner:not(:has(.cta-band__copy)) .cta-band__actions .cta-button { width: auto; }
.cta-band__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--mid); font-size: 1.15rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.cta-band__actions .cta-button { width: 100%; max-width: 420px; }
.cta-band__alt { font-size: 0.9rem; }

/* ---- Über / Leistungen ---- */
.about__intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; margin-bottom: 48px; }
.about__intro img { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; border: 1.5px solid var(--line-strong); padding: 10px; background: var(--paper); }
.about__intro p { font-size: 1.1rem; line-height: 1.65; }

/* ---- Ablauf mit Maßlinie ---- */
.process__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 34px; }
.process__track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid var(--line-strong); }
.process__track::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 14px; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.process__step { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--mid); text-decoration: none; }
.process__step--link:hover { text-decoration: none; color: var(--mid); }
.process__step--link:hover h3 { color: var(--blue); }
.process__num { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--blue); }
.process__num::before { content: "Schritt "; }
html[lang="en"] .process__num::before { content: "Step "; }
.process__step h3 { font-size: 1.3rem; }
.process__step p { font-size: 0.97rem; }
.process__meta { font-size: 0.88rem; color: var(--faint); }
.process__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.process__pricing { margin-top: 36px; padding-top: 18px; border-top: 1.5px solid var(--line-strong); font-size: 0.97rem; color: var(--mid); font-variant-numeric: tabular-nums; }

/* ---- FAQ ---- */
.faq__list { border-top: 1.5px solid var(--line-strong); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--body); font-weight: 500; color: var(--blue); font-size: 1.3rem; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__answer { padding: 0 0 20px; color: var(--mid); max-width: 72ch; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.site-footer__grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin-bottom: 10px; }
.site-footer__brand img { width: 28px; height: 28px; }
.site-footer__tagline { font-size: 0.95rem; color: var(--mid); max-width: 32ch; margin-bottom: 10px; }
.site-footer__contact { font-size: 0.9rem; color: var(--faint); }
.site-footer h4 { margin-bottom: 12px; color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { color: var(--mid); font-size: 0.95rem; }
.site-footer__bottom { max-width: var(--container); margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--faint); }
.site-footer__bottom a { color: var(--faint); margin-left: 18px; }

/* ---- Unterseiten: generische Elemente (werden pro Seite ergänzt) ---- */
.page-hero, .subpage-hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero .container, .subpage-hero .container { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.page-hero p, .subpage-hero p { font-size: 1.2rem; color: var(--mid); max-width: 60ch; }
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose img { border: 1.5px solid var(--line-strong); }
.prose blockquote { border-left: 2px solid var(--blue); padding-left: 16px; color: var(--ink); }
table { border-collapse: collapse; }
.breadcrumb { font-size: 0.85rem; color: var(--faint); }

/* ============================================================
   FUNNEL (IDs/Klassen aus app.js, unverändert)
   ============================================================ */
.funnel { position: fixed; inset: 0; z-index: 100; background: rgba(26, 31, 38, 0.55); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.funnel.is-active { opacity: 1; visibility: visible; }
.funnel__container { background: var(--paper); border: 1.5px solid var(--line-strong); width: 100%; max-width: 580px; max-height: 88vh; overflow-y: auto; padding: 40px; position: relative; transform: translateY(14px); transition: transform 0.3s var(--ease); }
.funnel.is-active .funnel__container { transform: none; }
.funnel__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--line); background: var(--paper); color: var(--mid); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.funnel__close:hover { background: var(--ink); color: var(--paper); }
.progress-bar { margin-bottom: 28px; }
.progress-bar__track { height: 4px; background: var(--line); overflow: hidden; }
.progress-bar__fill { height: 100%; width: 25%; background: var(--blue); transition: width 0.3s var(--ease); }
.progress-bar__label { display: block; margin-top: 8px; font-size: 0.8rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.steps-wrapper { position: relative; }
.step { display: none; }
.step.is-active { display: block; }
.step__number { font-family: var(--display); font-size: 0.95rem; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.step__title { font-size: 1.5rem; margin-bottom: 8px; }
.step__hint { font-size: 0.95rem; color: var(--faint); margin-bottom: 22px; }
.form-input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--paper); font-family: var(--body); font-size: 1rem; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.14); }
.form-input.is-error { border-color: var(--error); }
textarea.form-input { min-height: 120px; resize: vertical; }
select.form-input { appearance: auto; cursor: pointer; }
.form-error { display: none; margin-top: 8px; font-size: 0.85rem; color: var(--error); font-weight: 500; }
.form-error.is-visible { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { padding: 7px 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--paper); color: var(--mid); font-size: 0.88rem; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-selected { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.step__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.step__actions .cta-button { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.success-state { display: none; text-align: center; padding: 16px 0; }
.success-state.is-active { display: block; }
.success-state__icon { width: 64px; height: 64px; margin: 0 auto 22px; border: 1.5px solid var(--success); color: var(--success); display: flex; align-items: center; justify-content: center; }
.success-state__icon svg { width: 30px; height: 30px; }
.success-state h2 { font-size: 1.6rem; margin-bottom: 12px; }
.success-state p { font-size: 0.98rem; color: var(--mid); margin-bottom: 26px; }
.success-state .cta-button { margin-bottom: 14px; }
.success-state__home { display: block; background: none; border: none; margin: 0 auto; font: inherit; font-size: 0.9rem; color: var(--faint); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.success-state__home:hover { color: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .entry-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-grid > :nth-child(3n), .service-grid > :nth-child(3n) { border-right: 1px solid var(--line); }
  .entry-grid > :nth-child(2n), .service-grid > :nth-child(2n) { border-right: 0; }
  .entry-grid > :nth-last-child(-n+3), .service-grid > :nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .entry-grid > :nth-last-child(-n+2), .service-grid > :nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .sheet-view canvas { height: 320px; }
  .stat-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .section { padding: 64px 0; }
  .case-grid, .tools-grid, .testimonial-grid, .entry-grid, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .case-grid > *, .tools-grid > *, .testimonial-grid > *, .entry-grid > *, .service-grid > * { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .case-grid > :last-child, .tools-grid > :last-child, .testimonial-grid > :last-child, .entry-grid > :last-child, .service-grid > :last-child { border-bottom: 0 !important; }
  .process__track { grid-template-columns: minmax(0, 1fr); }
  .about__intro, .cta-band__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header__nav { margin-left: 0; width: 100%; gap: 12px 18px; }
  .bom thead { display: none; }
  .bom, .bom tbody, .bom tr, .bom td { display: block; width: 100%; }
  .bom td { border-right: 0; padding: 10px 16px; }
  .bom td.bom__pos { display: none; }
  .bom td:nth-child(2) { padding-top: 20px; }
  .bom td.bom__last { padding-bottom: 22px; border-bottom: 1.5px solid var(--line-strong); }
  .bom tr:last-child td.bom__last { border-bottom: 0; }
  .bom__res { white-space: normal; }
}
@media (max-width: 560px) {
  .stat-band__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-view canvas { height: 300px; }
  .site-header__cta { display: none; }
  .site-header__inner { position: relative; padding-right: 110px; gap: 10px; min-height: 64px; }
  .site-header__actions { position: absolute; right: 20px; top: 14px; }
  .site-header__nav { gap: 8px 14px; }
  .site-header__nav a { font-size: 0.9rem; }
  .site-header__brand img { width: 32px; height: 32px; }
  .site-header__brand-name { font-size: 1.25rem; }
  .block-top { grid-template-columns: 80px minmax(0, 1fr); }
  .block-top img { width: 80px; height: 80px; }
  .block-row { grid-template-columns: 96px minmax(0, 1fr); }
  .funnel { padding: 12px; }
  .funnel__container { padding: 30px 22px; max-height: 92vh; }
  .case-card, .entry-card, .service-card, .tool-card, .testimonial-card { padding: 22px 20px; }
}

/* ============================================================
   UNTERSEITEN (v3-Vokabular: page-hero, page-body, fact-strip, related)
   ============================================================ */
.page-hero { border-bottom: 1px solid var(--line); background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.page-hero .container { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.page-hero h1 { max-width: 20ch; background: var(--paper); box-shadow: 0 0 0 10px var(--paper); }
.page-hero__crumb { font-size: 0.85rem; color: var(--faint); background: var(--paper); box-shadow: 0 0 0 6px var(--paper); }
.page-hero__crumb a { color: var(--faint); }
.page-hero__lead { font-size: 1.2rem; line-height: 1.55; color: var(--mid); max-width: 62ch; background: var(--paper); box-shadow: 0 0 0 10px var(--paper); }
.page-hero .hero__kicker { background: var(--paper); box-shadow: 0 0 0 6px var(--paper); }
.page-hero .hero__cta-row { margin-top: 8px; }
.stat-band__grid--three, .stat-band__grid[style*="repeat(3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.page-body { padding: 64px 0 72px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.page-body h2 { margin-top: 44px; margin-bottom: 14px; }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { margin-top: 28px; margin-bottom: 8px; font-size: 1.3rem; }
.page-body p { margin-bottom: 16px; line-height: 1.7; }
.page-body ul, .page-body ol { margin: 0 0 18px; padding-left: 1.2em; line-height: 1.7; }
.page-body li { margin: 4px 0; }
.page-body table { width: 100%; margin: 16px 0 24px; font-size: 0.97rem; border: 1.5px solid var(--line-strong); }
.page-body th, .page-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page-body th { background: var(--surface); font-weight: 600; color: var(--mid); font-size: 0.85rem; }
.fact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--line-strong); margin: 24px 0 8px; }
.fact-strip > div { padding: 18px 18px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fact-strip > div:last-child { border-right: 0; }
.fact-strip strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.fact-strip span { font-size: 0.9rem; color: var(--mid); line-height: 1.4; }
.fact-source { font-size: 0.85rem; color: var(--faint); margin-bottom: 28px !important; }
.related { padding: 72px 0; border-top: 1px solid var(--line); }
.related .entry-card__more { font-size: 1.1rem; }

/* ============================================================
   UNTERSEITEN (altes Vokabular: seo-wrap, panel, stat-grid, related-card)
   ============================================================ */
.seo-wrap, .legal-wrap { max-width: 780px; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.seo-wrap h1, .legal-wrap h1 { margin: 14px 0 18px; max-width: 22ch; }
.back-btn { display: inline-block; font-size: 0.9rem; color: var(--faint); margin-bottom: 8px; }
.back-btn::before { content: "\2190\00a0"; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--mid); margin-bottom: 36px; max-width: 62ch; }
.seo-wrap h2 { margin: 44px 0 14px; }
.seo-wrap h3 { margin: 24px 0 8px; font-size: 1.25rem; }
.seo-wrap h4 { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.seo-wrap p, .legal-wrap p, .body-text { margin-bottom: 16px; line-height: 1.7; color: var(--mid); }
.seo-wrap ul, .seo-wrap ol { margin: 0 0 18px; padding-left: 1.2em; line-height: 1.7; }
.seo-wrap li { margin: 4px 0; }
.seo-wrap ul[style], .seo-wrap p[style] { color: var(--mid) !important; }
.legal-wrap p { color: var(--mid); }
.legal-wrap h2 { margin: 32px 0 10px; font-size: 1.4rem; }
.muted { color: var(--faint); font-size: 0.95rem; }
.panel { border: 1.5px solid var(--line-strong); padding: 26px 28px 14px; margin: 22px 0 28px; background: var(--paper); }
.panel h2 { margin-top: 0; }
.panel h3 { margin-top: 18px; }
.panel h3:first-child { margin-top: 0; }
.panel p:last-child { margin-bottom: 12px; }
.highlight-box { border-left: 2px solid var(--blue); background: var(--surface); padding: 18px 22px 6px; margin: 22px 0 28px; }
.highlight-box a { color: var(--blue) !important; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 28px 0 32px; }
.stat-grid > .stat-item::before { content: ""; display: block; height: 12px; margin-bottom: 14px; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); background: linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat; }
.stat-num { display: block; font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.05; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.9rem; color: var(--mid); margin-top: 6px; line-height: 1.4; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--line-strong); margin: 18px 0 8px; }
.related-card { padding: 22px 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--mid); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.related-card:hover { background: var(--blue-tint); text-decoration: none; color: var(--mid); }
.related-card h4 { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.related-card p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
.related-grid > :nth-child(3n) { border-right: 0; }
.related-grid > :nth-last-child(-n+3) { border-bottom: 0; }
.insight-card { display: block; border: 1.5px solid var(--line-strong); padding: 22px 24px 20px; margin: 0 0 14px; color: var(--mid); }
.insight-card:hover { background: var(--blue-tint); text-decoration: none; color: var(--mid); }
.insight-card h3 { margin: 8px 0 6px; font-size: 1.25rem; }
.insight-card p { margin: 0; font-size: 0.97rem; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--blue); border: 1px solid var(--line); padding: 2px 8px; border-radius: 3px; }
.faq-section { margin-top: 40px; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.15rem; }
.pricing-card { border: 1.5px solid var(--line-strong); padding: 26px 28px 20px; margin: 22px 0 28px; }
.pricing-card h3 { margin-top: 0; }
.price { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--blue); margin-bottom: 12px !important; }
.cta-wrap { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-wrap .cta-button { gap: 10px; }
.cta-button__icon svg { width: 18px; height: 18px; display: block; }
.cta-sub, .small-note { font-size: 0.88rem; color: var(--faint); margin: 0 !important; }
@media (max-width: 980px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .related-grid > * { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .related-grid > :last-child { border-bottom: 0 !important; }
  .fact-strip { grid-template-columns: minmax(0, 1fr); }
  .fact-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-strip > div:last-child { border-bottom: 0; }
  .stat-band__grid--three, .stat-band__grid[style*="repeat(3"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .page-hero .container { padding-top: 44px; padding-bottom: 40px; }
}
@media (max-width: 560px) {
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-band__grid--three, .stat-band__grid[style*="repeat(3"] { grid-template-columns: minmax(0, 1fr) !important; }
  .panel, .pricing-card { padding: 20px 18px 10px; }
}
