/* MRVN – öffentliche Website (mrvn.info)
   Ein Stylesheet, keine externen Ressourcen. Farben aus ventureforge/branding.py. */

:root {
  --bg: #0A0B0E;
  --bg-2: #0E1014;
  --graphite: #16181D;
  --carbon: #1F2228;
  --slate: #2A2E36;
  --steel: #8A8F98;
  --mist: #D5D8DD;
  --text: #F4F4F2;
  --muted: #9AA0AA;
  --faint: #6B717C;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --accent: #4C7DFF;
  --accent-2: #8FB0FF;
  --accent-glow: rgba(76, 125, 255, .35);

  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografie ---------- */
.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(76,125,255,.15); }
.kicker { color: var(--accent-2); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; }
.hero__title { font-size: clamp(40px, 5.5vw, 78px); line-height: 1.02; letter-spacing: -.045em; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.statement { font-size: clamp(32px, 5vw, 68px); line-height: 1.05; letter-spacing: -.04em; max-width: 24ch; }
.grad {
  background: linear-gradient(100deg, #FFFFFF 0%, var(--accent-2) 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 62ch; margin: 28px 0 0; line-height: 1.65; }
.lead--sm { font-size: 17px; margin: 0; max-width: 42ch; }
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.num { font-family: var(--mono); font-size: .78em; color: var(--accent-2); letter-spacing: .04em; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { background: #5B89FF; box-shadow: 0 14px 40px -10px rgba(76,125,255,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.btn__icon { width: 18px; height: 18px; }

/* Fehlende Angaben (Vorschau): sichtbar markiert, bis die Inhaberin sie liefert */
[data-missing] { position: relative; }
[data-missing]::after {
  content: "FEHLT: " attr(data-missing);
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  font: 600 10px/1 var(--mono); letter-spacing: .06em; white-space: nowrap;
  padding: 5px 8px; border-radius: 6px; background: #3A1F1F; color: #FFB4B4; border: 1px solid #6B2E2E;
}
.missing { font-family: var(--mono); font-size: .86em; color: #FFB4B4; background: #2A1717; border: 1px solid #5A2626; border-radius: 6px; padding: 1px 6px; }
.review { display: block; margin: 12px 0; padding: 12px 14px; border-radius: 10px; border: 1px dashed #6E5A26; background: #1F1A0E; color: #F1D9A0; font-size: 14px; }
.review::before { content: "ZUR RECHTLICHEN PRÜFUNG · "; font: 600 11px/1 var(--mono); letter-spacing: .08em; color: #D9A441; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 11, 14, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { width: 30px; height: 30px; margin: -2px -2px; }
.brand__word { font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.nav__links { display: none; gap: 4px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: color .25s, background .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.05); }
.nav__cta { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color .25s, background .25s; }
.nav__cta:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(96px + env(safe-area-inset-top)) 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* feines Raster */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 0%, transparent 75%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; right: -220px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(76,125,255,.20) 0%, rgba(76,125,255,.06) 35%, transparent 65%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 52ch; margin: 28px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__stage { position: relative; height: clamp(380px, 105vw, 560px); margin: 8px calc(-1 * var(--gutter)) 0; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid var(--line-2); border-radius: 12px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent-2); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 24px; }
  .hero__stage { height: min(78vh, 720px); margin: 0 calc(-1 * var(--gutter)) 0 -80px; }
  .hero__scroll { display: block; }
}

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.pillars { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pillar {
  position: relative; padding: 32px 28px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  overflow: hidden;
}
.pillar::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143,176,255,.5), transparent); opacity: .6; }
.pillar__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--mist); margin-bottom: 28px; }
.pillar__icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- 3D-Bühne (Hero + HQ) ---------- */
.stage { position: absolute; inset: 0; perspective: 2600px; perspective-origin: 50% 40%; overflow: hidden; }
.stage--hero { -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 55%, transparent 100%); }
.cam { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.world { position: absolute; transform-style: preserve-3d; }
.world * { transform-style: preserve-3d; }
.world .f, .world .ring, .world .beam { transform-style: flat; } /* Flächen samt Inhalt gemeinsam ausblenden */
.b { position: absolute; transform-origin: 50% 50%; }
.f {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  --sh: .3;
}
.f::after { content: ""; position: absolute; inset: 0; background: #05060A; opacity: var(--sh); pointer-events: none; transition: opacity .6s; }
.f.top::after { opacity: calc(var(--sh) * .5); }

/* Glas-Fassade */
.bld .f.side {
  background-color: #151922;
  background-image:
    linear-gradient(180deg, rgba(143,176,255,.16), rgba(143,176,255,0) 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 1px, transparent 1px 11px);
  box-shadow: inset 0 0 0 1px rgba(143,176,255,.14);
}
.bld .f.top {
  background:
    radial-gradient(circle at 50% 50%, rgba(76,125,255,.10), transparent 70%),
    linear-gradient(135deg, #222733, #171A21);
  box-shadow: inset 0 0 0 1px rgba(143,176,255,.28);
}
/* Massive Bauteile (Sockel, Plattform) */
.solid .f.side { background: linear-gradient(180deg, #1D2029, #121419); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.solid .f.top { background: linear-gradient(135deg, #1B1E26, #13151B); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
/* Leuchtbänder */
.glow .f.side { background: linear-gradient(180deg, #A9C2FF, #4C7DFF); box-shadow: 0 0 18px rgba(76,125,255,.8); }
.glow .f.top { background: linear-gradient(135deg, #2C4A9E, #18275A); box-shadow: inset 0 0 0 1.5px rgba(169,194,255,.9), inset 0 0 24px rgba(76,125,255,.45); }
.glow .f::after { opacity: calc(var(--sh) * .35); }
.lobby .f.side {
  background-color: #1A2234;
  background-image: linear-gradient(180deg, rgba(143,176,255,.45), rgba(76,125,255,.08)), repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 22px);
  box-shadow: inset 0 0 0 1px rgba(143,176,255,.3);
}
.win { position: absolute; width: 10px; height: 8px; background: rgba(170,195,255,.85); box-shadow: 0 0 6px rgba(143,176,255,.8); opacity: 0; animation: win 9s ease-in-out infinite; }
@keyframes win { 0%, 100% { opacity: 0; } 20%, 70% { opacity: .9; } }

.floor { position: absolute; left: 0; top: 0; }
.floor--grid {
  background-image:
    linear-gradient(rgba(143,176,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,176,255,.10) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.6) 35%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.6) 35%, transparent 70%);
}
.floor--halo { border-radius: 50%; background: radial-gradient(circle, rgba(76,125,255,.35), rgba(76,125,255,.08) 40%, transparent 70%); }
.beam { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: linear-gradient(0deg, rgba(143,176,255,.65), rgba(143,176,255,0)); }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(143,176,255,.55); box-shadow: 0 0 16px rgba(76,125,255,.5), inset 0 0 12px rgba(76,125,255,.35); }
.ring--spin { animation: spin 14s linear infinite; }
.ring i { position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #CFE0FF; box-shadow: 0 0 10px #8FB0FF; }
@keyframes spin { to { transform: rotateZ(360deg); } }

/* ---------- Headquarters ---------- */
.hq__head { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .hq__head { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

.hq__frame {
  position: relative; margin: 56px auto 0; max-width: calc(var(--wrap) + 2 * var(--gutter) + 160px);
  padding: 0 var(--gutter);
  display: flex; flex-direction: column;
}
.hq__stagewrap { order: 0; }
.hq__panel { order: 1; }
.hq__index { order: 2; }
@media (min-width: 1000px) { .hq__frame { display: block; } }
.hq__stagewrap {
  position: relative; height: clamp(340px, 88vw, 760px);
  border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 55%, rgba(76,125,255,.10), transparent 70%),
    linear-gradient(180deg, #0D0F14, #0A0B0E);
  border: 1px solid var(--line);
  isolation: isolate;
}
.hq__stagewrap::after { /* Vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse 85% 80% at 50% 50%, transparent 60%, rgba(5,6,9,.75));
}
.stage--hq { cursor: default; }
.hq__note {
  position: absolute; z-index: 4; right: 18px; bottom: 14px; margin: 0;
  font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
}
.hq__back {
  position: absolute; z-index: 5; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(14,16,20,.75); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 600;
}
.hq__back[hidden] { display: none; }
.hq__back:hover { border-color: rgba(255,255,255,.3); }

/* 3D-Gebäude im HQ */
.mod { cursor: pointer; }
.mod .f::after { transition: opacity .7s var(--ease); }
.hq.is-zoomed .mod:not(.is-active) .f::after { opacity: .72; }
.mod.is-active .f.side { box-shadow: inset 0 0 0 1px rgba(143,176,255,.55), inset 0 -30px 40px -20px rgba(76,125,255,.35); }
.mod.is-active .f.top { box-shadow: inset 0 0 0 1.5px rgba(143,176,255,.9), inset 0 0 40px rgba(76,125,255,.35); }
.street { position: absolute; background: rgba(143,176,255,.05); }
.street::before { content: ""; position: absolute; inset: 0; margin: auto; background: rgba(143,176,255,.22); }
.street--h::before { height: 1px; }
.street--v::before { width: 1px; }
.plot { position: absolute; border: 1px solid rgba(143,176,255,.10); border-radius: 4px; }
.mod-ring { position: absolute; opacity: 0; transition: opacity .6s; }
.mod.is-active .mod-ring { opacity: 1; }
.bot { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.bot::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #DDE8FF; box-shadow: 0 0 8px 2px rgba(143,176,255,.9); }
.bot::after { content: ""; position: absolute; right: 2px; top: -1.5px; width: 34px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(143,176,255,0), rgba(143,176,255,.7)); }

.hq__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hq__label {
  position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 8px; border-radius: 999px; border: 1px solid rgba(143,176,255,.22);
  background: rgba(12,14,19,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--mist);
  transform: translate(-50%, -100%); transition: opacity .5s, border-color .3s, background .3s, color .3s;
  will-change: transform;
}
.hq__label::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 1px; height: 8px; background: rgba(143,176,255,.4); }
.hq__label .num { font-size: 10.5px; }
.hq__label:hover, .hq__label.is-active { border-color: rgba(143,176,255,.7); color: #fff; background: rgba(28,40,72,.85); }
.hq.is-zoomed .hq__label:not(.is-active) { opacity: 0; pointer-events: none; }
.hq__label .t { display: none; }
@media (min-width: 700px) { .hq__label .t { display: inline; } }
@media (max-width: 699px) { .hq__label { padding: 4px 7px; gap: 0; } .hq__label .num { font-size: 10px; } }

.hq__index { margin-top: 16px; }
.hq__index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hq__index button {
  width: 100%; display: flex; align-items: center; gap: 8px; text-align: left;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.hq__index button:hover { color: var(--text); border-color: var(--line-2); }
.hq__index button[aria-pressed="true"] { color: #fff; border-color: rgba(143,176,255,.6); background: rgba(76,125,255,.12); }
.hq__index .num { font-size: 11px; }

.hq__panel {
  margin-top: 12px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22,25,32,.92), rgba(14,16,20,.92));
  padding: 26px 24px 22px; outline: none;
  display: none;
}
.hq.is-zoomed .hq__panel { display: block; animation: panelIn .7s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hq__panel h3 { font-size: 26px; display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.hq__panel h3 .num { font-size: 13px; }
.hq__panel p { margin: 0; color: var(--muted); font-size: 16px; }
.acts { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.acts li { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--steel); }
.acts .ind { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }
.acts li.is-on { color: var(--text); }
.acts li.is-on .ind { background: var(--accent); box-shadow: 0 0 0 4px rgba(76,125,255,.18); animation: pulse 1.6s ease-in-out infinite; }
.acts .bar { margin-left: auto; width: 64px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.acts li.is-on .bar::before { content: ""; display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); animation: sweep 1.4s linear infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(76,125,255,0); } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.panel__nav { display: flex; gap: 8px; margin-top: 22px; }
.panel__nav button { flex: 1; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--mist); }
.panel__nav button:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.hq__panel .panel__caption { display: none; margin-top: 14px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

@media (min-width: 1000px) {
  .hq__stagewrap { height: min(76vh, 760px); min-height: 600px; }
  .hq__index { position: absolute; z-index: 6; left: calc(var(--gutter) + 20px); top: 50%; transform: translateY(-50%); margin: 0; }
  .hq__index ol { grid-template-columns: 1fr; gap: 2px; width: 188px; }
  .hq__index button { border-color: transparent; background: transparent; padding: 8px 12px; }
  .hq__index button:hover { background: rgba(255,255,255,.04); border-color: transparent; }
  .hq__panel {
    position: absolute; z-index: 6; right: calc(var(--gutter) + 20px); top: 50%; width: 360px; margin: 0;
    transform: translateY(-50%);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(22,25,32,.78), rgba(14,16,20,.78));
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  }
  .hq.is-zoomed .hq__panel { animation: panelInD .8s var(--ease) both; }
  @keyframes panelInD { from { opacity: 0; transform: translate(16px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
  .hq__back { left: 50%; transform: translateX(-50%); top: 18px; }
  .hq__panel .panel__caption { display: block; }
  .hq__stagewrap::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 300px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10,11,14,.85), transparent); }
  .hq__note { right: 50%; transform: translateX(50%); }
}

/* ohne JavaScript: Abteilungen als Liste */
.dept-data { display: none; }
html:not(.js) .dept-data { display: grid; gap: 16px; margin-top: 32px; }
html:not(.js) .hq__frame, html:not(.js) .hero__stage { display: none; }
.dept-data article { padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.dept-data h3 { display: flex; gap: 10px; align-items: baseline; font-size: 20px; margin-bottom: 8px; }
.dept-data p { margin: 0; color: var(--muted); }
.dept-data ul { margin: 12px 0 0; padding-left: 18px; color: var(--steel); font-size: 14px; }

/* ---------- Denkweise ---------- */
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; gap: 0; position: relative; counter-reset: step; }
.steps::before { /* Linie (mobil vertikal) */
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2);
}
.steps::after {
  content: ""; position: absolute; left: 7px; top: 10px; width: 1px; height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 1.6s var(--ease);
  box-shadow: 0 0 10px var(--accent-glow);
}
.step { position: relative; padding: 0 0 48px 44px; }
.step:last-child { padding-bottom: 0; }
.step__node { position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); z-index: 1; transition: border-color .6s, box-shadow .6s; }
.step__node::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--slate); transition: background .6s; }
.step.is-in .step__node { border-color: var(--accent-2); box-shadow: 0 0 0 5px rgba(76,125,255,.12); }
.step.is-in .step__node::after { background: var(--accent-2); }
.step__num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-2); margin-bottom: 10px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); max-width: 30ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
  .steps::after { left: 0; top: 7px; width: 100%; height: 1px; transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { padding: 48px 0 0; }
  .step__node { top: 0; }
}

/* ---------- Prinzipien ---------- */
.principles { background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(76,125,255,.08), transparent 70%); }
.cards { display: grid; gap: 16px; margin-top: 72px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
.card:hover { border-color: rgba(143,176,255,.3); background: rgba(76,125,255,.04); transform: translateY(-3px); }
.card__num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-2); margin-bottom: 40px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Kontakt ---------- */
.contact { text-align: center; overflow: hidden; }
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact__orb {
  position: absolute; left: 50%; top: 50%; width: 720px; height: 720px; transform: translate(-50%, -50%); z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,125,255,.16) 0%, rgba(76,125,255,.04) 40%, transparent 65%);
  pointer-events: none;
}
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.contact__fine { margin: 44px 0 0; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.brand--sm .brand__mark { width: 24px; height: 24px; }
.brand--sm .brand__word { font-size: 13px; }
.footer__links { display: flex; gap: 24px; margin-left: auto; }
.footer__links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin: 0; font-size: 13px; color: var(--faint); width: 100%; }
@media (min-width: 700px) { .footer__copy { width: auto; order: 3; } }

/* ---------- Rechtsseiten ---------- */
.legal { padding: calc(130px + env(safe-area-inset-top)) 0 120px; }
.legal .wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 16px; }
.legal .meta { color: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 48px; }
.legal h2 { font-size: 22px; margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); letter-spacing: -.02em; }
.legal h3 { font-size: 17px; margin: 28px 0 8px; }
.legal p, .legal li { color: #B9BEC6; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-2); text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.legal .box { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.legal .back { display: inline-flex; gap: 8px; margin-bottom: 32px; font-size: 14px; color: var(--muted); text-decoration: none; }
.legal .back:hover { color: var(--text); }
.nav--solid { background: rgba(10, 11, 14, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--line); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.nf h1 { font-size: clamp(64px, 12vw, 140px); letter-spacing: -.06em; line-height: 1; }
.nf p { color: var(--muted); margin: 16px 0 36px; }

/* ---------- Erscheinen beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hq__frame.reveal { transform: translateY(40px) scale(.985); }
.js .hq__frame.reveal.is-in { transform: none; }

/* Animationen anhalten, wenn unsichtbar */
.is-paused, .is-paused * { animation-play-state: paused !important; }

@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; }
  .win { opacity: .7; }
  .hero__scroll span { opacity: 1; }
}

