/* ==========================================================================
   derDVDD / XMO — Design-System
   Dark-first. Marke Gelb. Grün & Blau als Aurora. Schrift: Poppins (lokal).
   Aufbau:  1 Tokens · 2 Reset · 3 Typo · 4 Layout · 5 Aurora/Grain
            6 Buttons · 7 Header/Nav · 8 Hero
           10 Sections · 11 Cards · 12 Timeline · 13 Produkte · 14 Galerie/Lightbox
           15 Formulare · 16 Empfehlungen · 17 3D-Viewer · 18 Footer
           19 Cookie · 20 Reveal-Animationen · 21 Utilities · 22 Reduced-Motion/Print
   ========================================================================== */

/* ---------- 1 · Tokens ---------------------------------------------------- */
:root {
  color-scheme: dark; /* native Formularelemente (Select-Popups etc.) im Dark-Theme rendern */
  --bg:        #080e13;    /* Basis mit Blaugrün-Unterton */
  --bg-1:      #0c1620;    /* Alt-Sektionen: sichtbar kühler */
  --bg-2:      #121d28;
  --bg-3:      #1a2836;
  --line:        rgba(120, 200, 220, 0.12);
  --line-strong: rgba(140, 210, 230, 0.22);

  --ink:      #eef4f6;
  --ink-soft: #a9bcc4;
  --ink-mute: #6a7d88;

  --brand:      #ffc82e;   /* XMO-Gelb — Markenakzent */
  --brand-deep: #f0a500;
  --brand-ink:  #1c1600;   /* Text auf Gelb */
  --green:      #16d989;   /* Lieblingsfarbe 1 */
  --green-deep: #0e9b63;
  --blue:       #3ba0ff;   /* Lieblingsfarbe 2 */
  --blue-deep:  #1f6fd6;
  --danger:     #ff6b6b;
  --ok:         #37d9a0;

  --container: 1180px;
  --container-narrow: 760px;
  --radius:    18px;
  --radius-sm: 11px;
  --radius-lg: 26px;

  --shadow:      0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 12px 34px -20px rgba(0, 0, 0, 0.65);
  --glow-brand:  0 0 0 1px rgba(255, 200, 46, 0.35), 0 16px 44px -18px rgba(255, 200, 46, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.45s;

  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --step-eyebrow: 0.78rem;
}

/* ---------- 2 · Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--brand); color: var(--brand-ink); }

/* ---------- 3 · Typo -------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #fff;
}
h1 { font-size: clamp(2.15rem, 1.5rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.28rem);
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 54ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--step-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  max-width: 100%;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 2px;
  border-top: 2px dashed var(--brand);
}
@media (max-width: 480px) {
  .eyebrow { gap: 8px; letter-spacing: 0.1em; }
  .eyebrow::before { width: 16px; }
}

/* „Stitch" — Naht-Linie, greift die gelbe Kontrastnaht der XMO-Hoodies auf */
.stitch {
  width: 66px;
  height: 0;
  border-top: 2px dashed var(--brand);
  margin: 20px 0 0;
}

/* ---------- 4 · Layout ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px);
}
.container-narrow { max-width: var(--container-narrow); }

.grid { display: grid; gap: clamp(18px, 3vw, 30px); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 719px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 5 · Aurora + Grain -------------------------------------
   Fluid-Shader (js/fluid-aurora.js) statt CSS-Blobs — WebGL-Canvas liegt
   fest hinter allem, gleiche Markenfarben (Grün/Blau/Gelb), aber organisch
   wabernd und maus-reaktiv statt starrer Verläufe + Animationen. */
#fluid-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Zusätzlicher Farbverlauf am Seitenkörper – trägt Grün/Blau auch ohne den Shader */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(120vmax 80vmax at 10% -10%, rgba(22, 217, 137, 0.12), transparent 60%),
    radial-gradient(110vmax 80vmax at 100% 0%, rgba(59, 160, 255, 0.14), transparent 55%),
    radial-gradient(90vmax 70vmax at 50% 120%, rgba(31, 111, 214, 0.12), transparent 60%);
  background-attachment: fixed;
}

body::after {   /* feines Korn für „Print"-Haptik */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 6 · Buttons ------------------------------------------- */
.btn {
  --pad-y: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--pad-y) 1.6rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform;
}
.btn-block { white-space: normal; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); box-shadow: var(--glow-brand); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-mute); transform: translateY(-2px); }

