/* ============================================================
   STRÄHLE — Premium Marketing Agency
   Design System
   75% Weiß · 20% Schwarz · 5% Rot
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --black: #050505;
  --red: #ff2d2d;
  --red-dark: #d61f1f;
  --gray-900: #1a1a1a;
  --gray-700: #2e2e2e;
  --gray-500: #6b6b6b;
  --gray-300: #c9c9c9;
  --gray-150: #e9e9ec;
  --gray-100: #f4f4f6;
  --gray-50:  #fafafb;

  --bg: #060608;
  --surface: #0f0f13;
  --surface-2: #17171d;
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.56);
  --line: rgba(255, 255, 255, 0.10);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 36px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.40);
  --shadow:    0 18px 50px -18px rgba(0, 0, 0, 0.62);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.72);
  --glow-red:  0 18px 60px -12px rgba(255, 45, 45, 0.55);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--red); color: var(--white); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; padding-block: clamp(80px, 12vh, 160px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--red);
  display: inline-block;
}

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-block: 18px 20px;
}
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }

.text-red { color: var(--red); }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(5,5,5,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5,5,5,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}
.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.bg-orb.red {
  width: 540px; height: 540px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(255,45,45,0.28), transparent 70%);
}
.bg-orb.soft {
  width: 620px; height: 620px;
  top: 40%; left: -260px;
  background: radial-gradient(circle, rgba(5,5,5,0.06), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--glow-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px -10px rgba(255,45,45,0.7); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-dark:hover svg { transform: translateX(4px); }
.btn-ghost {
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.6);
  color: var(--black);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--black); transform: translateY(-3px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
/* Oben: fester Voll-Breiten-Balken (füllt die Bildschirmbreite) */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 0;
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(11px) saturate(130%);
  -webkit-backdrop-filter: blur(11px) saturate(130%);
  transition: padding-block .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}
.nav {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 15px 14px 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.4vw, 44px);
  border-radius: 0;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow .45s var(--ease), background .45s var(--ease),
              border-radius .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease);
}
/* Gescrollt: aus dem Balken wird eine schwebende Sticky-Pill */
.header.scrolled {
  padding-block: 16px;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header.scrolled .nav {
  padding: 12px 14px 12px 24px;
  border-radius: 100px;
  background: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(11px) saturate(130%);
  -webkit-backdrop-filter: blur(11px) saturate(130%);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; font-size: 1.18rem; }
/* Header-Wortmarke soll nie umbrechen (macht den Sticky-Header sonst zu dick) */
.header .brand { white-space: nowrap; flex: none; }
/* Marke im Header zweizeilig: "Kraftwerk" oben, "Performance" darunter — spart Platz */
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.04; }
.brand-text b { color: var(--red); font-weight: 800; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--black);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: -0.02em;
  position: relative;
  box-shadow: 0 6px 18px -6px rgba(255,45,45,0.6);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 9px;
  border: 1px solid rgba(255,45,45,0.6);
}
.brand b { color: var(--red); }
/* Header-Logo flach statt runder Badge: Icon pur + einzeilige Wortmarke + Sub-Label */
.header .brand-logo-flat { height: 42px; width: auto; flex: none; display: block; }
.header.scrolled .brand-logo-flat { height: 38px; transition: height .4s var(--ease); }
.brand-title { display: block; color: var(--black); }
.brand-title small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; opacity: .6; text-transform: uppercase; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 34px); list-style: none; flex-wrap: nowrap; }
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: var(--gray-700);
  position: relative; padding-block: 4px;
  white-space: nowrap;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--red);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; }
.burger span { display:block; width: 20px; height: 2px; background: var(--black); position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content:""; position:absolute; left:0; width:20px; height:2px; background: var(--black); transition:.3s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; text-align: center; overflow: hidden;
  padding-top: clamp(165px, 24vh, 270px); padding-bottom: clamp(30px, 6vw, 80px);
  background: radial-gradient(125% 95% at 50% -18%, #251b33 0%, #140f20 36%, #08070f 70%, #050509 100%);
  color: #fff;
}
.hero > .container { position: relative; z-index: 5; }
/* weicher Übergang zurück auf Weiß */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 4;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
  pointer-events: none;
}
.hero-ambient { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

/* Sterne */
.stars { position: absolute; inset: -40px 0 0 0; }
.stars .star { position: absolute; background: #fff; border-radius: 50%; opacity: .8; animation: twinkle var(--tw, 3s) ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .12; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.stars.drift { animation: starDrift 140s linear infinite; }
@keyframes starDrift { from { transform: translateY(0); } to { transform: translateY(-50px); } }

/* Nebel */
.neb { position: absolute; border-radius: 50%; filter: blur(85px); }
.neb.n1 { width: 580px; height: 580px; top: -180px; left: -130px; background: radial-gradient(circle, rgba(255,45,45,.5), transparent 65%); opacity: .55; animation: nebDrift 26s ease-in-out infinite alternate; }
.neb.n2 { width: 540px; height: 540px; top: -120px; right: -150px; background: radial-gradient(circle, rgba(124,72,255,.42), transparent 65%); opacity: .5; animation: nebDrift 34s ease-in-out infinite alternate-reverse; }
@keyframes nebDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(46px,34px) scale(1.18); } }

/* aufgehender Planet */
.planet {
  position: absolute; left: 50%; bottom: -360px; width: 680px; height: 680px; transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(130px 130px at 38% 30%, rgba(255,150,100,.55), transparent 60%),
    radial-gradient(circle at 50% 45%, #2c2742 0%, #16131f 56%, #0b0a13 100%);
  box-shadow: inset -50px -34px 130px rgba(0,0,0,.85),
              inset 70px 46px 130px rgba(255,80,60,.20),
              0 0 130px 12px rgba(255,45,45,.28);
  animation: planetRise 18s ease-in-out infinite alternate;
}
.planet::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: radial-gradient(circle at 50% 16%, rgba(255,130,95,.65), transparent 32%);
  mix-blend-mode: screen; opacity: .75;
}
@keyframes planetRise { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(-50px); } }

/* Orbits / Umlaufbahnen */
.orbits { position: absolute; left: 50%; bottom: -280px; width: 920px; height: 920px; transform: translateX(-50%); }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); }
.orbit.o1 { animation: orbitSpin 34s linear infinite; }
.orbit.o2 { inset: 95px; border-color: rgba(255,45,45,.20); animation: orbitSpin 48s linear infinite reverse; }
.orbit.o3 { inset: 190px; animation: orbitSpin 64s linear infinite; }
.orbit.o2::after { content: ""; position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px 4px rgba(255,45,45,.85); }
@keyframes orbitSpin { from { transform: rotateX(74deg) rotate(0); } to { transform: rotateX(74deg) rotate(360deg); } }
.orbit.o1, .orbit.o2, .orbit.o3 { transform: rotateX(74deg); }

/* Sternschnuppen */
.shoot { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px 2px rgba(255,255,255,.9); opacity: 0; }
.shoot::after { content: ""; position: absolute; right: 2px; top: 50%; width: 130px; height: 1px; background: linear-gradient(to left, rgba(255,255,255,.9), transparent); transform: translateY(-50%); }
.shoot.s1 { top: 16%; left: 72%; animation: shoot 8s ease-in infinite; animation-delay: 2.5s; }
.shoot.s2 { top: 28%; left: 44%; animation: shoot 11s ease-in infinite; animation-delay: 7s; }
@keyframes shoot {
  0% { opacity: 0; transform: translate(60px,-60px) rotate(20deg); }
  4% { opacity: 1; }
  18% { opacity: 0; transform: translate(-240px,180px) rotate(20deg); }
  100% { opacity: 0; transform: translate(-240px,180px) rotate(20deg); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255,45,45,0.2);
}
.hero-badge .pill {
  background: var(--red); color: #fff; font-weight: 600;
  font-size: 0.72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 14ch;
  margin-inline: auto;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--red), #ff6a4d);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: rgba(255,255,255,0.74);
  max-width: 600px;
  margin: 28px auto 38px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-trust { margin-top: 56px; }
