html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }

/* Layout: Werkstatt-Shop. Problem zuerst (Hero, Schmerzpunkte, Geschichte), dann der Konfigurator mit Modulwahl, die Weihnachts-Edition, Ablauf, Preise, Katalog, Fragen. */
:root {
  --bg: #EDF0F1; --panel: #FFFFFF; --ink: #152029; --muted: #56636B; --line: #CDD4D8; --soft: #E3E8EA;
  --accent: #CF4E1B; --accent-ink: #FFFFFF; --viewer-bg: #E1E6E8; --grid1: #BCC5CA; --grid2: #D0D7DA; --edge: #22303A;
  --warn-bg: #FCEEE5; --warn-fg: #8A3510; --ok: #2E7D4F; --ok-bg: #E3F2E9;
  --pine: #1D5E43; --pine-bg: #E4EFE8; --gold: #B98A1E;
  --f-display: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 6px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0E1417; --panel: #151D22; --ink: #E2E8EB; --muted: #93A1A9; --line: #29353D; --soft: #1B252B;
  --accent: #FF7A3D; --accent-ink: #1A0D05; --viewer-bg: #10181D; --grid1: #33414A; --grid2: #1F2A30; --edge: #05090B;
  --warn-bg: #2B1B11; --warn-fg: #FFB48A; --ok: #5CC48A; --ok-bg: #13281C;
  --pine: #63C796; --pine-bg: #12241B; --gold: #E2B64A; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0E1417; --panel: #151D22; --ink: #E2E8EB; --muted: #93A1A9; --line: #29353D; --soft: #1B252B;
  --accent: #FF7A3D; --accent-ink: #1A0D05; --viewer-bg: #10181D; --grid1: #33414A; --grid2: #1F2A30; --edge: #05090B;
  --warn-bg: #2B1B11; --warn-fg: #FFB48A; --ok: #5CC48A; --ok-bg: #13281C;
  --pine: #63C796; --pine-bg: #12241B; --gold: #E2B64A; color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.55; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--f-mono); }
.eyebrow { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin: 0; }
:lang(zh) .eyebrow, :lang(zh) legend { letter-spacing: 0.04em; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand b i { font-style: normal; color: var(--accent); }
.brand span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
nav.top { display: flex; gap: 6px 18px; font-size: 14px; flex-wrap: wrap; }
nav.top a { text-decoration: none; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; }
nav.top a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
[data-view] > section.band:first-child { border-top: 0; }
nav.top a:hover { color: var(--ink); }
.switches { display: flex; gap: 8px; }
.switch { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel); }
.switch button { font: inherit; font-size: 13px; font-weight: 500; border: 0; background: none; color: var(--muted); padding: 5px 10px; cursor: pointer; border-left: 1px solid var(--line); }
.switch button:first-child { border-left: 0; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.hero { padding-block: 48px 36px; display: grid; gap: 16px; }
.hero h1 { font-family: var(--f-display); font-stretch: 118%; font-weight: 750; font-size: clamp(32px, 5.2vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; max-width: 19ch; text-wrap: balance; }
:lang(zh) .hero h1 { line-height: 1.2; letter-spacing: 0; max-width: 16em; }
.hero p.lead { margin: 0; color: var(--muted); max-width: 62ch; font-size: 17px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn { font: inherit; font-weight: 600; font-size: 15px; border: 0; border-radius: 4px; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--soft); filter: none; }
.btn.pine { background: var(--pine); color: var(--bg); }
.btn.block { width: 100%; }
.btn.small { padding: 8px 12px; font-size: 14px; }
.proof { display: flex; gap: 8px 22px; flex-wrap: wrap; list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.proof li { display: flex; gap: 8px; align-items: center; }
.proof li::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--accent); transform: rotate(45deg); flex: none; }

section.band { border-top: 1px solid var(--line); padding-block: 52px; }
section.band h2 { font-family: var(--f-display); font-stretch: 115%; font-weight: 750; font-size: clamp(24px, 3.4vw, 34px); margin: 4px 0 6px; letter-spacing: -0.01em; text-wrap: balance; }
:lang(zh) section.band h2 { letter-spacing: 0; }
section.band .intro { margin: 0 0 26px; color: var(--muted); max-width: 62ch; }

.prob { display: grid; gap: 28px; }
@media (min-width: 900px) { .prob { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.pains { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pain { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; align-content: start; }
.pain .x { font-family: var(--f-mono); font-size: 12px; color: var(--warn-fg); background: var(--warn-bg); border-radius: 3px; padding: 1px 6px; justify-self: start; font-variant-numeric: tabular-nums; }
.pain b { font-size: 16px; font-weight: 600; }
.pain p { margin: 0; color: var(--muted); font-size: 14.5px; }
.story { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; display: grid; gap: 10px; }
.story h3 { margin: 0; font-family: var(--f-display); font-stretch: 112%; font-size: 21px; font-weight: 700; }
.story p { margin: 0; }
.story .sig { color: var(--muted); font-size: 14px; }

.tabgroups { display: grid; gap: 14px; margin-bottom: 16px; }
@media (min-width: 1000px) { .tabgroups { grid-template-columns: 3fr 2fr; } }
.tg-label { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 6px; }
.tg-label.x { color: var(--pine); }
.tabrow { display: grid; gap: 10px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.tab { font: inherit; text-align: left; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; cursor: pointer; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 1px 10px; align-items: center; height: 100%; }
.tab svg { grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--muted); }
.tab b { font-weight: 600; font-size: 14.5px; }
.tab span { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.tab:hover { border-color: var(--muted); }
.tab[aria-selected="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tab[aria-selected="true"] svg { color: var(--accent); }
.tab.x { background: var(--pine-bg); }
.tab.x svg { color: var(--pine); }
.tab.x[aria-selected="true"] { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.tab.x[aria-selected="true"] svg { color: var(--pine); }
@media (max-width: 760px) { .tabrow { grid-auto-flow: row; } .tab span { display: none; } .tab svg { grid-row: auto; width: 26px; height: 26px; } .tab { grid-template-columns: 26px minmax(0,1fr); } }

.config { display: grid; gap: 20px; padding-bottom: 56px; }
@media (min-width: 920px) { .config { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } .viewer { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); } }
.viewer { background: var(--viewer-bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; }
.stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.dims { position: absolute; left: 14px; top: 12px; font-family: var(--f-mono); font-size: 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; font-variant-numeric: tabular-nums; }
.badge { position: absolute; right: 14px; top: 12px; font-size: 12px; font-weight: 600; background: var(--ink); color: var(--bg); border-radius: 99px; padding: 3px 10px; }
.nogl { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.vbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.hint { font-size: 13px; color: var(--muted); }
.swatches { display: flex; gap: 8px; align-items: center; }
.swatches span { font-size: 13px; color: var(--muted); margin-right: 2px; }
.sw { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); padding: 0; cursor: pointer; background: var(--c); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--accent); }

.panel { display: grid; gap: 16px; min-width: 0; }
.mod { display: grid; gap: 16px; }
fieldset { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 14px 16px 16px; display: grid; gap: 14px; min-width: 0; }
legend { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0 6px; margin-left: -6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > label, .f > .lab { font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.f small, fieldset > small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
select, input[type="number"], input[type="email"] { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; width: 100%; min-width: 0; }
.num { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); overflow: hidden; }
.num input { border: 0; border-radius: 0; background: transparent; font-family: var(--f-mono); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.num input::-webkit-inner-spin-button, .num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.num .u { font-family: var(--f-mono); font-size: 13px; color: var(--muted); padding: 0 10px; display: grid; place-items: center; }
.num button { font: inherit; border: 0; background: var(--soft); color: var(--ink); width: 38px; cursor: pointer; font-size: 18px; flex: none; }
.num button:hover { background: var(--line); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
output { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-weight: 400; color: var(--muted); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 8px 4px; font-size: 13.5px; cursor: pointer; border-left: 1px solid var(--line); background: var(--bg); }
.seg label:first-of-type { border-left: 0; }
.seg input:checked + label { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.testbox { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 12px; }
.testbox p { margin: 0; font-size: 13.5px; flex: 1 1 220px; }
.testbox p b { color: var(--ok); }
.warns { display: grid; gap: 6px; }
.warns:empty { display: none; }
.warns p { margin: 0; background: var(--warn-bg); color: var(--warn-fg); border-radius: 4px; padding: 8px 10px; font-size: 13.5px; }

.title-block { border: 1.5px solid var(--ink); border-radius: 2px; background: var(--panel); font-size: 13px; }
.tb-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.tb-grid > div { padding: 7px 10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-width: 0; }
.tb-grid > div.right, .tb-grid > div.wide { border-right: 0; }
.tb-grid > div.wide { grid-column: 1 / -1; }
.tb-grid dt { font-family: var(--f-mono), var(--f-body); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }
.tb-grid dd { margin: 2px 0 0; font-family: var(--f-mono), var(--f-body); font-variant-numeric: tabular-nums; font-size: 14px; overflow-wrap: anywhere; }
.pill { display: inline-block; font-family: var(--f-body); font-size: 12px; font-weight: 600; border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.no { background: var(--warn-bg); color: var(--warn-fg); }
.pill.plan { background: var(--soft); color: var(--muted); }
.pill.xm { background: var(--pine-bg); color: var(--pine); }
.tb-buy { display: grid; gap: 10px; padding: 12px 10px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-family: var(--f-display); font-stretch: 112%; font-size: 26px; font-weight: 750; }
.price .per { color: var(--muted); font-size: 14px; }
.price em { font-style: normal; font-size: 13px; color: var(--ok); font-weight: 600; }
.gate { border: 1.5px solid var(--accent); border-radius: 4px; padding: 12px; display: grid; gap: 8px; background: var(--bg); font-size: 14px; }
.gate small { color: var(--muted); font-size: 12.5px; }
#gateMsg:empty { display: none; }
.status { font-size: 13px; color: var(--muted); min-height: 1.4em; margin: 0; }

section.xmas { background: var(--pine-bg); }
section.xmas .eyebrow { color: var(--pine); display: flex; gap: 8px; align-items: center; }
section.xmas .eyebrow svg { width: 14px; height: 14px; color: var(--gold); }
.xcards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.xcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px 18px; align-items: start; }
.xcard svg { grid-row: 1 / span 4; width: 72px; height: 88px; }
.xcard b { font-family: var(--f-display); font-stretch: 112%; font-size: 20px; font-weight: 700; }
.xcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
.xcard .btn { justify-self: start; margin-top: 6px; }
.xnote { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: grid; gap: 6px; align-content: start; border-top: 2px solid var(--ink); padding-top: 12px; }
.steps .sn { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.steps b { font-size: 17px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tier { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 18px; display: grid; gap: 8px; align-content: start; position: relative; }
.tier.feat { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tier .flag { position: absolute; top: -11px; left: 16px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; border-radius: 99px; padding: 2px 10px; }
.tier h3 { margin: 0; font-size: 15px; font-weight: 600; }
.tier .amt { font-family: var(--f-display); font-stretch: 112%; font-size: 30px; font-weight: 750; line-height: 1.1; }
.tier .amt small { font-family: var(--f-body); font-size: 14px; font-weight: 400; color: var(--muted); }
.tier ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.cat { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cat b { font-weight: 600; }
.cat p { margin: 0; grid-column: 1; color: var(--muted); font-size: 14px; }
.cat .act { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; align-items: center; }
.linkbtn { font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.faq { display: grid; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }

.who { padding-block: 8px 44px; }
.who h2 { font-family: var(--f-display); font-stretch: 115%; font-weight: 750; font-size: clamp(22px, 3vw, 30px); margin: 4px 0 18px; letter-spacing: -0.01em; }
.whos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.whoc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: space-between; }
.whoc b { font-family: var(--f-mono), var(--f-body); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.whoc p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; }
.whoc .linkbtn { justify-self: start; text-align: left; }
.cmp-h { font-family: var(--f-display); font-stretch: 112%; font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.cmpwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
table.cmp th, table.cmp td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
table.cmp thead th { font-weight: 600; color: var(--muted); font-size: 13.5px; }
table.cmp tbody th { font-weight: 500; color: var(--muted); }
table.cmp .us { background: color-mix(in srgb, var(--accent) 9%, var(--panel)); font-weight: 600; color: var(--ink); }
table.cmp thead .us { color: var(--accent); }
.promise { margin-top: 20px; border: 1.5px solid var(--ok); background: var(--ok-bg); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; }
.promise b { font-family: var(--f-display); font-stretch: 112%; font-size: 18px; color: var(--ok); }
.promise p { margin: 0; max-width: 70ch; }
.prm-s { margin: 0; font-size: 13px; color: var(--ok); font-weight: 600; }
.xcard .pill { justify-self: start; }
section.final { text-align: center; }
section.final .wrap { display: grid; gap: 12px; justify-items: center; }
section.final p { margin: 0; color: var(--muted); font-size: 17px; }
footer { border-top: 1px solid var(--line); padding-block: 24px 40px; color: var(--muted); font-size: 13px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } .xcard { grid-template-columns: 1fr; } .xcard svg { grid-row: auto; width: 56px; height: 68px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.seo-intro { padding-bottom: 20px; }
.seo-intro h1 { font-family: var(--f-display); font-weight: 750; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.01em; text-wrap: balance; }
.seo-intro p { margin: 0; color: var(--muted); max-width: 70ch; }
.legal { max-width: 760px; }
.legal h1, .legal h2 { font-family: var(--f-display); font-weight: 750; margin: 28px 0 8px; }
footer a { color: inherit; }
