/* =========================================================
   AMDE – style.css
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 92px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;

  --bg: #000000;
  --bg-2: #060A14;
  --surface: #0A111F;
  --surface-2: #0F1828;
  --text: #FFFFFF;
  --muted: #9AA3B5;
  --line: rgba(255, 255, 255, .12);
  --accent: #2F6BFF;
  --accent-2: #8DB0FF;
  --on-accent: #FFFFFF;
  --danger: #8DB0FF;
  --glass: rgba(0, 0, 0, .72);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F3F6FC;
  --surface: #FFFFFF;
  --surface-2: #F7F9FD;
  --text: #000000;
  --muted: #5B6475;
  --line: rgba(0, 0, 0, .12);
  --accent: #1F4FE0;
  --accent-2: #5C8CFF;
  --on-accent: #FFFFFF;
  --danger: #1F4FE0;
  --glass: rgba(255, 255, 255, .82);
  --shadow: 0 40px 80px -40px rgba(10, 30, 90, .3);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

[data-i18n] { transition: opacity .22s ease; }
body.is-lang-switching [data-i18n] { opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Scroll-Fortschritt */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 300; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }

/* ---------- Buttons & Links ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-weight: 700; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--accent), var(--accent-2)); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: var(--on-accent); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--glow { box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--small { --h: 44px; padding: 0 20px; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn svg .fill { fill: currentColor; stroke: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, gap .3s var(--ease); }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.link:hover { border-color: var(--accent); gap: 12px; }
.link:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.header.is-scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__inner { height: calc(var(--header-h) - 14px); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .4s var(--ease); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; transition: filter .5s var(--ease), opacity .3s, height .4s var(--ease); }
.header.is-scrolled .brand__logo { height: 44px; }
.brand:hover .brand__logo { opacity: .8; }
html[data-theme="dark"] .brand__logo { filter: brightness(0) invert(1); }
.brand__logo--lg { height: 68px; max-width: 260px; }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600; color: var(--muted); transition: color .3s, background-color .3s; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active { background: var(--line); }
.nav__mobile-only { display: none; }

.header__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); transition: background-color .3s, color .3s; }
.lang__btn svg { width: 20px; height: 14px; border-radius: 3px; }
.lang__btn[data-lang="de"] svg { width: 16px; height: 16px; }
.lang__btn[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 10px -4px rgba(0,0,0,.4); }

.theme-toggle { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s; }
.theme-toggle:hover { background: var(--line); }
.theme-toggle svg { position: absolute; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .6s var(--ease), opacity .4s; }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
html[data-theme="dark"] .icon-moon, html[data-theme="light"] .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden; isolation: isolate; background: var(--bg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; display: block; opacity: 0; transition: opacity 1.8s var(--ease); touch-action: pan-y; }
body.is-loaded .hero__canvas { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 28%, transparent 62%),
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 24%, transparent 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 85%, transparent) 0%, transparent 20%);
}
.no-webgl .hero { background: radial-gradient(80% 60% at 72% 38%, color-mix(in srgb, var(--accent) 35%, var(--bg)), var(--bg) 70%); }

/* Technischer Rahmen */
.hero__frame { position: absolute; inset: calc(var(--header-h) + 14px) var(--gutter) 14px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .8s; }
body.is-loaded .hero__frame { opacity: 1; }
.hero__frame i { position: absolute; width: 18px; height: 18px; border: 0 solid color-mix(in srgb, var(--text) 40%, transparent); }
.hero__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hero__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hero__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hero__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(18px, 3vh, 30px); }
.hero__kicker::before { content: "["; color: var(--accent); }
.hero__kicker::after { content: "]"; color: var(--accent); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }

.hero__title { font-size: clamp(2.7rem, 9.2vw, 10.5rem); font-weight: 800; line-height: .86; letter-spacing: -.06em; font-variation-settings: "opsz" 96; margin-left: -.04em; }
.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease), opacity .22s ease; }
.line:nth-child(2) > span { transition-delay: .1s, 0s; }
.line:nth-child(3) > span { transition-delay: .2s, 0s; }
.rotator { color: var(--accent); white-space: nowrap; }
.rotator .rch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .45s ease; }
.rotator.is-in .rch { transform: none; opacity: 1; }
.rotator.is-out .rch { transform: translateY(-105%); opacity: 0; transition-duration: .45s, .3s; }

.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px 48px; margin-top: clamp(28px, 4.5vh, 52px); }
.hero__lead { max-width: 40ch; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__hud {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px;
  margin-top: clamp(40px, 6.5vh, 72px); padding-top: 18px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hero__hud::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .6s; }
body.is-loaded .hero__hud::before { transform: scaleX(1); }
.hud__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 3vw, 48px); }
.hud__list li { display: flex; align-items: baseline; gap: 10px; }
.hud__list span { color: var(--accent); }
.hud__list b { color: var(--text); font-weight: 600; }
.hud__list em { font-style: normal; }
.hud__tap { display: flex; align-items: center; gap: 8px; }
.hud__tap::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; animation: tapRing 2.4s var(--ease) infinite; }
@keyframes tapRing { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.hud__clock { display: flex; align-items: center; gap: 8px; color: var(--text); font-variant-numeric: tabular-nums; }
.hud__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }

.hero__kicker, .hero__bottom, .hud__list, .hud__tap, .hud__clock { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero__bottom { transition-delay: .4s; }
.hud__list, .hud__tap, .hud__clock { transition-delay: .8s; }
body.is-loaded .hero__kicker, body.is-loaded .hero__bottom, body.is-loaded .hud__list, body.is-loaded .hud__tap, body.is-loaded .hud__clock { opacity: 1; transform: none; }
body.is-loaded .line > span { transform: none; }

@media (max-width: 1180px) { .hud__list em { display: none; } }
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 40%, transparent 72%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 75%, transparent) 0%, transparent 24%); }
  .hero__frame { display: none; }
  .hero__kicker { font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__hud { grid-template-columns: 1fr auto; gap: 16px; margin-top: 32px; }
  .hud__list { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__canvas, .hero__frame, .hero__kicker, .hero__bottom, .hud__list, .hud__tap, .hud__clock { opacity: 1; transform: none; }
  .rotator .rch { transform: none; opacity: 1; }
}

/* ---------- Laufband ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 24px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee b { width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); border-radius: 3px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(96px, 13vw, 170px) 0; }
.section__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .98; letter-spacing: -.045em; max-width: 14ch; }
.section__head > p { color: var(--muted); max-width: 42ch; font-size: 1.1rem; }
.section__index { font-size: .9rem; font-weight: 700; color: var(--accent); margin-bottom: 18px; font-variant-numeric: tabular-nums; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Leistungen: gestapelte Karten ---------- */
.stack { display: grid; gap: 28px; }
.svc {
  position: sticky; top: calc(var(--header-h) + 8px + var(--i) * 18px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  min-height: min(640px, 78vh);
  padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-l);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 -20px 60px -30px rgba(0,0,0,.5);
  overflow: hidden; isolation: isolate;
  transform-origin: top center;
  transition: background-color .5s var(--ease);
}
.svc::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -15%; top: -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); }
.svc__tag { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--accent); padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 22px; }
.svc h3 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 20px; max-width: 14ch; }
.svc__text > p { color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.svc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.svc__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .98rem; }
.svc__list li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc__visual { position: relative; height: 100%; min-height: 340px; display: grid; place-items: center; border-radius: var(--r-m); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }

/* Visual: Website */
.vw { width: 84%; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); transition: transform .8s var(--ease); }
.svc:hover .vw { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.vw__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.vw__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.vw__bar span { margin: 0 auto; font-size: .7rem; color: var(--muted); padding: 3px 12px; border-radius: 999px; background: var(--bg-2); }
.vw__body { padding: 7% 7% 8%; display: grid; gap: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface) 70%); }
.vw__nav { display: flex; align-items: center; gap: 6%; }
.vw__nav b { font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em; margin-right: auto; }
.vw__nav span { width: 10%; height: 5px; border-radius: 3px; background: var(--line); }
.vw__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.04em; max-width: 9ch; }
.vw__lines { display: grid; gap: 7px; margin: 14px 0 16px; }
.vw__lines span { height: 6px; border-radius: 3px; background: var(--line); width: 70%; transform-origin: left; animation: build 3.2s var(--ease) infinite; }
.vw__lines span + span { width: 48%; animation-delay: .2s; }
.vw__btn { display: inline-block; font-size: .72rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--text); color: var(--bg); }
.vw__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vw__cards span { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); animation: pop 3.2s var(--ease) infinite; }
.vw__cards span:nth-child(2) { animation-delay: .15s; }
.vw__cards span:nth-child(3) { animation-delay: .3s; }
.vw__phone { position: absolute; right: 6%; bottom: 8%; width: 22%; aspect-ratio: 9 / 18; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 4px var(--text), var(--shadow); padding: 18% 10% 10%; display: grid; gap: 8%; align-content: start; transform: rotate(6deg); }
.vw__phone span { height: 8%; min-height: 5px; border-radius: 3px; background: var(--line); }
.vw__phone span:first-child { height: 30%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: .7; }
@keyframes build { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .6; } }
@keyframes pop { 0%, 10% { transform: scale(.85); opacity: 0; } 30%, 100% { transform: none; opacity: 1; } }

/* Visual: Automatisierung */
.v-flow { align-content: center; gap: 28px; padding: 28px; }
.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; width: 100%; max-width: 520px; }
.flow__node { display: grid; justify-items: center; gap: 10px; text-align: center; }
.flow__node svg { width: 64px; height: 64px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow__node--core svg { background: linear-gradient(135deg, var(--accent), var(--accent-2)); stroke: #fff; width: 76px; height: 76px; padding: 22px; animation: corePulse 2.4s var(--ease) infinite; }
.flow__node--done svg { stroke: var(--accent-2); }
.flow__node small { display: block; font-size: .7rem; color: var(--muted); font-weight: 700; }
.flow__node b { font-size: .85rem; }
.flow__wire { height: 2px; margin: 0 8px 44px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.flow__wire i { position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent-2)); animation: wire 1.6s linear infinite; }
.flow__wire + .flow__node + .flow__wire i { animation-delay: .8s; }
@keyframes wire { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@keyframes corePulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 18%, transparent), var(--shadow); } }
.flow__log { list-style: none; padding: 16px 18px; margin: 0; width: 100%; max-width: 520px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; font-size: .85rem; }
.flow__log li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.flow__log li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none; }
.svc.is-in .flow__log li { animation: logIn .6s var(--ease) both; }
.svc.is-in .flow__log li:nth-child(2) { animation-delay: .5s; }
.svc.is-in .flow__log li:nth-child(3) { animation-delay: 1s; }
@keyframes logIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Visual: KI-Chat */
.chat { width: 86%; max-width: 440px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat__ai { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: .9rem; }
.chat__head b { font-size: .95rem; }
.chat__head small { margin-left: auto; font-size: .75rem; color: var(--accent-2); font-weight: 700; }
.chat__msgs { padding: 22px 18px; display: grid; gap: 12px; min-height: 190px; align-content: start; }
.chat__msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.45; }
.chat__msg--me { justify-self: end; background: var(--text); color: var(--bg); border-bottom-right-radius: 6px; }
.chat__msg--ai { justify-self: start; background: var(--bg-2); border-bottom-left-radius: 6px; min-height: 46px; }
.chat__typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
.chat.is-answered .chat__typing { display: none; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--bg-2); font-size: .88rem; color: var(--muted); }
.chat__input b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); }

