@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
:root {
  --bg: #f3f1ec;
  --surface: #ffffff;
  --sunk: #ebe8e1;
  --ink: #141414;
  --ink-2: #3a3a38;
  --muted: #66645f;
  --line: #dedad1;
  --line-2: #cdc8bd;
  --accent: #ff5b14;
  --accent-ink: #141414;
  --ok: #1f7a4a;
  --bad: #c22d1b;
  --stage: #121315;
  --stage-2: #1b1c1f;
  --stage-line: #2a2c30;
  --stage-text: #d9d8d3;
  --r: 10px;
  --r-s: 6px;
  --sans: "Bricolage Grotesque", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 0 rgba(20, 20, 20, .04), 0 8px 24px -12px rgba(20, 20, 20, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: .9375rem/1.55 var(--sans); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
a { color: inherit; }
img, svg, canvas { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: var(--line-2) transparent; caret-color: var(--accent); }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, .big, .price-big, .brand { font-family: var(--display); font-optical-sizing: auto; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.02em; font-size: 1.0625rem; }
.brand svg { width: 26px; height: 20px; fill: var(--ink); }
.brand.small { font-size: .9375rem; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 7px 12px; border-radius: 999px; color: var(--ink-2); font-size: .875rem; transition: background .15s; }
.nav a:hover, .nav a.on { background: var(--sunk); color: var(--ink); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); text-decoration: none; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 .75rem/19px var(--sans); text-align: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Buttons & Formulare ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 550; font-size: .9062rem; text-decoration: none; transition: transform .15s var(--ease), background .15s, opacity .15s; white-space: nowrap; }
.btn:hover { background: #2a2a2a; }
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.accent:hover { background: #f04e09; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--sunk); }
.btn.small { height: 34px; padding: 0 14px; font-size: .8438rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); color: inherit; }
.link:hover { text-decoration-color: currentColor; }

.field { display: grid; gap: 6px; }
.field > span { font-size: .8125rem; color: var(--ink-2); font-weight: 500; }
.input, .field input, .field select, .field textarea { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 88px; padding: 10px 14px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8438rem; color: var(--ink-2); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }

/* ---------- Startseite ---------- */
/* Hero = der Druckraum: dunkle Bühne, ein echtes Teil entsteht Schicht für Schicht */
.hero { position: relative; background: var(--stage); color: var(--stage-text); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -10%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(255, 91, 20, .14), transparent 72%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; min-height: min(820px, calc(100svh - 62px)); padding-block: 64px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 6.6vw, 5.75rem); line-height: .93; letter-spacing: -.04em; font-weight: 700; font-stretch: 88%; margin: 0 0 26px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.1875rem; line-height: 1.55; color: #b4b3ad; max-width: 31em; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.big { height: 54px; padding: 0 28px; font-size: 1rem; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .24); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .08); }
.btn.accent { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -12px rgba(255, 91, 20, .8); }
.hero-hint { margin: 14px 0 0; font-size: .8125rem; color: #8c8b86; }
.trust { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; max-width: 34rem; }
.trust li { font-size: .8438rem; color: #9a9993; line-height: 1.45; padding-top: 12px; border-top: 1px solid var(--stage-line); }
.trust b { display: block; color: #fff; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }

.printer { position: relative; margin: 0; aspect-ratio: 1; width: 100%; max-height: 680px; justify-self: end; border-radius: 28px; background: var(--stage); border: 1px solid var(--stage-line); overflow: hidden; box-shadow: 0 2px 0 rgba(255, 255, 255, .03) inset, 0 60px 120px -60px rgba(0, 0, 0, .9); }
.printer-still { position: absolute; left: 14%; top: 10%; width: 72%; height: 72%; object-fit: contain; transition: opacity .8s; }
.printer-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1); }
.printer-canvas canvas { width: 100% !important; height: 100% !important; pointer-events: none; }
.printer.ready .printer-canvas { opacity: 1; }
.printer.ready .printer-still { opacity: 0; }
.p-top { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; gap: 8px; font: .75rem var(--mono); color: #a9a8a2; }
.p-top .live { display: inline-flex; align-items: center; gap: 8px; }
.p-top .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 20, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 91, 20, 0); } }
.p-bottom { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 10px; }
.p-progress, .p-price { background: rgba(27, 28, 31, .76); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid var(--stage-line); border-radius: 16px; padding: 12px 14px; }
.p-progress { flex: 1; min-width: 0; display: grid; gap: 10px; align-content: center; }
.p-row { display: flex; justify-content: space-between; gap: 10px; font: .75rem var(--mono); color: #a9a8a2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-row > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.p-row b { color: #fff; font-weight: 600; display: inline-block; min-width: 3ch; text-align: right; }
.p-bar { height: 3px; border-radius: 3px; background: var(--stage-line); overflow: hidden; }
.p-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 1)); }
.p-price { display: grid; grid-template-columns: auto auto; gap: 0 14px; align-items: center; }
.p-price small { font-size: .75rem; color: #8c8b86; }
.p-price b { grid-column: 1; color: #fff; font: 700 1.375rem/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.p-price .btn { grid-row: 1 / span 2; grid-column: 2; }
.drop-over { position: absolute; inset: 12px; border: 2px dashed var(--accent); border-radius: 18px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #fff; background: rgba(18, 19, 21, .88); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drop-over svg { width: 40px; height: 40px; stroke: var(--accent); }
.hero.over .drop-over { opacity: 1; }

/* Leere Bühne im Konfigurator */
.drop-zone { flex: 1; margin-top: 18px; border: 1.5px dashed #3a3c41; border-radius: 12px; display: grid; place-items: center; text-align: center; padding: 30px; transition: border-color .2s, background .2s; cursor: pointer; }
.drop-zone:hover, .drop.over .drop-zone { border-color: var(--accent); background: rgba(255, 91, 20, .06); }
.drop-zone h3 { margin: 18px 0 6px; font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.drop-zone p { margin: 0; color: #8c8b86; font-size: .875rem; }
.drop-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 16px; background: var(--stage-2); border: 1px solid var(--stage-line); display: grid; place-items: center; }
.drop-icon svg { width: 28px; height: 28px; stroke: var(--accent); }

/* Preisrechner */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.calc .sub { color: var(--ink-2); max-width: 30em; margin: 22px 0 34px; font-size: 1.0625rem; }
.calc-ctrl { display: grid; gap: 10px; max-width: 34rem; }
.calc-ctrl .lbl { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin-top: 12px; }
.calc-ctrl .lbl:first-child { margin-top: 0; }
.calc-ctrl output { font-family: var(--mono); font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-parts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.calc-parts button { aspect-ratio: 1; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s, transform .2s var(--ease), box-shadow .15s; }
.calc-parts button:hover { transform: translateY(-2px); border-color: var(--line-2); }
.calc-parts button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.calc-parts img { width: 100%; height: 100%; object-fit: contain; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.calc-out { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: 0 1px 0 rgba(20, 20, 20, .04), 0 40px 80px -40px rgba(60, 40, 20, .35); display: grid; gap: 14px; }
.calc-out img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: var(--bg); border-radius: 18px; padding: 20px; }
.calc-out h3 { margin: 4px 0 4px; font-size: 1.375rem; letter-spacing: -.02em; }
.calc-out .desc { margin: 0; color: var(--ink-2); font-size: .9062rem; }
.calc-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-price small { color: var(--muted); font-size: .8125rem; }
.calc-price b { font: 700 clamp(2.5rem, 4.6vw, 3.5rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-meta { font: .75rem var(--mono); color: var(--muted); margin-top: -6px; text-align: right; }
.fine { margin: 0; font-size: .75rem; color: var(--muted); text-align: center; }

/* Versprechen */
.promise { background: var(--surface); border-block: 1px solid var(--line); }
.promise-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 44px; }
.promise li { display: grid; gap: 8px; color: var(--ink-2); font-size: .9375rem; align-content: start; }
.promise li b { display: flex; gap: 12px; align-items: center; color: var(--ink); font: 650 1.1875rem/1.2 var(--display); letter-spacing: -.015em; }
.promise li b::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Abschluss-Aufruf */
.final { padding: 32px 0 112px; }
.final-in { position: relative; overflow: hidden; isolation: isolate; background: var(--stage); color: var(--stage-text); border-radius: 32px; padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 80px); text-align: center; }
.final-in::before { content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -70%; height: 130%; background: radial-gradient(closest-side, rgba(255, 91, 20, .24), transparent); }
.final h2 { color: #fff; font-size: clamp(2.25rem, 5.6vw, 4.5rem); line-height: .98; letter-spacing: -.035em; font-weight: 700; font-stretch: 90%; margin: 0 auto 18px; max-width: 13em; }
.final p { color: #a9a8a2; margin: 0 0 34px; font-size: 1.0625rem; }
.final .hero-cta { justify-content: center; }

/* Handy: Upload-Leiste */
.dock { display: none; }

/* Hereingleiten beim Scrollen (nur wenn JS den Beobachter gestartet hat) */
.rv-on .rv { transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.rv-on .rv:not(.in) { opacity: 0; transform: translateY(28px); }
.rv-on .ai-band .bubble { transition: opacity .5s, transform .6s cubic-bezier(.16, 1, .3, 1); }
.rv-on .ai-band .bubble:nth-child(2) { transition-delay: .9s; } .rv-on .ai-band .bubble:nth-child(3) { transition-delay: 1.8s; }
.rv-on .ai-band:not(.in) .bubble { opacity: 0; transform: translateY(14px) scale(.97); }
.rv-on .rv:not(.in) .heat i::after { transform: scaleX(0); }

.section { padding: 128px 0; }
.section.tight { padding-top: 64px; }
#serien p { color: var(--ink-2); max-width: 36em; font-size: 1.0625rem; line-height: 1.55; margin: 20px 0 0; }
.series-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.series-mail .mono { font-size: 1rem; overflow-wrap: anywhere; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section h2, .ai-band h2, .news h2 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); letter-spacing: -.035em; line-height: 1; font-weight: 680; font-stretch: 92%; margin: 0; max-width: 14em; }
.section-head p { max-width: 26em; color: var(--ink-2); margin: 0; }

/* Schritte: drei Karten; die unter dem Mauszeiger wächst und wird dunkel. Farben laufen über Variablen, damit „aktiv“ nur sie umstellt. */
.steps { display: flex; gap: 14px; }
.steps .step { --fg: var(--ink); --sub: var(--ink-2); --num: var(--muted); --ic: var(--sunk); --ic-fg: var(--ink);
  flex: 1 1 0; min-width: 0; min-height: 400px; display: flex; flex-direction: column; padding: 28px; border-radius: 28px; background: var(--surface); color: var(--fg); box-shadow: var(--shadow);
  transition: flex-grow .6s cubic-bezier(.16, 1, .3, 1), background-color .4s, color .4s, box-shadow .4s, opacity .9s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 90ms), transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 90ms); }
.step-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; }
.step .n { font-family: var(--display); font-size: 5rem; line-height: .8; font-weight: 300; letter-spacing: -.04em; color: var(--num); font-variant-numeric: tabular-nums; transition: color .4s; }
.step-ic { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ic); transition: background-color .4s, transform .6s cubic-bezier(.16, 1, .3, 1); }
.step-ic svg { width: 24px; height: 24px; stroke: var(--ic-fg); transition: stroke .4s; }
.step h3 { font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 10px; font-weight: 640; }
.step p { margin: 0; color: var(--sub); font-size: .9375rem; max-width: 34ch; transition: color .4s; }
.step-tag { align-self: flex-start; margin-top: 20px; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); font: .75rem var(--mono); color: var(--fg); font-variant-numeric: tabular-nums; transition: opacity .4s, transform .5s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) and (min-width: 901px) {
  .step-tag { opacity: 0; transform: translateY(8px); }
  /* Solange niemand zeigt, ist Schritt 1 aktiv – so sieht man sofort, dass sich die Karten bewegen */
  .steps:not(:hover) .step:first-child, .steps .step:hover { --fg: #fff; --sub: #b4b3ad; --num: var(--accent); --ic: var(--accent); --ic-fg: #fff;
    flex-grow: 1.6; background: var(--stage); box-shadow: 0 40px 80px -40px rgba(30, 14, 4, .6); }
  .steps:not(:hover) .step:first-child .step-tag, .step:hover .step-tag { opacity: 1; transform: none; }
  .steps:not(:hover) .step:first-child .step-ic, .step:hover .step-ic { transform: scale(1.12) rotate(-8deg); }
}

.ai-band { background: var(--stage); color: var(--stage-text); border-radius: 24px; padding: 64px; margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; overflow: hidden; }
.ai-band h2 { color: #fff; }
.ai-band p { color: #a9a8a2; margin: 20px 0 28px; max-width: 34em; }
.ai-band .eyebrow { color: #8c8b86; }
.ai-demo { background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 14px; padding: 18px; display: grid; gap: 12px; font-size: .875rem; }
.bubble { padding: 12px 14px; border-radius: 12px; max-width: 88%; line-height: 1.5; }
.bubble.me { background: #fff; color: var(--ink); justify-self: end; border-bottom-right-radius: 4px; }
.bubble.ai { background: #26282c; color: #e3e2dd; border-bottom-left-radius: 4px; }

.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s var(--ease); }
.mat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mat h3 { margin: 0; font-size: 1.625rem; letter-spacing: -.03em; font-weight: 680; }
.mat .tag { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mat p { margin: 0; color: var(--ink-2); font-size: .875rem; flex: 1; }
.mat dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.mat dt { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mat dd { margin: 0; font-weight: 550; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 5px; flex-wrap: wrap; }
.dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.heat { display: grid; gap: 6px; font-size: .75rem; color: var(--ink-2); }
.heat i { height: 4px; border-radius: 4px; background: var(--sunk); position: relative; overflow: hidden; }
.heat i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1) .3s; }

.news { background: var(--surface); border-radius: 24px; padding: 56px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.news .big { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 760; font-stretch: 80%; letter-spacing: -.04em; margin-bottom: 18px; line-height: .9; color: var(--accent); }
.news h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.news form { display: grid; gap: 14px; }
.news-row { display: flex; gap: 8px; }
.news-row .input { flex: 1 1 auto;border-radius: 999px; padding-left: 18px; }

.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 1.1875rem; transition: color .15s; font-weight: 550; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* ---------- Konfigurator ---------- */
body.app .foot { display: none; }
.cfg { display: grid; grid-template-columns: 250px 1fr 360px; height: calc(100vh - 63px); height: calc(100dvh - 63px); }
.rail { border-right: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.rail-head { padding: 18px 18px 10px; }
.parts { flex: 1; overflow: auto; padding: 0 10px 10px; display: grid; align-content: start; gap: 4px; }
.part { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 10px 10px 12px; border-radius: var(--r-s); border: 1px solid transparent; cursor: pointer; text-align: left; background: none; width: 100%; }
.part:hover { background: var(--bg); }
.part.on { background: var(--bg); border-color: var(--line-2); }
.part .nm { font-size: .8438rem; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part .meta { grid-column: 1; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.part .x { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 26px; height: 26px; border-radius: 6px; border: 0; background: none; color: var(--muted); font-size: 1rem; line-height: 1; }
.part .x:hover { background: var(--sunk); color: var(--ink); }
.part .bar { grid-column: 1 / -1; height: 3px; background: var(--sunk); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.part .bar i { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.part.err .meta { color: var(--bad); }
.rail-foot { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

.stage { position: relative; background: var(--stage); min-width: 0; overflow: hidden; }
.stage canvas { width: 100% !important; height: 100% !important; touch-action: none; }
.stage-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #8c8b86; text-align: center; padding: 30px; }
.stage-empty .drop-zone { width: min(440px, 100%); min-height: 260px; flex: none; }
.hud { position: absolute; left: 16px; top: 14px; right: 80px; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.chip { background: rgba(27, 28, 31, .82); backdrop-filter: blur(8px); border: 1px solid var(--stage-line); color: var(--stage-text); border-radius: 999px; padding: 6px 12px; font-family: var(--mono); font-size: .75rem; white-space: nowrap; }
.chip.warn { border-color: #7a2a1c; color: #ffb39a; background: rgba(80, 22, 12, .85); white-space: normal; border-radius: 14px; line-height: 1.4; }
.views { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 4px; background: rgba(27, 28, 31, .82); border: 1px solid var(--stage-line); border-radius: 999px; padding: 4px; backdrop-filter: blur(8px); }
.views button { border: 0; background: none; color: #a9a8a2; padding: 6px 12px; border-radius: 999px; font-size: .7812rem; }
.views button:hover { color: #fff; background: #2a2c30; }
.layer { position: absolute; right: 16px; top: 64px; bottom: 16px; width: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: rgba(27, 28, 31, .82); border: 1px solid var(--stage-line); border-radius: 12px; padding: 12px 0; backdrop-filter: blur(8px); }
.layer input { flex: 1; writing-mode: vertical-lr; direction: rtl; accent-color: var(--accent); width: 24px; }
.layer .mono { color: #a9a8a2; font-size: .75rem; text-align: center; line-height: 1.3; }

.panel { border-left: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.panel-body { flex: 1; overflow: auto; padding: 4px 22px 22px; }
.group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.group:last-child { border-bottom: 0; }
.group-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.group-h .eyebrow { color: var(--ink-2); }
.group-h .val { font-family: var(--mono); font-size: .75rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.opts { display: grid; gap: 6px; }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line-2); }
.opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt b { font-weight: 600; font-size: .875rem; }
.opt small { grid-column: 1; color: var(--muted); font-size: .7812rem; }
.opt .mono { grid-row: 1 / span 2; grid-column: 2; color: var(--muted); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--sunk); border-radius: 8px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: none; border-radius: 6px; padding: 7px 4px; display: grid; gap: 1px; font-family: var(--mono); font-size: .7812rem; color: var(--ink-2); }
.seg button small { font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: transform .15s var(--ease); }
.sw:hover { transform: scale(1.08); }
.sw.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ink); }
.sw[disabled] { opacity: .3; cursor: not-allowed; }
.sw[disabled]::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: var(--ink); transform: rotate(45deg); }
.range { width: 100%; accent-color: var(--ink); }
.range-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-top: 2px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.0625rem; }
.stepper button:hover { background: var(--sunk); }
.stepper input { width: 52px; height: 36px; border: 0; text-align: center; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.specs dt { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.specs dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; font-weight: 550; font-size: .875rem; }
.price { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.price-top { display: flex; justify-content: space-between; align-items: end; }
.price-big { font-size: 2rem; font-weight: 640; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1; }
.price small { color: var(--muted); font-size: .75rem; }
.skeleton { display: inline-block; height: 1em; width: 5em; border-radius: 4px; background: linear-gradient(90deg, var(--sunk), #f6f4f0, var(--sunk)); background-size: 200% 100%; animation: shimmer 1.2s infinite; vertical-align: middle; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- KI-Designer ---------- */
.designer { display: grid; grid-template-columns: 420px 1fr; height: calc(100vh - 63px); height: calc(100dvh - 63px); }
.chat { display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); min-height: 0; }
.chat-head { padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.chat-head h1 { font-size: 1.25rem; letter-spacing: -.02em; margin: 6px 0 2px; font-weight: 620; }
.chat-log { flex: 1; overflow: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.chat-log .bubble.me { background: var(--ink); color: #fff; }
.chat-log .bubble.ai { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.bubble ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .8438rem; }
.bubble .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ideas { display: grid; gap: 8px; }
.ideas button { text-align: left; border: 1px solid var(--line); background: var(--surface); padding: 11px 14px; border-radius: var(--r-s); font-size: .8438rem; color: var(--ink-2); transition: border-color .15s; }
.ideas button:hover { border-color: var(--ink); color: var(--ink); }
.chat-form { padding: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.chat-form textarea { width: 100%; min-height: 76px; max-height: 200px; resize: vertical; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.chat-form textarea:focus { outline: none; border-color: var(--ink); }
.thinking { display: inline-flex; gap: 4px; align-items: center; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.thinking i:nth-child(2) { animation-delay: .2s; }
.thinking i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Warenkorb / Kasse ---------- */
.page { padding: 48px 0 96px; }
.page h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); letter-spacing: -.035em; line-height: 1; margin: 10px 0 32px; font-weight: 680; font-stretch: 92%; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); font: 600 .6875rem/1.4 var(--sans); letter-spacing: .02em; }
.two { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.card-pad { padding: 24px; }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; padding: 18px 22px; border-top: 1px solid var(--line); align-items: center; }
.line:first-child { border-top: 0; }
.thumb { width: 88px; height: 88px; border-radius: 8px; background: var(--stage); object-fit: cover; }
.line h3 { margin: 0 0 4px; font-size: .9688rem; font-weight: 600; overflow-wrap: anywhere; }
.line .spec { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.line .end { display: grid; justify-items: end; gap: 8px; }
.line .warn { color: var(--bad); font-size: .8125rem; margin-top: 6px; }
.sum { position: sticky; top: 86px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0; font-size: .9062rem; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sum .total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 1.125rem; font-weight: 640; }
.sum .disc { color: var(--ok); }
.code-row { display: flex; gap: 8px; margin: 18px 0; }
.code-row .input { height: 40px; text-transform: uppercase; font-family: var(--mono); font-size: .8125rem; }
.empty { text-align: center; padding: 80px 20px; }
.empty h2 { letter-spacing: -.02em; margin: 0 0 8px; }
.form-sec { padding: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.form-sec:first-child { border-top: 0; }
.form-sec h2 { font-size: 1rem; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.pay { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--ink); border-radius: var(--r-s); }
.pay b { display: block; }
.err-box { background: #fdeeea; color: var(--bad); border: 1px solid #f2c4b9; border-radius: var(--r-s); padding: 12px 14px; font-size: .875rem; }
.ok-box { background: #eaf5ef; color: var(--ok); border: 1px solid #bfe0cd; border-radius: var(--r-s); padding: 12px 14px; font-size: .875rem; }
.done { max-width: 640px; margin: 0 auto; text-align: center; }
.done .check-big { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.bank { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 24px 0; }
.bank dt { color: var(--muted); font-size: .8438rem; }
.bank dd { margin: 0; font-family: var(--mono); font-size: .8438rem; }
.code-big { font-family: var(--mono); font-size: 1.625rem; letter-spacing: .06em; padding: 18px 24px; border: 1.5px dashed var(--ink); border-radius: var(--r); display: inline-block; margin: 20px 0; background: var(--surface); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.015em; margin: 38px 0 10px; }
.legal h3 { font-size: 1rem; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .ph { background: #fff1c2; padding: 0 3px; border-radius: 3px; }
.legal .note { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); padding: 14px 16px; border-radius: var(--r-s); font-size: .875rem; }

/* ---------- Fuß ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: 1fr auto auto; gap: 24px 40px; }
.foot p { margin: 10px 0 0; font-size: .875rem; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-content: start; }
.foot-links a { text-decoration: none; font-size: .875rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-links a.strong { color: var(--ink); font-weight: 600; text-decoration: underline; }
.foot-note a { color: inherit; }
.foot-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }

/* ---------- Toasts ---------- */
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: .875rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); animation: up .3s var(--ease); }
.toast.bad { background: var(--bad); }
.toast.out { opacity: 0; transform: translateY(6px); transition: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(10px); } }

.fade-in { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .cfg { grid-template-columns: 210px 1fr 330px; }
  .mats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .hero-in, .ai-band, .news, .two, .calc, .promise-in, .faq-in { grid-template-columns: 1fr; }
  .hero-in { min-height: 0; padding-block: 40px 48px; gap: 36px; }
  .printer { justify-self: stretch; max-height: none; aspect-ratio: 1 / 1.05; }
  .dock { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .4); transform: translateY(calc(100% + 24px)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
  .dock.show { transform: none; }
  .dock .btn { flex: 1; height: 46px; }
  .dock .btn.ghost { flex: 0 0 auto; }
        .steps { flex-direction: column; gap: 12px; }
  .steps .step { flex: none; min-height: 0; }
  .step-top { padding-bottom: 28px; }
  .section { padding: 80px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .ai-band, .news { padding: 32px 24px; }
  .cfg, .designer { display: flex; flex-direction: column; height: auto; }
  .stage { height: 56vh; min-height: 320px; order: 1; }
  .rail { order: 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .parts { display: flex; overflow-x: auto; padding: 0 10px 10px; }
  .part { min-width: 200px; }
  .panel { order: 3; border-left: 0; }
  .price { position: sticky; bottom: 0; box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3); }
  .chat { border-right: 0; order: 2; }
  .chat-log { max-height: none; }
  .sum { position: static; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mats, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px 1fr; padding: 16px; }
  .thumb { width: 64px; height: 64px; }
  .line .end { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .news-row { flex-direction: column; }
  .promise ul { grid-template-columns: 1fr; gap: 28px; }
  .calc-parts { grid-template-columns: repeat(3, 1fr); }
  .p-row > span:last-child { display: none; }
  .p-bottom { flex-direction: column; gap: 8px; }
  .p-price { grid-template-columns: 1fr auto; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .hud { right: 72px; }
}

/* Pause-Hinweis */
.pause-banner { background: var(--ink); color: #fff; font-size: .875rem; padding-block: 10px; text-align: center; }
.brand { white-space: nowrap; }
.pay { cursor: pointer; }
.pay + .pay { margin-top: 8px; }
.pay:not(:has(input:checked)) { border-color: var(--line-2); }

/* Überweisung: QR nur am Computer, Kopier-Knöpfe überall */
.paybox { text-align: left; margin-top: 24px; display: grid; gap: 16px; }
.paybox-in { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.qr { display: none; width: 190px; gap: 10px; }
.qr-img { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.qr-img svg { width: 100%; height: auto; display: block; }
.qr p, .pay-hint { font-size: .8125rem; margin: 0; }
.pay-rows { display: grid; gap: 10px; min-width: 0; grid-column: 1 / -1; }
.pay-row { display: grid; grid-template-columns: max-content 1fr auto; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.pay-val { overflow-wrap: anywhere; font-size: .8438rem; }
@media (hover: hover) and (pointer: fine) and (min-width: 700px) {
  .qr { display: grid; }
  .qr + .pay-rows { grid-column: auto; }
  .qr + .pay-rows .pay-hint { display: none; }
}
@media (max-width: 560px) { .pay-row { grid-template-columns: 1fr auto; } .pay-row .muted { grid-column: 1 / -1; font-size: .7812rem; } }
.ai-note { font-size: .75rem; margin: 0; }
.price small a { color: inherit; }

/* Bestellstatus */
.steps-v { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; text-align: left; justify-items: start; }
.steps-v li { position: relative; padding-left: 30px; color: var(--ink-2); }
.steps-v li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface, #fff); }
.steps-v li.past::before { background: var(--accent, #ff5b14); border-color: var(--accent, #ff5b14); }
.steps-v li.now { color: var(--ink); font-weight: 600; }
.steps-v li.now::before { border-color: var(--accent, #ff5b14); box-shadow: 0 0 0 4px rgba(255, 91, 20, .18); }

/* Inhaltsseiten (Service, Materialien) */
.content .lead { font-size: 1.15em; color: var(--ink-2); }
.content .cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.content .cta-row .btn { text-decoration: none; }
.mat-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 18px 0; }
.mat-link { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); }
.mat-link:hover { border-color: var(--accent); }
.mat-link span { color: var(--ink-2); } .mat-link small { color: var(--ink-2); opacity: .8; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.swatch-row span { display: inline-flex; align-items: center; gap: 6px; }
.swatch-row i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; }
.mat h3 a { color: inherit; text-decoration: none; } .mat h3 a:hover { text-decoration: underline; }

/* Bewertungen */
.stars { color: #e8a317; letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { margin: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; } .review figcaption { color: var(--ink-2); font-size: .8438rem; margin-top: auto; }
.review .reply { margin: 0; font-size: .8438rem; color: var(--ink-2); background: var(--bg); padding: 10px 12px; border-radius: var(--r-s); }
.star-pick { border: 0; padding: 0; margin: 14px 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick legend { width: 100%; margin-bottom: 4px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 2.125rem; color: #d6d3cb; cursor: pointer; line-height: 1; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #e8a317; }
.star-pick input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Fortschritt KI-Designer */
.steps-ai { display: grid; gap: 6px; }
.steps-ai > div { display: flex; align-items: center; gap: 8px; color: var(--ink-2); opacity: .55; }
.steps-ai > div.ok { opacity: .8; } .steps-ai > div.now { opacity: 1; color: var(--ink); font-weight: 600; }
.steps-ai .st { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .6875rem; flex: none; }
.steps-ai .ok .st { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps-ai .now .st { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 91, 20, .18); }

/* ---------- Apple-Design-Feinschliff ---------- */
/* Druck-Feedback auf allen antippbaren Karten, sofort beim Berühren */
.calc-parts button:active, .opt:active, .sw:active, .ideas button:active, .mat-link:active, .seg button:active { transform: scale(.97); transition: transform 80ms ease-out; }
/* Kein 300-ms-Tipp-Verzögerung, kein grauer Tipp-Blitz auf Mobilgeräten */
a, button, label, summary, .ex, [data-pick] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* Hover-Anheben nur mit echter Maus – auf Touch bleibt sonst die Karte „hängen“ */
@media (hover: none) { .calc-parts button:hover { transform: none; } }
/* Fehler direkt am Feld zeigen, sobald man es verlassen hat – nicht erst beim Absenden */
.input:user-invalid, .field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 14%, transparent); }
.check input:user-invalid + span { color: var(--bad); }
/* Nutzer wünscht weniger Transparenz → feste Flächen statt Milchglas */
@media (prefers-reduced-transparency: reduce) {
  .top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .chip, .views, .p-progress, .p-price { background: #1b1c1f; backdrop-filter: none; }
  .dock { background: var(--surface); backdrop-filter: none; }
}
/* Nutzer wünscht mehr Kontrast → kräftigere Linien und Nebentexte */
@media (prefers-contrast: more) {
  :root { --line: #8f8a7e; --line-2: #6f6a5f; --muted: #3f3e3a; }
  .top { background: var(--bg); backdrop-filter: none; border-bottom-color: var(--line); }
}
/* Finger statt Maus: Tippflächen mindestens 44 px hoch */
@media (pointer: coarse) {
  .btn.small, .seg button { min-height: 44px; }
  .range { height: 44px; }
}
