/* =========================================================
   SalesTeam CC — Design System

   Schriftart: Systemschrift. Für Inter die woff2-Dateien unter
   assets/fonts/ ablegen und die Regeln unten aktivieren.

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800;
  font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }

   ========================================================= */

:root {
  --brand: #393be7;
  --brand-600: #2f31c9;
  --brand-700: #2528a5;
  --brand-050: #eef0ff;
  --sky: #daf9ff;
  --sky-deep: #8fe6f7;

  --ink: #0d1020;
  --ink-soft: #2a2f45;
  --muted: #5d6478;
  --line: #e7e9f3;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;

  --ok: #10b981;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(13, 16, 32, .04), 0 1px 3px rgba(13, 16, 32, .06);
  --shadow: 0 4px 6px -2px rgba(13, 16, 32, .04), 0 12px 24px -8px rgba(13, 16, 32, .10);
  --shadow-lg: 0 24px 60px -20px rgba(57, 59, 231, .28);

  --maxw: 1180px;
  --nav-h: 84px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--muted); }
ul, ol { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 7vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 4vw, 60px) 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-050);
  border: 1px solid #dfe2ff;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { margin-bottom: 0; font-size: 1.05rem; }
.hl { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 620; font-size: .97rem; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(57,59,231,.75); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(57,59,231,.85); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c9cdf0; transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand); font-weight: 620; font-size: .95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,16,32,.5); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 1.26rem; letter-spacing: -.02em; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.brand span b { color: var(--brand); font-weight: 750; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 10px;
  font-size: .95rem; font-weight: 550; color: var(--ink-soft);
  transition: background .16s ease, color .16s ease;
}
.nav-link:hover { background: var(--bg-soft); color: var(--brand); }
.nav-link.active { color: var(--brand); font-weight: 650; }
.nav-link .chev { width: 14px; height: 14px; opacity: .6; transition: transform .2s ease; }
.nav-item:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 254px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 9px;
  font-size: .93rem; color: var(--ink-soft); font-weight: 520;
}
.dropdown a:hover { background: var(--brand-050); color: var(--brand); }
.dropdown a svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

.nav-cta { margin-left: 10px; }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-menu, .nav-cta { display: none; }
  .burger { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,16,32,.5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(360px, 88vw); height: 100%;
  background: #fff; padding: 20px 18px 28px; overflow-y: auto;
  border-radius: 22px 0 0 22px;
  box-shadow: -22px 0 55px -28px rgba(13,16,32,.4);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.32,.72,0,1);
  display: flex; flex-direction: column; gap: 2px;
}
.drawer.open .drawer-panel { transform: none; }

.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 16px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.drawer-top .brand { font-size: 1.16rem; }
.drawer-top .brand-mark { width: 40px; height: 40px; }
.drawer-close {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); cursor: pointer;
  display: grid; place-items: center; color: var(--ink-soft);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.drawer-close:hover { background: var(--brand-050); border-color: #cdd1f7; color: var(--brand); }

/* Eintraege: ruhige Liste, farbiger Balken markiert die aktuelle Seite */
.drawer-panel > a {
  position: relative;
  padding: 11px 14px; border-radius: 10px;
  font-weight: 560; font-size: .98rem; color: var(--ink-soft);
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.drawer-panel > a::before {
  content: ""; position: absolute; left: 6px; top: 50%;
  width: 3px; height: 0; border-radius: 3px; background: var(--brand);
  transform: translateY(-50%); transition: height .18s ease;
}
.drawer-panel > a:hover {
  background: var(--bg-soft); color: var(--brand); padding-left: 18px;
}
.drawer-panel > a:hover::before { height: 18px; }
.drawer-panel > a.active {
  color: var(--brand); font-weight: 650; background: var(--brand-050); padding-left: 18px;
}
.drawer-panel > a.active::before { height: 20px; }

.drawer .group-title {
  margin: 18px 0 6px; padding: 14px 14px 0;
  border-top: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 680;
}

/* Rechtliches dezent und kompakt */
.drawer .drawer-legal { display: flex; flex-wrap: wrap; gap: 14px; padding: 4px 14px 0; }
.drawer .drawer-legal a {
  font-size: .84rem; color: var(--muted); padding: 4px 0;
  transition: color .16s ease;
}
.drawer .drawer-legal a:hover { color: var(--brand); }

.drawer .btn {
  margin-top: 22px; justify-content: center;
}

/* ---------- Decorative background ---------- */
.deco { position: relative; overflow: hidden; }
.deco::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(#dfe2f2 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, #000 20%, transparent 80%);
  pointer-events: none;
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0;
}
.glow-a { width: 620px; height: 620px; background: rgba(57,59,231,.10); top: -280px; right: -200px; }
.glow-b { width: 560px; height: 560px; background: rgba(143,230,247,.30); bottom: -300px; left: -220px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0 clamp(80px, 8vw, 130px);
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 72%);
}
/* Weicher Auslauf nach unten, damit die Lichtflächen nicht abgeschnitten wirken */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 82%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 1.14rem; max-width: 560px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--muted); font-weight: 520; }
.hero-meta svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
}

