/* Ultimapix · Stylesheet. Farben, Schrift, Abstände und Regeln stehen in DESIGN.md.
   Aufbau: Schriften · Tokens · Grundlagen · Layout · Kopf und Fuss · Bausteine · Startseite · Seitenköpfe ·
   Referenzen · Produkte · Konfigurator · Kreativ-Studio · Formular · Bewegung · Druck */

/* ---------- Schriften ---------- */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono.woff2") format("woff2"); font-weight: 300 700; font-stretch: 87.5%; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Bühne (dunkel) und Blatt (hell) */
  --stage: #000; --stage-2: #161617; --stage-line: #2a2a2d; --stage-ink: #f5f5f7; --stage-dim: #a1a1a6;
  --sheet: #f5f5f7; --sheet-2: #fff; --rule: #d2d2d7; --ink: #1d1d1f; --ink-2: #6e6e73;
  --studio: #dbdad8;                        /* Hintergrund der Produktbilder */
  --signal: #0066cc; --link-dark: #2997ff;  /* Links auf hell und auf dunkel */
  --ok: #15803d; --err: #b91c1c;
  --f: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fh: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --gut: max(20px, 4vw); --max: 1280px; --read: 680px;
  --r-l: 22px; --r-m: 14px; --r-s: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--sheet); color: var(--ink); font: 400 1.0625rem/1.6 var(--f); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0; }
[hidden] { display: none !important; }
/* Titel: Inter mit optischer Grösse, Halbfett, Laufweite wie SF Pro Display */
h1, h2, h3, h4 { margin: 0; font-family: var(--fh); font-optical-sizing: auto; font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.3rem + 5vw, 5.75rem); line-height: 1.04; letter-spacing: -0.022em; }
h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); line-height: 1.07; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.12; letter-spacing: -0.012em; }
h4 { font-size: 1.0625rem; }
/* Messwerte in Monospace */
.num, .val, .slider output, .ticks, .flow .n, .spec dd, .cfg-out b, .cfg-price b, .kv dd, .vtab thead th, .vtab td, .calc-out dd, .code, .ks-params output, .ks-out dd { font-family: var(--mono); font-variation-settings: "wdth" 87.5; }
.num, .val { font-weight: 400; font-size: 0.86em; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--stage-ink); color: var(--stage); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.preview-bar { background: #f0b429; color: #16181b; font-size: 0.8125rem; text-align: center; padding: 6px 16px; }

/* ---------- Flächen und Layout ---------- */
.stage { background: var(--stage); color: var(--stage-ink); }
.stage .dim, .stage .lead { color: var(--stage-dim); }
.sheet { background: var(--sheet); color: var(--ink); }
.paper { background: var(--sheet-2); }
.dim { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: clamp(64px, 9vw, 128px); }
.band-s { padding-block: clamp(40px, 6vw, 72px); }
/* weniger Abstand oben, wenn ein Abschnitt direkt an den vorherigen anschliesst */
.band.flush { padding-top: 0; }
.band.flush-xs { padding-top: 8px; }
.band.flush-s { padding-top: 24px; }
.lead { font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-2); max-width: 40ch; }
.prose { max-width: var(--read); display: grid; gap: 1em; }
.prose h2 { font-size: 1.625rem; margin-top: 0.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 0.6em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.35em; }
.prose .lead { max-width: none; color: var(--ink); }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.g-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(24px, 4vw, 64px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-l { display: grid; gap: 28px; align-content: start; }
.stack-xl { display: grid; gap: clamp(64px, 9vw, 120px); }
@media (max-width: 860px) { .g2, .split { grid-template-columns: minmax(0, 1fr); } }
/* Abschnittskopf, zentriert */
.head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.head .lead { margin-inline: auto; max-width: 52ch; text-align: center; }
.center-head { text-align: center; display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(32px, 4vw, 52px); }
.note { font-size: 0.875rem; color: var(--ink-2); border-left: 2px solid var(--rule); padding-left: 12px; }
.stage .note { color: var(--stage-dim); border-color: var(--stage-line); }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--stage) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); color: var(--stage-ink); border-bottom: 1px solid var(--stage-line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: block; width: 150px; flex: none; }
.logo img { width: 100%; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.875rem; }
.nav a { text-decoration: none; color: var(--stage-dim); padding-block: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--stage-ink); }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--stage-dim); }
.nav .btn-in-menu { display: none; }
/* Sprachumschalter: leiser als die Menüpunkte, durch einen Strich abgesetzt */
.nav .lang-switch { padding-left: 28px; border-left: 1px solid var(--stage-line); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--stage-line); color: var(--stage-ink); font: 600 0.9375rem var(--f); padding: 10px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 980px) {
  .top .wrap { gap: 12px; }
  .nav, .top .btn { display: none; }
  .menu-btn { display: block; }
  .top.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--stage); }
  .top.open .nav { display: grid; position: fixed; inset: var(--menu-top, 72px) 0 0 0; overflow-y: auto; z-index: 60; background: var(--stage); padding: 24px var(--gut); gap: 0; align-content: start; font-size: 1.75rem; font-weight: 650; }
  .top.open .nav a { color: var(--stage-ink); padding: 14px 0; border-bottom: 1px solid var(--stage-line); }
  .top.open .nav .lang-switch { padding-left: 0; border-left: 0; font-size: 1.0625rem; color: var(--stage-dim); }
  .top.open .nav .btn-in-menu { display: inline-flex; margin-top: 28px; justify-self: start; font-size: 1.0625rem; color: var(--stage); border: 0; padding: 12px 22px; }
}

