/* ==========================================================================
   Födisch 3D – Stylesheet
   System: «Editorial Minimalism» – präzise, ruhig, ein einziger Akzent.
   Akzentfarbe nur für Primäraktion, Links und Fokus. Flach, nur Rahmen.
   Raster 4px · Abstände 4/8/12/16/24/32/48/64 · max. 1200px · 12 Spalten
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Markenfarbe: hier ändern, wirkt überall */
  --accent: #006be0;
  --accent-hover: #0057b8;
  --accent-ink: #ffffff;

  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --accent-soft: #e8eef9;
  --accent-line: #c9d6ef;
  --surface: #ffffff;
  --border: #dfe4ec;
  --border-strong: #c3cbd8;
  --text: #15171c;
  --text-2: #464b56;
  --text-3: #626774;
  --error: #b42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Berkeley Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-11: 0.6875rem; --fs-13: 0.8125rem; --fs-14: 0.875rem; --fs-16: 1rem; --fs-18: 1.125rem;
  --fs-22: 1.375rem; --fs-28: 1.75rem; --fs-36: 2.25rem; --fs-48: 3rem; --fs-64: 4rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --max: 1200px; --gutter: 24px;
  --r-sm: 4px; --r: 6px; --r-lg: 8px;
  --header-h: 64px; --tabbar-h: 60px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s5)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-16); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.005em; line-height: 1.15; text-wrap: balance; color: var(--text); hyphens: manual; overflow-wrap: break-word; }
p, ul, ol, dl, figure { margin: 0; padding: 0; }
p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
strong, b { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s2) var(--s3); background: var(--accent); color: var(--accent-ink); border-radius: var(--r); font-size: var(--fs-14); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: var(--s3); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ---------- Typografie ---------- */
.h1 { font-size: var(--fs-48); line-height: 1.08; }
.h2 { font-size: var(--fs-36); line-height: 1.12; }
.h3 { font-size: var(--fs-22); line-height: 1.25; }
.h4 { font-size: var(--fs-18); line-height: 1.3; }
@media (max-width: 1023px) { .h1 { font-size: var(--fs-36); } .h2 { font-size: var(--fs-28); } .h3 { font-size: var(--fs-18); } }
@media (max-width: 640px) { .h1 { font-size: var(--fs-28); } .h2 { font-size: var(--fs-22); } }
.lead { font-size: var(--fs-18); line-height: 1.55; color: var(--text-2); max-width: 60ch; }
@media (max-width: 640px) { .lead { font-size: var(--fs-16); } }
.muted { color: var(--text-2); }
.small { font-size: var(--fs-14); color: var(--text-2); }
.label { font-size: var(--fs-13); font-weight: 500; color: var(--text-3); letter-spacing: 0.01em; }
.num { font-family: var(--mono); font-size: var(--fs-13); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 40px; padding: 8px 14px; border-radius: var(--r); border: 1px solid transparent;
  font-size: var(--fs-14); font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.btn .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--text-3); color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); padding-inline: 4px; }
.btn--ghost:hover { color: var(--accent); }
.btn--lg { min-height: 44px; padding: 10px 18px; font-size: var(--fs-16); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 640px) { .btn { min-height: 44px; } }

/* ---------- Kopfzeile ---------- */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-16); letter-spacing: -0.01em; }
.logo:hover { color: var(--text); }
.logo__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r); background: var(--text); color: var(--bg); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: var(--s1); }
.nav__link { position: relative; display: inline-flex; align-items: center; height: var(--header-h); padding: 0 var(--s3); font-size: var(--fs-14); font-weight: 500; color: var(--text-2); text-decoration: none; }
.nav__link:hover { color: var(--text); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: -1px; height: 2px; background: var(--accent); }
.header__cta { flex: none; }
@media (max-width: 767px) {
  .nav { display: none; }
  .header__inner { justify-content: space-between; gap: var(--s4); height: 56px; }
  :root { --header-h: 56px; }
  .header__cta { min-height: 36px; padding: 6px 12px; }
}

