/* Bessere Erde Solar – Homepage */
:root {
  --bg: #07090f;
  --bg-2: #0b0f18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2f7;
  --muted: #98a2b3;
  --accent: #ff7a1a;
  --accent-2: #ffb347;
  --accent-3: #ffd27a;
  --green: #22c55e;
  --blue: #3b82f6;
  --grad: linear-gradient(100deg, #ffd27a 0%, #ff9a3c 40%, #ff6a1a 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #000; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.c-accent { color: var(--accent-2); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Fortschritt + Cursor-Glow */
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; background: var(--grad); z-index: 100; box-shadow: 0 0 12px var(--accent); }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0; opacity: .5; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 122, 26, .10), transparent 65%);
  transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  --pad: .85rem 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; white-space: nowrap; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); color: #1a0d00; box-shadow: 0 10px 30px -8px rgba(255, 122, 26, .6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(255, 122, 26, .8), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 150% 0; transition: background-position .8s;
}
.btn-primary:hover::after { background-position: -50% 0; }
.btn-ghost { background: var(--surface-2); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 179, 71, .6); background: rgba(255, 122, 26, .08); }
.btn-link { background: none; color: var(--muted); padding: .5rem 0; }
.btn-link:hover { color: var(--text); }
.btn-sm { --pad: .55rem 1rem; font-size: .9rem; }
.btn-lg { --pad: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(7, 9, 15, .7); backdrop-filter: blur(8px); cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--accent-2); }

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1200px, 100% - 24px); display: flex; align-items: center; gap: 1rem;
  padding: .55rem .6rem .55rem 1rem; border-radius: 999px;
  border: 1px solid transparent; transition: background .35s, border-color .35s, top .35s;
}
.nav.scrolled { background: rgba(9, 12, 20, .72); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); }
.logo { display: flex; align-items: center; gap: .55rem; }
.logo-mark { width: 34px; height: 34px; animation: spin 30s linear infinite; }
.logo-text { display: flex; flex-direction: column; line-height: .9; }
.logo-text b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; }
.logo-text small { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.logo-text i { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: .2rem; margin-left: auto; }
.nav-links a { padding: .5rem .8rem; border-radius: 999px; color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: var(--surface-2); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun-glow {
  position: absolute; right: -10vw; top: -20vh; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 220, 140, .55), rgba(255, 122, 26, .25) 30%, rgba(255, 80, 20, .06) 55%, transparent 70%);
  filter: blur(10px); animation: breathe 8s ease-in-out infinite;
}
.panel-field {
  position: absolute; left: 50%; bottom: -12%; width: 160%; height: 70%;
  transform: translateX(-50%) perspective(900px) rotateX(62deg);
  transform-origin: 50% 100%;
  display: grid; grid-template-columns: repeat(var(--cols, 22), 1fr); gap: 6px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
}
.panel-field i {
  border-radius: 3px; border: 1px solid rgba(120, 150, 210, .16);
  background: linear-gradient(160deg, rgba(40, 52, 80, .55), rgba(10, 14, 24, .7));
  transition: background .6s, box-shadow .6s, border-color .6s;
}
.panel-field i.lit {
  background: linear-gradient(160deg, rgba(255, 190, 90, .55), rgba(255, 110, 20, .25));
  border-color: rgba(255, 190, 90, .6); box-shadow: 0 0 18px rgba(255, 140, 40, .45);
  transition: background .08s, box-shadow .08s, border-color .08s;
}
.hero-inner { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255, 122, 26, .1); border: 1px solid rgba(255, 122, 26, .3); color: var(--accent-3); font-size: .88rem; font-weight: 500;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; flex: none; }
.hero-title { font-size: clamp(2.5rem, 10.5vw, 6.2rem); font-weight: 800; margin: 1.4rem 0 1.4rem; letter-spacing: -.045em; line-height: .98; }
.rotator { display: inline-block; position: relative; color: var(--text); }
.rotator span { display: inline-block; animation: rotIn .7s var(--ease) both; }
.hero-sub { max-width: 600px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c3cad6; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2.2rem 0 3rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 2.5rem; width: fit-content; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--display); font-size: 2.1rem; font-weight: 700; }
.hero-stats span { color: var(--muted); font-size: .88rem; }
.live-card {
  position: absolute; right: max(16px, calc((100vw - 1200px) / 2)); bottom: 110px; width: 280px;
  padding: 1.1rem 1.2rem; border-radius: var(--radius); background: rgba(12, 16, 26, .7); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.live-head { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.live-row { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .92rem; }
.live-row span { color: var(--muted); }
.live-row b { font-variant-numeric: tabular-nums; }
.live-spark { width: 100%; height: 50px; margin-top: .5rem; overflow: visible; }
.live-spark path { fill: rgba(255, 154, 60, .15); stroke: var(--accent-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.live-spark circle { fill: var(--accent-3); filter: drop-shadow(0 0 6px var(--accent)); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--accent-2); transform: translateX(-50%); animation: scrollDot 1.8s infinite; }

/* ── Marquee ──────────────────────────────────────────── */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.1rem 0; position: relative; }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; font-family: var(--display); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Sections ─────────────────────────────────────────── */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); }
.sec-head { max-width: 760px; margin-bottom: 3.2rem; }
.sec-head p { color: var(--muted); font-size: 1.12rem; margin-top: 1rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; transition: border-color .3s, background .3s;
}
.card:hover { border-color: var(--line-2); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card { padding: 2rem; overflow: hidden; }
.bento .card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 140, 40, .12), transparent 45%);
}
.bento .card:hover::before { opacity: 1; }
.bento h3 { margin: 1.2rem 0 .6rem; font-size: 1.35rem; }
.bento p { color: var(--muted); }
.bento-a { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 122, 26, .16), transparent 60%), var(--surface); }
.bento-b, .bento-c { grid-column: span 3; }
.bento-d { grid-column: span 3; }
.bento-e { grid-column: span 3; }
.card-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 179, 71, .22), rgba(255, 106, 26, .08)); border: 1px solid rgba(255, 179, 71, .3); }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-tag { margin-top: auto; padding-top: 2rem; font-size: 1.05rem; color: var(--muted); }
.price-tag span { display: block; font-family: var(--display); font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 1.4rem; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(255, 122, 26, .2), rgba(255, 179, 71, .8)); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.in .mini-bars i, .mini-bars.in i { transform: scaleY(1); }
.mini-bars i:nth-child(2) { transition-delay: .08s; } .mini-bars i:nth-child(3) { transition-delay: .16s; } .mini-bars i:nth-child(4) { transition-delay: .24s; }
.mini-bars i:nth-child(5) { transition-delay: .32s; } .mini-bars i:nth-child(6) { transition-delay: .4s; } .mini-bars i:nth-child(7) { transition-delay: .48s; }