/* Page hero (subpages) */
.page-hero { position: relative; padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 64px); background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.08rem; max-width: 680px; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { opacity: .5; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: #d2d6f5; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card .link-arrow { margin-top: 18px; }
.card--soft { background: var(--bg-soft); box-shadow: none; }
.card--flat:hover { transform: none; }

/* Abschluss-Kachel im Leistungsraster */
.card--cta {
  background: linear-gradient(140deg, var(--brand-700) 0%, var(--brand) 60%, #5b5df0 100%);
  border-color: transparent; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,.84); }
.card--cta .icon-box { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; }
.card--cta .link-arrow { color: #fff; }
.card--cta:hover { border-color: transparent; }

/* ---------- Partner-Logolauf ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
/* Vier Gruppen: die erste Haelfte (1+2) ist mit der zweiten (3+4) identisch,
   deshalb ist der Sprung bei -50 % nahtlos – auch auf breiten Bildschirmen. */
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 76s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(44px, 6vw, 80px); padding-right: clamp(44px, 6vw, 80px); }
.marquee-item { display: inline-flex; align-items: center; flex: none; }
.marquee-item img {
  height: 32px; width: auto; display: block;
  opacity: .82;
  transition: opacity .2s ease, transform .2s ease;
}
.marquee-item:hover img, .marquee-item:focus-visible img { opacity: 1; transform: scale(1.04); }

.marquee-item img.tall { height: 42px; }
.marquee-item img.stacked { height: 54px; }

.marquee-item img.mark { height: 40px; }

.marquee-item.named { gap: 11px; }
.marquee-item .pname {
  font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink-soft); white-space: nowrap;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-group:not(:first-child) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

.icon-box {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brand-050); color: var(--brand);
  border: 1px solid #e0e3ff;
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box.sky { background: var(--sky); border-color: #c4f0fb; color: #0e7490; }

/* Numbered steps */
.step { position: relative; padding-left: 0; }
.step-no {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 20px -8px rgba(57,59,231,.8);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 22px 30px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* Akzentlinie oben, die beim Überfahren aufleuchtet */
.stat::before {
  content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #8a8cf5 100%);
  opacity: .55; transition: opacity .22s ease, left .28s ease, right .28s ease;
}
/* Sehr dezenter Lichtschein im Hintergrund */
.stat::after {
  content: ""; position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(57,59,231,.10) 0%, transparent 70%);
  pointer-events: none;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d2d6f5; }
.stat:hover::before { opacity: 1; left: 8%; right: 8%; }

.stat b {
  display: block; line-height: 1;
  font-size: clamp(2.1rem, 1.3rem + 2.2vw, 2.9rem);
  font-weight: 780; letter-spacing: -.035em;
  background: linear-gradient(135deg, var(--brand) 0%, #6d6ff2 55%, #8a8cf5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand);
}
.stat span {
  display: block; margin-top: 12px;
  font-size: .88rem; font-weight: 560; color: var(--muted);
  letter-spacing: .01em;
}

@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Feature list ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.checklist svg { width: 21px; height: 21px; flex: none; color: var(--brand); margin-top: 2px; }
.checklist.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .checklist.two { grid-template-columns: 1fr; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 960px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Visual panel (dashboard mock) ---------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 24px; position: relative;
}
.panel-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.panel-title { font-weight: 650; font-size: .98rem; }
.pill { font-size: .74rem; font-weight: 620; padding: 5px 11px; border-radius: 999px; background: #ecfdf5; color: #047857; display: inline-flex; align-items: center; gap: 6px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.panel-kpi { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.panel-kpi small { font-size: .78rem; color: var(--muted); font-weight: 550; }
.panel-kpi b { display: block; font-size: 1.5rem; font-weight: 720; letter-spacing: -.02em; margin-top: 4px; }
.panel-kpi em { font-style: normal; font-size: .76rem; color: #047857; font-weight: 620; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 112px; padding-top: 8px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand) 0%, #8183f2 100%); opacity: .35; }
.bars i.on { opacity: 1; }
.panel-foot { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin-top: 10px; }

/* ---------- Logos / trust row ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; opacity: .78; }
.trust span { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; height: 100%; }
.quote .stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f59e0b; }
.quote .stars svg { width: 16px; height: 16px; }
.quote p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .92rem; border: 1px solid #e0e3ff; flex: none; }
.quote footer b { display: block; font-size: .93rem; color: var(--ink); }
.quote footer small { color: var(--muted); font-size: .84rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 55%, #5b5df0 100%);
  border-radius: var(--r-xl); padding: clamp(40px, 5vw, 64px); text-align: center; color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .55;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 620px; margin-inline: auto; font-size: 1.05rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: var(--sky); color: var(--brand-700); }

/* ---------- Accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 620; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.acc[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.acc .acc-body { padding: 0 24px 22px; }
.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Karriere ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  background: var(--brand-050); color: var(--brand); border: 1px solid #dfe2ff;
}
.chip.sky { background: var(--sky); border-color: #c4f0fb; color: #0e7490; }
.chip svg { width: 14px; height: 14px; }

/* Ablauf als verbundene Zeitachse */

.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--tl-cols, 4), 1fr); gap: 24px; }
.timeline::before {
  content: ""; position: absolute; top: 23px; height: 2px;
  left: calc(100% / var(--tl-cols, 4) / 2); right: calc(100% / var(--tl-cols, 4) / 2);
  background: linear-gradient(90deg, var(--brand) 0%, #9fa1f5 100%); opacity: .35;
}
.tl-step { position: relative; text-align: center; }
.tl-dot {
  position: relative; z-index: 1;
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: var(--brand); box-shadow: 0 0 0 6px #fff, 0 8px 20px -8px rgba(57,59,231,.7);
}
.tl-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.tl-step p { font-size: .93rem; margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr !important; gap: 28px; }
  .timeline::before { display: none; }
  .tl-step {
    text-align: left; display: grid;
    grid-template-columns: 46px 1fr; column-gap: 18px; row-gap: 4px; align-items: start;
  }
  .tl-dot { grid-column: 1; grid-row: 1 / span 2; margin: 0; box-shadow: 0 8px 20px -8px rgba(57,59,231,.7); }
  .tl-step h3 { grid-column: 2; grid-row: 1; margin-bottom: 4px; }
  .tl-step p  { grid-column: 2; grid-row: 2; }
}

/* Stellenanzeigen */
.job {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow);
}
/* Farbiger Streifen am oberen Rand */
.job::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #6d6ff2 45%, var(--sky) 100%);
}
.job + .job { margin-top: 18px; }

