/* ==========================================================
   Nießen Consulting – Styles (helles Design)
   Keine externen Fonts/CDNs (datenschutzfreundlich)
   ========================================================== */

:root {
  --bg: #f7f6f3;
  --bg-2: #efede8;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-2: rgba(255, 255, 255, 0.92);
  --border: rgba(34, 39, 43, 0.09);
  --border-2: rgba(34, 39, 43, 0.15);
  --text: #22272b;           /* Anthrazit */
  --muted: #5c6168;
  --accent: #e0620a;      /* Orange */
  --accent-pink: #f08a1c; /* Amber */
  --accent-2: #8a6535;    /* Bronze (textsicher, Kontrast 4.9:1) */
  --accent-3: #c9974f;    /* Gold */
  --ok: #10b981;
  --grad: linear-gradient(110deg, var(--accent) 0%, var(--accent-pink) 40%, var(--accent-3) 72%, var(--accent-2) 100%);
  /* dunklerer Verlauf für Text auf hellem Grund (Kontrast ≥ 3:1 für große Schrift) */
  --grad-text: linear-gradient(110deg, #cf5408 0%, #b8691a 50%, var(--accent-2) 100%);
  --grad-text-loop: linear-gradient(90deg, #cf5408 0%, #b8691a 25%, var(--accent-2) 50%, #b8691a 75%, #cf5408 100%);
  /* nahtlos kachelbar (Start = Ende, 90°) für die "shine"-Animation */
  --grad-loop: linear-gradient(90deg, var(--accent) 0%, var(--accent-pink) 17%, var(--accent-3) 33%, var(--accent-2) 50%, var(--accent-3) 67%, var(--accent-pink) 83%, var(--accent) 100%);
  --shadow-sm: 0 1px 2px rgba(34, 39, 43, .04), 0 4px 14px -6px rgba(34, 39, 43, .08);
  --shadow: 0 2px 4px rgba(34, 39, 43, .03), 0 24px 60px -24px rgba(34, 39, 43, .18);
  --shadow-lg: 0 30px 80px -30px rgba(90, 60, 20, .28), 0 8px 24px -12px rgba(34, 39, 43, .12);
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: rgba(190, 130, 60, .18); }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--text); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.gradient-text {
  background: var(--grad-text-loop);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Cursor glow & progress ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(190, 130, 60, .09), rgba(201, 151, 79, .04) 40%, transparent 65%);
  transform: translate(-50%, -50%);
}
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 100;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(24px, calc((100% - 1180px) / 2));
  transition: background .3s, padding .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-color: var(--border);
  box-shadow: 0 6px 30px -18px rgba(34, 39, 43, .25);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.brand b { font-weight: 800; margin-left: 2px; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1.6s .3s var(--ease) forwards; }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a:not(.btn) { color: var(--muted); font-size: .95rem; font-weight: 500; position: relative; transition: color .2s; }
