/* ==========================================================================
   ROYA by Easy Switch · Landing Page
   Design: dunkle Buehne, ein Licht. Blau nur dort, wo etwas leuchtet.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  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 Tight";
  src: url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #04060b;
  --bg-2: #080c14;
  --bg-3: #0d131e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef3f9;
  --text-2: #b7c2d0;
  --muted: #7f8c9e;
  --blue: #3ba4f2;
  --blue-hi: #8fd0ff;
  --blue-deep: #1567c4;
  --slate: #313d4f;
  --wa: #25d366;
  --glow: 0 0 40px rgba(59, 164, 242, 0.35);

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 18px;
  --radius-s: 10px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Feine Koernung ueber allem, gegen sterile Verlaeufe */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Typo ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 10px var(--blue), 0 0 24px rgba(59,164,242,.6);
}
.h-xl, .h-l, .h-m {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
.h-xl { font-size: clamp(42px, min(7vw, 10.5vh), 116px); }
.h-l { font-size: clamp(38px, 5.6vw, 88px); line-height: 1.02; }
.h-m { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.025em; }
.strong { font-weight: 560; }
.glow-text {
  color: #fff;
  background: linear-gradient(100deg, #fff 0%, var(--blue-hi) 45%, var(--blue) 70%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 7s var(--ease-inout) infinite;
  filter: drop-shadow(0 0 28px rgba(59, 164, 242, 0.35));
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-2); max-width: 58ch; margin: 0; }
.mono { font-family: var(--font-mono); }

/* Zeilen-Masken fuer SplitText */
.split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--surface-2);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 560; font-size: 16px; letter-spacing: -0.01em;
  background: var(--bg-btn);
  border: 1px solid var(--line-2);
  transition: background 0.3s var(--ease-out), border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  white-space: nowrap;
  isolation: isolate;
}
.btn:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  --bg-btn: var(--blue);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 40px -10px rgba(59,164,242,.8), inset 0 1px 0 rgba(255,255,255,.35);
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}
.btn-primary:hover { background: #4cb0f7; box-shadow: 0 14px 50px -8px rgba(59,164,242,.95), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-wa:hover { border-color: rgba(37,211,102,.6); background: rgba(37,211,102,.12); }
.btn-wa svg { color: var(--wa); }
.btn-icon { width: 54px; padding: 0; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Intro: LED-Module schalten ein ---------- */
.boot {
  position: fixed; inset: 0; z-index: 200; background: #020306;
  display: grid; place-items: center;
  pointer-events: none;
}
.boot-tiles {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 16), 1fr);
  grid-template-rows: repeat(var(--rows, 9), 1fr);
}
.boot-tiles span { background: #020306; box-shadow: inset 0 0 0 0.5px rgba(255,255,255,.035); }
.boot-logo { position: relative; width: 84px; height: 84px; z-index: 2; }
.boot-logo svg { width: 100%; height: 100%; overflow: visible; }
.boot-logo .ring, .boot-logo .bar { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; }
.boot-done .boot { display: none; }
.no-js .boot { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 6, 11, 0.62);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; height: 30px; }
.logo svg { height: 100%; width: auto; }
.logo-text { fill: #e9eef5; }
.logo-power .ring, .logo-power .bar { fill: none; stroke: var(--blue); stroke-linecap: round; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav a:not(.btn):hover { color: #fff; background: var(--surface-2); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
  padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center;
}
.header-phone:hover { color: #fff; }
.header-phone svg { width: 15px; height: 15px; color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(4,6,11,.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  font-family: var(--font-display); font-size: 40px; font-weight: 300; letter-spacing: -0.03em;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .m-actions { margin-top: auto; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(28px, 5vh, 56px);
  overflow: clip;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 36% 40%;
  transform-origin: 50% 40%;
}
.hero-media video { opacity: 0; transition: opacity 1.2s; }
.hero-media video.is-ready { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,6,11,.7) 0%, rgba(4,6,11,0) 22%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4,6,11,.88) 22%, rgba(4,6,11,.25) 55%, rgba(4,6,11,0) 75%),
    linear-gradient(90deg, rgba(4,6,11,.75) 0%, rgba(4,6,11,0) 60%);
}
.hero-content { display: grid; gap: clamp(18px, 2.6vh, 28px); }
.hero-title { max-width: 14ch; }
.hero-title .line-1, .hero-title .line-2 { display: block; }
.hero-title [data-glow] { display: inline-block; padding-bottom: .06em; }
.boot.has-tiles { background: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-bottom {
  margin-top: clamp(12px, 3vh, 40px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.spec {
  padding: 18px 20px 0 0;
  display: grid; gap: 4px;
}
.spec + .spec { padding-left: 20px; border-left: 1px solid var(--line); }
.spec b { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; }
.spec span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ai-badge {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 16px); z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); background: rgba(0,0,0,.35); border: 1px solid var(--line);
  padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(6px);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 1px; height: 44px;
  background: linear-gradient(var(--blue), transparent); opacity: .7;
  animation: cue 2.2s var(--ease-inout) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.02em; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
}
.marquee-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 200px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }

/* Statement mit Wort-fuer-Wort-Aufleuchten */
.statement p {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(32px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -0.03em;
  margin: 0; max-width: 20ch;
}
.statement .w { color: rgba(238,243,249,.14); transition: color .2s; }
.statement .w.hl { color: var(--blue-hi); }

/* ---------- Pixel-Zoom (Signature) ---------- */
.pixel { position: relative; height: 420vh; }
.pixel-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.pixel-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pixel-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.75) 100%),
              linear-gradient(0deg, rgba(4,6,11,.9) 0%, transparent 35%); }