.hero-trust span { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); }
.logo-row {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
  opacity: .8;
}
.logo-row .logo {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--gray-700); display: flex; align-items: center; gap: 7px;
  filter: grayscale(1); transition: filter .3s, color .3s, opacity .3s; opacity: .65;
}
.logo-row .logo:hover { filter: none; color: var(--black); opacity: 1; }
.logo-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

/* Stats strip */
.stats {
  margin-top: clamp(60px, 9vw, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: var(--white); padding: 34px 26px; text-align: center; transition: background .3s; }
.stat:hover { background: var(--gray-50); }
.stat .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.stat .num b { color: var(--red); }
.stat .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ---- Hero: dunkle Sekundär-Buttons + Trust-Label ---- */
.hero .btn-dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); box-shadow: none; }
.hero .btn-dark:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.hero-trust-label { margin-top: 46px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---- Daten-Karussell ---- */
.marquee {
  position: relative; z-index: 5; margin-top: 22px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: 14px; }
.mq-track { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; will-change: transform; }
.marquee.reverse .mq-track { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 100px; font-size: .9rem;
  color: rgba(255,255,255,.78); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); white-space: nowrap;
}
.chip b { color: #ff6253; font-weight: 700; }
.chip .chip-ic { display: inline-flex; }
.chip .chip-ic svg { width: 15px; height: 15px; display: block; }
.mlogo {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em;
  color: rgba(255,255,255,.42); padding: 0 16px;
}
.mlogo i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: block; }

@media (prefers-reduced-motion: reduce) {
  .stars .star, .stars.drift, .neb, .planet, .orbit, .shoot, .mq-track { animation: none !important; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,45,45,0.08), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,45,45,0.35); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
  margin-bottom: 22px; position: relative;
}
.card .icon svg { width: 24px; height: 24px; }
.card:nth-child(odd) .icon { box-shadow: 0 10px 26px -8px rgba(255,45,45,0.5); }
.card h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.card .tags span {
  font-size: 0.76rem; font-weight: 500; color: var(--gray-700);
  background: var(--gray-100); padding: 5px 11px; border-radius: 100px;
}
/* feature/dark card */
.card.dark {
  grid-column: span 1;
  background: var(--black); color: var(--white);
  border-color: transparent;
}
.card.dark p { color: var(--gray-300); }
.card.dark .icon { background: var(--red); box-shadow: var(--glow-red); }
.card.dark .tags span { background: rgba(255,255,255,0.08); color: var(--gray-300); }

/* ============================================================
   WORK / CASES
   ============================================================ */
.cases-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.case {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.06);
  isolation: isolate;
  cursor: pointer;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
  transition: transform .25s var(--ease), box-shadow .45s var(--ease), border-color .4s;
  will-change: transform;
}
.case::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(255,45,45,0.35), transparent 55%),
    linear-gradient(180deg, #232323, #0c0c0c);
  transition: transform .8s var(--ease);
}
.case:hover { --tz: 28px; box-shadow: var(--shadow-lg); }
.case:hover::before { transform: scale(1.08); }
.case.focus {
  --tz: 64px;
  box-shadow: 0 50px 110px -28px rgba(5,5,5,.55), var(--glow-red);
  border-color: rgba(255,45,45,.55);
  z-index: 6;
}
.case.focus::before { transform: scale(1.12); }
.case .case-glow {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,30%), rgba(255,45,45,.18), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.case:hover .case-glow { opacity: 1; }
.case.span-4 { grid-column: span 4; }
.case.span-2 { grid-column: span 2; }
.case.span-3 { grid-column: span 3; }
.case .case-cat { font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.case h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin: 10px 0 6px; font-weight: 700; }
.case p { color: var(--gray-300); font-size: 0.96rem; max-width: 44ch; }
.case .metric { display: flex; gap: 28px; margin-top: 22px; }
.case .metric div b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.case .metric div b em { color: var(--red); font-style: normal; }
.case .metric div span { font-size: 0.8rem; color: var(--gray-300); }
.case .arrow {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  transition: background .3s, transform .4s var(--ease);
}
.case:hover .arrow { background: var(--red); transform: rotate(-45deg); }
.case .arrow svg { width: 18px; height: 18px; }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 20px; }
.about-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.about-points { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 13px; align-items: flex-start; font-weight: 500; }
.about-copy.center { margin-inline: auto; text-align: center; }
.about-copy.center .eyebrow { justify-content: center; }
.about-copy.center .about-points { margin-inline: auto; }
.about-copy.center .about-points li { justify-content: center; text-align: left; }
.about-points .check {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,45,45,0.1); color: var(--red);
  display: grid; place-items: center; margin-top: 2px;
}
.about-points .check svg { width: 15px; height: 15px; }

.team { margin-top: clamp(56px, 8vw, 90px); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  background: var(--white);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member .avatar {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.5rem; color: var(--white);
  background: linear-gradient(140deg, #2a2a2a, #050505);
  position: relative;
}
.member .avatar::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--red); border-right-color: var(--red);
  opacity: 0; transition: opacity .4s;
}
.member:hover .avatar::after { opacity: 1; }
.member h4 { font-size: 1.08rem; font-weight: 700; }
.member span { color: var(--red); font-size: 0.86rem; font-weight: 600; }
.member p { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.15rem; font-weight: 700; }
.plan .desc { color: var(--muted); font-size: 0.92rem; margin: 6px 0 22px; min-height: 42px; }
.plan .price { font-size: clamp(2.4rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 13px; }
.plan ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.96rem; color: var(--gray-700); }
.plan ul li svg { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }
.plan.featured {
  background: var(--black); color: var(--white); border-color: transparent;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.plan.featured::before {
  content: ""; position: absolute; top: -50%; right: -30%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,45,0.4), transparent 65%);
  filter: blur(30px);
}
.plan.featured .desc, .plan.featured ul li { color: var(--gray-300); }
.plan.featured .price small { color: var(--gray-300); }
.plan .badge-pop {
  position: absolute; top: 24px; right: 24px;
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-wrap::before {
  content: ""; position: absolute; bottom: -40%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,45,0.35), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.contact-info { position: relative; z-index: 1; }
.contact-info h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; margin: 14px 0 18px; }
.contact-info p { color: var(--gray-300); max-width: 40ch; }
.contact-list { list-style: none; margin-top: 32px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ci {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(255,255,255,0.07); display: grid; place-items: center;
}
.contact-list .ci svg { width: 19px; height: 19px; color: var(--red); }
.contact-list b { display: block; font-weight: 600; }
.contact-list span { color: var(--gray-300); font-size: 0.9rem; }

.contact-form { position: relative; z-index: 1; display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--gray-300); letter-spacing: .02em; }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white); font-size: 0.98rem; font-family: inherit;
  transition: border-color .25s, background .25s, box-shadow .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(255,45,45,0.18);
}
.field.row { grid-template-columns: 1fr 1fr; gap: 16px; display: grid; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.form-msg { font-size: 0.9rem; min-height: 20px; }
.form-msg.ok { color: #6ee7a8; }
.form-msg.err { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: 70px 40px; border-top: 1px solid var(--line); background: var(--gray-50); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-col h5 { font-size: 0.82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--gray-700); font-size: 0.95rem; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-about p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; }
.footer-bottom {
  margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  color: var(--gray-500); font-size: 0.88rem;
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gray-700);
  transition: .3s var(--ease);
}
.footer-bottom .socials a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.footer-bottom .socials svg { width: 17px; height: 17px; }

/* ============================================================
   GROWTH / WARUM EINE NEUE WEBSITE
   ============================================================ */
.growth-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.growth-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
  margin: 16px 0 20px;
}
.growth-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.growth-copy p strong { color: var(--black); font-weight: 700; }
.growth-mini {
  margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.growth-mini .m {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px;
  background: var(--white); transition: border-color .3s, transform .3s var(--ease);
}
.growth-mini .m:hover { border-color: rgba(255,45,45,.4); transform: translateY(-4px); }
.growth-mini .m b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--red); }
.growth-mini .m span { font-size: .82rem; color: var(--muted); }