/* ---------- Fuss ---------- */
.foot { background: var(--stage); color: var(--stage-dim); font-size: 0.9375rem; padding-block: 56px 40px; border-top: 1px solid var(--stage-line); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-size: 0.9375rem; color: var(--stage-ink); font-weight: 650; margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--stage-dim); text-decoration: none; }
.foot a:hover { color: var(--stage-ink); text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--stage-line); padding-top: 20px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.8125rem; }
.foot .logo { margin-bottom: 16px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--stage-dim); cursor: pointer; }
.linkbtn:hover { color: var(--stage-ink); text-decoration: underline; }
/* Hinweis zur Einwilligung, unten links, ohne die Seite zu sperren */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: min(440px, calc(100vw - 32px)); display: grid; gap: 14px; padding: 18px 20px;
  background: var(--stage-2); color: var(--stage-ink); border: 1px solid var(--stage-line); border-radius: var(--r-m); box-shadow: 0 12px 40px rgb(0 0 0 / 0.35); font-size: 0.9375rem; line-height: 1.5; }
.consent a { color: var(--link-dark); }
.consent .btn-main { background: var(--stage-ink); color: var(--stage); }
.consent .btn { flex: 1 1 0; }
@media (max-width: 860px) { .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- Knöpfe und Links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 24px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1.2 var(--f); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; text-decoration: none; }
.btn-main { background: var(--ink); color: var(--sheet-2); }
.stage .btn-main, .top .btn-main { background: var(--stage-ink); color: var(--stage); }
.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn-s { min-height: 36px; padding: 7px 16px; font-size: 0.9375rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 600; text-decoration: underline; }
.tlink { color: var(--signal); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem); text-decoration: none; }
.tlink:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.stage .tlink, .tile.dark .tlink { color: var(--link-dark); }
.chip { font: 500 0.9375rem var(--f); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--sheet-2); color: var(--ink); cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--sheet-2); border-color: var(--ink); }
.chip .val { margin-left: 6px; opacity: 0.7; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pill { text-decoration: none; border: 1px solid var(--rule); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 0.9375rem; font-weight: 500; }
.pill:hover { border-color: var(--ink); }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--stage); background: #f0b429; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