.btn-line { padding: 0.4rem 0; border-radius: 0; color: var(--ink); font-weight: 600; }
.btn-line span { border-bottom: 2px solid var(--brand); padding-bottom: 3px; transition: letter-spacing var(--dur) var(--ease); }
.btn-line:hover span { letter-spacing: 0.02em; }

.btn-sm { --pad-y: 0.68rem; font-size: 0.88rem; padding-left: 1.15rem; padding-right: 1.15rem; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }
.btn-block { width: 100%; }

/* ---------- 7 · Header / Nav ------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
  /* dezenter Verlauf, damit die Navigation auch über der hellen Aurora lesbar ist */
  background: linear-gradient(180deg, rgba(6, 10, 14, 0.7), rgba(6, 10, 14, 0.15) 70%, transparent);
}
.site-header.is-stuck {
  background: rgba(8, 12, 17, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  color: #fff;
}
.brand b { color: var(--brand); font-weight: 800; }
.brand .der { font-size: 0.62em; font-weight: 500; color: var(--ink-soft); margin-right: 1px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
}
.nav a {
  font-size: 0.92rem;
  font-weight: 550;
  color: #dde6ea;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  border-top: 2px dashed var(--brand);
  transition: right var(--dur) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 74px 0 0 auto;
    width: min(340px, 82vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 26px 40px;
    background: var(--bg-1);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); box-shadow: -40px 0 80px -20px rgba(0,0,0,0.6); }
  .nav a {
    padding: 15px 0;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateX(12px);
  }
  .nav.is-open a { animation: navIn var(--dur) var(--ease) forwards; }
  .nav.is-open a:nth-child(1) { animation-delay: 0.04s; }
  .nav.is-open a:nth-child(2) { animation-delay: 0.08s; }
  .nav.is-open a:nth-child(3) { animation-delay: 0.12s; }
  .nav.is-open a:nth-child(4) { animation-delay: 0.16s; }
  .nav.is-open a:nth-child(5) { animation-delay: 0.20s; }
  .nav.is-open a:nth-child(6) { animation-delay: 0.24s; }
  .nav.is-open a:nth-child(7) { animation-delay: 0.28s; }
  .nav.is-open a:nth-child(8) { animation-delay: 0.32s; }
  .nav.is-open a:nth-child(9) { animation-delay: 0.36s; }
  .nav.is-open a:nth-child(10) { animation-delay: 0.40s; }
  .nav.is-open a:nth-child(11) { animation-delay: 0.44s; }
  .nav .btn { margin: 20px 0 0; }
}
@keyframes navIn { to { opacity: 1; transform: translateX(0); } }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4, 5, 8, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur), visibility var(--dur);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- 8 · Hero ------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1.02fr 0.98fr; } }
.hero h1 { margin: 16px 0 0; max-width: 15ch; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { margin-top: 20px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.scroll-cue::before {
  content: "";
  width: 22px; height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(var(--brand), var(--brand)) no-repeat 50% 6px / 3px 7px;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0%,100% { background-position-y: 6px; opacity: 1; } 50% { background-position-y: 16px; opacity: 0.4; } }

/* ---------- 10 · Sections ------------------------------------ */
.section { padding: clamp(60px, 10vw, 122px) 0; position: relative; }
.section-alt {
  /* Bewusst OHNE eigenen Hintergrund (auch kein leichtes rgba mehr): jede
     Deckkraft-Differenz zu .section erzeugt eine sichtbare Kante, sobald der
     Fluid-Shader an der Grenze unterschiedlich hell ist — wie eine Milchglas-
     Scheibe. Komplett transparent macht section-alt optisch identisch zu
     section, einheitlich von oben bis unten. */
}
.section-head { max-width: 60ch; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .stitch { margin-inline: auto; }

/* Split-Feature (zwei Welten) */
.split { display: grid; gap: clamp(22px, 4vw, 40px); }
@media (min-width: 860px) { .split { grid-template-columns: repeat(2, 1fr); } }
.world {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(140% 140% at 0% 0%, rgba(22, 217, 137, 0.12), transparent 55%),
    radial-gradient(140% 140% at 100% 100%, rgba(59, 160, 255, 0.12), transparent 55%),
    var(--bg-2);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.world:hover {
  border-color: rgba(59, 160, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -22px rgba(59, 160, 255, 0.4);
}
.world:nth-child(2):hover { border-color: rgba(22, 217, 137, 0.5); box-shadow: 0 18px 44px -22px rgba(22, 217, 137, 0.4); }
.world .kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.world h3 { margin: 8px 0 12px; }
.world p { margin-bottom: 22px; }
.world .world-mark {
  position: absolute;
  right: -20px; top: -20px;
  width: 120px; height: 120px;
  opacity: 0.09;
}

/* Weg-Karten (Startseite: „Zwei Wege") */
.path-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 160, 255, 0.42);
  box-shadow: 0 18px 44px -22px rgba(59, 160, 255, 0.38);
}
.path-media { aspect-ratio: 16 / 11; overflow: hidden; background: #f4f4f2; }
.path-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.6s var(--ease); }
.path-card:hover .path-media img { transform: scale(1.04); }
.path-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.path-body .kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.path-body h3 { margin: 8px 0 12px; }
.path-body p { margin-bottom: 22px; }
.path-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- 11 · Cards ------------------------------------- */
.card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  height: 100%;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: rgba(59, 160, 255, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -22px rgba(59, 160, 255, 0.35);
}
.card .ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(22,217,137,0.18), rgba(59,160,255,0.18));
  border: 1px solid rgba(59, 160, 255, 0.28);
  color: var(--green);
  margin-bottom: 16px;
}
.card:hover .ico { color: var(--blue); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; }

ul.check { margin-top: 14px; display: grid; gap: 10px; }
ul.check li { position: relative; padding-left: 26px; font-size: 0.94rem; color: var(--ink-soft); }
ul.check li::before {
  content: "";
  position: absolute; left: 2px; top: 7px;
  width: 11px; height: 7px;
  border: 2px solid var(--green);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
.card ul.check li { font-size: 0.9rem; }

.pricecard {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  height: 100%;
}
.pricecard.is-featured { border-color: var(--brand); background: radial-gradient(120% 120% at 50% 0%, rgba(255,200,46,0.1), var(--bg-2) 60%); }
.pricecard .tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.pricecard .amount { font-size: 2rem; font-weight: 800; color: #fff; margin: 10px 0 2px; }
.pricecard .amount small { font-size: 0.9rem; font-weight: 500; color: var(--ink-mute); }
.pricecard ul { margin: 18px 0 24px; display: grid; gap: 10px; }
.pricecard li { padding-left: 22px; position: relative; font-size: 0.92rem; color: var(--ink-soft); }
.pricecard li::before { content: "+"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.pricecard .btn { margin-top: auto; }

/* ---------- 12 · Timeline --------------------------------- */
.timeline { position: relative; margin-left: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--green), var(--blue) 55%, transparent);
}
.tl-item { position: relative; padding: 0 0 clamp(28px, 4vw, 42px) clamp(26px, 4vw, 40px); }
.tl-item::before {
  content: "";
  position: absolute;
  left: -6px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line-strong);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; color: var(--brand); }
.tl-item h4 { margin: 4px 0 6px; font-size: 1.15rem; }
.tl-item p { font-size: 0.96rem; }

.tl-row { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(16px, 4vw, 32px); }
.tl-text { flex: 1 1 auto; min-width: 0; }
.tl-media { flex: 0 0 auto; display: flex; gap: 8px; align-items: flex-end; }
.tl-media img { display: block; width: clamp(72px, 14vw, 130px); height: auto; filter: drop-shadow(0 8px 16px rgb(0 0 0 / 0.35)); }
@media (max-width: 680px) {
  .tl-row { flex-direction: column-reverse; align-items: flex-start; }
  .tl-media { margin-bottom: 4px; }
  .tl-media img { width: clamp(96px, 30vw, 150px); }
}

/* Freigestellte Szenen/Figuren (transparentes PNG, ohne Rahmen) */
.cutout { display: block; width: 100%; height: auto; margin-inline: auto; filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.38)); }
.cutout-tall { width: auto; max-width: 100%; max-height: min(78vh, 680px); }

