/* KIM – KI im Mittelstand — im Stil von v-und-s.de: weiß, Petrol, eckige Kanten, Haarlinien, zentrierte Überschriften.
   Bewusst nur helles Theme (wie die V&S-Website); alle Farben explizit gesetzt. */
:root {
  --petrol: #006D7E;
  --petrol-dark: #00525F;
  --tuerkis: #179BB1;
  --grau: #C5C5C4;
  --ink: #272727;
  --text: #333333;
  --muted: #5B6668;
  --bg: #FFFFFF;
  --soft: #F2F6F6;
  --line: #9CC3C9;
  --on-dark: #FFFFFF;
  --c-discovery: #179BB1;
  --c-build: #006D7E;
  --c-solver: #0F3D45;
  --font: "Outfit", "Campton", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1140px;
  --shadow: 0 6px 28px rgba(0, 61, 70, 0.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Kopfzeile */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.header-right { display: flex; align-items: center; gap: 26px; min-width: 0; }
.header-right .nav { min-width: 0; }
.vs-link { display: block; line-height: 0; }
.vs-link img { height: 40px; width: auto; }
.brand span { font-weight: 600; letter-spacing: 0.02em; font-size: 1rem; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nav a { text-decoration: none; color: var(--ink); text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.06em; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--petrol); border-bottom-color: var(--petrol); }

/* Hero im Stil der V&S Winter School: dunkle Fläche links, durchlaufende Fotos rechts */
.hero { position: relative; color: var(--on-dark); background: #0C2A30; overflow: hidden; overflow: clip; min-height: min(calc(100svh - 75px), 820px); display: flex; align-items: center; }
.h-bg { position: absolute; inset: 0 0 0 28%; margin: 0; overflow: hidden; z-index: 0; }
.h-slides { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; transform: translate3d(0, calc(var(--hp, 0) * 60px), 0); }
.h-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 0.9s ease, transform 5s linear; }
.h-slides img.on { opacity: 1; transform: scale(1); }
.h-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0C2A30 0%, rgba(12, 42, 48, 0.9) 18%, rgba(12, 42, 48, 0.55) 40%, rgba(12, 42, 48, 0.1) 66%, rgba(12, 42, 48, 0) 80%), linear-gradient(0deg, rgba(12, 42, 48, 0.55) 0%, rgba(12, 42, 48, 0) 32%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(64px, 9vw, 110px); }
.hero h1 { color: var(--on-dark); max-width: 14ch; font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; }
.hero h1 .hl { color: #5CC8D9; }
.hero .lead { margin-top: 22px; max-width: 50ch; font-size: 1.2rem; color: #E6F0F1; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 500; margin-bottom: 18px; color: var(--tuerkis); }
.hero .eyebrow { color: #8FD3DE; letter-spacing: 0.22em; }
.hero .actions { margin-top: 34px; }
.h-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; }
.h-stats div { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, 0.3); display: grid; gap: 2px; }
.h-stats div:first-child { padding-left: 0; border-left: none; }
.h-stats b { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.h-stats span { font-size: 0.92rem; color: #CFE3E6; max-width: 15ch; line-height: 1.35; }
.h-dots { position: absolute; z-index: 2; right: max(16px, calc((100vw - var(--wrap)) / 2 + 16px)); bottom: 28px; display: flex; gap: 10px; }
.h-dots button { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, 0.35); cursor: pointer; position: relative; overflow: hidden; }
.h-dots button::after { content: ""; position: absolute; inset: 0; background: #5CC8D9; transform: scaleX(0); transform-origin: left; }
.h-dots button.on::after { animation: dotrun var(--dur, 5.5s) linear forwards; }
@keyframes dotrun { to { transform: scaleX(1); } }
.js .h-anim { opacity: 0; transform: translateY(26px); }
.js .hero.ready .h-anim { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 130ms + 120ms); }

/* Laufband unter dem Hero */
.ticker { background: var(--petrol); color: #fff; overflow: hidden; white-space: nowrap; padding-block: 14px; }
.ticker-track { display: inline-flex; animation: tick 38s linear infinite; }
.ticker span { font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: ""; width: 7px; height: 7px; background: #8FD3DE; transform: rotate(45deg); margin-left: 22px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Geteilter Hero für Produktseiten */
.split-hero { border-bottom: 1px solid var(--soft); }
.split-hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.split-hero .text { min-width: 0; }
.split-hero .lead { margin-top: 20px; font-size: 1.18rem; color: var(--muted); max-width: 52ch; }
.split-hero figure { margin: 0; position: relative; }
.split-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-hero figure::before { content: ""; position: absolute; left: -14px; top: 14px; width: 100%; height: 100%; background: var(--accent, var(--petrol)); z-index: -1; }
.split-hero .actions { margin-top: 30px; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--accent, var(--petrol)); margin-bottom: 16px; }
.tag::before { content: ""; width: 28px; height: 3px; background: var(--accent, var(--petrol)); }

/* Buttons wie auf v-und-s.de: eckig, Petrol-Kontur */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 12px 24px; border: 1px solid var(--petrol); color: var(--petrol); background: var(--bg); text-decoration: none; font-weight: 500; font-size: 0.98rem; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--petrol); color: var(--on-dark); }
.btn.solid { background: var(--petrol); color: var(--on-dark); }
.btn.solid:hover { background: var(--petrol-dark); border-color: var(--petrol-dark); }
.hero .btn { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.hero .btn:hover { background: var(--on-dark); color: var(--petrol); }
.hero .btn.solid { background: var(--on-dark); color: var(--petrol); border-color: var(--on-dark); }

/* Abschnitte, getrennt durch Haarlinie */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section.soft { background: var(--soft); border-top: none; }
.section.soft + .section { border-top: none; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose.center { margin: 0 auto; }
.prose strong { color: var(--ink); font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.media-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.media-row.flip { grid-template-columns: 1.1fr 0.9fr; }
.media-row > * { min-width: 0; }
.media-row figure { margin: 0; }
.media-row figure img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* Karten wie die Fallstudien-Kacheln */
.card { background: var(--bg); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card .meta { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.card p { color: var(--text); }
.card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card.top { border-top: 4px solid var(--accent, var(--petrol)); }

/* Produktkarten mit Foto */
.product { background: var(--bg); box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0, 61, 70, 0.16); }
.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 4px solid var(--accent); }
.product .kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; }
.product .more { margin-top: auto; color: var(--petrol); font-weight: 500; padding-top: 8px; }

/* Schaubild: Problem Solver umschließt Discovery → Build */
.frame { border: 2px solid var(--c-solver); padding: clamp(18px, 3vw, 30px); position: relative; margin-top: 18px; }
.frame-label { position: absolute; top: -14px; left: 20px; background: var(--bg); padding: 0 12px; font-weight: 600; color: var(--c-solver); letter-spacing: 0.04em; font-size: 0.95rem; }
.section.soft .frame-label { background: var(--soft); }
.frame-row { display: grid; grid-template-columns: 0.7fr 1fr auto 1fr; gap: 14px; align-items: stretch; }
.frame-row > * { min-width: 0; }
.stage { padding: 20px; color: var(--on-dark); display: flex; flex-direction: column; gap: 6px; }
.stage strong { font-size: 1.15rem; font-weight: 600; }
.stage span { font-size: 0.92rem; opacity: 0.92; }
.stage.analyse { background: var(--c-solver); }
.stage.discovery { background: var(--c-discovery); }
.stage.build { background: var(--c-build); }
.pivot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 4px; color: var(--petrol); text-align: center; font-size: 0.82rem; font-weight: 500; max-width: 120px; }
.pivot svg { width: 46px; height: 24px; }
.frame-foot { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.strand { border: 1px solid var(--line); padding: 10px 12px; font-size: 0.9rem; background: var(--bg); }
.strand b { color: var(--ink); font-weight: 600; display: block; }

/* Schrittfolge */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 0.9fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); counter-increment: step; align-items: start; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); font-size: 2rem; font-weight: 300; color: var(--accent, var(--petrol)); line-height: 1; }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps .out { color: var(--muted); font-size: 0.96rem; }
.steps .out b { color: var(--ink); font-weight: 500; }
.steps li.pivot-step { background: var(--soft); padding-inline: 16px; }

/* Phasen */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.phase { padding: 26px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.phase:last-child { border-right: none; }
.phase .num { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petrol); font-weight: 600; }
.phase ul { margin: 0; padding-left: 1.05em; display: grid; gap: 5px; font-size: 0.95rem; }
.phase .result { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--soft); font-size: 0.92rem; color: var(--muted); }
.phase .result b { color: var(--ink); font-weight: 500; }

