/* ==========================================================================
   Freelance Software Solutions – Corporate Design 2026
   Hell, frisch, seriös · Navy + Kobaltblau, Teal als frischer Akzent
   (Das frühere dunkle Design liegt in css/aurora.css bzw. _design/aurora-personal/)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef3ff;
  --navy: #0b1736;
  --navy-2: #12224a;
  --ink: #0b1736;
  --text: #2e3a52;
  --muted: #5a6680;
  --dim: #8792a8;
  --line: #e3e8f2;
  --line-strong: #cfd7e6;

  --primary: #2350e6;
  --primary-600: #1b40c4;
  --primary-50: #edf2ff;
  --primary-100: #dbe5ff;
  --accent: #0fb39b;
  --accent-50: #e5f8f4;
  --warm: #ffb547;

  --grad: linear-gradient(120deg, #2350e6 0%, #3b6cff 45%, #0fb39b 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 54, .05), 0 2px 8px -2px rgba(11, 23, 54, .06);
  --shadow: 0 1px 2px rgba(11, 23, 54, .04), 0 18px 40px -18px rgba(11, 23, 54, .18);
  --shadow-lg: 0 2px 4px rgba(11, 23, 54, .04), 0 40px 80px -30px rgba(11, 23, 54, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --surface: #ffffff;
  --nav-bg: rgba(255, 255, 255, .88);
  --line-hover: #b4c0d6;
  --accent-ink: #0a7f6e;
  --danger: #d23b3b;
  color-scheme: light;

  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "SF Mono", monospace;
}

*, *::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.65;
  color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary-100); color: var(--ink); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
section { position: relative; padding: clamp(80px, 11vw, 128px) 0; }
.pt-0 { padding-top: 0; }
.bg-soft { background: var(--bg-soft); }
[id] { scroll-margin-top: 90px; }

/* Effekte des alten Designs werden hier nicht genutzt */
.bg-grid, .noise, .cursor-glow, .aurora { display: none; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; }
p { margin: 0; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { color: var(--primary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.section-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-split .section-head { margin: 0; }
.section-split > p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; cursor: pointer; white-space: nowrap; line-height: 1.2;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--primary) 75%, transparent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .9rem; border-radius: 10px; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); font-size: .95rem; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.topbar { background: var(--navy); color: #c9d3ea; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar-links { display: flex; gap: 22px; }
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(11,23,54,.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo { --dg-h: url(#dg-h); --dg-a: url(#dg-a); --dg-b: #a9bdff; --dg-r: #142c8f; --dg-eye: #fff; --dg-pupil: #0b1736; }
.brand-mark { width: 42px; height: 42px; flex: none; transition: transform .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(35, 80, 230, .18)); }
.logo:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.logo span { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: 10px 14px; font-size: .95rem; font-weight: 500; color: var(--text); border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.lang a, .lang button { padding: 5px 10px; border-radius: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; color: var(--muted); transition: all .2s; }
.lang a:hover, .lang button:hover { color: var(--ink); }
.lang a.on, .lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .35s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(120px, 12vw, 176px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 85% 10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 65%),
    radial-gradient(700px 480px at 100% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 80% 30%, #000 10%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .86rem; font-weight: 500; color: var(--text);
}
.chip b { padding: 3px 10px; border-radius: 999px; background: var(--accent-50); color: var(--accent-ink); font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.35rem); line-height: 1.04; letter-spacing: -.04em; }
.hero h1 .gradient-text { padding-bottom: .05em; }
.hero-lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 580px; margin: 26px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 36px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text); font-weight: 500; }
.trust .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--accent-50); color: var(--accent); stroke-width: 2.8; }