/* Untere Navigation (Mobil) */
.tabbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .tabbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
    border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tabbar-h); }
  .tabbar a { position: relative; display: grid; place-items: center; height: 100%; font-size: var(--fs-13); font-weight: 500; color: var(--text-3); text-decoration: none; }
  .tabbar a[aria-current="page"] { color: var(--text); font-weight: 600; }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; background: var(--accent); }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--s8); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--tight { padding-block: var(--s7); }
@media (max-width: 767px) { .section { padding-block: var(--s7); } .section--tight { padding-block: var(--s6); } }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 720px; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.section-head--row > div { display: grid; gap: var(--s3); max-width: 640px; }
@media (max-width: 767px) { .section-head { margin-bottom: var(--s5); } }

/* ---------- Karten ---------- */
.card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); transition: border-color 0.15s var(--ease); }
.card--surface { background: var(--surface); }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--border-strong); color: inherit; }
@media (max-width: 640px) { .card { padding: var(--s4); } }

/* ---------- Raster ---------- */
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2--stack { grid-template-columns: minmax(0, 1fr); } .grid { gap: var(--s3); } }

/* ---------- Startseite: Hero ---------- */
.hero { padding-block: var(--s8) var(--s8); }
@media (max-width: 767px) { .hero { padding-block: var(--s6) var(--s7); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: start; }
@media (max-width: 1023px) { .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
.hero__text { display: grid; gap: var(--s5); align-content: start; padding-top: var(--s2); }
.hero__text .h1 { max-width: 16ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); margin-top: var(--s2); }
.facts > div { padding: var(--s4) var(--s4) 0 0; display: grid; gap: 2px; }
.facts dt { font-size: var(--fs-13); font-weight: 500; color: var(--text-3); }
.facts dd { margin: 0; font-size: var(--fs-14); font-weight: 500; color: var(--text); line-height: 1.4; }
@media (max-width: 640px) { .facts > div { padding-right: var(--s3); } .facts dd { font-size: var(--fs-13); } }

/* Schnellanfrage */
.quick { display: grid; gap: var(--s4); }
.quick__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.quick__head h2 { font-size: var(--fs-18); }
.field { display: grid; gap: 6px; }
.field > .label, .field > label.label { display: flex; justify-content: space-between; gap: var(--s2); }
.field .opt { font-weight: 400; color: var(--text-3); }

/* Segmentierte Auswahl (Radio) */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 3px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r); }
.card .seg, .section--alt .seg { background: var(--bg); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 34px; padding: 6px 8px; border-radius: var(--r-sm); border: 1px solid transparent; font-size: var(--fs-14); font-weight: 500; color: var(--text-2); text-align: center; line-height: 1.2; transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease); }
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: var(--surface); color: var(--text); border-color: var(--border-strong); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .seg span { min-height: 40px; } }
.seg--wrap { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 641px) { .seg--wrap { grid-auto-flow: column; grid-template-columns: none; } }

/* Eingaben */
.input, .select, .textarea {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--r);
  background: var(--surface); color: var(--text); font-size: var(--fs-16); line-height: 1.4;
  transition: border-color 0.15s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: var(--fs-13); color: var(--error); font-weight: 500; }
.field-error:empty { display: none; }
@media (max-width: 640px) { .input, .select { min-height: 44px; } }

.qty { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.qty button { display: grid; place-items: center; border: 0; background: transparent; color: var(--text-2); cursor: pointer; }
.qty button:hover { background: var(--bg-alt); color: var(--text); }
.qty input { min-width: 0; border: 0; border-inline: 1px solid var(--border); text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; background: transparent; min-height: 38px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.qty button[hidden] { display: none; }
.qty:has(button[hidden]) { grid-template-columns: minmax(0, 1fr); }

/* ---------- Leistungskarten ---------- */
.service { display: grid; gap: var(--s3); align-content: start; height: 100%; }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service h3 { font-size: var(--fs-22); }
.service p { color: var(--text-2); font-size: var(--fs-14); }
.service ul { list-style: none; display: grid; gap: 6px; padding-top: var(--s3); border-top: 1px solid var(--border); }
.service li { display: flex; gap: var(--s2); font-size: var(--fs-14); color: var(--text-2); }
.service li .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s2); font-size: var(--fs-14); font-weight: 500; color: var(--accent); }
.service__more .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
a.card:hover .service__more .icon { transform: translateX(3px); }
@media (max-width: 640px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .service ul { display: none; }
  .service { grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s3); }
  .service h3 { font-size: var(--fs-18); }
  .service p { grid-column: 1; }
  .service__top { grid-column: 1; }
  .service__more { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 0; }
  .service__more span { display: none; }
  .service__more .icon { width: 20px; height: 20px; }
}