.job summary {
  list-style: none; cursor: pointer;
  padding: 30px 30px 26px;
  display: flex; align-items: center; gap: 18px;
  transition: background .2s ease;
}
.job summary:hover { background: #fbfcff; }
.job summary::-webkit-details-marker { display: none; }

.job-icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #6d6ff2 100%);
  color: #fff; box-shadow: 0 10px 22px -12px rgba(57,59,231,.85);
}
.job-icon svg { width: 25px; height: 25px; }

.job-head { flex: 1 1 auto; min-width: 0; }
.job-title { font-weight: 720; font-size: 1.16rem; letter-spacing: -.02em; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.job-meta span {
  font-size: .78rem; font-weight: 600; color: var(--brand);
  background: rgba(57,59,231,.07); border: 1px solid rgba(57,59,231,.16);
  padding: 5px 12px; border-radius: 999px;
}

.job-toggle {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-soft);
  position: relative; transition: background .2s ease, border-color .2s ease;
}
.job-toggle::after {
  content: ""; position: absolute; top: 12px; left: 11px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .22s ease;
}
.job summary:hover .job-toggle { background: #fff; border-color: #c9cdf3; }
.job[open] .job-toggle::after { top: 15px; transform: rotate(-135deg); }

.job-body { padding: 0 30px 30px; }
.job-intro {
  margin: 0 0 26px; padding: 18px 20px;
  background: var(--bg-soft); border-left: 3px solid var(--brand);
  border-radius: 0 14px 14px 0;
  color: var(--ink-soft);
}
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.job-col {
  background: #fcfdff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 22px 20px;
}
.job-body h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 14px;
}
.job-body h4 svg { width: 16px; height: 16px; flex: none; }
.job-col .checklist li { align-items: flex-start; }