/* ---------- 13 · Produkte (XMO) --------------------------- */

/* Vorschau-Fenster (XMO-Startseite) */
.preview-grid { display: grid; gap: clamp(20px, 4vw, 34px); }
@media (min-width: 820px) { .preview-grid { grid-template-columns: 1fr 1fr; } }

.preview-window {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.preview-window .btn { position: relative; z-index: 1; }
.preview-window:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 26px 60px -28px rgba(255, 200, 46, 0.32);
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.preview-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.preview-bar i:nth-child(1) { background: #ff6b6b; }
.preview-bar i:nth-child(2) { background: var(--brand); }
.preview-bar i:nth-child(3) { background: var(--green); }
.preview-bar span { margin-left: 6px; }
.preview-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f2;
}
.preview-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.preview-window:hover .preview-media img { transform: scale(1.05); }
.preview-media .preview-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-ink);
}
.preview-body { padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; flex: 1; }
.preview-body h3 { font-size: 1.35rem; }
.preview-body .sub { color: var(--ink-soft); font-size: 0.96rem; margin: 8px 0 16px; }
.preview-body .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.preview-body .btn { align-self: flex-start; margin-top: auto; }
.preview-window a.stretch::after {   /* ganze Kachel klickbar */
  content: ""; position: absolute; inset: 0;
}