/* Chart card */
.chart-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.chart-card::before {
  content: ""; position: absolute; top: -30%; right: -20%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,45,.4), transparent 65%);
  filter: blur(36px); pointer-events: none;
}
.chart-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 16px; }
.chart-head h4 { font-size: 1.05rem; font-weight: 700; }
.chart-head .sub { color: var(--gray-300); font-size: .82rem; margin-top: 3px; }
.chart-head .delta {
  flex: none; background: rgba(255,45,45,.16); color: #ff6a5f;
  font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 100px;
  border: 1px solid rgba(255,45,45,.3); display: inline-flex; align-items: center; gap: 6px;
}
.chart-head .delta svg { width: 13px; height: 13px; }
.chart-wrap { position: relative; z-index: 1; margin-top: 10px; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid line { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.chart-axis text { fill: rgba(255,255,255,.4); font-size: 12px; font-family: var(--font); }
#growthChart { touch-action: none; cursor: pointer; }
.chart-line {
  fill: none; stroke: var(--red); stroke-width: 3.5;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 6px 14px rgba(255,45,45,.55));
  transition: d .12s linear;
}
.chart-area { fill: url(#areaGrad); opacity: 0; transition: opacity .9s ease .3s; }
.chart-card.in .chart-area { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .chart-area { opacity: 1; } }
.chart-dot { fill: var(--white); stroke: var(--red); stroke-width: 3; }
.chart-yaxis text { fill: rgba(255,255,255,.42); font-size: 11px; font-family: var(--font); }
.chart-marker line { stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart-marker .flag { fill: var(--red); }
.chart-marker .flag-t { fill: #fff; font-size: 10px; font-weight: 700; }

/* tooltip */
.chart-tip { transition: opacity .2s; pointer-events: none; }
.chart-tip rect { fill: #fff; }
.chart-tip text { fill: var(--black); font-size: 12px; font-weight: 700; font-family: var(--font); }

/* draggable handle */
.chart-handle { cursor: grab; }
.chart-handle:active { cursor: grabbing; }
.chart-handle .halo {
  fill: rgba(255,45,45,.22);
  animation: halo 2s ease-in-out infinite;
}
@keyframes halo { 0%,100% { r:14; opacity:.7;} 50% { r:18; opacity:.3;} }
.chart-handle .grip {
  fill: var(--red); stroke: #fff; stroke-width: 3;
  filter: drop-shadow(0 4px 12px rgba(255,45,45,.7));
  transition: r .15s var(--ease);
}
.chart-handle:hover .grip, .chart-handle:focus .grip { r: 10; }
.chart-handle:focus { outline: none; }
.chart-handle:focus-visible .halo { fill: rgba(255,45,45,.4); }
.chart-handle .bubble rect { fill: var(--red); }
.chart-handle .bubble text { fill: #fff; font-size: 13px; font-weight: 800; font-family: var(--font); }

.chart-hint {
  display: flex; align-items: center; gap: 8px;
  color: var(--gray-300); font-size: .82rem; margin-top: 14px;
  line-height: 1.4;
}
.chart-hint svg { width: 16px; height: 16px; color: var(--red); flex: none; }
@media (prefers-reduced-motion: reduce) { .chart-handle .halo { animation: none; } }

/* ============================================================
   GESCHÄFTSFÜHRUNG — COVER CARDS
   ============================================================ */
.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
}
.leader-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--gray-900);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
  transition: transform .8s var(--ease), filter .5s;
}
.leader-card:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
/* dezenter Verlauf — Foto bleibt im Ruhezustand clean */
.leader-card .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.42) 0%, rgba(5,5,5,0) 32%);
  transition: background .5s var(--ease);
}
.leader-card:hover .scrim {
  background: linear-gradient(to top, rgba(5,5,5,.9) 0%, rgba(5,5,5,.5) 32%, rgba(5,5,5,0) 62%);
}
.leader-card.open .scrim {
  background: linear-gradient(to top, rgba(5,5,5,.96) 32%, rgba(5,5,5,.78) 70%, rgba(5,5,5,.42) 100%);
}
/* Tag erscheint erst bei Interaktion */
.leader-card .tag {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  background: var(--red); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  box-shadow: var(--glow-red);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.leader-card:hover .tag, .leader-card:focus-visible .tag, .leader-card.open .tag {
  opacity: 1; transform: none;
}
/* content block that slides up */
.leader-card .info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 26px 26px 28px;
  color: #fff;
  transform: translateY(0);
  transition: transform .55s var(--ease);
}
/* Name/Rolle standardmäßig verborgen — fahren bei Hover/Klick hoch */
.leader-card .name-row {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s var(--ease), transform .55s var(--ease);
}
.leader-card:hover .name-row, .leader-card:focus-visible .name-row, .leader-card.open .name-row {
  opacity: 1; transform: translateY(0);
}
.leader-card.open .name-row { transform: translateY(-4px); }
.leader-card .info h4 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.leader-card .info .role { color: var(--red); font-weight: 600; font-size: .9rem; margin-top: 2px; }
/* hidden bio panel */
.leader-card .bio {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .55s var(--ease), opacity .45s var(--ease), margin .55s var(--ease);
  margin-top: 0;
}
.leader-card .bio > div { overflow: hidden; }
.leader-card .bio p { color: var(--gray-300); font-size: .95rem; line-height: 1.55; }
.leader-card .bio .contact { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.leader-card .bio .contact a {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px; border-radius: 100px; font-size: .82rem; font-weight: 500; color: #fff;
  transition: background .25s, border-color .25s;
}
.leader-card .bio .contact a:hover { background: var(--red); border-color: var(--red); }
.leader-card .bio .contact svg { width: 14px; height: 14px; }
.leader-card.open .bio { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
/* expand hint */
.leader-card .hint {
  position: absolute; right: 20px; bottom: 24px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: transform .5s var(--ease), background .3s;
}
.leader-card .hint svg { width: 18px; height: 18px; color: #fff; transition: transform .5s var(--ease); }
.leader-card:hover .hint { background: var(--red); border-color: var(--red); }
.leader-card.open .hint { transform: rotate(-180deg); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .services-grid .card { flex-basis: calc(50% - 10px); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .growth-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .case.span-4, .case.span-2, .case.span-3 { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
/* Desktop-Nav nur zeigen, solange sie wirklich in den Container passt — darunter Burger */
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .burger { display: grid; }
}
@media (max-width: 760px) {
  .header .brand { font-size: 1rem; gap: 8px; }
  .brand-title small { font-size: 9.5px; }
}
@media (max-width: 1080px) {
  .mobile-menu {
    position: fixed; inset: 86px 16px auto 16px; z-index: 99;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px; display: grid; gap: 6px;
    opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none;
    transition: .35s var(--ease);
  }
  body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { padding: 13px 14px; border-radius: 12px; font-weight: 500; transition: background .2s; }
  .mobile-menu a:hover { background: var(--gray-100); }
  .mobile-menu .btn { margin-top: 10px; justify-content: center; }
}
@media (max-width: 560px) {
  .services-grid .card { flex-basis: 100%; }
  .team-grid, .footer-grid, .stats { grid-template-columns: 1fr; }
  .leaders, .growth-mini { grid-template-columns: 1fr; }
  .card.dark { grid-column: span 1; }
  .field.row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
.mobile-menu { display: none; }
@media (max-width: 1080px) { .mobile-menu { display: grid; } }

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



/* ============================================================
   LEISTUNGS-KARTEN: Fly-in von den Seiten
   ============================================================ */
#leistungen .services-grid .card {
  opacity: 0;
  transition: opacity .85s var(--ease), transform .85s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
#leistungen .services-grid .card:nth-child(3n+1) { transform: translateX(-110px) rotate(-3deg); }
#leistungen .services-grid .card:nth-child(3n+2) { transform: translateY(70px) scale(.92); }
#leistungen .services-grid .card:nth-child(3n)   { transform: translateX(110px) rotate(3deg); }
#leistungen .services-grid .card.in { opacity: 1; transform: none; }
#leistungen .services-grid .card:nth-child(1) { transition-delay: .0s; }
#leistungen .services-grid .card:nth-child(2) { transition-delay: .1s; }
#leistungen .services-grid .card:nth-child(3) { transition-delay: .2s; }
#leistungen .services-grid .card:nth-child(4) { transition-delay: .12s; }
#leistungen .services-grid .card:nth-child(5) { transition-delay: .22s; }
#leistungen .services-grid .card:nth-child(6) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  #leistungen .services-grid .card { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   LOKALES HINTERGRUND-VIDEO (#wachstum) — assets/hintergrund.mp4
   ============================================================ */
#wachstum { overflow: hidden; }
#wachstum > .container { position: relative; z-index: 2; }
.wachstum-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

/* Video deckt den Bereich perfekt ab (object-fit: cover, kein Verzerren) */
.wf-mp4 {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1s var(--ease);
}
#wachstum.wf-on .wf-mp4 { opacity: 1; }

/* weiche Übergänge oben/unten ins Weiß + dezente Abdunklung links für Lesbarkeit */
.wf-scrim {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease);
  background:
    linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,0) 22%),
    linear-gradient(0deg, var(--white) 0%, rgba(255,255,255,0) 24%),
    linear-gradient(100deg, rgba(4,16,12,.72) 0%, rgba(4,16,12,.4) 34%, rgba(4,16,12,.1) 56%, transparent 76%);
}
#wachstum.wf-on .wf-scrim { opacity: 1; }

/* helle Typografie nur, wenn das Video läuft */
#wachstum.wf-on .growth-copy h2 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.6); }
#wachstum.wf-on .growth-copy p { color: rgba(255,255,255,.92); text-shadow: 0 1px 16px rgba(0,0,0,.65); }
#wachstum.wf-on .growth-copy p strong { color: #fff; }
#wachstum.wf-on .growth-mini .m { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); backdrop-filter: blur(8px); }
#wachstum.wf-on .growth-mini .m:hover { border-color: rgba(255,45,45,.6); }
#wachstum.wf-on .growth-mini .m span { color: rgba(255,255,255,.78); }

/* ---- eigenes Logo im Marken-Zeichen (assets/logo.png) ---- */
.brand-mark { overflow: hidden; }
.brand-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: 1; }

/* ---- Footer-Kontaktangaben ---- */
.footer-contact { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.footer-contact li { color: var(--gray-700); font-size: 0.92rem; overflow-wrap: anywhere; }
.footer-contact a { color: var(--gray-700); transition: color .2s; }
.footer-contact a:hover { color: var(--red); }

/* ============================================================
   FAQ / KLARTEXT — Akkordeon
   ============================================================ */
.faq-list { max-width: 1040px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
/* Jede Spalte ist ein eigener, unabhängiger Stapel: Aufklappen links verschiebt rechts NICHT */
.faq-col { display: flex; flex-direction: column; gap: 14px; align-self: start; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover { border-color: rgba(255,45,45,.35); }
.faq-item.open { border-color: rgba(255,45,45,.45); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 26px; text-align: left;
  font-size: 1.08rem; font-weight: 600; color: var(--black);
  transition: color .25s;
}
.faq-q:hover { color: var(--red); }
.faq-ic {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,45,45,.1); color: var(--red);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq-ic svg { width: 16px; height: 16px; }
.faq-item.open .faq-ic { transform: rotate(135deg); background: var(--red); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.faq-a p strong { color: var(--black); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
@media (max-width: 560px) { .faq-q { font-size: 1rem; padding: 18px 18px; gap: 14px; } .faq-a p { padding: 0 18px 20px; } }

/* ---- SEO/A11y: Skip-Link ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--black); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
  font-weight: 600; font-size: .95rem;
}
.skip-link:focus { left: 0; }

/* ============================================================
   UNTERSEITE: WARTUNG
   ============================================================ */
.sub-hero { padding-top: clamp(150px, 20vh, 210px); padding-bottom: clamp(24px, 4vw, 50px); text-align: center; }
.sub-hero .eyebrow { justify-content: center; }
.sub-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; max-width: 18ch; margin: 16px auto 18px; }
.sub-hero p.lead { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.28rem); max-width: 640px; margin: 0 auto 32px; }
.sub-hero .hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.wartung-intro { max-width: 820px; margin: 0 auto clamp(40px,6vw,70px); text-align: center; }
.wartung-intro h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px; }
.wartung-intro p { color: var(--muted); font-size: 1.1rem; }

.price-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 22px; }

/* CTA-Band mit Telefonnummer */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--black); color: #fff;
  border-radius: var(--radius-xl); padding: clamp(38px, 6vw, 70px);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,45,.4), transparent 65%); filter: blur(40px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; font-weight: 800; }
.cta-band p { color: var(--gray-300); max-width: 46ch; margin: 14px auto 26px; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.cta-phone svg { width: 28px; height: 28px; color: var(--red); }
.cta-phone:hover { color: var(--red); }
.cta-sub { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ============================================================
   MODERNE TECHNOLOGIE / 3D-ROBOTER (#tech)
   ============================================================ */
.tech {
  background: radial-gradient(120% 90% at 80% 10%, #241a2e 0%, #120f1d 40%, #08070f 75%, #050509 100%);
  color: #fff; overflow: hidden;
}
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.tech-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 20px; }
.tech-copy p { color: rgba(255,255,255,.75); font-size: 1.08rem; margin-bottom: 16px; max-width: 52ch; }
.tech-copy p strong { color: #fff; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.tech-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 9px 15px; border-radius: 100px; backdrop-filter: blur(6px);
}
.tech-chips span svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.tech-3d {
  position: relative; width: 100%; height: clamp(360px, 46vw, 560px);
  border-radius: var(--radius-xl); overflow: hidden;
}
.tech-3d spline-viewer { width: 100%; height: 100%; display: block; }
/* Ladeanzeige, bis Spline geladen ist */
.tech-3d::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255,45,45,.18), transparent 60%);
}
@media (max-width: 880px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-3d { height: clamp(320px, 80vw, 460px); order: -1; }
}

/* ============================================================
   LIVE-DEMOS / 3D-PHONE-GALERIE (#demos)
   ============================================================ */
.demos { background: var(--black); color: #fff; overflow: hidden; }
.demos .section-head h2 { color: #fff; }
.demos .section-head p { color: rgba(255,255,255,.65); }

/* 3D-Bühne */
.demo-stage {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(10px, 2vw, 30px);
  perspective: 1800px;
  padding: 20px 0 10px;
}
.demo-phone {
  position: relative; margin: 0;
  width: 384px; height: 772px; flex: 0 0 auto;
  border-radius: 48px;
  /* Der Smartphone-Rahmen kommt aus der Demo selbst (12px-Bezel + Notch);
     hier nur Schlagschatten für die Tiefe — kein doppelter Rahmen */
  box-shadow: 0 40px 74px -26px rgba(0,0,0,.9);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Live-Demo im iframe — füllt den kompletten Rahmen (kein innerer Spalt, kein Beschnitt) */
.demo-phone iframe {
  width: 100%; height: 100%; border: 0; display: block;
  border-radius: 48px; background: #0b0b0f;
  color-scheme: normal;
}
.demo-phone figcaption {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.72);
}
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* Gefächerte 3D-Anordnung */
.demo-stage .demo-phone:nth-child(1) { transform: rotateY(15deg) translateZ(-60px) scale(.9); }
.demo-stage .demo-phone:nth-child(2) { transform: translateY(-14px) scale(.98); z-index: 3; }
.demo-stage .demo-phone:nth-child(3) { transform: rotateY(-15deg) translateZ(-60px) scale(.9); }
.demo-stage .demo-phone:hover {
  transform: rotateY(0deg) translateY(-18px) scale(1.03); z-index: 6;
  box-shadow: 0 56px 96px -24px rgba(0,0,0,.95);
}

/* Responsiv verkleinern, damit die größeren Handys überall passen */
@media (max-width: 1240px) { .demo-stage { zoom: .84; } }
@media (max-width: 1080px) { .demo-stage { zoom: .72; } }
@media (max-width: 940px)  { .demo-stage { zoom: .64; } }

/* Mobil-Link (Standard versteckt) */
.demo-mobile-link { display: none; }

@media (max-width: 900px) {
  .demo-stage { display: none; }
  .demo-mobile-link {
    display: flex; align-items: center; gap: 16px;
    max-width: 440px; margin: 8px auto 0;
    padding: 20px 22px; border-radius: 20px;
    background: linear-gradient(155deg, #17171c, #0d0d10);
    border: 1px solid rgba(255,255,255,.12);
    text-decoration: none; color: #fff;
    transition: border-color .3s, transform .3s;
  }
  .demo-mobile-link:active { transform: scale(.98); }
  .demo-mobile-ic {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center; background: var(--red);
    box-shadow: 0 8px 20px -6px rgba(255,45,45,.6);
  }
  .demo-mobile-ic svg { width: 22px; height: 22px; color: #fff; }
  .demo-mobile-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; }
  .demo-mobile-txt b { font-size: 1.02rem; font-weight: 700; }
  .demo-mobile-txt small { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.3; }
  .demo-mobile-arrow { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }
}

/* ============================================================
   DEMO-SEITE (demos.html) — gestapelte Galerie
   ============================================================ */
.demos-page { padding-top: 10px; }
.demos-page-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
.demo-card {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.demo-card.alt { grid-template-columns: 1fr 300px; }
.demo-card.alt .demo-card-phone { order: 2; }
.demo-card-phone {
  width: 300px; margin: 0 auto; padding: 12px; border-radius: 40px;
  background: linear-gradient(155deg, #2a2a30, #101013);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(255,255,255,.08);
  position: relative;
}
.demo-card-phone::before {
  content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 8px; border-radius: 100px; background: #000; z-index: 4;
}
.demo-card-screen {
  height: 560px; overflow-y: auto; border-radius: 30px; background: #0b0b0e;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.demo-card-screen img { width: 100%; display: block; }
.demo-card-info .demo-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--red);
  background: rgba(255,45,45,.1); border: 1px solid rgba(255,45,45,.25);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.demo-card-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.demo-card-info p { color: var(--muted); font-size: 1.06rem; line-height: 1.6; max-width: 46ch; }

.cta-band-wrap { padding-top: 0; }

@media (max-width: 820px) {
  .demo-card, .demo-card.alt { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .demo-card.alt .demo-card-phone { order: 0; }
  .demo-card-info p { margin-inline: auto; }
  .demo-card-info .demo-tag { margin-inline: auto; }
  .demo-card-screen { height: 500px; }
}

/* ============================================================
   KOMPLETTPAKET / RUNDUM-SORGLOS-SEITE (komplettpaket.html)
   ============================================================ */
.pkg-section { padding-block: clamp(40px, 6vw, 74px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

.pkg-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 30px; max-width: 700px; }
.pkg-hero-badges span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; color: var(--text);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 16px; box-shadow: var(--shadow-sm);
}
.pkg-hero-badges span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* Prozess-Stepper */
.pkg-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pkg-step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pkg-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--black); color: #fff;
  font-weight: 800; font-size: 1.12rem; margin-bottom: 16px;
}
.pkg-step:nth-child(3) .pkg-num { background: var(--red); box-shadow: var(--glow-red); }
.pkg-step h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.pkg-step p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pkg-step::after { content: ""; position: absolute; top: 51px; right: -9px; width: 18px; height: 2px; background: var(--line); }
.pkg-step:last-child::after { display: none; }

/* Vorteile-Grid */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; }
.pkg-benefit {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 26px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.pkg-benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(255,45,45,.28); }
.pkg-check { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,45,45,.1); color: var(--red); }
.pkg-check svg { width: 22px; height: 22px; }
.pkg-benefit h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 7px; }
.pkg-benefit p { color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* Sorglos-Zusicherung (dunkles Band) */
.pkg-assurance {
  position: relative; overflow: hidden; text-align: center;
  background: var(--black); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(44px, 6vw, 76px); box-shadow: var(--shadow-lg);
}
.pkg-assurance::before {
  content: ""; position: absolute; top: -45%; left: 50%; transform: translateX(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,45,.4), transparent 65%); filter: blur(45px);
}
.pkg-assurance > * { position: relative; z-index: 1; }
.pkg-assurance .eyebrow { justify-content: center; color: #ff6a6a; }
.pkg-assurance h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 14px auto 16px; max-width: 20ch; }
.pkg-assurance p { color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 640px; margin: 0 auto; line-height: 1.6; }
.pkg-assurance .text-red { color: #ff6a6a; }

@media (max-width: 1000px) {
  .pkg-process { grid-template-columns: repeat(2, 1fr); }
  .pkg-step::after { display: none; }
}
@media (max-width: 560px) {
  .pkg-process { grid-template-columns: 1fr; }
  .pkg-benefit { padding: 22px; }
}

/* ============================================================
   DARK THEME — globale Umstellung: Schwarz · Weiß · Rot
   (heller Nav-Pill bleibt bewusst wie in der Vorlage)
   ============================================================ */

/* Hintergrund-Deko */
.bg-grid {
  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);
}
.bg-orb.soft { background: radial-gradient(circle, rgba(124,72,255,0.14), transparent 70%); }

/* Hero blendet nach unten ins Schwarz statt ins Weiß */
.hero::after { background: linear-gradient(to bottom, rgba(6,6,8,0), var(--bg)); }

/* Stats-Streifen */
.stat { background: var(--surface); }
.stat:hover { background: var(--surface-2); }

/* Service-Karten */
.card { background: var(--surface); }
.card .icon { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.card:nth-child(odd) .icon { box-shadow: 0 10px 26px -8px rgba(255,45,45,.5); }
.card .tags span { background: rgba(255,255,255,.06); color: rgba(255,255,255,.72); }
.card.dark { background: linear-gradient(160deg, #1c1114, #0b0b0e); border: 1px solid rgba(255,45,45,.30); }
.card.dark .tags span { background: rgba(255,255,255,.08); color: var(--gray-300); }

/* Projekte-Browser-Mockup */

/* Team-Karten */
.member { background: var(--surface); }

/* Pricing */
.plan { background: var(--surface); }
.plan ul li { color: rgba(255,255,255,.76); }
.plan.featured { background: linear-gradient(160deg, #1c1114, #0b0b0e); border: 1px solid rgba(255,45,45,.32); }

/* Growth-Kacheln */
.growth-mini .m { background: var(--surface); }
.growth-copy p strong { color: #fff; }

/* FAQ */
.faq-item { background: var(--surface); }
.faq-q { color: var(--text); }
.faq-a p strong { color: #fff; }

/* Footer */
.footer { background: #08080a; }
.footer-col a, .footer-contact li, .footer-contact a { color: rgba(255,255,255,.62); }
.footer-col a:hover, .footer-contact a:hover { color: var(--red); }
.footer-col h5, .footer-bottom { color: rgba(255,255,255,.48); }
.footer-bottom .socials a { color: rgba(255,255,255,.7); }

/* Logo-Row Hover */
.logo-row .logo:hover { color: #fff; }

/* Dunkle Panels klar abgrenzen (auf fast-schwarzem Grund) */
.contact-wrap, .cta-band, .pkg-assurance, .chart-card { border: 1px solid rgba(255,255,255,.08); }

/* ---- Komplettpaket-Seite ---- */
.pkg-hero-badges span { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: none; }
.pkg-step { background: var(--surface); }
.pkg-num { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.pkg-step:nth-child(3) .pkg-num { background: var(--red); box-shadow: var(--glow-red); }
.pkg-benefit { background: var(--surface); }

/* Wachstums-Video-Scrim: heller Fade -> Schwarz */
.wf-scrim {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6,6,8,0) 22%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,6,8,0) 24%),
    linear-gradient(100deg, rgba(4,16,12,.72) 0%, rgba(4,16,12,.4) 34%, rgba(4,16,12,.1) 56%, transparent 76%);
}

/* Mobiles Menü dunkel (Desktop-Nav bleibt hell wie Vorlage) */
@media (max-width: 760px) {
  .mobile-menu { background: rgba(14,14,18,.95); border-color: rgba(255,255,255,.10); }
  .mobile-menu a:hover { background: rgba(255,255,255,.06); }
}

/* ============================================================
   ROTE PANELS (Komplettpaket): "Du musst dich um nichts kümmern"
   + "Bereit für dein Rundum-sorglos-Paket?" — volle rote Fläche
   ============================================================ */
.pkg-assurance.red-panel,
.cta-band.red-panel {
  background:
    radial-gradient(120% 130% at 12% 6%, rgba(255,140,104,.45), transparent 52%),
    radial-gradient(130% 150% at 92% 104%, rgba(140,14,20,.60), transparent 55%),
    linear-gradient(140deg, #ff4038 0%, #db1f24 52%, #9c1319 100%);
  border: none;
  box-shadow: 0 34px 84px -26px rgba(255,45,45,.55);
}
/* Deko-Glow/Grid entfernen */
.red-panel::before,
.red-panel::after { display: none !important; }
/* Text durchgängig weiß */
.red-panel h2,
.red-panel .cta-phone { color: #fff !important; }
.red-panel p { color: rgba(255,255,255,.92) !important; }
.red-panel .eyebrow,
.red-panel .text-red { color: #fff !important; }
.red-panel .eyebrow::before { background: #fff; }
.red-panel .cta-phone svg { color: #fff; }
.red-panel .cta-phone:hover { color: rgba(255,255,255,.85); }

/* ============================================================
   TECH-STACK / TOOLS — Vertrauens-Logokarussell
   ============================================================ */
.tools { overflow: hidden; }
.tools-marquee { margin-top: clamp(30px, 5vw, 56px); }
.tools-marquee .mq-track { animation-duration: 46s; }
.tlogo {
  flex: none; display: inline-flex; align-items: center;
  padding: 0 clamp(26px, 4vw, 56px);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.02em; white-space: nowrap;
  color: #ececf0;
  transition: transform .3s var(--ease);
}
.tlogo:hover { transform: translateY(-2px); }

/* Tech-Stack: echte SVG-Logos (Höhe fix, Seitenverhältnis erhalten) */
.tlogo svg { height: clamp(30px, 3.2vw, 40px); width: auto; flex: none; margin-right: 14px; display: block; }
/* Webflow als Full-Logo (Zeichen + Wortmarke), ohne zusätzliches Text-Label */
.tlogo.full { padding-inline: clamp(30px, 4.5vw, 60px); }
.tlogo.full svg { height: clamp(22px, 2.5vw, 30px); margin-right: 0; }

/* ============================================================
   TERMIN BUCHEN — Cal.com Buchungssektion (Dark + Rot)
   ============================================================ */
.booking { padding: clamp(70px, 9vw, 120px) 0; }
.booking-head { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.booking-head h2 { margin: 14px 0 16px; }
.booking-head > p {
  color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.72;
  max-width: 660px; margin-inline: auto;
}
.booking-points {
  list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left;
}
.booking-points li { display: flex; gap: 13px; align-items: flex-start; }
.bp-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,45,45,.12); border: 1px solid rgba(255,45,45,.30);
  color: var(--red);
}
.bp-ic svg { width: 21px; height: 21px; }
.booking-points b { display: block; color: var(--text); font-size: 1rem; margin-bottom: 3px; }
.booking-points span { color: var(--muted); font-size: .9rem; line-height: 1.5; }

.booking-embed {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(8px, 1.4vw, 18px);
  box-shadow: 0 44px 100px -46px rgba(0,0,0,.75);
}
.booking-fallback {
  text-align: center; color: var(--muted); font-size: .9rem; margin: 16px 6px 4px;
}

/* Terminbuchung: Link auf cal.com statt Embed. Hier stand vorher das
   660px hohe #my-cal-inline plus ein Consent-Gate davor — beides raus,
   siehe Kommentar an der Stelle in index.html. */
.booking-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 13px;
  padding: clamp(34px, 5.5vw, 62px) clamp(20px, 4vw, 40px);
  border-radius: 16px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255,45,45,0.07), transparent 62%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.booking-cta-ic { width: 42px; height: 42px; color: var(--red); opacity: .85; }
.booking-cta h3 {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--text);
}
.booking-cta p {
  color: var(--muted); font-size: .97rem; line-height: 1.65; max-width: 44ch; margin: 0;
}
.booking-cta .btn { margin-top: 8px; font-size: 1.02rem; padding: 15px 30px; }
.booking-cta a:not(.btn) { color: var(--red); border-bottom: 1px solid rgba(255,45,45,.35); }
.booking-cta a:not(.btn):hover { border-color: var(--red); }
.booking-cta-alt { font-size: .87rem !important; opacity: .8; margin-top: 2px !important; }
@media (max-width: 760px) {
  .booking-points { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin-inline: auto; }
}

/* ============================================================
   GLOBALER ATMOSPHÄRISCHER HINTERGRUND (Stil der #tech-Sektion)
   — zieht sich fixiert über die ganze Website
   ============================================================ */
body { background: #060510; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 55% at 84% 16%, rgba(205,58,88,0.22), transparent 62%),
    radial-gradient(85% 70% at 72% 20%, rgba(104,60,140,0.30), transparent 66%),
    radial-gradient(70% 60% at 12% 82%, rgba(70,44,104,0.22), transparent 64%),
    linear-gradient(160deg, #191225 0%, #120d1e 46%, #0a0813 100%);
}
/* Sektionen, die bisher flaches Schwarz malten, transparent schalten */
.demos { background: transparent; }
.footer { background: transparent; }
.tech { background: transparent; }
/* Hero unten weich in die Atmosphäre auslaufen lassen (statt auf einen geratenen
   Farbton zu faden, direkt auf durchsichtig — dahinter liegt exakt dieselbe fixierte
   Atmosphäre wie bei allen anderen Übergängen, also immer exaktes Match) */
.hero::after { background: linear-gradient(to bottom, rgba(6,5,16,0), transparent); }

/* ============================================================
   PERFORMANCE — Repaints eindämmen (weniger Ruckeln beim Scrollen)
   ============================================================ */
/* Footer offscreen aussparen (kein Anker-Ziel im Scrollpfad -> keine Sprünge) */
.footer { content-visibility: auto; contain-intrinsic-size: auto 520px; }
/* Demo-iframes isolieren, damit ihre Repaints nicht auf die Seite durchschlagen */
.demo-phone iframe { contain: content; }

/* ============================================================
   VERGLEICH — Kraftwerk vs. andere Agenturen (Pricing-Stil)
   ============================================================ */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.6vw, 30px);
  max-width: 940px; margin-inline: auto; align-items: start;
}
.compare-card {
  position: relative;
  border-radius: 24px;
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line);
  background: var(--surface);
}
/* Unsere Spalte: hervorgehoben (Farbe, Schatten, Anhebung, Badge) */
.compare-card--us {
  border-color: rgba(255,45,45,.55);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,45,45,.16), transparent 60%),
    linear-gradient(180deg, #17131a 0%, #120f16 100%);
  box-shadow: 0 44px 100px -34px rgba(255,45,45,.5), 0 10px 30px -14px rgba(0,0,0,.7);
  transform: translateY(-10px);
}
.compare-card--them { opacity: .96; }
.compare-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 12px 26px -8px rgba(255,45,45,.75);
}
.compare-head { text-align: center; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.compare-name { display: block; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.compare-card--us .compare-name { color: #fff; }
.compare-sub { display: block; margin-top: 7px; font-size: .92rem; color: var(--muted); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 0; }
.compare-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .98rem; line-height: 1.42; color: var(--text);
}
.compare-card--them .compare-list li { color: var(--muted); }
.ci-yes, .ci-no {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
}
.ci-yes { background: rgba(48,209,124,.16); color: #30d17c; }
.ci-no  { background: rgba(255,45,45,.14);  color: #ff4d4d; }
.ci-yes svg, .ci-no svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; gap: 30px; }
  .compare-card--us { transform: none; }
}

/* ============================================================
   RECHTSTEXT-SEITEN (Impressum, Datenschutz, Widerruf)
   ============================================================ */
.legal { padding: clamp(120px, 15vh, 185px) 0 clamp(60px, 9vw, 110px); }
.legal .container { max-width: 900px; }
.legal .eyebrow { margin-bottom: 16px; }
.legal-body { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.legal-body h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.02em; color: var(--text); margin: 0 0 10px; font-weight: 800; }
.legal-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--text); margin: 42px 0 12px; font-weight: 800; letter-spacing: -.01em; }
.legal-body h3 { font-size: 1.18rem; color: var(--text); margin: 28px 0 8px; font-weight: 700; }
.legal-body h4 { font-size: 1.02rem; color: var(--text); margin: 20px 0 6px; font-weight: 700; }
.legal-body h5 { font-size: .95rem; color: var(--text); margin: 16px 0 6px; font-weight: 700; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal-body a:hover { color: #ff6a6a; }
.legal-body strong { color: var(--text); }
.legal-body em { color: rgba(245,245,247,.72); }
.legal-divider { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.legal-note {
  margin-top: 40px; padding: clamp(20px,3vw,30px); border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.legal-note h2 { margin-top: 0; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; color: var(--muted); font-weight: 600; }
.legal-back:hover { color: var(--red); }
.legal-back svg { width: 18px; height: 18px; }


/* ============================================================
   RATGEBER (.rg-*) — Übersicht + Artikel
   ============================================================ */

/* Ratgeber-Inhalt schließt direkt an den Sub-Hero an —
   die globale section-Regel (padding-block bis 160px) reißt sonst ein Loch. */
.rg-section { padding-top: clamp(8px, 1.6vw, 22px); }

/* ---------- Übersicht: Artikel-Karten ---------- */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  padding-bottom: clamp(50px, 8vw, 90px);
}
.rg-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.rg-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255,45,45,0.10), transparent 60%);
  opacity: 0; transition: opacity .45s var(--ease); pointer-events: none;
}
.rg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,45,45,0.34);
  box-shadow: var(--shadow-lg);
}
.rg-card:hover::before { opacity: 1; }

/* Erste Karte quer über die volle Breite (Featured) */
.rg-card.featured { grid-column: 1 / -1; }
@media (min-width: 900px) {
  /* Featured-Karte ohne Deko-Kachel: volle Breite, groessere Headline,
     Text auf Lesebreite begrenzt statt ueber 900px zu laufen */
  .rg-card.featured { padding: clamp(30px, 3.2vw, 44px); }
  .rg-card.featured h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .rg-card.featured .rg-card-body > p { max-width: 62ch; }
}
.rg-card-body { display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }

.rg-tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(255,45,45,0.4);
  border-radius: 100px; padding: 6px 13px;
}
.rg-card h2 {
  font-size: 1.32rem; line-height: 1.22; letter-spacing: -0.02em; font-weight: 800;
  margin: 16px 0 10px;
}
.rg-card h2 a { transition: color .25s; }
.rg-card:hover h2 a { color: var(--red); }
.rg-card p { color: var(--muted); font-size: .97rem; line-height: 1.6; }

.rg-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
  color: var(--muted); font-size: .82rem;
}
.rg-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

.rg-more {
  margin-top: 22px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .93rem; color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 100px; padding: 11px 20px;
  transition: background .3s, border-color .3s, gap .3s var(--ease), color .3s;
}
.rg-more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.rg-card:hover .rg-more { background: var(--red); border-color: var(--red); color: #fff; }
.rg-card:hover .rg-more svg { transform: translateX(4px); }

/* ---------- Artikel-Seite ---------- */
.rg-breadcrumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  justify-content: center;
  color: var(--muted); font-size: .84rem;
  margin-bottom: 22px;
}
.rg-breadcrumb a:hover { color: var(--red); }
.rg-breadcrumb svg { width: 13px; height: 13px; opacity: .5; }
.rg-breadcrumb [aria-current] { color: var(--text); }

.rg-hero-meta {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: .88rem;
  margin-bottom: 8px;
}
.rg-hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* Artikel-Layout: Inhalt + Sticky-Inhaltsverzeichnis */
.rg-layout {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(50px, 8vw, 90px);
}
@media (min-width: 1000px) {
  .rg-layout { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
  .rg-toc { position: sticky; top: 108px; }
}

.rg-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.rg-toc h2 {
  font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.rg-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.rg-toc li { counter-increment: toc; }
.rg-toc a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 8px 10px; border-radius: 9px;
  font-size: .9rem; line-height: 1.4; color: var(--muted);
  transition: background .25s, color .25s;
}
.rg-toc a::before {
  content: counter(toc); font-size: .74rem; font-weight: 800; color: var(--red); flex: none;
}
.rg-toc a:hover { background: rgba(255,255,255,0.05); color: var(--text); }

/* Fließtext */
.rg-prose { max-width: 72ch; }
.rg-prose > p, .rg-prose > ul, .rg-prose > ol { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.rg-prose > p { margin-bottom: 22px; }
.rg-prose > p.rg-lead {
  font-size: 1.2rem; line-height: 1.65; color: var(--text);
  padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.rg-prose h2 {
  font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 800;
  color: var(--text);
  margin: 52px 0 18px; scroll-margin-top: 110px;
}
.rg-prose h2:first-child { margin-top: 0; }
.rg-prose h3 {
  font-size: 1.16rem; font-weight: 700; letter-spacing: -0.015em; color: var(--text);
  margin: 32px 0 12px;
}
.rg-prose ul, .rg-prose ol { padding-left: 4px; margin-bottom: 22px; display: grid; gap: 11px; }
.rg-prose ul { list-style: none; }
.rg-prose ul > li { position: relative; padding-left: 28px; }
.rg-prose ul > li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--red);
}
.rg-prose ol { list-style: none; counter-reset: rgol; }
.rg-prose ol > li { position: relative; padding-left: 34px; counter-increment: rgol; }
.rg-prose ol > li::before {
  content: counter(rgol); position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,45,45,0.14); border: 1px solid rgba(255,45,45,0.34);
  color: var(--red); font-size: .74rem; font-weight: 800;
  display: grid; place-items: center;
}
.rg-prose strong { color: var(--text); font-weight: 700; }
.rg-prose a:not(.btn) {
  color: var(--red); font-weight: 600;
  border-bottom: 1px solid rgba(255,45,45,0.35);
  transition: border-color .25s;
}
.rg-prose a:not(.btn):hover { border-color: var(--red); }

/* Merkkasten */
.rg-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 30px 0;
}
.rg-note h3 {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin: 0 0 9px;
}
.rg-note p { color: var(--text); font-size: 1rem; line-height: 1.65; margin: 0; }

/* Kernaussagen-Kasten oben */
.rg-takeaways {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  margin-bottom: 40px;
}
.rg-takeaways h2 {
  font-size: .76rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px !important;
}
.rg-takeaways ul { list-style: none; display: grid; gap: 12px; margin: 0; }
.rg-takeaways li {
  position: relative; padding-left: 30px;
  color: var(--text); font-size: 1rem; line-height: 1.55;
}
.rg-takeaways li::before {
  content: ""; position: absolute; left: 0; top: .25em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,45,45,0.16); border: 1px solid rgba(255,45,45,0.45);
}
.rg-takeaways li::after {
  content: ""; position: absolute; left: 6px; top: .55em;
  width: 5px; height: 8px;
  border: solid var(--red); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* FAQ im Artikel (zahlt auf FAQPage-Schema ein) */
.rg-faq { margin-top: 56px; }
.rg-faq > h2 { margin-bottom: 20px; }
.rg-faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .3s;
}
.rg-faq details[open] { border-color: rgba(255,45,45,0.3); }
.rg-faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.rg-faq summary::-webkit-details-marker { display: none; }
.rg-faq summary::after {
  content: ""; flex: none;
  width: 9px; height: 9px;
  border: solid var(--red); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
}
.rg-faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.rg-faq details > div { padding: 0 22px 20px; color: var(--muted); line-height: 1.7; }

/* Weiterlesen-Block (interne Verlinkung) */
.rg-related { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.rg-related > h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.rg-related-list { display: grid; gap: 12px; }
.rg-related-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.rg-related-list a:hover { border-color: rgba(255,45,45,0.35); transform: translateX(4px); }
.rg-related-list span { font-weight: 600; color: var(--text); }
.rg-related-list small { display: block; color: var(--muted); font-weight: 400; font-size: .84rem; margin-top: 3px; }
.rg-related-list svg { width: 17px; height: 17px; color: var(--red); flex: none; }

/* ============================================================
   LEISTUNGSSEITEN (.ls-*)
   ============================================================ */

.ls-section { padding-top: clamp(8px, 1.6vw, 22px); }
.ls-block { max-width: 940px; margin-inline: auto; }
.ls-block + .ls-block { margin-top: clamp(52px, 7vw, 88px); }
.ls-block > h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.025em;
  font-weight: 800; color: var(--text); margin-bottom: 14px; scroll-margin-top: 110px;
}
.ls-block > p.ls-intro {
  color: var(--muted); font-size: 1.06rem; line-height: 1.7; max-width: 68ch; margin-bottom: 30px;
}

/* Fuer-wen-Karten */
.ls-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ls-aud {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .3s, transform .3s var(--ease);
}
.ls-aud:hover { border-color: rgba(255,45,45,.3); transform: translateY(-4px); }
.ls-aud h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ls-aud p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* Leistungsumfang */
.ls-scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ls-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
  position: relative; overflow: hidden;
}
.ls-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); opacity: .8;
}
.ls-item h3 { font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ls-item p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* Ablauf-Schritte */
.ls-steps { display: grid; gap: 14px; counter-reset: ls; list-style: none; }
.ls-steps li {
  counter-increment: ls; position: relative; padding: 22px 26px 22px 74px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.ls-steps li::before {
  content: counter(ls); position: absolute; left: 24px; top: 21px;
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(255,45,45,.13); border: 1px solid rgba(255,45,45,.4);
  color: var(--red); font-weight: 800; font-size: .95rem;
  display: grid; place-items: center;
}
.ls-steps h3 { font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.ls-steps p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* Warum-wir-Liste */
.ls-why { display: grid; gap: 12px; list-style: none; }
.ls-why li {
  position: relative; padding-left: 34px; color: var(--muted);
  font-size: 1rem; line-height: 1.65;
}
.ls-why li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,45,45,.15); border: 1px solid rgba(255,45,45,.45);
}
.ls-why li::after {
  content: ""; position: absolute; left: 6.5px; top: .62em;
  width: 5px; height: 9px; border: solid var(--red); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ls-why strong { color: var(--text); }

/* ============================================================
   ANIMATIONEN — Nachtrag 2026-07-17
   Alles hier haengt am bestehenden .reveal/.in-Mechanismus
   (IntersectionObserver in js/main.js). Kein zweiter Mechanismus.
   prefers-reduced-motion ist global geregelt und schaltet alles ab.
   ============================================================ */

/* --- Ratgeber-Karten gestaffelt einblenden ------------------
   Vorher erschienen alle Karten einer Zeile gleichzeitig. Der Versatz
   laeuft je Zeile von links nach rechts (3n-Muster statt fortlaufend —
   sonst hinge Karte 11 bei 600ms Verzoegerung und wirkte wie ein Hänger). */
.rg-grid > .rg-card:nth-child(3n + 1) { transition-delay: 0ms; }
.rg-grid > .rg-card:nth-child(3n + 2) { transition-delay: 70ms; }
.rg-grid > .rg-card:nth-child(3n + 3) { transition-delay: 140ms; }

/* --- Leistungsseite: Ablauf-Schritte nacheinander -----------
   Der Ablauf erklaert den Prozess — die Schritte sollen sich auch so
   aufbauen, statt als Block zu erscheinen. */
.ls-steps li {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease),
              border-color .3s, background .3s;
}
.ls-block.reveal.in .ls-steps li { opacity: 1; transform: none; }
.ls-block.reveal.in .ls-steps li:nth-child(1) { transition-delay: .05s; }
.ls-block.reveal.in .ls-steps li:nth-child(2) { transition-delay: .15s; }
.ls-block.reveal.in .ls-steps li:nth-child(3) { transition-delay: .25s; }
.ls-block.reveal.in .ls-steps li:nth-child(4) { transition-delay: .35s; }
.ls-block.reveal.in .ls-steps li:nth-child(5) { transition-delay: .45s; }

/* Fuer-wen- und Umfang-Karten ebenfalls gestaffelt */
/* transition MUSS hier alle spaeter animierten Eigenschaften nennen —
   eine zweite transition-Regel wuerde diese sonst komplett ersetzen. */
.ls-audience > .ls-aud,
.ls-scope > .ls-item {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease),
              border-color .3s, background .3s;
}
.ls-block.reveal.in .ls-aud,
.ls-block.reveal.in .ls-item { opacity: 1; transform: none; }
.ls-block.reveal.in .ls-aud:nth-child(2),
.ls-block.reveal.in .ls-item:nth-child(2) { transition-delay: .07s; }
.ls-block.reveal.in .ls-aud:nth-child(3),
.ls-block.reveal.in .ls-item:nth-child(3) { transition-delay: .14s; }
.ls-block.reveal.in .ls-aud:nth-child(4),
.ls-block.reveal.in .ls-item:nth-child(4) { transition-delay: .21s; }
.ls-block.reveal.in .ls-item:nth-child(5) { transition-delay: .28s; }
.ls-block.reveal.in .ls-item:nth-child(6) { transition-delay: .35s; }

