/* =========================================================
   TBFB – Stylesheet
   Farben abgeleitet vom Logo (Navy #1f4a73 / Grün #3f9142)
   ========================================================= */

/* Schriften lokal eingebunden (keine Verbindung zu Google) – SIL Open Font License */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/spacegrotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/spacegrotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #060d16;
  --bg-2: #0a1522;
  --bg-3: #0f1d2e;
  --line: rgba(160, 190, 220, .12);
  --line-2: rgba(160, 190, 220, .22);
  --text: #e9f1f8;
  --muted: #8ea3b8;
  --blue: #3b8bff;
  --navy: #1f4a73;
  --green: #4fd16b;
  --teal: #2fd4b4;
  --cyan: #2ec5ff;
  --orange: #ff8a3d;
  --yellow: #ffd23f;
  --purple: #b07cff;
  --radius: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Space Grotesk", var(--font);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: linear-gradient(100deg, var(--green), var(--teal) 45%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--cyan { background-image: linear-gradient(100deg, var(--cyan), var(--green)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  color: #04120a;
  background: linear-gradient(100deg, var(--green), var(--teal));
  box-shadow: 0 10px 30px -10px rgba(79, 209, 107, .6);
  border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(79, 209, 107, .8); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.05); box-shadow: none; }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--cyan { background: linear-gradient(100deg, var(--cyan), var(--green)); box-shadow: 0 10px 30px -10px rgba(46, 197, 255, .6); }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6, 13, 22, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { width: min(var(--max), 100% - 32px); margin: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.35rem var(--font-d); letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; font-size: .93rem; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; position: relative; }
.nav__links a:not(.btn):hover, .nav__links a.active { color: var(--text); }
.nav__links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--green); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .78rem var(--font-d); letter-spacing: .04em; }
.lang b, .lang a { padding: .3em .7em; border-radius: 999px; }
.lang b { background: rgba(79,209,107,.15); color: var(--green); }
.nav__links .lang a { color: var(--muted); }
.nav__links .lang a:hover { color: var(--text); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, top .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
/* Höhe = Bildschirm minus Laufband, damit das Laufband beim Öffnen sichtbar ist */
.hero { position: relative; min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 96px 0 40px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at var(--mx, 70%) var(--my, 35%), rgba(79, 209, 107, .13), transparent 70%),
    radial-gradient(900px 500px at 15% 10%, rgba(59, 139, 255, .16), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .85rem; color: var(--muted); padding: .45em 1em; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); margin-bottom: 1.6rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(79,209,107,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(79,209,107,0); } 100% { box-shadow: 0 0 0 0 rgba(79,209,107,0); } }