/* Spec-Liste (Detailseiten) */
.specs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-mute); font-weight: 600; }
.specs dd { color: var(--ink); margin: 0; }
.specs div:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }

.product {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #fff;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
}
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1.08rem; }
.product-price { font-weight: 700; color: #fff; }
.product-price small { font-weight: 500; color: var(--ink-mute); font-size: 0.8rem; margin-left: 6px; }
.swatches { display: flex; gap: 6px; margin: 6px 0 14px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); }
.product .btn { margin-top: auto; }

/* ---------- 14 · Galerie / Lightbox ---------------------- */
.rail-wrap { position: relative; }
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.rail > figure {
  flex: 0 0 min(80vw, 340px);
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.rail > figure img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: #fff; cursor: zoom-in; transition: transform 0.5s var(--ease); }
.rail > figure:hover img { transform: scale(1.04); }
.rail > figure figcaption { padding: 12px 16px; font-size: 0.86rem; color: var(--ink-soft); }
.rail-nav {
  position: absolute;
  top: 40%;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 12, 17, 0.8);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background var(--dur), transform var(--dur), opacity var(--dur);
}
.rail-nav:hover { background: var(--brand); color: var(--brand-ink); }
.rail-nav[hidden] { display: none; }
.rail-nav.prev { left: -8px; }
.rail-nav.next { right: -8px; }
@media (max-width: 640px) { .rail-nav { display: none; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vw, 60px);
  background: rgba(4, 5, 8, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur), visibility var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 1100px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius-sm); background: #fff; }
.lightbox figcaption { text-align: center; color: var(--ink-soft); margin-top: 14px; font-size: 0.9rem; }
.lightbox button {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: #fff;
  transition: background var(--dur), transform var(--dur);
}
.lightbox button:hover { background: var(--brand); color: var(--brand-ink); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- 15 · Formulare ------------------------------ */
.form { display: grid; gap: 18px; }
@media (min-width: 620px) { .form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand); }
.field input, .field textarea, .field select,
.mm-subcard select {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transition: border-color var(--dur), box-shadow var(--dur);
}
/* color-scheme allein reicht nicht überall, um das Dropdown-Popup selbst
   dunkel zu rendern (Text sonst hell auf hellem Grund) — Optionen bekommen
   deshalb explizit Hintergrund + Textfarbe als Basis. Farb-Auswahlfelder
   (Grundfarben/Mischfarben) überschreiben das zusätzlich per Inline-Style
   mit der jeweils echten Farbe, damit man sie beim Aufklappen sieht. */
.field select option,
.mm-subcard select option {
  background-color: var(--bg-1);
  color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 200, 46, 0.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.field.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.field.check label { font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.form-note { font-size: 0.82rem; color: var(--ink-mute); }
.form-status {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status.is-on { display: block; }
.form-status.ok { background: rgba(55, 217, 160, 0.12); color: var(--ok); border: 1px solid rgba(55, 217, 160, 0.3); }
.form-status.err { background: rgba(255, 107, 107, 0.1); color: var(--danger); border: 1px solid rgba(255, 107, 107, 0.3); }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; padding: 13px 15px; border-radius: 999px; background: var(--bg-1); border: 1px solid var(--line-strong); }
.inline-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 200, 46, 0.18); }

