/* even · Sales-Website — Seitenlayout und Marken-Design.
   Farben und Radien folgen der even-Plattform (beta.evenlogistics.de):
   Koralle #ff5131, Buttermilch-/Rosé-/Flieder-Tönungen, Inter. */

@font-face {
  font-family: "Inter var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-opsz.woff2") format("woff2-variations"),
       url("../fonts/inter-var-opsz.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ersatzschrift, solange Inter lädt: Arial auf die Laufweite von Inter skaliert, damit die Zeilen gleich
   umbrechen und beim Schriftwechsel nichts springt (CLS). Gemessen: Fließtext ist Inter 3,6 % breiter als
   Arial, Überschriften (opsz 32, fett, enge Laufweite) 5,7 % schmaler. ascent/descent = Inter-Metrik
   (1984/494 bei 2048 Einheiten) geteilt durch size-adjust. */
@font-face { font-family: "Inter fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 103.6%; ascent-override: 93.5%; descent-override: 23.3%; line-gap-override: 0%; }
@font-face { font-family: "Inter fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold");
  size-adjust: 103.6%; ascent-override: 93.5%; descent-override: 23.3%; line-gap-override: 0%; }
@font-face { font-family: "Inter fallback display"; font-weight: 100 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold");
  size-adjust: 94.3%; ascent-override: 102.7%; descent-override: 25.6%; line-gap-override: 0%; }

:root {
  color-scheme: light;

  --bg: #fdfdfc;
  --surface: #ffffff;
  --surface-2: #f7f7f5;
  --ink: #23252d;
  --ink-2: #565965;
  --ink-3: #6b6e79; /* ≥ 4,5:1 auf Hintergrund und Karten (WCAG AA) */
  --line: #ecebe8;
  --line-2: #e0dfdb;

  --brand: #ff5131;
  --brand-hover: #f0421f;
  --brand-strong: #c2330f;
  --brand-tint: #fff1ed;
  --brand-soft: #ffdbe8;

  --butter: #fcf7d4;
  --butter-2: #fff6d6;
  --rose: #fae1ee;
  --lilac: #efe9fa;
  --mint: #e2fbe6;
  --sky: #dcf9fb;

  --chip-green: #8aee91;
  --chip-lilac: #b89eff;
  --chip-cyan: #00deec;
  --chip-gold: #ffc300;

  --ok: #0f9f6e;
  --dark: #15161b;
  --dark-2: #1d1f26;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-soft: 0 0 0 1px rgb(43 45 53 / 5%), 0 1px 2px rgb(0 0 0 / 5%);
  --shadow-md: 0 0 0 1px rgb(43 45 53 / 5%), 0 8px 24px rgb(43 45 53 / 8%);
  --shadow-xl: 0 0 0 1px rgb(43 45 53 / 6%), 0 40px 90px -30px rgb(43 45 53 / 35%),
               0 18px 40px -18px rgb(43 45 53 / 22%);

  --font: "Inter var", "Inter", "Inter fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter var", "Inter", "Inter fallback display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 640; letter-spacing: -0.028em; line-height: 1.08; font-variation-settings: "opsz" 32; }
ul { margin: 0; padding: 0; list-style: none; }
.tabular { font-variant-numeric: tabular-nums; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; font-weight: 560; letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}
.btn .icon { font-size: 17px; transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { --h: 38px; padding: 0 15px; font-size: 14px; border-radius: 11px; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 8px 20px -8px rgb(255 81 49 / 65%);
}
.btn-primary:hover { background: var(--brand-hover); box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 12px 26px -10px rgb(255 81 49 / 75%); }
.btn-ghost { background: rgb(255 255 255 / 70%); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: #cfcec9; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-on-dark { background: rgb(255 255 255 / 8%); color: #fff; border-color: rgb(255 255 255 / 16%); }
.btn-on-dark:hover { background: rgb(255 255 255 / 14%); }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgb(253 253 252 / 82%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgb(43 45 53 / 7%);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 26px; width: auto; }
.brand-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  padding: 3px 8px; border-radius: 999px; background: rgb(255 255 255 / 70%); box-shadow: var(--shadow-soft);
}
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 12px; border-radius: 10px;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--ink); background: rgb(43 45 53 / 5%); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: rgb(255 255 255 / 72%); box-shadow: var(--shadow-soft); margin-right: 4px; }
.lang-switch a { font-size: 12.5px; font-weight: 640; letter-spacing: .02em; padding: 5px 9px; border-radius: 8px; color: var(--ink-3); transition: color .15s ease, background-color .15s ease; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.menu-toggle {
  display: none; margin-left: 4px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 80%); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { font-size: 20px; }
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 12px auto 12px; z-index: 49;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-xl); padding: 10px;
}
.mobile-nav a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 520; }
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-nav a.btn { display: flex; width: 100%; margin-top: 8px; padding: 0 20px; }
body.menu-open .mobile-nav { display: block; }