/* Abschluss-Band mit Bewerbungs-Button */
.job-foot {
  margin-top: 22px; padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(57,59,231,.05) 0%, rgba(218,249,255,.55) 100%);
  border: 1px solid rgba(57,59,231,.12);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.job-foot b { display: block; font-size: 1.02rem; letter-spacing: -.01em; }
.job-foot span { display: block; margin-top: 4px; font-size: .92rem; color: var(--muted); }
.job-foot .btn { flex: none; }

@media (max-width: 720px) {
  .job summary { padding: 24px 20px 22px; gap: 14px; }
  .job-icon { width: 44px; height: 44px; border-radius: 13px; }
  .job-icon svg { width: 21px; height: 21px; }
  .job-title { font-size: 1.05rem; }
  .job-body { padding: 0 20px 24px; }
  .job-cols { grid-template-columns: 1fr; gap: 14px; }
  .job-foot { flex-direction: column; align-items: stretch; text-align: center; padding: 20px; }
  .job-foot .btn { justify-content: center; }
}

/* Ausstattungs-Check */
.kit { display: grid; gap: 14px; }
.kit-item { display: flex; gap: 14px; align-items: flex-start; }
.kit-item .icon-box { width: 40px; height: 40px; margin: 0; border-radius: 11px; flex: none; }
.kit-item .icon-box svg { width: 18px; height: 18px; }
.kit-item b { display: block; font-size: .95rem; margin-bottom: 2px; }
.kit-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .96rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(57,59,231,.12);
}
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input[type="checkbox"] { margin: 2px 0 0; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.consent span { flex: 1; min-width: 0; }
.consent a { color: var(--brand); text-decoration: underline; }
/* hp */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-box { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
.contact-list .icon-box svg { width: 19px; height: 19px; }
.contact-list b { display: block; font-size: .93rem; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .94rem; }
.contact-list a:hover { color: var(--brand); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 44px; padding-top: 4px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 26px; }
.legal p, .legal li { font-size: .98rem; color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal address { font-style: normal; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; color: var(--ink-soft); font-size: .98rem; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal .updated { font-size: .88rem; color: var(--muted); margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 40px; }
.toc b { display: block; margin-bottom: 12px; font-size: .95rem; }
.toc ol { margin: 0; padding-left: 20px; font-size: .94rem; }
.toc a:hover { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: #0d1020; color: #c3c7d9; padding: 72px 0 0; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 650; }
.site-footer a { color: #b9bed3; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 1.26rem; color: #fff; margin-bottom: 16px; }
.footer-about { font-size: .94rem; color: #9aa0b8; max-width: 380px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: .88rem; color: #8b91a8;
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.newsletter { display: flex; gap: 10px; margin-top: 18px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 12px 15px; font: inherit; font-size: .92rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff;
}
.newsletter input::placeholder { color: #838aa3; }
.newsletter input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.1); }
.newsletter button { border-radius: 999px; padding: 12px 20px; border: 0; background: var(--brand); color: #fff; font-weight: 620; cursor: pointer; font-size: .92rem; }
.newsletter button:hover { background: var(--brand-600); }
.newsletter-note { font-size: .78rem; color: #8b91a8; margin: 10px 0 0; line-height: 1.5; }
.newsletter-note a { color: #b9bed3; text-decoration: underline; font-size: inherit; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  background: rgba(13,16,32,.55); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--r-xl); padding: 34px;
  box-shadow: 0 40px 90px -30px rgba(13,16,32,.6);
  transform: translateY(14px) scale(.98); transition: transform .26s cubic-bezier(.4,0,.2,1);
}
.modal.open .modal-card { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.modal-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-head p { margin: 0; font-size: .94rem; }
.modal-close { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; flex: none; color: var(--ink-soft); }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-close svg, .drawer-close svg { width: 18px; height: 18px; }

/* ---------- Grafiken ---------- */
.grafik {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px; box-shadow: var(--shadow);
}
.grafik svg { display: block; }
.grafik-note { font-size: .82rem; color: var(--muted); margin: 16px 0 0; text-align: center; }

.legende { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legende li { display: flex; gap: 12px; align-items: baseline; font-size: .95rem; color: var(--ink-soft); }
.legende b {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-050); color: var(--brand); border: 1px solid #dfe2ff;
  display: inline-grid; place-items: center; font-size: .82rem; align-self: center;
}

/* Gesprächsverlauf KI-Agent */
.chat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.chat-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.chat-who { display: flex; align-items: center; gap: 13px; }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--brand); color: #fff; display: grid; place-items: center;
}
.chat-avatar svg { width: 21px; height: 21px; }
.chat-who b { display: block; font-size: .95rem; }
.chat-who small { color: var(--muted); font-size: .82rem; }
.chat-timer {
  font-variant-numeric: tabular-nums; font-size: .86rem; font-weight: 650; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.chat-timer::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
  animation: chat-puls 1.6s ease-in-out infinite;
}
@keyframes chat-puls { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.chat-body { padding: 22px 24px; display: grid; gap: 12px; max-height: 420px; overflow-y: auto; }
.chat-row { display: flex; }
.chat-row.kunde { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 18px;
  font-size: .93rem; line-height: 1.55;
}
.chat-row.agent .chat-bubble { background: var(--brand-050); color: var(--ink-soft); border-bottom-left-radius: 6px; }
.chat-row.kunde .chat-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.chat-foot {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 18px 24px; border-top: 1px solid var(--line); background: var(--bg-soft);
}
.chat-tag {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}
.chat-tag.ok { color: #047857; border-color: #a7f3d0; background: #ecfdf5; display: inline-flex; align-items: center; gap: 6px; }
.chat-tag.ok svg { width: 14px; height: 14px; }

/* ---------- Cookie-Banner ---------- */
.cc {
  position: fixed; left: 20px; bottom: 20px; z-index: 400;
  width: min(400px, calc(100vw - 40px));
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.cc.open { opacity: 1; visibility: visible; transform: none; }
.cc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -20px rgba(13,16,32,.4);
  padding: 20px 22px;
}
.cc-card h3 { font-size: .98rem; margin-bottom: 6px; }
.cc-card p { font-size: .82rem; line-height: 1.55; margin-bottom: 0; }
.cc-card a { color: var(--brand); text-decoration: underline; }

.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.cc-actions .btn { padding: 9px 16px; font-size: .85rem; flex: 1 1 auto; }
.cc-link {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--muted); font-size: .8rem; font-weight: 550; text-decoration: underline;
  flex: 0 0 auto;
}
.cc-link:hover { color: var(--brand); }

.cc-options { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-opt { display: flex; gap: 10px; align-items: flex-start; }
.cc-opt input { margin-top: 2px; width: 15px; height: 15px; accent-color: var(--brand); flex: none; }
.cc-opt input:disabled { opacity: .5; }
.cc-opt b { display: block; font-size: .85rem; line-height: 1.4; }
.cc-opt span { font-size: .78rem; color: var(--muted); line-height: 1.45; }

@media (max-width: 560px) {
  .cc { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cc-card { padding: 18px; }
  .cc-actions .btn { flex: 1 1 100%; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Schutz vor horizontalem Ueberlauf
   ---------------------------------------------------------
   Rasterspalten bekommen von Haus aus min-width:auto. Ein
   langes Wort wie "Leadqualifizierung" zwingt die Spalte
   dann breiter als den Bildschirm, und die ganze Seite laesst
   sich seitlich schieben. min-width:0 erlaubt das Schrumpfen.
   ========================================================= */
.hero-grid > *, .split > *, .footer-grid > *, .grid > *,
.panel-grid > *, .job-cols > *, .stats > *, .timeline > *,
.form-row > *, .checklist > *, .kit > * { min-width: 0; }

/* Lange Woerter, Adressen und E-Mail-Adressen umbrechen */
body { overflow-wrap: break-word; }

/* Sicherheitsnetz. overflow-x:clip statt hidden, weil hidden
   den klebenden Kopfbereich ausser Kraft setzen wuerde. */
body { overflow-x: clip; }

/* Sehr schmale Geraete (ab iPhone SE abwaerts) */
@media (max-width: 380px) {
  .wrap { padding-inline: 16px; }
  .panel-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