/* ---------- Bilder ---------- */
.pic { position: relative; overflow: hidden; background: var(--stage-2); border-radius: var(--r-m); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.r-43 { aspect-ratio: 4 / 3; } .r-169 { aspect-ratio: 16 / 9; } .r-45 { aspect-ratio: 4 / 5; }
.refcap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.refcap b { font-weight: 650; font-size: 1.0625rem; }
.refcap span { color: var(--stage-dim); font-size: 0.875rem; text-align: right; }
a:hover .refcap b { text-decoration: underline; text-underline-offset: 0.2em; }
.massfig { margin: 0; display: grid; gap: 10px; border-radius: var(--r-m); }
.massfig svg { width: 100%; max-width: 520px; height: auto; color: var(--ink); }

/* ---------- Steckbrief (Begriff und Wert) ---------- */
.spec { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-top: 1px solid var(--rule); }
.spec dt, .spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-2); font-size: 0.9375rem; padding-right: 16px; }
.spec dd { font-size: 0.875rem; padding-top: 14px; overflow-wrap: anywhere; }
.spec dd.txt { font-family: var(--f); font-variation-settings: normal; font-size: 0.9375rem; padding-top: 12px; }
.sheet .split > .spec, .sheet .split > div > .spec { background: #fff; border-radius: var(--r-l); padding: 8px 24px; border-top: 0; }
.sheet .split > .spec dt:nth-last-child(2), .sheet .split > .spec dd:last-child { border-bottom: 0; }

/* ---------- Kacheln (Startseite) ---------- */
.tile { text-align: center; padding: clamp(52px, 7vw, 92px) var(--gut) 0; overflow: hidden; }
.tile.dark { background: var(--stage); color: var(--stage-ink); }
.tile.light { background: var(--sheet); color: var(--ink); }
.t-head { display: grid; justify-items: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.t-kicker { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem); font-weight: 600; color: inherit; opacity: 0.75; }
.tile h2 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.25rem); }
.tile h3 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); }
.t-sub { font-size: clamp(1.1rem, 0.98rem + 0.55vw, 1.5rem); line-height: 1.35; letter-spacing: -0.012em; max-width: 40ch; margin: 2px auto 0; color: var(--ink-2); }
.tile.dark .t-sub, .stage .t-sub { color: var(--stage-dim); }
.t-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 8px; }
.t-img { margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1100px; }
.t-img img { width: 100%; height: auto; border-radius: var(--r-l) var(--r-l) 0 0; }
.t-img figcaption { font-size: 0.875rem; color: var(--stage-dim); max-width: 70ch; margin: 14px auto 28px; }
.tile.light .t-img figcaption { color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; background: #fff; }
.tiles .tile { border-radius: var(--r-l); padding-top: clamp(40px, 5vw, 64px); display: grid; grid-template-rows: auto 1fr; }
.tiles .t-img { margin-top: 28px; align-self: end; }
.tiles .t-img img { border-radius: var(--r-m) var(--r-m) 0 0; max-height: 440px; object-fit: cover; }
@media (max-width: 860px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Startseite ---------- */
.hero { padding-top: clamp(56px, 8vw, 110px); }
.hero-center { text-align: center; display: grid; justify-items: center; gap: 22px; padding-bottom: clamp(40px, 5vw, 64px); }
.hero-center h1 { font-size: clamp(3rem, 1.5rem + 5.6vw, 6.5rem); max-width: 14ch; }
.hero-center .btns { justify-content: center; }
.hero-sub { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.75rem); line-height: 1.35; color: var(--stage-dim); max-width: 34ch; letter-spacing: -0.015em; }
/* Pixel-Simulator (sim.js) */
.sim { margin-top: clamp(32px, 5vw, 64px); }
.sim-screen { position: relative; background: #050607; border-block: 1px solid var(--stage-line); }
.sim-screen canvas { width: 100%; height: clamp(300px, 52vw, 640px); cursor: crosshair; touch-action: pan-y; }
.sim-tag { position: absolute; left: var(--gut); bottom: 16px; font-size: 0.8125rem; color: var(--stage-ink); background: color-mix(in srgb, var(--stage) 80%, transparent); padding: 6px 10px; text-decoration: none; }
.sim-tag:hover { text-decoration: underline; }
.sim-ctl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 40px; padding-block: 24px 8px; align-items: start; }
@media (max-width: 860px) { .sim-ctl { grid-template-columns: minmax(0, 1fr); } }
.verdict { display: grid; gap: 6px; font-size: 0.9375rem; color: var(--stage-dim); }
.verdict strong { color: var(--stage-ink); font-weight: 600; font-size: 1.0625rem; }
/* Schieberegler (Simulator, Konfigurator, Kreativ-Studio) */
.slider { display: grid; gap: 8px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.9375rem; font-weight: 600; }
.slider output { font-weight: 500; font-size: 1rem; }
.ticks { display: flex; justify-content: space-between; font-size: 0.6875rem; color: var(--stage-dim); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: currentColor; opacity: 1; }
input[type="range"]::-moz-range-track { height: 2px; background: currentColor; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 26px; margin-top: -12px; background: var(--stage-ink); border: 2px solid var(--stage); border-radius: 1px; box-shadow: 0 0 0 1px var(--stage-ink); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 24px; background: var(--stage-ink); border: 2px solid var(--stage); border-radius: 1px; }
/* Referenzen zum seitlichen Scrollen */
.rscroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2)) 16px; scrollbar-width: thin; }
.rscroll::after { content: ""; flex: 0 0 1px; }
/* Startseite: wichtigste Referenz */
.feat { padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px); }
.feat-img { display: block; }
.feat-img .pic { border-radius: var(--r-l); }
.feat-facts { margin: clamp(24px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--stage-line); border-block: 1px solid var(--stage-line); }
.feat-facts > div { background: var(--stage); padding: 18px 16px 18px 0; display: grid; gap: 4px; }
.feat-facts > div + div { padding-left: 16px; }
.feat-facts dt { color: var(--stage-dim); font-size: 0.8125rem; }
.feat-facts dd { margin: 0; font-family: var(--mono); font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.0625rem); color: var(--stage-ink); }
@media (max-width: 860px) { .feat-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat-facts > div { padding-left: 0 !important; } .feat-facts > div:nth-child(even) { padding-left: 16px !important; } }
/* Produktseite: Referenz mit diesem Produkt */
.pref .split { align-items: center; }
.pref-img { display: block; }
.pref-img .pic { border-radius: var(--r-l); }
.pref .t-links { justify-content: flex-start; }
.pref p { color: var(--stage-dim); }
.pref .lead { color: var(--stage-ink); }
.rcard { flex: 0 0 min(80vw, 520px); scroll-snap-align: start; text-decoration: none; display: grid; gap: 10px; color: var(--stage-ink); }
.rcard .pic { border-radius: var(--r-l); }
.rcard b { font-weight: 600; font-size: 1.0625rem; }
.rcard span { color: var(--stage-dim); font-size: 0.9375rem; margin-top: -6px; }
.rcard:hover b { text-decoration: underline; }
/* Über Ultimapix */
.about-c { display: grid; justify-items: center; text-align: center; gap: 24px; }
.about-lead, .pc-kurz { font-family: var(--fh); font-optical-sizing: auto; font-weight: 600; line-height: 1.24; letter-spacing: -0.014em; }
.about-lead { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.4rem); max-width: 30ch; }
.about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; margin-top: 24px; width: 100%; }
.about-cols > div { background: #fff; border-radius: var(--r-l); padding: 28px; display: grid; gap: 10px; align-content: start; }
.about-cols h3 { font-size: 1.375rem; }
.about-cols p { color: var(--ink-2); }
@media (max-width: 900px) { .about-cols { grid-template-columns: minmax(0, 1fr); } }
/* Ablauf eines Projekts */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow li { padding: 20px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.flow li + li { border-left: 1px solid var(--rule); padding-left: 20px; }
.flow .n { font-size: 0.8125rem; color: var(--ink-2); }
.flow p { color: var(--ink-2); font-size: 0.9375rem; }
.flow + .center-head { margin-top: 72px; }
@media (max-width: 980px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } .flow li { padding-bottom: 20px; } }
/* Kontaktband */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact h2 { max-width: 16ch; }
.contact .big { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); font-weight: 650; text-decoration: none; display: block; line-height: 1.25; }
.contact .big:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Seitenköpfe ---------- */
.page-head { text-align: center; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.page-head h1 { margin-inline: auto; max-width: 20ch; font-size: clamp(2.8rem, 1.5rem + 4.6vw, 5.5rem); }
.page-head .lead { margin: 18px auto 0; max-width: 48ch; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }
.page-head .btns { justify-content: center; }
.ph-c { display: grid; justify-items: center; gap: 18px; }
.ph-c .lead { margin-top: 0; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 64px; align-items: end; justify-items: center; text-align: center; }
.ph-grid .lead, .ph-grid .stack { margin-inline: auto; max-width: 52ch; }
.ph-grid h1 { font-size: clamp(3rem, 1.5rem + 5.4vw, 6.25rem); }
.page-head.tool-head { padding-bottom: 32px; }
.page-head.is-404 { min-height: 50vh; }
.app-hero { display: grid; gap: 12px; margin-top: clamp(32px, 4vw, 56px); text-decoration: none; text-align: left; }
.app-hero .pic { border-radius: var(--r-l); }
/* Brotkrumen: auf dunklen Köpfen grau, auf hellen dunkelgrau */
.crumbs { font-size: 0.875rem; color: var(--stage-dim); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin-bottom: 20px; }
.crumbs a { color: var(--stage-dim); }
.crumbs a:hover { color: var(--stage-ink); }
.sheet .crumbs, .sheet .crumbs a { color: var(--ink-2); }
.sheet .crumbs a:hover { color: var(--ink); }
/* Sprungmarken (Produkte) */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(32px, 5vw, 56px); padding-top: 16px; font-size: 0.9375rem; }
.jump a { text-decoration: none; padding: 8px 16px; color: var(--ink); border: 1px solid var(--rule); background: #fff; border-radius: 999px; }
.jump a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Anwendungen ---------- */
.idx { border-top: 1px solid var(--rule); }
.idx a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.9fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: baseline; }
.idx h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); }
.idx p { color: var(--ink-2); }
.idx .val { text-align: right; color: var(--ink-2); }
.idx a:hover h3 { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
@media (max-width: 760px) { .idx a { grid-template-columns: minmax(0, 1fr); } .idx .val { text-align: left; } }

/* ---------- Referenzen ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.reflist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.reflist a { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.reflist .pic { border-radius: var(--r-l); }
.reflist .meta { color: var(--ink-2); font-size: 0.875rem; }
.reflist b { font-weight: 650; font-size: 1.0625rem; }
.reflist a:hover b { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 980px) { .reflist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reflist { grid-template-columns: minmax(0, 1fr); } }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery > * { grid-column: span 4; }
.gallery > :first-child { grid-column: span 12; }
.gallery.two > :not(:first-child) { grid-column: span 6; }
.page-head .gallery { margin-top: 32px; }
@media (max-width: 760px) { .gallery > * { grid-column: span 12 !important; } }
/* Video: lädt Vimeo erst nach dem Klick (site.js) */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
/* Eigener Film (Referenz) */
.film { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-l); }
.film.hoch { aspect-ratio: 9 / 16; width: min(100%, 400px); margin-inline: auto; }
.film-kopf { margin: 32px 0 0; display: grid; gap: 12px; justify-items: center; }
.film-kopf .note { color: var(--stage-dim); text-align: center; }
/* Ausführliche Referenz: Kapitel mit Bild, abwechselnd links und rechts */
.kapitel { display: grid; gap: clamp(56px, 8vw, 120px); }
.kap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.kap.hoch { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.kap:nth-child(even) > figure { order: 2; }
.kap:nth-child(even).hoch { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.kap figure { margin: 0; }
.kap .pic { border-radius: var(--r-l); }
.kap-txt { display: grid; gap: 16px; max-width: 34rem; }
.kap-txt h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); margin-bottom: 4px; }
.kap-txt .tlink { justify-self: start; margin-top: 4px; }
@media (max-width: 860px) { .kap, .kap.hoch, .kap:nth-child(even).hoch { grid-template-columns: minmax(0, 1fr); } .kap:nth-child(even) > figure { order: 0; } .kap.hoch figure { max-width: 420px; } }