/* ---------- Ablauf ---------- */
.steps { counter-reset: step; list-style: none; }
.step { display: grid; gap: var(--s2); align-content: start; }
.step__no { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: var(--r); font-family: var(--mono); font-size: var(--fs-13); color: var(--text); background: var(--surface); }
.step h3 { font-size: var(--fs-16); margin-top: var(--s1); }
.step p { font-size: var(--fs-14); color: var(--text-2); }

/* ---------- Vorteile ---------- */
.reason h3 { font-size: var(--fs-16); margin-bottom: var(--s1); }
.reason p { font-size: var(--fs-14); color: var(--text-2); }

/* ---------- Abschluss-Band ---------- */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); padding: var(--s6); }
.cta > div:first-child { display: grid; gap: var(--s2); max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
@media (max-width: 640px) { .cta { padding: var(--s5) var(--s4); } .cta__actions .btn { flex: 1 1 auto; } }

/* ---------- Seitenkopf Unterseiten ---------- */
.pagehead { padding-block: var(--s7) var(--s6); border-bottom: 1px solid var(--border); }
.pagehead__inner { display: grid; gap: var(--s3); max-width: 760px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-13); color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
@media (max-width: 767px) { .pagehead { padding-block: var(--s6) var(--s5); } }

/* ---------- Dienstleistungen: Register ---------- */
.svc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s7); align-items: start; }
.svc__tabs { position: sticky; top: calc(var(--header-h) + var(--s5)); display: grid; gap: 2px; }
.svc__tab { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); width: 100%; padding: 10px var(--s3); border: 1px solid transparent; border-radius: var(--r); background: transparent; color: var(--text-2); font-size: var(--fs-14); font-weight: 500; text-align: left; cursor: pointer; text-decoration: none; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.svc__tab:hover { background: var(--bg-alt); color: var(--text); }
.svc__tab[aria-selected="true"] { background: var(--bg-alt); border-color: var(--border); color: var(--text); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.svc__tab .num { color: var(--text-3); }
.svc__panel { display: grid; gap: var(--s5); min-width: 0; }
.svc__panel[hidden] { display: none; }
.svc__panel > header { display: grid; gap: var(--s3); }
.svc__panel .panel-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.svc__note { font-size: var(--fs-14); color: var(--text-2); padding: var(--s3) var(--s4); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-alt); }
.svc__note strong { color: var(--text); }
.js .svc__panel { animation: none; }
.svc__panel.is-entering { animation: fade-in 0.25s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  .svc { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .svc__tabs {
    top: var(--header-h); z-index: 30; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: var(--s2) var(--gutter);
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  .svc__tabs::-webkit-scrollbar { display: none; }
  .svc__tab { flex: none; width: auto; padding: 8px 12px; }
  .svc__tab .num { display: none; }
  .svc__tab[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
}

/* Listen */
.list { list-style: none; display: grid; gap: var(--s2); }
.list li { display: flex; gap: var(--s2); font-size: var(--fs-14); color: var(--text-2); line-height: 1.5; }
.list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.list-card h3 { font-size: var(--fs-14); font-weight: 600; margin-bottom: var(--s3); }

/* Tabellen */
.table-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px var(--s4); border-bottom: 1px solid var(--border); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--bg-alt); font-size: var(--fs-13); font-weight: 500; color: var(--text-3); }
.table tbody th { font-weight: 600; color: var(--text); width: 26%; }
.table td { color: var(--text-2); }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border); }
  .table tr:last-child { border-bottom: 0; }
  .table th, .table td { padding: 2px 0; border: 0; }
  .table tbody th { width: auto; margin-bottom: 4px; }
  .table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s2); }
  .table td::before { content: attr(data-label); color: var(--text-3); font-weight: 500; }
}

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; cursor: pointer; list-style: none; font-weight: 500; font-size: var(--fs-16); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-3); transition: transform 0.2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 0 var(--s4); color: var(--text-2); font-size: var(--fs-14); max-width: 70ch; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: start; }
@media (max-width: 1023px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* Datenzeilen (dl) */
.datalist { display: grid; }
.datalist > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-14); }
.datalist > div:last-child { border-bottom: 0; }
.datalist dt { color: var(--text-3); font-weight: 500; }
.datalist dd { margin: 0; color: var(--text); font-weight: 500; overflow-wrap: anywhere; min-width: 0; }

