/* it-denk.de – helles Design im Stil von Apple: viel Weißraum, große ruhige Schrift, Kacheln,
   Liquid Glass (durchscheinend, Lichtkante; in Chromium echte Lichtbrechung über main.js).
   Erzählende Scroll-Animationen: Tropfen im Hero, Ordnung aus Chaos, Ablauf der KI, Webseite setzt
   sich zusammen, Netzwerk zeichnet sich. Bewegung aus bei prefers-reduced-motion. */

@font-face { font-family: "Inter"; src: url("fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, .09);
  --accent: #047857;
  --accent-2: #059669;
  --mint: #34d399;
  --mint-soft: #d1fae5;
  --radius: 28px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --glass: rgba(255, 255, 255, .5);
  --glass-strong: rgba(255, 255, 255, .72);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.47 "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -.028em; line-height: 1.07; }
p { margin: 0 0 1em; }
::selection { background: var(--mint-soft); }
:focus-visible { outline: 3px solid rgba(5, 150, 105, .45); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 16px; }
.sr-filters { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1080px, 100% - 48px); margin-inline: auto; }
.wide { width: min(1320px, 100% - 24px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Liquid Glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
          backdrop-filter: blur(24px) saturate(190%);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 -1px 1px rgba(255,255,255,.35),
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 1px 2px rgba(0,0,0,.04),
    0 10px 36px -8px rgba(0,0,0,.14);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(150deg, #fff, rgba(255,255,255,.15) 30%, rgba(255,255,255,0) 60%, rgba(255,255,255,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.7), transparent 60%);
  mix-blend-mode: soft-light;
}
.glass.spot:hover::after { opacity: 1; }
.lg.lg-on { background: rgba(255,255,255,.3); }

/* ---------- Navigation: schwebende Glasleiste ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 8px; width: min(900px, 100%); height: 56px; padding: 0 8px 0 16px;
  border-radius: 999px; background: var(--glass-strong); transition: width .7s var(--out);
}
.nav-wrap.scrolled .nav { width: min(840px, 100%); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.brand-name span { color: var(--accent-2); }
.nav-links { position: relative; display: flex; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { position: relative; z-index: 1; display: block; padding: 8px 15px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color .25s; }
.nav-links a:hover { text-decoration: none; color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
/* Gleitende Glaslinse unter dem Menüpunkt, wie die Auswahl in einer iOS-Leiste */
.nav-lens {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; z-index: 0; pointer-events: none; opacity: 0;
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 1px 1px #fff, inset 0 0 0 1px rgba(0,0,0,.035), 0 2px 10px rgba(0,0,0,.08);
  transition: transform .55s var(--spring), width .55s var(--spring), opacity .3s;
}
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--out); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons und Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: transform .5s var(--spring), background .25s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent-2); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 14px -4px rgba(5,150,105,.55); }
.btn-primary:hover { background: var(--accent); }
.btn-glass { color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.more { font-size: 17px; font-weight: 500; white-space: nowrap; }
.more::after { content: " ›"; display: inline-block; transition: transform .3s var(--out); }
.more:hover::after { transform: translateX(3px); }
.links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; align-items: center; }