.video, .video button, .video iframe { border-radius: var(--r-m); overflow: hidden; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; background: none; color: var(--stage-ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.video button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.video button span { position: relative; display: grid; gap: 6px; justify-items: center; font: 600 1.0625rem var(--f); }
.video button small { font-weight: 400; font-size: 0.8125rem; color: var(--stage-dim); }
.video button .play { width: 72px; height: 72px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.video button:hover .play { background: var(--stage-ink); color: var(--stage); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos { display: grid; gap: 16px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; padding: 22px 26px; background: var(--sheet-2); border: 1px solid var(--rule); border-radius: var(--r-m); text-decoration: none; transition: border-color 150ms ease; }
.pager a:last-child { grid-template-columns: 1fr auto; text-align: right; }
.pager svg { grid-row: span 2; width: 20px; height: 20px; color: var(--ink-2); }
.pager a:last-child svg { grid-column: 2; grid-row: 1 / span 2; }
.pager span { color: var(--ink-2); font-size: 0.875rem; }
.pager b { font-weight: 650; }
@media (hover: hover) { .pager a:hover { border-color: var(--ink-2); } .pager a:hover b { text-decoration: underline; } }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Produkte: Übersicht ---------- */
.pg-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; align-items: baseline; margin-bottom: 36px; }
.pg-head h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pgrid.tall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .pgrid.tall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pgrid.tall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
.pcard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); background: var(--sheet-2); border-radius: var(--r-l); overflow: hidden; }
.pc-img { background: var(--studio); aspect-ratio: 4 / 3; overflow: hidden; }
.pcard.tall .pc-img { aspect-ratio: 3 / 4; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pc-img img { transform: scale(1.03); }
.pc-txt { padding: 18px 20px 22px; display: grid; gap: 4px; align-content: start; }
.pc-txt h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.pcard:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.pc-line { font-size: 0.9375rem; color: var(--ink-2); }
.code { font-size: 0.75rem; color: var(--ink-2); letter-spacing: 0.02em; }
.kv { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; border-top: 1px solid var(--rule); padding-top: 14px; }
.kv div { display: grid; gap: 2px; min-width: 0; }
.kv dt { font-size: 0.75rem; color: var(--ink-2); }
.kv dd { margin: 0; font-size: 0.8125rem; overflow-wrap: anywhere; }
.pcard.tall .kv { grid-template-columns: minmax(0, 1fr); }
.pgrid.wide { grid-template-columns: minmax(0, 1fr); }
.pgrid.wide .pcard { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto; }
.pgrid.wide .pc-img { aspect-ratio: 16 / 10; }
.pgrid.wide .pc-txt { padding: clamp(20px, 3vw, 40px); align-content: center; }
.pgrid.wide .pc-txt h3 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); }
.pgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid.two .pc-img { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .pgrid.wide .pcard { grid-template-columns: minmax(0, 1fr); } .pgrid.two { grid-template-columns: minmax(0, 1fr); } }
.gobband { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--stage); color: var(--stage-ink); text-decoration: none; border-radius: var(--r-l); overflow: hidden; }
.gb-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gb-txt { padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; align-content: center; }
.gb-txt .pc-line, .gb-txt p { color: var(--stage-dim); max-width: 46ch; }
.gb-txt h2 { font-size: clamp(1.8rem, 1rem + 2.4vw, 3rem); }
.gobband:hover .link { color: var(--stage-ink); }
@media (max-width: 760px) { .gobband { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Produktseite ---------- */
.phero { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.pc-head { text-align: center; display: grid; justify-items: center; gap: 10px; margin: clamp(16px, 3vw, 40px) auto 0; }
.pc-head h1 { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); }
.pc-head .btns { margin-top: 14px; justify-content: center; }
.gal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 1000px; margin: clamp(32px, 4vw, 52px) auto 0; }
.gal-main { margin: 0; background: var(--studio); border-radius: var(--r-l); overflow: hidden; }
.gal-main img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin-inline: auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, 88px); justify-content: center; gap: 10px; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--studio); width: 100%; aspect-ratio: 4 / 3; cursor: pointer; overflow: hidden; border-radius: var(--r-s); }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.thumb[aria-pressed="true"] { border-color: var(--ink); outline: 1px solid var(--ink); }
.thumb[aria-pressed="true"] img, .thumb:hover img { opacity: 1; }
.pc-kurz { text-align: center; font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); max-width: 32ch; margin: clamp(40px, 5vw, 64px) auto 0; }
/* Kennzahlen gross unter dem Bild */
.kv-big { max-width: 1000px; margin: clamp(32px, 4vw, 48px) auto 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 0; padding-top: 0; text-align: center; }
.kv-big div { background: #fff; border-radius: var(--r-l); padding: 22px 14px; justify-items: center; }
.kv-big dd { order: -1; font-family: var(--fh); font-variation-settings: normal; font-optical-sizing: auto; font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; }
.kv-big dt { font-size: 0.875rem; }
@media (max-width: 760px) { .kv-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Varianten und Ausführung (produkt.js) */
.pconf { max-width: 1000px; margin: 16px auto 0; background: #fff; border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.vsel { display: grid; gap: 10px; }
.vsel .fl { margin: 0; }
.pconf .vsel .fl { font-size: 1.0625rem; }
.vspec { font-size: 0.9375rem; }
.vspec dt, .vspec dd { padding-block: 8px; }
.ainfo { font-size: 0.9375rem; max-width: 44ch; }
/* Bildfolge zum Scrollen (scrub.js) */
.scrub { position: relative; height: 340vh; background: #d9d7d3; color: var(--ink); }
.scrolly-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sc-steps { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sc-step { position: absolute; left: 0; right: 0; top: clamp(76px, 11vh, 120px); display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 var(--gut); opacity: 0; will-change: opacity, transform; }
.sc-step:first-child { opacity: 1; }
.sc-step h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem); letter-spacing: -0.02em; }
.scrub .sc-step .t-sub { color: #4a4d52; }
/* Produkt im Einsatz */
.pstage { position: relative; }
.pst-fig { margin: 0; }
.pst-fig img { width: 100%; height: min(82vh, 56vw); object-fit: cover; }
.pst-txt { padding-block: clamp(40px, 6vw, 80px); }
.pst-txt .stack-l { max-width: 760px; }
.pst-txt .lead { max-width: 60ch; color: var(--stage-ink); }
/* Eigenschaften */
.ppts { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ppts > .stack-l:only-child { grid-column: 1 / -1; }
.ppts-img { margin: 0; background: var(--studio); border-radius: var(--r-l); overflow: hidden; }
.ppts-img img { width: 100%; }
@media (max-width: 960px) { .ppts { grid-template-columns: minmax(0, 1fr); } }
.pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.ppts > .stack-l:only-child .pts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ppts > .stack-l:only-child .pts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pts, .ppts > .stack-l:only-child .pts { grid-template-columns: minmax(0, 1fr); } }
.pt { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--ink); padding-top: 14px; }
.pt h3 { font-size: 1.1875rem; }
.pt p { color: var(--ink-2); font-size: 1rem; }
/* Formate (Modular) */
.fmts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; }
.fmt { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--ink); padding-top: 16px; }
.fmt h3 { font-size: 1.375rem; }
.fmt .spec { margin-top: 8px; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
/* Technische Daten */
.tblwrap { overflow-x: auto; }
.tblwrap:focus-visible { outline-offset: 6px; }
.vtab { border-collapse: collapse; width: 100%; min-width: max-content; font-size: 0.875rem; }
.vtab th, .vtab td { text-align: left; padding: 11px 18px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.vtab thead th { font-weight: 500; font-size: 0.875rem; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.vtab tbody th { font-weight: 500; color: var(--ink-2); position: sticky; left: 0; background: var(--sheet-2); padding-right: 24px; white-space: nowrap; }
.vtab td { font-size: 0.8125rem; white-space: nowrap; }
/* Baukasten-Rechner (Creative Modules) */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-in { display: grid; gap: 18px; }
.calc-in .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc select, .calc input { font: inherit; font-size: 1rem; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--sheet-2); color: var(--ink); }
.calc-out { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.calc-out dt { font-size: 0.9375rem; color: var(--ink-2); padding: 16px 0; border-bottom: 1px solid var(--rule); }
.calc-out dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); text-align: right; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.5rem); }
.split.werte { margin-top: 48px; }

/* ---------- Bedienelemente der Werkzeuge ---------- */
.tool { padding-bottom: 64px; }
.ctl-note { margin-top: 8px; }
.fl { font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; display: block; }
select { font: inherit; font-size: 0.9375rem; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--r-s); border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--stage-ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font: 500 0.9375rem var(--f); padding: 9px 13px; min-height: 40px; border: 1px solid var(--stage-line); background: transparent; color: var(--stage-ink); border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--stage-ink); color: var(--stage); border-color: var(--stage-ink); }
.chk2 { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.chk2 input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--stage-ink); flex: none; }
.form .chk2 input { accent-color: var(--ink); }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.9375rem; cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
/* 3D-Ansicht (led3d.js) */
.v3d { position: relative; background: #121417; }
.v3d canvas { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; touch-action: none; cursor: grab; background: #121417; }
.v3d canvas:active { cursor: grabbing; }
.v3d-bar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; pointer-events: none; }
.v3d-bar > * { pointer-events: auto; }
.v3d-views { display: flex; background: rgba(18,20,23,.82); border: 1px solid var(--stage-line); border-radius: 999px; overflow: hidden; }
.v3d-views button, .v3d-snap { font: 500 0.875rem var(--f); color: var(--stage-ink); background: transparent; border: 0; padding: 8px 12px; min-height: 36px; cursor: pointer; }
.v3d-views button + button { border-left: 1px solid var(--stage-line); }
.v3d-views button:hover, .v3d-snap:hover { background: var(--stage-2); }
.v3d-sel select { min-height: 36px; padding: 6px 10px; font-size: 0.875rem; background: rgba(18,20,23,.82); width: auto; border-radius: 999px; }
.v3d-snap { margin-left: auto; background: rgba(18,20,23,.82); border: 1px solid var(--stage-line); border-radius: 999px; }
.v3d-hint { position: absolute; left: 12px; bottom: 10px; font-size: 0.8125rem; color: var(--stage-dim); pointer-events: none; transition: opacity .4s; }
.v3d-hint.off { opacity: 0; }
@media (max-width: 640px) { .v3d canvas { aspect-ratio: 4 / 5; } .v3d-snap { margin-left: 0; } }

/* ---------- Konfigurator (konfigurator.js) ---------- */
.cfg { display: grid; grid-template-columns: 380px minmax(0, 1fr); border: 1px solid var(--stage-line); background: var(--stage); color: var(--stage-ink); border-radius: var(--r-l); overflow: hidden; }
.cfg-ctl { padding: 24px; display: grid; gap: 22px; border-right: 1px solid var(--stage-line); align-content: start; }
.cfg-ctl fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (max-width: 1040px) { .cfg { grid-template-columns: minmax(0, 1fr); } .cfg-ctl { border-right: 0; border-bottom: 1px solid var(--stage-line); } }
.cfg-view { min-width: 0; display: grid; }
.cfg-out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--stage-line); }
.cfg-out div { padding: 14px 16px; display: grid; gap: 2px; border-bottom: 1px solid var(--stage-line); }
.cfg-out div:not(:nth-child(4n+1)) { border-left: 1px solid var(--stage-line); }
.cfg-out b { font-weight: 500; font-size: 0.9375rem; }
.cfg-out span { font-size: 0.8125rem; color: var(--stage-dim); }
@media (max-width: 640px) { .cfg-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cfg-out div:not(:nth-child(4n+1)) { border-left: 0; } .cfg-out div:nth-child(even) { border-left: 1px solid var(--stage-line); } }
.cfg-price { padding: 20px 16px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: end; justify-content: space-between; }
.cfg-price b { font-weight: 500; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); letter-spacing: -0.02em; display: block; }
.cfg-price small { color: var(--stage-dim); font-size: 0.875rem; max-width: 46ch; display: block; }
.cfg-price .fl { margin: 0; }
.cfg + .note { margin-top: 16px; }
/* Zusammenfassung neben dem Anfrageformular */
.summary { padding: 20px; border: 1px solid var(--rule); border-radius: var(--r-m); }
.summary h3 { font-size: 1.0625rem; margin-bottom: 10px; }