/* ------------------------------------------------------------------ Section scaffolding */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-soft);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgb(255 81 49 / 16%); }
.section-head h2, .h2 { margin-top: 18px; font-size: clamp(32px, 4.6vw, 52px); }
.section-head .lead, .lead { margin-top: 18px; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); }
.accent { color: var(--brand); }
.muted { color: var(--ink-2); }

/* Speech-bubble chips (even-Signatur) */
.bubbles { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bubble {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 620; color: #1d1f24; padding: 6px 12px; border-radius: 10px;
  box-shadow: 0 1px 0 rgb(0 0 0 / 6%);
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px;
  background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1;
}
.bubble-green { background: var(--chip-green); }
.bubble-lilac { background: var(--chip-lilac); }
.bubble-cyan { background: var(--chip-cyan); }
.bubble-gold { background: var(--chip-gold); }
.bubble:nth-child(2) { transform: translateY(-6px); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 12% 0%, #ffe7ad 0%, rgb(255 231 173 / 0%) 70%),
    radial-gradient(45% 55% at 92% 6%, #ffd2e2 0%, rgb(255 210 226 / 0%) 70%),
    radial-gradient(40% 40% at 55% 30%, #ffe1d2 0%, rgb(255 225 210 / 0%) 70%),
    linear-gradient(180deg, #fff3e8 0%, #fdf8f2 46%, var(--bg) 78%);
}
.hero-bg::after {
  /* feines Punktraster, blendet nach unten aus */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(43 45 53 / 9%) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 55%), transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 55%), transparent 55%);
}
.hero-copy { text-align: center; max-width: 980px; }
.hero h1 { margin-top: 30px; font-size: clamp(42px, 7.2vw, 84px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 660; }
.hero h1 .accent { white-space: nowrap; }
.hero .lead { max-width: 700px; margin: 24px auto 0; font-size: clamp(17px, 1.75vw, 20px); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.trust-row { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 13.5px; color: var(--ink-2); }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .icon { color: var(--ok); font-size: 16px; }

.hero-stage { position: relative; margin-top: clamp(48px, 7vw, 76px); }
.hero-visual { position: relative; max-width: 1120px; margin: 0 auto; perspective: 2000px; }
.hero-window { transform-origin: 50% 0; transform: rotateX(var(--tilt, 10deg)) scale(var(--tilt-scale, .97)); transition: transform .1s linear; will-change: transform; }
.hero-glow {
  position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px; filter: blur(60px); opacity: .55;
  background: radial-gradient(50% 50% at 30% 40%, #ff9a7f, transparent 70%), radial-gradient(50% 50% at 75% 60%, #c9b5ff, transparent 70%);
}

.float-card {
  position: absolute; z-index: 3; background: rgb(255 255 255 / 92%); backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: var(--shadow-xl); padding: 14px 16px; min-width: 196px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .fc-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.float-card .fc-value { font-size: 26px; font-weight: 660; letter-spacing: -0.03em; line-height: 1.15; margin-top: 2px; font-variant-numeric: tabular-nums; }
.float-card .fc-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.float-card .fc-sub .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.float-card.fc-1 { left: -52px; top: 54%; }
.float-card.fc-2 { right: -46px; top: -30px; animation-delay: -2.4s; }
.float-card.fc-3 { right: 7%; bottom: -36px; animation-delay: -4.6s; }
.fc-spark { margin-top: 8px; width: 168px; height: 40px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Prozess-Leiste unter dem Hero-Fenster */
.flow-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 1080px; margin: 46px auto 0; position: relative; }
.flow-rail a {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgb(255 255 255 / 72%); box-shadow: var(--shadow-soft); font-size: 14px; font-weight: 560;
  transition: transform .2s ease, box-shadow .2s ease;
}
.flow-rail a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.flow-rail .num { font-size: 12px; font-weight: 650; color: var(--brand); font-variant-numeric: tabular-nums; }
.flow-rail .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.flow-rail .ico .icon { font-size: 16px; }
.flow-rail a:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 8px; z-index: 2;
  border-top: 1.6px solid var(--ink-3); border-right: 1.6px solid var(--ink-3); transform: translateY(-50%) rotate(45deg);
}

/* ------------------------------------------------------------------ Tech strip */

/* ------------------------------------------------------------------ Problem / Nutzen */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; position: relative; overflow: hidden;
}
.compare-card .from { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.compare-card .from s { text-decoration-color: rgb(138 141 151 / 70%); }
.compare-card .to { margin-top: 10px; font-size: 24px; font-weight: 640; letter-spacing: -0.025em; line-height: 1.2; font-variation-settings: "opsz" 32; }
.compare-card p { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.compare-card .tint { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; filter: blur(30px); opacity: .9; z-index: 0; }
.compare-card > *:not(.tint) { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ Prozess */
.process-section { background: linear-gradient(180deg, var(--bg) 0%, #fbf8f3 18%, #fbf8f3 82%, var(--bg) 100%); }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0 auto 72px; max-width: 1160px; }
.pipeline-line { position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.pipeline-pulse {
  position: absolute; top: 26px; left: 12.5%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 6px rgb(255 81 49 / 18%), 0 0 24px rgb(255 81 49 / 60%);
  animation: pulse-run 6s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes pulse-run { 0% { left: 10%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.pipeline-step { position: relative; text-align: center; }
.pipeline-step .node {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; position: relative; z-index: 1;
  background: #fff; box-shadow: var(--shadow-md); color: var(--brand);
}
.pipeline-step .node .icon { font-size: 26px; }
.pipeline-step .k { margin-top: 14px; font-size: 12px; font-weight: 650; letter-spacing: .1em; color: var(--brand); }
.pipeline-step .t { margin-top: 2px; font-size: 18px; font-weight: 640; letter-spacing: -0.02em; }
.pipeline-step .d { margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.5; padding: 0 8px; }

.steps { display: grid; gap: clamp(72px, 9vw, 120px); }
.step { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.step-kicker .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; letter-spacing: 0; }
.step h3 { margin-top: 16px; font-size: clamp(28px, 3.2vw, 38px); }
.step p.body { margin-top: 16px; font-size: 17px; color: var(--ink-2); line-height: 1.65; }
.checklist { margin-top: 22px; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.checklist .icon { color: var(--brand); font-size: 18px; margin-top: 2px; }
.step-note {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-soft);
}
.step-note .icon { color: var(--brand); font-size: 16px; }

.micro-card {
  position: relative; border-radius: var(--radius-xl); padding: 14px; isolation: isolate;
  background: linear-gradient(140deg, var(--tint-a, #fff3d9), var(--tint-b, #ffe3ec));
}
.micro-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(rgb(43 45 53 / 7%) 1px, transparent 1.2px); background-size: 18px 18px; opacity: .7;
}
.micro-card .micro-caption {
  position: absolute; left: 26px; top: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink); background: rgb(255 255 255 / 85%); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.micro-caption .live { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.micro-replay {
  position: absolute; right: 24px; top: 22px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / 85%); box-shadow: var(--shadow-soft); display: grid; place-items: center; color: var(--ink-2);
}
.micro-replay:hover { color: var(--ink); background: #fff; }
.micro-replay .icon { font-size: 15px; }

/* ------------------------------------------------------------------ Screens / Galerie */
.gallery-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 auto 28px; }
.gallery-tab {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 0;
  background: transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 560; cursor: pointer; overflow: hidden;
  transition: color .15s ease, background-color .15s ease;
}
.gallery-tab .icon { font-size: 16px; }
.gallery-tab:hover { color: var(--ink); background: rgb(43 45 53 / 4%); }
.gallery-tab[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: var(--shadow-md); }
.gallery-tab .bar { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.gallery-tab[aria-selected="true"] .bar { background: rgb(255 81 49 / 15%); }
.gallery-tab .bar i { display: block; height: 100%; width: 0; background: var(--brand); }
.gallery-window { max-width: 1120px; margin: 0 auto; position: relative; }
.gallery-window::before {
  content: ""; position: absolute; inset: 6% 4% -4%; z-index: -1; border-radius: 40px; filter: blur(60px); opacity: .45;
  background: radial-gradient(50% 50% at 25% 40%, #ffc7b8, transparent 70%), radial-gradient(50% 50% at 80% 60%, #d9ccff, transparent 70%);
}
.gallery-captions { max-width: 1120px; margin: 28px auto 0; }
.gallery-caption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: start; }
.gallery-caption[hidden] { display: none; }
.gallery-caption h3 { font-size: 24px; letter-spacing: -0.025em; grid-column: 1; }
.gallery-caption p { grid-column: 1; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.gallery-caption .checklist { grid-column: 2; grid-row: 1 / span 2; margin-top: 4px; }
.gallery-caption .checklist li { font-size: 15px; }

/* ------------------------------------------------------------------ Bento-Funktionen */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 24px; min-height: 220px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgb(43 45 53 / 6%), 0 22px 44px -18px rgb(43 45 53 / 25%); }
.tile.wide { grid-column: span 3; }
.tile.xwide { grid-column: span 4; }
.tile .t-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.tile .t-ico .icon { font-size: 20px; }
.tile h3 { margin-top: 16px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.tile p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.tile .tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile .tags span { font-size: 12px; font-weight: 520; color: var(--ink-2); padding: 3px 9px; border-radius: 999px; background: var(--surface-2); }
.tile.tint-butter { background: linear-gradient(160deg, #fffbe5, #fff); }
.tile.tint-rose { background: linear-gradient(160deg, #fff0f6, #fff); }
.tile.tint-lilac { background: linear-gradient(160deg, #f5f0ff, #fff); }
.tile.tint-mint { background: linear-gradient(160deg, #ecfdf0, #fff); }
.tm-label { margin-top: 18px; font-size: 11.5px; font-weight: 620; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tech-minis { margin-top: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tm-more { background: rgb(255 255 255 / 55%); box-shadow: inset 0 0 0 1px var(--line-2); }
.tm-more svg { background: transparent; }
.tm { background: #fff; border-radius: 12px; box-shadow: var(--shadow-soft); padding: 10px 10px 9px; transition: transform .2s ease; }
.tile:hover .tm:nth-child(odd) { transform: translateY(-2px); }
.tile:hover .tm:nth-child(even) { transform: translateY(2px); }
.tm svg { width: 100%; height: auto; aspect-ratio: 120 / 70; background: #fcfcfc; border-radius: 7px; }
.tm-n { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.tm-n i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.tm-s { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
@media (max-width: 1080px) { .tech-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tech-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ ROI-Rechner (dunkles Band) */
.roi { background: var(--dark); color: #f4f4f2; overflow: hidden; isolation: isolate; }
.roi::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 10% 0%, rgb(255 81 49 / 28%), transparent 70%),
    radial-gradient(35% 45% at 95% 100%, rgb(184 158 255 / 20%), transparent 70%),
    radial-gradient(30% 30% at 70% 10%, rgb(255 195 0 / 10%), transparent 70%);
}
.roi .eyebrow { background: rgb(255 255 255 / 8%); color: #d9d9de; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); }
.roi .section-head .lead { color: #b5b6bf; }
.roi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 20px; align-items: stretch; }
.roi-panel {
  border-radius: var(--radius-xl); background: rgb(255 255 255 / 4.5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 9%);
  padding: clamp(24px, 3.4vw, 40px); backdrop-filter: blur(6px);
}
.roi-field + .roi-field { margin-top: 34px; }
.roi-field .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.roi-field label { font-size: 15px; font-weight: 560; color: #e9e9ec; }
.roi-field output { font-size: 34px; font-weight: 660; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; }
.roi-field output small { font-size: 15px; font-weight: 520; color: #a5a6b0; margin-left: 4px; letter-spacing: 0; }
.roi-field .hint { margin-top: 2px; font-size: 13px; color: #9a9ba6; }

.range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin-top: 12px; background: transparent; cursor: pointer; }
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand) 0 var(--p), rgb(255 255 255 / 12%) var(--p) 100%);
}
.range::-moz-range-track { height: 8px; border-radius: 99px; background: rgb(255 255 255 / 12%); }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--brand); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 0 0 6px rgb(255 81 49 / 28%), 0 4px 12px rgb(0 0 0 / 40%);
  transition: box-shadow .15s ease, transform .15s ease;
}
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgb(255 81 49 / 28%), 0 4px 12px rgb(0 0 0 / 40%); }
.range:hover::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgb(255 81 49 / 35%), 0 4px 12px rgb(0 0 0 / 40%); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 9px rgb(255 81 49 / 35%), 0 4px 12px rgb(0 0 0 / 40%); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: #80818c; margin-top: 2px; font-variant-numeric: tabular-nums; }

.roi-even {
  margin-top: 34px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(120deg, rgb(255 81 49 / 18%), rgb(255 81 49 / 6%)); box-shadow: inset 0 0 0 1px rgb(255 81 49 / 35%);
}
.roi-even .badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.roi-even .badge .icon { font-size: 22px; }
.roi-even strong { display: block; font-size: 16px; color: #fff; font-weight: 620; }
.roi-even span { font-size: 13.5px; color: #c9c9cf; }
.roi-rate { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: #a5a6b0; }
.roi-rate input {
  width: 84px; height: 34px; border-radius: 9px; border: 0; background: rgb(255 255 255 / 8%); color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%); padding: 0 10px; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums;
}
.roi-rate input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand); }

.roi-result { display: flex; flex-direction: column; }
.roi-result .big-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a5a6b0; }
.roi-big { margin-top: 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.roi-big .num {
  font-size: clamp(56px, 8vw, 92px); font-weight: 680; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #ffc2b5); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.roi-big .unit { font-size: 22px; font-weight: 600; color: #fff; }
.roi-big-sub { margin-top: 6px; font-size: 16px; color: #c9c9cf; }
.roi-bars { margin-top: 30px; display: grid; gap: 14px; }
.roi-bar .lbl { display: flex; justify-content: space-between; font-size: 13.5px; color: #c9c9cf; margin-bottom: 7px; font-variant-numeric: tabular-nums; }
.roi-bar .lbl b { color: #fff; font-weight: 620; }
.roi-bar .track { height: 14px; border-radius: 99px; background: rgb(255 255 255 / 7%); overflow: hidden; }
.roi-bar .fill { height: 100%; border-radius: 99px; width: 0; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.roi-bar.today .fill { background: linear-gradient(90deg, #6f717d, #9c9ea9); }
.roi-bar.even .fill { background: linear-gradient(90deg, var(--brand), #ff8a6f); min-width: 6px; }
.roi-kpis { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.roi-kpi { border-radius: 16px; background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%); padding: 14px 16px; }
.roi-kpi .v { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.roi-kpi .l { font-size: 12.5px; color: #a5a6b0; line-height: 1.4; margin-top: 2px; }
.roi-foot { margin-top: auto; padding-top: 24px; font-size: 12.5px; color: #8b8c97; line-height: 1.55; }
.roi-cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Zielgruppen */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud-card { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); padding: 28px; display: flex; flex-direction: column; }
.aud-card .tag { align-self: flex-start; font-size: 12px; font-weight: 620; padding: 5px 10px; border-radius: 8px; color: #1d1f24; }
.aud-card h3 { margin-top: 18px; font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; }
.aud-card p { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.aud-card .checklist { margin-top: 18px; }
.aud-card .checklist li { font-size: 14.5px; }

/* ------------------------------------------------------------------ Aufzeichnung der Live-Demo (Formular) */
.rec-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #fff5dc 0%, #ffeef3 55%, #f3eeff 100%);
}
.rec-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgb(43 45 53 / 6%) 1px, transparent 1.2px); background-size: 20px 20px; }
.rec-copy h2 { font-size: clamp(30px, 3.8vw, 44px); margin-top: 18px; text-wrap: balance; }
.rec-copy .checklist li { text-wrap: pretty; }
.rec-copy p { margin-top: 16px; font-size: 17px; color: var(--ink-2); line-height: 1.65; }
.rec-card { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(22px, 3vw, 32px); }
.rec-card [hidden] { display: none !important; }
.rec-form { display: grid; gap: 20px; }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 13.5px; font-weight: 580; }
.field input, .field select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; padding-right: 40px; cursor: pointer; }
.field select:invalid { color: var(--ink-3); }
.field select option { color: var(--ink); }
.select { position: relative; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); font-size: 18px; }
.field input:hover, .field select:hover { border-color: #cfcec9; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(255 81 49 / 14%); }
.field [aria-invalid="true"] { border-color: #d92d20; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(217 45 32 / 14%); }
.field-err { font-size: 12.5px; line-height: 1.4; color: #b42318; }
.rec-consent { display: grid; gap: 10px; }
.rec-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.rec-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.rec-check input[aria-invalid="true"] { outline: 2px solid #d92d20; outline-offset: 2px; }
.rec-legal { font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.rec-legal a, .rec-status a, .rec-done-demo a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.rec-submit { justify-self: start; }
.rec-submit[disabled] { opacity: .7; cursor: progress; }
.rec-status { font-size: 14px; line-height: 1.5; color: #b42318; background: #fef3f2; border-radius: 10px; padding: 10px 12px; }
.rec-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rec-done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.rec-done:focus { outline: none; }
.rec-done-ico { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 26px; }
.rec-done h3 { margin-top: 18px; font-size: 28px; }
.rec-done p { margin: 10px auto 0; max-width: 380px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.rec-done .btn { margin-top: 20px; }
.rec-done .rec-done-demo { margin-top: 22px; font-size: 14px; }
.rec-done .rec-done-demo a { white-space: nowrap; }

/* ------------------------------------------------------------------ Evi */
.evi-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #f3eeff 0%, #fdf2f8 55%, #fff8e6 100%);
}
.evi-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgb(43 45 53 / 6%) 1px, transparent 1.2px); background-size: 20px 20px; }
.evi-copy h2 { font-size: clamp(30px, 3.8vw, 44px); margin-top: 18px; }
.evi-copy p { margin-top: 16px; font-size: 17px; color: var(--ink-2); line-height: 1.65; }
.chat { position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-xl); padding: 18px; max-width: 520px; margin-left: auto; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 38px; height: 38px; border-radius: 12px; background: var(--lilac); }
.chat-head b { font-size: 14.5px; }
.chat-head span { display: block; font-size: 12px; color: var(--ink-3); }
.chat-body { display: grid; gap: 12px; padding: 16px 2px 6px; min-height: 290px; align-content: start; }
.msg { max-width: 88%; font-size: 14px; line-height: 1.5; padding: 10px 13px; border-radius: 14px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.msg.show { opacity: 1; transform: none; }
.msg.user { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { justify-self: start; background: var(--surface-2); border-bottom-left-radius: 5px; }
.msg.bot .act { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--brand); background: #fff; padding: 5px 9px; border-radius: 8px; box-shadow: var(--shadow-soft); }
.msg.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite ease-in-out; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.evi-mascot { position: absolute; z-index: 2; width: 132px; left: -70px; bottom: -30px; filter: drop-shadow(0 18px 24px rgb(80 50 140 / 25%)); }

/* ------------------------------------------------------------------ Sicherheit */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sec-item { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); padding: 20px; }
.sec-item .icon { font-size: 22px; color: var(--ink); }
.sec-item h3 { margin-top: 14px; font-size: 16.5px; letter-spacing: -0.015em; line-height: 1.3; }
.sec-item p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ------------------------------------------------------------------ FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: 16.5px; font-weight: 580; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); transition: transform .25s ease, background-color .2s ease; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--brand-tint); color: var(--brand); }
.faq-item .a { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; max-width: 720px; }

/* ------------------------------------------------------------------ Final CTA */
.final-cta { padding: 20px 0 clamp(80px, 10vw, 120px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; text-align: center;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  background:
    radial-gradient(60% 80% at 15% 0%, #ffe7ad, transparent 70%),
    radial-gradient(50% 70% at 90% 10%, #ffd2e2, transparent 70%),
    radial-gradient(50% 60% at 60% 100%, #e7dcff, transparent 70%),
    #fff6ee;
}
.cta-card h2 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.04em; max-width: 1020px; margin: 18px auto 0; text-wrap: balance; }
.cta-card p { max-width: 620px; margin: 18px auto 0; font-size: 18px; color: var(--ink-2); }
.cta-card .evi-peek { position: absolute; width: 120px; right: 7%; bottom: -14px; transform: rotate(-6deg); filter: drop-shadow(0 16px 20px rgb(80 50 140 / 22%)); }

/* ------------------------------------------------------------------ Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid .footer-h { margin: 0; line-height: 1.4;  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 620; }
.footer-grid ul { margin-top: 12px; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand img { height: 64px; width: auto; }
.footer-social { margin-top: 16px; display: flex; gap: 14px; }
.footer-grid .footer-social a { display: inline-flex; color: var(--ink); transition: opacity .15s ease; }
.footer-grid .footer-social a:hover { color: var(--ink); opacity: .6; }
.footer-social svg { width: 24px; height: 24px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------------ Reveal-on-scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .float-card.fc-1 { left: -8px; }
  .float-card.fc-2 { right: -8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide, .tile.xwide { grid-column: span 1; }
  .tile.xwide { grid-column: span 2; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header-cta .btn-ghost { display: none; }
  .compare-grid, .audience-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-copy { order: 0; }
  .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .pipeline-line, .pipeline-pulse { display: none; }
  .roi-grid { grid-template-columns: 1fr; }
  .evi-wrap { grid-template-columns: 1fr; }
  .rec-wrap { grid-template-columns: 1fr; }
  .chat { margin: 0 auto; }
  .evi-mascot { left: auto; right: -14px; bottom: auto; top: -64px; width: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-caption { grid-template-columns: 1fr; }
  .gallery-caption .checklist { grid-column: 1; grid-row: auto; }
  .flow-rail { display: flex; flex-wrap: wrap; justify-content: center; }
  .flow-rail a { flex: 0 1 calc(50% - 5px); }
  .flow-rail a::after { display: none !important; }
  .float-card { display: none; }
}
@media (max-width: 560px) {
  .header-cta .btn-primary { --h: 38px; padding: 0 13px; font-size: 13.5px; }
  .brand-tag { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.xwide { grid-column: span 1; }
  .sec-grid { grid-template-columns: 1fr; }
  .roi-kpis { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .rec-submit { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .hero h1 .accent { white-space: normal; }
  .gallery-tab { padding: 0 12px; font-size: 13.5px; }
  .gallery-tab .icon { display: none; }
  .micro-card { padding: 10px; border-radius: 22px; }
  .micro-card .micro-caption { top: 12px; left: 14px; font-size: 11px; padding: 4px 9px; gap: 6px; }
  .micro-replay { top: 9px; right: 12px; width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .pipeline-pulse, .micro-caption .live, .evi-motion, .evi-eye, .evi-wave, .evi-sparkle { animation: none; }
  .hero-window { transform: none !important; }
}

/* Sprachumschalter: auf kleinen Bildschirmen ins Menü verschieben */
.mobile-lang { display: none; padding: 6px 8px 2px; }
@media (max-width: 560px) {
  .header-cta .lang-switch { display: none; }
  .mobile-lang { display: block; }
  .mobile-lang .lang-switch a { padding: 7px 14px; font-size: 13.5px; }
}

/* Evi wie im Produkt (frontend/components/agent/evi): Körper + Augen-Ebene mit Blinzeln + Effekte */
.evi { display: block; aspect-ratio: 1; pointer-events: none; user-select: none; }
.evi-motion { position: absolute; inset: 0; transform-origin: 50% 96.9%; }
.evi img { position: absolute; display: block; max-width: none; }
.evi .evi-body { inset: 0; width: 100%; height: 100%; }
.evi[data-pose="greet"] .evi-motion { animation: evi-wave 1.1s ease-in-out infinite; }
.evi[data-pose="happy"] .evi-motion { animation: evi-float 3.6s ease-in-out infinite; }
.evi-eye { transform-origin: 50% 55%; animation: evi-blink 8s linear infinite; }
.evi-wave { animation: evi-wave-line .55s ease-in-out infinite both; }
.evi-sparkle { animation: evi-sparkle 1.1s ease-in-out infinite both; }
@keyframes evi-float { 0%, 100% { transform: translateY(0) scale(1.012, .988); } 50% { transform: translateY(-3.5%) scale(.994, 1.006); } }
@keyframes evi-wave { 0%, 100% { transform: rotate(0) translateY(0); } 20% { transform: rotate(-6deg) translateY(-2%); } 45% { transform: rotate(5deg) translateY(-3%); } 70% { transform: rotate(-3deg) translateY(-1%); } }
@keyframes evi-blink { 0%, 45%, 47%, 87%, 89%, 91%, 93%, 100% { transform: scaleY(1); } 46%, 88%, 92% { transform: scaleY(.1); } }
@keyframes evi-wave-line { 0%, 100% { opacity: .2; transform: translate(-12%, 12%) scale(.8); } 50% { opacity: 1; transform: translate(0, 0) scale(1); } }
@keyframes evi-sparkle { 0%, 100% { opacity: .55; transform: scale(.55) rotate(-12deg); } 50% { opacity: 1; transform: scale(1.12) rotate(10deg); } }

/* Skala unter dem gestuften Projekte-Regler: Labels an der Daumenposition (Daumen 26 px) */
.range-scale.abs { position: relative; display: block; height: 16px; }
.range-scale.abs span { position: absolute; left: calc(13px + (100% - 26px) * var(--f)); transform: translateX(-50%); }

/* „Zum Inhalt springen“ wird beim Fokussieren per Tastatur sichtbar */
a.sr-only:focus-visible {
  position: fixed; left: 16px; top: 12px; z-index: 100; width: auto; height: auto; margin: 0; clip: auto; white-space: normal;
  padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-xl);
}

/* Stimmen aus der Praxis (nur sichtbar, wenn echte Zitate hinterlegt sind) */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote-card { margin: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); position: relative; padding-top: 26px; }
.quote-card blockquote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-size: 64px; line-height: 1; color: var(--brand); font-weight: 700; }
.quote-card figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 14px; }
.quote-card figcaption span { color: var(--ink-2); }

/* ------------------------------------------------------------------ Laufband über dem Header (z. B. Webinar) */
:root { --announce-h: 0px; }
html.has-announce { --announce-h: 40px; scroll-padding-top: calc(var(--header-h) + var(--announce-h) + 12px); }
.site-header { top: var(--announce-h); }
.mobile-nav { top: calc(var(--header-h) + var(--announce-h)); }
.hero { padding-top: calc(var(--header-h) + var(--announce-h) + clamp(56px, 8vw, 96px)); }
.announce { display: none; }
html.has-announce .announce {
  display: flex; position: fixed; inset: 0 0 auto 0; z-index: 52; height: var(--announce-h); align-items: center; overflow: hidden;
  background: linear-gradient(90deg, #1a1b21, #262833 50%, #1a1b21); color: #e8e8ec; font-size: 13.5px;
}
.announce-link {
  flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent);
}
.announce-track { display: inline-flex; flex: none; white-space: nowrap; animation: announce-run 60s linear infinite; }
.announce:hover .announce-track, .announce:focus-within .announce-track { animation-play-state: paused; }
.announce-item { display: inline-flex; align-items: center; gap: 10px; padding-right: 72px; }
.announce-item b { font-weight: 640; color: #fff; }
.announce-sep { color: #8b8c97; }
.announce-live {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.announce-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
.announce-cta { color: #ff8f75; font-weight: 640; text-decoration: underline; text-underline-offset: 3px; }
.announce-link:hover .announce-cta, .announce-link:focus-visible .announce-cta { color: #fff; }
.announce-link:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; border-radius: 6px; }
.announce-close { flex: none; width: 44px; height: 100%; border: 0; background: transparent; color: #a5a6b0; display: grid; place-items: center; cursor: pointer; }
.announce-close:hover { color: #fff; }
.announce-close .icon { font-size: 16px; }
@keyframes announce-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { html.has-announce .announce { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .announce-item[aria-hidden] { display: none; }
  .announce-link { justify-content: center; -webkit-mask-image: none; mask-image: none; padding-left: 44px; }
  .announce-item { padding-right: 0; }
}