/* ---------- Einblick: interaktives iPhone ---------- */
.peek__head { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .peek__head { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.app { overflow: hidden; }
.app__grid { display: grid; gap: 36px; margin-top: 56px; align-items: center; }
@media (min-width: 900px) { .app__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; margin-top: 72px; } }

.app__stage { position: relative; display: grid; place-items: center; padding: 8px 0 12px; isolation: isolate; }
.app__backdrop { display: none; }
.app__glow {
  position: absolute; z-index: -1; left: 50%; top: 55%; width: 120%; max-width: 560px; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(76,125,255,.32) 0%, rgba(76,125,255,.08) 38%, transparent 66%); pointer-events: none;
}
@media (min-width: 900px) {
  .app__stage { min-height: 760px; }
  .app__backdrop {
    display: block; position: absolute; z-index: -2; left: -6%; top: 50%; width: 112%; height: auto; max-width: none;
    transform: translateY(-50%) perspective(1800px) rotateY(16deg) rotateX(4deg); border-radius: 22px; opacity: .42;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 78%);
  }
}

/* iPhone-Gehäuse (CSS, Maße relativ zur Breite --w) */
.iphone {
  --w: min(300px, 74vw);
  position: relative; margin: 0; width: var(--w); padding: calc(var(--w) * .012);
  border-radius: calc(var(--w) * .165);
  background: linear-gradient(145deg, #4A4E57 0%, #23262C 22%, #15171B 50%, #2B2F36 78%, #5A5F69 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 calc(var(--w) * .01) rgba(255,255,255,.08),
    0 calc(var(--w) * .18) calc(var(--w) * .32) calc(var(--w) * -.1) rgba(0,0,0,.95),
    0 0 0 1px rgba(0,0,0,.6);
}
@media (min-width: 900px) { .iphone { --w: 330px; } }
.iphone__bezel { padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .153); background: #030304; }
.iphone__screen {
  position: relative; overflow: hidden; aspect-ratio: 1179 / 2556; border-radius: calc(var(--w) * .125);
  background: #17191F; transform: translateZ(0); touch-action: pan-y;
}
.iphone__shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  opacity: 0; transform: translateX(7%) scale(.985); transition: opacity .7s var(--ease), transform .8s var(--ease);
}
.iphone__shot.is-active { opacity: 1; transform: none; }
.iphone__shot.is-leaving { opacity: 0; transform: translateX(-7%) scale(.985); }
.iphone__status {
  position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--w) * .036); display: flex; justify-content: space-between; align-items: center;
  padding: 0 calc(var(--w) * .085) 0 calc(var(--w) * .1); color: #F4F4F2; font-weight: 600; font-size: calc(var(--w) * .044); letter-spacing: -.01em;
  pointer-events: none;
}
.iphone__icons { display: inline-flex; gap: calc(var(--w) * .016); align-items: center; }
.iphone__icons svg { height: calc(var(--w) * .033); width: auto; }
.iphone__island {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--w) * .03); width: calc(var(--w) * .31); height: calc(var(--w) * .088);
  transform: translateX(-50%); border-radius: 999px; background: #000;
}
.iphone__btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2A2D33, #5A5F69); }
.iphone__btn--action { left: -2px; top: 18%; height: 5%; }
.iphone__btn--up { left: -2px; top: 26%; height: 9%; }
.iphone__btn--down { left: -2px; top: 37%; height: 9%; }
.iphone__btn--power { right: -2px; top: 29%; height: 14%; background: linear-gradient(270deg, #2A2D33, #5A5F69); }

/* Funktionen (Desktop: Liste mit Fortschritt; Handy: Umschalter + Text) */
.app__side { display: grid; gap: 16px; }
.seg {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); order: -1;
}
.seg button {
  position: relative; overflow: hidden; height: 40px; border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .3s, background .3s;
}
.seg button[aria-pressed="true"] { color: #fff; background: rgba(76,125,255,.22); box-shadow: inset 0 0 0 1px rgba(143,176,255,.35); }
.app__caption { margin: 2px 4px 0; min-height: 3.2em; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.55; }
.feats { display: none; }
.app__side .fig-note { margin: 4px 0 0; text-align: center; }
@media (max-width: 899px) {
  .app__grid { gap: 20px; }
  .app__side { display: contents; }
  .seg { order: 0; grid-row: 1; width: 100%; max-width: 420px; justify-self: center; }
  .app__stage { grid-row: 2; }
  .app__caption { grid-row: 3; max-width: 420px; justify-self: center; }
  .app__side .fig-note { grid-row: 4; }
}
@media (min-width: 900px) {
  .seg, .app__caption { display: none; }
  .app__side .fig-note { text-align: left; margin-top: 12px; }
  .feats { display: grid; gap: 10px; }
  .feat {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; gap: 4px 6px; align-items: baseline;
    padding: 22px 24px 24px; border-radius: 20px; text-align: left; cursor: pointer;
    border: 1px solid var(--line); background: rgba(255,255,255,.015);
    transition: border-color .4s, background .4s, transform .5s var(--ease);
  }
  .feat:hover { border-color: var(--line-2); }
  .feat[aria-selected="true"] { border-color: rgba(143,176,255,.4); background: linear-gradient(180deg, rgba(76,125,255,.10), rgba(76,125,255,.03)); }
  .feat__num { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--accent-2); }
  .feat__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
  .feat__text { grid-column: 2; color: var(--muted); font-size: 15.5px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
  .feat[aria-selected="true"] .feat__text { max-height: 6em; opacity: 1; margin-top: 6px; }
  .feat__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: transparent; }
}
.feat__bar::before, .seg button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.app.is-auto .feat[aria-selected="true"] .feat__bar::before,
.app.is-auto .seg button[aria-pressed="true"]::after { animation: progress var(--dwell, 5.5s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Ergebnisse: Produkt-Umschalter + Bildbetrachter ---------- */
.results { overflow: hidden; }
.ptabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 48px; padding: 6px;
  border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.ptabs button {
  display: grid; gap: 3px; padding: 12px 10px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; text-align: center;
  transition: background .35s, box-shadow .35s;
}
.ptabs b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); transition: color .3s; }
.ptabs span { font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ptabs button[aria-selected="true"] { background: rgba(76,125,255,.16); box-shadow: inset 0 0 0 1px rgba(143,176,255,.35); }
.ptabs button[aria-selected="true"] b { color: #fff; }
@media (max-width: 699px) { .ptabs span { display: none; } .ptabs b { font-size: 13.5px; } .ptabs button { padding: 12px 4px; } }
@media (min-width: 700px) { .ptabs { max-width: 720px; } .ptabs button { padding: 14px 16px; } .ptabs b { font-size: 16px; } }

.prods { margin-top: 20px; }
.prod[hidden] { display: none; }
.prod { animation: prodIn .6s var(--ease) both; }
@keyframes prodIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.prod__grid {
  display: grid; gap: 24px; padding: 14px; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
@media (min-width: 1000px) { .prod__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 18px 48px 18px 18px; } }
.prod__info { padding: 4px 8px 14px; }
@media (min-width: 1000px) { .prod__info { padding: 0; } }
.case__tag { margin: 0 0 12px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.case__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.case__text { color: var(--muted); margin: 14px 0 0; font-size: 16.5px; }
.pills__title { margin: 26px 0 10px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 7px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.025); font-size: 14px; color: var(--mist);
}
.pills b {
  display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 999px;
  background: rgba(76,125,255,.16); color: var(--accent-2); font: 600 10.5px/1 var(--mono); letter-spacing: .04em;
}

.viewer { position: relative; min-width: 0; }
.viewer__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: 18px; outline-offset: 4px;
}
.viewer__track::-webkit-scrollbar { display: none; }
.slide { margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.slide .zoom {
  position: relative; display: block; aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden;
  background: #F4EFE7; cursor: zoom-in;
}
@supports not (aspect-ratio: 1) { .slide .zoom { height: 0; padding-bottom: 80%; } }
/* feste Maße statt height:100% – rendert in Safari und Chrome gleich, ohne Verzerrung */
.slide img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.slide--page .zoom { background: radial-gradient(circle at 50% 40%, #FFF8EE, #F1E6D6); }
.slide--page img { left: 25.1%; top: 6%; width: 49.8%; height: 88%; object-fit: fill; border-radius: 4px; box-shadow: 0 18px 40px -16px rgba(60,40,20,.45), 0 0 0 1px rgba(0,0,0,.05); }
.slide--wide .zoom { background: #EEF2F8; }
.slide--wide img { left: 4%; top: 18.75%; width: 92%; height: 62.5%; object-fit: fill; border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(20,30,60,.4); }
.slide figcaption { margin: 12px 4px 0; font-size: 13.5px; color: var(--steel); }
.viewer__ui { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 0 2px; }
.viewer__dots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.viewer__dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); transition: width .4s var(--ease), background .4s; }
.viewer__dots i.on { width: 22px; background: var(--accent-2); }
.viewer__count { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--faint); min-width: 3.5em; text-align: center; }
.viewer__btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: 16px; cursor: pointer; transition: border-color .3s, background .3s, opacity .3s;
}
.viewer__btn:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.viewer__btn:disabled { opacity: .3; cursor: default; }
.viewer__count { display: none; }
@media (max-width: 699px) { .viewer__dots { display: none; } .viewer__count { display: block; flex: 1; } }

.docs { position: relative; height: 280px; display: grid; place-items: center; border-radius: 18px; background: radial-gradient(circle at 50% 60%, rgba(76,125,255,.16), transparent 65%), #0E1014; border: 1px solid var(--line); overflow: hidden; }
.doc { position: absolute; width: 150px; height: 196px; border-radius: 8px; background: #E9ECF1; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); }
.doc--3 { transform: translate(46px, 10px) rotate(9deg); background: #9AA3B2; }
.doc--2 { transform: translate(22px, 4px) rotate(4deg); background: #C7CDD7; }
.doc--1 { padding: 18px 16px; display: flex; flex-direction: column; gap: 9px; transform: rotate(-3deg); }
.doc--1 b { font-size: 13px; color: #16181D; letter-spacing: -.01em; margin-bottom: 4px; }
.doc--1 i { display: block; height: 5px; border-radius: 3px; background: #C2C8D2; }
.doc--1 i.short { width: 60%; }
.doc--1 em { margin-top: auto; height: 46px; border-radius: 5px; background: linear-gradient(90deg, #4C7DFF 0 22%, #8FB0FF 22% 48%, #C2D3FF 48% 70%, transparent 70%); background-size: 100% 60%; background-repeat: no-repeat; background-position: bottom; }
@media (min-width: 1000px) { .docs { height: 380px; } .doc { width: 180px; height: 236px; } }

.fig-note { margin: 28px 0 0; font: 500 10.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* ohne JavaScript: alles sichtbar */
html:not(.js) .prod[hidden] { display: block; margin-top: 16px; }
html:not(.js) .ptabs, html:not(.js) .viewer__ui, html:not(.js) .seg { display: none; }

/* ---------- Safari/iOS: Standbilder statt Live-3D ---------- */
.stage.is-flat { perspective: none; -webkit-mask-image: none; mask-image: none; }
.hero__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; animation: towerFloat 9s ease-in-out infinite; }
@keyframes towerFloat { 50% { transform: translateY(-8px); } }
.hq__pan { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.hq__pan img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hq__shade { position: absolute; left: -200%; top: -200%; width: 500%; height: 500%; opacity: 0; transition: opacity .8s; pointer-events: none; }
.hq.is-zoomed .hq__shade { opacity: 1; }
.hq__spot {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; opacity: 0; pointer-events: none;
  border: 1.5px solid rgba(143,176,255,.85); box-shadow: 0 0 18px rgba(76,125,255,.7), inset 0 0 12px rgba(76,125,255,.45);
}
.hq__spot.is-active { opacity: 1; animation: spotPulse 2.4s ease-out infinite; }
@keyframes spotPulse { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.flat3d .stage--hq { cursor: pointer; }

/* Infotafel-Bild im Headquarters */
.panel__fig { margin: 18px 0 0; }
.panel__fig img { width: 100%; height: 150px; object-fit: cover; object-position: 50% 0; border-radius: 12px; border: 1px solid var(--line); }
.hq__panel .panel__fig figcaption { margin-top: 8px; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* ---------- Bildansicht ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; color: var(--text); }
.lightbox::backdrop { background: rgba(5,6,9,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; animation: lbIn .45s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox img { display: block; max-width: 94vw; max-height: 82vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.lightbox__cap { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.lightbox__close { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20,22,28,.85); font-size: 24px; line-height: 1; cursor: pointer; }