/* Visual: Idee */
.idea { display: grid; justify-items: center; text-align: center; gap: 22px; padding: 28px; }
.idea__orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.idea__orb::before, .idea__orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--line); animation: spin 18s linear infinite; }
.idea__orb::after { inset: 18px; border: 0; background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent)); animation-duration: 6s; filter: blur(2px); }
.idea__orb span { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--font-display); font-size: 3rem; font-weight: 800; }
.idea__q { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; max-width: 14ch; line-height: 1.1; }

/* ---------- Inklusive ---------- */
.included { padding-top: 0; }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inc { position: relative; padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.inc:hover { background: var(--surface); }
.inc svg { width: 34px; height: 34px; margin-bottom: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.inc:hover svg { transform: translateY(-4px); }
.inc h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 8px; }
.inc p { color: var(--muted); font-size: .95rem; }
.inc:nth-child(4n+2) { transition-delay: .05s; } .inc:nth-child(4n+3) { transition-delay: .1s; } .inc:nth-child(4n+4) { transition-delay: .15s; }

/* ---------- Projekte ---------- */
.project-list { display: grid; gap: clamp(88px, 11vw, 150px); }
.project { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.project--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.project--rev .project__visual { order: 2; }
.project__visual { position: relative; display: block; perspective: 1200px; }
.tilt { --rx: 0deg; --ry: 0deg; }
.tilt > :first-child { transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.tilt.is-tilting > :first-child { transition: transform .12s linear; }
.project__glow { position: absolute; inset: 10% 8%; z-index: -1; background: radial-gradient(closest-side, var(--accent), transparent); filter: blur(50px); opacity: .35; }
.browser { border-radius: var(--r-m); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__url { margin: 0 auto; font-size: .78rem; color: var(--muted); padding: 4px 16px; border-radius: 999px; background: var(--bg-2); }
.browser__shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.browser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.4s var(--ease); }
.project__visual:hover .browser__shot img { transform: scale(1.03); }


.project__meta { font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.project__info h3 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 20px; }
.project__info > p:not(.project__meta) { color: var(--muted); max-width: 44ch; }
.project__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; }
.project__facts div { padding-top: 12px; border-top: 1px solid var(--line); }
.project__facts dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.project__facts dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.tags { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.project-next { margin-top: clamp(64px, 9vw, 110px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); border: 1px dashed var(--line); }
.project-next h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.035em; margin-bottom: 6px; }
.project-next p { color: var(--muted); max-width: 52ch; }

/* ---------- Ablauf ---------- */
.process { background: var(--bg-2); transition: background-color .5s var(--ease); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 36px 28px 8px 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.step.is-in::before { transform: scaleX(1); }
.step:nth-child(2) { transition-delay: .1s; } .step:nth-child(2)::before { transition-delay: .5s; }
.step:nth-child(3) { transition-delay: .2s; } .step:nth-child(3)::before { transition-delay: .8s; }
.step:nth-child(4) { transition-delay: .3s; } .step:nth-child(4)::before { transition-delay: 1.1s; }
.step__no { display: block; font-family: var(--font-display); font-size: 3.6rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; color: var(--muted); margin-bottom: 28px; }
.step h3 { font-size: 1.45rem; letter-spacing: -.03em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Über uns ---------- */
.about__why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: start; padding-bottom: clamp(64px, 9vw, 120px); margin-bottom: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.about__why h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .98; letter-spacing: -.045em; max-width: 13ch; }
.about__why p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.founder { perspective: 1200px; }
.founder__card { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; border-radius: var(--r-l); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4vw, 40px); }
.founder__card::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle at 30% 25%, var(--accent), transparent 45%), radial-gradient(circle at 75% 80%, var(--accent-2), transparent 45%); opacity: .3; filter: blur(30px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg); } }
.founder__logo { height: 44px; width: auto; align-self: flex-start; }
html[data-theme="dark"] .founder__logo { filter: brightness(0) invert(1); }
.founder__mono { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 15vw, 11rem); line-height: .8; letter-spacing: -.08em; }
.founder__name strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.founder__name span { color: var(--muted); }
.about__text h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 24px; max-width: 14ch; }
.about__text > p:not(.section__index) { color: var(--muted); max-width: 48ch; margin-bottom: 16px; }
.about__text .link { margin-top: 16px; }

