/* NISPoS Website – dunkel, glasig, 3D. Keine externen Ressourcen (DSGVO). */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #050d1c;            /* Nachtblau, aus der Markenfarbe abgeleitet */
  --text: #eaf1fb;
  --muted: #9fb2cc;
  --line: rgba(160, 196, 240, .16);
  --blue: #1b7cc8;          /* Markenblau hell */
  --blue-deep: #1459a0;     /* Markenblau */
  --sky: #6dcaf5;           /* Markenblau Akzent */
  --glass: rgba(255, 255, 255, .055);
  --glass-hi: rgba(255, 255, 255, .1);
  --glass-line: rgba(255, 255, 255, .14);
  --r-m: 18px;
  --r-l: 28px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0; min-height: 100vh;
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--sky); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; }
.dim { color: var(--muted); }

/* Hintergrund: weiche Lichtflächen in Markenblau + Körnung */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 24s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 60vw; height: 60vw; left: -15vw; top: -25vw; background: radial-gradient(circle, #1459a0, transparent 65%); }
.aurora span:nth-child(2) { width: 50vw; height: 50vw; right: -18vw; top: 10vh; background: radial-gradient(circle, #1b7cc8, transparent 65%); animation-delay: -8s; opacity: .4; }
.aurora span:nth-child(3) { width: 45vw; height: 45vw; left: 30vw; bottom: -30vw; background: radial-gradient(circle, #6dcaf5, transparent 65%); animation-delay: -16s; opacity: .22; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.12); } }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Glas */
.glass {
  background: linear-gradient(160deg, var(--glass-hi), var(--glass) 60%);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px -30px rgba(0,0,0,.8);
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 650; text-decoration: none; color: #fff; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn-glow {
  background: linear-gradient(135deg, #3b9bdd, #1459a0);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 40px -8px rgba(27,124,200,.9);
}
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 16px 56px -6px rgba(109,202,245,.9); }
.btn-glass { background: rgba(255,255,255,.07); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.13); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .9rem; background: #fff; color: var(--bg); }
.btn-small:hover { color: var(--bg); box-shadow: 0 8px 30px -6px rgba(109,202,245,.8); }
.btn-xl { min-height: 60px; padding: 0 32px; font-size: 1.15rem; }

/* Header: schwebende Glasleiste */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; }
.header-row { display: flex; align-items: center; gap: 28px; height: 60px; border-radius: 999px; padding: 0 10px 0 22px; max-width: 1100px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 850; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
.brand b { color: var(--sky); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 520; transition: color .2s; }
.nav a:hover { color: #fff; }

/* Einblenden beim Scrollen (nur wenn JS aktiv, sonst sichtbar) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* HERO */
.hero { position: relative; padding: 168px 0 0; text-align: center; overflow: hidden; }
.kicker { display: inline-block; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.hero-title {
  font-size: clamp(3rem, 1.2rem + 7.6vw, 8.5rem); font-weight: 860; letter-spacing: -.055em; line-height: .92;
  background: linear-gradient(180deg, #fff 30%, #a9cdf0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero-sub { max-width: 34em; margin: 28px auto 0; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.js .hero-title.reveal { transition-delay: .08s; } .js .hero-sub.reveal { transition-delay: .16s; } .js .hero-actions.reveal { transition-delay: .24s; }

/* 3D-Bühne: --rx/--ry kommen per JS aus Maus und Scroll */
.stage { perspective: 1800px; margin-top: 72px; height: clamp(320px, 52vw, 720px); --rx: 0deg; --ry: 0deg; }
.stack {
  position: relative; width: min(1040px, 88vw); margin: 0 auto; aspect-ratio: 16 / 10;
  transform-style: preserve-3d;
  transform: rotateX(calc(28deg + var(--rx))) rotateY(var(--ry)) rotateZ(-2deg);
  transition: transform .6s var(--ease);
  animation: rise 1.6s var(--ease) .3s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(120px) rotateX(55deg) rotateZ(-2deg); } }
.layer { position: absolute; margin: 0; border-radius: var(--r-m); overflow: hidden; transform-style: preserve-3d; }
.layer img { width: 100%; }
.layer-main { inset: 0; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 120px -20px rgba(27,124,200,.55); background: #0b1626; }
.layer-back { width: 62%; right: -16%; top: -22%; transform: translateZ(-160px); opacity: .55; border: 1px solid rgba(255,255,255,.12); }
.layer-phone { width: 17%; left: -6%; bottom: -14%; border-radius: 24px; border: 6px solid #0e1f3a; transform: translateZ(140px); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); }
.chip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; overflow: visible; color: #fff; text-align: left; }
.chip small { display: block; color: var(--muted); font-size: .78rem; }
.chip b { display: block; font-size: 1rem; }
.chip-tse { right: -5%; top: 12%; transform: translateZ(200px); }
.chip-sum { right: 8%; bottom: -8%; transform: translateZ(240px); display: block; }
.chip-sum b { font-size: 1.6rem; letter-spacing: -.02em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.18), 0 0 18px #3ddc97; }

/* Laufband */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee ul { display: flex; gap: 56px; list-style: none; margin: 0; padding: 0 28px; }
.marquee li { font-size: 1.25rem; font-weight: 700; color: rgba(234,241,251,.55); letter-spacing: -.01em; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Abschnitte */
.statement, .scenes, .system, .secure, .own, .flow, .pricing, .faq, .final { padding: clamp(88px, 12vw, 168px) 0; }
.section-head { max-width: 920px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); }
.section-head p { margin-top: 18px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); }

/* Statement */
.big { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 5.4rem); max-width: 16ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 88px); }
.stat { border-radius: var(--r-l); padding: 32px; }
.stat b { display: block; font-size: clamp(3.5rem, 2rem + 5vw, 6.5rem); line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #6dcaf5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 14px; color: var(--muted); max-width: 22ch; }
.js .stat:nth-child(2) { transition-delay: .1s; } .js .stat:nth-child(3) { transition-delay: .2s; }

/* Szenen: Screen kippt beim Scrollen in die Ebene (--p: 0 bis 1 per JS) */
.scene { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(80px, 12vw, 160px); }
.scene:last-child { margin-bottom: 0; }
.scene-flip .scene-text { order: 2; }
.tag { display: inline-block; font-size: .85rem; font-weight: 650; color: var(--sky); padding: 5px 12px; border-radius: 999px; background: rgba(109,202,245,.1); border: 1px solid rgba(109,202,245,.25); }
.scene h3 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); margin: 20px 0 28px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; }
.points li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(109,202,245,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236dcaf5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.scene-shot {
  --p: 1; --dir: -1; margin: 0; border-radius: var(--r-m); overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); background: #0b1626;
  transform: perspective(1600px) rotateY(calc((1 - var(--p)) * 22deg * var(--dir))) rotateX(calc((1 - var(--p)) * 14deg)) scale(calc(.9 + var(--p) * .1));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 100px -30px rgba(27,124,200,.6);
}
.scene-flip .scene-shot { --dir: 1; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { margin: 0; border-radius: var(--r-l); padding: 26px; overflow: hidden; display: flex; flex-direction: column; gap: 20px; transition: transform .4s var(--ease); }
.tile figcaption { color: var(--muted); }
.tile figcaption b { color: #fff; margin-right: 6px; }
.tile img { border-radius: 12px; border: 1px solid rgba(255,255,255,.12); margin-top: auto; }
.tile-admin { grid-column: span 4; grid-row: span 2; }
.tile-kds { grid-column: span 2; grid-row: span 2; }
.tile-kds img { width: 190%; max-width: none; }
.tile-offline { grid-column: span 2; justify-content: flex-end; min-height: 200px; }
.tile-lang { grid-column: span 1; justify-content: flex-end; }
.tile-extra { grid-column: span 3; }
.tile-big { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); letter-spacing: -.045em; line-height: 1; background: linear-gradient(180deg, #fff, #6dcaf5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile p { color: var(--muted); }

/* Rechtssicherheit */
.secure-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.secure h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); hyphens: manual; }
.secure-sub { margin-top: 24px; color: var(--muted); font-size: 1.2rem; max-width: 28em; }
.law { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.law li { border-radius: var(--r-m); padding: 20px 24px; display: grid; gap: 4px; }
.law b { font-size: 1.1rem; }
.law span { color: var(--muted); }

/* Datensouveränität */
.huge { font-size: clamp(3rem, 1.2rem + 8vw, 10rem); line-height: .9; letter-spacing: -.06em; }
.grad { background: linear-gradient(90deg, #6dcaf5, #1b7cc8 60%, #6dcaf5); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.own-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); padding-top: 32px; }
.own-row p { color: var(--muted); font-size: 1.1rem; }
.own-row b { display: block; color: #fff; font-size: 1.35rem; margin-bottom: 6px; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; border-radius: var(--r-l); padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #3b9bdd, #1459a0); font-weight: 800; margin-bottom: 26px; box-shadow: 0 8px 30px -6px rgba(27,124,200,.9); }
.steps b { display: block; font-size: 1.4rem; letter-spacing: -.02em; }
.steps span { display: block; margin-top: 6px; color: var(--muted); }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; border-radius: var(--r-l); padding: 36px 30px 30px; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.plan h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.plan-for { color: var(--muted); margin-top: 6px; }
.plan-price { margin: 28px 0 22px; }
.plan-price b { font-size: 3.4rem; letter-spacing: -.05em; line-height: 1; }
.plan-price span { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.plan-care { margin-top: auto; padding-bottom: 20px; color: var(--muted); font-size: .95rem; }
.plan .btn { width: 100%; }
.plan-hot { border-color: rgba(109,202,245,.55); background: linear-gradient(160deg, rgba(27,124,200,.32), rgba(255,255,255,.05) 70%); box-shadow: 0 0 0 1px rgba(109,202,245,.25), 0 30px 90px -30px rgba(27,124,200,.9); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: #fff; color: var(--bg); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.fine { margin-top: 22px; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); margin-bottom: 40px; }
details { border-radius: var(--r-m); margin-bottom: 12px; padding: 0 26px; }
summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 650; font-size: 1.15rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.7rem; font-weight: 300; color: var(--sky); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 22px; color: var(--muted); }

/* Abschluss */
.final-card { border-radius: 36px; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.final-card::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(27,124,200,.55), transparent); z-index: -1; }
.final h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); }
.final-card > p { margin: 22px auto 0; color: var(--muted); font-size: 1.2rem; max-width: 30em; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.final address { margin-top: 40px; font-style: normal; color: var(--muted); font-size: .9rem; }

.site-footer { padding: 32px 0 40px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-row nav { display: flex; gap: 22px; }
.footer-row a { color: var(--muted); }

/* Rechtstext-Seiten */
.legal { padding: 140px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; letter-spacing: -.01em; margin: 34px 0 8px; }
.legal p { color: var(--muted); max-width: 70ch; }
.legal p + p { margin-top: 10px; }
.legal mark { background: #ffd54a; color: #000; padding: 0 4px; border-radius: 3px; }


/* ===== Feinschliff: Premium-Details ===== */

/* Glas mit leuchtender Verlaufskante und Lichtkegel, der dem Mauszeiger folgt (--mx/--my per JS) */
.glass:not(.layer) { position: relative; }
.glass { isolation: isolate; }
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.35), rgba(255,255,255,.04) 35%, rgba(109,202,245,.25) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(109,202,245,.16), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
[data-spot]:hover::after { opacity: 1; }
.header-row.glass::before { border-radius: 999px; }

.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

/* Hero-Lichtkegel */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(600px circle at var(--hx, 50%) var(--hy, 30%), rgba(27,124,200,.18), transparent 70%); }
.hero-video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0b1626; }

/* Textlinks mit Pfeilbewegung ohne Pfeilzeichen */
.more { display: inline-flex; align-items: center; gap: 8px; margin: 28px 22px 0 0; color: #fff; font-weight: 620; text-decoration: none; border-bottom: 1px solid rgba(109,202,245,.45); padding-bottom: 3px; transition: border-color .2s, color .2s; }
.more:hover { color: var(--sky); border-color: var(--sky); }

/* Geräte-Szene in 3D */
.devices { padding: clamp(88px, 12vw, 168px) 0; }
.device-stage { perspective: 2200px; padding: 20px 24px 60px; overflow: hidden; }
.device-row {
  --p: 1; display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 3vw, 44px);
  max-width: 1240px; margin: 0 auto; transform-style: preserve-3d;
  transform: rotateX(calc(14deg * (1 - var(--p)) + 6deg)) translateY(calc(60px * (1 - var(--p))));
}
.dev { margin: 0; position: relative; transform-style: preserve-3d; }
.dev figcaption { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.dev-screen { overflow: hidden; background: #000; }
.dev-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.dev-monitor { width: 34%; transform: rotateY(18deg) translateZ(-60px); }
.dev-monitor .dev-screen { aspect-ratio: 16 / 10; border: 10px solid #121a27; border-bottom-width: 18px; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.08); }
.dev-stand { width: 22%; height: 46px; margin: -2px auto 0; background: linear-gradient(#1d2738, #0e1522); clip-path: polygon(35% 0, 65% 0, 80% 100%, 20% 100%); }
.dev-tablet { width: 44%; z-index: 2; transform: translateZ(40px); }
.dev-tablet .dev-screen { aspect-ratio: 16 / 10; border: 16px solid #0d1420; border-radius: 30px; box-shadow: 0 60px 120px -40px rgba(0,0,0,1), 0 0 120px -40px rgba(27,124,200,.7), inset 0 0 0 1px rgba(255,255,255,.1); }
.dev-phone { width: 13%; transform: rotateY(-20deg) translateZ(80px); margin-bottom: 4%; }
.dev-phone .dev-screen { aspect-ratio: 1170 / 2532; border: 7px solid #0d1420; border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,1), inset 0 0 0 1px rgba(255,255,255,.1); }
.device-floor { height: 120px; margin: -40px auto 0; max-width: 1000px; background: radial-gradient(50% 50% at 50% 0, rgba(27,124,200,.35), transparent 70%); filter: blur(10px); }
.devices .bento { margin-top: clamp(48px, 7vw, 96px); }
.tile-offline, .tile-update { grid-column: span 2; justify-content: flex-end; min-height: 200px; }
.tile-extra { grid-column: span 6; }
.tile-extra img { aspect-ratio: 21 / 8; object-fit: cover; object-position: top left; }
.tile-admin { grid-column: span 4; grid-row: span 2; }

/* Kostenrechner */
.calc-box { border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.calc-inputs { display: grid; gap: 30px; }
.field { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: baseline; }
.field span { color: var(--muted); }
.field output { font-weight: 750; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.field input { grid-column: 1 / -1; width: 100%; accent-color: var(--blue); height: 28px; cursor: pointer; }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.calc-col { border-radius: var(--r-m); padding: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); }
.calc-col small { display: block; color: var(--muted); }
.calc-col b { display: block; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -.03em; margin-top: 8px; }
.calc-col-hot { background: linear-gradient(160deg, rgba(27,124,200,.35), rgba(255,255,255,.04)); border-color: rgba(109,202,245,.45); }
.calc-detail { display: block; margin-top: 8px; color: var(--muted); font-size: .85rem; }
.calc-note { grid-column: 1 / -1; color: #d7e6f7; font-size: 1.05rem; }

/* Rückruf-Formular */
.final-card { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); text-align: left; align-items: start; }
.final-text p { margin: 20px 0 0; color: var(--muted); font-size: 1.15rem; max-width: 26em; }
.final-direct a { color: #fff; }
.lead-form { display: grid; gap: 16px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inp { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.inp em { font-style: normal; opacity: .7; }
.inp input, .inp select, .inp textarea {
  font: inherit; font-size: 1rem; color: #fff; width: 100%;
  background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); border-radius: 12px; padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, background-color .2s;
}
.inp select option { color: #000; }
.inp textarea { resize: vertical; }
.inp input:focus, .inp select:focus, .inp textarea:focus { outline: none; border-color: var(--sky); background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(109,202,245,.2); }
.inp [aria-invalid="true"] { border-color: #ff8a8a; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: #7ff0c0; }
.form-status.err { color: #ffb0b0; }
.lead-form button[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid b { color: #fff; margin-bottom: 4px; }
.footer-grid p { margin-top: 14px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: #fff; }

@media (max-width: 1000px) {
  .calc-box, .final-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tile-offline, .tile-update { grid-column: span 1; }
  .tile-extra, .tile-admin { grid-column: span 2; }
  .dev-monitor { display: none; }
  .dev-tablet { width: 72%; }
  .dev-phone { width: 22%; }
}
@media (max-width: 600px) {
  .lead-form .row, .calc-result { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tile-offline, .tile-update { grid-column: span 2; }
  .dev-tablet .dev-screen { border-width: 8px; border-radius: 16px; }
  .dev-phone .dev-screen { border-width: 4px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .device-row { --p: 1 !important; } }

/* Responsive (Basis) */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; margin: 0 16px; }
  .scene, .secure-grid { grid-template-columns: 1fr; }
  .scene-flip .scene-text { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-admin, .tile-kds, .tile-extra { grid-column: span 2; grid-row: auto; }
  .tile-kds img { width: 100%; }
  .tile-offline, .tile-lang { grid-column: span 1; }
  .plans, .stats { grid-template-columns: 1fr; }
  .plan-hot { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .own-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 130px; }
  .hero-actions .btn { width: 100%; }
  .stage { margin-top: 48px; height: 300px; }
  .stack { width: 92vw; }
  .chip-tse { right: 0; top: auto; bottom: -18%; padding: 10px 12px; }
  .chip-tse b { font-size: .9rem; }
  .chip-sum { display: none; }
  .layer-phone { width: 24%; left: -2%; }

  .steps { grid-template-columns: 1fr; }
  .tile-offline, .tile-lang { grid-column: span 2; }
  .btn-xl { width: 100%; font-size: 1rem; }
  .marquee li { font-size: 1.05rem; }
}

/* Bewegung reduzieren: keine 3D-Fahrten, keine Endlosanimationen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scene-shot { --p: 1 !important; }
}

/* Unterseiten */
.sub-hero { padding-bottom: clamp(48px, 7vw, 96px); }
.sub-hero .hero-title { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 5rem); line-height: 1; letter-spacing: -.045em; max-width: 18ch; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-bottom: 28px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs > * + *::before { content: "/"; margin-right: 10px; opacity: .5; }
.sub-section { padding: clamp(56px, 8vw, 112px) 0; }
.sub-section .section-head h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.sub-section .scene:last-child { margin-bottom: 0; }
.sub-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sub-cards li { border-radius: var(--r-l); padding: 28px; }
.sub-cards b { display: block; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 8px; }
.sub-cards span { color: var(--muted); }
.cta-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-card h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.cta-card p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.cta-card .final-actions { margin-top: 32px; }

/* Ratgeber-Artikel */
.article { padding: 150px 0 72px; }
.article h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.04; margin-bottom: 18px; }
.article .lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.article .stand { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.article h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.025em; margin: 48px 0 14px; }
.article p, .article li { max-width: 70ch; }
.article p + p { margin-top: 14px; }
.article ul, .article ol { padding-left: 1.3em; margin: 14px 0 0; display: grid; gap: 8px; }
.article li::marker { color: var(--sky); }
.article .box { border-radius: var(--r-m); padding: 20px 24px; margin-top: 24px; }
.article .box p { color: var(--muted); }
.article .box b { color: #fff; }
.article .tbl { overflow-x: auto; margin-top: 18px; }
.article table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .98rem; }
.article th, .article td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.article th { color: #fff; font-weight: 650; }
.article td { color: var(--muted); }
.article .sources { font-size: .95rem; color: var(--muted); }
.article .sources li { overflow-wrap: anywhere; }
.article-cta { padding: 0 0 clamp(72px, 10vw, 140px); }

@media (max-width: 1000px) { .sub-cards { grid-template-columns: 1fr; } }
.article .crumbs { justify-content: flex-start; }
.article .tbl { margin-bottom: 18px; }
.sub-cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .sub-cards.two { grid-template-columns: 1fr; } }

/* ===== Kopfleiste neu: volle Breite, transparent oben, Glas erst beim Scrollen ===== */
.site-header { top: 0; transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header .header-row.glass { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; max-width: var(--wrap); height: 76px; padding: 0 24px; margin: 0 auto; }
.site-header .header-row.glass::before { display: none; }
.site-header.scrolled { background: rgba(5, 13, 28, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.brand { font-size: 1.35rem; gap: 12px; }
.brand img { width: 34px; height: 34px; border-radius: 0; }
.nav { gap: 6px; margin-left: auto; margin-right: 12px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 10px; color: #c3d2e4; font-size: .95rem; transition: color .2s, background-color .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-header .btn-small { background: linear-gradient(135deg, #3b9bdd, #1459a0); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 8px 28px -10px rgba(27,124,200,.9); }
.site-header .btn-small:hover { color: #fff; }
.hero { padding-top: 176px; }

/* Hinweis über der Hero-Überschrift: Text mit Statuspunkt statt Rahmen */
.kicker { border: 0; background: none; padding: 0; color: var(--sky); font-weight: 600; letter-spacing: .01em; }
@media (max-width: 1000px) { .site-header .header-row.glass { height: 64px; padding: 0 16px; margin: 0; } }

.calc-select { grid-column: 1 / -1; font: inherit; color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.calc-select option { color: #000; }

.steps-spaced { margin-top: 18px; }