/* --- Hover-Rueckmeldung auf Umfang- und Ablauf-Karten -------
   .ls-aud hatte schon Hover, .ls-item und .ls-steps nicht.
   Kein erneutes "transition:" hier — das steht oben und wuerde sonst
   die Einblend-Animation ueberschreiben. */
.ls-block.reveal.in .ls-item:hover { border-color: rgba(255,45,45,.32); transform: translateY(-4px); }
.ls-item::before { transition: width .3s var(--ease), opacity .3s; }
.ls-item:hover::before { width: 4px; opacity: 1; }

.ls-block.reveal.in .ls-steps li:hover { border-color: rgba(255,45,45,.3); background: var(--surface-2); }
.ls-steps li::before { transition: transform .3s var(--ease), background .3s, border-color .3s; }
.ls-steps li:hover::before { transform: scale(1.1); background: rgba(255,45,45,.22); border-color: var(--red); }

/* --- FAQ weicher aufklappen ---------------------------------
   <details> springt von Natur aus hart auf. Eine echte Hoehen-Animation
   braeuchte JS; der Inhalt blendet stattdessen weich ein — das nimmt
   dem Sprung die Haerte, ohne Zusatz-Code. */
@keyframes rg-faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.rg-faq details[open] > div { animation: rg-faq-open .3s var(--ease) both; }
.rg-faq summary { transition: background .25s, color .25s; }
.rg-faq summary:hover { background: rgba(255,255,255,.03); }