.stack-tech { margin-top: clamp(72px, 10vw, 130px); display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
.stack-tech > p { font-weight: 700; color: var(--muted); max-width: 20ch; }
.stack-tech ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stack-tech li { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 10px 18px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), color .3s; }
.stack-tech li:hover { transform: translateY(-3px); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); transition: background-color .5s var(--ease); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 18px; }
.faq__head > p:not(.section__index) { color: var(--muted); margin-bottom: 28px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, transform .5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--accent); color: #fff; transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { color: var(--muted); padding: 0 56px 26px 0; max-width: 60ch; }

/* ---------- Instagram ---------- */
.insta__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 6vw, 80px); border-radius: var(--r-l); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.insta__box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--accent)); filter: blur(90px); opacity: .25; pointer-events: none; }
.insta__text { position: relative; }
.insta__text h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.045em; max-width: 12ch; margin-bottom: 18px; }
.insta__text p { color: var(--muted); max-width: 40ch; margin-bottom: 32px; }
.btn--insta::before { background: linear-gradient(100deg, var(--accent), var(--accent-2)); }
.btn--insta:hover { color: #fff; }
.phone { position: relative; justify-self: center; perspective: 1200px; }
.phone__screen { width: min(290px, 70vw); aspect-ratio: 9 / 17; border-radius: 38px; padding: 26px 18px; background: var(--bg); box-shadow: 0 0 0 8px var(--text), var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.phone__head { display: flex; align-items: center; gap: 12px; }
.phone__avatar { width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--accent), var(--accent-2), var(--accent)); flex: none; }
.phone__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; padding: 6px; }
.phone__head strong { display: block; font-size: .95rem; }
.phone__head small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; }
.phone__follow { display: block; text-align: center; padding: 8px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: .85rem; }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: auto; }
.phone__grid i { aspect-ratio: 1; border-radius: 4px; background: var(--bg-2); position: relative; overflow: hidden; }
.phone__grid i::after { content: ""; position: absolute; inset: 0; opacity: .85; }
.phone__grid i:nth-child(1)::after { background: linear-gradient(135deg, var(--accent), transparent); }
.phone__grid i:nth-child(3)::after { background: linear-gradient(160deg, #123A63, #1C5A8A); }
.phone__grid i:nth-child(5)::after { background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 70%); }
.phone__grid i:nth-child(7)::after { background: linear-gradient(45deg, var(--accent-2), var(--accent)); }
.phone__grid i:nth-child(9)::after { background: linear-gradient(200deg, var(--accent), transparent 70%); }
.phone__grid i.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Kontakt ---------- */
.cta-band { text-align: center; margin-bottom: clamp(64px, 9vw, 120px); padding: clamp(48px, 8vw, 110px) var(--gutter); border-radius: var(--r-l); position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 55%, color-mix(in srgb, var(--accent-2) 18%, var(--surface))); box-shadow: 0 0 0 1px var(--line); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.05em; max-width: 16ch; margin: 0 auto 18px; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto; font-size: 1.1rem; }

.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__intro h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 24px; }
.contact__intro > p:not(.section__index):not(.contact__insta) { color: var(--muted); max-width: 40ch; }
.csteps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; }
.csteps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.csteps li:last-child { border-bottom: 1px solid var(--line); }
.csteps span { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.csteps strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; }
.csteps p { color: var(--muted); font-size: .95rem; }
.contact__insta { margin-top: 28px; color: var(--muted); }
.contact__insta a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--accent); }