/* ---------- Typografie ---------- */
.eyebrow { display: block; font-size: 17px; font-weight: 600; color: var(--accent-2); margin-bottom: 10px; letter-spacing: -.01em; }
.display { font-size: clamp(48px, 8.6vw, 104px); font-weight: 700; letter-spacing: -.047em; line-height: 1.0; }
.h2 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -.04em; line-height: 1.05; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; color: var(--ink-2); letter-spacing: -.016em; font-weight: 450; }
.sub { color: var(--muted); }
.grad { background: linear-gradient(95deg, #047857 0%, #059669 30%, #0e7490 65%, #6d28d9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; max-width: 720px; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Farbiger Hintergrund unter dem Glas ---------- */
.wallpaper { position: relative; overflow: hidden; border-radius: 36px; isolation: isolate; background: linear-gradient(135deg, #e8fff5 0%, #d7f5ff 45%, #efe9ff 100%); }
.wallpaper .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; will-change: transform; z-index: -1; }
.wallpaper .b1 { width: 60%; height: 80%; left: -10%; top: -20%; background: radial-gradient(circle, #6ee7b7, transparent 68%); animation: blob1 22s ease-in-out infinite alternate; }
.wallpaper .b2 { width: 55%; height: 75%; right: -12%; top: -10%; background: radial-gradient(circle, #7dd3fc, transparent 68%); animation: blob2 26s ease-in-out infinite alternate; }
.wallpaper .b3 { width: 50%; height: 70%; left: 25%; bottom: -35%; background: radial-gradient(circle, #c4b5fd, transparent 68%); animation: blob3 24s ease-in-out infinite alternate; }
.wallpaper .b4 { width: 35%; height: 50%; right: 8%; bottom: -10%; background: radial-gradient(circle, #a7f3d0, transparent 68%); animation: blob1 30s ease-in-out infinite alternate-reverse; }
@keyframes blob1 { to { transform: translate(22%, 18%) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-25%, 22%) scale(.9); } }
@keyframes blob3 { to { transform: translate(-18%, -28%) scale(1.2); } }
.wallpaper .lines { position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,.6) 38px 40px); }

/* ---------- Startseite: Hero mit Glastropfen ---------- */
.hero { padding: 84px 12px 0; }
.hero-stage { position: relative; height: calc(100svh - 96px); min-height: 600px; max-height: 920px; display: grid; place-items: center; text-align: center; cursor: default; }
.hero-copy { position: relative; z-index: 3; padding: 0 24px; max-width: 980px; }
.hero-copy .lead { max-width: 620px; margin: 24px auto 34px; }
.hero-word { display: inline-block; }
.hint { position: absolute; bottom: 22px; left: 0; right: 0; margin: auto; width: max-content; max-width: calc(100% - 32px); padding: 7px 15px; border-radius: 999px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-2); z-index: 3; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.hint:empty { display: none; }

/* ---------- Startseite: Ordnung aus Chaos ---------- */
.sorter { position: relative; height: 340vh; }
.sorter-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding-top: 104px; }
.sorter-head { text-align: center; position: relative; height: 130px; }
.sorter-head h2 { position: absolute; left: 0; right: 0; transition: opacity .5s, transform .7s var(--out); }
.sorter-head .h-after { opacity: 0; transform: translateY(20px); }
.sorter.after .h-before { opacity: 0; transform: translateY(-20px); }
.sorter.after .h-after { opacity: 1; transform: none; }
.sorter-head p { position: absolute; left: 0; right: 0; top: 78px; color: var(--muted); font-size: 19px; transition: opacity .5s; }
.sorter-head .p-after { opacity: 0; } .sorter.after .p-before { opacity: 0; } .sorter.after .p-after { opacity: 1; }

/* ---------- Text, der sich beim Scrollen füllt ---------- */
.scrub { font-size: clamp(30px, 4.4vw, 54px); font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.js .scrub .sw { color: #d2d2d7; transition: color .35s var(--ease); }
.js .scrub .sw.on { color: var(--ink); }
.js .scrub .sw.on.hl { color: var(--accent-2); }

/* ---------- Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px) 0;
  text-align: center; min-height: 580px; display: flex; flex-direction: column; align-items: center; color: var(--ink);
  transition: transform .8s var(--out), box-shadow .8s var(--out);
}
.tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.22); }
.tile.span2 { grid-column: span 2; }
.tile h3 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -.035em; }
.tile p { font-size: 19px; color: var(--ink-2); margin: 10px 0 14px; max-width: 480px; }
.tile .art { margin-top: auto; width: 100%; display: grid; place-items: end center; padding-top: 30px; }
.tile.dark { background: #0b0d0c; }
.tile.dark h3 { color: #f5f5f7; } .tile.dark p { color: #a1a1a6; } .tile.dark .more { color: #6ee7b7; }
.tile.wall { background: transparent; }
.tile.wall .wallpaper { position: absolute; inset: 0; border-radius: 0; z-index: -1; }

.art-ki { position: relative; width: min(460px, 100%); height: 320px; }
.orb { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%;
  background: conic-gradient(from var(--a, 0deg), #34d399, #22d3ee, #818cf8, #c084fc, #34d399); filter: blur(30px); opacity: .9; animation: spin 9s linear infinite; }
.orb-core { position: absolute; left: 50%; top: 50%; width: 156px; height: 156px; margin: -78px 0 0 -78px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 36px; letter-spacing: -.04em; color: #f5f5f7; }
.tile.dark .orb-core { background: rgba(255,255,255,.08); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.15); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.tile.dark .chip { position: absolute; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: #e5e5ea; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 1px rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.art-it { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px; padding-bottom: 60px; }
.app-ic { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .6s var(--spring); }
.app-ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .app-ic { transform: translateY(-6px); }
.tile:hover .app-ic:nth-child(2n) { transform: translateY(-12px) rotate(-4deg); }
.ic-1 { background: linear-gradient(180deg, #4ade80, #16a34a); } .ic-2 { background: linear-gradient(180deg, #38bdf8, #0369a1); }
.ic-3 { background: linear-gradient(180deg, #a78bfa, #6d28d9); } .ic-4 { background: linear-gradient(180deg, #fbbf24, #d97706); }
.ic-5 { background: linear-gradient(180deg, #f87171, #dc2626); } .ic-6 { background: linear-gradient(180deg, #6b7280, #1f2937); }

/* ---------- Geräte ---------- */
.devices { position: relative; width: min(760px, 100%); margin: 0 auto; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 18px 18px 6px 6px; background: #0b0b0c; padding: 2.2% 2.2% 2.8%; box-shadow: 0 0 0 1.5px #c7c7cc, 0 30px 60px -30px rgba(0,0,0,.4); }
.laptop-base { position: relative; height: 16px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #e3e3e6, #b8b8bd); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; margin-left: -8%; border-radius: 0 0 8px 8px; background: #a1a1a6; }
.screen { width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: #fff; position: relative; }
.phone { position: absolute; right: -3%; bottom: -4%; width: 21%; min-width: 96px; aspect-ratio: 9 / 19.5; border-radius: 26px; background: #0b0b0c; padding: 5px; box-shadow: 0 0 0 1.5px #c7c7cc, 0 30px 60px -20px rgba(0,0,0,.45); }
.phone .screen { border-radius: 21px; }
.phone .island { position: absolute; top: 10px; left: 50%; width: 32%; height: 12px; margin-left: -16%; border-radius: 10px; background: #000; z-index: 2; }

.build { position: relative; height: 460vh; }
.build-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 90px 0 40px; overflow: hidden; }
.build .devices { width: min(760px, 100%, calc((100svh - 360px) * 1.5)); }
.build-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); width: min(680px, 100%); margin: 36px auto 0; padding: 0; list-style: none; }
.build-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; }
.build-steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 17px; font-weight: 700; color: var(--muted); background: #fff; box-shadow: 0 0 0 2px #d2d2d7; transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--spring); }
.build-steps span { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: #aeaeb2; transition: color .4s, transform .5s var(--spring); }
.build-steps li.fertig b { background: var(--accent-2); color: #fff; box-shadow: 0 0 0 2px var(--accent-2); }
.build-steps li.fertig span { color: var(--ink); }
.build-steps li.on b { background: linear-gradient(135deg, #34d399, #38bdf8 60%, #a78bfa); color: #fff; box-shadow: 0 0 0 6px rgba(52,211,153,.18), 0 10px 26px -8px rgba(56,189,248,.7); transform: scale(1.18); }
.build-steps li.on span { color: var(--ink); transform: scale(1.12); }
.build-steps .bs-track { position: absolute; z-index: 0; left: 12.5%; right: 12.5%; top: 21px; height: 3px; border-radius: 2px; background: #e5e5ea; overflow: hidden; }
.build-steps .bs-track i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--t, 0)); background: linear-gradient(90deg, #34d399, #38bdf8 60%, #a78bfa); }
.build-caption { display: grid; margin-top: 18px; min-height: 1.5em; }
.build-caption p { grid-area: 1 / 1; margin: 0; font-size: 19px; color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--spring); }
.build-caption p.on { opacity: 1; transform: none; }
@media (max-width: 680px) {
  .build .devices { width: min(100%, calc((100svh - 330px) * 1.5)); }
  .build-steps { margin-top: 26px; }
  .build-steps b { width: 36px; height: 36px; font-size: 15px; }
  .build-steps span { font-size: 15px; }
  .build-steps .bs-track { top: 17px; }
  .build-caption p { font-size: 16px; }
}

/* ---------- Merkmale ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.feature .fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; background: var(--mint-soft); color: var(--accent); }
.feature .fi svg, .info-list .fi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }
.features.cards .feature { background: #fff; border-radius: 24px; padding: 30px 28px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); transition: transform .6s var(--out), box-shadow .6s var(--out); }
.features.cards .feature:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 24px 40px -24px rgba(0,0,0,.25); }

/* ---------- Ablauf in Schritten ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: st; }
.steps li { position: relative; padding: 28px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); counter-increment: st; }
.section:not(.alt) .steps li { background: var(--bg-alt); box-shadow: none; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 18px; font-weight: 650; font-size: 15px; color: #fff; background: var(--ink); }
.steps h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- KI-Seite: Erzählung mit festem Bild ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.story-steps { padding: 16vh 0 24vh; }
.story-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s var(--ease); }
.story-step.active { opacity: 1; }
.story-step .num { font-size: 15px; font-weight: 600; color: var(--accent-2); margin-bottom: 10px; }
.story-step h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.035em; margin-bottom: 14px; }
.story-step p { color: var(--ink-2); font-size: 18px; max-width: 440px; }
.story-visual { position: sticky; top: 13vh; height: 74vh; min-height: 480px; }
.story-visual .wallpaper { height: 100%; display: grid; place-items: center; padding: 30px; }
.panel { width: min(420px, 100%); height: 360px; border-radius: 32px; position: relative; overflow: hidden; }
.layer { position: absolute; inset: 24px; opacity: 0; transform: translateY(16px) scale(.97); filter: blur(6px); transition: opacity .6s var(--out), transform .9s var(--spring), filter .6s; pointer-events: none; }
.panel[data-step="1"] .l1, .panel[data-step="2"] .l2, .panel[data-step="3"] .l3, .panel[data-step="4"] .l4 { opacity: 1; transform: none; filter: none; }
.layer h4 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.layer h4 .wi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; }
.layer h4 .wi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wi.green { background: linear-gradient(180deg, #34d399, #059669); } .wi.blue { background: linear-gradient(180deg, #38bdf8, #0284c7); }
.wi.violet { background: linear-gradient(180deg, #a78bfa, #7c3aed); } .wi.amber { background: linear-gradient(180deg, #fbbf24, #d97706); }
.layer h4 .meta { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 500; }
.mail { background: rgba(255,255,255,.75); border-radius: 18px; padding: 16px 18px; }
.mail b { display: block; font-size: 15px; } .mail span { font-size: 14px; color: var(--muted); }
.mail p { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.attach { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.04); font-size: 14px; font-weight: 500; }
.attach .pdf { width: 28px; height: 34px; border-radius: 5px; background: #ef4444; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.fields { margin: 0; display: grid; }
.fields div { display: grid; grid-template-columns: 100px 1fr; padding: 11px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 15px; }
.fields div:first-child { border-top: 0; }
.fields dt { color: var(--muted); } .fields dd { margin: 0; font-weight: 600; justify-self: start; }
.l2 .fields dd { background: linear-gradient(rgba(52,211,153,.4), rgba(52,211,153,.4)) no-repeat 0 100% / 0 38%; transition: background-size .9s var(--out); }
.panel[data-step="2"] .l2 .fields dd { background-size: 100% 38%; }
.panel[data-step="2"] .l2 .fields div:nth-child(2) dd { transition-delay: .2s; } .panel[data-step="2"] .l2 .fields div:nth-child(3) dd { transition-delay: .4s; } .panel[data-step="2"] .l2 .fields div:nth-child(4) dd { transition-delay: .6s; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.65); opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s var(--spring); }
.panel[data-step="3"] .checks li { opacity: 1; transform: none; }
.panel[data-step="3"] .checks li:nth-child(2) { transition-delay: .15s; } .panel[data-step="3"] .checks li:nth-child(3) { transition-delay: .3s; } .panel[data-step="3"] .checks li:nth-child(4) { transition-delay: .45s; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #10b981; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.checks li.ask::before { content: "?"; background: #f59e0b; }
.done { text-align: center; padding-top: 22px; }
.big-check { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #34d399, #059669); color: #fff; font-size: 42px; box-shadow: 0 12px 30px -10px rgba(5,150,105,.6); transform: scale(.5) rotate(-30deg); transition: transform .9s var(--spring) .1s; }
.panel[data-step="4"] .big-check { transform: none; }
.done b { display: block; font-size: 20px; letter-spacing: -.02em; }
.done span { color: var(--muted); font-size: 15px; }
.path { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.05); font-size: 13px; font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); }
.progress-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.progress-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(0,0,0,.18); transition: width .5s var(--spring), background .4s; }
.progress-dots i.on { width: 24px; background: var(--ink); }

/* ---------- Status-Karte (Hosting) ---------- */
.status-stage { display: grid; place-items: center; min-height: 480px; padding: clamp(28px, 6vw, 80px) 18px; }
.status-card { width: min(520px, 100%); padding: 26px 28px; border-radius: 32px; }
.status-card h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 15px; }
.status-row span { color: var(--muted); }
.status-row b { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-align: right; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.bars { display: flex; gap: 3px; margin: 14px 0 16px; }
.bars i { flex: 1; height: 30px; border-radius: 4px; background: linear-gradient(180deg, #34d399, #10b981); transform-origin: bottom; transform: scaleY(.12); transition: transform .9s var(--spring); transition-delay: calc(var(--i) * 22ms); }
.is-in .bars i { transform: none; }
.caption { margin: 14px 0 0; font-size: 13px; color: var(--faint); text-align: center; }

/* ---------- IT-Service: Netzwerk zeichnet sich ---------- */
.net { position: relative; width: min(860px, 100%); margin: 0 auto; aspect-ratio: 860 / 460; }
.net svg { width: 100%; height: 100%; overflow: visible; }
.net .wire { fill: none; stroke: url(#wireGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--w, 0)); }
.net .pulse-w { fill: none; stroke: #34d399; stroke-width: 4; stroke-linecap: round; stroke-dasharray: .05 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 4px #34d399); }
.net.live .pulse-w { opacity: 1; animation: flow 2.6s linear infinite; }
.net.live .pulse-w:nth-of-type(2n) { animation-delay: -1.3s; }
@keyframes flow { to { stroke-dashoffset: -.05; } }
.node { position: absolute; transform: translate(-50%, -50%) scale(calc(.4 + var(--n, 0) * .6)); opacity: var(--n, 0); display: grid; justify-items: center; gap: 8px; text-align: center; transition: transform .2s; }
.node .app-ic { width: 64px; height: 64px; border-radius: 18px; }
.node .app-ic svg { width: 30px; height: 30px; }
.node span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; background: var(--bg); padding: 2px 8px; border-radius: 8px; }
.node.hub .app-ic { width: 86px; height: 86px; border-radius: 24px; }
.node.hub .app-ic svg { width: 40px; height: 40px; }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.avatar { width: 160px; height: 160px; border-radius: 40px; display: grid; place-items: center; background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 20px 40px -18px rgba(5,150,105,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.avatar svg { width: 64%; }
.about p { color: var(--ink-2); font-size: 19px; }

/* ---------- Abschluss-Band ---------- */
.cta-band { text-align: center; }
.cta-band .lead { margin: 16px auto 30px; max-width: 560px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 26px; margin-bottom: 12px; }
.contact-info p { color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.info-list .fi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint-soft); color: var(--accent); flex: none; }
.form-card { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 50px -30px rgba(0,0,0,.25); }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); padding: 13px 15px; border-radius: 14px; background: var(--bg-alt);
  border: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(5,150,105,.14); }
.field ::placeholder { color: #a1a1a6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.form-status.is-ok { background: #ecfdf5; color: #065f46; }
.form-status.is-error { background: #fef2f2; color: #991b1b; }
.form-status a { color: inherit; text-decoration: underline; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-hero { padding: 150px 0 clamp(50px, 7vw, 90px); text-align: center; }
.page-hero .lead { max-width: 700px; margin: 22px auto 0; }
.page-hero .links { margin-top: 30px; }

/* ---------- Fuß ---------- */
.footer { background: var(--bg-alt); padding: 44px 0 34px; font-size: 13px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); }
.footer .claim { max-width: 320px; margin: 12px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 18px; }

.prose h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 150px 0 80px; }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--out), transform 1.2s var(--out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-in { opacity: 0; transform: translateY(24px); filter: blur(10px); animation: heroIn 1.3s var(--out) forwards; animation-delay: var(--d, 0ms); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 960px) {
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px; margin: 0; border-radius: 24px;
    background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 40px -12px rgba(0,0,0,.2);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center; pointer-events: none; transition: opacity .3s, transform .5s var(--out); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 17px; }
  .nav-lens { display: none; }
  .burger { display: block; }
  .nav .btn { display: none; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-visual { top: 76px; height: 52vh; min-height: 400px; z-index: 2; order: -1; }
  .story-steps { padding: 6vh 0 10vh; position: relative; z-index: 1; }
  .story-step { min-height: 52vh; }
  .contact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 32px); }
  .page-hero { padding-top: 120px; }
  .hero { padding-top: 78px; }
  .links { gap: 18px 26px; }
  .wallpaper { border-radius: 28px; }
  .tiles { grid-template-columns: 1fr; }
  .tile.span2 { grid-column: auto; }
  .tile { min-height: 520px; }
  .features, .steps, .row2 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .avatar { width: 120px; height: 120px; border-radius: 32px; }
  .phone { border-radius: 18px; padding: 4px; } .phone .screen { border-radius: 15px; }
  .story-visual { height: 48vh; min-height: 380px; }
  .story-visual .wallpaper { padding: 16px; }
  .panel { height: 330px; } .layer { inset: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .sorter-head { height: 150px; }
  .sorter-head p { top: 92px; font-size: 16px; padding: 0 16px; }
  .node .app-ic { width: 44px; height: 44px; border-radius: 13px; } .node .app-ic svg { width: 22px; height: 22px; }
  .node.hub .app-ic { width: 60px; height: 60px; border-radius: 17px; } .node.hub .app-ic svg { width: 28px; height: 28px; }
  .node span { font-size: 11px; padding: 1px 4px; }
  .node.hub span { display: none; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; filter: none; }
  .js .scrub .sw { color: var(--ink); }
}

/* Hilfsklassen für Abstände (keine Inline-Stile wegen CSP) */
.pt0 { padding-top: 0; }
.mt40 { margin-top: 40px; }
.mt60 { margin-top: 60px; }
.mx { margin-inline: auto; max-width: 680px; margin-top: 16px; }
.about h2 { margin-bottom: 18px; }
.quote { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin-top: 6px; }

/* IT-Service: Netzwerkplan steht fest, während er sich zeichnet */
.netscroll { position: relative; height: 230vh; }
.netscroll-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 80px 0 30px; overflow: hidden; }
.netscroll .net { width: min(820px, 100%, 110vh); }
.netscroll .h2 { font-size: clamp(30px, 4.4vw, 52px); }
@media (max-width: 960px) {
  .story-visual { background: #fff; padding-bottom: 12px; }
  .story-visual .caption { display: none; }
  .story-visual .wallpaper { height: 100%; }
}


/* ======================================================================
   Startseite: neuronaler Hintergrund, Tropfen, Wellen
   ====================================================================== */
.neuro { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-copy::before { content: ""; position: absolute; inset: -12% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.8), rgba(255,255,255,.42) 60%, rgba(255,255,255,0)); }
.hero .grad { background-size: 220% 100%; animation: schimmer 7s ease-in-out infinite alternate; }
@keyframes schimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ======================================================================
   Startseite: ein Bürotag
   ====================================================================== */
.sorter { height: 320vh; }
.day-stage { display: grid; justify-items: center; align-items: start; padding: 6px 16px 28px; min-height: 0; }
.day { width: min(560px, 100%); height: 100%; max-height: 600px; display: flex; flex-direction: column; padding: 16px; border-radius: 28px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 40px 80px -40px rgba(0,0,0,.3); }
.day-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 6px 12px; font-size: 15px; }
.day-top span { color: var(--muted); font-size: 13px; }
.day-list { position: relative; flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.slot { --t: 0; position: relative; flex: 1 1 0; min-height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 14px; overflow: hidden;
  background: color-mix(in srgb, #ecfdf5 calc(var(--t) * 100%), #f2f2f5); }
.slot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--t));
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.028) 0 10px, transparent 10px 20px); }
.slot::before { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.28), rgba(167,139,250,.22), transparent);
  transform: translateX(calc(-100% + var(--t) * 270%)); opacity: calc(var(--t) * (1 - var(--t)) * 4); }
.si { position: relative; z-index: 1; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e3e3e8; color: #6e6e73; transition: background .4s, color .4s; }
.si svg, .sk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slot.fertig .si { background: #d1fae5; color: #047857; }
.sl { position: relative; z-index: 1; flex: 1; min-width: 0; display: grid; }
.sl b { grid-area: 1 / 1; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s, transform .5s var(--out); }
.sl .nach { opacity: 0; transform: translateY(10px); color: #047857; }
.slot.fertig .vor { opacity: 0; transform: translateY(-10px); }
.slot.fertig .nach { opacity: 1; transform: none; }
.sk { position: relative; z-index: 1; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #059669; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .5s var(--spring); }
.sk svg { width: 13px; height: 13px; stroke-width: 3; }
.slot.fertig .sk { opacity: 1; transform: none; }
.slot.frei { align-items: center; background: linear-gradient(135deg, #a7f3d0, #bae6fd 55%, #ddd6fe); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.slot.frei::after, .slot.frei::before { display: none; }
.slot.frei .si { background: #059669; color: #fff; }
.slot.frei .sl { align-content: center; gap: 4px; }
.slot.frei .sl b { color: var(--ink); }
.sorter.after .slot.frei .vor { opacity: 0; transform: translateY(-10px); }
.sorter.after .slot.frei .nach { opacity: 1; transform: none; font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.02em; white-space: normal; }
.slot.frei .sub { grid-area: 2 / 1; font-size: 14.5px; color: var(--ink-2); opacity: 0; transition: opacity .5s .2s; }
.sorter.after .slot.frei .sub { opacity: 1; }
.ki-mark { position: absolute; left: 6px; top: 0; z-index: 3; height: 30px; min-width: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #10b981, #0ea5e9 60%, #8b5cf6);
  box-shadow: 0 0 0 5px rgba(16,185,129,.16), 0 10px 22px -6px rgba(14,165,233,.7);
  transform: translateY(calc(var(--y, 0px) - 50%)); opacity: 0; transition: transform .45s var(--out), opacity .3s; }
.ki-mark.on { opacity: 1; }
@media (max-width: 680px) {
  .day { padding: 12px; border-radius: 24px; }
  .slot { gap: 10px; padding: 0 10px; min-height: 36px; border-radius: 12px; }
  .si { width: 26px; height: 26px; border-radius: 8px; }
  .sl b { font-size: 14px; }
  .slot.frei .sub { font-size: 13px; }
}

/* ======================================================================
   Startseite: KI-Kachel, Aufgaben laufen durch die KI
   ====================================================================== */
.art-ki { width: min(700px, 100%); height: 330px; --r: 215px; }
.orb { width: 210px; height: 210px; margin: -105px 0 0 -105px; filter: blur(26px); animation: spin 5s linear infinite; }
.orb-ring { position: absolute; left: 50%; top: 50%; width: 250px; height: 250px; margin: -125px 0 0 -125px; border-radius: 50%; border: 1.5px dashed rgba(167,243,208,.28); animation: drehen 24s linear infinite; }
.orb-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 12px #6ee7b7; }
@keyframes drehen { to { transform: rotate(360deg); } }
.tile.dark .orb-core { animation: puls 2s ease-out infinite; animation-delay: -.16s; }
@keyframes puls {
  0% { transform: scale(1.09); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.15), 0 0 0 0 rgba(110,231,183,.55); }
  45%, 100% { transform: scale(1); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.15), 0 0 0 34px rgba(110,231,183,0); }
}
.art-ki .chip { --ax: calc(var(--r) * -1); --bx: var(--r); }
.tile .art-ki .chip { left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 7px;
  animation: kiRein 8s infinite; animation-delay: calc(var(--i) * -2s); }
.art-ki .chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.art-ki .chip.in { transform: translate(calc(-50% + var(--ax)), calc(-50% + var(--ay))); }
.art-ki .chip.out { animation-name: kiRaus; color: #a7f3d0; background: rgba(16,185,129,.16); box-shadow: inset 0 1px 1px rgba(255,255,255,.2), inset 0 0 0 1px rgba(110,231,183,.35);
  transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))); }
.art-ki .chip.out svg { stroke-width: 2.8; }
.art-ki .k0 { --i: 0; --ay: -105px; --by: 40px; } .art-ki .k1 { --i: 1; --ay: -35px; --by: -100px; }
.art-ki .k2 { --i: 2; --ay: 35px; --by: 105px; } .art-ki .k3 { --i: 3; --ay: 105px; --by: -30px; }
@keyframes kiRein {
  0% { opacity: 0; transform: translate(calc(-50% + var(--ax)), calc(-50% + var(--ay))) scale(.85); }
  8% { opacity: 1; transform: translate(calc(-50% + var(--ax)), calc(-50% + var(--ay))) scale(1); }
  34% { opacity: 1; transform: translate(calc(-50% + var(--ax) * .5), calc(-50% + var(--ay) * .5)) scale(.95); }
  48%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.25); }
}
@keyframes kiRaus {
  0%, 50% { opacity: 0; transform: translate(-50%, -50%) scale(.25); }
  60% { opacity: 1; transform: translate(calc(-50% + var(--bx) * .5), calc(-50% + var(--by) * .5)) scale(.95); }
  88% { opacity: 1; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1); }
}
@media (max-width: 680px) {
  .art-ki { height: 400px; --r: 158px; }
  .orb { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
  .orb-ring { width: 190px; height: 190px; margin: -95px 0 0 -95px; }
  .orb-core { width: 116px; height: 116px; margin: -58px 0 0 -58px; font-size: 28px; }
  .tile.dark .chip { font-size: 13px; padding: 8px 12px; }
  .art-ki .chip { --ay: calc(var(--r) * -1); --by: var(--r); }
  .art-ki .k0 { --ax: -40px; --bx: 30px; } .art-ki .k1 { --ax: 35px; --bx: -35px; }
  .art-ki .k2 { --ax: -25px; --bx: 0px; } .art-ki .k3 { --ax: 15px; --bx: -25px; }
}

/* ======================================================================
   Musterseite in Laptop und Telefon. --p kommt aus main.js (fehlt es, ist alles fertig).
   ====================================================================== */
.devices {
  --k2: clamp(0, calc((var(--p, 1) - .25) * 5), 1);
  --k3: clamp(0, calc((var(--p, 1) - .5) * 4.5), 1);
  --k4: clamp(0, calc((var(--p, 1) - .8) * 6), 1);
}
.laptop-screen, .phone { box-shadow: 0 0 0 1.5px #c7c7cc, 0 30px 60px -30px rgba(0,0,0,.4), 0 0 calc(var(--k4) * 80px) calc(var(--k4) * 4px) rgb(52 211 153 / calc(var(--k4) * .45)); }
.screen { container-type: inline-size; display: flex; flex-direction: column; text-align: left; }
.m-bar { flex: none; display: flex; align-items: center; gap: 2cqw; padding: 1cqw 1.6cqw; background: #f5f5f7; border-bottom: 1px solid #e8e8ed; }
.m-dots { display: flex; gap: .7cqw; }
.m-dots i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: color-mix(in srgb, #ff5f57 calc(var(--k4) * 100%), #d2d2d7); }
.m-dots i:nth-child(2) { background: color-mix(in srgb, #febc2e calc(var(--k4) * 100%), #d2d2d7); }
.m-dots i:nth-child(3) { background: color-mix(in srgb, #28c840 calc(var(--k4) * 100%), #d2d2d7); }
.m-url { flex: 1; max-width: 44cqw; margin: 0 auto; display: grid; justify-items: center; padding: .5cqw; border-radius: 1cqw; background: #fff; font-size: 1.35cqw; }
.u-draft, .u-live { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .5cqw; }
.u-draft { color: #aeaeb2; opacity: calc(1 - var(--k4)); }
.u-live { color: #047857; font-weight: 600; opacity: var(--k4); }
.u-live svg { width: 1.4cqw; height: 1.4cqw; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-page { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2.6cqw; padding: 2.6cqw 4cqw 3cqw; isolation: isolate; }
.m-page::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: calc(1 - var(--k2)); background-color: #f0f9ff;
  background-image: linear-gradient(rgba(14,116,144,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(14,116,144,.1) 1px, transparent 1px); background-size: 2.5cqw 2.5cqw; }
/* Bauplan: Kästen erscheinen nacheinander, gestrichelt, mit Beschriftung */
.w { --kw: clamp(0, calc((var(--p, 1) - var(--s, 0)) * 9), 1); position: relative; opacity: var(--kw); transform: scale(calc(.92 + var(--kw) * .08));
  outline: 2px dashed rgb(14 116 144 / calc((1 - var(--k2)) * .75)); outline-offset: .4cqw; }
.w::after { content: attr(data-bau); position: absolute; left: 1cqw; top: -1.3cqw; z-index: 4; padding: .25cqw .9cqw; border-radius: 99px; font-size: 1.25cqw; font-weight: 600; line-height: 1.3;
  color: #fff; background: #0e7490; opacity: calc(1 - var(--k2)); pointer-events: none; }
.m-nav { --s: .02; } .m-hero { --s: .07; } .m-img { --s: .12; } .m-cards { --s: .16; }
.m-img::after { top: 1cqw; }
/* Text: erst graue Balken, dann „tippt“ sich der echte Text hinein */
.tx { --kt: clamp(0, calc((var(--p, 1) - .5 - var(--o, 0)) * 7), 1); position: relative; display: inline-block; color: rgb(29 29 31 / var(--kt)); }
.tx::after { content: ""; position: absolute; inset: .18em 0; border-radius: .3em; background: #d4d4d9; transform-origin: right; transform: scaleX(calc(1 - var(--kt))); }
.m-nav { display: flex; align-items: center; justify-content: space-between; padding: .6cqw .8cqw; }
.m-logo { display: flex; align-items: center; gap: 1cqw; font-size: 1.8cqw; font-weight: 700; }
.m-logo i { width: 2.6cqw; height: 2.6cqw; border-radius: calc(.4cqw + var(--k2) * .5cqw); background: color-mix(in srgb, #059669 calc(var(--k2) * 100%), #c7c7cc); }
.m-links { display: flex; gap: 2.6cqw; font-size: 1.5cqw; font-weight: 500; }
.m-links .tx { --o: .01; }
.m-burger { display: none; }
.m-hero { flex: 1.4; min-height: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3cqw; align-items: center; padding: 2.6cqw 3cqw; border-radius: calc(.6cqw + var(--k2) * 1.6cqw); isolation: isolate; }
.m-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: var(--k2); background: linear-gradient(120deg, #d1fae5, #e0f2fe 55%, #ede9fe); }
.m-copy { display: grid; gap: 1.3cqw; justify-items: start; }
.t-h { --o: .02; font-size: 3.7cqw; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.t-p { --o: .05; font-size: 1.55cqw; color: rgb(110 110 115 / var(--kt)); }
.m-btn { padding: .9cqw 2cqw; border-radius: 99px; font-size: 1.45cqw; font-weight: 600; background: color-mix(in srgb, #059669 calc(var(--k2) * 100%), #d2d2d7);
  box-shadow: 0 .6cqw 1.6cqw -.6cqw rgb(5 150 105 / calc(var(--k2) * .8)); }
.m-btn .tx { --o: .08; color: rgb(255 255 255 / var(--kt)); }
.m-btn .tx::after { background: rgba(255,255,255,.55); }
.m-img { align-self: stretch; min-height: 12cqw; border-radius: calc(.6cqw + var(--k2) * 1.2cqw); overflow: hidden; background: color-mix(in srgb, #bae6fd calc(var(--k2) * 100%), #e5e5ea); }
.m-img svg { display: block; width: 100%; height: 100%; opacity: var(--k3); transform: scale(calc(1.2 - var(--k3) * .2)); }
.m-cards { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.m-card { display: grid; align-content: start; justify-items: start; gap: .6cqw; padding: 1.6cqw; border-radius: calc(.4cqw + var(--k2) * 1cqw);
  background: color-mix(in srgb, #fff calc(var(--k2) * 100%), #ececf0); box-shadow: 0 .6cqw 1.8cqw rgb(0 0 0 / calc(var(--k2) * .08)), 0 0 0 1px rgb(0 0 0 / calc(var(--k2) * .05)); }
.m-ic { width: 3.2cqw; height: 3.2cqw; border-radius: 1cqw; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #34d399, #059669);
  opacity: var(--k3); transform: scale(calc(.4 + var(--k3) * .6)); }
.m-card:nth-child(2) .m-ic { background: linear-gradient(180deg, #38bdf8, #0284c7); }
.m-card:nth-child(3) .m-ic { background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.m-ic svg { width: 1.9cqw; height: 1.9cqw; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-card b.tx { font-size: 1.55cqw; font-weight: 700; --o: .1; }
.t-s { font-size: 1.25cqw; color: rgb(110 110 115 / var(--kt)); --o: .12; }
.m-card:nth-child(2) b.tx { --o: .13; } .m-card:nth-child(2) .t-s { --o: .15; }
.m-card:nth-child(3) b.tx { --o: .16; } .m-card:nth-child(3) .t-s { --o: .18; }
/* Online: Adresse mit Schloss, Abzeichen, grünes Leuchten */
.m-online { position: absolute; right: 1.6cqw; top: .45cqw; z-index: 5; display: inline-flex; align-items: center; gap: .8cqw; padding: .7cqw 1.6cqw; border-radius: 99px;
  font-size: 1.45cqw; font-weight: 700; color: #047857; background: #ecfdf5; box-shadow: 0 0 0 1px rgba(5,150,105,.25), 0 1cqw 3cqw -1cqw rgba(5,150,105,.6);
  opacity: var(--k4); transform: scale(calc(.5 + var(--k4) * .5)); }
.m-online i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #10b981; animation: pulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
/* Telefon */
.phone .m-bar { padding: 12cqw 4cqw 2.5cqw; }
.phone .m-dots { display: none; }
.phone .m-url { max-width: none; font-size: 5cqw; padding: 1.5cqw; border-radius: 3cqw; }
.phone .u-live svg { width: 5cqw; height: 5cqw; }
.phone .m-page { gap: 5cqw; padding: 5cqw; }
.phone .m-nav { padding: 1.5cqw; }
.phone .m-logo { font-size: 6.2cqw; gap: 2.5cqw; } .phone .m-logo i { width: 8cqw; height: 8cqw; border-radius: calc(1.5cqw + var(--k2) * 1.5cqw); }
.phone .m-links { display: none; }
.phone .m-burger { display: block; width: 7cqw; height: 5cqw; border-block: 1.6cqw solid color-mix(in srgb, #1d1d1f calc(var(--k2) * 100%), #c7c7cc); }
.phone .m-hero { flex: none; grid-template-columns: 1fr; gap: 4cqw; padding: 6cqw 5cqw; border-radius: calc(2cqw + var(--k2) * 4cqw); }
.phone .m-copy { gap: 3cqw; }
.phone .t-h { font-size: 10cqw; } .phone .t-p { font-size: 5cqw; }
.phone .m-btn { font-size: 5cqw; padding: 2.5cqw 5cqw; }
.phone .m-img { min-height: 30cqw; border-radius: calc(2cqw + var(--k2) * 3cqw); }
.phone .m-cards { flex: none; grid-template-columns: 1fr; gap: 3.5cqw; }
.phone .m-card:nth-child(3) { display: none; }
.phone .m-card { grid-template-columns: auto 1fr; gap: 0 3cqw; align-items: center; padding: 4cqw; border-radius: calc(2cqw + var(--k2) * 2.5cqw); }
.phone .m-ic { grid-row: span 2; width: 10cqw; height: 10cqw; border-radius: 3cqw; } .phone .m-ic svg { width: 6cqw; height: 6cqw; }
.phone .m-card b.tx { font-size: 5.5cqw; } .phone .t-s { font-size: 4.5cqw; }
.phone .w::after { font-size: 4.5cqw; top: -4cqw; left: 3cqw; padding: .5cqw 2.5cqw; }
.phone .m-img::after { top: 3cqw; }
.phone .m-online { display: none; }
.phone .m-online i { width: 3cqw; height: 3cqw; }

/* ======================================================================
   KI-Seite auf dem Handy: Bild steht, der Text zum Schritt steht fest darunter
   ====================================================================== */
.story-cap { display: none; }
@media (max-width: 960px) {
  .story-visual { top: 70px; height: calc(100svh - 80px); min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #fff; padding-bottom: 0; }
  .story-visual .wallpaper { height: auto; min-height: 0; padding: 16px; }
  .panel { height: min(330px, 100%); }
  .story-cap { display: grid; padding: 16px 6px 14px; }
  .story-cap > div { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .55s var(--out); }
  .story-cap > div.active { opacity: 1; transform: none; }
  .story-cap .num { display: block; font-size: 14px; font-weight: 600; color: var(--accent-2); margin-bottom: 6px; }
  .story-cap h3 { font-size: 23px; letter-spacing: -.03em; margin-bottom: 6px; }
  .story-cap p { font-size: 15.5px; color: var(--ink-2); }
  .story-steps { padding: 0 0 12vh; }
  .story-step { visibility: hidden; min-height: 70vh; }
}


/* ======================================================================
   IT-Service: dunkle Bühne mit Netzkarte
   ====================================================================== */
.it-stage { position: relative; height: calc(100svh - 96px); min-height: 580px; max-height: 880px; border-radius: 36px; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center; color: #f5f5f7;
  background: radial-gradient(ellipse at 18% 8%, rgba(16,185,129,.32), transparent 52%), radial-gradient(ellipse at 88% 92%, rgba(139,92,246,.34), transparent 52%),
    radial-gradient(ellipse at 84% 12%, rgba(14,165,233,.26), transparent 46%), radial-gradient(ellipse at 10% 95%, rgba(236,72,153,.16), transparent 45%), #060a09; }
.it-stage .display { color: #f5f5f7; }
.it-stage .eyebrow { color: #6ee7b7; }
.it-stage .lead { color: #c7c7cc; max-width: 640px; margin: 24px auto 34px; }
.it-stage .more { color: #6ee7b7; }
.it-stage .grad { background-image: linear-gradient(95deg, #6ee7b7 0%, #38bdf8 45%, #c4b5fd 75%, #f9a8d4 100%); }
.it-stage .hero-copy::before { background: radial-gradient(closest-side, rgba(6,10,9,.85), rgba(6,10,9,.5) 60%, rgba(6,10,9,0)); }
.netzkarte { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.nk { fill: none; stroke: rgba(148,163,184,.2); stroke-width: 1.3; }
.pk { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 3.5 96.5; animation: paket 4s linear infinite; }
.pk.c0 { stroke: #34d399; filter: drop-shadow(0 0 5px #34d399); } .pk.c1 { stroke: #38bdf8; filter: drop-shadow(0 0 5px #38bdf8); } .pk.c2 { stroke: #c084fc; filter: drop-shadow(0 0 5px #c084fc); }
.pk.s0 { animation-duration: 3.2s; } .pk.s1 { animation-duration: 4.1s; animation-delay: -1s; } .pk.s2 { animation-duration: 5s; animation-delay: -2.3s; }
.pk.s3 { animation-duration: 3.7s; animation-delay: -.7s; } .pk.s4 { animation-duration: 4.6s; animation-delay: -3.1s; }
.pk.rv { animation-direction: reverse; }
@keyframes paket { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.nn .dot { fill: #e5e7eb; }
.nn .halo { fill: rgba(52,211,153,.22); transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
.nn.n1 .halo { fill: rgba(56,189,248,.22); animation-delay: -.8s; } .nn.n2 .halo { fill: rgba(192,132,252,.22); animation-delay: -1.6s; } .nn.n3 .halo { animation-delay: -2.4s; }
@keyframes halo { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.nl { fill: rgba(226,232,240,.55); font-size: 13px; font-weight: 600; letter-spacing: .03em; }

/* Laufband mit Technik */
.mq { display: grid; gap: 12px; padding: 44px 0 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 54s; }
.mq-set { display: flex; gap: 12px; padding-right: 12px; }
.mq-pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 19px; border-radius: 999px; background: #f5f5f7; font-weight: 600; font-size: 16px; white-space: nowrap; }
.mq-pill i { width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.mq-pill:nth-child(4n+2) i { background: #0ea5e9; } .mq-pill:nth-child(4n+3) i { background: #8b5cf6; } .mq-pill:nth-child(4n) i { background: #ec4899; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Schwerpunkte farbig */
#schwerpunkte .feature .fi { color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); }
#schwerpunkte .feature:nth-child(1) .fi { background: linear-gradient(180deg, #34d399, #059669); }
#schwerpunkte .feature:nth-child(2) .fi { background: linear-gradient(180deg, #f87171, #dc2626); }
#schwerpunkte .feature:nth-child(3) .fi { background: linear-gradient(180deg, #6b7280, #1f2937); }
#schwerpunkte .feature:nth-child(4) .fi { background: linear-gradient(180deg, #38bdf8, #0369a1); }
#schwerpunkte .feature:nth-child(5) .fi { background: linear-gradient(180deg, #fbbf24, #d97706); }
#schwerpunkte .feature:nth-child(6) .fi { background: linear-gradient(180deg, #a78bfa, #6d28d9); }

/* Terminal */
.term-sec { background: #0b0d0c; color: #f5f5f7; overflow: hidden; }
.term-sec .h2 { color: #f5f5f7; } .term-sec .lead { color: #a1a1a6; margin-top: 18px; } .term-sec .eyebrow { color: #6ee7b7; }
.term-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.term-tabs { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.term-tabs li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #a1a1a6; background: rgba(255,255,255,.06); transition: background .35s, color .35s, box-shadow .35s; }
.term-tabs li svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.term-tabs li.on { color: #6ee7b7; background: rgba(52,211,153,.14); box-shadow: inset 0 0 0 1px rgba(110,231,183,.35); }
.term { position: relative; border-radius: 20px; overflow: hidden; background: #0f1513;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 90px -20px rgba(52,211,153,.3); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin: 0 auto; padding-right: 50px; font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #8e8e93; }
.term-body { margin: 0; padding: 20px 22px; min-height: 320px; font: 14.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #d1d5db; white-space: pre; overflow: hidden; }
.term-body .pr { color: #6ee7b7; } .term-body .cmd { color: #fff; } .term-body .ok { color: #34d399; font-weight: 700; } .term-body .dim { color: #8e8e93; }
.term-body .cur { display: inline-block; width: .6em; height: 1.15em; margin-left: 1px; vertical-align: text-bottom; background: #6ee7b7; animation: blinken 1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }
@media (max-width: 960px) { .term-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 680px) {
  .it-stage { border-radius: 28px; min-height: 560px; }
  .nl { font-size: 15px; }
  .mq-pill { font-size: 14px; padding: 9px 15px; }
  .term-body { font-size: 12px; padding: 16px; min-height: 270px; }
}

/* ======================================================================
   Kontakt
   ====================================================================== */
.hero-stage.k-stage { height: min(68svh, 640px); min-height: 500px; }
.k-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.6), 0 14px 30px -14px rgba(0,0,0,.25);
  animation: kAuf .9s var(--out) both, schweben 6s ease-in-out infinite; }
.k-chip svg { width: 17px; height: 17px; fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-chip i { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 1.6s infinite; }
.kc1 { left: 6%; top: 15%; animation-delay: .5s, 0s; } .kc2 { right: 6%; top: 26%; animation-delay: .65s, -2s; } .kc3 { right: 9%; top: 56%; animation-delay: .8s, -4s; }
@keyframes kAuf { from { opacity: 0; transform: translateY(22px) scale(.9); } }
@keyframes schweben { 50% { translate: 0 -10px; } }
.flieger { position: absolute; left: 0; top: 0; z-index: 2; width: 46px; height: 46px; color: #059669; pointer-events: none;
  offset-path: path("M -90 430 C 200 120, 430 560, 680 260 S 1050 40, 1600 300"); offset-rotate: auto 45deg; animation: fliegen 11s linear infinite;
  filter: drop-shadow(0 8px 10px rgba(5,150,105,.35)); }
.flieger svg { width: 100%; height: 100%; fill: rgba(255,255,255,.85); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes fliegen { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.k-section { position: relative; z-index: 4; margin-top: -90px; padding-top: 0; }
.contact-info.k-dark { position: relative; overflow: hidden; isolation: isolate; padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: #0b0d0c; color: #f5f5f7;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.k-dark h2 { color: #f5f5f7; } .k-dark p { color: #a1a1a6; }
.k-glow { position: absolute; z-index: -1; right: -130px; top: -130px; width: 340px; height: 340px; border-radius: 50%; opacity: .55; filter: blur(50px);
  background: conic-gradient(from var(--a, 0deg), #34d399, #22d3ee, #818cf8, #c084fc, #34d399); animation: spin 8s linear infinite; }
.k-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 13px 18px; border-radius: 16px; font-size: 18px; font-weight: 700; color: #6ee7b7;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .3s; }
.k-mail:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.k-mail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-steps { list-style: none; counter-reset: k; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.k-steps li { counter-increment: k; display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; align-items: center; }
.k-steps li::before { content: counter(k); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #10b981, #0ea5e9 60%, #8b5cf6); box-shadow: 0 8px 18px -8px rgba(14,165,233,.8); }
.k-steps b { color: #f5f5f7; font-size: 16.5px; } .k-steps span { color: #a1a1a6; font-size: 15px; }
.k-section .form-card { border: 2px solid transparent; animation: spin 6s linear infinite;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--a, 0deg), #34d399, #22d3ee, #818cf8, #c084fc, #f472b6, #34d399) border-box;
  box-shadow: 0 30px 70px -30px rgba(14,165,233,.5), 0 20px 50px -30px rgba(0,0,0,.25); }
.btn.btn-senden, .btn.btn-senden:hover { position: relative; overflow: hidden; display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  background: linear-gradient(100deg, #059669, #0ea5e9 50%, #7c3aed) 0 0 / 200% 100%; transition: background-position .6s var(--out), transform .3s; }
.btn.btn-senden:hover { background-position: 100% 0; }
.btn-senden svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-senden::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: glanz 3.8s ease-in-out infinite; }
@keyframes glanz { 55%, 100% { transform: translateX(120%); } }
.gesendet .btn-senden svg { animation: abflug 1.1s var(--out) forwards; }
@keyframes abflug { 35% { transform: translate(-5px, 5px); } 100% { transform: translate(180px, -90px) rotate(12deg); opacity: 0; } }
@media (max-width: 680px) {
  .hero-stage.k-stage { min-height: 540px; }
  .kc2 { display: none; }
  .kc1, .kc3 { left: 0; right: 0; margin: auto; width: max-content; }
  .kc1 { top: auto; bottom: 100px; } .kc3 { top: auto; bottom: 48px; }
  .flieger { width: 38px; height: 38px; offset-path: path("M -60 400 C 90 170, 250 470, 420 210"); animation-duration: 7s; }
  .k-section { margin-top: -22px; }
}

/* Leiste über dunklen Flächen (main.js setzt .dunkel) */
.nav, .brand, .nav-links a, .burger span, .nav-lens { transition: background .35s, color .35s, box-shadow .35s, width .7s var(--out); }
.nav-lens { transition: transform .55s var(--spring), width .55s var(--spring), opacity .3s, background .35s; }
.nav-wrap.dunkel .nav, .nav-wrap.dunkel .nav.lg.lg-on { background: rgba(14,18,16,.74); box-shadow: inset 0 1px 1px rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.1), 0 10px 30px -12px rgba(0,0,0,.5); }
.nav-wrap.dunkel .brand { color: #f5f5f7; }
.nav-wrap.dunkel .brand-name span { color: #6ee7b7; }
.nav-wrap.dunkel .burger span { background: #f5f5f7; }
@media (min-width: 961px) {
  .nav-wrap.dunkel .nav-links a { color: rgba(245,245,247,.78); }
  .nav-wrap.dunkel .nav-links a:hover, .nav-wrap.dunkel .nav-links a[aria-current="page"] { color: #fff; }
  .nav-wrap.dunkel .nav-lens { background: rgba(255,255,255,.14); box-shadow: inset 0 1px 1px rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.08); }
}
