/* ==========================================================================
   JOHNMEDIA – OnePager
   ========================================================================== */

/* Inter (lokal ausgeliefert, DSGVO-konform – keine Verbindung zu Google) */
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("assets/fonts/inter-latin.woff2") format("woff2-variations"), url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2-variations"), url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0a0b;
  --bg-alt: #0f0f11;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f4;
  --muted: #a1a1a6;
  --subtle: #6b6b70;
  --accent: #c8f53c;
  --accent-ink: #0a0a0b;
  --accent-soft: rgba(200, 245, 60, 0.12);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h3 { line-height: 1.2; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.accent { color: var(--accent); }

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.dot--live { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(200, 245, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 245, 60, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { box-shadow: 0 8px 30px -6px rgba(200, 245, 60, 0.5); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
}
/* Hintergrund als Pseudo-Element: backdrop-filter direkt auf .nav würde das fixierte Mobilmenü einsperren */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled::before, .nav.is-open::before {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav__logo img { height: 18px; width: auto; filter: invert(1); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__mobile-cta { display: none; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: auto; margin-right: -10px;
    background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .nav__toggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a.nav__mobile-cta { display: inline-flex; flex-shrink: 0; margin-top: 32px; font-size: 16px; color: var(--accent-ink); border: 0; height: 56px; padding: 0 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -250px; top: -300px;
  background: radial-gradient(circle, rgba(200, 245, 60, 0.16), transparent 60%);
  filter: blur(20px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 28px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px; color: var(--muted);
}
.hero__title {
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.95; letter-spacing: -0.045em; font-weight: 700;
}
.hero__title .eyebrow {
  display: flex; width: fit-content;
  font-size: 13px; font-weight: 400; line-height: 1.6; letter-spacing: normal;
}
.hero__headline { display: block; }
.hero__lead { margin-top: 32px; max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Browser-Mockup */
.hero__visual { position: relative; }
.browser {
  position: relative;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #19191c, #111113);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transform-origin: left center;
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #2c2c30; }
.browser__url {
  margin: 0 auto; padding: 4px 16px; border-radius: 7px; background: rgba(255,255,255,0.05);
  font-family: var(--mono); font-size: 11px; color: var(--subtle); transform: translateX(-20px);
}
.browser__body { padding: 22px; display: grid; gap: 22px; }
.browser__body i, .browser__body b { display: block; border-radius: 6px; }
.mock-nav { display: flex; align-items: center; gap: 12px; }
.mock-nav i { width: 36px; height: 7px; background: rgba(255,255,255,0.1); }
.mock-nav i.mock-logo { width: 70px; height: 10px; background: rgba(255,255,255,0.35); margin-right: auto; }
.mock-nav b { width: 60px; height: 20px; border-radius: 999px; background: var(--accent); }
.mock-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.mock-text { display: grid; gap: 10px; }
.mock-text i { height: 16px; background: rgba(255,255,255,0.85); }
.mock-text i.thin { height: 8px; background: rgba(255,255,255,0.18); margin-top: 6px; }
.mock-text b { width: 80px; height: 24px; margin-top: 10px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.w80 { width: 90%; } .w60 { width: 65%; } .w40 { width: 80%; }
.mock-image {
  aspect-ratio: 4 / 3.4; border-radius: 12px;
  background:
    radial-gradient(circle at 70% 30%, rgba(200,245,60,0.9), rgba(200,245,60,0) 45%),
    radial-gradient(circle at 20% 90%, rgba(120,120,255,0.35), transparent 55%),
    linear-gradient(135deg, #26262a, #151517);
  position: relative; overflow: hidden;
}
.mock-image::after {
  content: ""; position: absolute; left: 14%; bottom: 14%; width: 38%; height: 38%;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards i { height: 64px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(22, 22, 25, 0.85); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 500;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.7);
  animation: float 7s ease-in-out infinite;
}
.chip__icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-family: var(--mono);
}
.chip--1 { top: 12%; left: -28px; }
.chip--2 { top: 48%; right: -18px; animation-delay: -2.5s; }
.chip--3 { bottom: -18px; left: 18%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding: 128px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .browser { transform: none; }
  .chip--1 { left: -6px; }
  .chip--2 { right: -6px; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .browser__body { padding: 16px; gap: 16px; }
  .mock-cards i { height: 44px; }
  .chip { font-size: 13px; padding: 8px 14px 8px 8px; }
  .chip__icon { width: 24px; height: 24px; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 48px; padding-right: 48px;
  font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--subtle);
}
.marquee__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-head--split .section-lead { max-width: 400px; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.section-label::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.section-lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 560px; }

@media (max-width: 760px) {
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* ---------- Bildbereiche ---------- */
.showcase { padding: clamp(64px, 8vw, 112px) 0 0; }
.showcase__frame {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 8; background: var(--surface);
}
.showcase__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.showcase__frame.is-visible .showcase__img, html:not(.js) .showcase__img { transform: scale(1); }
.showcase__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,11,0.85));
}
.showcase__caption {
  position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); z-index: 1;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px;
}
.showcase__caption p { max-width: 460px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.showcase__tag {
  order: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(14,14,16,0.7); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 700px) {
  .showcase__frame { aspect-ratio: 4 / 5; border-radius: 20px; }
  .showcase__img { object-position: 72% 50%; }
  .showcase__tag { order: 0; }
}

.banner {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 80vh, 820px);
  display: flex; align-items: center;
  border-top: 1px solid var(--line);
}
.banner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.6) 45%, rgba(10,10,11,0.1) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.banner__inner { padding-top: var(--section); padding-bottom: var(--section); }
.banner__title { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.banner__text { margin-top: 28px; max-width: 460px; font-size: 18px; color: #c4c4c8; }
@media (max-width: 700px) {
  .banner { align-items: flex-end; min-height: 640px; }
  .banner__img { object-position: 70% 30%; }
  .banner::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,0.2) 25%, rgba(10,10,11,0.75) 60%, var(--bg) 100%); }
}

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.about__media { position: relative; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.portrait--placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(200,245,60,0.14), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px),
    var(--surface);
}
.portrait--placeholder span {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle);
  padding: 8px 14px; border: 1px dashed var(--line-strong); border-radius: 999px;
}
.about__badge {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(14, 14, 16, 0.8); border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 15px; font-weight: 500;
}
.about__text { display: grid; gap: 18px; margin-top: 32px; color: var(--muted); font-size: 18px; }
.about__text p:first-child { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats dt { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stats dd { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .stats > div { display: flex; align-items: baseline; gap: 16px; }
  .stats dt { min-width: 84px; }
  .stats dd { margin: 0; }
}

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.service:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.service__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.service__num { font-family: var(--mono); font-size: 13px; color: var(--subtle); }
.service__tag {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
}
.service__icon, .reason__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px;
  border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
}
.service__icon svg, .reason__icon svg {
  width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service__icon svg .fill, .reason__icon svg .fill { fill: var(--accent); stroke: var(--accent); }
.service h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 650; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 16px; }

.service--featured {
  grid-row: span 2;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(200, 245, 60, 0.12), transparent 60%),
    var(--surface);
  border-color: rgba(200, 245, 60, 0.22);
}
.service--featured:hover { border-color: rgba(200, 245, 60, 0.4); }
.service--featured .service__icon { background: var(--accent); border-color: var(--accent); }
.service--featured .service__icon svg { stroke: var(--accent-ink); }
.service--featured h3 { font-size: clamp(26px, 2.6vw, 32px); }
.service--featured p { font-size: 17px; }
.service--featured .tags { margin-top: auto; padding-top: 32px; }

.services .service:nth-child(2) { grid-column: 2 / 4; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,0.03);
}

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service--featured { grid-column: 1 / -1; grid-row: auto; }
  .services .service:nth-child(2) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 26px; }
  .service__top { margin-bottom: 32px; }
}

/* ---------- Kunden ---------- */
.clients__label { text-align: center; font-size: 14px; color: var(--subtle); margin-bottom: clamp(36px, 5vw, 56px); }
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-marquee__track { display: flex; align-items: center; width: max-content; }
.js .logo-marquee__track.is-running { animation: marquee var(--logo-speed, 50s) linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__track:not(.is-running) { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 40px; }

.client { flex-shrink: 0; display: flex; align-items: center; height: 96px; margin-right: clamp(56px, 7vw, 112px); }
.client img {
  height: 60px; width: auto; max-width: none;
  filter: brightness(0) invert(1); opacity: 0.6; transition: opacity 0.3s;
}
.client--tall img { height: 88px; }
.client--wide img { height: 46px; }
.client--original img { filter: grayscale(1); }
.client:hover img { opacity: 1; }

@media (max-width: 620px) {
  .client { height: 72px; }
  .client img { height: 42px; }
  .client--tall img { height: 64px; }
  .client--wide img { height: 32px; }
}

/* ---------- Warum ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.reason { padding: 40px 32px 8px 0; }
.reason + .reason { padding-left: 32px; border-left: 1px solid var(--line); }
.reason__icon { width: 48px; height: 48px; }
.reason h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 650; margin-bottom: 10px; }
.reason p { color: var(--muted); font-size: 16px; }

@media (max-width: 960px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .reason, .reason + .reason { padding: 36px 28px 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .reason:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .reasons { grid-template-columns: 1fr; }
  .reason, .reason + .reason, .reason:nth-child(even) { padding: 32px 0; border-left: 0; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 36px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.step__num {
  display: block; margin-bottom: 64px;
  font-size: 56px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.28);
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
}
.step:hover .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step::after {
  content: ""; position: absolute; top: 58px; right: -9px; z-index: 1;
  width: 16px; height: 1px; background: var(--line-strong);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 650; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding: 28px 24px; }
  .step__num { grid-row: span 2; width: 52px; margin: 0; font-size: 40px; }
}

/* ---------- Kontakt ---------- */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact__glow {
  position: absolute; left: -300px; bottom: -400px; width: 1000px; height: 1000px; pointer-events: none;
  background: radial-gradient(circle, rgba(200, 245, 60, 0.12), transparent 60%);
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
.contact__title { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.contact__details { margin-top: 48px; border-top: 1px solid var(--line); }
.contact__details li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact__key { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); padding-top: 3px; }
.contact__details a { justify-self: start; border-bottom: 1px solid rgba(200,245,60,0.4); transition: color 0.2s, border-color 0.2s; }
.contact__details a:hover { color: var(--accent); border-color: var(--accent); }

.form {
  display: grid; gap: 20px;
  padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: rgba(20, 20, 22, 0.8); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.optional { color: var(--subtle); font-weight: 400; margin-left: 4px; }
.field legend { margin-bottom: 8px; }

input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-strong);
  color: var(--text); font: inherit; font-size: 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 130px; }
input::placeholder, textarea::placeholder { color: #5b5b60; }
input:hover, textarea:hover { border-color: rgba(255,255,255,0.22); }
input:focus, textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.05); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted);
  transition: all 0.2s var(--ease);
}
.choice:hover span { color: var(--text); border-color: rgba(255,255,255,0.25); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid { color: #ff9b9b; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-size: 15px; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-success { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(200,245,60,0.3); }
.form__status.is-error { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,107,107,0.08); color: #ff9b9b; border: 1px solid rgba(255,107,107,0.3); }
.form.is-loading button { opacity: 0.6; pointer-events: none; }

@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__details li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer__logo img { height: 16px; width: auto; filter: invert(1); }
.footer__claim { color: var(--subtle); font-size: 14px; }
.footer__links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__copy { width: 100%; font-size: 13px; color: var(--subtle); }

@media (max-width: 620px) { .footer__links { margin-left: 0; width: 100%; } }

/* ---------- Rechtliche Seiten ---------- */
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
  font-size: 14px; color: var(--muted); transition: color 0.2s;
}
.legal__back:hover { color: var(--text); }
.legal__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legal { padding: clamp(128px, 16vw, 180px) 0 var(--section); }
.legal__inner { max-width: 800px; }
.legal__title { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; hyphens: manual; }
.legal__intro { margin-top: 24px; font-size: 18px; color: var(--muted); }
.legal section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; font-weight: 650; line-height: 1.25; margin-bottom: 16px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 14px; }
.legal ul { list-style: none; display: grid; gap: 6px; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(200,245,60,0.5); text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal code { font-family: var(--mono); font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); }
.legal__toc { margin-top: 40px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal__toc ol { columns: 2; column-gap: 32px; list-style: none; }
.legal__toc li { padding: 4px 0; break-inside: avoid; }
.legal__toc a { color: var(--muted); text-decoration: none; font-size: 15px; }
.legal__toc a:hover { color: var(--accent); }
.legal__date { font-family: var(--mono); font-size: 13px !important; color: var(--subtle) !important; }
mark.todo { background: rgba(255, 184, 0, 0.18); color: #ffc93c; padding: 1px 6px; border-radius: 5px; border: 1px dashed rgba(255, 201, 60, 0.6); }
.footer__links a[aria-current="page"] { color: var(--text); }
@media (max-width: 620px) { .legal__toc ol { columns: 1; } }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