/* Hero-Visual: Dashboard-Komposition */
.hero-visual { position: relative; }
.dash {
  position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dash-bar em { margin-left: 12px; flex: 1; max-width: 260px; height: 24px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); font-style: normal; font-size: .72rem; color: var(--dim); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.dash-bar em .icon { width: 12px; height: 12px; color: var(--accent); }
.dash-body { display: grid; grid-template-columns: 64px 1fr; min-height: 360px; }
.dash-side { border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dash-side span { width: 32px; height: 32px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; color: var(--dim); }
.dash-side span.on { background: var(--primary-50); color: var(--primary); }
.dash-side .icon { width: 16px; height: 16px; }
.dash-main { padding: 20px; display: grid; gap: 14px; align-content: start; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head b { font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; }
.dash-head small { display: block; color: var(--dim); font-size: .74rem; }
.dash-head .pill { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-50); color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
.dash-head .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.kpi small { display: block; font-size: .68rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; margin-top: 2px; }
.kpi i { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--accent); }
.chart { position: relative; height: 130px; border-radius: 12px; border: 1px solid var(--line); padding: 14px 14px 10px; display: flex; align-items: flex-end; gap: 8px; background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.chart span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--primary-100); height: var(--h); transform-origin: bottom; transform: scaleY(0); animation: grow 1s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * .07s); }
.chart span.hi { background: linear-gradient(180deg, var(--primary), #4f7bff); }
.chart span.ac { background: linear-gradient(180deg, var(--accent), #5fd6c3); }
@keyframes grow { to { transform: scaleY(1); } }
.dash-rows { display: grid; gap: 8px; }
.dash-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-soft); font-size: .78rem; color: var(--text); }
.dash-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dash-row .dot.b { background: var(--primary); } .dash-row .dot.w { background: var(--warm); }
.dash-row em { margin-left: auto; font-style: normal; color: var(--dim); font-size: .72rem; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .84rem;
  animation: bob 7s ease-in-out infinite;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); }
.float-card .ic .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.float-card b { display: block; color: var(--ink); font-size: .88rem; }
.float-card small { color: var(--muted); font-size: .76rem; }
.fc-1 { left: -40px; bottom: -26px; }
.fc-2 { right: -22px; top: 74px; animation-delay: -3.5s; }
.fc-2 .ic { background: var(--primary-50); color: var(--primary); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-mini { position: absolute; right: -44px; bottom: -48px; width: 112px; aspect-ratio: 9/18; border-radius: 24px; background: var(--navy); padding: 7px; box-shadow: var(--shadow-lg); animation: bob 8s ease-in-out infinite; animation-delay: -2s; }
.phone-mini > div { height: 100%; border-radius: 18px; background: var(--surface); padding: 22px 9px 9px; display: grid; gap: 7px; align-content: start; }
.phone-mini i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.phone-mini i.t { height: 44px; border-radius: 9px; background: var(--grad); }
.phone-mini i.s { width: 60%; }
.phone-mini i.b { height: 22px; border-radius: 7px; background: var(--primary); margin-top: 10px; }

/* ---------- Kennzahlen ---------- */
.facts-bar { padding: 0; position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 6.5vw, 92px)); margin-bottom: clamp(8px, 2vw, 24px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .28), var(--shadow); overflow: hidden; }
.fact-item { padding: clamp(34px, 3.6vw, 50px) clamp(24px, 2.4vw, 36px); border-left: 1px solid var(--line); position: relative; }
.fact-item::before { content: ""; position: absolute; left: clamp(24px, 2.4vw, 36px); top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .85; }
.fact-item:first-child { border-left: 0; }
.fact-item strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--ink); letter-spacing: -.035em; line-height: 1; }
.fact-item strong em { font-style: normal; color: var(--primary); }
.fact-item > span { display: block; margin-top: 8px; color: var(--muted); font-size: .93rem; line-height: 1.45; }

/* ---------- Karten ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 32px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card p { color: var(--muted); }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--primary-50); color: var(--primary); transition: background .3s, color .3s, transform .4s var(--ease);
}
.icon-box .icon { width: 24px; height: 24px; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; }
.service::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service:hover .icon-box { background: var(--primary); color: #fff; }
.service h3 { margin-bottom: 10px; }
.service ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.service li { font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
.service .link-arrow { margin-top: auto; }

/* Zielgruppen */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.audience { padding: 30px 28px 6px 0; }
.audience + .audience { padding-left: 28px; border-left: 1px solid var(--line); }
.audience .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.audience h3 { font-size: 1.1rem; margin-bottom: 8px; }
.audience p { color: var(--muted); font-size: .95rem; }