.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .chips legend { font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s, background-color .5s; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field textarea::placeholder { color: var(--muted); opacity: .8; }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s; }
.chips label:hover span { box-shadow: inset 0 0 0 1px var(--accent); }
.chips input:checked + span { background: var(--accent); color: #fff; box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check.is-invalid span { color: var(--danger); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { min-height: 1.6em; font-size: .95rem; font-weight: 600; }
.form__status.is-success { color: var(--accent-2); }
.form__status.is-error { color: var(--danger); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { color: var(--muted); margin: 18px 0 24px; max-width: 30ch; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { font-size: 1rem; margin-bottom: 8px; }
.footer__col a { color: var(--muted); width: fit-content; transition: color .3s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .nav a { padding: 8px 10px; }
  .inc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand__logo { height: 44px; }
  .header.is-scrolled .brand__logo { height: 38px; }
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 2px; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--bg); clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease-io); visibility: hidden; }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
  .nav a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 700; letter-spacing: -.04em; color: var(--text); padding: 4px 0; border-radius: 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .nav a.is-active { background: none; color: var(--accent); }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .04s; } .nav.is-open a:nth-child(3) { transition-delay: .08s; } .nav.is-open a:nth-child(4) { transition-delay: .12s; } .nav.is-open a:nth-child(5) { transition-delay: .16s; } .nav.is-open a:nth-child(6) { transition-delay: .2s; } .nav.is-open a:nth-child(7) { transition-delay: .24s; }
  .nav__mobile-only { display: block; }
  .header.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .section__head { grid-template-columns: 1fr; gap: 20px; }
  .svc { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .svc__visual { min-height: 300px; }
  .project, .project--rev { grid-template-columns: 1fr; }
  .project--rev .project__visual { order: 0; }
  .about__why, .about__grid, .faq__grid, .insta__box, .contact__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .founder { max-width: 420px; }
  .stack-tech { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .brand__logo { height: 38px; max-width: 150px; }
  .lang__btn span { display: none; }
  .lang__btn { padding: 0 9px; }
  .theme-toggle, .burger { width: 40px; height: 40px; }
  .burger span { left: 12px; right: 12px; } .burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
  .burger[aria-expanded="true"] span:first-child, .burger[aria-expanded="true"] span:last-child { top: 19px; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
  .hero__facts strong { font-size: 1rem; }
  .hero__facts span { font-size: .78rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .inc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .flow__node svg { width: 52px; height: 52px; padding: 14px; }
  .flow__node--core svg { width: 60px; height: 60px; padding: 17px; }
  .flow__node b { font-size: .75rem; }
  .vw__phone { display: none; }
  .vw { width: 92%; }
  .qa__a p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .line > span, .hero__kicker, .hero__lead, .hero__actions, .hero__facts { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* Founder-Foto im Bereich Über uns */
.founder__card { padding: 0; justify-content: flex-end; }
.founder__card::before { display: none; }
.founder__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 20%; z-index: -2; transition: transform 1.2s var(--ease); }
.founder:hover .founder__photo { transform: scale(1.04); }
.founder__card::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.founder__name { padding: clamp(24px, 4vw, 36px); color: #FFFFFF; }
.founder__name span { color: rgba(255, 255, 255, .75); }

/* =========================================================
   Rechtliche Seiten (impressum.html, datenschutz.html)
   ========================================================= */
.legal-header { position: sticky; top: 0; z-index: 50; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.legal-header .container { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); transition: color .3s; }
.legal-back:hover { color: var(--text); }
.legal { padding: clamp(56px, 9vw, 110px) 0 clamp(72px, 10vw, 130px); }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: .95; letter-spacing: -.05em; margin-bottom: 16px; }
.legal__date { color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -.03em; margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal-card { padding: 24px 28px; border-radius: var(--r-m); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 4px; }
.legal-card p { color: var(--text); }
html[lang="de"] [data-lang-block="en"], html[lang="en"] [data-lang-block="de"] { display: none; }
.check a { color: var(--text); border-bottom: 1px solid var(--accent); }
.legal-back { white-space: nowrap; }
@media (max-width: 640px) { .legal-back { display: none; } .legal-header .container { height: 68px; } }