/* ---------- 16 · Empfehlungen -------------------------- */
.rec {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rec:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.rec-logo {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
  overflow: hidden;
}
.rec-logo img { width: 100%; height: 100%; object-fit: cover; }
.rec h3 { font-size: 1.1rem; }
.rec .role { font-size: 0.8rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.rec p { font-size: 0.94rem; margin-bottom: 12px; }
.rec .quote { border-left: 2px dashed var(--brand); padding-left: 12px; font-style: italic; color: var(--ink-soft); margin-bottom: 12px; }

/* ---------- 17 · 3D-Viewer (model-viewer) -------------- */
.viewer3d {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(59, 157, 255, 0.14), transparent 70%),
    var(--bg-2);
  --poster-color: transparent;
  --progress-bar-color: var(--brand);
  --progress-mask: transparent;
  overflow: hidden;
}
.viewer3d-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
}
.viewer3d-poster svg { color: var(--brand); opacity: 0.9; }
.viewer3d-poster p { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.viewer3d-poster p span { font-weight: 400; color: var(--ink-mute); font-size: 0.82rem; }

/* alter CSS-Würfel-Viewer (Fallback / andere Seiten) */
.viewer {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(59, 157, 255, 0.12), transparent 70%),
    var(--bg-2);
  overflow: hidden;
  perspective: 900px;
  cursor: grab;
  touch-action: pan-y;
}
.viewer:active { cursor: grabbing; }
.viewer-stage { transform-style: preserve-3d; width: 128px; height: 128px; position: relative; }
.viewer-face {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a3140, #1a1f2b);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}
.viewer-face.f1  { transform: rotateY(0deg)   translateZ(64px); }
.viewer-face.f2  { transform: rotateY(90deg)  translateZ(64px); background: linear-gradient(135deg, #313a4c, #202634); }
.viewer-face.f3  { transform: rotateY(180deg) translateZ(64px); }
.viewer-face.f4  { transform: rotateY(270deg) translateZ(64px); background: linear-gradient(135deg, #313a4c, #202634); }
.viewer-face.top { transform: rotateX(90deg)  translateZ(64px); background: linear-gradient(135deg, #3a4456, #232a38); }
.viewer-face.bot { transform: rotateX(-90deg) translateZ(64px); background: #14171f; }
.viewer-face::after {
  content: "";
  position: absolute;
  inset: 32% 32%;
  border: 2px solid var(--brand);
  border-radius: 50%;
  opacity: 0.5;
}
.viewer-hint {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  pointer-events: none;
}

/* ---------- 17b · FAQ (native details) ---------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 20px 20px; color: var(--ink-soft); font-size: 0.96rem; }
.faq details > div > * + * { margin-top: 0.8em; }

/* ---------- 18 · Footer -------------------------------- */
.site-footer {
  /* Bewusst ohne eigenen Hintergrund (auch kein rgba) — jede Deckkraft-
     Differenz zur vorherigen Section erzeugt eine sichtbare Kante. */
  padding: clamp(48px, 7vw, 76px) 0 30px;
  margin-top: clamp(60px, 10vw, 120px);
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -0.03em; }
.footer-brand b { color: var(--brand); }
.footer-brand .der { font-size: 0.62em; font-weight: 500; color: var(--ink-soft); }
.site-footer p { font-size: 0.9rem; max-width: 34ch; margin-top: 12px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.92rem; color: var(--ink-soft); padding: 5px 0; transition: color var(--dur); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--ink-mute);
}
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 19 · Cookie-Hinweis ----------------------- */
.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  transform: translateY(180%);
  z-index: 200;
  width: min(400px, calc(100vw - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 15px 17px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease);
}
.cookie.is-on { transform: translateY(0); }
.cookie p { font-size: 0.82rem; flex: 1; min-width: 200px; margin: 0; }
.cookie a { color: var(--brand); }
.cookie .btn { --pad-y: 0.6rem; font-size: 0.85rem; }

/* ---------- 20 · Reveal -------------------------------
   Grundzustand: sichtbar. Die Einblendung ist reine Zugabe und kann
   Inhalte niemals verstecken (auch nicht bei JS-Fehler oder Hintergrund-Tab). */
@media (prefers-reduced-motion: no-preference) {
  /* kein fill-mode: Element ist vor/nach der Animation immer im Normalzustand (sichtbar) */
  [data-reveal].reveal-play {
    animation: revealIn 0.7s var(--ease);
    animation-delay: calc(var(--i, 0) * 70ms);
  }
}
@keyframes revealIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: none; }
}

/* ---------- 21 · Utilities --------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.chip.solid { background: var(--brand); color: var(--brand-ink); border-color: transparent; font-weight: 600; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ul li { margin-top: 0.4em; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.notice {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  font-size: 0.9rem;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- 22 · Reduced-Motion / Print -------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cookie, #fluid-aurora, body::after, .scroll-cue, .nav-toggle { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3, h4 { color: #000; }
  p, li { color: #222; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 20px 0; }
}
