/* Layout: ruhige, zentrierte Spalte (max 1080px), große Typo, Sektionen im Wechsel hell / getönt / dunkel.
   Systemschrift statt Google Fonts: Apple-Look auf Apple-Geräten und DSGVO-sicher (keine externen Anfragen). */
:root {
  --bg: #ffffff;
  --tint: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --accent: #c2410c;          /* Glut, passend zur "Schmiede" */
  --accent-fg: #ffffff;
  --accent-soft: #fff1e8;
  --ok: #1f8a4c;
  --warn: #b26a00;
  --busy: #c8c8cd;
  --dark-bg: #000000;
  --dark-fg: #f5f5f7;
  --dark-muted: #a1a1a6;
  --box-hi: #2c2c2e; --box-lo: #111113; --box-edge: #3a3a3c; --box-screw: #48484a;
  --ph-a: #dfe7ef; --ph-b: #b9c7d6; --ph-c: #e8c9b8;
  --v3d-hi: #ffffff; --v3d-lo: #e8e8ed;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
  --wrap: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --v3d-hi: #3a3a3f; --v3d-lo: #141416; --tint: #101012; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2f2f33; --card: #1c1c1e;
    --accent: #ff7a3d; --accent-fg: #160800; --accent-soft: #2a160c; --ok: #4ed38a; --warn: #ffb648; --busy: #3a3a3e;
    --dark-bg: #0b0b0d; --box-hi: #3a3a3d; --box-lo: #1a1a1c; --box-edge: #4a4a4e; --box-screw: #5a5a5e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --v3d-hi: #3a3a3f; --v3d-lo: #141416; --tint: #101012; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2f2f33; --card: #1c1c1e;
  --accent: #ff7a3d; --accent-fg: #160800; --accent-soft: #2a160c; --ok: #4ed38a; --warn: #ffb648; --busy: #3a3a3e;
  --dark-bg: #0b0b0d; --box-hi: #3a3a3d; --box-lo: #1a1a1c; --box-edge: #4a4a4e; --box-screw: #5a5a5e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.47 var(--font); letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: 760px; }

/* Typo */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 10px; }
.eyebrow--dark { color: #ff8a4f; }
.display { font-size: clamp(48px, 9vw, 96px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.h2 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.07; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 18px; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; }
.lead { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; color: var(--muted); max-width: 40ch; }
.lead--dark { color: var(--dark-muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.glow {
  background: linear-gradient(100deg, #ff9a3c 0%, #ff5a1f 45%, #c2410c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0;
  background: var(--accent); color: var(--accent-fg); font: 600 17px var(--font);
  cursor: pointer; text-decoration: none; transition: transform .2s, filter .2s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--small { min-height: 30px; padding: 0 14px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--block { width: 100%; min-height: 52px; }
.link { font-size: 17px; font-weight: 500; }

/* Navigation */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav__in {
  max-width: var(--wrap); margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 24px;
  padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px));
}
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 18px; height: 18px; fill: var(--accent); }
.brand__tld { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--fg); font-size: 13px; opacity: .8; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 760px) { .nav__links { display: none; } .nav__in > .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 90px) 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__text { display: grid; gap: 22px; min-width: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero__from { font-size: 14px; color: var(--muted); }
.hero__from strong { color: var(--fg); }
.hero__art { margin: 0; min-width: 0; }
.hero__art figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.box-svg { width: 100%; max-width: 440px; margin: 0 auto; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .box-svg { max-width: 320px; } }

/* Countdown-Animation auf dem Box-Bildschirm (10 s Schleife) */
.box-svg .cd, .box-svg .shot { opacity: 0; }
.box-svg .idle { animation: idle 10s infinite; }
.box-svg .cd3 { animation: cd3 10s infinite; }
.box-svg .cd2 { animation: cd2 10s infinite; }
.box-svg .cd1 { animation: cd1 10s infinite; }
.box-svg .flash { opacity: .08; animation: flash 10s infinite; }
.box-svg .shot { animation: shot 10s infinite; }
@keyframes idle { 0%,18% {opacity:1} 20%,92% {opacity:0} 96%,100% {opacity:1} }
@keyframes cd3 { 0%,20% {opacity:0} 21%,29% {opacity:1} 30%,100% {opacity:0} }
@keyframes cd2 { 0%,30% {opacity:0} 31%,39% {opacity:1} 40%,100% {opacity:0} }
@keyframes cd1 { 0%,40% {opacity:0} 41%,49% {opacity:1} 50%,100% {opacity:0} }
@keyframes flash { 0%,50% {opacity:.08} 51% {opacity:1} 55%,100% {opacity:.08} }
@keyframes shot { 0%,53% {opacity:0} 57%,88% {opacity:1} 92%,100% {opacity:0} }
@media (prefers-reduced-motion: reduce) {
  .box-svg .idle, .box-svg .cd, .box-svg .flash { animation: none; }
  .box-svg .idle { opacity: 0; } .box-svg .shot { animation: none; opacity: 1; }
}

/* Schnell-Check */
.quick {
  margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) auto; gap: 12px; align-items: end;
  background: var(--tint); border-radius: 22px; padding: 18px;
}
.quick__f { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); min-width: 0; }
.quick__out { grid-column: 1 / -1; font-size: 15px; min-height: 0; }
.quick__out:empty { display: none; }
.quick__out .ok { color: var(--ok); font-weight: 600; }
.quick__out .no { color: var(--warn); font-weight: 600; }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } }

input, select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--fg); font: 16px var(--font);
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }

/* Sektionen */
.sec { padding-block: clamp(70px, 10vw, 120px); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark-bg); color: var(--dark-fg); }

/* 3D-Ansicht */
.sec--v3d { padding-block: clamp(50px, 7vw, 90px); }
.v3d { margin-top: 28px; border-radius: 32px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 50% 20%, var(--v3d-hi) 0%, var(--v3d-lo) 70%); }
.v3d__stage { height: clamp(380px, 56vw, 620px); cursor: grab; }
.v3d--drag .v3d__stage { cursor: grabbing; }
.v3d__stage canvas { display: block; width: 100% !important; height: 100% !important; }
.v3d__fallback { padding: 40px 24px; text-align: center; color: var(--muted); }
.v3d--nogl .v3d__stage { display: none; }
.v3d__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 16px; }
.v3d--nogl .v3d__bar { position: static; }
.v3d__bar .seg { background: color-mix(in srgb, var(--card) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.v3d__views { display: flex; gap: 6px; }
.chip { min-height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 85%, transparent); color: var(--fg); font: 500 14px var(--font); cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip:hover { border-color: var(--fg); }

/* Boxen-Vergleich */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.model { background: var(--tint); border-radius: 28px; padding: 34px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.model__tag { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; }
.model__tag--alt { color: var(--muted); background: var(--card); }
.spec { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 0; font-size: 15px; }
.model__price { font-size: 15px; color: var(--muted); }
.model__price strong { font-size: 22px; color: var(--fg); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .model { padding: 24px; } .spec div { grid-template-columns: 90px 1fr; } }

/* Features */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feat__i { background: var(--card); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; position: relative; overflow: hidden; }
.feat__i--wide { grid-column: span 2; grid-row: span 2; padding-bottom: 210px; }
.qr { width: 64px; height: 64px; fill: var(--fg); margin-top: 8px; }
.print-stack { position: absolute; left: 50%; bottom: -30px; width: 160px; height: 220px; transform: translateX(-50%); }
.print-stack span { position: absolute; inset: 0; border-radius: 4px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.15); border: 8px solid #fff; border-bottom-width: 36px; }
.print-stack span::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--ph-a), var(--ph-b) 60%, var(--ph-c)); }
.print-stack span::after { content: ""; position: absolute; inset: 0; background: center / cover no-repeat url("img/laura-marco-1.jpg"); }
.print-stack span:nth-child(1)::after { background-image: url("img/laura-marco-2.jpg"); }
.print-stack span:nth-child(2)::after { background-image: url("img/laura-marco-3.jpg"); }
.print-stack::after { content: "KI-generiert"; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; font-size: 10px; color: #6e6e73; white-space: nowrap; }
.print-stack span:nth-child(1) { transform: rotate(-9deg) translateX(-46px); }
.print-stack span:nth-child(2) { transform: rotate(7deg) translateX(44px); }
.print-stack span:nth-child(3) { transform: translateY(-10px); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr 1fr; } .feat__i--wide { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } .feat__i--wide { grid-column: auto; } }

