/* Schriften lokal eingebunden (keine Verbindung zu Google) – SIL Open Font License */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/oswald.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/figtree.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono.woff2") format("woff2"); }

/* Basis (ersetzt den Rahmen der Vorschau) */
html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: anthrazitgraue Markenwelt wie dahs-wuppertal.de, Neongelb nur als Signal; der Druckvorgang ist das eine bewegte Motiv. */
:root {
  --bg: #1F1F21;
  --surface: #28282B;
  --raise: #323236;
  --ink: #EEEEF0;
  --muted: #A4A4AA;
  --line: #3B3B40;
  --accent: #E3FC02;
  --accent-ink: #1F1F21;
  --obj: #55555C;
  --obj-line: #6A6A72;

  --f-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.8rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: 0.02em; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 4px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-body);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { color: var(--muted); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.08em; }
/* Das Logo ist dunkel auf Weiß: invertiert und per screen-Blend wird es hell auf dem dunklen Grund */
.logo-dark { filter: invert(1) grayscale(1) contrast(1.1); mix-blend-mode: screen; height: 46px; width: auto; display: block; }
@media (max-width: 420px) { .logo-dark { height: 38px; } .brand-sub { display: none; } }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 0.82rem; }
@media (max-width: 920px) { .nav-links { display: none; } }
@media (max-width: 420px) { .brand { font-size: 1.15rem; } .nav .btn { padding: 8px 12px; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.printer {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; display: grid; gap: 16px; min-width: 0; max-width: 460px; width: 100%; justify-self: center;
}
.printer-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.printer-head b { color: var(--ink); font-weight: 500; }
.chamber {
  position: relative; height: 300px; border-radius: 10px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 100%;
  background-color: var(--bg);
  overflow: hidden;
}
.vase { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; flex-direction: column-reverse; align-items: center; gap: 1px; }
.vase i { display: block; height: 5px; border-radius: 2px; background: var(--raise); transition: background-color .25s; }
.vase i.done { background: var(--obj-line); }
.vase i.hot { background: var(--accent); }
.bed { position: absolute; left: 10%; right: 10%; bottom: 12px; height: 8px; border-radius: 2px; background: var(--muted); }
.nozzle { position: absolute; left: 50%; width: 22px; height: 30px; margin-left: -11px; transition: bottom .14s linear, left .14s linear; }
.nozzle::before { content: ""; position: absolute; inset: 0 0 10px; background: var(--ink); border-radius: 4px 4px 2px 2px; }
.nozzle::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 10px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%); }
.gantry { position: absolute; left: 0; right: 0; height: 3px; background: var(--muted); opacity: .4; transition: bottom .14s linear; }
.printer-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.readout { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; min-width: 0; }
.readout small { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-mono); }
.readout span { font-family: var(--f-mono); font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Marktplätze */
.markets { border-block: 1px solid var(--line); background: var(--surface); }
.markets-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 22px; flex-wrap: wrap; }
.markets-inner p { color: var(--muted); font-size: 0.95rem; }
.market-list { display: flex; gap: 10px; flex-wrap: wrap; }
.market {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 4px;
  border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
a.market:hover { border-color: var(--ink); }
.market .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.market.soon { color: var(--muted); border-style: dashed; }
.market.soon .dot { background: var(--muted); }

/* Sections */
section.block { padding-block: clamp(64px, 9vw, 112px); }
section.tight { padding-top: 0; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 780px; }

/* Werte */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.value { background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; }
.value p { color: var(--muted); }
.value svg { width: 32px; height: 32px; color: var(--accent); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* Produkte */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; transition: border-color .2s, transform .2s;
}
.product:hover { border-color: var(--muted); transform: translateY(-2px); }
.product-visual { aspect-ratio: 1 / 1; max-width: 100%; background: var(--raise); display: block; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.product:hover .product-visual img { transform: scale(1.03); }
.product-visual .tag { position: absolute; top: 12px; left: 12px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; background: var(--bg); padding: 4px 8px; border-radius: 4px; color: var(--muted); }
.product-visual .tag.hot { background: var(--accent); color: var(--accent-ink); }
.product-body { padding: 20px 22px 22px; display: grid; gap: 14px; align-content: start; }
.product-body p { color: var(--muted); font-size: 0.95rem; }
.facts { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.facts li { font-size: 0.8rem; padding: 3px 9px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink); }
.swatches { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: inline-block; }
.swatches span { margin-right: 4px; }
.swatches a { display: inline-flex; border-radius: 50%; transition: transform .15s; }
.swatches a:hover { transform: scale(1.25); }
.swatches a:hover i { border-color: var(--ink); }
.swatches i { display: block; }
.product-title { text-decoration: none; }
.product-title:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.buy-group { display: flex; gap: 6px; flex-wrap: wrap; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.price { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-body); font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-right: 4px; }
.product-foot .btn { padding: 9px 14px; font-size: 0.78rem; }
.shop-all { margin-top: 28px; display: flex; justify-content: center; }

/* Individueller Druck */
.custom { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .custom { grid-template-columns: 1fr; } }
.custom-copy { display: grid; gap: 20px; min-width: 0; }
.custom-copy p { color: var(--muted); }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .uses { grid-template-columns: 1fr; } }
.use { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.use b { font-family: var(--f-mono); font-weight: 500; font-size: 0.75rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.use p { color: var(--muted); font-size: 0.93rem; }
.send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); font-size: 0.93rem; }
.send strong { color: var(--ink); font-weight: 600; }

/* Hausmodelle */
.models-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 940px) { .models-grid { grid-template-columns: 1fr; } }
.house-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 2.5vw, 24px); display: grid; gap: 14px; min-width: 0; }
.house-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.house-head b { color: var(--ink); font-weight: 500; }
.house-scale { color: var(--accent-ink); background: var(--accent); padding: 2px 8px; border-radius: 4px; }
.house { width: 100%; height: auto; display: block; overflow: visible; }
.house polygon { stroke: rgba(0,0,0,.22); stroke-width: .6; stroke-linejoin: round; }
.h-plate { fill: #3E3E43; } .h-plate-s { fill: #2B2B2F; } .h-plate-s2 { fill: #333337; }
.h-top { fill: #F4F4F5; } .h-wall-a { fill: #E4E4E7; } .h-wall-b { fill: #C8C8CD; }
.h-win { fill: #5D6470; } .h-door { fill: #8A8F98; }
.h-int { stroke: #85858C; stroke-width: 2.4; stroke-linecap: round; }
.h-roof-a { fill: #7A7A82; } .h-roof-b { fill: #5E5E65; }
.h-tree { fill: #5C6652; } .h-trunk { stroke: #6E6255; stroke-width: 2; }
.h-dim { stroke: var(--accent); stroke-width: 1.2; }
.h-dim-t, .h-note { font-family: var(--f-mono); font-size: 10px; fill: var(--accent); }
.h-lab { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); }
.h-seam { stroke: rgba(0,0,0,.35); stroke-width: 1; }
/* Explosionsansicht: je nach gewählter Teilung heben sich Dach und Obergeschoss ab */
.h-og, .h-roof { transition: translate .7s cubic-bezier(.2, .8, .2, 1); }
.h-lab { transition: opacity .4s; }
#house[data-mode="1"] .h-lab { opacity: 0; }
#house[data-mode="2"] .h-og .h-lab, #house[data-mode="2"] .h-eg .h-lab { opacity: 0; }
#house[data-mode="2"] .h-roof { translate: 0 -56px; }
#house[data-mode="3"] .h-og { translate: 0 -44px; }
#house[data-mode="3"] .h-roof { translate: 0 -100px; }
.house-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); justify-self: start; }
.house-modes button { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 5px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.house-modes button:hover { color: var(--ink); }
.house-modes button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.house-mode-text { color: var(--muted); font-size: 0.93rem; min-height: 3em; }
#house.scrub .h-og, #house.scrub .h-roof { transition: none; }
@media (prefers-reduced-motion: reduce) { .h-og, .h-roof, .h-lab { transition: none; } }
.house-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.house-tags li { font-size: 0.8rem; padding: 3px 9px; border-radius: 4px; border: 1px solid var(--line); }

.audiences { display: grid; gap: 16px; min-width: 0; }
.audience { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.5vw, 26px); display: grid; gap: 12px; align-content: start; }
.audience.pro { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.aud-label { font-family: var(--f-mono); font-weight: 500; font-size: 0.75rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.audience ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.audience li { color: var(--muted); padding-left: 20px; position: relative; font-size: 0.96rem; }
.audience li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--accent); }
.audience li .mono { font-size: 0.8rem; color: var(--ink); }
.audience .btn { justify-self: start; margin-top: 4px; }

.models-lower { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 940px) { .models-lower { grid-template-columns: 1fr; } }
.model-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: m; }
@media (max-width: 520px) { .model-steps { grid-template-columns: 1fr; } }
.model-steps li { counter-increment: m; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; align-content: start; }
.model-steps li::before { content: counter(m, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.78rem; color: var(--accent); }
.model-steps h3 { font-size: 1.1rem; }
.model-steps p { color: var(--muted); font-size: 0.92rem; }

/* Anfrage Hausmodell */
.models-left { display: grid; gap: 12px; align-content: start; min-width: 0; }
.formats { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; }
.formats h3 { font-size: 1.1rem; }
.formats dl { margin: 0; display: grid; gap: 8px; }
.formats dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.formats dd { margin: 0; color: var(--muted); font-size: 0.92rem; }
.formats dd b { color: var(--ink); font-family: var(--f-mono); font-weight: 500; font-size: 0.85rem; }
.inquiry { background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--r); padding: clamp(20px, 2.5vw, 28px); display: grid; gap: 16px; min-width: 0; scroll-margin-top: 100px; }
.inquiry > p { color: var(--muted); font-size: 0.95rem; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }
.f-field { display: grid; gap: 6px; min-width: 0; }
.f-field.full { grid-column: 1 / -1; }
.f-field > label, .f-label { font-size: 0.78rem; color: var(--muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.f-field input[type="text"], .f-field input[type="email"], .f-field input[type="tel"], .f-field select, .f-field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px;
}
.f-field textarea { min-height: 96px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.drop {
  position: relative; display: grid; gap: 4px; place-items: center; text-align: center; padding: 22px 16px;
  border: 1.5px dashed var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.f-field > label.drop { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--ink); }
.drop:hover, .drop.over { border-color: var(--accent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop strong { font-weight: 600; }
.drop span { color: var(--muted); font-size: 0.85rem; }
.drop .file-name { color: var(--accent); font-family: var(--f-mono); font-size: 0.85rem; overflow-wrap: anywhere; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.f-check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.f-check a { color: var(--ink); text-decoration-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.f-status { font-size: 0.9rem; color: var(--muted); }
.f-status.err { color: #FF8A80; }
.f-done { display: grid; gap: 10px; padding: 18px; border-radius: 10px; background: var(--bg); border: 1px solid var(--accent); }
.f-done h3 { color: var(--accent); }
.f-done p { color: var(--muted); }
.mail-alt { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.mail-alt span { font-family: var(--f-mono); color: var(--ink); user-select: all; }
.mail-alt .f-label { color: var(--muted); user-select: auto; }
.mail-alt button { font: inherit; font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 4px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.mail-alt button:hover { border-color: var(--ink); }

/* 3D-Druck erklärt */
.explain { background: var(--surface); border-block: 1px solid var(--line); }
/* Scroll-Story: links der Druck, der mit dem Scrollen fortschreitet, rechts die Schritte */
.story { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(48px, 6vw, 80px); }
.story-viz { min-width: 0; }
.viz-card {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px);
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 14px;
}
.viz-head, .viz-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.viz-head span:first-child { color: var(--ink); }
.viz-foot b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
#viz-pct { color: var(--accent); font-variant-numeric: tabular-nums; }
.viz-card svg { width: 100%; height: auto; display: block; max-height: 52vh; }
.viz-bar { height: 4px; border-radius: 2px; background: var(--raise); overflow: hidden; }
.viz-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.v-outline { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 7 6; transition: stroke .4s, stroke-width .4s, opacity .4s; }
.v-grid line { stroke: var(--accent); stroke-width: .8; opacity: .45; }
.v-slices line { stroke: var(--accent); stroke-width: 1; }
.v-grid, .v-slices, .v-nozzle, .v-check { opacity: 0; transition: opacity .4s, transform .4s; }
.v-check { transform-origin: 236px 62px; transform: scale(.6); }
.v-check circle { fill: var(--accent); } .v-check path { fill: none; stroke: var(--accent-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.v-nozzle rect, .v-nozzle path { fill: var(--ink); }
.v-bed { fill: var(--muted); }
.v-sketch-note { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); transition: opacity .4s; }
#viz[data-stage="1"] .v-outline { stroke: var(--accent); stroke-dasharray: none; }
#viz[data-stage="1"] .v-grid { opacity: 1; }
#viz[data-stage="2"] .v-outline { stroke: var(--accent); stroke-dasharray: none; stroke-width: 1.5; }
#viz[data-stage="2"] .v-slices { opacity: .8; }
#viz[data-stage="3"] .v-outline, #viz[data-stage="4"] .v-outline { stroke: var(--obj-line); stroke-dasharray: none; stroke-width: 1; }
#viz[data-stage="3"] .v-slices { opacity: .2; }
#viz[data-stage="3"] .v-nozzle { opacity: 1; }
#viz[data-stage="4"] .v-check { opacity: 1; transform: scale(1); }
#viz:not([data-stage="0"]) .v-sketch-note { opacity: 0; }

.story-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.story-steps li {
  min-height: 60vh; display: grid; gap: 10px; align-content: center; counter-increment: s;
  border-left: 2px solid var(--line); padding: 24px 0 24px 28px; position: relative;
  opacity: .35; transition: opacity .4s, border-color .4s;
}
.story-steps li::before { content: counter(s, decimal-leading-zero) " / 05"; font-family: var(--f-mono); font-size: 0.8rem; color: var(--accent); }
.story-steps li::after { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: var(--line); transition: background .4s, transform .4s; }
.story-steps li.done { opacity: .6; border-color: var(--accent); }
.story-steps li.done::after { background: var(--accent); }
.story-steps li.active { opacity: 1; border-color: var(--accent); }
.story-steps li.active::after { background: var(--accent); transform: scale(1.4) rotate(45deg); }
.story-steps h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.story-steps p { color: var(--muted); max-width: 46ch; }
.story-steps code { font-family: var(--f-mono); font-size: 0.85rem; background: var(--bg); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-viz { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); z-index: 5; background: var(--surface); padding-bottom: 12px; }
  .viz-card { position: static; padding: 14px; gap: 10px; }
  .viz-card svg { max-height: 26vh; }
  .story-steps li { min-height: 46vh; }
}
@media (prefers-reduced-motion: reduce) { .story-steps li, .story-steps li::after, .v-outline, .v-grid, .v-slices, .v-nozzle, .v-check { transition: none; } }
.explain-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 940px) { .explain-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); background: var(--bg); display: grid; gap: 16px; min-width: 0; }
.panel > p { color: var(--muted); }
.diagram { overflow-x: auto; }
.diagram svg { width: 100%; min-width: 440px; height: auto; display: block; }
.diagram text { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); }
.diagram text.k { fill: var(--ink); font-weight: 500; }
.d-ink { fill: var(--ink); } .d-obj { fill: var(--obj); } .d-objl { fill: var(--obj-line); } .d-acc { fill: var(--accent); } .d-muted { fill: var(--muted); }
.d-line { stroke: var(--muted); stroke-width: 1; fill: none; stroke-dasharray: 3 3; }
.d-fil { stroke: var(--accent); stroke-width: 3; fill: none; }
.d-surface { fill: var(--surface); stroke: var(--line); }

.slider-row { display: grid; gap: 10px; }
.slider-row label { display: flex; justify-content: space-between; font-weight: 600; gap: 12px; }
.slider-row output { font-family: var(--f-mono); color: var(--accent); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.layer-svg { width: 100%; height: auto; display: block; background: var(--surface); border-radius: 8px; border: 1px solid var(--line); }
.layer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.layer-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.layer-stats small { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-family: var(--f-mono); }
.layer-stats b { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.fineprint { font-size: 0.82rem; color: var(--muted); }

.materials { margin-top: clamp(40px, 5vw, 64px); }
.materials h3 { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 0.95rem; background: var(--bg); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--f-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; background: var(--raise); }
td:first-child { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
td.mono { white-space: nowrap; }

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy p { color: var(--muted); max-width: 60ch; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .founders { grid-template-columns: 1fr; } }
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-content: start; }
.avatar {
  width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600; font-size: 1.5rem;
  background: repeating-linear-gradient(0deg, var(--raise) 0 3px, var(--surface) 3px 5px);
  border: 1px solid var(--line); color: var(--accent);
}
.founder small { color: var(--muted); font-size: 0.88rem; }
.claim { grid-column: 1 / -1; padding: 20px 22px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); display: grid; gap: 6px; }
.claim b { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.claim p { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.25; text-transform: uppercase; font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 20px; color: var(--muted); max-width: 70ch; }

/* Kontakt */
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.cta p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.cta-box { display: grid; gap: 10px; min-width: 0; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); flex-wrap: wrap; }
.contact-row small { display: block; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-row span { font-family: var(--f-mono); font-size: 0.95rem; user-select: all; overflow-wrap: anywhere; }
.contact-row div { min-width: 0; }
.contact-row button { font: inherit; font-size: 0.8rem; font-weight: 600; padding: 7px 12px; border-radius: 4px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.contact-row button:hover { border-color: var(--ink); }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* Footer */
footer { padding-block: 40px 56px; color: var(--muted); font-size: 0.9rem; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .btn, .product, .nozzle, .gantry, .vase i { transition: none; }
}

/* Laufband */
.ticker { overflow: hidden; padding-block: clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; gap: 0; width: max-content; }
.ticker-track span {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(2.6rem, 7.5vw, 6rem); line-height: 1; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px);
}
.ticker-track span:nth-child(odd) { color: var(--ink); }
.ticker-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--muted); }
.ticker-track span::after { content: ""; width: 0.28em; height: 0.28em; background: var(--accent); flex: none; }

/* Fortschrittsbalken unter dem Header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); display: none; }

/* Scroll-Effekte: nur wo der Browser scroll-getriebene Animationen kann und Bewegung erwünscht ist.
   Ohne Unterstützung bleibt alles sichtbar und unbewegt. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .progress { display: block; animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { to { transform: scaleX(1); } }

    .site-header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
    @keyframes header-solid { to { background: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,.35); } }

    /* Hero driftet beim Wegscrollen auseinander */
    .hero-copy { animation: drift-up linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .printer { animation: drift-printer linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes drift-up { to { opacity: 0; translate: 0 -80px; } }
    @keyframes drift-printer { to { opacity: .2; translate: 0 -160px; rotate: -3deg; scale: .94; } }

    /* Laufband bewegt sich mit dem Scrollen */
    .ticker-track { animation: slide linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes slide { from { translate: 5% 0; } to { translate: -40% 0; } }

    /* Elemente gleiten beim Hereinscrollen nach oben */
    .section-head, .value, .product, .use, .send, .custom-copy, .panel, .table-wrap,
    .about-copy, .founder, .claim, details, .shop-all, .house-card, .audience, .model-steps li, .formats, .inquiry {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 75%;
    }
    @keyframes rise { from { opacity: 0; translate: 0 56px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }

    /* Versatz, damit Karten in einer Reihe nacheinander kommen */
    .value:nth-child(2), .product:nth-child(2), .use:nth-child(2), .founder:nth-child(2) { animation-range: entry 10% entry 85%; }
    .value:nth-child(3), .product:nth-child(3), .use:nth-child(3) { animation-range: entry 20% entry 95%; }

    .audience:nth-child(2), .model-steps li:nth-child(2), .model-steps li:nth-child(4) { animation-range: entry 10% entry 85%; }

    /* Produktfotos zoomen sanft heran */
    .product-visual img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes settle { from { scale: 1.25; } to { scale: 1; } }

    /* Abschnittswechsel: Flächen öffnen sich beim Hereinscrollen von einer abgerundeten Karte auf volle Breite */
    .explain, .markets { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    @keyframes unveil { from { clip-path: inset(0 6% round 36px); } to { clip-path: inset(0 0 round 0); } }
    .cta { animation: unveil-card linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes unveil-card { from { clip-path: inset(12% 10% round 48px); opacity: .4; } to { clip-path: inset(0 0 round 20px); opacity: 1; } }

    /* Abschnittsüberschriften: Akzentstrich wächst, Text schiebt sich nach */
    .section-head .eyebrow::before { animation: line-grow linear both; animation-timeline: view(); animation-range: entry 20% entry 90%; transform-origin: left; }
    @keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* Kontaktzeilen kommen nacheinander von rechts */
    .contact-row { animation: from-right linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .contact-row:nth-child(2) { animation-range: entry 10% entry 90%; }
    .contact-row:nth-child(3) { animation-range: entry 20% entry 100%; }
    @keyframes from-right { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }

    /* Anspruch-Kachel wächst auf */
    .claim { animation-name: pop; }
    @keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
  }
}

/* Ehemals Inline-Styles (wegen strenger Content-Security-Policy ausgelagert) */
.cta h2 { margin-top: 14px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .logo-dark { height: 36px; }

/* Rechtsseiten */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal-body { max-width: 760px; display: grid; gap: 14px; }
.legal-body h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 26px; }
.legal-body h3 { font-size: 1.05rem; margin-top: 12px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-body a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-body address { font-style: normal; color: var(--ink); }
.legal-meta { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
