/* ==========================================================================
   Heimlicht – Stylesheet
   Idee: Bauzeichnung trifft Licht. Zeichenpapier, Tusche, Bemaßung –
   und ein einziges Orange, das immer „Licht“ bedeutet.
   Farben & Schriften zentral in :root anpassen.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f1ebdf;
  --paper-2: #e7dfcf;
  --paper-3: #f8f4ec;
  --ink: #1d1b18;
  --ink-2: #545047;
  --ink-3: #8b8478;
  --rule: rgba(29, 27, 24, .14);
  --rule-strong: rgba(29, 27, 24, .38);
  --grid: rgba(29, 27, 24, .055);
  --light: #ff7a1a;
  --light-2: #ffb25c;
  --night: #121318;
  --night-ink: #f1ebdf;
  --night-rule: rgba(241, 235, 223, .14);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --maxw: 1240px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--light); }
::selection { background: var(--light); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }

.paper-grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

.label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
}
.sq { width: 8px; height: 8px; background: var(--light); box-shadow: 0 0 9px 1px rgba(255, 122, 26, .7); flex-shrink: 0; }
.sec-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 56ch; }
.sec-lead a { color: var(--ink); text-underline-offset: 4px; }
.fine { font-size: 13px; color: var(--ink-3); }

/* ---------- Passermarken an Zeichenblättern ---------- */
.sheet { position: relative; }
.crop { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); pointer-events: none; }
.crop.tl { top: -7px; left: -7px; border-top-width: 1px; border-left-width: 1px; }
.crop.tr { top: -7px; right: -7px; border-top-width: 1px; border-right-width: 1px; }
.crop.bl { bottom: -7px; left: -7px; border-bottom-width: 1px; border-left-width: 1px; }
.crop.br { bottom: -7px; right: -7px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 22px; border: 1px solid var(--ink); border-radius: 0;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn .arr { font-family: var(--mono); transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--light); }
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--light); }
.btn-ink:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--light); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--light); border-color: var(--light); color: #1d1208; }
.btn-light:hover { box-shadow: 0 0 36px rgba(255, 122, 26, .55); }
.btn-sm { padding: 10px 14px; font-size: 13.5px; box-shadow: 3px 3px 0 var(--light); }
.link-arrow { font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; text-underline-offset: 6px; }
.link-arrow:hover { color: var(--light); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.site-header.scrolled, .site-header.menu-open { background: rgba(241, 235, 223, .93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { font: 400 30px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.brand-i { position: relative; }
.brand-i::after {
  content: ""; position: absolute; left: 50%; top: .38em; width: .15em; height: .15em; transform: translateX(-50%);
  background: var(--light); box-shadow: 0 0 .25em .05em rgba(255, 122, 26, .85);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:not(.btn):hover { color: var(--ink); border-color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 44px) 0 80px; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(36px, 5vw, 80px); align-items: center; min-height: calc(100svh - var(--header-h) - 124px); }
.hero h1 { font-size: clamp(3.7rem, 8.3vw, 8.2rem); line-height: .9; letter-spacing: -.025em; margin: 26px 0 30px; }
.hero h1 em { text-shadow: 0 0 34px rgba(255, 140, 40, .4); padding-right: .06em; }
.hero-lead { font-size: 1.16rem; max-width: 44ch; color: var(--ink-2); }
.hero-address { margin-top: 34px; max-width: 590px; }
.addr-label { display: block; margin-bottom: 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.addr-row { display: flex; align-items: stretch; background: var(--paper-3); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--light); transition: box-shadow .2s ease; }
.addr-row:focus-within { box-shadow: 7px 7px 0 var(--light); outline: 2px solid var(--light); outline-offset: 2px; }
.addr-pin { width: 22px; height: 22px; margin: auto 0 auto 14px; flex-shrink: 0; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.addr-pin circle { fill: var(--light); stroke: none; }
.addr-row input { flex: 1; min-width: 0; height: 58px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 400 17px var(--sans); }
.addr-row input:focus { outline: none; }
.addr-row input::placeholder { color: #a39b8c; }
.addr-row .btn { border: 0; border-left: 1px solid var(--ink); box-shadow: none; padding-inline: 22px; }
.addr-row .btn:hover, .addr-row .btn:active { transform: none; box-shadow: none; background: #000; }
.addr-hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; border-top: 1px solid var(--ink); }
.hero-facts div { padding: 14px 16px 0 0; }
.hero-facts dt { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.hero-facts dd { margin: 8px 0 0; font: 400 1.5rem/1.1 var(--serif); }

.hero-sheet { margin: 0; background: var(--paper-3); border: 1px solid var(--rule-strong); padding: 22px 22px 0; }
.titleblock { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -22px; border-top: 1px solid var(--rule-strong); }
.titleblock > div { padding: 9px 14px 10px; border-left: 1px solid var(--rule-strong); font: 400 12.5px/1.3 var(--mono); }
.titleblock > div:first-child { border-left: 0; }
.titleblock > div { min-width: 0; }
.titleblock output { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titleblock span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 3px; }
.tb-switch { display: inline-flex; align-items: center; gap: 7px; padding: 0; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tb-switch::before { content: ""; width: 8px; height: 8px; background: #b9b2a5; transition: .3s; }
.tb-switch[aria-pressed="true"]::before { background: var(--light); box-shadow: 0 0 8px 1px rgba(255, 122, 26, .8); }

/* Bauzeichnung */
#hero-drawing { width: 100%; height: auto; }
#hero-drawing .fillp { fill: var(--paper-3); }
#hero-drawing .wallglow { fill: #ffb25c; fill-opacity: .12; }
#hero-drawing .lit { fill: #ffc078; transition: opacity .5s ease; }
#hero-drawing .lit-blur { fill: #ff9535; fill-opacity: .95; }
#hero-drawing .halo, #hero-drawing .wallglow { transition: opacity .6s ease; }
#hero-drawing .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#hero-drawing .ln.thin { stroke-width: 1; }
#hero-drawing .ln.dim { stroke: var(--ink-2); stroke-width: .9; }
#hero-drawing text { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); }
#hero-drawing .engrave { font-size: 9.5px; letter-spacing: .14em; }
#hero-drawing .dimtxt { font-size: 11.5px; fill: var(--ink); }
#hero-drawing .n { fill: var(--light); font-weight: 500; }
#hero-drawing .dot { fill: var(--ink); }
#hero-drawing.off .lit, #hero-drawing.off .halo, #hero-drawing.off .wallglow { opacity: 0 !important; animation: none !important; }
#hero-drawing:not(.play) .halo { animation: breathe 6s ease-in-out infinite; transform-origin: 250px 350px; }

.js #hero-drawing:not(.ready) { opacity: 0; animation: fade .4s ease 2.5s forwards; }
#hero-drawing.play .ln { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.4s cubic-bezier(.65, .05, .25, 1) forwards; animation-delay: var(--d, 0s); }
#hero-drawing.play .hatch { opacity: 0; animation: fade .8s ease .9s forwards; }
#hero-drawing.play .labels, #hero-drawing.play .engrave { opacity: 0; animation: fade .6s ease 1.6s forwards; }
#hero-drawing.play .lit, #hero-drawing.play .halo, #hero-drawing.play .wallglow { opacity: 0; animation: light-on 1.1s linear 2.1s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes light-on { 0% { opacity: 0; } 8% { opacity: .75; } 16% { opacity: .1; } 28% { opacity: .9; } 36% { opacity: .35; } 100% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }

/* ---------- Laufband ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; padding: 18px 30px 18px 0; animation: marquee 50s linear infinite; }
.marquee span { font: italic 400 clamp(1.5rem, 2.5vw, 2.1rem)/1 var(--serif); white-space: nowrap; }
.marquee i { width: 9px; height: 9px; background: var(--light); box-shadow: 0 0 10px 1px rgba(255, 122, 26, .8); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; }
.section-rule { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 18px 40px; align-items: start; margin-bottom: clamp(48px, 6vw, 76px); }
.sec-head .label { padding-top: 16px; grid-row: span 2; }
.sec-head h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.02em; max-width: 17ch; }
.sec-head .sec-lead { grid-column: 2; }

/* ---------- Ablauf ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.process li { padding: 22px 26px 6px; border-left: 1px solid var(--rule); }
.process li:first-child { border-left: 0; padding-left: 0; }
.process .num { font: 400 3.4rem/1 var(--serif); }
.illu { width: 100%; max-width: 160px; height: 104px; margin: 26px 0 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.illu .thin { stroke-width: .9; opacity: .55; }
.illu .dash { stroke-dasharray: 3 3; opacity: .5; }
.illu .acc { fill: var(--light); stroke: none; filter: drop-shadow(0 0 3px rgba(255, 122, 26, .8)); }
.illu .acc-line { stroke: var(--light); stroke-width: 2.6; }
.illu .halo-c { fill: rgba(255, 170, 80, .2); stroke: none; }
.illu .fillp { fill: var(--paper); }
.process h3 { font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; }
.process p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Konfigurator (Nacht) ---------- */
.night {
  background-color: var(--night); color: var(--night-ink);
  background-image: linear-gradient(rgba(241, 235, 223, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 235, 223, .03) 1px, transparent 1px);
  background-size: 28px 28px;
}
.night .label { color: rgba(241, 235, 223, .6); }
.night .sec-lead { color: rgba(241, 235, 223, .7); }
.night h2 em { text-shadow: 0 0 34px rgba(255, 122, 26, .45); }
.night .crop { border-color: rgba(241, 235, 223, .55); }

.cfg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.cfg-left { position: sticky; top: calc(var(--header-h) + 24px); }
.cfg-stage {
  position: relative; height: min(64vh, 600px); min-height: 420px;
  border: 1px solid var(--night-rule);
  background: radial-gradient(85% 70% at 50% 40%, #272d44 0%, #161a26 58%, #0e1017 100%);
  transition: background .6s;
}
.cfg-stage.is-off { background: radial-gradient(85% 70% at 50% 40%, #171b28 0%, #10131b 58%, #0b0d12 100%); }
#cfg-canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline: none; }
#cfg-canvas:active { cursor: grabbing; }
#cfg-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--light); }

.cfg-power, .cfg-hint, .cfg-size {
  position: absolute; margin: 0; padding: 7px 11px;
  border: 1px solid var(--night-rule); background: rgba(14, 16, 23, .78);
  font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--night-ink);
}
.cfg-power { top: 14px; right: 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cfg-power:hover { border-color: rgba(241, 235, 223, .45); }
.cfg-power .dot { width: 8px; height: 8px; background: #4b4f5a; transition: .3s; }
.cfg-power.is-on .dot { background: var(--light); box-shadow: 0 0 8px 1px var(--light); }
.cfg-hint { left: 14px; bottom: 14px; color: rgba(241, 235, 223, .6); pointer-events: none; }
.cfg-size { right: 14px; bottom: 14px; pointer-events: none; }
.cfg-fallback { display: none; position: absolute; inset: 0; place-items: center; padding: 32px; text-align: center; color: rgba(241, 235, 223, .7); }
.cfg-stage.no-webgl .cfg-fallback { display: grid; }
.cfg-stage.no-webgl .cfg-hint, .cfg-stage.no-webgl .cfg-power { display: none; }

.tb-night { display: grid; grid-template-columns: 1.9fr 1.3fr .9fr 1fr; margin: 0; border: 1px solid var(--night-rule); border-top: 0; }
.tb-night > div { padding: 10px 12px; border-left: 1px solid var(--night-rule); min-width: 0; }
.tb-night > div:first-child { border-left: 0; }
.tb-night dt { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(241, 235, 223, .5); }
.tb-night dd { margin: 6px 0 0; font: 400 12.5px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.row { padding: 18px 0 20px; border-top: 1px solid var(--night-rule); }
.row:first-child { padding-top: 0; border-top: 0; }
.row-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(241, 235, 223, .62); }
.row-label b { color: var(--light); font-weight: 500; }
.row-split { display: grid; grid-template-columns: auto 1fr; gap: 28px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg[hidden] { display: none; }
.seg button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border: 1px solid var(--night-rule); border-radius: 0; background: transparent;
  color: var(--night-ink); font: 500 14.5px/1.2 var(--sans); cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.seg button:hover { border-color: rgba(241, 235, 223, .5); }
.seg button[aria-pressed="true"] { background: var(--night-ink); border-color: var(--night-ink); color: var(--ink); }
.seg button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.seg button:disabled:hover { border-color: var(--night-rule); }
.seg-sm { margin-top: 14px; }
.seg-sm button { padding: 7px 11px; font-size: 13.5px; }
.sw { width: 12px; height: 12px; background: var(--sw); border: 1px solid rgba(255, 255, 255, .3); flex-shrink: 0; }
.sw.glow { box-shadow: 0 0 8px var(--sw, transparent); }
.seg button[aria-pressed="true"] .sw { border-color: rgba(0, 0, 0, .3); box-shadow: none; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--night-rule); }
.stepper button { width: 40px; height: 38px; background: transparent; border: 0; color: var(--night-ink); font: 400 18px/1 var(--mono); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: rgba(241, 235, 223, .08); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font: 500 15px/38px var(--mono); border-inline: 1px solid var(--night-rule); }

.cfg-highlight.is-disabled { opacity: .45; }
.switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 40px; height: 22px; background: #2c303b; flex-shrink: 0; transition: background-color .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #cfc8bc; transition: transform .2s, background-color .2s; }
.switch input:checked + .track { background: var(--light); }
.switch input:checked + .track::after { transform: translateX(18px); background: #fff; }
.switch input:focus-visible + .track { outline: 2px solid var(--light); outline-offset: 3px; }
.switch input:disabled ~ * { cursor: not-allowed; }
.hint { margin-top: 10px; font-size: 13.5px; color: rgba(241, 235, 223, .55); }

.line-input { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid rgba(241, 235, 223, .35); border-radius: 0; background: transparent; color: var(--night-ink); font: 400 17px var(--sans); }
.line-input::placeholder { color: rgba(241, 235, 223, .35); }
.line-input:focus { outline: none; border-bottom-color: var(--light); box-shadow: 0 1px 0 var(--light); }

.check { display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: 15.5px; }
.check input { accent-color: var(--light); width: 16px; height: 16px; flex-shrink: 0; margin: 0; }
.check i, .leaders i, .spec i, #cfg-breakdown i { flex: 1; min-width: 12px; border-bottom: 1px dotted currentColor; opacity: .35; transform: translateY(-4px); }
.price-tag { font: 400 13px/1 var(--mono); white-space: nowrap; color: rgba(241, 235, 223, .75); }
.check.is-unavailable { opacity: .45; cursor: not-allowed; }
.leaders li.is-unavailable { opacity: .5; }

.cfg-total { margin-top: 4px; padding-top: 22px; border-top: 1px solid var(--night-ink); }
.total-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.total-head .row-label { margin: 0; }
#cfg-price { font: 400 clamp(2.6rem, 4vw, 3.4rem)/1 var(--serif); }
#cfg-breakdown { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 5px; font: 400 12.5px/1.4 var(--mono); color: rgba(241, 235, 223, .65); }
#cfg-breakdown li { display: flex; align-items: baseline; gap: 8px; }
.cfg-total .btn { width: 100%; }
.cfg-total .fine { margin-top: 12px; color: rgba(241, 235, 223, .5); }

/* ---------- Wahrzeichen (Nacht) ---------- */
.lm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px); }
.lm { display: flex; flex-direction: column; }
.lm-photo { margin: 0 0 28px; border: 1px solid var(--night-rule); background: #0d0f14; }
.lm-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.lm h3 { margin: 10px 0 10px; font-size: clamp(2.1rem, 3.4vw, 2.9rem); line-height: 1; }
.lm-text { margin-bottom: 22px; color: rgba(241, 235, 223, .7); max-width: 46ch; }
.lm-total { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--night-ink); }
.lm-total strong { font: 400 clamp(2.4rem, 3.6vw, 3rem)/1 var(--serif); }
.lm-fine { margin-top: 10px; color: rgba(241, 235, 223, .5); }

/* ---------- Anlässe ---------- */
.occasions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.occasions li {
  display: grid; grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1fr) 40px; gap: 24px; align-items: baseline;
  padding: 28px 8px 28px 0; border-bottom: 1px solid var(--rule);
  transition: background-color .3s ease;
}
.occasions .num { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.occasions h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.05; transition: transform .3s ease; }
.occasions p { color: var(--ink-2); }
.occasions .win { justify-self: end; width: 14px; height: 18px; border: 1px solid var(--ink); align-self: center; transition: .3s ease; }
.occasions li:hover { background: linear-gradient(90deg, rgba(255, 160, 70, .1), transparent 70%); }
.occasions li:hover h3 { transform: translateX(10px); }
.occasions li:hover .win { background: var(--light-2); border-color: var(--light); box-shadow: 0 0 14px 3px rgba(255, 140, 40, .55); }

.b2b {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 32px 48px; align-items: center;
  padding: 44px 40px 40px; background: var(--paper-3); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
}
.b2b-tag { position: absolute; top: -13px; left: 32px; padding: 5px 10px; background: var(--light); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.b2b h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; margin-bottom: 12px; }
.b2b p { color: var(--ink-2); }
.b2b-list { list-style: none; margin: 0; padding: 0; font: 400 13px/1.4 var(--mono); }
.b2b-list li { padding: 7px 0; border-bottom: 1px solid var(--rule); }
.b2b-list li::before { content: "→ "; color: var(--light); }

/* ---------- Größen & Preise ---------- */
.sizes-sheet { background: var(--paper-3); border: 1px solid var(--rule-strong); padding: 44px 36px 36px; --u: clamp(4px, .62vw, 8px); }
.size-figures { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; justify-items: center; border-bottom: 1px solid var(--ink); margin-bottom: 64px; }
.fig { position: relative; display: flex; align-items: flex-end; }
.mini { height: calc(var(--cm) * var(--u)); width: auto; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 0 16px rgba(255, 150, 60, .35)); }
.mini .f { fill: rgba(255, 178, 92, .12); stroke: none; }
.mini .w { fill: var(--light-2); stroke: none; }
.dimv { position: absolute; top: 0; bottom: 0; left: -20px; border-left: 1px solid var(--ink-2); }
.dimv::before, .dimv::after { content: ""; position: absolute; left: -6px; width: 11px; border-top: 1px solid var(--ink-2); transform: rotate(-45deg); }
.dimv::before { top: 0; }
.dimv::after { bottom: 0; }
.dimv b { position: absolute; top: 50%; right: 6px; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font: 500 11px/1 var(--mono); white-space: nowrap; }
.fig-label { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); font: 400 1.6rem/1 var(--serif); }

.size-cards { display: grid; grid-template-columns: repeat(3, 1fr); }
.size-card { display: flex; flex-direction: column; padding: 0 28px; border-left: 1px solid var(--rule); }
.size-card:first-child { border-left: 0; padding-left: 0; }
.size-card:last-child { padding-right: 0; }
.size-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.size-letter { font: 400 2.6rem/1 var(--serif); }
.size-name { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.rec { margin-left: auto; padding: 4px 8px; background: var(--light); font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.size-price { margin: 18px 0 18px; font: 400 1.1rem/1 var(--serif); color: var(--ink-2); }
.size-price span { font-size: 3.2rem; color: var(--ink); }
.spec { list-style: none; margin: 0 0 28px; padding: 0; font: 400 13px/1.4 var(--mono); }
.spec li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.spec li span:first-child { color: var(--ink-3); }
.size-card .btn { margin-top: auto; align-self: flex-start; }

.price-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 72px; margin-top: 64px; }
.price-notes h3 { font-size: 2rem; margin-bottom: 16px; }
.included { font: 400 14px/2 var(--mono); color: var(--ink-2); }
.included i { display: inline-block; width: 6px; height: 6px; margin: 0 10px; background: var(--light); vertical-align: middle; }
.leaders { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--ink); }
.leaders li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.leaders b { font: 500 14px/1 var(--mono); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .95; margin: 16px 0 20px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; align-items: baseline; padding: 22px 0; font: 500 1.14rem/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.faq summary::after { content: "+"; justify-self: end; font: 400 1.7rem/1 var(--mono); color: var(--light); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-2); }
.faq details p { padding: 0 36px 26px 48px; color: var(--ink-2); max-width: 64ch; }

/* ---------- Anfrage ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: .98; letter-spacing: -.02em; margin: 18px 0 22px; }
.needs { list-style: none; counter-reset: n; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.needs li { counter-increment: n; display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.needs li::before { content: counter(n, decimal-leading-zero); font: 500 12px/1.9 var(--mono); color: var(--light); }
.contact-mail { margin-top: 36px; font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.contact-mail a { font: 400 1.9rem/1.3 var(--serif); text-transform: none; letter-spacing: 0; color: var(--ink); text-underline-offset: 6px; }
.contact-mail a:hover { color: var(--light); }

.order { background: var(--paper-3); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.order-head { display: flex; justify-content: space-between; gap: 16px; padding: 13px 24px; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.order-body { display: grid; gap: 26px; padding: 30px 28px 30px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field label { display: block; margin-bottom: 4px; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.field .opt { color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 6px 0 8px; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 17px/1.4 var(--sans);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--light); box-shadow: 0 1px 0 var(--light); }
.field ::placeholder { color: #aaa293; }
.field textarea {
  resize: vertical; min-height: 112px; padding-top: 0; line-height: 28px;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--rule) 27px, var(--rule) 28px);
  background-attachment: local;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b18' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center / 16px no-repeat;
}
.field [aria-invalid="true"] { border-bottom-color: #c9381f; }
.field.source { margin: 0; padding: 0; border: 0; min-width: 0; }
.field.source legend { padding: 0; margin-bottom: 8px; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.field.source label { display: inline-flex; margin: 0 6px 6px 0; font: 500 14px/1.2 var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; }
.field.source input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field.source span { padding: 8px 12px; border: 1px solid var(--rule-strong); transition: background-color .15s, color .15s, border-color .15s; }
.field.source input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.field.source input:focus-visible + span { outline: 2px solid var(--light); outline-offset: 2px; }
.form-success .if-photos { display: none; }
.order.photos .form-success .if-photos { display: inline; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { accent-color: var(--ink); width: 17px; height: 17px; margin: 3px 0 0; flex-shrink: 0; }
.form-error { color: #c9381f; font-size: 14px; }
.order-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.order-foot .fine { max-width: 30ch; }
.form-success { display: none; padding: 16px 18px; border: 1px dashed var(--ink); background: rgba(255, 178, 92, .12); font-size: 15px; }
.form-success a { text-underline-offset: 3px; }
.order.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 76px 0 28px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-claim { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--serif); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.footer-links a { color: rgba(241, 235, 223, .7); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }
.footer-word { margin: 56px 0 20px; font: 400 clamp(4.6rem, 20vw, 17.5rem)/.8 var(--serif); letter-spacing: -.045em; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(241, 235, 223, .18); font: 400 12px/1.4 var(--mono); color: rgba(241, 235, 223, .55); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: .95; margin-bottom: 32px; }
.legal h2 { font-size: 1.7rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal .todo { display: inline-block; padding: 0 6px; background: rgba(255, 178, 92, .35); color: var(--ink); }
.legal .note { padding: 16px 18px; border: 1px dashed var(--ink); background: var(--paper-3); margin-bottom: 28px; font-size: 15px; }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
    background: transparent; border: 1px solid var(--ink); color: var(--ink);
    font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; cursor: pointer;
  }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 28px 28px; background: var(--paper); border-bottom: 1px solid var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); font: 400 2rem/1.1 var(--serif); text-transform: none; letter-spacing: -.01em; color: var(--ink); }
  .nav a:not(.btn):hover { border-color: var(--rule); color: var(--light); }
  .nav .btn { margin-top: 22px; align-self: flex-start; padding: 15px 22px; font-size: 15px; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .label { grid-row: auto; padding-top: 0; }
  .sec-head .sec-lead { grid-column: 1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li { border-left: 0; padding: 22px 24px 26px 0; border-bottom: 1px solid var(--rule); }
  .process li:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 24px; }

  .cfg { grid-template-columns: 1fr; }
  .cfg-left { top: calc(var(--header-h) + 6px); z-index: 3; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); }
  .cfg-stage { height: 42vh; min-height: 260px; max-height: 440px; }
  .tb-night { display: none; }

  .lm-grid { grid-template-columns: 1fr; max-width: 620px; }
  .b2b { grid-template-columns: 1fr; }
  .size-cards { grid-template-columns: 1fr; max-width: 560px; }
  .size-card { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .size-card:first-child { border-top: 0; padding-top: 0; }
  .price-notes { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .nav { padding-inline: 16px; }
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 56px; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 4.6rem); }
  .hero-facts dd { font-size: 1.15rem; }
  .addr-row { flex-wrap: wrap; }
  .addr-row input { flex-basis: calc(100% - 50px); height: 54px; }
  .addr-row .btn { width: 100%; height: 52px; border-left: 0; border-top: 1px solid var(--ink); }
  .hero-facts div { padding-right: 8px; }
  .hero-sheet { padding: 12px 12px 0; }
  .titleblock { grid-template-columns: repeat(2, 1fr); margin: 0 -12px; }
  .titleblock > div:nth-child(3) { border-left: 0; }
  .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--rule-strong); }
  #hero-drawing .anno { display: none; }

  .process { grid-template-columns: 1fr; }
  .process li, .process li:nth-child(even) { border-left: 0; padding: 22px 0 26px; }
  .illu { margin: 18px 0; }

  .row-split { grid-template-columns: 1fr; gap: 18px; }
  .lm-total { flex-direction: column; align-items: stretch; }
  .lm-total .btn { width: 100%; }
  .cfg-hint { display: none; }

  .occasions li { grid-template-columns: 36px minmax(0, 1fr); gap: 6px 12px; padding: 22px 0; }
  .occasions p { grid-column: 2; }
  .occasions .win { display: none; }
  .b2b { padding: 36px 20px 24px; box-shadow: 6px 6px 0 var(--ink); }

  .sizes-sheet { padding: 28px 16px 24px; }
  .dimv { left: -14px; }
  .dimv b { right: 4px; font-size: 10px; }
  .size-price span { font-size: 2.7rem; }

  .faq summary { grid-template-columns: 36px minmax(0, 1fr) 24px; font-size: 1.05rem; }
  .faq details p { padding: 0 0 22px 36px; }

  .order { box-shadow: 6px 6px 0 var(--ink); }
  .order-body { padding: 24px 18px; }
  .order-head { padding: 12px 18px; }
  .two { grid-template-columns: 1fr; }
  .order-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