/* ── Rechner ──────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.calc-inputs { padding: 1.8rem; position: sticky; top: 96px; }
.range { display: block; margin-bottom: 1.6rem; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; font-size: .94rem; color: var(--muted); }
.range output { font-family: var(--display); font-weight: 700; color: var(--text); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent-2) 0, var(--accent) var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%));
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 0 0 6px rgba(255, 122, 26, .25), 0 4px 12px rgba(0,0,0,.4); transition: box-shadow .2s;
}
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 122, 26, .25); }
input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(255, 122, 26, .3), 0 4px 12px rgba(0,0,0,.4); }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--accent); }
.field-label { font-size: .94rem; color: var(--muted); margin: 0 0 .6rem; }
.seg { display: flex; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: 1.6rem; gap: 4px; }
.seg button { flex: 1; border: 0; background: none; padding: .62rem .5rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background .25s, color .25s; }
.seg button.on { background: var(--grad); color: #1a0d00; box-shadow: 0 6px 16px -6px rgba(255, 122, 26, .6); }
.seg-sm button { padding: .45rem .4rem; font-size: .84rem; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .25s; user-select: none; }
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip input:checked + span { background: rgba(255, 122, 26, .14); border-color: var(--accent); color: var(--accent-3); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.calc-out { display: grid; gap: 16px; }
.calc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 1.3rem; display: flex; flex-direction: column; gap: .25rem; }
.kpi span { color: var(--muted); font-size: .85rem; }
.kpi b { font-family: var(--display); font-size: 1.25rem; }
.kpi b em { font-style: normal; font-size: 2.1rem; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: .8rem; }
.kpi-hl { background: linear-gradient(140deg, rgba(34, 197, 94, .16), rgba(34, 197, 94, .02)); border-color: rgba(34, 197, 94, .3); }
.kpi-hl b em { color: #4ade80; }
.kpi-ring { flex-direction: row; align-items: center; gap: .9rem; }
.kpi-ring svg { width: 82px; height: 82px; transform: rotate(-90deg); flex: none; }
.kpi-ring circle { fill: none; stroke-width: 11; }
.ring-bg { stroke: rgba(255,255,255,.08); }
.ring-fg { stroke: url(#lg); stroke: var(--accent-2); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset .8s var(--ease); filter: drop-shadow(0 0 6px rgba(255,140,40,.5)); }
.kpi-ring div { display: flex; flex-direction: column; }
.kpi-ring b::after { content: " %"; font-size: 1.1rem; }
.kpi-ring b { font-size: 2.1rem; font-variant-numeric: tabular-nums; }
.chart-card { padding: 1.5rem 1.5rem 1.2rem; }
.chart-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chart-head h3 { font-size: 1.05rem; }
.legend { display: flex; gap: 1rem; font-size: .85rem; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: .45rem; vertical-align: middle; }
.lg-a::before { background: #94a3b8; } .lg-b::before { background: var(--accent-2); }
#chart { width: 100%; height: 260px; }
.chart-note { color: var(--muted); font-size: .92rem; margin-top: .6rem; }
.chart-note b { color: var(--text); }
.monthly { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem; }
.monthly div { display: flex; flex-direction: column; }
.monthly span { color: var(--muted); font-size: .88rem; }
.monthly b { font-family: var(--display); font-size: 2.2rem; font-variant-numeric: tabular-nums; }
.monthly small { color: var(--muted); font-size: .8rem; }
.monthly .arrow { font-size: 1.8rem; color: var(--accent); }
.fine { font-size: .78rem; color: #6b7585; line-height: 1.5; }

/* ── Simulator ────────────────────────────────────────── */
.sim-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; }
.sim-steps li { flex: 1; display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: .92rem; transition: all .35s; }
.sim-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: .85rem; transition: all .35s; flex: none; }
.sim-steps li.on { color: var(--text); border-color: rgba(255, 122, 26, .5); background: rgba(255, 122, 26, .08); }
.sim-steps li.on b { background: var(--grad); color: #1a0d00; }
.sim-steps li.done b { background: var(--green); color: #052e12; }
.sim-body { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.sim-stage { min-height: 460px; overflow: hidden; display: grid; }
.sim-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; padding: 3rem 1.5rem;
  margin: 14px; border: 2px dashed var(--line-2); border-radius: 18px; transition: border-color .3s, background .3s;
  background: radial-gradient(60% 60% at 50% 40%, rgba(255, 122, 26, .07), transparent);
}
.sim-drop.drag { border-color: var(--accent); background: rgba(255, 122, 26, .08); }
.sim-drop p, .sim-drop small { color: var(--muted); }
.sim-drop small { font-size: .8rem; max-width: 380px; margin-top: .8rem; }
.drop-icon svg { width: 88px; height: 88px; fill: none; stroke: var(--accent-2); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.drop-panel { fill: rgba(255, 154, 60, .25); animation: panelPulse 2.4s ease-in-out infinite; }
.drop-btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .8rem; }
.drop-btns label { cursor: pointer; }
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .only-touch { display: inline-flex; } }
.sim-canvas-wrap { position: relative; display: grid; place-items: center; background: #000; border-radius: var(--radius); overflow: hidden; }
#simCanvas { width: 100%; height: auto; touch-action: none; cursor: crosshair; }
.sim-hint {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: .5rem .95rem; border-radius: 999px;
  background: rgba(7, 9, 15, .8); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-size: .86rem; white-space: nowrap; pointer-events: none;
  transition: opacity .3s; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
}
.sim-toolbar { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; }
.sim-toolbar .seg { margin: 0; background: rgba(7, 9, 15, .75); backdrop-filter: blur(8px); }
.sun-sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 220, 150, .35) 50%, transparent 65%); transform: translateX(-120%); }
.sun-sweep.go { animation: sweep 1.6s var(--ease) forwards; }
.sim-panel { padding: 1.6rem; min-height: 460px; }
.sim-pane h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.sim-pane .muted { margin-bottom: 1.2rem; }
.sim-pane .btn-block { margin-top: .4rem; }
.sim-pane .btn-link { display: block; margin: .6rem auto 0; }
.tips { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.tips li { display: flex; gap: .7rem; align-items: flex-start; color: #c3cad6; font-size: .95rem; }
.tips span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); }
.num-field { display: block; margin-bottom: 1rem; }
.num-field > span:first-child { display: block; font-size: .88rem; color: var(--muted); margin-bottom: .4rem; }
.num-in { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.25); transition: border-color .2s; }
.num-in:focus-within { border-color: var(--accent); }
.num-in input { flex: 1; min-width: 0; border: 0; background: none; padding: .75rem .9rem; font-size: 1.15rem; font-weight: 600; outline: none; font-variant-numeric: tabular-nums; }
.num-in i { font-style: normal; color: var(--muted); padding-right: .9rem; }
.range-sm { margin-bottom: 1.2rem; }
.select { width: 100%; padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--line-2); background: #0c1019; margin-bottom: 1.3rem; outline: none; }
.select:focus { border-color: var(--accent); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1rem; }
.res-grid div { padding: .9rem 1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.res-grid b { font-family: var(--display); font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.res-grid span { color: var(--muted); font-size: .8rem; }
.res-grid div:first-child { background: linear-gradient(140deg, rgba(255, 122, 26, .2), rgba(255, 122, 26, .03)); border-color: rgba(255, 122, 26, .4); }

/* ── Energiefluss ─────────────────────────────────────── */
.flow { padding: 14px; overflow: hidden; }
.flow-svg { width: 100%; height: auto; border-radius: 16px; }
.svg-label { fill: #cbd5e1; font: 600 13px var(--font); }
.flowline { fill: none; stroke: var(--accent-2); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; opacity: 0; transition: opacity .4s, stroke-width .4s; animation: dash 0.9s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 160, 60, .8)); }
.flowline.on { opacity: 1; }
#fGridHouse, #fPvGrid { stroke: #93c5fd; filter: drop-shadow(0 0 4px rgba(147, 197, 253, .8)); }
#fBatHouse { stroke: #4ade80; filter: drop-shadow(0 0 4px rgba(74, 222, 128, .8)); }
.flow-ctrl { display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.4rem; align-items: center; padding: 1.2rem .6rem .4rem; }
.flow-time { display: flex; flex-direction: column; min-width: 170px; }
.flow-time b { font-family: var(--display); font-size: 2rem; font-variant-numeric: tabular-nums; }
.flow-time span { color: var(--muted); font-size: .85rem; }
.flow-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.2rem; }
.flow-stats div { display: flex; flex-direction: column; }
.flow-stats span { color: var(--muted); font-size: .78rem; }
.flow-stats b { font-variant-numeric: tabular-nums; }