/* Zwei-Spalten-Layouts */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: start; }
@media (max-width: 1023px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }
.stack { display: grid; gap: var(--s4); align-content: start; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s7); align-items: start; }
@media (max-width: 1023px) { .contact { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
.form { display: grid; gap: var(--s5); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border); }
.form__foot p { font-size: var(--fs-13); color: var(--text-3); max-width: 46ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: var(--s5); border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: var(--s3); }
.status[hidden] { display: none; }
.status:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.status h2 { font-size: var(--fs-18); }
.status p { font-size: var(--fs-14); color: var(--text-2); }
.status .actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.status.is-error { border-color: var(--error); }
.status pre { margin: 0; padding: var(--s3); background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r); font-family: var(--mono); font-size: var(--fs-13); white-space: pre-wrap; max-height: 14rem; overflow: auto; color: var(--text-2); }
.aside { display: grid; gap: var(--s4); position: sticky; top: calc(var(--header-h) + var(--s5)); }
@media (max-width: 1023px) { .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .aside { grid-template-columns: minmax(0, 1fr); } }
.aside h2 { font-size: var(--fs-14); font-weight: 600; margin-bottom: var(--s2); }
.aside p, .aside address { font-size: var(--fs-14); color: var(--text-2); font-style: normal; }
.mailto { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Rechtliches ---------- */
.prose { max-width: 70ch; display: grid; gap: var(--s4); font-size: var(--fs-16); color: var(--text-2); }
.prose h2 { font-size: var(--fs-18); color: var(--text); margin-top: var(--s4); }
.prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px var(--s5); }
.prose dt { color: var(--text-3); font-weight: 500; }
.prose dd { margin: 0; color: var(--text); overflow-wrap: anywhere; min-width: 0; }

/* ---------- Fusszeile ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); font-size: var(--fs-14); color: var(--text-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--s6); padding-block: var(--s7) var(--s6); }
.footer__brand { display: grid; gap: var(--s3); max-width: 380px; }
.footer__h { font-size: var(--fs-13); font-weight: 500; color: var(--text-3); margin-bottom: var(--s2); }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding-block: var(--s4); border-top: 1px solid var(--border); font-size: var(--fs-13); color: var(--text-3); }
.footer__legal { display: flex; gap: var(--s4); }
@media (max-width: 767px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--s6) var(--s5); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--s8); display: grid; gap: var(--s4); max-width: 640px; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print { .header, .tabbar, .footer, .hero__actions { display: none !important; } }

/* Korrekturen */
.pagehead__inner { max-width: calc(var(--max) + 2 * var(--gutter)); }
.pagehead__inner > * { max-width: 760px; }
@media (max-width: 1023px) {
  .svc__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .svc__tab { justify-content: center; padding: 8px 4px; font-size: var(--fs-13); text-align: center; }
}
.cta-short { display: none; }
@media (max-width: 380px) { .header__cta .cta-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .header__cta .cta-short { display: inline; } }
.footer__grid > * { min-width: 0; }
.footer address a { overflow-wrap: anywhere; }


/* Portrait Über uns */
.portrait { margin: 0; display: grid; gap: var(--s3); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg-alt); }
.portrait figcaption { font-size: var(--fs-13); color: var(--text-3); }
.about-person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: start; }
@media (max-width: 767px) { .about-person { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } .portrait { max-width: 320px; } }
.about-person .split { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }


/* ==========================================================================
   Version 6: Farben aus dem Logo – Tinte #131e28, Blau #007afe
   ========================================================================== */