.pixel-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 8vh, 90px);
  display: grid; gap: 14px; max-width: 760px;
}
.pixel-copy .step { position: absolute; bottom: 0; left: 0; right: 0; opacity: 0; }
.pixel-copy .step:first-child { position: relative; }
.pixel-hud {
  position: absolute; top: calc(var(--header-h) + 20px); right: var(--gutter);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); display: grid; gap: 6px; text-align: right;
}
.pixel-hud b { color: var(--blue-hi); font-weight: 500; font-size: 22px; letter-spacing: 0; }
.pixel-progress { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 26px); width: 140px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.pixel-progress i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }

/* ---------- Einsatzbereiche, horizontal ---------- */
.uses { padding-bottom: 0; }
.uses-pin { position: relative; }
.uses-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; }
.use {
  position: relative; flex: none;
  width: min(78vw, 1080px); aspect-ratio: 16 / 9.4;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  isolation: isolate;
}
.use img, .use video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.use::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(4,6,11,.92) 0%, rgba(4,6,11,.35) 40%, rgba(4,6,11,0) 65%);
}
.use-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 3vw, 40px); display: grid; gap: 10px; }
.use-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--blue-hi); }
.use h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1.05; margin: 0; max-width: 18ch; }
.use p { margin: 0; color: var(--text-2); max-width: 52ch; font-size: 16px; }
.use .ai-tag {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.6); background: rgba(0,0,0,.4); padding: 3px 7px; border-radius: 5px;
}
.uses-hint { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.uses-bar { width: 200px; height: 2px; background: var(--line-2); overflow: hidden; border-radius: 2px; }
.uses-bar i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }

/* ---------- Lines ---------- */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.tabs button {
  position: relative; z-index: 1; height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 560; font-size: 15px; color: var(--text-2); transition: color .3s;
}
.tabs button[aria-selected="true"] { color: #fff; }
.tabs .tab-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--blue); box-shadow: 0 6px 24px -6px rgba(59,164,242,.8); transition: left .5s var(--ease-out), width .5s var(--ease-out); }