/* ── Technik ──────────────────────────────────────────── */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech { padding: 1.4rem 1.6rem 1.8rem; transform-style: preserve-3d; }
.tech-visual { height: 210px; border-radius: 16px; margin-bottom: 1.4rem; display: grid; place-items: center; overflow: hidden; perspective: 700px;
  background: radial-gradient(80% 80% at 50% 20%, rgba(255, 140, 40, .18), transparent 70%), rgba(0,0,0,.3); }
.tag { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.tech h3 { margin: .5rem 0 1rem; font-size: 1.35rem; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.specs li { color: var(--muted); font-size: .94rem; padding-left: 1.3rem; position: relative; }
.specs li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.specs b { color: var(--text); font-weight: 600; }
.module3d {
  width: 120px; height: 190px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 6px;
  background: #050608; border-radius: 4px; border: 2px solid #20242c;
  transform: rotateX(28deg) rotateY(-24deg) rotateZ(8deg); animation: modSpin 10s ease-in-out infinite; box-shadow: 30px 40px 60px rgba(0,0,0,.6);
  position: relative; overflow: hidden;
}
.module3d i { background: linear-gradient(150deg, #1b2030, #0b0d13); border-radius: 1px; }
.module3d::after { content: ''; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); animation: glare 4s ease-in-out infinite; }
.bat3d { width: 96px; height: 170px; border-radius: 12px; background: linear-gradient(90deg, #e8eaee, #fff 40%, #d5d9e0); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 14px; box-shadow: 20px 30px 50px rgba(0,0,0,.6); transform: rotateY(-22deg); }
.bat3d span { height: 28px; border-radius: 4px; background: #d7dbe2; position: relative; overflow: hidden; }
.bat3d span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #22c55e, #86efac); transform-origin: left; animation: charge 3s ease-in-out infinite; }
.bat3d span:nth-child(2)::after { animation-delay: .4s; } .bat3d span:nth-child(3)::after { animation-delay: .8s; }
.orbit { width: 170px; height: 170px; border-radius: 50%; border: 1px dashed rgba(255, 179, 71, .4); position: relative; animation: spin 16s linear infinite; }
.orbit::before { content: '☀'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: var(--accent-3); text-shadow: 0 0 30px var(--accent); animation: spin 16s linear infinite reverse; }
.orbit span { position: absolute; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: grid; place-items: center; background: #121722; border: 1px solid var(--line-2); font-size: 1.3rem; animation: spin 16s linear infinite reverse; }
.orbit span:nth-child(1) { left: 50%; top: 0; } .orbit span:nth-child(2) { left: 100%; top: 50%; } .orbit span:nth-child(3) { left: 50%; top: 100%; } .orbit span:nth-child(4) { left: 0; top: 50%; }

/* ── Timeline ─────────────────────────────────────────── */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 0; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-line i { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--grad); box-shadow: 0 0 14px var(--accent); }
.tl-item { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.tl-item:nth-child(odd) .tl-card { grid-column: 3; }
.tl-item:nth-child(even) .tl-card { grid-column: 1; grid-row: 1; text-align: right; }
.tl-dot { grid-column: 2; grid-row: 1; justify-self: center; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: var(--bg); border: 2px solid var(--line-2); z-index: 1; transition: all .5s; }
.tl-item.in .tl-dot { background: var(--grad); color: #1a0d00; border-color: transparent; box-shadow: 0 0 0 8px rgba(255, 122, 26, .15); }
.tl-card { padding: 1.4rem 1.6rem; }
.tl-card h3 { margin-bottom: .4rem; }
.tl-card p { color: var(--muted); font-size: .95rem; }

/* ── Vorher/Nachher ───────────────────────────────────── */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); box-shadow: var(--shadow); user-select: none; background: #000; }
.ba img, .ba canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba canvas { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; background: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.5); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--grad); color: #1a0d00; display: grid; place-items: center; font-weight: 800; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.ba-label { position: absolute; top: 16px; padding: .35rem .8rem; border-radius: 999px; background: rgba(7, 9, 15, .7); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; pointer-events: none; }
.ba-l { left: 16px; } .ba-r { right: 16px; }
.refs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.ref { margin: 0; overflow: hidden; }
.ref img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.ref:hover img { transform: scale(1.05); }
.ref figcaption { padding: 1rem 1.3rem; display: flex; flex-direction: column; }
.ref figcaption span { color: var(--muted); font-size: .9rem; }

/* ── Finanzierung ─────────────────────────────────────── */
.fin { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fin-text p { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 1.6rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: center; }
.checks li::before { content: '✓'; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .15); color: #4ade80; font-weight: 700; font-size: .85rem; flex: none; }
.fin-calc { padding: 2rem; }
.rate { display: flex; flex-direction: column; padding: 1.4rem; border-radius: 16px; background: linear-gradient(140deg, rgba(255, 122, 26, .16), rgba(255, 122, 26, .02)); border: 1px solid rgba(255, 122, 26, .35); margin-bottom: 1rem; }
.rate span { color: var(--muted); font-size: .9rem; }
.rate b { font-family: var(--display); font-size: 3rem; font-variant-numeric: tabular-nums; }
.rate small { color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(255, 122, 26, .4); background: rgba(255, 122, 26, .04); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 3.4rem 1.2rem 1.4rem; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 1.3rem; transition: transform .35s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--accent); color: #1a0d00; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); animation: fadeDown .4s var(--ease); }

/* ── Kontakt ──────────────────────────────────────────── */
.contact-sec { background: radial-gradient(80% 60% at 20% 30%, rgba(255, 122, 26, .12), transparent 60%), var(--bg-2); }
.contact { display: grid; grid-template-columns: 1fr 520px; gap: 3rem; align-items: start; }
.contact-text p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }
.attached { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: .8rem; border-radius: 16px; border: 1px solid rgba(255, 122, 26, .4); background: rgba(255, 122, 26, .06); animation: fadeDown .5s var(--ease); }
.attached canvas { width: 120px; height: 68px; border-radius: 10px; flex: none; }
.attached div { display: flex; flex-direction: column; flex: 1; }
.attached span { color: var(--muted); font-size: .88rem; }
.lead { padding: 2rem; overflow: hidden; }
.lead-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-bottom: 1.8rem; overflow: hidden; }
.lead-progress i { display: block; height: 100%; width: 33%; background: var(--grad); transition: width .5s var(--ease); }
.lead-step { border: 0; padding: 0; margin: 0; display: none; }
.lead-step.on { display: block; animation: slideIn .45s var(--ease); }
.lead legend { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; padding: 0; }
.lead legend.mt { margin-top: 1.6rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: .75rem 1.1rem; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 500; transition: all .2s; user-select: none; }
.opt span:hover { border-color: rgba(255, 179, 71, .6); }
.opt input:checked + span { background: rgba(255, 122, 26, .15); border-color: var(--accent); color: var(--accent-3); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: block; margin-top: 1rem; }
.field span { display: block; font-size: .86rem; color: var(--muted); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); outline: none; transition: border-color .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; font-size: .82rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: .2rem; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.lead-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; }
.lead-nav .btn-primary { margin-left: auto; }
.lead-err { color: #fca5a5; font-size: .9rem; min-height: 1.2em; margin-top: .8rem; }
.lead-done { text-align: center; padding: 1.5rem 0; animation: slideIn .5s var(--ease); }
.done-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; font-size: 2.2rem; color: #052e12; background: #4ade80; box-shadow: 0 0 0 12px rgba(74, 222, 128, .15); animation: pop .6s var(--ease); }
.lead-done p { color: var(--muted); margin-top: .5rem; }

/* ── Footer / Modal / FAB ─────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; }
.foot { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot p { margin-top: .8rem; max-width: 340px; font-size: .92rem; }
.foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.foot nav a { color: var(--muted); font-size: .92rem; }
.foot nav a:hover { color: var(--text); }
.copy { color: #5b6574; font-size: .82rem; margin-top: 2rem; }
.modal { max-width: 560px; width: calc(100% - 32px); border: 1px solid var(--line-2); border-radius: var(--radius); background: #0d111a; color: var(--text); padding: 2rem; }
.modal::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.modal p { color: var(--muted); margin-bottom: 1rem; }
.modal-x { position: absolute; right: 14px; top: 14px; }
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: .5rem;
  padding: .85rem 1.15rem; border-radius: 999px; background: var(--grad); color: #1a0d00; font-weight: 700;
  box-shadow: 0 12px 30px -6px rgba(255, 122, 26, .7); transform: translateY(120px); transition: transform .5s var(--ease);
}
.fab svg { width: 22px; height: 22px; }
.fab.show { transform: none; }

/* ── Keyframes ────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes sweep { to { transform: translateX(120%); } }
@keyframes panelPulse { 50% { fill: rgba(255, 154, 60, .6); } }
@keyframes modSpin { 50% { transform: rotateX(18deg) rotateY(16deg) rotateZ(-4deg); } }
@keyframes glare { 0%, 30% { transform: translateX(-60%); } 70%, 100% { transform: translateX(60%); } }
@keyframes charge { 0% { transform: scaleX(.1); } 60%, 100% { transform: scaleX(1); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; }
  .calc-inputs { position: static; }
  .calc-kpis { grid-template-columns: repeat(2, 1fr); }
  .sim-body { grid-template-columns: 1fr; }
  .sim-panel { min-height: 0; }
  .live-card { display: none; }
  .contact { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid .tech:last-child { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 70px; left: 12px; right: 12px; flex-direction: column; padding: .8rem; border-radius: 20px; background: rgba(9, 12, 20, .96); border: 1px solid var(--line); backdrop-filter: blur(18px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; }
  .burger { display: block; margin-left: auto; }
  .nav > .btn { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e { grid-column: span 6; }
  .fin { grid-template-columns: 1fr; gap: 2rem; }
  .flow-ctrl { grid-template-columns: 1fr; gap: .9rem; }
  .flow-stats { grid-template-columns: repeat(4, 1fr); }
  .tl-line { left: 23px; }
  .tl-item { grid-template-columns: 46px 1fr; gap: 14px; }
  .tl-item .tl-dot { grid-column: 1; }
  .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 2; grid-row: 1; text-align: left; }
  .refs { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-grid .tech:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  .calc-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 1rem; }
  .kpi b em { font-size: 1.6rem; }
  .kpi-ring { flex-direction: column; align-items: flex-start; }
  .kpi-ring svg { width: 64px; height: 64px; }
  .monthly { grid-template-columns: 1fr; text-align: center; }
  .monthly div { align-items: center; }
  .monthly .arrow { transform: rotate(90deg); }
  .sim-steps span { display: none; }
  .sim-steps li { justify-content: center; padding: .6rem; }
  .sim-stage { min-height: 380px; }
  .lead, .fin-calc, .calc-inputs, .sim-panel { padding: 1.3rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .flow-stats { grid-template-columns: repeat(2, 1fr); }
  .ba-handle span { width: 42px; height: 42px; }
  .fab span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Simulator: Bühne passt sich dem Foto an, sobald eines geladen ist */
.sim-stage:has(.sim-canvas-wrap:not([hidden])) { min-height: 0; }
.sim-canvas-wrap { align-self: start; }

/* ── 3D ───────────────────────────────────────────────── */
.hero-3d-wrap { position: absolute; top: 70px; right: 0; bottom: 0; left: 40%; z-index: 0; }
.hero-3d { width: 100%; height: 100%; display: block; }
.hint-3d { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; opacity: .7; pointer-events: none; }
.webgl .panel-field { opacity: .35; }
.hero-inner { z-index: 1; }
.hero-inner > * { max-width: 600px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.8rem); text-shadow: 0 4px 40px rgba(7, 9, 15, .6); }
.hero-stats { gap: 1.6rem; }
.hero-stats b { font-size: 1.8rem; }
.live-card { top: 110px; bottom: auto; z-index: 2; }
.tech-visual { height: 270px; position: relative; }
.tech-visual.has-3d > :not(canvas) { display: none; }
.tech-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.tech-canvas:active { cursor: grabbing; }
.sim-stage { position: relative; }
.sim-3d { position: absolute; inset: 0; z-index: 5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(90% 70% at 70% 0%, rgba(255, 180, 90, .35), transparent 60%), linear-gradient(180deg, #8fb8ec 0%, #cfe1f5 55%, #e9eef3 100%); animation: fadeDown .4s var(--ease); }
.sim-3d canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.sim-3d-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: .4rem .9rem; border-radius: 999px; background: rgba(7, 9, 15, .7); font-size: .8rem; white-space: nowrap; pointer-events: none; }
.sim-3d-close { position: absolute; left: 12px; top: 12px; background: rgba(7, 9, 15, .75); }
.sim-stage:has(.sim-3d:not([hidden])) { min-height: 520px; }
.contact-3d { width: 100%; height: 320px; margin-top: 1.5rem; display: block; }
@media (max-width: 1080px) {
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 40px; }
  .hero-3d-wrap { position: relative; inset: auto; height: min(62vw, 420px); margin-top: 1rem; }
  .hint-3d { bottom: 6px; }
  .hero-inner > * { max-width: none; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .sim-stage:has(.sim-3d:not([hidden])) { min-height: 420px; }
  .contact-3d { height: 240px; }
}
.hero-3d-wrap { left: 44%; }
.sim-pane .btn-block { white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 1080px) { .hero-3d-wrap { order: 2; } .hero-inner { order: 1; } }
.hero-3d-wrap { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 12%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 12%); mask-composite: intersect; }
.webgl .live-card { display: none; }
@media (max-width: 1080px) { .hero-3d-wrap { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 14%); mask-image: linear-gradient(to top, transparent 0, #000 14%); } }