/* Zitat / Leitfrage */
.quote { border-left: 4px solid var(--accent, var(--petrol)); padding: 6px 0 6px 24px; font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--ink); line-height: 1.35; font-weight: 500; }
.quote small { display: block; font-size: 0.95rem; color: var(--muted); font-weight: 400; margin-top: 10px; }

/* Gegenüberstellung */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.versus .col { padding: 26px; display: grid; gap: 10px; align-content: start; }
.versus .col.central { background: var(--soft); }
.versus .col.local { border: 1px solid var(--line); }
.versus .col ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.versus .link { display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--petrol); font-weight: 500; font-size: 0.9rem; gap: 6px; text-align: center; }

/* Liste mit Fragen */
.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.questions li { padding: 14px 18px; background: var(--bg); border: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.questions li::before { content: "?"; color: var(--petrol); font-weight: 600; }

/* Tech-Kacheln */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tech div { background: var(--bg); padding: 20px; display: grid; gap: 6px; align-content: start; }
.tech b { color: var(--ink); font-weight: 600; }
.tech span { font-size: 0.95rem; color: var(--muted); }
.tech div.key { background: var(--soft); }
.tech div.key b::after { content: " ●"; color: var(--petrol); font-size: 0.7em; vertical-align: middle; }

/* Band in Petrol */
.band { background: var(--petrol); color: var(--on-dark); }
.band .wrap { padding-block: clamp(52px, 7vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.band h2 { color: var(--on-dark); }
.band p { color: #DCEEF0; margin-top: 12px; max-width: 62ch; }
.band .btn { border-color: var(--on-dark); color: var(--petrol); background: var(--on-dark); }
.band .btn:hover { background: transparent; color: var(--on-dark); }

/* Team */
.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.person { display: grid; gap: 8px; align-content: start; min-width: 0; }
.person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.92); }
.person b { color: var(--ink); font-weight: 600; }
.person span { font-size: 0.9rem; color: var(--muted); line-height: 1.4; }

/* Fußzeile */
.site-footer { background: #1E2A2C; color: #C9D4D5; font-size: 0.95rem; }
.site-footer .wrap { padding-block: 48px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-footer b { color: #FFFFFF; font-weight: 600; display: block; margin-bottom: 8px; }
.site-footer a { color: #8FD3DE; }
.site-footer .copy { user-select: all; }

@media (max-width: 1024px) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase:nth-child(2) { border-right: none; }
  .phase:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .split-hero .wrap, .media-row, .media-row.flip, .grid-2, .band .wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .grid-3, .tech { grid-template-columns: 1fr; }
  .frame-row { grid-template-columns: 1fr; }
  .pivot { flex-direction: row; max-width: none; padding: 4px 0; }
  .pivot svg { transform: rotate(90deg); }
  .versus { grid-template-columns: 1fr; }
  .versus .link svg { transform: rotate(90deg); }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .steps li .out { grid-column: 2; }
  .split-hero figure::before { left: -8px; top: 8px; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases, .grid-4, .frame-foot { grid-template-columns: 1fr; }
  .phase { border-right: none; border-bottom: 1px solid var(--line); }
  .phase:last-child { border-bottom: none; }
  .nav { gap: 2px 18px; }
  .brand small { display: none; }
  .vs-link img { height: 32px; }
  .header-right { width: 100%; gap: 14px; justify-content: space-between; }
}

/* ---------- Bewegung & Interaktion (site.js) ---------- */
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--tuerkis); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.site-header { transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 61, 70, 0.10); }
.nav a { transition: color 0.2s, border-color 0.2s; }

.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .rv.fx-l { transform: translateX(-48px); }
.js .rv.fx-r { transform: translateX(48px); }
.js .rv.fx-pop { transform: scale(0.94); }
.js .rv.in { opacity: 1; transform: none; }

.card { transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0, 61, 70, 0.16); }
.product img, .media-row figure img, .split-hero figure img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.product { overflow: hidden; }
.product:hover img { transform: scale(1.05); }
.stage { transition: transform 0.25s; }
.stage:hover { transform: translateY(-4px); }
.steps li { transition: background 0.25s, padding 0.25s; }
.steps li:hover { background: var(--bg); padding-inline: 16px; }
.steps li.pivot-step:hover { background: var(--soft); }
.questions li { transition: border-color 0.2s, transform 0.2s; }
.questions li:hover { border-color: var(--petrol); transform: translateX(4px); }
.tech div { transition: background 0.2s; }
.tech div:hover { background: #E3EFF0; }
.person img { transition: filter 0.3s, transform 0.4s; }
.person:hover img { filter: saturate(1.1); transform: translateY(-4px); }
.btn { transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 61, 70, 0.18); }

.nav-toggle { display: none; }

@media (max-width: 820px) {
  .hero { display: block; min-height: 0; }
  .h-bg { position: relative; inset: auto; height: min(68vw, 420px); }
  .h-bg::after { background: linear-gradient(180deg, rgba(12, 42, 48, 0) 50%, #0C2A30 100%); }
  .hero .wrap { padding-block: 8px 56px; }
  .h-dots { top: calc(min(68vw, 420px) - 28px); bottom: auto; right: 16px; }
  .h-stats div { padding: 0 16px; }
  .js .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; padding: 0 10px; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .site-header .wrap { flex-wrap: nowrap; position: relative; }
  .js .header-right { width: auto; gap: 14px; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-top: 1px solid var(--soft); box-shadow: 0 14px 28px rgba(0, 61, 70, 0.12); padding: 6px max(16px, env(safe-area-inset-left, 0px)) 14px; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 0; border-bottom: 1px solid var(--soft); font-size: 0.95rem; }
}
@media (max-width: 560px) {
  .brand span { font-size: 0.92rem; }
  .h-stats span { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .h-anim { opacity: 1 !important; transform: none !important; }
  .ticker-track { animation: none; }
  .h-slides img { transition: none; }
}

/* ---------- Golden Circle: Problem, Warum, Wie ---------- */
.section-head .eyebrow, .why .eyebrow { display: block; }
.facts { margin-top: 8px; }
.fact { border-top: 3px solid var(--tuerkis); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.fact b { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--petrol); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.fact p { color: var(--muted); }
.prose h3 { font-size: 1.35rem; }

.why { background: #0C2A30; color: #E6F0F1; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 2px solid rgba(92, 200, 217, 0.18); transform: rotate(45deg); }
.why::after { content: ""; position: absolute; right: 40px; bottom: -160px; width: 300px; height: 300px; border: 2px solid rgba(92, 200, 217, 0.12); transform: rotate(45deg); }
.why .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 128px); max-width: 980px; }
.why .eyebrow { color: #8FD3DE; letter-spacing: 0.22em; }
.why-big { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 600; color: #fff; letter-spacing: -0.015em; text-wrap: balance; }
.why-big span { color: #5CC8D9; }
.why-text { margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 60ch; }
.why-quote { margin-top: 40px; padding-left: 22px; border-left: 3px solid #5CC8D9; font-size: 1.3rem; color: #fff; font-weight: 500; }
.why-quote small { display: block; margin-top: 6px; font-size: 0.9rem; color: #A9C7CB; font-weight: 400; }

.principles .card { gap: 10px; }
.principles .num { font-size: 2.4rem; font-weight: 300; color: var(--tuerkis); line-height: 1; }
.principles h3 { font-size: 1.15rem; }

/* Fotoleiste */
.photo-strip .wrap { padding-block: clamp(40px, 6vw, 72px); }
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.strip figure { margin: 0; overflow: hidden; min-width: 0; }
.strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.strip figure:hover img { transform: scale(1.05); }
@media (max-width: 820px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: 1 / -1; }
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--bg); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item[open] { border-color: var(--petrol); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 500; color: var(--ink); position: relative; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--petrol); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); }

/* Kernfrage und Schmerzpunkte */
.kernfrage { max-width: 940px; }
.kernfrage h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; }
.kernfrage h2 span { color: var(--petrol); }
.sub-head { text-align: center; font-size: 1.25rem; margin: 8px 0 26px; color: var(--ink); }
.facts { margin-top: 0; }
.pains + .sub-head { margin-top: 64px; }
.pain { border-top: 4px solid var(--tuerkis); }
.pain .num { font-size: 2rem; font-weight: 300; color: var(--tuerkis); line-height: 1; }
.pain h3 { font-size: 1.12rem; }
.hero h1.h1-q { max-width: 19ch; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; }

/* Wegkarte (acht Schritte) */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; counter-reset: route; }
.route li { position: relative; counter-increment: route; padding-top: 64px; display: grid; gap: 6px; align-content: start; }
.route li::before { content: counter(route); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--tuerkis); color: var(--petrol); font-weight: 600; font-size: 1.1rem; z-index: 1; transition: background 0.25s, color 0.25s, transform 0.25s; }
.route li::after { content: ""; position: absolute; top: 22px; left: 46px; right: -22px; border-top: 2px dashed var(--line); }
.route li:nth-child(4n)::after, .route li:last-child::after { display: none; }
.route li:hover::before { background: var(--tuerkis); color: #fff; transform: scale(1.08); }
.route b { color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.route span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.route li.tip::before { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.route li.tip b { color: var(--petrol); }
.route-note { margin: 44px auto 0; max-width: 72ch; text-align: center; color: var(--muted); }
@media (max-width: 1024px) {
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route li:nth-child(2n)::after { display: none; }
  .route li:nth-child(4n+1)::after, .route li:nth-child(4n+3)::after { display: block; }
}
@media (max-width: 560px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route li { padding: 0 0 26px 64px; min-height: 72px; }
  .route li::after { display: block !important; top: 46px; bottom: 0; left: 22px; right: auto; border-top: none; border-left: 2px dashed var(--line); }
  .route li:last-child::after { display: none !important; }
}

/* LinkedIn-Link im Team */
.person .li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--petrol); text-decoration: none; font-weight: 500; margin-top: 2px; }
.person .li svg { width: 16px; height: 16px; fill: currentColor; }
.person .li:hover { text-decoration: underline; }
.hl-dark { color: var(--petrol); }

/* Wahl: Abwarten oder jetzt */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.choice .card { border-top: 4px solid var(--grau); }
.choice .choice-now { border-top-color: var(--petrol); background: var(--petrol); color: #fff; }
.choice .choice-now h3, .choice .choice-now p { color: #fff; }
.choice .choice-now .meta { color: #BFE6EC; }
@media (max-width: 820px) { .choice { grid-template-columns: 1fr; } }

/* Krisen-Karten */
.crisis { background: #FFF4F2; border: 1px solid #F3C9C2; border-left: 5px solid #C8372D; padding: 24px 26px; display: grid; gap: 10px; align-content: start; transition: transform 0.25s, box-shadow 0.25s; }
.crisis:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(200, 55, 45, 0.14); }
.crisis-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: #C8372D; }
.crisis-tag svg { width: 18px; height: 18px; }
.crisis h3 { color: #7A1F18; }
.crisis p { color: #4E3A38; }

/* Referenzen: Kundenlogos */
.refs .section-head { margin-bottom: 32px; }
.logo-wall { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; gap: 18px; width: max-content; animation: logos 40s linear infinite; }
.logo-wall:hover .logo-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(calc(-50% - 9px)); } }
.logo-wall figure { margin: 0; display: flex; flex-direction: column; gap: 12px; flex: 0 0 200px; }
.logo-wall .tile { display: flex; align-items: center; justify-content: center; height: 104px; padding: 18px 22px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.logo-wall .tile.dark { background: #1B3A4B; border-color: #1B3A4B; }
.logo-wall img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-wall figcaption { font-size: .8125rem; color: #4A5568; text-align: center; }
.logo-wall figure:hover .tile { border-color: var(--petrol); transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.logo-wall figure:hover img { filter: none; opacity: 1; }
@media (max-width: 480px) { .logo-track { gap: 12px; animation-duration: 30s; } @keyframes logos { to { transform: translateX(calc(-50% - 6px)); } } .logo-wall figure { flex-basis: 150px; } .logo-wall .tile { height: 84px; padding: 14px; } .logo-wall img { max-height: 44px; } }
@media (hover: none) { .logo-wall img { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .logo-track figure[aria-hidden] { display: none; } .logo-wall { -webkit-mask-image: none; mask-image: none; } .logo-wall .tile { transition: none; } .logo-wall figure:hover .tile { transform: none; } }

/* Kontaktformular */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-intro h2 { margin: 8px 0 18px; }
.contact-direct { margin-top: 24px; line-height: 1.9; }
.contact-form { display: grid; gap: 18px; background: #fff; padding: 32px; border: 1px solid #E2E8F0; border-radius: 12px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--ink, #1A202C); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid #CBD5E0; border-radius: 8px; background: #fff; color: inherit; width: 100%; box-sizing: border-box; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol); }
.contact-form .invalid { border-color: #ef4444 !important; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; }
.contact-form .check input { margin-top: 3px; accent-color: var(--petrol); }
.contact-form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 500; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { color: #15803d; font-weight: 500; }
.form-status.err { color: #b91c1c; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .contact-form { padding: 20px; } .contact-form .row2 { grid-template-columns: 1fr; } }