:root {
  color-scheme: light;
  --ink: #131e28;
  --ink-2: #1c2a37;
  --ink-line: #2c3b4a;
  --on-ink: #ffffff;
  --on-ink-2: #b9c4cf;
  --brand: #007afe;
  --accent-soft: #e8f2ff;
  --accent-line: #c4dcfb;
  --text: #131e28;
}
/* Kopfzeile mit Logo */
.logo { gap: 0; }
.logo img { display: block; height: 38px; width: auto; }
@media (max-width: 767px) { .logo img { height: 30px; } }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { height: 3px; background: var(--brand); }

/* Dunkle Bühne: Startseite und Seitenköpfe */
.hero, .pagehead { position: relative; background: var(--ink); color: var(--on-ink); border: 0; }
.hero::after, .pagehead::after { /* Linie aus dem Logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 45%, rgba(0, 122, 254, 0) 100%);
}
.hero .h1, .pagehead .h1, .hero .facts dd { color: var(--on-ink); }
.hero .h1 .accent { color: #3b97ff; }
.hero .lead, .pagehead .lead { color: var(--on-ink-2); }
.hero .facts { border-top-color: var(--ink-line); }
.hero .facts dt { color: #8d9aa8; }
.hero .btn--secondary { background: transparent; color: var(--on-ink); border-color: #4a5a6b; }
.hero .btn--secondary:hover { border-color: var(--on-ink); color: var(--on-ink); }
.hero .quick { background: #fff; border-color: #fff; }
.hero :focus-visible, .pagehead :focus-visible { outline-color: #6fb2ff; }
.pagehead .crumbs, .pagehead .crumbs a { color: #8d9aa8; }
.pagehead .crumbs a:hover { color: var(--on-ink); }
.pagehead .crumbs li + li::before { color: #4a5a6b; }

/* Akzente */
.num { color: var(--accent); font-weight: 500; }
.service__top .num { display: inline-grid; place-items: center; min-width: 32px; height: 24px; padding: 0 6px; border-radius: var(--r-sm); background: var(--accent-soft); }
.step__no { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.step, .reason { border-top: 3px solid var(--brand); }
.list .icon, .service li .icon { color: var(--brand); }
.list-card h3 { color: var(--ink); }
.svc__tab[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); box-shadow: inset 3px 0 0 var(--brand); }
@media (max-width: 1023px) { .svc__tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--brand); } }
.svc__note { background: var(--accent-soft); border-color: var(--accent-line); }
.datalist dt { color: var(--text-3); }