.lines-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.lines-grid[data-set="outdoor"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.line-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  padding: 22px; display: grid; gap: 18px; align-content: start;
  transition: border-color .4s;
}
.line-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(59,164,242,.16), transparent 60%);
}
.line-card:hover { border-color: rgba(59,164,242,.45); }
.line-card:hover::before { opacity: 1; }
.line-card .lc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.line-card .lc-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.line-card .lc-pitch { font-family: var(--font-mono); font-size: 13px; color: var(--blue-hi); letter-spacing: .04em; border: 1px solid rgba(59,164,242,.35); padding: 3px 9px; border-radius: 999px; }
.line-card h3 { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.dots { aspect-ratio: 1 / 0.62; width: 100%; border-radius: 12px; background: #020408; border: 1px solid var(--line); }
.lc-specs { display: grid; gap: 0; margin: 0; }
.lc-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.lc-specs dt { color: var(--muted); }
.lc-specs dd { margin: 0; font-family: var(--font-mono); font-size: 13.5px; text-align: right; }
.footnote { margin-top: 22px; color: var(--muted); font-size: 13.5px; max-width: 80ch; }

/* ---------- Konfigurator ---------- */
.config { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.config-panel {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  padding: 26px; display: grid; gap: 26px; align-content: start;
}
.field-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg.wrap { grid-auto-flow: row; grid-template-columns: 1fr; }
.seg button {
  min-height: 46px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2);
  font-size: 14.5px; font-weight: 500; color: var(--text-2); text-align: center;
  transition: all .3s var(--ease-out);
}
.seg.wrap button { text-align: left; padding-inline: 16px; }
.seg button:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.seg button[aria-pressed="true"] { background: rgba(59,164,242,.14); border-color: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }
.config-panel, .config-panel > * , .seg, .seg button { min-width: 0; }
.seg[data-config="line"] { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.seg[data-config="line"] button { text-align: left; padding: 10px 14px; line-height: 1.25; }
.seg.sizes { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
.seg.sizes .size-custom { grid-column: 1 / -1; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; }
.seg.sizes .size-custom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.custom-panel { display: grid; gap: 12px; }
.custom-panel[hidden], .fld-custom[hidden] { display: none; }
.seg.shapes { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
.seg.shapes button { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; font-size: 13px; }
.seg.shapes svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.seg.shapes button[aria-pressed="true"] svg { stroke: var(--blue-hi); }
.seg.shapes .shape-free { grid-column: 1 / -1; grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; font-size: 14px; border-style: dashed; }
.seg.shapes .shape-free svg { width: 20px; height: 20px; }
.custom-hint { margin: 0; font-size: 13.5px; color: var(--blue-hi); opacity: .85; }
.dim-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dim-inputs label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.dim-inputs input { min-height: 46px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 16px; width: 100%; }
.dim-inputs input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,164,242,.15); }
.form .fld-custom { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; padding: 16px; border-radius: 14px; border: 1px dashed rgba(59,164,242,.45); background: rgba(59,164,242,.05); }
@media (max-width: 640px) { .form .fld-custom { grid-template-columns: 1fr; } }
.seg.sizes button { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.config-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.config-out div { background: var(--bg-2); padding: 14px 16px; display: grid; gap: 2px; }
.config-out span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.config-out b { font-family: var(--font-display); font-weight: 400; font-size: clamp(17px, 1.45vw, 22px); letter-spacing: -0.02em; white-space: nowrap; }
.config-out .wide { grid-column: 1 / -1; }
.config-stage {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(59,164,242,.08), transparent 70%),
    linear-gradient(180deg, #070b12, #04060b);
  min-height: 560px;
}
.config-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-grid line { stroke: rgba(255,255,255,.05); }
.stage-floor { stroke: rgba(255,255,255,.25); }
.wall-rect { fill: url(#wallFill); stroke: rgba(143,208,255,.7); stroke-width: 1.2; filter: url(#wallGlow); }
.wall-dim { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.wall-dim-text, .person-text { fill: var(--text-2); font-family: var(--font-mono); font-size: 13px; }
.person { fill: rgba(238,243,249,.82); }
.stage-legend { position: absolute; left: 20px; top: 18px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }


/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); counter-reset: s; }
.step-item { padding: 28px 24px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step-item + .step-item { padding-left: 24px; border-left: 1px solid var(--line); }
.step-item::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--blue); box-shadow: 0 0 12px var(--blue); transition: width 1.2s var(--ease-out); }
.step-item.is-on::before { width: 100%; }
.step-item b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--blue-hi); }
.step-item h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; }
.step-item p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* ---------- Ueber uns ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-text { display: grid; gap: 24px; }
.about-lead {
  margin: 0; font-family: var(--font-display); font-weight: 300; letter-spacing: -0.015em;
  font-size: clamp(21px, 1.9vw, 28px); line-height: 1.35; color: var(--text);
  padding-left: 22px; border-left: 2px solid var(--blue); box-shadow: -10px 0 24px -16px rgba(59,164,242,.9);
}
.about-lead strong { font-weight: 560; color: var(--blue-hi); }
.about-cards { display: grid; gap: 14px; }
.about-card {
  position: relative; display: grid; gap: 8px; padding: 24px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.about-card.is-hl { border-color: rgba(59,164,242,.45); background: linear-gradient(135deg, rgba(59,164,242,.12), rgba(59,164,242,.03)); }
.about-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--blue-hi); }
.about-card h3 { margin: 0; font-family: var(--font-display); font-weight: 450; font-size: 24px; letter-spacing: -0.02em; }
.about-card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.nav a.nav-about { color: #fff; border: 1px solid rgba(59,164,242,.55); background: rgba(59,164,242,.12); box-shadow: 0 0 18px -6px rgba(59,164,242,.8); }
.nav a.nav-about:hover { background: rgba(59,164,242,.22); }
.mobile-menu a.m-about { color: var(--blue-hi); }
@media (max-width: 1100px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 1200px) { .header-phone { display: none; } }
@media (max-width: 1080px) { .nav a:not(.btn) { padding: 8px 10px; font-size: 14px; } .nav { gap: 2px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); font-weight: 450; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .faq-item summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--text-2);
  transition: transform .4s var(--ease-out);
}
.faq-item summary::before { transform: rotate(90deg); }
.faq-item[open] summary::before { transform: rotate(0deg); }
.faq-item .faq-a { padding: 0 48px 26px 0; color: var(--text-2); }
.faq-item .faq-a p { margin: 0 0 10px; }