/* Qualität – dunkles Band */
.band-dark { background: var(--navy); color: #c3cde4; overflow: hidden; isolation: isolate; }
.band-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 0% 0%, rgba(35,80,230,.35), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(15,179,155,.22), transparent 60%); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #8fb0ff; }
.band-dark p { color: #b3bed8; }
.quality-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.quality-intro p { font-size: 1.1rem; margin-top: 20px; }
.quality-intro .btn { margin-top: 32px; }
.quality { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.q-item { padding: 28px; background: var(--navy-2); transition: background .3s; }
.q-item:hover { background: #172a5a; }
.q-item .icon { width: 26px; height: 26px; color: #6fe3cf; margin-bottom: 14px; }
.q-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.q-item p { font-size: .94rem; }

/* ---------- Vorgehen ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.step { position: relative; }
.step-num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--primary); box-shadow: var(--shadow-sm); transition: all .4s var(--ease); }
.step-num .icon { width: 24px; height: 24px; }
.step:hover .step-num { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; position: absolute; top: 14px; left: 72px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; color: var(--accent); background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; z-index: 1; }
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }
.highlight-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 64px; }
.highlight-row .card { display: flex; gap: 22px; }
.highlight-row .icon-box { margin: 0; flex: none; }
.highlight-row h3 { margin-bottom: 8px; }
.progress-demo { margin-top: 18px; display: grid; gap: 8px; max-width: 420px; }
.progress-demo .row { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.progress-demo .row .icon { width: 16px; height: 16px; }
.progress-demo .row.done { color: var(--accent-ink); } .progress-demo .row.now { color: var(--primary); font-weight: 600; }
.progress-bar { height: 8px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; margin-top: 6px; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width 1.8s var(--ease); }
.in .progress-bar i { width: 62%; }
.card.tint { background: var(--primary-50); border-color: var(--primary-100); }
.card.tint .icon-box { background: var(--surface); }

/* ---------- Produkte ---------- */
.products { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 26px; }
.pf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .9rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .25s var(--ease); }
.pf small { font-size: .74rem; font-weight: 700; color: var(--dim); background: var(--bg-soft); border-radius: 999px; padding: 1px 7px; transition: inherit; }
.pf:hover { border-color: var(--line-hover); color: var(--ink); }
.pf.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pf.on small { background: color-mix(in srgb, var(--bg) 18%, transparent); color: var(--bg); }
.project.pf-hide, .products.collapsed .project.more { display: none; }
.pmore { display: flex; justify-content: center; margin-top: 30px; }
.pmore[hidden] { display: none; }
.pmore .btn .icon-arrow { transition: transform .3s var(--ease); }
.pmore .btn:hover .icon-arrow { transform: translateY(3px); }
.project.pf-in { animation: pfIn .5s var(--ease) both; animation-delay: calc(var(--pf, 0) * 45ms); }
@keyframes pfIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.project.is-dev .status { background: color-mix(in srgb, var(--warm) 16%, transparent); color: #9a5b00; border-color: transparent; }
:root[data-theme="dark"] .project.is-dev .status { color: #ffc56b; }
footer a.more { color: #fff; font-weight: 600; }
.project { --c: #2350e6; --c2: #0fb39b; grid-column: span 3; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project.lg { grid-column: span 6; }
.project:not(.lg) .project-body { padding: 22px 22px 20px; }
.project:not(.lg) h3 { font-size: 1.2rem; }
.project:not(.lg) .project-body p { font-size: .9rem; }
.project:not(.lg) .project-visual { height: 150px; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.project-visual {
  position: relative; height: 170px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--c) 30%, transparent), transparent 55%),
    radial-gradient(circle at 85% 95%, color-mix(in srgb, var(--c2) 26%, transparent), transparent 55%),
    color-mix(in srgb, var(--c) 6%, var(--surface));
  border-bottom: 1px solid var(--line);
}
.project.lg .project-visual { height: 200px; }
.project-visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--c) 30%, transparent) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(circle at center, #000, transparent 70%); opacity: .6; }
.app-icon {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--c), var(--c2));
  box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--c) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .6s var(--ease);
}
.app-icon .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.project:hover .app-icon { transform: translateY(-4px) rotate(-5deg) scale(1.05); }
.project-body { padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); animation: pulse 2s ease-in-out infinite; }
.project h3 { font-size: 1.4rem; }
.tagline { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span { font-size: .74rem; font-weight: 500; padding: 3px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); }
.project-link { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.project-link .sub b { color: var(--ink); font-weight: 600; }
.project-link .go { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); transition: all .35s var(--ease); }
.project:hover .project-link .go { background: var(--primary); color: #fff; transform: translateX(3px); }
.project-link .go .icon { width: 18px; height: 18px; }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 34px; }
.price:hover { box-shadow: var(--shadow); }
.price.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -13px; left: 34px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; background: var(--primary); color: #fff; }
.price h3 { font-size: 1.12rem; }
.amount { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 6px; }
.amount small { color: var(--dim); font-size: .9rem; }
.amount strong { font-family: var(--font-display); font-size: 3rem; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.amount span { color: var(--muted); font-weight: 600; }
.price > p { font-size: .95rem; }
.price ul { list-style: none; padding: 22px 0 0; margin: 22px 0 30px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.price li { display: flex; gap: 12px; align-items: center; color: var(--text); font-size: .96rem; }
.price li .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent-50); color: var(--accent); stroke-width: 2.8; }
.price .btn { margin-top: auto; width: 100%; }
.custom-offer { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.custom-offer .icon-box { margin: 0; background: var(--surface); }
.custom-offer h3 { margin-bottom: 4px; }
.custom-offer p { color: var(--muted); }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.portrait { position: relative; max-width: 420px; }
.portrait-frame { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-tint); box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: 22px; background: var(--grad); opacity: .16; z-index: -1; }
.portrait .tag { position: absolute; left: 20px; right: 20px; bottom: -26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.portrait .tag b { display: block; color: var(--ink); font-size: 1.04rem; }
.portrait .tag small { color: var(--muted); font-size: .84rem; }
.socials { display: flex; gap: 8px; }
.social { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease); }
.social:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.social .icon { width: 17px; height: 17px; }
.about-text p { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.quote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.fact { padding: 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.fact .icon { width: 22px; height: 22px; color: var(--primary); margin-bottom: 10px; }
.fact b { display: block; color: var(--ink); font-size: .96rem; }
.fact small { color: var(--muted); font-size: .84rem; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
  background: linear-gradient(120deg, #1a3fd0 0%, var(--primary) 45%, #1f6fd8 75%, #0e9e8b 100%); color: #fff;
}
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 70%); }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-box p { color: rgba(255,255,255,.85); margin-top: 14px; font-size: 1.08rem; max-width: 560px; }
.cta-box .eyebrow { color: #cfe0ff; }
.cta-box .eyebrow::before { background: #6fe3cf; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 12px; font-size: 1.05rem; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
a.info-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.info-item .icon-box { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.info-item small { display: block; color: var(--dim); font-size: .8rem; }
.info-item b { font-weight: 600; color: var(--ink); font-size: .98rem; word-break: break-word; }
.hours { padding: 18px 20px; border-radius: 14px; background: var(--accent-50); color: var(--accent-ink); font-size: .92rem; display: flex; gap: 14px; }
.hours .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.form { padding: 36px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 6px; }
.form > p { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 9px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field textarea { min-height: 160px; padding-top: 30px; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--dim); pointer-events: none; transition: all .2s var(--ease); font-size: .98rem; }
.field input:hover, .field textarea:hover { border-color: var(--line-hover); }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .74rem; color: var(--primary); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: all .2s; margin: 0; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: .92rem; }
.form-status.ok { color: var(--accent-ink); } .form-status.err { color: var(--danger); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #aab5cf; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer .logo { color: #fff; }
footer .logo, :root[data-theme="dark"] .logo { --dg-h: url(#dg-hd); --dg-a: url(#dg-ad); --dg-b: #3b55b8; --dg-r: #c9d6ff; --dg-eye: #0a0f1e; --dg-pupil: #e9efff; }
footer h4 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 18px; font-weight: 700; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer ul a { color: #aab5cf; font-size: .95rem; transition: color .2s; }
footer ul a:hover { color: #fff; }
.footer-brand p { margin: 20px 0 22px; max-width: 340px; font-size: .95rem; }
footer .social { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
footer .social:hover { background: var(--primary); border-color: var(--primary); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #8f9bba; }
.footer-bottom a:hover { color: #fff; }
.footer-wordmark { display: none; }
.heart { color: #ff7a8a; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.zoom { transform: scale(.97); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Unterseiten (Impressum, Kundenbereich) ---------- */
.page-hero { padding: 88px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 420px at 90% 0%, color-mix(in srgb, var(--primary) 11%, transparent), transparent 65%), linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); letter-spacing: -.04em; }
.page-hero p { color: var(--muted); max-width: 660px; margin-top: 20px; font-size: 1.1rem; }
.page-hero + section { background: var(--bg-soft); padding-top: 0; }
.legal-toc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.legal-wrap { display: grid; gap: 22px; max-width: 920px; }
.person-card { display: flex; gap: 28px; align-items: center; }
.person-card img { width: 132px; height: 132px; border-radius: 18px; object-fit: cover; flex: none; background: var(--bg-tint); }
.person-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.person-card p a { color: var(--primary); }
.person-facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: .95rem; color: var(--text); }
.person-facts li { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.person-facts .icon { color: var(--primary); width: 18px; height: 18px; }
.legal-prose { padding: clamp(28px, 5vw, 52px); scroll-margin-top: 100px; }
.legal-prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 26px; }
.legal-prose h3 { font-size: 1.16rem; margin: 30px 0 10px; }
.legal-prose h4 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin: 20px 0 4px; }
.legal-prose p, .legal-prose li, .legal-prose div { color: var(--muted); font-size: .98rem; }
.legal-prose p { margin: 0 0 10px; }
.legal-prose ul { padding-left: 20px; margin: 8px 0 14px; }
.legal-prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

.login-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 22px; align-items: start; }
.login-aside { display: grid; gap: 16px; }
.login-aside .card { padding: 24px; }
.login-aside h3 { font-size: 1.06rem; margin-bottom: 6px; }
.login-aside p { font-size: .94rem; }
.login-aside a { color: var(--primary); }
.login-aside .icon-box { width: 44px; height: 44px; margin-bottom: 14px; }
.login-head { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.login-head .icon-box { margin: 0; }
.login-head h3 { font-size: 1.3rem; }
.login-head p { color: var(--muted); font-size: .92rem; margin: 0; }
.login-form .form-foot { margin-top: 22px; }
.field.pw input { padding-right: 56px; }
.pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--dim); cursor: pointer; display: grid; place-items: center; transition: color .2s, background .2s; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--ink); background: var(--bg-soft); }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.status-card { padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); animation: popIn .7s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px); } }
.status-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 28px; }
.status-title { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.status-sub { color: var(--muted); margin-top: 6px; }
.ring { position: relative; width: 116px; height: 116px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring-bg { stroke: var(--bg-soft); }
.ring-fg { stroke: var(--primary); stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.8s var(--ease); }
.ring-val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); color: var(--ink); font-size: 1.55rem; letter-spacing: -.03em; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.tl-item { position: relative; display: flex; gap: 18px; padding-bottom: 20px; opacity: 0; transform: translateX(-10px); animation: tlIn .6s var(--ease) forwards; }
@keyframes tlIn { to { opacity: 1; transform: none; } }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-item.done::before { background: var(--primary); }
.tl-dot { position: relative; z-index: 1; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--dim); font-size: .82rem; font-weight: 700; }
.tl-dot .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.tl-item.done .tl-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.tl-item.now .tl-dot { border: 2px solid var(--primary); color: var(--primary); box-shadow: 0 0 0 6px var(--primary-50); }
.tl-body { padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-body b { font-weight: 600; color: var(--ink); }
.tl-item.next .tl-body b { color: var(--muted); font-weight: 500; }
.tl-tag { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--dim); }
.tl-item.done .tl-tag { background: var(--accent-50); color: var(--accent-ink); }
.tl-item.now .tl-tag { background: var(--primary-50); color: var(--primary); }
.status-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }


/* ---------- Dunkles Design (System-Einstellung oder Schalter) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0f1e;
  --bg-soft: #0e1527;
  --bg-tint: #142045;
  --surface: #121a2f;
  --navy: #070b17;
  --navy-2: #121d3d;
  --ink: #eef2fb;
  --text: #c5cde0;
  --muted: #94a0bb;
  --dim: #6d7994;
  --line: #1f2a45;
  --line-strong: #2d3a5e;
  --line-hover: #42527d;
  --primary: #4d76ff;
  --primary-600: #3d66f2;
  --primary-50: rgba(77, 118, 255, .13);
  --primary-100: rgba(77, 118, 255, .26);
  --accent: #22c9ae;
  --accent-50: rgba(34, 201, 174, .13);
  --accent-ink: #66e3cd;
  --danger: #ff7b7b;
  --nav-bg: rgba(10, 15, 30, .82);
  --grad: linear-gradient(120deg, #5b82ff 0%, #6f93ff 45%, #2fd3b8 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px -2px rgba(0, 0, 0, .35);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -30px rgba(0, 0, 0, .75);
}
:root[data-theme="dark"] .band-dark { background: #0d1633; }
:root[data-theme="dark"] .q-item:hover { background: #18264f; }
:root[data-theme="dark"] .hero::after { opacity: .35; }
:root[data-theme="dark"] .project-visual::after { opacity: .3; }
:root[data-theme="dark"] .phone-mini { background: #000; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease !important;
}

/* Schalter Hell/Dunkel */
.nav-links li.theme-li { display: none; align-items: center; justify-content: space-between; padding: 14px 4px 4px; color: var(--text); font-size: 1.05rem; }
.theme-toggle {
  position: relative; flex: none; width: 58px; height: 32px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--bg-soft); color: var(--muted);
}
.theme-toggle .icon { position: absolute; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; transition: opacity .3s; }
.theme-toggle .i-sun { left: 8px; } .theme-toggle .i-moon { right: 8px; }
.theme-toggle .knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(11, 23, 54, .25); transition: transform .35s var(--ease), background .35s;
  display: grid; place-items: center; color: var(--warm);
}
.theme-toggle .knob .icon { position: static; margin: 0; width: 14px; height: 14px; }
.theme-toggle .knob .i-moon { display: none; }
.theme-toggle[aria-checked="true"] .knob { transform: translateX(26px); background: var(--primary); color: #fff; }
.theme-toggle[aria-checked="true"] .knob .i-sun { display: none; }
.theme-toggle[aria-checked="true"] .knob .i-moon { display: block; }
.theme-toggle:hover { border-color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-inner { flex-wrap: wrap; height: auto; min-height: 76px; }
  .nav-inner nav { order: 3; width: 100%; }
  .nav.open .nav-links { display: flex; flex-direction: column; padding: 4px 0 16px; }
  .nav.open .nav-links a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.open .nav-links a::after { display: none; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 620px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .audiences { grid-template-columns: repeat(2, 1fr); }
  .audience:nth-child(3) { padding-left: 0; border-left: 0; }
  .quality-wrap { grid-template-columns: 1fr; gap: 40px; }
  .project, .project.lg { grid-column: span 6; }
  .about { grid-template-columns: 1fr; gap: 64px; }
  .contact, .login-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-split { grid-template-columns: 1fr; gap: 18px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-item:nth-child(3) { border-left: 0; }
  .fact-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .topbar .container > span { display: none; }
  .topbar .container { justify-content: center; }
  .nav .nav-cta { display: none; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .highlight-row { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .custom-offer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container.narrow { width: calc(100% - 36px); }
  .services, .audiences, .quality, .facts { grid-template-columns: 1fr; }
  .audience, .audience + .audience { padding: 24px 0 4px; border-left: 0; }
  .audience + .audience { border-top: 1px solid var(--line); }
  .products .project, .products .project.lg { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact-item { padding: 22px 20px; }
  .float-card, .phone-mini { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .highlight-row .card { flex-direction: column; }
  .person-card { flex-direction: column; align-items: flex-start; }
  .logo span { font-size: .86rem; white-space: normal; max-width: 124px; }
  .logo { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-inner { gap: 12px; min-height: 66px; }
  .nav-right { gap: 8px; }
  .nav-right .theme-toggle { display: none; }
  .nav.open .nav-links li.theme-li { display: flex; }
  .topbar-links { gap: 14px; }
  .topbar-links a:nth-child(2) { display: none; }
}

@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; }
  .chart span { transform: none; }
}

.person-card .brand-note { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }

.lang button { border: 0; background: none; cursor: pointer; font-family: inherit; line-height: inherit; }
main { overflow-x: clip; }

/* ---------- Ladeanimation: Drache wird gezeichnet, glüht auf, speit Feuer ---------- */
.loader {
  --dg-h: url(#dg-hd); --dg-a: url(#dg-ad); --dg-b: #3b55b8; --dg-r: #070b18; --dg-eye: #7ff0dc; --dg-pupil: #04060e;
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: #e9efff;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #142252 0%, #080d1f 58%, #04060e 100%);
  clip-path: circle(150% at 50% 42%);
  animation: ldAuto .8s ease 7s forwards;
}
.loader::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(127, 160, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 160, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 50% 45% at 50% 42%, #000, transparent 75%); animation: ldFade 1.2s ease both; }
html.no-intro .loader { display: none; }
html:not(.no-intro) body { overflow: hidden; }
.loader.done { clip-path: circle(0% at 50% 42%); transition: clip-path .9s cubic-bezier(.7, 0, .3, 1); }
.loader.done .loader-in { transform: scale(1.12); opacity: 0; transition: transform .9s cubic-bezier(.7, 0, .3, 1), opacity .5s ease .25s; }
@keyframes ldAuto { to { opacity: 0; visibility: hidden; } }
.loader-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.loader-glow { position: absolute; left: 50%; top: 115px; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(59, 108, 255, .32), rgba(15, 179, 155, .12) 45%, transparent 70%);
  opacity: 0; animation: ldGlowIn 1.4s ease .2s forwards, ldGlowFire 1.4s ease-out 2.35s; }
.loader-dragon { position: relative; width: 230px; height: 230px; overflow: visible; margin-left: -70px; }
.loader-dragon path, .loader-dragon circle, .loader-dragon g { transform-box: fill-box; }

/* 1) Umriss zeichnen (0–1.3 s), 2) füllen (ab 1.2 s) */
.ld-part { stroke: #7ff0dc; stroke-width: .45; stroke-linejoin: round; fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ldDraw 1.15s cubic-bezier(.45, 0, .2, 1) var(--dl, 0s) forwards, ldFill .7s ease calc(1.2s + var(--dl, 0s) * .4) forwards; }
.ld-head { --dl: 0s; } .ld-belly { --dl: .15s; }
.ld-horn.h1 { --dl: .22s; } .ld-horn.h2 { --dl: .3s; } .ld-horn.h3 { --dl: .38s; }
.ld-spike.s1 { --dl: .3s; } .ld-spike.s2 { --dl: .38s; } .ld-spike.s3 { --dl: .46s; } .ld-spike.s4 { --dl: .54s; }
.ld-cheek, .ld-brow, .ld-mouth { --dl: .45s; } .ld-fang, .ld-nostril, .ld-pupil { --dl: .55s; }
.loader .ld-fang { fill: #e9efff !important; }
.ld-body { filter: drop-shadow(0 0 5px rgba(127, 240, 220, .55)); transform-origin: 12% 96%;
  animation: ldBodyGlow 1s ease 1.3s forwards, ldRear 1.6s cubic-bezier(.45, 0, .2, 1) 1.9s both; }
/* 3) Auge glüht auf */
.ld-eye { animation: ldDraw 1.15s cubic-bezier(.45, 0, .2, 1) .5s forwards, ldIgnite .7s steps(1, end) 1.65s forwards; }
.ld-eye { filter: drop-shadow(0 0 1.5px #7ff0dc) drop-shadow(0 0 4px #7ff0dc); }
/* 4) Feuer */
.ld-fire { transform-origin: 0% 50%; transform: scaleX(0); opacity: 0; animation: ldFire 1.5s cubic-bezier(.2, .8, .2, 1) 2.35s forwards; }
.fl { fill: url(#ld-fire); transform-origin: 0% 50%; filter: drop-shadow(0 0 3px rgba(127, 240, 220, .9)); animation: ldFlick .14s ease-in-out 2.35s infinite alternate; }
.fl.f2 { animation-duration: .11s; } .fl.f3 { fill: #fff; opacity: .9; animation-duration: .09s; }
.ld-ember { fill: #ffd27a; opacity: 0; filter: drop-shadow(0 0 1.5px #ffb547); animation: ldEmber 1.2s ease-out 2.5s forwards; }
.ld-ember.e1 { fill: #7ff0dc; animation-delay: 2.62s; --ex: 12px; --ey: -7px; } .ld-ember.e2 { animation-delay: 2.74s; --ex: 14px; --ey: 5px; }
.ld-ember.e3 { fill: #7ff0dc; animation-delay: 2.86s; --ex: 10px; --ey: 3px; } .ld-ember.e4 { animation-delay: 2.98s; --ex: 13px; --ey: -3px; }
/* Schriftzug & Fortschritt */
.loader-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .5em; text-transform: uppercase; color: #c9d6ff; opacity: 0;
  animation: ldName 1.1s cubic-bezier(.22, 1, .36, 1) 2.45s forwards; white-space: nowrap; }
.loader-name b { font-weight: 800; background: linear-gradient(90deg, #8aa4ff, #7ff0dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader-bar { position: relative; width: 220px; height: 2px; border-radius: 2px; background: rgba(201, 214, 255, .14); overflow: hidden; animation: ldFade .6s ease .3s both; }
.loader-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #3b6cff, #7ff0dc);
  box-shadow: 0 0 10px #7ff0dc; animation: ldProgress 3.7s cubic-bezier(.65, 0, .35, 1) .2s forwards; }

@keyframes ldDraw { to { stroke-dashoffset: 0; } }
@keyframes ldFill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes ldBodyGlow { to { filter: drop-shadow(0 0 10px rgba(59, 108, 255, .45)); } }
@keyframes ldIgnite { 0% { fill-opacity: 1; } 15% { fill-opacity: .2; } 30% { fill-opacity: 1; } 45% { fill-opacity: .4; } 60%, 100% { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes ldRear {
  0% { transform: none; }
  28% { transform: rotate(-7deg) translate(-2px, -1px); }            /* holt Luft */
  40% { transform: rotate(5deg) translate(2px, 0); }                  /* speit */
  46% { transform: rotate(4deg) translate(1.4px, .4px); }
  52% { transform: rotate(5.4deg) translate(2.2px, -.3px); }
  58% { transform: rotate(4.4deg) translate(1.6px, .3px); }
  100% { transform: rotate(2deg) translate(.6px, 0); }
}
@keyframes ldFire { 0% { transform: scaleX(0) scaleY(.4); opacity: 0; } 12% { opacity: 1; } 45% { transform: scaleX(1.05) scaleY(1); opacity: 1; } 75% { opacity: .9; } 100% { transform: scaleX(1.12) scaleY(1.06); opacity: 0; } }
@keyframes ldFlick { from { transform: scaleY(.9) scaleX(.97); } to { transform: scaleY(1.08) scaleX(1.03); } }
@keyframes ldEmber { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--ex, 12px), var(--ey, -4px)); } }
@keyframes ldGlowIn { to { opacity: .8; } }
@keyframes ldGlowFire { 0% { transform: scale(1); } 30% { transform: scale(1.35); filter: brightness(1.6) hue-rotate(-20deg); } 100% { transform: scale(1); } }
@keyframes ldName { from { opacity: 0; letter-spacing: .5em; filter: blur(6px); } to { opacity: 1; letter-spacing: .14em; filter: none; } }
@keyframes ldProgress { to { transform: scaleX(1); } }
@keyframes ldFade { from { opacity: 0; } }