/* ---------- Kreativ-Studio (kreativ.js) ---------- */
.ks { display: grid; grid-template-columns: 340px minmax(0, 1fr); border: 1px solid var(--stage-line); border-radius: var(--r-l); overflow: hidden; }
.ks-ctl { padding: 22px; display: grid; gap: 24px; align-content: start; border-right: 1px solid var(--stage-line); }
.ks-ctl a { color: var(--stage-ink); }
.ks-forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ks-forms button { font: 600 0.9375rem var(--f); min-height: 44px; border: 1px solid var(--stage-line); background: transparent; color: var(--stage-ink); border-radius: 999px; cursor: pointer; }
.ks-forms button[aria-pressed="true"] { background: var(--stage-ink); color: var(--stage); border-color: var(--stage-ink); }
.ks-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--stage-line); border-radius: 999px; overflow: hidden; }
.ks-seg button { font: 600 0.9375rem var(--f); min-height: 44px; border: 0; background: transparent; color: var(--stage-ink); cursor: pointer; }
.ks-seg button + button { border-left: 1px solid var(--stage-line); }
.ks-seg button[aria-pressed="true"] { background: var(--stage-ink); color: var(--stage); }
.ks-seg button:disabled { opacity: 0.35; cursor: not-allowed; }
.ks-note { margin-top: 8px; min-height: 2.6em; }
.ks-params { display: grid; gap: 16px; }
.ks-params output { font-size: 0.875rem; }
.ks-main { min-width: 0; display: grid; }
.ks .v3d canvas { aspect-ratio: 16 / 11; }
.ks-out { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--stage-line); }
.ks-out div { padding: 12px 16px; border-bottom: 1px solid var(--stage-line); border-right: 1px solid var(--stage-line); display: grid; gap: 2px; min-width: 0; }
.ks-out div.wide { grid-column: span 2; }
.ks-out dt { font-size: 0.75rem; color: var(--stage-dim); }
.ks-out dd { margin: 0; font-size: 0.875rem; overflow-wrap: anywhere; }
@media (max-width: 1040px) { .ks { grid-template-columns: minmax(0, 1fr); } .ks-ctl { border-right: 0; border-bottom: 1px solid var(--stage-line); order: 2; } .ks-main { order: 1; } }
@media (max-width: 640px) { .ks-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ks .v3d canvas { aspect-ratio: 4 / 5; } }