.nav ul a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav ul a:not(.btn):hover { color: var(--text); }
.nav ul a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid var(--border-2); position: relative; isolation: isolate;
  transform: translate(var(--mx), var(--my));
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--grad-loop); background-size: 200% auto; color: #fff; border: 0; box-shadow: 0 12px 30px -10px rgba(240, 138, 28, .55); animation: shine 6s linear infinite; }
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(190, 130, 60, .6); }
.btn-ghost { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: rgba(190, 130, 60, .4); color: var(--accent-2); }
.btn-small { padding: 9px 20px; font-size: .9rem; background: var(--text); color: #fff; border-color: var(--text); }
.btn-small:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(224, 98, 10, .10), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(190, 130, 60, .12), transparent 60%),
    var(--bg);
}
/* feines Punktraster */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(34, 39, 43, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
#network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; mix-blend-mode: multiply; }
.blob-a { width: 520px; height: 520px; background: #ffc999; top: -140px; right: -100px; animation: float 16s ease-in-out infinite; opacity: .55; }
.blob-b { width: 560px; height: 560px; background: #ead7b8; bottom: -220px; left: -160px; animation: float 20s ease-in-out infinite reverse; opacity: .6; }
.blob-c { width: 420px; height: 420px; background: #ffe2bf; top: 30%; left: 45%; animation: float 24s ease-in-out infinite; opacity: .45; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 70px) scale(.92); }
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: .88rem; font-weight: 500; color: var(--text); margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 900; letter-spacing: -0.045em; margin-bottom: 18px; }
.hero-rotator { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--text); font-weight: 600; min-height: 1.6em; margin-bottom: 18px; }
.rotator { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 3px; height: 1.05em; margin-left: 4px; vertical-align: -0.15em; background: var(--accent-2); border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 1.12rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Terminal (bewusst dunkel als Kontrast-Akzent) + schwebende Badges */
.hero-visual { position: relative; }
.terminal {
  --rx: 0deg; --ry: 0deg;
  background: #1c2024; border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.03); }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 10px; font-family: var(--mono); font-size: .8rem; color: #9097a0; }
.terminal-body {
  margin: 0; padding: 22px 22px 26px; font-family: var(--mono); font-size: .86rem; line-height: 1.75;
  height: 390px; overflow: hidden; color: #dfe2e5; white-space: pre-wrap; word-break: break-word;
}
.terminal-body .p { color: #ffa940; }
.terminal-body .k { color: #e0b872; }
.terminal-body .s { color: #b8f08a; }
.terminal-body .c { color: #737a83; }
.terminal-body .ok { color: #34e0a1; }
.terminal-body .warn { color: #ffc96b; }
.terminal-body .err { color: #ff7a7a; }
.terminal-body .cursor { display: inline-block; width: 8px; height: 1.1em; background: #ffa940; vertical-align: -0.2em; animation: blink 1s steps(1) infinite; }

.badge {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; color: var(--muted);
  animation: bob 6s ease-in-out infinite;
}
.badge b { display: block; color: var(--text); font-size: .95rem; }
.badge-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.badge-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.badge-1 { top: -28px; right: -18px; }
.badge-1 .badge-icon { background: linear-gradient(135deg, #10b981, #059669); }
.badge-2 { bottom: -30px; left: -36px; animation-delay: -3s; }
.badge-2 .badge-icon { background: linear-gradient(135deg, var(--accent), var(--accent-pink)); }
@keyframes bob { 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; bottom: 78px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(34, 39, 43,.22); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -50px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
}
.stat { padding: 38px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: clamp(90px, 12vw, 150px) 0; }
.section-alt { background: var(--white); }
.section-alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(34, 39, 43,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 39, 43,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.section-head { margin-bottom: 60px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { font-size: 1.1rem; max-width: 680px; }
.center .section-sub { margin-inline: auto; }
.kicker {
  display: inline-block; font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--accent-2);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
  padding: 5px 12px; border-radius: 999px; background: rgba(190, 130, 60, .08);
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; padding: 36px 30px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .3s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(190, 130, 60, .08), transparent 45%);
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--grad-loop); background-size: 200% auto; animation: shine 8s linear infinite;
  box-shadow: 0 12px 28px -12px rgba(190, 130, 60, .6);
}
.card-icon svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.draw { stroke-dasharray: 200; stroke-dashoffset: 200; }
.in .draw { animation: draw 1.8s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; font-size: .95rem; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) scale(.8); }

/* Split / Oracle */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--border-2); font-size: .9rem; font-weight: 500; color: var(--text); transition: transform .25s var(--ease), border-color .25s, color .25s; }
.chips li:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

.tuning { padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.tuning-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-weight: 700; }
.tag { font-family: var(--mono); font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: rgba(16,185,129,.1); color: #059669; border: 1px solid rgba(16,185,129,.25); }
.bar-row { display: grid; grid-template-columns: 70px 1fr 60px; gap: 14px; align-items: center; margin: 14px 0; font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.bar-row b { color: var(--text); text-align: right; }
.bar { height: 12px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease); }
.bar-before { background: linear-gradient(90deg, #f3a66b, var(--accent)); width: 100%; }
.bar-after { background: linear-gradient(90deg, var(--ok), var(--accent-3)); width: 2.5%; min-width: 8px; }
.in .bar-fill { transform: scaleX(1); }
.in .bar-after { transition-delay: .9s; }
.plan { width: 100%; margin-top: 26px; }
.plan-lines path { fill: none; stroke: rgba(190, 130, 60,.55); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .plan-lines path { animation: draw 2.4s .4s var(--ease) forwards; }
.plan-nodes g rect { fill: #fbf4ea; stroke: rgba(190, 130, 60,.3); }
.plan-nodes g text { fill: var(--text); font-family: var(--mono); font-size: 10px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.plan-nodes g { opacity: 0; transition: opacity .6s; }
.in .plan-nodes g { opacity: 1; }
.in .plan-nodes g:nth-child(2) { transition-delay: .6s; }
.in .plan-nodes g:nth-child(3) { transition-delay: .9s; }
.in .plan-nodes g:nth-child(4) { transition-delay: 1.2s; }
.in .plan-nodes g:nth-child(5) { transition-delay: 1.5s; }
.tuning-note { margin: 12px 0 0; font-size: .75rem; text-align: right; opacity: .7; }

/* KI orbit */
.ai-orbit { position: relative; width: min(520px, 80vw); aspect-ratio: 1; margin: 0 auto 70px; }
.ai-orbit::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(190, 130, 60,.14), rgba(201, 151, 79,.06) 50%, transparent 70%); }
.orbit-core {
  position: absolute; inset: 39%; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-loop); background-size: 200% auto; animation: shine 6s linear infinite, breathe 4s ease-in-out infinite;
  box-shadow: 0 20px 60px -10px rgba(190, 130, 60,.55), 0 0 0 10px rgba(255,255,255,.7), 0 0 0 11px rgba(190, 130, 60,.12);
}
.orbit-core span { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #fff; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(34, 39, 43,.12); animation: spin linear infinite; }
.orbit-1 { inset: 24%; animation-duration: 18s; }
.orbit-2 { inset: 15%; animation-duration: 26s; animation-direction: reverse; }
.orbit-3 { inset: 7%; animation-duration: 34s; }
.orbit-4 { inset: 0; animation-duration: 42s; animation-direction: reverse; }
.orbit-item {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap; font-size: .88rem; font-weight: 600; color: var(--text);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 10px 30px -12px rgba(34, 39, 43,.3);
}
.orbit-item::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--grad); vertical-align: .05em; }
.orbit-2 .orbit-item { top: auto; bottom: 0; translate: -50% 50%; }
.orbit-3 .orbit-item { top: 50%; left: 0; }
.orbit-4 .orbit-item { top: 50%; left: 100%; }
.orbit-1 .orbit-item.alt { top: auto; bottom: 0; translate: -50% 50%; }
.orbit-3 .orbit-item.alt { left: 100%; }
/* Labels drehen gegen die Umlaufbahn, damit sie lesbar bleiben */
.orbit .orbit-item { animation: counter linear infinite; animation-duration: inherit; animation-direction: inherit; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes counter { to { rotate: -360deg; } }

.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-point { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.ai-point:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ai-point::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s; }
.ai-point.in::after { transform: scaleX(1); }
.ai-point h3 { font-size: 1.08rem; }
.ai-point p { font-size: .95rem; margin: 0; }

/* Marquee */
.marquee { margin-top: 100px; overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; background: var(--white); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px rgba(34, 39, 43,.25); white-space: nowrap; }
.marquee-track span:nth-child(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee-track span:nth-child(6n+4) { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 2px; background: var(--border-2); }
.steps::after { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--line, 0)); transition: transform .2s linear; }
.step { position: relative; padding-top: 80px; }
.step-no {
  position: absolute; top: 0; left: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  font-family: var(--mono); font-weight: 700; color: var(--muted); background: var(--white); border: 2px solid var(--border-2);
  transition: border-color .5s, box-shadow .5s, color .5s, background .5s;
}
.step.active .step-no { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(240, 138, 28,.5); }

/* Contact */
.contact-box {
  position: relative; text-align: center; padding: clamp(50px, 8vw, 100px) 30px; border-radius: 32px; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.contact-box .section-sub { margin-inline: auto; }
.contact-box .hero-cta { justify-content: center; }
.contact-glow { position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent, rgba(224, 98, 10,.16), transparent 25%, rgba(190, 130, 60,.18), transparent 50%, rgba(201, 151, 79,.16), transparent 75%); animation: spin 18s linear infinite; z-index: -1; filter: blur(30px); }
.contact-box > * { position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 30px 0; font-size: .9rem; color: var(--muted); position: relative; z-index: 1; background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--accent-2); }

/* Legal pages */
.legal { padding: 140px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal mark { background: #fff3cd; color: #8a5a00; padding: 0 4px; border-radius: 4px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.tilt.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .9s var(--ease), transform .2s ease-out, box-shadow .4s, border-color .3s; }

/* ---------- Responsive ---------- */
/* Burger-Menü, sobald die Navigation nicht mehr in eine Zeile passt */
@media (max-width: 1120px) {
  .nav-toggle {
    display: grid; gap: 6px; width: 44px; height: 44px; place-content: center;
    background: var(--white); border: 1px solid var(--border-2); border-radius: 12px; cursor: pointer; box-shadow: var(--shadow-sm);
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav ul {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 100px 24px 40px; flex-direction: column; gap: 26px;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(16px); box-shadow: var(--shadow);
    transform: translateY(-100%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav ul.open { transform: none; }
  .nav ul a:not(.btn) { font-size: 1.3rem; color: var(--text); }
}
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { margin: 20px 16px 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cards, .ai-grid, .steps { grid-template-columns: 1fr; }
  .terminal-body { height: 320px; font-size: .78rem; }
  .cursor-glow { display: none; }
  .orbit-item { font-size: .72rem; padding: 6px 11px; }
  .orbit-item::before { width: 6px; height: 6px; margin-right: 6px; }
  .badge { font-size: .78rem; padding: 10px 12px; }
  .badge-1 { right: -8px; }
  .badge-2 { left: -8px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .draw, .plan-lines path, .brand-mark path { stroke-dashoffset: 0; }
  .bar-fill { transform: scaleX(1); }
  .plan-nodes g { opacity: 1; }
}

/* ==========================================================
   Branchen – Hub mit animierten Verbindungen & Icons
   ========================================================== */
.section-industries {
  background:
    radial-gradient(700px 400px at 15% 20%, rgba(201, 151, 79, .08), transparent 60%),
    radial-gradient(700px 400px at 85% 80%, rgba(240, 138, 28, .07), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hub { position: relative; aspect-ratio: 1000 / 600; max-width: 1100px; margin: 0 auto; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-paths path { fill: none; stroke: rgba(190, 130, 60, .35); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.hub.in .hub-paths path { animation: draw 1.6s var(--ease) forwards; }
.hub.in .hub-paths path:nth-child(n+4) { animation-delay: .15s; }
.hub-pulses circle { fill: url(#hubPulse); opacity: 0; transition: opacity .6s 1.4s; }
.hub.in .hub-pulses circle { opacity: 1; }

.hub-core {
  position: absolute; left: 50%; top: 41.667%; translate: -50% -50%;
  width: clamp(130px, 17%, 180px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; z-index: 2;
  background: var(--grad-loop); background-size: 200% auto; animation: shine 6s linear infinite;
  box-shadow: 0 24px 60px -16px rgba(190, 130, 60, .6), 0 0 0 10px rgba(255, 255, 255, .8), 0 0 0 11px rgba(190, 130, 60, .15);
}
.hub-core strong { color: #fff; font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; position: relative; }
.hub-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(190, 130, 60, .35); animation: ripple 3.2s ease-out infinite; }
.hub-ring + .hub-ring { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

.hub-nodes { list-style: none; margin: 0; padding: 0; }
.hub-node {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; z-index: 2;
  display: flex; align-items: center; gap: 14px; min-width: 262px;
  padding: 12px 20px 12px 12px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-weight: 700; font-size: 1.02rem; color: var(--text); white-space: nowrap;
  opacity: 0; scale: .85;
  transition: opacity .6s var(--ease), scale .6s var(--ease), box-shadow .35s, translate .35s var(--ease);
}
.hub.in .hub-node { opacity: 1; scale: 1; }
.hub.in .hub-node:nth-child(1) { transition-delay: .5s, .5s, 0s, 0s; }
.hub.in .hub-node:nth-child(2) { transition-delay: .65s, .65s, 0s, 0s; }
.hub.in .hub-node:nth-child(3) { transition-delay: .8s, .8s, 0s, 0s; }
.hub.in .hub-node:nth-child(4) { transition-delay: .95s, .95s, 0s, 0s; }
.hub.in .hub-node:nth-child(5) { transition-delay: 1.1s, 1.1s, 0s, 0s; }
.hub.in .hub-node:nth-child(6) { transition-delay: 1.25s, 1.25s, 0s, 0s; }
.hub.in .hub-node:nth-child(7) { transition-delay: 1.4s, 1.4s, 0s, 0s; }
.hub-node:hover { box-shadow: var(--shadow-lg); translate: -50% calc(-50% - 6px); }

.ind-icon {
  width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-loop); background-size: 200% auto; animation: shine 8s linear infinite;
  box-shadow: 0 10px 24px -10px rgba(190, 130, 60, .6);
}
.ind-icon svg { width: 38px; height: 38px; overflow: visible; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ind-icon svg * { transform-box: fill-box; transform-origin: center; }

/* Dienstleistung: tippende Punkte */
.ic-service .dot { fill: #fff; stroke: none; animation: typing 1.4s ease-in-out infinite; }
.ic-service .dot:nth-of-type(2) { animation-delay: .2s; }
.ic-service .dot:nth-of-type(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Fernsehen: Antennen-Signal & pulsierender Play-Button */
.ic-tv .ant { fill: #fff; stroke: none; animation: blinkAnt 1.6s infinite; }
.ic-tv .ant-r { animation-delay: .8s; }
.ic-tv .play { fill: #fff; stroke: none; animation: playPulse 2s ease-in-out infinite; }
@keyframes blinkAnt { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes playPulse { 50% { transform: scale(1.25); } }

/* Lotterie: hüpfende Kugeln */
.ic-lotto .ball circle { fill: rgba(255, 255, 255, .22); }
.ic-lotto .ball text { fill: #fff; stroke: none; font: 800 8px var(--font); text-anchor: middle; dominant-baseline: central; }
.ic-lotto .ball { animation: bounce 1.8s cubic-bezier(.3, 0, .3, 1) infinite; }
.ic-lotto .b2 { animation-delay: .25s; }
.ic-lotto .b3 { animation-delay: .5s; }
@keyframes bounce { 0%, 50%, 100% { transform: translateY(0); } 25% { transform: translateY(-11px); } }

/* Öffentlicher Dienst: wehende Fahne */
.ic-gov .flag { fill: #fff; transform-origin: left center; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(.8) skewY(-12deg); } }

/* Automobil: drehende Räder, fahrende Straße */
.ic-car .wheel { animation: spinWheel .8s linear infinite; }
.ic-car .car-body { animation: carBob .4s ease-in-out infinite alternate; }
.ic-car .road { stroke-dasharray: 6 6; animation: road .5s linear infinite; opacity: .8; }
@keyframes spinWheel { to { transform: rotate(360deg); } }
@keyframes carBob { to { transform: translateY(-1px); } }
@keyframes road { to { stroke-dashoffset: 12; } }

/* Bank: rotierende Euro-Münze */
.ic-bank .coin { animation: flip 3s ease-in-out infinite; }
.ic-bank .coin circle { fill: rgba(255, 255, 255, .2); }
@keyframes flip { 0%, 35% { transform: scaleX(1); } 50% { transform: scaleX(0); } 65%, 100% { transform: scaleX(1); } }

/* Footer: KI-Hinweis */
.ai-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(190, 130, 60, .07); color: var(--accent-2); font-weight: 500; transition: background .3s; }
.ai-note:hover { background: rgba(190, 130, 60, .14); color: var(--accent-2) !important; }
.ai-spark { display: inline-block; animation: sparkle 3s ease-in-out infinite; }
@keyframes sparkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.25); } }

/* Rechtstexte */
.legal-card { padding: 28px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin: 24px 0; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card strong { color: var(--text); }
.legal a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal .callout { border-left: 4px solid var(--accent-2); background: rgba(190, 130, 60, .05); }
.legal .ai-box { border-left: 4px solid var(--accent-pink); background: linear-gradient(110deg, rgba(224, 98, 10, .05), rgba(190, 130, 60, .06)); }
.legal .stand { font-family: var(--mono); font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .hub { aspect-ratio: auto; display: grid; gap: 16px; }
  .hub-lines { display: none; }
  .hub-core { position: relative; left: auto; top: auto; translate: none; width: auto; aspect-ratio: auto; border-radius: 20px; padding: 22px; margin-bottom: 8px; box-shadow: 0 20px 50px -20px rgba(190, 130, 60, .6); }
  .hub-core strong br { display: none; }
  .hub-ring { display: none; }
  .hub-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hub-node { position: relative; left: auto; top: auto; translate: none; min-width: 0; white-space: normal; }
  .hub-node:hover { translate: 0 -4px; }
}
@media (max-width: 520px) {
  .hub-nodes { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================
   KI-Beratung & Schulungen
   ========================================================== */
.section-training {
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(190, 130, 60, .09), transparent 60%),
    radial-gradient(700px 500px at 5% 60%, rgba(201, 151, 79, .08), transparent 60%),
    radial-gradient(600px 400px at 60% 100%, rgba(224, 98, 10, .06), transparent 60%),
    var(--bg);
}
.trust-line {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(16, 185, 129, .08); border: 1px solid rgba(16, 185, 129, .22); color: #047857; font-size: .9rem; font-weight: 600;
}
.shield { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); }
.shield svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* --- Motion Graphic: Prozess-Transformation --- */
.flow {
  position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(22px, 3.5vw, 40px);
  border-radius: 28px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
}
.flow-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.flow-title { margin: 0; color: var(--muted); }
.flow-title b { color: var(--text); }
.flow-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg-2); font-weight: 700; font-size: .92rem; }
.flow-switch span { position: relative; z-index: 1; padding: 8px 20px; text-align: center; color: var(--muted); transition: color .5s; }
.sw-knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #8e949b; transition: transform .6s var(--ease), background .6s; }
.flow[data-mode="manual"] .sw-manual { color: #fff; }
.flow[data-mode="ai"] .sw-ai { color: #fff; }
.flow[data-mode="ai"] .sw-knob { transform: translateX(100%); background: var(--grad-loop); background-size: 200% auto; animation: shine 4s linear infinite; }

.flow-stage { position: relative; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.fs {
  position: relative; flex: 1 1 0; min-width: 0; max-width: 400px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 14px 8px; font-weight: 600; font-size: .92rem; color: var(--text);
  transition: flex-grow .8s var(--ease), max-width .8s var(--ease), padding .8s var(--ease), opacity .45s;
}
.fs-icon {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--bg); border: 2px solid var(--border-2);
  transition: background .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.fs-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.fs-label { min-height: 2.8em; line-height: 1.4; }
.l-ai { display: none; }
/* KI-Beschriftungen erst zeigen, wenn die Spalten ihre Endbreite haben (kein kurzzeitiger Umbruch) */
.flow[data-mode="ai"].labels-ai .l-ai { display: inline; animation: fadeUp .6s var(--ease); }
.flow[data-mode="ai"].labels-ai .l-manual:not(:only-child) { display: none; }
.flow.measuring, .flow.measuring * { transition: none !important; animation: none !important; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Verbindungslinien: Spur + Füllung */
.fs::before, .fs::after {
  content: ""; position: absolute; top: 43px; left: calc(50% + 36px); right: calc(-50% + 36px); height: 3px; border-radius: 3px;
}
.fs::after { background: var(--border-2); }
.fs::before { z-index: 1; background: linear-gradient(90deg, var(--accent-2), var(--accent-pink)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.fs:last-child::before, .fs:last-child::after { display: none; }
.fs.done::before { transform: scaleX(1); }

.fs.active .fs-icon {
  background: var(--grad-loop); background-size: 200% auto; animation: shine 3s linear infinite; border-color: transparent;
  transform: scale(1.14); box-shadow: 0 0 0 8px rgba(190, 130, 60, .12), 0 12px 30px -10px rgba(190, 130, 60, .7);
}
.fs.active .fs-icon svg { stroke: #fff; }
.fs.done .fs-icon { background: var(--white); border-color: var(--ok); }
.fs.done .fs-icon svg { stroke: var(--ok); }
.flow[data-mode="manual"] .fs.active .fs-icon { background: linear-gradient(135deg, #7a8087, var(--text)); box-shadow: 0 0 0 8px rgba(34, 39, 43, .1), 0 12px 30px -10px rgba(34, 39, 43, .5); }
.flow[data-mode="manual"] .fs-drop .fs-icon { border-style: dashed; }

/* KI-Modus: überflüssige Schritte fallen weg */
.flow[data-mode="ai"] .fs-drop {
  flex-grow: 0; max-width: 0; padding-inline: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  /* erst ausblenden, dann zusammenschieben */
  transition: opacity .3s, flex-grow .8s var(--ease) .25s, max-width .8s var(--ease) .25s, padding .8s var(--ease) .25s, max-height .8s var(--ease) .25s;
}
.flow[data-mode="ai"] .fs-human.done .fs-icon { border-color: var(--accent-2); }
.flow[data-mode="ai"] .fs-human.done .fs-icon svg { stroke: var(--accent-2); }

/* KI-Scan */
.flow-scan { position: absolute; top: -20px; bottom: -20px; left: -160px; width: 140px; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 151, 79, .14) 45%, rgba(190, 130, 60, .22) 50%, rgba(201, 151, 79, .14) 55%, transparent); }
.flow-scan::after { content: "✦ KI"; position: absolute; top: 0; left: 50%; translate: -50% 0; padding: 4px 12px; border-radius: 999px; font: 700 .75rem var(--font); color: #fff; white-space: nowrap; background: var(--grad); box-shadow: 0 6px 20px -6px rgba(190, 130, 60, .7); }
.flow.scanning .flow-scan { animation: scan 1.5s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes scan { 0% { left: -160px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% + 20px); opacity: 0; } }

/* Durchlaufzeit */
.flow-time { display: grid; grid-template-columns: auto 1fr 90px; gap: 16px; align-items: center; margin-top: 20px; font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.flow-time b { color: var(--text); text-align: right; }
.flow-bar { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.flow-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a3a8ae, #5c6168); }
.flow[data-mode="ai"] .flow-bar i { background: linear-gradient(90deg, var(--accent), var(--accent-pink)); }

/* Vorteile, die im KI-Modus aufleuchten */
.flow-benefits { display: grid; grid-template-columns: 3fr 2fr; gap: 28px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); }
.flow-benefits h3 { font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.benefit-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.benefit-chips li {
  padding: 7px 14px; border-radius: 999px; font-size: .87rem; font-weight: 500; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
.benefit-chips li::before { content: "✓"; display: inline-block; width: 1em; margin-right: 4px; opacity: 0; overflow: hidden; vertical-align: top; font-weight: 800; transition: opacity .4s; }
.benefit-chips li.on { background: rgba(16, 185, 129, .1); color: #047857; border-color: rgba(16, 185, 129, .3); transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(16, 185, 129, .6); }
.benefit-chips li.on::before { opacity: 1; }

/* --- Bereiche --- */
.sub-head { text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; margin: clamp(70px, 9vw, 110px) 0 34px; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area {
  position: relative; padding: 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.area:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.area h4 { font-size: 1.02rem; margin: 16px 0 6px; color: var(--text); line-height: 1.25; }
.area p { font-size: .9rem; margin: 0; }
.area-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(190, 130, 60, .08); transition: background .4s; }
.area-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .4s var(--ease); }
.area:hover .area-icon { background: var(--grad); }
.area:hover .area-icon svg { stroke: #fff; transform: scale(1.1) rotate(-4deg); }
.area-cta { background: var(--grad-loop); background-size: 200% auto; animation: shine 8s linear infinite; border: 0; color: #fff; display: flex; flex-direction: column; }
.area-cta h4 { color: #fff; font-size: 1.3rem; margin-top: 0; }
.area-cta p { color: rgba(255, 255, 255, .88); }
.area-arrow { margin-top: auto; align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); transition: transform .3s var(--ease), background .3s; }
.area-arrow svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.area-cta:hover .area-arrow { transform: translateX(6px); background: rgba(255, 255, 255, .35); }

/* --- Angebote --- */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer {
  position: relative; overflow: hidden; padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.offer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer:hover::after { transform: scaleX(1); }
.offer h4 { font-size: 1.1rem; margin: 20px 0 8px; color: var(--text); }
.offer p { font-size: .93rem; margin: 0; }
.offer-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-loop); background-size: 200% auto; animation: shine 8s linear infinite; box-shadow: 0 12px 26px -12px rgba(190, 130, 60, .6); }
.offer-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.offer:hover .offer-icon svg { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(6deg); } }

.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.aud { display: flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-radius: 16px; background: rgba(255, 255, 255, .55); border: 1.5px dashed var(--border-2); }
.aud b { color: var(--text); }
.aud b::before { content: "Für "; font-weight: 500; color: var(--muted); }
.aud span { font-size: .92rem; color: var(--muted); }

/* --- Einstieg in 6 Schritten --- */
.steps-6 { grid-template-columns: repeat(6, 1fr); gap: 18px; }
.steps-6 .step h3 { font-size: 1.05rem; }
.steps-6 .step p { font-size: .9rem; }

/* --- Grenzen --- */
.limits {
  margin-top: clamp(70px, 9vw, 110px); padding: clamp(26px, 4vw, 44px); border-radius: 24px;
  display: grid; grid-template-columns: 1fr 2.3fr; gap: 36px;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.limits-head h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.limits-head p { margin: 0; }
.limits-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px 28px; }
.limits-grid dt { font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.limits-grid dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .15); flex: none; }
.limits-grid dd { margin: 4px 0 0 16px; font-size: .92rem; color: var(--muted); }

@media (max-width: 1000px) {
  .areas, .offers { grid-template-columns: 1fr 1fr; }
  .steps-6 { grid-template-columns: 1fr 1fr; }
  .limits, .flow-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .flow-steps { flex-direction: column; }
  .fs { flex-direction: row; text-align: left; gap: 16px; padding: 8px 4px; max-width: none; max-height: 140px; transition: max-height .8s var(--ease), padding .8s var(--ease), opacity .45s; }
  .fs-label { min-height: 0; }
  .fs::before, .fs::after { top: 66px; bottom: -8px; left: 31px; right: auto; width: 3px; height: auto; }
  .fs::before { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--accent-2), var(--accent-pink)); }
  .fs.done::before { transform: scaleY(1); }
  .flow[data-mode="ai"] .fs-drop { max-width: none; max-height: 0; padding-block: 0; }
  .flow-scan { top: -160px; bottom: auto; left: -20px; right: -20px; width: auto; height: 120px;
    background: linear-gradient(180deg, transparent, rgba(201, 151, 79, .14) 45%, rgba(190, 130, 60, .22) 50%, rgba(201, 151, 79, .14) 55%, transparent); }
  .flow-scan::after { top: 50%; left: auto; right: 24px; translate: 0 -50%; }
  @keyframes scan { 0% { top: -160px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% + 20px); opacity: 0; } }
  .flow-time { grid-template-columns: 1fr auto; }
  .flow-time .flow-bar { grid-column: 1 / -1; grid-row: 2; }
  .areas, .offers, .audiences, .steps-6 { grid-template-columns: 1fr; }
}

/* ==========================================================
   Footer (mehrspaltig, Rechtliches gut sichtbar)
   ========================================================== */
.footer { padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin: 14px 0 0; max-width: 300px; }
.footer h4 { font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin: 6px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer address { font-style: normal; line-height: 1.75; }
.footer address a, .footer ul a { color: var(--muted); transition: color .2s; }
.footer address a:hover, .footer ul a:hover { color: var(--accent-2); }
.footer .footer-legal { gap: 10px; }
.footer .footer-legal a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  font-weight: 600; color: var(--text); background: var(--bg); border: 1px solid var(--border-2);
  transition: border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.footer .footer-legal a:hover { color: var(--accent-2); border-color: var(--accent-2); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.footer-legal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 20px 0 28px; border-top: 1px solid var(--border); }

/* Rechtliches im mobilen Menü, auf dem Desktop ausgeblendet */
.nav-legal { display: none; }
@media (max-width: 1120px) {
  .nav ul .nav-legal { display: flex; gap: 24px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--border); }
  .nav ul .nav-legal a { font-size: .95rem; color: var(--muted); }
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { flex-direction: column; text-align: center; } }

/* Gesundheitswesen: schlagendes Herz mit EKG-Linie */
.ic-health .heart { animation: heartbeat 1.6s ease-in-out infinite; }
.ic-health .ecg { stroke-dasharray: 60; stroke-dashoffset: 60; animation: ecg 1.6s linear infinite; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 25% { transform: scale(.98); } }
@keyframes ecg { 0% { stroke-dashoffset: 60; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (max-width: 900px) {
  .hub-node-bottom { grid-column: 1 / -1; justify-self: center; min-width: min(100%, 320px); }
}
@media (max-width: 520px) { .hub-node-bottom { justify-self: stretch; } }

/* ==========================================================
   Oracle: PL/SQL-Editor mit Profiler (Motion Graphic)
   ========================================================== */
.plsql { position: relative; border-radius: 24px; background: #1c2024; color: #dfe2e5; box-shadow: var(--shadow-lg); overflow: hidden; }
.plsql-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); }
.plsql-file { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8rem; color: #9097a0; }
.plsql-file i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.plsql-file i:nth-child(2) { background: #febc2e; }
.plsql-file i:nth-child(3) { background: #28c840; margin-right: 8px; }
.plsql-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.plsql-steps li { padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #8e949b; background: rgba(255, 255, 255, .05); transition: background .4s, color .4s; }
.plsql-steps li.active { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(224, 98, 10, .2); }
.plsql-steps li.done { background: rgba(16, 185, 129, .16); color: #34e0a1; }
.plsql-steps li.done::before { content: "✓ "; }

.plsql-body { display: grid; grid-template-columns: 1.65fr 1fr; }
.plsql-editor { position: relative; min-width: 0; overflow-x: auto; }
.plsql-code { padding: 18px 0 22px; font-family: var(--mono); font-size: .84rem; line-height: 1.8; min-height: 340px; }
.ln { position: relative; display: grid; grid-template-columns: 46px 1fr; padding-right: 18px; white-space: pre; max-height: 2em; transition: max-height .5s var(--ease), opacity .4s, background .5s; }
.ln .no { color: #5c636b; text-align: right; padding-right: 16px; user-select: none; position: relative; z-index: 1; }
.ln code { position: relative; z-index: 1; font: inherit; }
.ln .heat { position: absolute; left: 46px; top: 3px; bottom: 3px; width: 0; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, rgba(224, 98, 10, .42), rgba(224, 98, 10, .06)); transition: width .9s var(--ease), background .6s; }
.plsql.cool .ln .heat { background: linear-gradient(90deg, rgba(52, 224, 161, .28), rgba(52, 224, 161, .04)); }
.ln.removing { background: rgba(255, 95, 87, .14); text-decoration: line-through; text-decoration-color: rgba(255, 95, 87, .7); }
.ln.gone { max-height: 0; opacity: 0; }
.ln.added { background: rgba(52, 224, 161, .09); }
.ln .tk { color: #e0b872; font-weight: 600; }
.ln .tn { color: #ffa940; }
.ln .tc { color: #737a83; font-style: italic; }
.ln .tp { color: #9fd3c7; }
.typing-caret { display: inline-block; width: 7px; height: 1.1em; background: var(--accent-pink); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }

.plsql-hot {
  position: absolute; right: 16px; top: 0; padding: 6px 12px; border-radius: 10px; font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--accent); box-shadow: 0 10px 24px -8px rgba(224, 98, 10, .7);
  opacity: 0; transform: translateY(8px) scale(.95); transition: opacity .4s, transform .4s var(--ease), top .4s var(--ease); pointer-events: none;
}
.plsql-hot.show { opacity: 1; transform: none; animation: hotPulse 1.4s ease-in-out infinite; }
@keyframes hotPulse { 50% { box-shadow: 0 0 0 8px rgba(224, 98, 10, .18), 0 10px 24px -8px rgba(224, 98, 10, .7); } }

.plsql-prof { padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); display: flex; flex-direction: column; gap: 18px; }
.plsql-prof h4 { margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #8e949b; }
.pm span { display: block; font-size: .82rem; color: #9097a0; margin-bottom: 4px; }
.pm b { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; transition: color .5s; }
.pm b.good { color: #34e0a1; }
.pm b.bad { color: var(--accent-pink); }
.pm .pm-mode { font-size: 1rem; font-weight: 700; }
.pm-meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pm-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-pink), #ff5f57); transition: width 1.2s var(--ease), background .6s; }
.plsql.cool .pm-meter i { background: linear-gradient(90deg, #10b981, #34e0a1); }
.plsql-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plsql-checks li { font-size: .88rem; color: #8e949b; opacity: .35; transform: translateX(-6px); transition: opacity .5s, transform .5s var(--ease), color .5s; }
.plsql-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; font-size: .7rem; font-weight: 800; background: rgba(255, 255, 255, .08); color: transparent; transition: background .5s, color .5s; }
.plsql-checks li.on { opacity: 1; transform: none; color: #dfe2e5; }
.plsql-checks li.on::before { background: #10b981; color: #fff; }
.plsql-note { margin: auto 0 0; font-size: .72rem; color: #737a83; }

@media (max-width: 900px) {
  .plsql-body { grid-template-columns: 1fr; }
  .plsql-prof { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); display: grid; grid-template-columns: 1fr 1fr; }
  .plsql-prof h4, .plsql-checks, .plsql-note { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .plsql-code { font-size: .72rem; min-height: 300px; }
  .ln { grid-template-columns: 34px 1fr; }
  .ln .no { padding-right: 10px; }
  .ln .heat { left: 34px; }
  .plsql-hot { right: 8px; font-size: .7rem; }
}

/* ==========================================================
   KI-gestütztes Webdesign: Vom Wunsch zur Website
   ========================================================== */
.webd { position: relative; padding: clamp(20px, 3vw, 34px); border-radius: 28px; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.webd-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: ws; }
.webd-steps li { counter-increment: ws; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--white); border: 1px solid var(--border); transition: all .4s var(--ease); }
.webd-steps li::before { content: counter(ws); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; font-size: .72rem; background: var(--bg-2); transition: inherit; }
.webd-steps li.active { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 8px 20px -8px rgba(224, 98, 10, .7); }
.webd-steps li.active::before { background: rgba(255, 255, 255, .25); }
.webd-steps li.done { color: #047857; background: rgba(16, 185, 129, .08); border-color: rgba(16, 185, 129, .25); }
.webd-steps li.done::before { content: "✓"; background: #10b981; color: #fff; }

.webd-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(20px, 3vw, 36px); align-items: start; }

/* Chat */
.webd-chat { display: flex; flex-direction: column; gap: 14px; }
.chat-user { padding: 16px 18px; border-radius: 18px 18px 4px 18px; background: var(--text); color: #fff; min-height: 118px; box-shadow: var(--shadow); }
.chat-label { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-pink); margin-bottom: 6px; }
.chat-user p { margin: 0; color: #fff; font-size: .95rem; line-height: 1.5; }
.chat-ai { list-style: none; margin: 0; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--white); border: 1px solid var(--border); display: grid; gap: 9px; }
.chat-ai li { font-size: .88rem; color: var(--muted); opacity: .35; transition: opacity .4s, color .4s; display: flex; align-items: center; gap: 10px; }
.chat-ai li::before { content: "✦"; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; color: var(--muted); background: var(--bg-2); transition: background .4s, color .4s; }
.chat-ai li.on { opacity: 1; color: var(--text); }
.chat-ai li.on::before { content: "✓"; background: #10b981; color: #fff; }
.chat-ai li.busy { opacity: 1; color: var(--text); }
.chat-ai li.busy::before { background: var(--grad-loop); background-size: 200% auto; animation: shine 1.5s linear infinite; color: #fff; }
.chat-human { margin: 0; font-size: .88rem; font-weight: 600; color: var(--accent-2); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.webd[data-phase="7"] .chat-human { opacity: 1; transform: none; }

/* Browser */
.webd-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.browser { width: 100%; height: 450px; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--border-2); box-shadow: var(--shadow); transition: width 1.1s var(--ease); }
.webd[data-phase="5"] .browser { width: 62%; }
.webd[data-phase="6"] .browser { width: 40%; min-width: 230px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-wrap { height: calc(100% - 37px); overflow: hidden; container-type: inline-size; }
.site { padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; transition: transform 2.4s var(--ease); }
.webd[data-phase="6"] .site { transform: translateY(-150px); transition-delay: .9s; }

/* Elemente: unsichtbar → graue Blöcke (Wireframe) → echtes Design */
.s-el { opacity: 0; transform: scale(.92); transition: opacity .45s var(--ease), transform .45s var(--ease), background .6s, color .6s, border-color .6s, box-shadow .6s; transition-delay: calc(var(--i) * 90ms); }
.webd:not([data-phase="0"]):not([data-phase="1"]) .s-el { opacity: 1; transform: none; }
.webd[data-phase="2"] .s-el { color: transparent !important; background: #e4e1db !important; border-color: transparent !important; box-shadow: none !important; border-radius: 6px; }
.webd[data-phase="2"] .s-el * { visibility: hidden; }

.s-nav { display: flex; align-items: center; gap: 12px; }
.s-logo { font-size: .85rem; font-weight: 800; color: var(--text); padding: 2px 4px; }
.s-links { display: flex; gap: 6px; margin-left: auto; }
.s-links i { font-style: normal; font-size: .72rem; color: var(--muted); padding: 2px 6px; }
.s-cta { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.s-burger { display: none; width: 22px; height: 16px; margin-left: auto; border-radius: 3px; background: linear-gradient(var(--text) 0 2px, transparent 2px 7px, var(--text) 7px 9px, transparent 9px 14px, var(--text) 14px 16px); }
.s-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 12px; background: linear-gradient(120deg, #fff4e8, #fbe7d0); }
.webd[data-phase="2"] .s-hero { background: transparent; outline: 1.5px dashed #d6d2ca; }
.s-hero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.s-h1 { font-size: 1.15rem; font-weight: 800; line-height: 1.15; color: var(--text); letter-spacing: -.02em; }
.s-p { font-size: .75rem; color: var(--muted); }
.s-btn { font-size: .72rem; font-weight: 700; color: #fff; background: var(--text); padding: 6px 12px; border-radius: 999px; }
.s-hero-img { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; background: var(--grad-loop); background-size: 200% auto; animation: shine 8s linear infinite; }
.s-hero-img svg { width: 44%; fill: rgba(255, 255, 255, .85); }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.s-card b { font-size: .75rem; color: var(--text); }
.s-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; color: #fff; background: var(--accent); }
.s-line { height: 5px; border-radius: 3px; background: var(--bg-2); }
.s-line.short { width: 60%; }
.s-footer { height: 26px; border-radius: 8px; background: var(--text); }

/* Smartphone-Layout per Container Query */
@container (max-width: 420px) {
  .s-links, .s-cta { display: none; }
  .s-burger { display: block; }
  .s-hero { grid-template-columns: 1fr; }
  .s-cards { grid-template-columns: 1fr; }
}

/* Prüf-Ringe */
.webd-scores { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 26px; }
@media (max-width: 520px) { .webd-scores { gap: 12px 14px; } .score span { font-size: .68rem; } }
.score { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 3.2; }
.sc-track { stroke: var(--bg-2); }
.sc-val { stroke: #10b981; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.score b { position: absolute; top: 0; height: 58px; display: grid; place-items: center; font-size: 1.1rem; color: #10b981; opacity: 0; transform: scale(.5); transition: opacity .4s 1s, transform .4s 1s var(--ease); }
.score span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.webd[data-phase="7"] .sc-val { stroke-dashoffset: 0; }
.webd[data-phase="7"] .score b { opacity: 1; transform: none; }
.webd[data-phase="7"] .score:nth-child(2) .sc-val { transition-delay: .15s; }
.webd[data-phase="7"] .score:nth-child(3) .sc-val { transition-delay: .3s; }
.webd[data-phase="7"] .score:nth-child(4) .sc-val { transition-delay: .45s; }

.web-features { margin-top: 40px; }
.proof {
  display: flex; align-items: center; gap: 14px; margin: 28px auto 0; max-width: 820px; padding: 16px 22px; border-radius: 16px;
  background: linear-gradient(110deg, rgba(224, 98, 10, .07), rgba(190, 130, 60, .1)); border: 1px solid rgba(190, 130, 60, .25); color: var(--muted); font-size: .95rem;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.proof b { color: var(--text); }
.proof:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.proof .ai-spark { font-size: 1.4rem; color: var(--accent); }

@media (max-width: 1000px) {
  .webd-grid { grid-template-columns: 1fr; }
  .chat-user { min-height: 0; }
}
@media (max-width: 520px) {
  .browser { height: 340px; }
  .webd[data-phase="5"] .browser { width: 80%; }
  .webd[data-phase="6"] .browser { width: 70%; min-width: 0; }
  .score svg, .score b { width: 48px; height: 48px; }
}

/* ==========================================================
   Scroll-Effekte
   ========================================================== */
/* Wort-für-Wort-Überschriften */
.wsplit .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--wi) * 70ms + .1s); }
.in .wsplit .w, .wsplit.in .w { opacity: 1; transform: none; filter: none; }

/* Einblend-Varianten */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal[data-reveal="left"]:not(.in) { transform: translateX(-80px); }
.reveal[data-reveal="right"]:not(.in) { transform: translateX(80px) rotate(2deg); }
.reveal[data-reveal="zoom"]:not(.in) { transform: scale(.9) translateY(30px); }
.reveal[data-reveal="flip"]:not(.in) { transform: perspective(900px) rotateX(24deg) translateY(60px); transform-origin: 50% 100%; }
.reveal[data-reveal="blur"]:not(.in) { transform: translateY(16px); filter: blur(10px); }
.section-head .section-sub.reveal { opacity: 0; }
.section-head.in .section-sub { opacity: 1; transform: none; filter: none; transition-delay: .5s; }

/* Große Abschnittsnummern */
.section-head { position: relative; isolation: isolate; }
.bg-num {
  position: absolute; z-index: -1; top: -.38em; left: -.06em; pointer-events: none; user-select: none;
  font-size: clamp(7rem, 17vw, 13rem); font-weight: 900; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(190, 130, 60, .22);
}
.section-head.center .bg-num { left: 50%; margin-left: -.55em; }

/* Schwebende Formen */
.section { overflow-x: clip; }
.section > .container, .section > .marquee { position: relative; z-index: 1; }
.floater { position: absolute; z-index: 0; width: var(--s); height: var(--s); pointer-events: none; opacity: .55; animation: spin 40s linear infinite; }
.fl-ring { border-radius: 50%; border: 2px solid rgba(190, 130, 60, .35); }
.fl-dot { border-radius: 50%; background: radial-gradient(circle, rgba(224, 98, 10, .3), transparent 70%); transform: scale(2.2); }
.fl-plus { background: linear-gradient(rgba(190, 130, 60, .5), rgba(190, 130, 60, .5)) center / 100% 2px no-repeat, linear-gradient(rgba(190, 130, 60, .5), rgba(190, 130, 60, .5)) center / 2px 100% no-repeat; }
.fl-grid { background-image: radial-gradient(rgba(190, 130, 60, .5) 1.6px, transparent 1.6px); background-size: 12px 12px; animation: none; }
@media (max-width: 760px) { .floater { opacity: .3; } .bg-num { -webkit-text-stroke-width: 1px; } }

/* Hero: sanftes Ausblenden beim Scrollen */
.hero-copy, .hero-visual { will-change: transform, opacity; }

/* Aktiver Menüpunkt */
.nav ul a.active:not(.btn) { color: var(--text); }
.nav ul a.active:not(.btn)::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .wsplit .w { opacity: 1; transform: none; filter: none; }
  .section-head .section-sub.reveal { opacity: 1; }
}
.webd[data-phase="0"] .s-hero, .webd[data-phase="1"] .s-hero { background: transparent; }

/* ==========================================================
   Stabiles Layout: animierte Inhalte ändern keine Höhen
   ========================================================== */
/* Wunsch-Text: Platz für den vollständigen Text ist von Anfang an reserviert */
.chat-user p { display: grid; }
.chat-user p > span { grid-area: 1 / 1; }
.chat-user p > .ghost { visibility: hidden; }
@media (max-width: 760px) {
  /* KI-Prozess mobil: wegfallende Schritte bleiben stehen, werden aber ausgegraut und durchgestrichen */
  .flow[data-mode="ai"] .fs-drop { max-height: 140px; padding: 8px 4px; opacity: .35; overflow: visible; white-space: normal; }
  .flow[data-mode="ai"] .fs-drop .fs-label { text-decoration: line-through; }
  .flow[data-mode="ai"] .fs-drop::before { transform: scaleY(0); }
}
@media (max-width: 900px) {
  /* PL/SQL-Profiler mobil: feste Zeilenhöhen für wechselnde Werte */
  .pm b { display: block; min-height: 1.15em; white-space: nowrap; }
  .pm .pm-mode { min-height: 2.6em; white-space: normal; }
}