/* Gebaut in Mainz */
.made { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.made__text { display: grid; gap: 20px; min-width: 0; }
.made__text .h2 { color: var(--dark-fg); }
.made__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; min-width: 0; }
.made__facts li { display: grid; gap: 2px; border-top: 1px solid #2c2c2e; padding-top: 14px; }
.made__facts strong { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.made__facts span { color: var(--dark-muted); font-size: 15px; }
.made__img { margin: 0; background: #f7f7f7; border-radius: 28px; padding: 20px; min-width: 0; }
.made__img img { mix-blend-mode: multiply; border-radius: 12px; }
.made__img figcaption { color: #6e6e73; font-size: 12px; text-align: center; margin-top: 6px; }
@media (max-width: 860px) { .made { grid-template-columns: 1fr; } }

/* Pakete */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.plan { border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: grid; gap: 14px; align-content: start; min-width: 0; background: var(--card); }
.plan--hi { border: 2px solid var(--accent); position: relative; }
.plan__badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan__price { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: 8px; }
.extras { margin-top: 44px; display: grid; gap: 14px; }
.extras ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.extras li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .extras ul { grid-template-columns: 1fr; } }

/* Layout-Vorschau */
.lay { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.lay__ctrl { display: grid; gap: 18px; min-width: 0; }
.lay__prev { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, legend { font-size: 13px; font-weight: 600; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.seg legend { float: left; width: 100%; margin-bottom: 6px; padding: 0 2px; }
#lForm { display: flex; background: none; border: 0; padding: 0; }
#lForm label, .seg label { position: relative; }
.seg input, .swatches input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 16px; border-radius: 9px; font-size: 15px; cursor: pointer; background: var(--card); border: 1px solid var(--line); }
.seg--inline span, #lForm span { border: 0; }
#lForm span { border: 1px solid var(--line); margin-right: 6px; }
.seg input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches legend { width: 100%; margin-bottom: 6px; }
.swatches label { position: relative; cursor: pointer; }
.swatches span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.swatches input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }

.print {
  --pbg: #fff; --pfg: #1d1d1f; --pph: #e3e3e6;
  width: min(300px, 100%); aspect-ratio: 2 / 3; background: var(--pbg); color: var(--pfg);
  padding: 7% 7% 0; display: grid; grid-template-rows: 1fr auto auto; gap: 0; border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 24px 50px rgba(0,0,0,.16); transition: background .3s, color .3s;
}
.print[data-farbe="schwarz"] { --pbg: #1d1d1f; --pfg: #f5f5f7; --pph: #3a3a3c; }
.print[data-farbe="salbei"] { --pbg: #c9d5c4; --pfg: #26331f; --pph: #b0bfaa; }
.print[data-farbe="rose"] { --pbg: #f3dcd8; --pfg: #5a2a24; --pph: #e2c2bc; }
.print[data-farbe="nachtblau"] { --pbg: #1f2a44; --pfg: #f0e6d2; --pph: #34405e; }
.print__photos { display: grid; gap: 4%; min-height: 0; }
.print[data-form="1"] .print__photos { grid-template-rows: 1fr; }
.print[data-form="3"] .print__photos { grid-template-rows: repeat(3, 1fr); gap: 3%; }
.print[data-form="4"] .print__photos { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.print__ph { background: var(--pph) center / cover no-repeat; display: grid; place-items: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--pfg) 45%, transparent); min-height: 0; }
.print__ph { position: relative; }
.print__ph::after { content: "KI-generiert"; position: absolute; right: 3px; bottom: 3px; font-size: 7px; line-height: 1; letter-spacing: 0; text-transform: none; color: #fff; background: rgba(0,0,0,.45); padding: 2px 4px; border-radius: 3px; }
.print__t1 { font-size: clamp(17px, 2.4vw, 22px); font-weight: 650; text-align: center; padding-top: 8%; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.print__t2 { font-size: 11px; text-align: center; letter-spacing: .12em; text-transform: uppercase; opacity: .7; padding: 2% 0 9%; overflow-wrap: anywhere; }
@media (max-width: 860px) { .lay { grid-template-columns: 1fr; } }

/* Einsatzgebiet */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0 14px; }
.area__i { background: var(--card); border-radius: 24px; padding: 28px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.area__list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area__list li { font-size: 14px; padding: 6px 12px; border-radius: 99px; background: var(--tint); }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--fg); min-width: 0; }
.steps li::before { content: counter(s); font-size: 44px; font-weight: 700; letter-spacing: -0.04em; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Galerie (Platzhalter) */
.gal { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 32px; padding-bottom: 10px; min-width: 0; }
.gal__i {
  flex: 0 0 min(300px, 78%); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 22px;
  display: grid; place-content: center; text-align: center; color: var(--muted); font-weight: 600; font-size: 15px;
  background: repeating-linear-gradient(135deg, var(--card) 0 14px, var(--tint) 14px 28px); border: 1px dashed var(--line);
}
.gal__i small { font-weight: 400; }

/* Buchung */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; margin-top: 32px; align-items: start; }
.book__cal { display: grid; gap: 16px; position: sticky; top: 72px; min-width: 0; }
.seg--inline { justify-self: start; }
.cal { border: 1px solid var(--line); border-radius: 24px; padding: 20px; background: var(--card); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-weight: 650; font-size: 19px; letter-spacing: -0.02em; }
.cal__nav { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint); color: var(--fg); font-size: 22px; cursor: pointer; line-height: 1; }
.cal__nav[disabled] { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
.day {
  aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: var(--fg);
  font: 500 16px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; position: relative; min-width: 0; padding: 0;
}
.day:hover:not([disabled]) { background: var(--tint); }
.day--free::after, .day--nodruck::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.day--free::after { background: var(--ok); }
.day--nodruck::after { background: var(--warn); }
.day--busy { color: var(--busy); text-decoration: line-through; cursor: not-allowed; }
.day--past { color: var(--busy); cursor: default; }
.day--sel { background: var(--accent) !important; color: var(--accent-fg); }
.day--sel::after { background: var(--accent-fg); }
.day--today { box-shadow: inset 0 0 0 1px var(--line); }
.cal__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 12px; }
.lg { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.lg--free { background: var(--ok); } .lg--nodruck { background: var(--warn); } .lg--busy { background: var(--busy); }

.book__form { display: grid; gap: 22px; min-width: 0; }
.pick { background: var(--tint); border-radius: 16px; padding: 16px 18px; font-size: 15px; }
.pick b { font-size: 19px; display: block; letter-spacing: -0.02em; }
.opts { display: grid; gap: 8px; }
.opts legend { margin-bottom: 8px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--card); }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.opt input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); margin: 0; }
.opt > span { display: grid; gap: 2px; min-width: 0; }
.opt b { font-weight: 600; font-size: 15px; }
.opt small { color: var(--muted); font-size: 13px; }
.opt em { font-style: normal; font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sum { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 6px; font-size: 15px; }
.sum__row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum__row span:first-child { color: var(--muted); }
.sum__total { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum__total span:first-child { color: var(--fg); }
.form-msg { font-size: 15px; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: #d70015; }
.field--err input, .field--err select { border-color: #d70015; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .book__cal { position: static; } }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Footer */
.foot { background: var(--tint); padding-block: 40px; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.foot__in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot__in > div:first-child { display: grid; gap: 10px; max-width: 420px; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.foot__links a { color: var(--fg); }
.foot__bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Rechtsseiten */
.legal { padding-block: 50px 90px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.035em; margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--fg); max-width: 68ch; }
.legal p + p { margin-top: 10px; }
.legal .todo { background: var(--accent-soft); color: var(--accent); padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.legal .note { background: var(--tint); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ---------- Handy-Optimierung ---------- */
html { -webkit-tap-highlight-color: transparent; }
button, .btn, .chip, .day, .opt, .seg span, .swatches span, summary { touch-action: manipulation; }
.nav .btn--small { white-space: nowrap; }
.foot { padding-bottom: max(40px, calc(env(safe-area-inset-bottom, 0px) + 24px)); }
#pickInfo { scroll-margin-top: 70px; }
.book__form .opt small[hidden] { display: none; }

@media (max-width: 700px) {
  .v3d { border-radius: 24px; }
  .v3d__stage { height: 380px; }
  .v3d__bar { position: static; padding: 0 14px 18px; gap: 10px; }
  .v3d__bar .seg, .v3d__views { flex: 1 1 100%; justify-content: center; }
  .v3d__bar .seg { display: flex; }
  .v3d__bar .seg label { flex: 1; text-align: center; }
  .v3d__views .chip { flex: 1; min-height: 40px; }
  .v3d__bar [data-ausloesen] { flex: 1 1 100%; min-height: 44px; font-size: 16px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding-block: 56px; }
  .nav__in { gap: 12px; height: 50px; }
  .brand { font-size: 15px; }
  .hero { padding-block: 28px 20px; }
  .hero__art { display: none; }
  .hero__text { gap: 18px; }
  .lead { font-size: 18px; }
  .hero__cta { gap: 14px; }
  .hero__cta .btn { flex: 1 1 100%; min-height: 50px; }
  .hero__cta .link { margin-inline: auto; }
  .hero__from { text-align: center; }
  .quick { margin-top: 24px; padding: 14px; border-radius: 18px; }
  .quick .btn { min-height: 48px; }
  .h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .eyebrow { margin-bottom: 6px; }
  .compare, .feat, .plans, .area { margin-top: 26px; gap: 14px; }
  .model, .feat__i, .area__i { padding: 22px; border-radius: 22px; }
  .feat__i--wide { padding-bottom: 190px; }
  .plan { padding: 24px; border-radius: 22px; }
  .plan__price { font-size: 40px; }
  .plan .btn { min-height: 48px; }
  .extras { margin-top: 32px; }
  .made { gap: 30px; }
  .made__facts { gap: 20px 16px; }
  .made__facts strong { font-size: 22px; }

  /* Layout-Vorschau: Druck bleibt oben sichtbar, während man tippt */
  .lay { gap: 20px; }
  .lay__prev { order: -1; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 50px); z-index: 5;
    background: var(--tint); padding: 10px 0 12px; width: 100%; box-shadow: 0 10px 14px -12px rgba(0,0,0,.25); }
  .print { width: 150px; }
  .print__t1 { font-size: 13px; }
  .print__t2 { font-size: 8px; }
  .lay__prev .hint { font-size: 12px; }
  .seg span { padding: 10px 14px; }
  .swatches span { width: 40px; height: 40px; }
  #lUse { min-height: 48px; }

  .steps { margin-top: 26px; gap: 22px; }
  .steps li::before { font-size: 36px; }
  .book { margin-top: 22px; gap: 26px; }
  .cal { padding: 14px 10px; border-radius: 20px; }
  .cal__dow, .cal__grid { gap: 2px; }
  .day { font-size: 15px; }
  .seg--inline { display: flex; justify-self: stretch; }
  .seg--inline label { flex: 1; text-align: center; }
  .opt { padding: 13px 14px; gap: 10px; }
  .sum__total { font-size: 20px; }
  .faq summary { font-size: 17px; padding-block: 16px; }
  .foot__links { gap: 4px 20px; }
  .foot__links a { padding: 8px 0; }
  .gal__i { flex-basis: 72%; }
}
.seg input, .swatches input { width: 1px; height: 1px; min-height: 0; margin: 0; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; }

/* Eröffnungsangebot */
.promo{margin:14px 0 0;display:inline-block;padding:8px 14px;border-radius:12px;background:var(--accent-soft);color:var(--fg);font-size:15px;line-height:1.4}
.promo b{color:var(--accent);margin-right:4px}
.plan__price s{color:var(--muted);font-weight:500;font-size:.6em;margin-right:6px}

/* Hinweis zu Cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: 560px; margin: 0 auto; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.18); font-size: 13px; line-height: 1.45; color: var(--fg); }
.cookie p { margin: 0; flex: 1; }
.cookie .btn { flex: none; min-width: 64px; }