/* ---------- Formular (anfrage.js) ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field .opt { font-weight: 400; }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--sheet-2); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.8125rem; color: var(--ink-2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .errtxt { color: var(--err); font-size: 0.875rem; }
.hp { position: absolute; left: -9999px; }
.formmsg { padding: 14px 16px; border-left: 3px solid var(--ok); background: var(--sheet-2); }
.formmsg.err { border-color: var(--err); }
/* Kontaktseite */
.kontakt-tel { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 650; text-decoration: none; }
.kontakt-mail { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 600; }
.kontakt-form h2 { font-size: 1.625rem; }

/* ---------- Bewegung (nach Emil Kowalski) ----------
   Nur, was auf eine Handlung antwortet. Keine Einblendungen beim Scrollen. Intro einmal pro Sitzung. */
.btn, .pill, .chip, .tlink { transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, filter 150ms ease; }
.btn:active, .pill:active, .chip:active { transform: scale(0.97); }
@media (hover: none) { .btn:hover { filter: none; } .btn-line:hover { background: transparent; } .pcard:hover .pc-img img { transform: none; } }
@keyframes upx-rise { from { opacity: 0; transform: translateY(16px); } }
.intro .hero-center > * { animation: upx-rise 900ms var(--ease-out) both; }
.intro .hero-center > :nth-child(2) { animation-delay: 90ms; }
.intro .hero-center > :nth-child(3) { animation-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .pcard:hover .pc-img img, .btn:active, .pill:active, .chip:active { transform: none; }
}

/* ---------- Druck ---------- */
@media print { .top, .foot, .preview-bar, .consent { display: none; } .stage { background: #fff; color: #000; } }