/* Abschluss-Band */
.cta { background: var(--ink); border-color: var(--ink); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brand), rgba(0,122,254,0)); }
.cta .h3, .cta h2 { color: #fff; }
.cta .muted { color: var(--on-ink-2); }
.cta .mailto { color: #fff; }
.cta .mailto:hover { color: #9cc9ff; }
.cta :focus-visible { outline-color: #6fb2ff; }

/* Fusszeile dunkel mit hellem Logo */
.footer { background: var(--ink); color: var(--on-ink-2); border-top: 0; }
.footer a { color: #dfe6ec; }
.footer a:hover { color: #fff; }
.footer__h { color: #8d9aa8; }
.footer__base { border-top-color: var(--ink-line); color: #8d9aa8; }
.footer .logo img { height: 40px; }
.hero .quick { color: var(--text); }
.logo img { height: 42px; }
@media (max-width: 767px) { .logo img { height: 32px; } }

/* ==========================================================================
   Version 7: 3D-Druck-Erlebnis
   ========================================================================== */
body { text-rendering: auto; }

/* Hero mit Bauplattform und Druckbühne */
.hero { overflow: hidden; padding-bottom: var(--s7); }
.hero::before { /* feine Schichtlinien */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 6px);
}
.hero__plate {
  position: absolute; left: -10%; right: -10%; bottom: -20%; height: 70%; pointer-events: none;
  background-image: linear-gradient(rgba(0,122,254,0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(0,122,254,0.16) 1px, transparent 1px);
  background-size: 48px 48px; transform: perspective(700px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero__grid { position: relative; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
@media (max-width: 1023px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }
.stage { position: relative; display: grid; gap: var(--s3); }
.stage__canvas { width: 100%; height: auto; aspect-ratio: 640 / 520; display: block; touch-action: pan-y; cursor: grab; }
.stage__canvas:active { cursor: grabbing; }
.stage__hud { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); padding: 10px var(--s4); border: 1px solid var(--ink-line); border-radius: var(--r-lg); background: rgba(19,30,40,0.7); font-family: var(--mono); font-size: var(--fs-13); color: var(--on-ink-2); }
.stage__hud b { color: #fff; font-weight: 500; }
.stage__hud .dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(0,122,254,0.6); animation: pulse 1.6s infinite; vertical-align: 1px; }
.stage__hud.is-done .dot { background: #2fbf71; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,122,254,0.55); } 70% { box-shadow: 0 0 0 8px rgba(0,122,254,0); } 100% { box-shadow: 0 0 0 0 rgba(0,122,254,0); } }
.stage__bar { flex: 1 1 80px; height: 4px; border-radius: 2px; background: var(--ink-line); overflow: hidden; }
.stage__bar i { display: block; height: 100%; width: 0; background: var(--brand); }
@media (max-width: 1023px) { .stage { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (max-width: 640px) { .stage__hud { font-size: var(--fs-11); padding: 8px 12px; } }

/* Schnellanfrage als Leiste */
.quickbar {
  position: relative; display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.7fr) minmax(0, 1fr) minmax(130px, 0.7fr) auto;
  gap: var(--s4); align-items: end; margin-top: var(--s7); padding: var(--s5); background: #fff; color: var(--text);
  border-radius: var(--r-lg); border: 1px solid #fff;
}
.quickbar__title { align-self: center; }
.quickbar__title h2 { font-size: var(--fs-18); }
.quickbar__title p { font-size: var(--fs-13); color: var(--text-3); }
.quickbar .seg { background: var(--bg-alt); }
.quickbar__go { min-height: 40px; }
@media (max-width: 1023px) { .quickbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quickbar__title { grid-column: 1 / -1; } .quickbar__go { width: 100%; } }
@media (max-width: 640px) { .quickbar { grid-template-columns: minmax(0, 1fr); padding: var(--s4); margin-top: var(--s6); } }

/* Überschriften erscheinen Schicht für Schicht */
[data-print-in].is-pending { clip-path: inset(100% 0 0 0); }
[data-print-in].is-printing { animation: print-in 0.7s steps(9, end) both; }
@keyframes print-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Druckpfad: Karte wird beim Überfahren nachgezogen */
.tp { position: relative; }
.tp__path { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); pointer-events: none; overflow: visible; }
.tp__path rect { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s var(--ease); }
.tp:hover .tp__path rect, .tp:focus-visible .tp__path rect { stroke-dashoffset: 0; }
.tp:hover { border-color: transparent; }
.service__icon { width: 44px; height: 44px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service__icon .base { stroke: var(--border-strong); }
.service__icon .mid { opacity: 0.65; }
.service__icon .top { opacity: 0.4; }
.service__icon > * { transition: transform 0.45s var(--ease), opacity 0.3s; }
a.card:hover .service__icon .top { transform: translateY(-3px); opacity: 1; }
a.card:hover .service__icon .mid { transform: translateY(-1.5px); opacity: 1; }
.section--services { background: var(--bg-alt); border-block: 1px solid var(--border); }
@media (max-width: 640px) { .service__icon { display: none; } }

/* Ablauf als Fortschrittslinie */
.progress-label { font-family: var(--mono); font-size: var(--fs-13); color: var(--text-3); }
.progress-label b { color: var(--accent); font-weight: 500; }
.timeline { --p: 0; list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 3px; border-radius: 2px; background: var(--border); }
.timeline::after { background: var(--brand); right: auto; width: calc((100% - 36px) * var(--p)); }
.timeline__step { position: relative; z-index: 1; display: grid; gap: var(--s2); align-content: start; }
.timeline__no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--bg); font-family: var(--mono); font-size: var(--fs-14); color: var(--text-3); transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.timeline__step.is-on .timeline__no { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.timeline__step h3 { font-size: var(--fs-18); margin-top: var(--s2); }
.timeline__step p { font-size: var(--fs-14); color: var(--text-2); max-width: 26ch; }
@media (max-width: 767px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-left: 52px; }
  .timeline::before, .timeline::after { left: 17px; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; }
  .timeline::after { bottom: auto; height: calc((100% - 36px) * var(--p)); }
  .timeline__no { position: absolute; left: -52px; top: 0; }
  .timeline__step h3 { margin-top: 6px; }
  .progress-label { display: none; }
}

/* Dunkler Abschnitt «Warum» */
.section.dark { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.section.dark .h2 { color: #fff; }
.section.dark .lead { color: var(--on-ink-2); }
.layers { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 6px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.why { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.why__intro { display: grid; gap: var(--s5); justify-items: start; }
.why__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.why__list li { padding-top: var(--s4); border-top: 1px solid var(--ink-line); position: relative; }
.why__list li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--brand); transition: width 0.6s var(--ease); }
.why__list li:hover::before { width: 100%; }
.why__no { font-family: var(--mono); font-size: var(--fs-13); color: #3b97ff; }
.why__list h3 { color: #fff; font-size: var(--fs-18); margin: 6px 0 4px; }
.why__list p { color: var(--on-ink-2); font-size: var(--fs-14); }
.section.dark :focus-visible { outline-color: #6fb2ff; }
@media (max-width: 1023px) { .why { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 480px) { .why__list { gap: var(--s5) var(--s4); } .why__list h3 { font-size: var(--fs-16); } .why__list p { font-size: var(--fs-13); } }

@media (prefers-reduced-motion: reduce) {
  [data-print-in].is-pending { clip-path: none; }
  .stage__hud .dot { animation: none; }
}

/* Diagramm Kleinserien */
.chartcard { display: grid; gap: var(--s3); }
.chartcard__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2) var(--s4); }
.chartcard__head h3 { font-size: var(--fs-18); }
.chartcard__out { font-size: var(--fs-14); color: var(--text-2); }
.chartcard__out b { color: var(--accent); }
.chart { width: 100%; height: auto; display: block; font-family: var(--font); }
.chart__zone { fill: var(--accent-soft); }
.chart__zonelabel { fill: var(--accent); font-size: 12px; font-weight: 600; }
.chart__axis { stroke: var(--border-strong); stroke-width: 1; }
.chart__tick, .chart__axislabel { fill: var(--text-3); font-size: 11px; }
.chart__sg { fill: none; stroke: #8a95a3; stroke-width: 2.5; stroke-dasharray: 6 5; }
.chart__dp { fill: none; stroke: var(--brand); stroke-width: 3; }
.chart__lbl { font-size: 12px; font-weight: 600; }
.chart__lbl--sg { fill: #5d6875; }
.chart__lbl--dp { fill: var(--accent); }
.chart__marker { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; }
.chart__dot { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.range { width: 100%; height: 32px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--fill, 42%), var(--border) var(--fill, 42%)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--border); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--brand); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }

/* Materialfinder */
.finder { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-alt); }
.finder__chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { min-height: 36px; padding: 6px 14px; border-radius: var(--r); border: 1px solid var(--border-strong); background: #fff; color: var(--text-2); font-size: var(--fs-14); font-weight: 500; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.finder__out { font-size: var(--fs-14); color: var(--text-2); }
.finder__out b { color: var(--accent); }
.table tr { transition: opacity 0.25s, background-color 0.25s; }
.table tr.is-match th, .table tr.is-match td { background: var(--accent-soft); }
.table tr.is-match th { box-shadow: inset 3px 0 0 var(--brand); }
.table tr.is-dim { opacity: 0.4; }
@media (max-width: 640px) { .chip { min-height: 40px; } }
@media (max-width: 767px) { .timeline::before { bottom: 66px; } }

/* Bedienleiste der Druck-Animation */
.stage__hud { gap: var(--s3); padding: 8px 12px; }
.hud-btn { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--r); border: 1px solid var(--ink-line); background: var(--ink-2); color: #fff; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.hud-btn:hover { background: #24364a; border-color: #4a5a6b; }
.hud-btn .icon { width: 16px; height: 16px; }
.hud-btn .icon--play { display: none; }
.is-paused .hud-btn .icon--play { display: block; fill: currentColor; }
.is-paused .hud-btn .icon--pause { display: none; }
.hud-range { flex: 1 1 120px; min-width: 0; height: 28px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.hud-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) var(--fill, 100%), var(--ink-line) var(--fill, 100%)); }
.hud-range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--ink-line); }
.hud-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--brand); }
.hud-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.hud-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.hud-range:focus-visible { outline: 2px solid #6fb2ff; outline-offset: 2px; }
.hud-txt { white-space: nowrap; }
.stage__hint { font-size: var(--fs-13); color: #8d9aa8; }
@media (max-width: 640px) { .hud-btn { width: 40px; height: 40px; } .stage__hint { font-size: var(--fs-11); } }

/* Version 8: Situationen, Vertrauensband */
.situation { display: grid; gap: var(--s3); align-content: start; }
.situation__tag { justify-self: start; padding: 2px 8px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); font-size: var(--fs-13); font-weight: 500; }
.situation h3 { font-size: var(--fs-18); line-height: 1.3; }
.situation p { font-size: var(--fs-14); color: var(--text-2); }
.situation .service__more { margin-top: var(--s2); }
@media (max-width: 1023px) { .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .situations { grid-template-columns: minmax(0, 1fr); } .situation .service__more span { display: inline; } .situation .service__more { grid-column: auto; grid-row: auto; } }
.why__list--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.btn--on-dark { background: transparent; color: #fff; border-color: #4a5a6b; }
.btn--on-dark:hover { color: #fff; border-color: #fff; }
.trustband { background: var(--accent-soft); border-block: 1px solid var(--accent-line); }
.trust { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s5); }
.trust__list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.trust__list li { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--fs-14); color: var(--text-2); }
.trust__list b { color: var(--text); }
.trust__list .icon { color: var(--brand); margin-top: 2px; }
@media (max-width: 1023px) { .trust { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .trust__list { flex-direction: column; } .trust .btn { justify-self: start; } }
.chips-static { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips-static li { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; font-size: var(--fs-14); color: var(--text-2); }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: var(--s2); }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s2); font-size: var(--fs-14); color: var(--text-2); }
.mini-steps li::before { content: counter(ms); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: var(--fs-11); }
.reason .list { margin-top: var(--s2); }

/* Version 9: Logo wird gedruckt (ersetzt 3D-Animation) */
.logo-stage { display: grid; gap: var(--s3); }
.logo-stage__frame {
  position: relative; display: grid; place-items: center; min-height: 300px; padding: var(--s7) var(--s6);
  border: 1px solid var(--ink-line); border-radius: var(--r-lg);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 6px), linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,122,254,0.06));
}
.logo-stage__print { position: relative; width: 100%; max-width: 520px; }
.logo-stage__img, .logo-stage__img img { display: block; width: 100%; height: auto; }
.logo-stage__img { animation: logo-print 2.6s steps(26, end) 0.3s both; }
.logo-stage__scan {
  position: absolute; left: -6%; right: -6%; bottom: 0; height: 2px; border-radius: 2px; pointer-events: none;
  background: var(--brand); box-shadow: 0 0 12px 2px rgba(0, 122, 254, 0.7);
  animation: logo-scan 2.6s steps(26, end) 0.3s both, logo-scan-out 0.6s ease 2.9s both;
}
@keyframes logo-print { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes logo-scan { from { bottom: 0; } to { bottom: 100%; } }
@keyframes logo-scan-out { from { opacity: 1; } to { opacity: 0; } }
.logo-stage__caption { font-size: var(--fs-13); color: #8d9aa8; text-align: center; }
@media (max-width: 1023px) { .logo-stage { max-width: 560px; margin-inline: auto; width: 100%; } .logo-stage__frame { min-height: 200px; padding: var(--s6) var(--s5); } }
@media (max-width: 640px) { .logo-stage__frame { min-height: 160px; } }
@media (prefers-reduced-motion: reduce) { .logo-stage__img { animation: none; } .logo-stage__scan { display: none; } }