/* ---------- Easy Switch Sequenz ---------- */
.switch { position: relative; height: 320vh; }
.switch-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #03050a; }
.switch-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.switch-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(4,6,11,.92) 0%, rgba(4,6,11,.35) 38%, rgba(4,6,11,0) 60%),
              linear-gradient(180deg, var(--bg) 0%, rgba(4,6,11,0) 18%); }
.switch-copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 100px); }
.sw-step { position: absolute; left: 0; right: 0; bottom: 0; max-width: 900px; }
.sw-b { opacity: 0; }
.switch-toggle {
  position: absolute; top: calc(var(--header-h) + 22px); left: var(--gutter);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--muted);
}
.sw-track { width: 52px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line-2); position: relative; transition: background .4s, box-shadow .4s; }
.sw-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #cfd8e3; transition: transform .45s var(--ease-out), background .4s; }
.switch.is-on .sw-track { background: var(--blue); box-shadow: 0 0 24px rgba(59,164,242,.7); border-color: transparent; }
.switch.is-on .sw-knob { transform: translateX(24px); background: #fff; }
.switch.is-on .sw-on, .switch:not(.is-on) .sw-off { color: #fff; }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: clip; }
.contact-glow {
  position: absolute; left: 50%; top: 0; width: 1400px; height: 700px; translate: -50% -45%;
  background: radial-gradient(closest-side, rgba(59,164,242,.22), transparent 70%);
  pointer-events: none; z-index: -1;
}
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
.channel {
  position: relative; display: grid; gap: 14px; padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease-out), background .4s;
}
.channel:hover { transform: translateY(-4px); border-color: rgba(59,164,242,.5); background: rgba(59,164,242,.06); }
.channel.wa:hover { border-color: rgba(37,211,102,.55); background: rgba(37,211,102,.06); }
.channel .ch-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(59,164,242,.14); color: var(--blue-hi); }
.channel.wa .ch-icon { background: rgba(37,211,102,.14); color: var(--wa); }
.channel .ch-icon svg { width: 21px; height: 21px; }
.channel span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.channel b { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; word-break: break-word; }
.channel .arrow { position: absolute; right: 22px; top: 26px; width: 20px; height: 20px; color: var(--muted); transition: transform .4s var(--ease-out), color .3s; }
.channel:hover .arrow { transform: translate(3px, -3px); color: #fff; }

.form-wrap {
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(13,19,30,.92), rgba(8,12,20,.92));
  padding: clamp(22px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.8);
}
.form-aside { display: grid; gap: 18px; align-content: start; }
.form-aside ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.form-aside li { display: flex; gap: 12px; align-items: flex-start; }
.form-aside li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.fld { position: relative; display: grid; gap: 7px; }
.fld label { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.fld label i { color: var(--blue-hi); font-style: normal; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  transition: border-color .25s, background .25s, box-shadow .25s;
  font-size: 16px;
}
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23b7c2d0' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.fld select option { background: #0d131e; color: #fff; }
.fld textarea { min-height: 128px; resize: vertical; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(255,255,255,.25); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: rgba(59,164,242,.06); box-shadow: 0 0 0 4px rgba(59,164,242,.15); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: #ff6b6b; }
.fld .err { font-size: 12.5px; color: #ff8a8a; min-height: 0; }
.prefs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2); transition: all .25s; }
.chip input:checked + span { border-color: var(--blue); background: rgba(59,164,242,.14); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { font-size: 14.5px; color: var(--text-2); }
.form-status.ok { color: #7ee2a8; }
.form-status.bad { color: #ff8a8a; }
.config-chip {
  display: none; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  border: 1px dashed rgba(59,164,242,.5); background: rgba(59,164,242,.06); font-size: 14px; color: var(--text-2);
}
.config-chip.is-on { display: flex; }
.config-chip b { color: #fff; font-weight: 500; }
.config-chip button { margin-left: auto; color: var(--muted); font-size: 13px; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 120px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0 0 14px; font-weight: 500; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-big {
  font-family: var(--font-display); font-weight: 200; letter-spacing: -0.06em; line-height: .8;
  font-size: clamp(90px, 22vw, 340px); color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.1);
  margin: 64px 0 0; user-select: none; white-space: nowrap;
  display: flex; align-items: center;
}
.footer-big .o { display: inline-block; width: .74em; height: .74em; margin: 0 .02em; }
.footer-big .o svg { width: 100%; height: 100%; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Sticky Mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 95;
  display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(10,15,24,.82); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.mobile-cta.is-on { transform: translateY(0); }
.mobile-cta a { height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 560; }
.mobile-cta a svg { width: 17px; height: 17px; }
.mobile-cta .m-call { background: var(--surface-2); }
.mobile-cta .m-wa { background: rgba(37,211,102,.16); color: #b8f5cf; }
.mobile-cta .m-wa svg { color: var(--wa); }
.mobile-cta .m-form { background: var(--blue); color: #fff; }

/* ---------- Reveal-Defaults (JS setzt Animationen, ohne JS bleibt alles sichtbar) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lines-grid, .lines-grid[data-set="outdoor"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .config { grid-template-columns: 1fr; }
  .config-stage { min-height: 420px; }
  .config { display: flex; flex-direction: column; }
  .config-stage { order: -1; position: sticky; top: calc(var(--header-h) - 8px); z-index: 2; }
  .faq { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .hero-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec { padding-bottom: 14px; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .channels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mobile-cta { display: grid; }
  .uses-track { flex-direction: column; width: auto; }
  .use { width: 100%; aspect-ratio: 4 / 5; }
  .use img, .use video { scale: 1; }
  .uses-hint { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lines-grid, .lines-grid[data-set="outdoor"] { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-item + .step-item { padding-left: 0; border-left: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-actions .btn-primary { flex-basis: 100%; }
  .config-out b { font-size: 20px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 0 12px; }
  .pixel { height: 340vh; }
  .config-stage { min-height: 250px; top: 8px; }
  .stage-legend { font-size: 10px; }
  .switch { height: 260vh; }
  .ai-badge { top: calc(var(--header-h) + 8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
  .boot { display: none; }
}
