/* ==========================================================================
   NaruLine Website – Stylesheet
   --------------------------------------------------------------------------
   DESIGN-SYSTEM: Alle Stellschrauben stehen hier oben in :root.
   Dark Mode = Showcase-Theme (Standard über site-config.js → flags.defaultTheme).
   ========================================================================== */

:root {
  /* ---- Pastell-Akzente (Markenfarben) ---- */
  --mint: #7fe3c4;
  --sky: #8fc9ff;
  --peach: #ffb48c;
  --lavender: #b8a6ff;
  --rose: #ff8fb1;
  --gold: #ffd37a;

  /* ---- Akzent-Verlauf für Headlines, Buttons, Ränder ---- */
  --grad: linear-gradient(110deg, var(--mint) 0%, var(--sky) 35%, var(--lavender) 68%, var(--peach) 100%);

  /* ---- Typografie ---- */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ---- Maße ---- */
  --container-max: 1200px;      /* maximale Inhaltsbreite */
  --gutter: 24px;               /* Seitenabstand */
  --section-space: 140px;       /* vertikaler Abstand zwischen Sektionen */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  /* ---- Bewegung ---- */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --transition-smooth: .5s var(--ease);
  --hover-lift: -4px;           /* wie weit Karten beim Hover steigen */

  /* ---- Light-Theme-Farben ---- */
  --bg: #f5f6fa;
  --bg-2: #ffffff;
  --text: #0b0d12;
  --text-2: #3b404b;
  --muted: #646b7a;
  --faint: #8d94a2;
  --line: rgba(10, 14, 24, .08);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .84);
  --edge-1: rgba(255, 255, 255, .95);   /* Lichtkante oben/links */
  --edge-2: rgba(10, 14, 24, .06);
  --shadow: 0 1px 2px rgba(10, 14, 24, .04), 0 12px 40px -12px rgba(10, 14, 24, .14);
  --shadow-lg: 0 40px 120px -30px rgba(30, 40, 80, .38);
  --aurora-opacity: .4;
  --btn-primary-bg: #0b0d12;
  --btn-primary-fg: #ffffff;
  --ink-mint: #0f8a68;          /* lesbare Akzente auf hellem Grund */
  --ink-lavender: #6a52d9;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #07080c;
  --bg-2: #11131a;
  --text: #f4f5f8;
  --text-2: #c9ccd4;
  --muted: #9097a5;
  --faint: #6b7280;
  --line: rgba(255, 255, 255, .08);
  --glass: rgba(22, 25, 34, .55);
  --glass-strong: rgba(28, 31, 42, .8);
  --edge-1: rgba(255, 255, 255, .22);
  --edge-2: rgba(255, 255, 255, .03);
  --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 20px 60px -20px rgba(0, 0, 0, .7);
  --shadow-lg: 0 60px 160px -40px rgba(0, 0, 0, .9);
  --aurora-opacity: .55;
  --btn-primary-bg: #f4f5f8;
  --btn-primary-fg: #07080c;
  --ink-mint: var(--mint);
  --ink-lavender: var(--lavender);
  color-scheme: dark;
}

/* ==========================================================================
   Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bg-2); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[hidden] { display: none !important; }

/* ---- Aurora-Hintergrund ---- */
.aurora { position: fixed; inset: -20vh -10vw; z-index: -2; pointer-events: none; opacity: var(--aurora-opacity); filter: blur(90px) saturate(130%); }
.aurora span { position: absolute; border-radius: 50%; animation: drift 28s ease-in-out infinite alternate; }
.aurora .a1 { width: 46vw; height: 46vw; left: 4vw; top: -6vh; background: radial-gradient(circle, var(--mint), transparent 65%); }
.aurora .a2 { width: 42vw; height: 42vw; right: 0; top: 6vh; background: radial-gradient(circle, var(--lavender), transparent 65%); animation-delay: -7s; }
.aurora .a3 { width: 38vw; height: 38vw; left: 30vw; top: 40vh; background: radial-gradient(circle, var(--sky), transparent 65%); animation-delay: -14s; opacity: .7; }
.aurora .a4 { width: 30vw; height: 30vw; right: 12vw; top: 70vh; background: radial-gradient(circle, var(--peach), transparent 65%); animation-delay: -21s; opacity: .5; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, -2vh, 0) scale(.95); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 75%);
  opacity: .5;
}