.hero__title { font-size: clamp(2.6rem, min(7.2vw, 8.6vh), 5.6rem); font-weight: 700; margin-bottom: .35em; }
@media (min-width: 1001px) and (max-height: 860px) {
  .hero { padding-top: 84px; padding-bottom: 24px; }
  .eyebrow { margin-bottom: 1rem; }
  .hero__cta { margin: 1.4rem 0 1.4rem; }
}
.rotator { display: block; min-height: 2.2em; }
.rotator.swap { animation: swap .6s ease; }
@keyframes swap { 0% { opacity: 0; transform: translateY(.4em); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b7c7d7; max-width: 36em; }
.hero__lead strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.2rem; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { font-size: .8rem; color: var(--muted); padding: .35em .85em; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.drone { position: absolute; inset: 8% 0 auto; animation: hover 5s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-16px) rotate(-1.5deg); } }
.drone__svg { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.rotor { transform-box: fill-box; transform-origin: center; animation: spin .12s linear infinite; }
.rotor--b { animation-direction: reverse; }
@keyframes spin { 50% { transform: scaleX(.25); } }
.led { animation: blink 1.4s infinite; }
.led--b { animation-delay: .7s; }
.lens { animation: blink 3s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.drone__beam {
  position: absolute; left: 50%; top: 72%; width: 70%; height: 230px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(79,209,107,.35), rgba(79,209,107,0));
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  animation: beam 3s ease-in-out infinite;
}
@keyframes beam { 50% { opacity: .45; } }
.hud { position: absolute; font: 500 .78rem/1 var(--font-d); color: var(--text); padding: .6em .85em; border-radius: 10px; background: rgba(10, 21, 34, .75); border: 1px solid var(--line-2); backdrop-filter: blur(6px); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.hud span { color: var(--green); margin-right: .4em; }
.hud--a { top: 4%; left: -4%; }
.hud--b { bottom: 18%; right: -6%; animation-delay: -2s; }
.hud--c { bottom: 6%; left: 4%; animation-delay: -4s; }
.hud--c span { color: var(--orange); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { font: 600 1.05rem var(--font-d); color: var(--muted); padding: 0 1.4rem; white-space: nowrap; display: flex; align-items: center; gap: 2.8rem; }
.marquee span::after { content: "✦"; color: var(--green); font-size: .7em; margin-left: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section--dark { background: radial-gradient(1000px 500px at 80% 0%, rgba(255, 138, 61, .1), transparent 70%), #050a11; border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section__lead { color: #b7c7d7; font-size: 1.1rem; max-width: 40em; }
.kicker { font: 600 .82rem var(--font-d); text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 1rem; }
.kicker--orange { color: var(--orange); }
.kicker--cyan { color: var(--cyan); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; }
.bento .card--xl { grid-column: span 4; padding-right: 44%; min-height: 330px; }
.bento .card--energy { grid-column: span 6; min-height: 280px; }
.card--xl .card__bars { position: absolute; right: 30px; bottom: 30px; width: 36%; height: 62%; margin: 0; }
.card {
  --accent: var(--green);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  transition: transform .35s, border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(400px 220px at var(--cx, 50%) var(--cy, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); }
.card__more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--accent); }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); padding: .3em .7em; border-radius: 6px; background: color-mix(in srgb, var(--accent) 14%, transparent); margin-bottom: .9rem; }
.card__bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 28px; }
.card__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue), rgba(59,139,255,.15)); transform-origin: bottom; transform: scaleY(.1); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.card__bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 80ms); }
.is-visible .card__bars i, .card.is-visible .card__bars i { transform: scaleY(1); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.features { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.features li { padding-left: 18px; border-left: 2px solid var(--line-2); transition: border-color .3s; }
.features li:hover { border-color: var(--green); }
.features b { display: block; font-family: var(--font-d); }
.features span { color: var(--muted); font-size: .92rem; }
.qr { display: flex; gap: 22px; align-items: center; margin: 2rem 0 0; padding: 22px; border-radius: 18px; border: 1px solid rgba(79,209,107,.35); background: linear-gradient(120deg, rgba(79,209,107,.12), rgba(59,139,255,.06)); box-shadow: 0 20px 50px -25px rgba(79,209,107,.5); }
.qr h3 { font-size: 1.3rem; margin: .5rem 0 .3rem; }
.qr p { color: #b7c7d7; font-size: .95rem; margin: 0; }
.qr__icon { flex: none; width: 92px; height: 92px; padding: 10px; border-radius: 14px; background: #fff; }
.qr__icon rect { fill: none; stroke: #0b1724; stroke-width: 3; }
.qr__icon rect.f { fill: #0b1724; stroke: none; }
.qr__icon .d { fill: none; stroke: #0b1724; stroke-width: 3.2; stroke-linecap: round; }
.badge--green { color: var(--green); background: rgba(79,209,107,.12); border: 1px solid rgba(79,209,107,.3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.pills span { font-size: .85rem; padding: .4em .9em; border-radius: 999px; background: rgba(79,209,107,.08); border: 1px solid rgba(79,209,107,.25); color: #bdf0c8; }

/* ---------- App-Mockup ---------- */
.mock { border-radius: 18px; background: #0b1624; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02), 0 0 80px -20px rgba(59,139,255,.35); overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s; }
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0e1b2b; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3a4d; }
.mock__bar i:first-child { background: #ff5f57; } .mock__bar i:nth-child(2) { background: #febc2e; } .mock__bar i:nth-child(3) { background: #28c840; }
.mock__bar span { margin-left: 14px; font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 6px; }
.mock__body { display: grid; grid-template-columns: 132px 1fr; min-height: 380px; }
.mock__side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 1px; font-size: .72rem; color: #c6d3e0; background: #0a1420; }
.mock__side b { font: 600 .78rem var(--font-d); color: var(--text); margin-bottom: 8px; }
.mock__side span { padding: 4px 8px; border-radius: 6px; }
.mock__side .on { background: rgba(59,139,255,.15); color: #6aa8ff; }
.mock__side em { font-style: normal; font-size: .56rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 2px 8px; }
.mock__main { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mhead { display: flex; align-items: center; justify-content: space-between; }
.mhead strong { font: 700 1.05rem var(--font-d); }
.mbtn { font-size: .68rem; font-weight: 600; color: #fff; background: #e5383b; padding: 4px 10px; border-radius: 6px; }
.mnote { border: 1px solid rgba(255,107,107,.6); border-radius: 10px; padding: 10px; font-size: .7rem; }
.mnote p { margin: 0 0 8px; font-weight: 600; }
.mtag { font-size: .6rem; color: #ff8f8f; background: rgba(255,107,107,.15); padding: 2px 6px; border-radius: 4px; margin-right: 4px; }
.mchip { display: inline-block; font-size: .64rem; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line-2); margin-right: 6px; }
.mchip--blue { background: #4d8dff; border-color: #4d8dff; color: #fff; }
.mquick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mquick span { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: .62rem; font-weight: 600; padding: 10px 4px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.mquick svg { width: 18px; height: 18px; fill: none; stroke: #6aa8ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mquick .red { background: linear-gradient(135deg, #ef4444, #b91c1c); border-color: transparent; }
.mquick .red svg { stroke: #fff; }
.msub { font: 600 .74rem var(--font-d); }
.list { list-style: none; margin: -4px 0 0; padding: 0; font-size: .66rem; color: #6aa8ff; }
.list li { display: flex; align-items: center; gap: 8px; padding: 6px 2px; border-bottom: 1px solid var(--line); }
.list em { margin-left: auto; font-style: normal; white-space: nowrap; }
.b { font-size: .58rem; font-weight: 600; color: #f5b83d; background: rgba(245,184,61,.12); padding: 2px 6px; border-radius: 4px; }
.b--r { color: #ff8f8f; background: rgba(255,107,107,.15); }

/* ---------- Strategie / QM ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(31,74,115,.25), rgba(255,255,255,.01) 60%); }
.panel p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: rgba(79,209,107,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%234fd16b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { color: var(--text); font-weight: 600; }
.note { font-size: .88rem; color: var(--muted); padding: 12px 16px; border-left: 2px solid var(--cyan); background: rgba(46,197,255,.05); border-radius: 0 10px 10px 0; margin: -.8rem 0 2rem; }
.checks--grid { grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 2rem; }
.iso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 1.4rem 0; }
.iso span { text-align: center; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--line-2); font-size: .75rem; color: var(--muted); background: rgba(6,13,22,.5); }
.iso b { display: block; font: 700 1.35rem var(--font-d); color: var(--text); }
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); opacity: .5; }
.steps li { position: relative; }
.steps span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); font: 700 .9rem var(--font-d); color: var(--green); margin-bottom: 16px; }
.steps b { font: 600 1.15rem var(--font-d); display: block; }
.steps p { color: var(--muted); font-size: .92rem; }

/* ---------- Drohne ---------- */
.thermal { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; background: #1a0b2e; border: 1px solid rgba(255,138,61,.25); box-shadow: 0 40px 90px -30px rgba(255,138,61,.35); padding: 9% 7%; }
.thermal::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px); pointer-events: none; }
.thermal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; transform: perspective(700px) rotateX(28deg); height: 100%; }
.thermal__grid i { border-radius: 3px; background: linear-gradient(160deg, #3d1667, #6a1f6f 55%, #a52f5c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.thermal__grid i.hot { background: radial-gradient(circle at 55% 45%, #fffbe0 0 8%, #ffe44d 16%, #ff8a1f 34%, #c0305a 62%, #6a1f6f); animation: heat 2.4s ease-in-out infinite; }
@keyframes heat { 50% { filter: brightness(1.25) saturate(1.2); } }
.thermal__target { position: absolute; top: 38%; left: 61%; width: 80px; height: 80px; border: 2px solid #fff; border-radius: 8px; transform: translate(-50%, -50%); animation: lock 3s ease-in-out infinite; }
.thermal__target span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font: 600 .75rem var(--font-d); background: #fff; color: #1a0b2e; padding: 3px 8px; border-radius: 4px; }
@keyframes lock { 0%, 100% { transform: translate(-50%, -50%) scale(1.25); opacity: .4; } 30%, 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.thermal__scale { position: absolute; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font: 500 .7rem var(--font-d); }
.thermal__scale i { width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1a0b2e, #6a1f6f, #c0305a, #ff8a1f, #ffe44d, #fffbe0); }
.thermal__label { position: absolute; top: 14px; left: 14px; font: 500 .72rem var(--font-d); color: #ffd7b8; background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 6px; }
.feature + .feature { margin-top: clamp(60px, 8vw, 100px); }
.feature__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: .6rem; }
.badge { display: inline-block; font: 600 .72rem var(--font-d); text-transform: uppercase; letter-spacing: .12em; padding: .35em .8em; border-radius: 6px; }
.badge--orange { color: var(--orange); background: rgba(255,138,61,.12); border: 1px solid rgba(255,138,61,.3); }
.survey { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; background: radial-gradient(circle at 50% 60%, #0f2236, #060d16 75%); border: 1px solid rgba(255,138,61,.25); box-shadow: 0 40px 90px -30px rgba(46,197,255,.25); }
.survey .cloud { position: absolute; inset: 0; width: 100%; height: 100%; }
.survey__tag { position: absolute; display: flex; align-items: center; gap: 8px; font: 600 .75rem var(--font-d); background: rgba(6,13,22,.8); border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(4px); animation: float 6s ease-in-out infinite; }
.survey__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.survey__tag--a { left: 6%; bottom: 22%; }
.survey__tag--b { right: 6%; top: 20%; animation-delay: -3s; }
.survey__tag--b i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.survey__legend { position: absolute; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font: 500 .7rem var(--font-d); }
.survey__legend i { width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2b59ff, #2ec5ff, #4fd16b, #ffd23f, #ff5d3d); }
.survey .thermal__label { color: #cfe6ff; }
.gear { margin-top: 50px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 28px; border-radius: 16px; border: 1px dashed var(--line-2); }
.gear span { font: 600 .78rem var(--font-d); text-transform: uppercase; letter-spacing: .14em; color: var(--orange); }
.gear b { font: 600 1rem var(--font-d); color: var(--text); }

/* ---------- Home Assistant ---------- */
.flow { border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, #0c1928, #08121d); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(46,197,255,.3); }
.flow__head { display: flex; justify-content: space-between; font-family: var(--font-d); margin-bottom: 4px; }
.live { color: var(--green); font-size: .8rem; animation: blink 2s infinite; }
.flow__svg { width: 100%; }
.wire { fill: none; stroke: rgba(160,190,220,.15); stroke-width: 4; stroke-linecap: round; }
.pulse { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 6 26; animation: flow 1.1s linear infinite; }
.pulse--y { stroke: var(--yellow); } .pulse--g { stroke: var(--green); } .pulse--c { stroke: var(--cyan); } .pulse--p { stroke: var(--purple); animation-duration: .8s; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.ring { fill: #0b1624; stroke-width: 3; }
.ring--y { stroke: var(--yellow); } .ring--g { stroke: var(--green); } .ring--c { stroke: var(--cyan); } .ring--p { stroke: var(--purple); }
.node text { fill: var(--text); text-anchor: middle; font: 600 16px var(--font-d); }
.node .val { font-size: 10px; fill: var(--muted); }
.node .lbl { font: 500 12px var(--font); fill: var(--muted); }
.flow__svg { margin-bottom: 14px; }
.flow__auto { display: grid; gap: 8px; }
.flow__auto div { display: flex; align-items: center; gap: 12px; font-size: .85rem; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.sw { width: 34px; height: 20px; border-radius: 10px; background: #2a3a4d; position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8ea3b8; transition: transform .3s; }
.sw.on { background: var(--cyan); }
.sw.on::after { transform: translateX(14px); background: #fff; }

/* ---------- Erneuerbare Energie ---------- */
.energy { background: radial-gradient(900px 500px at 15% 0%, rgba(255,210,63,.09), transparent 70%), radial-gradient(800px 500px at 100% 100%, rgba(79,209,107,.08), transparent 70%); }
.kicker--yellow { color: var(--yellow); }
.grad--sun { background-image: linear-gradient(100deg, var(--yellow), var(--orange) 50%, var(--green)); }
.sld { margin-bottom: 40px; padding: clamp(16px, 3vw, 30px); border-radius: var(--radius); border: 1px solid rgba(255,210,63,.18); background: linear-gradient(180deg, rgba(255,210,63,.04), rgba(255,255,255,.01)); overflow-x: auto; }
.sld__svg { min-width: 640px; width: 100%; }
.sld__pv rect { fill: #13304f; stroke: #2ec5ff; stroke-width: 1.2; animation: shine 4s ease-in-out infinite; }
.sld__pv rect:nth-child(3n+2) { animation-delay: .4s; } .sld__pv rect:nth-child(3n) { animation-delay: .8s; }
@keyframes shine { 50% { fill: #1d4a78; } }
.sld__box rect { fill: #0b1624; stroke: var(--line-2); stroke-width: 1.5; }
.sld__box--ms rect { stroke: var(--yellow); }
.sld__box .sym { fill: none; stroke: var(--text); stroke-width: 2; }
.sld__box text { fill: var(--muted); font: 600 12px var(--font-d); text-anchor: middle; }
.sld__grid path { fill: none; stroke: #8ea3b8; stroke-width: 2; }
.sld__lbl { fill: var(--text); font: 600 14px var(--font-d); text-anchor: middle; }
.sld__v { fill: var(--muted); font: 500 12px var(--font); text-anchor: middle; }
.panel--sun { background: linear-gradient(160deg, rgba(255,210,63,.08), rgba(255,255,255,.01) 60%); }
.checks--sun li::before { background-color: rgba(255,210,63,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ffd23f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.steps--sun::before { background: linear-gradient(90deg, var(--yellow), var(--green)); }
.steps--sun span { border-color: var(--yellow); color: var(--yellow); }
.btn--sun { background: linear-gradient(100deg, var(--yellow), var(--orange)); color: #1a0b00; box-shadow: 0 10px 30px -10px rgba(255,170,60,.6); }
.center { text-align: center; margin-top: 50px; }
.card__panels { position: absolute; right: 30px; bottom: 30px; width: 36%; height: 62%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; transform: perspective(500px) rotateX(35deg); }
.card__panels i { border-radius: 3px; background: linear-gradient(160deg, #1d4a78, #0f2a47); border: 1px solid rgba(46,197,255,.35); position: relative; overflow: hidden; }
.card__panels i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,230,140,.55) 50%, transparent 70%); transform: translateX(-120%); animation: glint 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 120ms); }
@keyframes glint { 40%, 100% { transform: translateX(120%); } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.avatar--o { background: linear-gradient(135deg, #8a3d12, var(--orange)); }
.person { display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.avatar { flex: none; width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center; font: 700 1.6rem var(--font-d); background: linear-gradient(135deg, var(--navy), var(--blue)); }
.avatar--g { background: linear-gradient(135deg, #2c6b30, var(--green)); }
.role { color: var(--green); font-size: .9rem; font-weight: 500; margin-top: -.3em; }
.person p:not(.role) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .75rem; color: var(--muted); padding: .2em .6em; border-radius: 6px; background: rgba(255,255,255,.05); }

/* ---------- Kontakt ---------- */
.contact { background: radial-gradient(900px 500px at 0% 100%, rgba(79,209,107,.12), transparent 70%), radial-gradient(800px 500px at 100% 0%, rgba(59,139,255,.12), transparent 70%); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 10px; }
.contact__list a, .contact__list div { display: flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font: 600 1.05rem var(--font-d); transition: border-color .25s, background .25s; }
.contact__list a:hover { border-color: var(--green); background: rgba(79,209,107,.06); }
.contact__list span { font: 500 .72rem var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.form { padding: clamp(24px, 4vw, 38px); border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(10,21,34,.75); backdrop-filter: blur(10px); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: #b7c7d7; }
.form small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--text); background: rgba(6,13,22,.8); border: 1px solid var(--line-2); border-radius: 12px; padding: .8em 1em; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(79,209,107,.15); }
.form .invalid { border-color: #ff6b6b; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__hint { font-size: .8rem; color: var(--muted); margin: 0; }
.form__hint a { color: var(--green); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: .88rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer nav a:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.mock.reveal { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) translateY(30px); }
.mock.reveal.is-visible { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.mock.reveal.is-visible:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 130px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: #b7c7d7; }
.legal a { color: var(--green); text-decoration: underline; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; color: #b7c7d7; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid, .split, .contact__grid, .duo { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; order: -1; margin-bottom: -40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card { grid-column: auto; }
  .bento .card--xl, .bento .card--energy { grid-column: span 2; }
  .team { grid-template-columns: 1fr; }
  .mock, .mock.reveal.is-visible { transform: none; }
  .feature--rev .thermal { order: -1; }
}
@media (max-width: 1100px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 24px; background: rgba(6,13,22,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); font-size: 1.1rem;
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav__links.open { transform: none; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a.active::after { display: none; }
  .nav__links .btn { margin-top: 16px; justify-content: center; }
  .nav__links .lang { align-self: flex-start; margin-top: 16px; font-size: .95rem; }
  .nav__links .lang a { padding: .3em .9em; border-bottom: 0; }
}
@media (max-width: 640px) {
  .bento, .features, .checks--grid, .team, .form__row { grid-template-columns: 1fr; }
  .bento .card--xl, .bento .card--wide { grid-column: auto; }
  .bento .card--xl { padding-right: 30px; min-height: 0; }
  .bento .card--energy { grid-column: auto; }
  .card--xl .card__bars, .card__panels { position: relative; right: auto; bottom: auto; width: auto; height: 100px; margin-top: 24px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .steps::before { display: none; }
  .iso { grid-template-columns: repeat(2, 1fr); }
  .person { flex-direction: column; }
  .hud--a { left: 0; } .hud--b { right: 0; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mquick { grid-template-columns: 1fr 1fr; }
  .qr { flex-direction: column; align-items: flex-start; }
  .gear { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