/* ---- Glass mit 1px-Lichtkante (oben/links) ---- */
.glass {
  position: relative;
  background: var(--glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--edge-1) 0%, var(--edge-2) 38%, transparent 60%, var(--edge-2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, opacity .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: 0 10px 30px -12px rgba(143, 201, 255, .6); }
.btn-primary::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(14px); opacity: 0; transition: opacity .3s;
}
.btn-primary:hover::after { opacity: .6; }
.btn-glass { background: var(--glass); color: var(--text); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.btn-glass:hover { box-shadow: inset 0 0 0 1px var(--edge-1), var(--shadow); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--text-2); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--line); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--line); }
.lang-switch button { border: 0; background: transparent; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.lang-switch button[aria-pressed="true"] { background: var(--bg-2); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 52px 0 40px; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 7px 15px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--mint) 0%, transparent); } }
.hero-title { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.hero-sub { max-width: 680px; margin: 26px auto 0; font-size: clamp(17px, 2vw, 21px); color: var(--text-2); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-badge { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 14px 0 0; padding: 0; font-size: 13px; color: var(--text-2); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--ink-mint); }

/* ---- Showcase-Bühne ---- */
.showcase { margin-top: 44px; max-width: 1240px; animation: rise 1.1s var(--ease) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin: 0 auto 30px; padding: 5px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.tab { position: relative; overflow: hidden; border: 0; background: transparent; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); background: var(--bg-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--line); }
.tab .bar { position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tab[aria-selected="true"] .bar.run { opacity: .9; animation: tabbar var(--dur, 6s) linear forwards; }
.showcase.paused .tab .bar.run { animation-play-state: paused; }
@keyframes tabbar { to { transform: scaleX(1); } }

.stage { position: relative; perspective: 2200px; perspective-origin: 50% 0%; }
.stage-glow { position: absolute; left: 8%; right: 8%; top: 12%; bottom: -4%; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: .32; z-index: -1; }
.mac {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #0b0c11;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 .5px rgba(0, 0, 0, .6), var(--shadow-lg);
  transform: rotateX(var(--tilt, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--scale, 1));
  transform-origin: 50% 0%;
  transition: transform .2s linear;
  will-change: transform;
}
.mac::after { /* Lichtkante + Glanz */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), transparent 30%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.mac-bar { position: relative; height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: linear-gradient(#1d1f27, #15171e); border-bottom: 1px solid rgba(0, 0, 0, .6); color: #b9bdc8; font-size: 12.5px; font-weight: 600; }
.lights { display: inline-flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .3); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.mac-title { position: absolute; left: 50%; transform: translateX(-50%); }
.mac-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: #8a8f9c; }
.mac-chip .live { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.mac-screen { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: #0d0e13; cursor: zoom-in; }
.mac-screen img, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.012); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.mac-screen img.on, .frame img.on { opacity: 1; transform: none; }
.reflection { height: 80px; margin: 0 4%; background: radial-gradient(ellipse at 50% 0%, rgba(143, 201, 255, .16), transparent 70%); filter: blur(10px); }
.stage-caption { max-width: 640px; margin: 4px auto 0; text-align: center; min-height: 92px; }
.stage-caption h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.stage-caption p { margin: 8px 0 0; color: var(--muted); }
.stage-caption.swap h2, .stage-caption.swap p { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Kennzahlen
   ========================================================================== */
.stats-band { padding: 40px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.stat { padding: 30px 26px; background: var(--glass-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat-label { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section { padding: var(--section-space) 0 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root:not([data-theme="dark"]) .kicker { background: linear-gradient(110deg, var(--ink-mint), #2f7fd0, var(--ink-lavender)); -webkit-background-clip: text; background-clip: text; }
.section-title { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 5.4vw, 64px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; }
.section-sub { margin: 20px auto 0; max-width: 620px; font-size: 19px; color: var(--text-2); }

/* ---- Spotlight-Tabs ---- */
.seg { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 5px; border-radius: 16px; background: var(--line); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { border: 0; background: transparent; padding: 10px 20px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: color .25s, background .25s; }
.seg button svg { width: 17px; height: 17px; }
.seg button[aria-selected="true"] { background: var(--bg-2); color: var(--text); box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .3); }
.spot-body { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.spot-copy h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
.spot-copy > p { margin: 16px 0 0; color: var(--text-2); }
.spot-copy ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.spot-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--text-2); }
.spot-copy li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-mint); }
.spot-copy.swap > * { animation: fadeUp .55s var(--ease) both; }
.spot-copy.swap > *:nth-child(2) { animation-delay: .05s; }
.spot-copy.swap > *:nth-child(3) { animation-delay: .1s; }
.spot-visual { perspective: 1800px; }
.frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  background: #0d0e13;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow-lg);
  transform: rotateY(-9deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}
.frame:hover { transform: rotateY(-3deg) rotateX(1deg); }
.frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 35%); }

/* ---- Bento (asymmetrisch) ---- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.card { grid-column: span 4; overflow: hidden; padding: 28px; display: flex; flex-direction: column; transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); --mx: 50%; --my: 50%; --tone: var(--sky); }
.card.w8 { grid-column: span 8; }
.card.w6 { grid-column: span 6; }
.card.w4 { grid-column: span 4; }
.card.tall { grid-row: span 2; }
.card:hover { transform: translateY(var(--hover-lift)); }
.card::after { /* Maus-Spotlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--tone) 22%, transparent), transparent 60%);
}
.card:hover::after { opacity: 1; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 18%, transparent); color: var(--tone); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 30%, transparent); }
:root:not([data-theme="dark"]) .card-icon { color: color-mix(in srgb, var(--tone) 55%, #000); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin: 18px 0 0; font-size: 21px; letter-spacing: -.02em; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--line); color: var(--text-2); }
.viz { position: relative; margin-top: auto; padding-top: 22px; }

/* Mini-Visuals */
.v-bars { display: flex; align-items: flex-end; gap: 7px; height: 120px; }
.v-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(to top, color-mix(in srgb, var(--mint) 45%, transparent), var(--mint)); height: calc(var(--h) * 1%); transform-origin: bottom; transform: scaleY(.08); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.v-bars i.out { background: linear-gradient(to top, color-mix(in srgb, var(--rose) 40%, transparent), var(--rose)); }
.is-visible .v-bars i { transform: scaleY(1); }
.v-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.v-logos span { padding: 9px 13px; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.is-visible .v-logos span { opacity: 1; transform: none; }
.v-path svg { width: 100%; height: 130px; overflow: visible; }
.v-path .area { fill: url(#lpFill); }
.v-path .line { fill: none; stroke: var(--lavender); stroke-width: 2.4; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s var(--ease); }
.is-visible .v-path .line { stroke-dashoffset: 0; }
.v-path .ms { fill: var(--bg-2); stroke: var(--lavender); stroke-width: 2; }
.v-path text { fill: var(--muted); font-size: 10px; font-weight: 600; }
.v-sleeves { display: grid; gap: 10px; }
.v-sleeves .row { display: grid; grid-template-columns: 96px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.v-sleeves .track { position: relative; height: 8px; border-radius: 5px; background: var(--line); }
.v-sleeves .fill { position: absolute; inset: 0 auto 0 0; border-radius: 5px; width: 0; background: var(--c); transition: width 1.2s var(--ease); }
.v-sleeves .mark { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: var(--text); left: var(--t); opacity: .6; }
.is-visible .v-sleeves .fill { width: var(--w); }
.v-globe { position: relative; height: 150px; display: grid; place-items: center; }
.v-globe svg { width: 150px; height: 150px; overflow: visible; }
.v-globe .sphere { fill: url(#globeFill); stroke: color-mix(in srgb, var(--sky) 40%, transparent); }
.v-globe .grid { fill: none; stroke: color-mix(in srgb, var(--sky) 22%, transparent); stroke-width: .8; }
.v-globe .arc { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.v-globe .plane { fill: var(--gold); }
.v-doc { display: grid; gap: 8px; }
.v-doc .d { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.v-doc .d svg { flex: none; width: 17px; height: 17px; color: var(--muted); }
.v-doc .d b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-doc .d em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
:root:not([data-theme="dark"]) .v-doc .d em { color: color-mix(in srgb, var(--c) 55%, #000); }
.v-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-tiles div { padding: 12px; border-radius: 14px; background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--line); }
.v-tiles b { display: block; font-size: 20px; letter-spacing: -.02em; }
.v-tiles span { font-size: 11.5px; color: var(--muted); }
.v-heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.v-heat i { aspect-ratio: 1.6; border-radius: 5px; background: color-mix(in srgb, var(--c) calc(var(--a) * 1%), transparent); }

.more { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.more-title { font-size: 14px; color: var(--muted); font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }

/* ---- Deep Dive ---- */
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deep-card { padding: 38px; display: flex; flex-direction: column; --tone: var(--lavender); }
.deep-card .label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--tone); letter-spacing: .02em; }
:root:not([data-theme="dark"]) .deep-card .label, :root:not([data-theme="dark"]) .deep-card li svg { color: color-mix(in srgb, var(--tone) 55%, #000); }
.deep-card .label svg { width: 18px; height: 18px; }
.deep-card h3 { margin: 14px 0 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.deep-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; color: var(--text-2); font-size: 15.5px; }
.deep-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.deep-card li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--tone); }
.deep-viz { margin: 30px 0 26px; padding: 22px; border-radius: 20px; background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 26px; }
.timeline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 8px; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 12.5%; top: 8px; height: 2px; width: 0; background: var(--grad); transition: width 2s var(--ease) .2s; }
.is-visible .timeline::after { width: 75%; }
.timeline div { text-align: center; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -24px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg-2); box-shadow: 0 0 0 2px var(--lavender); transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(.3s + var(--i) * .45s); }
.is-visible .timeline div::before { transform: scale(1); }
.timeline b { display: block; font-size: 17px; letter-spacing: -.02em; }
.timeline span { font-size: 12px; color: var(--muted); }
.score { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring-score { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--mint) calc(var(--p) * 1%), var(--line) 0); transition: --p 1.6s var(--ease) .4s; }
.ring-score::before { content: ""; width: 50px; height: 50px; border-radius: 50%; background: var(--bg-2); grid-area: 1 / 1; }
.ring-score b { grid-area: 1 / 1; font-size: 15px; z-index: 1; }
.is-visible .ring-score { --p: var(--target, 87); }
.score-label { font-size: 14px; color: var(--muted); }
.score-label b { display: block; color: var(--text); font-size: 16px; }
.alloc { display: grid; gap: 12px; }
.alloc-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.alloc-bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; }
.alloc-bar span { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: rgba(7, 8, 12, .82); background: var(--c); width: 0; transition: width 1.3s var(--ease); white-space: nowrap; overflow: hidden; }
.alloc-bar.actual span { transition-delay: .5s; }
.is-visible .alloc-bar span { width: calc(var(--w) * 1%); }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.alloc-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 6px; }
.deep-card .btn { align-self: flex-start; margin-top: auto; }

/* ---- Security Vault ---- */
.vault-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 60px; align-items: center; }
.vault .section-title, .vault .section-sub { text-align: left; margin-left: 0; }
.counter { display: flex; align-items: baseline; gap: 16px; margin-top: 34px; }
.counter-num { font-family: var(--font-display); font-size: clamp(72px, 10vw, 120px); font-weight: 700; letter-spacing: -.06em; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter-label { max-width: 240px; color: var(--muted); font-size: 15px; }
.license-note { margin-top: 30px; padding: 18px 22px; border-radius: var(--radius); font-size: 14.5px; }
.license-note strong { font-size: 14px; }
.license-note p { margin: 6px 0 0; color: var(--muted); }
.vault-visual { display: grid; place-items: center; }
.orb { position: relative; width: min(380px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orb .r1 { border-style: dashed; border-color: color-mix(in srgb, var(--lavender) 35%, transparent); animation: spin 60s linear infinite; }
.orb .r2 { inset: 13%; border-color: color-mix(in srgb, var(--mint) 35%, transparent); animation: spin 40s linear infinite reverse; }
.orb .r2::after, .orb .r1::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.orb .r1::after { background: var(--lavender); box-shadow: 0 0 12px var(--lavender); }
.orb .r3 { inset: 27%; background: radial-gradient(circle, color-mix(in srgb, var(--sky) 18%, transparent), transparent 70%); border-color: color-mix(in srgb, var(--sky) 30%, transparent); }
.orb .core { position: relative; width: 34%; aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--edge-1), 0 0 0 1px var(--line), 0 30px 80px -20px color-mix(in srgb, var(--mint) 60%, transparent); color: var(--ink-mint); }
.orb .core svg { width: 46%; height: 46%; }
@keyframes spin { to { transform: rotate(360deg); } }
.vault-items { grid-column: 1 / -1; list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vault-items li { padding: 22px; border-radius: var(--radius); }
.vault-items .vi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--mint) 15%, transparent); color: var(--ink-mint); }
.vault-items .vi svg { width: 19px; height: 19px; }
.vault-items h3 { margin: 14px 0 0; font-size: 16.5px; letter-spacing: -.01em; }
.vault-items p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---- Preis ---- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.price { padding: 36px; display: flex; flex-direction: column; }
.price.pro { background: var(--glass-strong); isolation: isolate; }
.price.pro::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grad); filter: blur(34px); opacity: .26; }
.price.pro::before { padding: 1.5px; background: var(--grad); }
.price-badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #0b0d12; }
.price h3 { margin: 0; font-size: 18px; color: var(--text-2); font-weight: 600; }
.price-amount { margin-top: 14px; font-family: var(--font-display); font-size: 54px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.price-per { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--text-2); }
.price li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.price li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-mint); }
.price .btn { margin-top: auto; width: 100%; }
.pricing-note { text-align: center; margin: 28px auto 0; max-width: 680px; font-size: 14px; color: var(--muted); }
.pricing-note .req { display: block; margin-top: 4px; color: var(--faint); }
.checksum { text-align: center; margin: 10px 0 0; font-size: 12px; color: var(--faint); }
.checksum code { font-family: var(--mono); font-size: 11.5px; word-break: break-all; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); transition: transform .35s var(--ease); }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 22px; color: var(--text-2); }

/* ---- Abschluss ---- */
.final { padding-bottom: 40px; }
.final-card { position: relative; overflow: hidden; text-align: center; padding: 80px 30px; border-radius: 36px; }
.final-card::after { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--lavender) 30%, transparent), transparent 60%); pointer-events: none; z-index: 0; }
.final-card > * { position: relative; z-index: 1; }
.final-logo svg { width: 64px; height: 64px; margin: 0 auto; }
.final-card h2 { margin: 22px 0 0; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; line-height: 1.05; }
.final-card p { margin: 14px 0 0; color: var(--text-2); font-size: 18px; }

/* ---- Footer ---- */
.footer { margin-top: 80px; padding: 46px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-tag { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; font-size: 13px; color: var(--faint); }

/* ---- Lightbox ---- */
.lightbox { max-width: min(1600px, 96vw); width: 96vw; padding: 0; border: 0; border-radius: 16px; background: #0b0c11; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 160px rgba(0, 0, 0, .8); overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 5, 8, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[open] { animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox img { width: 100%; height: auto; }
.lb-close { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, .55); color: #fff; }
.lb-close:hover { background: rgba(0, 0, 0, .8); color: #fff; }

/* ==========================================================================
   Scroll-Reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal { transition: opacity .9s var(--ease), transform var(--transition-smooth); }

/* ==========================================================================
   Rechtliche Seiten (Impressum / Datenschutz)
   ========================================================================== */
.legal { max-width: 860px; margin: 0 auto; padding: 60px var(--gutter) 40px; }
.legal .back { display: inline-flex; gap: 6px; font-size: 14px; color: var(--muted); }
.legal .back:hover { color: var(--text); }
.legal h1 { margin: 22px 0 8px; font-size: clamp(36px, 6vw, 56px); letter-spacing: -.04em; line-height: 1.05; }
.legal h2 { margin: 44px 0 10px; font-size: 22px; letter-spacing: -.02em; scroll-margin-top: 80px; }
.legal h3 { margin: 26px 0 6px; font-size: 17px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal a:not(.back):not(.brand):not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--sky) 60%, transparent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .box { padding: 22px 24px; border-radius: var(--radius); margin: 12px 0; }
.legal address { font-style: normal; line-height: 1.7; color: var(--text); }
.legal .lead { font-size: 18px; color: var(--muted); }
.legal .legal-notice { padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--text-2); font-size: 14px; }
.legal .toc { columns: 2; column-gap: 30px; font-size: 15px; padding-left: 18px; }
.legal .table-wrap { overflow-x: auto; margin: 10px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.legal th { color: var(--text); font-weight: 600; }
.legal .highlight { padding: 16px 20px; border-radius: 14px; background: color-mix(in srgb, var(--sky) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sky) 25%, transparent); }
.legal .stand { margin-top: 48px; color: var(--faint); font-size: 13px; }
[data-lang-only] { display: none; }
html[lang="de"] [data-lang-only="de"], html[lang="en"] [data-lang-only="en"] { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --section-space: 110px; }
  .nav-links { display: none; }
  .bento .card, .bento .card.w8, .bento .card.w6, .bento .card.w4 { grid-column: span 6; }
  .bento .card.tall { grid-row: span 1; }
  .spot-body { grid-template-columns: 1fr; gap: 40px; }
  .spot-visual { order: -1; }
  .frame, .frame:hover { transform: none; }
  .deep-grid { grid-template-columns: 1fr; }
  .vault-inner { grid-template-columns: 1fr; }
  .vault-visual { order: -1; }
  .orb { width: min(280px, 70vw); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section-space: 88px; }
  body { font-size: 16px; }
  .hero { padding-top: 44px; }
  .nav-inner { gap: 12px; }
  .nav-tools .btn { display: none; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: auto; border-radius: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .mac { border-radius: 10px; }
  .mac-bar { height: 26px; }
  .lights i { width: 9px; height: 9px; }
  .mac-chip, .mac-title { display: none; }
  .bento { grid-auto-rows: auto; }
  .bento .card, .bento .card.w8, .bento .card.w6, .bento .card.w4 { grid-column: 1 / -1; }
  .card { padding: 24px; }
  .pricing { grid-template-columns: 1fr; }
  .vault-items { grid-template-columns: 1fr; }
  .deep-card { padding: 24px; }
  .deep-viz { padding: 16px; }
  .stat { padding: 22px 18px; }
  .counter { flex-direction: column; gap: 6px; }
  .legal .toc { columns: 1; }
  .section-sub { font-size: 17px; }
  .final-card { padding: 56px 20px; }
  .price { padding: 28px; }
}
@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .seg button { padding: 9px 12px; font-size: 14px; }
  .timeline b { font-size: 14px; }
}

/* ==========================================================================
   Bewegung reduzieren / Animationen aus
   ========================================================================== */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; }
.no-anim .mac { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
