/* entdecke-ki.de – Design-System (Apple-inspiriert, Blau & Weiß)
   Jede Sektion (.screen) füllt auf Desktop genau einen Bildschirm. */

:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-press: #006edb;
  --blue-deep: #0a3d91;
  --blue-soft: #e8f2ff;
  --blue-tint: #f2f7ff;

  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);

  --bg: #ffffff;
  --bg-alt: #f5f5f7;

  --ok: #1a8f4e;
  --err: #d70015;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;

  --shadow-s: 0 2px 6px rgba(0, 25, 80, 0.08), 0 6px 16px rgba(0, 25, 80, 0.07);
  --shadow: 0 4px 12px rgba(0, 25, 80, 0.08), 0 18px 40px rgba(0, 25, 80, 0.12);
  --shadow-l: 0 8px 20px rgba(0, 25, 80, 0.10), 0 32px 72px rgba(0, 40, 120, 0.18);
  --shadow-blue: 0 6px 20px rgba(0, 113, 227, 0.38), 0 14px 32px rgba(0, 113, 227, 0.24);

  --maxw: 1160px;
  --gutter: 24px;
  --nav-h: 56px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; border-radius: 8px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

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

/* ---------- Typografie ---------- */

h1, h2, h3, h4 {
  margin: 0; color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 700; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.8vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.875rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }

.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.012em; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.gradient-text { background: linear-gradient(100deg, #0071e3 0%, #2997ff 55%, #0a3d91 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 980px;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), box-shadow 200ms var(--ease), transform 100ms ease-out, color 160ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-blue), 0 2px 4px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.48), 0 18px 42px rgba(0, 113, 227, 0.30), 0 2px 6px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.btn-primary:active { background: var(--blue-press); transform: translateY(0) scale(0.97); }
.btn-ghost { background: transparent; color: var(--blue); padding: 0 6px; min-height: 44px; }
.btn-ghost:hover { text-decoration: underline; }
.btn-white {
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(0, 113, 227, 0.16);
  box-shadow: 0 6px 20px rgba(0, 20, 60, 0.16), 0 14px 34px rgba(0, 0, 0, 0.22);
}
.btn-white:hover {
  background: #f5f9ff;
  box-shadow: 0 10px 28px rgba(0, 20, 60, 0.22), 0 20px 44px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}
.btn-sm { min-height: 34px; padding: 0 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 20, 60, 0.04);
  transition: box-shadow 240ms var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0, 25, 80, 0.07); background: #ffffff; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; font-size: 1.125rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 0; border: 0; outline: none; background: transparent; box-shadow: none; filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.28)); transition: transform 200ms var(--ease-out); flex: none; }
.brand:hover img { transform: scale(1.06); }
.brand-name { letter-spacing: -0.025em; display: inline-flex; align-items: center; }
.brand-name b { background: linear-gradient(120deg, #0071e3 0%, #2997ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; letter-spacing: -0.01em; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 3px; margin: 0 auto; padding: 0; list-style: none; white-space: nowrap; }
.nav-links li { display: flex; align-items: center; flex: none; white-space: nowrap; }
.nav-links a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 10px; border-radius: 980px;
  color: var(--ink-2); font-size: 0.875rem; line-height: 1; letter-spacing: -0.01em;
  white-space: nowrap; word-break: keep-all; flex: none;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); text-decoration: none; }
.nav-links a.is-active { color: var(--blue); background: var(--blue-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.nav-login { display: inline-flex; align-items: center; height: 32px; color: var(--ink-2); font-size: 0.875rem; padding: 0 10px; white-space: nowrap; }
.nav-login:hover { color: var(--ink); text-decoration: none; }
.nav-cta { font-weight: 600; white-space: nowrap; }
.only-mobile, .nav-links li.nav-mobile-portal { display: none !important; }
.nav-toggle { display: none; width: 40px; height: 40px; margin-left: 4px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: transform 240ms var(--ease-out); }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Screens (Vollbild-Sektionen) ---------- */

.screen { position: relative; padding: 80px 0; }
.screen-alt { background: #fff; }
.section-head { max-width: 860px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin-top: 14px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Hero (zentriert, Foto-Diashow im Hintergrund) ---------- */

/* Foto-Diashow im Hintergrund jeder Sektion */
.screen { overflow: hidden; isolation: isolate; }
.bg-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.bg-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; z-index: 0; transform: scale(1.08);
  filter: saturate(1.12) contrast(1.06);
  will-change: opacity, transform;
  transition: opacity 1800ms var(--ease), transform 9000ms linear;
}
.bg-slide.is-prev {
  opacity: 1; z-index: 1; transform: scale(1);
  transition: transform 9000ms linear;
}
.bg-slide.is-active {
  opacity: 1; z-index: 2; transform: scale(1);
  transition: opacity 1800ms var(--ease), transform 9000ms linear;
}
/* Fließende Übergänge: Jede Sektion hat denselben weißen Grund, das Foto läuft
   oben und unten weich aus – so gibt es keine harte Kante zwischen den Seiten. */
.screen, .screen-alt, .contact-screen, .hero { background: #fff; }
.bg-media {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, #000 4.5%, #000 95.5%, rgba(0, 0, 0, 0.45) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, #000 4.5%, #000 95.5%, rgba(0, 0, 0, 0.45) 100%);
}
/* Sanfter Schleier über dem Foto – Hintergrundbilder stechen klar hervor, Text bleibt perfekt lesbar */
.screen:not(.hero)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 3.5%, rgba(255, 255, 255, 0) 96.5%, rgba(255, 255, 255, 0.5) 100%),
    radial-gradient(ellipse 82% 72% at 50% 50%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.52) 60%, rgba(255, 255, 255, 0.24) 100%);
}
/* Abwechselnde Sektionen: zarter Grauton nur in der Mitte, Ränder bleiben weiß */
.screen-alt:not(.hero)::before {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 3.5%, rgba(255, 255, 255, 0) 96.5%, rgba(255, 255, 255, 0.5) 100%),
    radial-gradient(ellipse 82% 72% at 50% 50%, rgba(245, 245, 247, 0.75) 0%, rgba(245, 245, 247, 0.55) 60%, rgba(245, 245, 247, 0.26) 100%);
}
.screen.contact-screen::before {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 3.5%, rgba(255, 255, 255, 0) 96.5%, rgba(255, 255, 255, 0.5) 100%),
    radial-gradient(ellipse 82% 72% at 50% 50%, rgba(242, 247, 255, 0.74) 0%, rgba(242, 247, 255, 0.54) 60%, rgba(232, 242, 255, 0.25) 100%);
}
/* Hero: Hintergrundbild sticht lebendig hervor */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.50) 55%, rgba(255, 255, 255, 0.20) 100%),
    linear-gradient(180deg, rgba(232, 242, 255, 0.28), rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0.85));
}
.hero-copy { max-width: 900px; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 700px; margin: 0 auto; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 0.9375rem; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .check { margin-top: 0; }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.hero-dots span {
  padding: 5px 12px; border-radius: 980px; font-size: 0.75rem; font-weight: 600; color: var(--ink-3);
  background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color 400ms var(--ease), background-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.hero-dots span.is-active { color: #fff; background: var(--blue); box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35); }

.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 14px 6px 6px;
  border-radius: 980px; background: #fff; border: 1px solid rgba(0, 50, 130, 0.12); box-shadow: var(--shadow-s);
  color: var(--ink-2); font-size: 0.875rem; font-weight: 500;
}
.badge:hover { text-decoration: none; box-shadow: var(--shadow); border-color: rgba(0, 113, 227, 0.25); }
.badge b { padding: 3px 10px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; }
.badge s { color: var(--ink-3); }

/* ---------- Fotos ---------- */

.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-l); background: var(--blue-soft); box-shadow: var(--shadow-l); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out); }
.reveal .photo img, .photo.reveal img { transform: scale(1.12); }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); pointer-events: none; }
/* Weiches Aufdecken beim Hineinscrollen */
.reveal .photo, .photo.reveal { clip-path: inset(8% 8% 8% 8% round var(--radius-l)); transition: clip-path 1200ms var(--ease-out), opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.is-visible .photo, .photo.is-visible { clip-path: inset(0 0 0 0 round var(--radius-l)); }
.is-visible .photo img, .photo.is-visible img { transform: scale(1); }
.photo:hover img { transform: scale(1.03); }

.solution-card { padding: 32px; }

.fade-swap { animation: swap 480ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Grids & Karten ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid > *, .split > *, .contact > *, .pricing > *, .compare > *, .industry-head > *, .industry-panel > * { min-width: 0; }

.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid rgba(0, 50, 130, 0.10);
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.screen-alt .card { box-shadow: var(--shadow-s), 0 10px 28px rgba(0, 25, 80, 0.08); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: rgba(0, 113, 227, 0.25); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.9375rem; }
.card .foot { align-self: stretch; margin-top: auto; padding-top: 16px; color: var(--ink-3); font-size: 0.875rem; }
.card .foot::before { content: ""; display: block; margin-bottom: 14px; border-top: 1px solid var(--line); }
.card .foot b { color: var(--ink); font-weight: 600; }

.icon { flex: none; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #2997ff, #0071e3); color: #fff; box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3); }
.icon svg { width: 22px; height: 22px; }
.icon-soft { background: var(--blue-soft); color: var(--blue); box-shadow: none; }
.icon-sm { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.icon-sm svg { width: 20px; height: 20px; }

.num { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Kompakte Zeilen-Karte (Bibliothek, Automatisierung, Sicherheit) */
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow-s), 0 8px 22px rgba(0, 25, 80, 0.07); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0, 113, 227, 0.25); }
.feature h4 { margin-bottom: 4px; }
.feature p { color: var(--ink-2); font-size: 0.875rem; line-height: 1.5; }

/* Split-Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split .lead { margin-top: 18px; }
.prose p { color: var(--ink-2); font-size: 1rem; }
.prose p + p { margin-top: 14px; }

.list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 0.9375rem; }
.list li b { color: var(--ink); font-weight: 600; }
.check { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue-soft); display: inline-grid; place-items: center; }
.check::after { content: ""; width: 8px; height: 4.5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-1px) rotate(-45deg); }

/* ---------- Branchen ---------- */

.segmented { display: flex; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 4px; border-radius: 980px; background: rgba(0, 0, 0, 0.05); overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented button { flex: none; padding: 8px 18px; border: 0; border-radius: 980px; background: transparent; color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease); }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.06); }

.industry-panel { display: grid; grid-template-columns: 0.7fr 1.5fr; gap: 26px; align-items: stretch; }
.industry-panel[hidden] { display: none; }
.industry-photo { min-height: 100%; }
.industry-photo img { position: absolute; inset: 0; }
.industry-panel.fade-swap .industry-photo img { animation: zoomIn 1200ms var(--ease-out); }
@keyframes zoomIn { from { transform: scale(1.12); } to { transform: scale(1); } }
.industry-body { min-width: 0; display: flex; flex-direction: column; }
.industry-head { display: grid; gap: 10px; margin-bottom: 16px; }
.industry-head p { font-size: 0.9375rem; }
.industry-head h3 { font-size: 1.625rem; letter-spacing: -0.025em; }
.industry-head p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { padding: 5px 12px; border-radius: 980px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }

.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.12); box-shadow: var(--shadow-l); overflow: hidden; }
.compare { flex: 1; }
.compare > div { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 24px; }
.industry-body .compare p { font-size: 0.875rem; }
.industry-body .compare .time { font-size: 1.25rem; padding-top: 12px; }
.compare .before { background: #fafafa; border-right: 1px solid var(--line); }
.compare .tag { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 980px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.compare .before .tag { background: #eee; color: var(--ink-3); }
.compare .after .tag { background: var(--blue-soft); color: var(--blue); }
.compare p { color: var(--ink-2); font-size: 0.9375rem; }
.compare .time { margin-top: auto; padding-top: 16px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.compare .before .time { color: var(--ink-3); }
.compare .after .time { color: var(--blue); }

/* ---------- Paket / Angebot ---------- */

.pricing { display: grid; grid-template-columns: 1.3fr 1fr; max-width: 1040px; margin: 0 auto; border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 113, 227, 0.18); box-shadow: var(--shadow-l); overflow: hidden; }
.pricing-main { padding: 36px 40px; }
.pricing-main h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.pricing-main > p { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; }
.pricing-side { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; background: linear-gradient(160deg, #0a84ff 0%, #0071e3 45%, #0a3d91 100%); color: #fff; }
.sale-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 6px 12px; border-radius: 980px; background: #fff; color: var(--blue); font-size: 0.8125rem; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 20, 80, 0.25); }
.sale-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.price-old { font-size: 1.125rem; opacity: 0.8; }
.price-old s { text-decoration-thickness: 2px; }
.price { margin: 2px 0 2px; font-size: clamp(3.5rem, 6.5vw, 5rem); line-height: 1; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.price-note { margin-bottom: 22px; font-size: 0.9375rem; opacity: 0.88; }
.save { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 980px; background: rgba(255, 255, 255, 0.2); font-size: 0.8125rem; font-weight: 600; vertical-align: middle; }
.pricing-side ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; opacity: 0.9; display: grid; gap: 4px; }
.pricing-side ul li::before { content: "•"; margin-right: 8px; opacity: 0.6; }
.roi { margin-top: 22px; padding: 14px 18px; border-radius: var(--radius-s); background: var(--blue-tint); color: var(--ink-2); font-size: 0.875rem; }
.roi b { color: var(--ink); }

/* ---------- Ablauf / Schulung ---------- */

.step-time { display: block; margin: 16px 0 8px; color: var(--blue); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.agenda { max-width: 980px; margin: 0 auto; border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow); overflow: hidden; }
.agenda ol { margin: 0; padding: 0; list-style: none; }
.agenda li { display: grid; grid-template-columns: 56px 120px 1fr; gap: 20px; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.agenda li:last-child { border-bottom: 0; }
.agenda .t { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.agenda h4 { margin-bottom: 2px; }
.agenda p { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- Vergleichstabelle ---------- */

.table-wrap { border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow); overflow-x: auto; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); background: #fbfbfd; }
thead th.us { color: var(--blue); background: var(--blue-tint); }
tbody th { font-weight: 600; color: var(--ink); width: 24%; }
tbody td { color: var(--ink-2); }
tbody td.us { background: var(--blue-tint); color: var(--ink); font-weight: 500; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */

.faq { border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 26px; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 600; letter-spacing: -0.012em; transition: background-color 160ms var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #fbfbfd; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-3px) rotate(45deg); transition: transform 300ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq .answer { padding: 0 26px 20px; color: var(--ink-2); font-size: 0.9375rem; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Kontakt ---------- */

.contact-screen { background: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.contact-points { margin-top: 28px; display: grid; gap: 16px; }
.contact-point { display: flex; gap: 14px; }
.contact-point h4 { margin-bottom: 2px; }
.contact-point p { color: var(--ink-2); font-size: 0.9375rem; }
.offer-note { margin-top: 26px; padding: 14px 18px; border-radius: var(--radius-s); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow-s); font-size: 0.9375rem; color: var(--ink-2); }
.offer-note b { color: var(--blue); }

.form-card { padding: 30px; border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.12); box-shadow: var(--shadow-l); }
.form-card h3 { margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--bg-alt); font-size: 1rem; transition: box-shadow 160ms var(--ease), background-color 160ms var(--ease); }
.field textarea { min-height: 72px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: #eeeef0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(0, 113, 227, 0.15); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); background: #fff5f5; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.slots { display: flex; gap: 8px; }
.slots label { position: relative; flex: 1 1 0; }
.slots input { position: absolute; opacity: 0; pointer-events: none; }
.slots span { display: block; padding: 10px 8px; border-radius: 12px; background: var(--bg-alt); text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease); }
.slots input:checked + span { background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.slots input:focus-visible + span { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 12px; color: var(--ink-3); font-size: 0.75rem; text-align: center; }
.feedback { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: 0.9375rem; }
.feedback.ok { display: block; background: #eaf7ef; color: #0f6b39; }
.feedback.err { display: block; background: #fff0f1; color: var(--err); }

/* ---------- Footer ---------- */

.footer { padding: 48px 0 36px; background: #fff; color: var(--ink-3); font-size: 0.8125rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.footer h4 { margin-bottom: 12px; font-size: 0.8125rem; color: var(--ink); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--ink); }
.footer .brand { margin-bottom: 12px; color: var(--ink); }
.footer-desc { max-width: 320px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--ink-3); font-size: inherit; cursor: pointer; }
.linkbtn:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Dialoge ---------- */

dialog { width: min(680px, calc(100% - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: var(--radius-l); background: #fff; color: var(--ink); box-shadow: var(--shadow-l); }
dialog::backdrop { background: rgba(0, 10, 30, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: dlg 320ms var(--ease-out); }
@keyframes dlg { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.dlg-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dlg-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-alt); cursor: pointer; font-size: 1.125rem; line-height: 1; color: var(--ink-2); }
.dlg-close:hover { background: #e8e8ed; }
.dlg-body { padding: 24px 28px 32px; color: var(--ink-2); font-size: 0.9375rem; }
.dlg-body h4 { margin: 22px 0 6px; color: var(--ink); }
.dlg-body h4:first-child { margin-top: 0; }
.todo { background: #fff6d6; padding: 0 4px; border-radius: 4px; color: #6b5200; }

/* ================= Kundenbereich (/portal) ================= */

.portal { background: var(--bg-alt); min-height: 100vh; }
.nav-sep { width: 1px; height: 20px; background: var(--line-strong); }
.nav-area { margin-left: -10px; color: var(--ink-2); font-size: 0.9375rem; font-weight: 600; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-danger { color: var(--err); }
.linkbtn-blue { color: var(--blue); font-weight: 500; }
.min0 { min-width: 0; }
.stack { display: grid; gap: 14px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }
.check-light { background: rgba(255, 255, 255, 0.2); }
.check-light::after { border-color: #fff; }

/* Anmeldung */
.auth { position: relative; display: grid; place-items: center; min-height: calc(100vh - var(--nav-h)); overflow: hidden; }
.auth-visual { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: flex-end; padding: 48px 56px; color: #fff; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowZoom 18s var(--ease) infinite alternate; }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.auth-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(200deg, rgba(10, 132, 255, 0.35) 0%, rgba(0, 80, 190, 0.78) 55%, rgba(10, 40, 110, 0.94) 100%); }
.auth-visual-copy { position: relative; z-index: 2; max-width: 340px; }
.auth-visual h1 { color: #fff; font-size: clamp(1.625rem, 2.4vw, 2.125rem); margin-bottom: 18px; }
.auth-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.92); }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; }
.auth-panel { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 40px 24px; }
.auth-card { padding: 34px 36px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.97); box-shadow: 0 30px 80px rgba(0, 20, 70, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.auth-home { margin-top: 18px; padding: 8px 16px; border-radius: 980px; color: #fff; font-size: 0.9375rem; font-weight: 500; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color 200ms var(--ease); }
.auth-home:hover { text-decoration: none; background: rgba(255, 255, 255, 0.24); }
/* Portal-Header: Logo + „Kundenbereich“ genau mittig */
.nav-portal .nav-inner { position: relative; }
.brand-center { position: absolute; left: 50%; transform: translateX(-50%); gap: 12px; }
.brand-center .nav-area { margin-left: 0; }
.side-home { padding: 4px 6px; color: var(--ink-3); font-size: 0.875rem; }
.side-home:hover { color: var(--ink); text-decoration: none; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h2 { font-size: 1.875rem; letter-spacing: -0.03em; }
.auth-card > .muted { margin: 6px 0 24px; }
.segmented-full { width: 100%; margin: 0 0 20px; }
.segmented-full button { flex: 1; }
.segmented-left { margin: 0 0 18px; }
.auth-card .feedback { margin: 0 0 16px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 86px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--blue); font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.pw-toggle:hover { background: var(--blue-soft); }
.pw-meter { height: 4px; margin-top: 8px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.pw-meter i { display: block; width: 0; height: 100%; border-radius: 4px; transition: width 300ms var(--ease-out), background-color 300ms var(--ease); }
.pw-meter i.weak { background: #ff9f0a; }
.pw-meter i.ok { background: #2997ff; }
.pw-meter i.strong { background: var(--ok); }
.pw-rules { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.78rem; color: var(--ink-3); }
.pw-rules li { display: inline-flex; align-items: center; gap: 6px; transition: color 200ms var(--ease); }
.pw-rules .pw-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-alt); box-shadow: inset 0 0 0 1.5px var(--line-strong); position: relative; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.pw-rules li.is-met { color: var(--ok); font-weight: 600; }
.pw-rules li.is-met .pw-dot { background: var(--ok); box-shadow: none; }
.pw-rules li.is-met .pw-dot::after { content: ""; position: absolute; left: 4px; top: 4px; width: 6px; height: 3.5px; border-left: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(-45deg); }

/* Dashboard */
.dash { padding: 32px 0 64px; }
.dash-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.dash-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.profile-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #2997ff, #0071e3); color: #fff; font-weight: 700; font-size: 1.125rem; box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3); }
.profile-company { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-email { color: var(--ink-3); font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-nav { display: grid; gap: 2px; padding: 8px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.dash-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: 0.9375rem; text-align: left; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.dash-nav button svg { flex: none; width: 20px; height: 20px; }
.dash-nav button:hover { background: var(--bg-alt); color: var(--ink); }
.dash-nav button.is-active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.dash-nav .count { margin-left: auto; padding: 1px 8px; border-radius: 980px; background: rgba(0, 0, 0, 0.06); font-size: 0.75rem; font-weight: 600; }
.side-offer { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); background: linear-gradient(150deg, #0a84ff, #0071e3 55%, #0a3d91); color: #fff; box-shadow: 0 14px 32px rgba(0, 80, 200, 0.28); }
.side-offer:hover { text-decoration: none; transform: translateY(-2px); }
.side-offer { transition: transform 300ms var(--ease-out); }
.side-offer .sale-tag { justify-self: start; margin-bottom: 8px; padding: 4px 10px; font-size: 0.75rem; }
.side-offer strong { font-size: 1.0625rem; }
.side-offer span:last-child { font-size: 0.8125rem; opacity: 0.85; }

.panel-head { margin-bottom: 20px; }
.panel-head h1, .panel-hero h1 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; }
.panel-head .muted { margin-top: 6px; }
.panel-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 240px; padding: 32px; border-radius: var(--radius-l); color: #fff; box-shadow: var(--shadow); }
.panel-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowZoom 20s var(--ease) infinite alternate; }
.panel-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 60, 160, 0.92) 0%, rgba(0, 100, 220, 0.7) 50%, rgba(0, 113, 227, 0.15) 100%); }
.panel-hero > div { position: relative; z-index: 2; max-width: 520px; }
.panel-hero h1 { color: #fff; margin-bottom: 8px; }
.panel-hero p { color: rgba(255, 255, 255, 0.9); }
.stat-row { margin: 20px 0; gap: 16px; }
.stat-card { padding: 20px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.stat-card span { display: block; color: var(--ink-3); font-size: 0.8125rem; }
.stat-card strong { display: block; margin-top: 4px; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat-card .stat-text { font-size: 1.125rem; letter-spacing: -0.01em; padding-top: 8px; }
.dash .card { align-items: stretch; }
.setup-card h3 { margin-bottom: 16px; }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline .dot { position: relative; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-strong); }
.timeline li.done .dot { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.timeline li.done .dot::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.timeline b { font-weight: 600; }
.timeline p { color: var(--ink-2); font-size: 0.9375rem; }

.output { margin-top: 20px; }
.output-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.output-text { margin: 0; padding: 20px 22px; border-radius: var(--radius-s); background: var(--bg-alt); font: inherit; font-size: 0.9375rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

.tpl-list { display: grid; gap: 12px; }
.tpl { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.tpl h4 { margin: 4px 0 2px; }
.tpl p { color: var(--ink-3); font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-tag { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
.tpl-tag.is-custom { color: var(--blue); }
.tpl-actions { flex: none; display: flex; gap: 6px; }

.loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60vh; color: var(--ink-3); }
.loading[hidden] { display: none; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--blue-soft); border-top-color: var(--blue); animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .auth-visual-copy { display: none; }
  .auth-panel { padding: 32px 16px; }
  .auth-card { padding: 28px 22px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .side-offer { display: none; }
  .dash-nav { grid-auto-flow: column; overflow-x: auto; }
  .dash-nav button { white-space: nowrap; }
  .nav-area, .nav-sep { display: none; }
}
@media (max-width: 640px) {
  .tpl { flex-direction: column; align-items: stretch; }
  .panel-hero { padding: 24px; min-height: 200px; }
  .auth-visual h1 { font-size: 1.75rem; }
}

/* ---------- Scroll-Reveal ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Desktop: jede Sektion = ein Bildschirm ---------- */

@media (min-width: 901px) and (min-height: 540px) {
  /* Seitenweises Scrollen: Ein Scroll-Schritt rastet weich auf der nächsten Sektion ein */
  html { scroll-snap-type: y mandatory; }
  .screen {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .footer { scroll-snap-align: end; }
}

/* Kleinere Laptop-Bildschirme: alles etwas kompakter, damit es passt */
@media (min-width: 901px) and (max-height: 860px) {
  h1 { font-size: clamp(2.5rem, 4.3vw, 3.6rem); }
  h2 { font-size: clamp(1.875rem, 3vw, 2.375rem); }
  .lead { font-size: 1.0625rem; }
  .section-head { margin-bottom: 28px; }
  .section-head .lead { margin-top: 10px; }
  .eyebrow { margin-bottom: 8px; font-size: 0.9375rem; }
  .card { padding: 24px; }
  .icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .icon svg { width: 20px; height: 20px; }
  .feature { padding: 16px 18px; }
  .hero-cta { margin-top: 24px; }
  .badge { margin-bottom: 16px; }
  .pricing-main, .pricing-side { padding: 28px 34px; }
  .list { gap: 9px; margin-top: 16px; }
  .roi { margin-top: 16px; }
  .agenda li { padding: 14px 26px; }
  .faq summary { padding: 14px 24px; }
  th, td { padding: 13px 20px; }
  .compare > div { padding: 22px 28px; }
  .segmented { margin-bottom: 22px; }
  .form-card { padding: 26px; }
  .fields { gap: 10px; }
  .field textarea { min-height: 60px; }
}

/* Sehr flache Bildschirme (z. B. 1280×720) */
@media (min-width: 901px) and (max-height: 760px) {
  .screen { padding: 22px 0; }
  .section-head { margin-bottom: 22px; }
  .agenda li { padding: 12px 26px; }
  .faq summary { padding: 13px 24px; }
  .list { gap: 7px; }
}

/* ---------- Responsive ---------- */

@media (min-width: 901px) and (max-width: 1100px) {
  .pricing-main, .pricing-side { padding: 24px 28px; }
  .roi { display: none; }
  .list { gap: 8px; }
}

@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 20px;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(0, 25, 80, 0.1);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 220ms var(--ease), transform 300ms var(--ease-out);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { width: 100%; display: block; }
  .nav-links a { display: block; height: auto; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink); white-space: normal; line-height: 1.4; }
  .nav-links a:hover, .nav-links a.is-active { background: transparent; }
  .nav-toggle { display: block; }
  .nav-login { display: none; }
  .only-mobile, .nav-links li.nav-mobile-portal { display: block !important; }

  .screen { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .split, .contact, .industry-panel, .pricing, .grid-2 { grid-template-columns: 1fr; }
  .industry-photo { aspect-ratio: 16 / 9; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .industry-head { gap: 12px; }
  .agenda li { grid-template-columns: 44px 1fr; }
  .agenda li > div { grid-column: 1 / -1; }
  .agenda li .t { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; }
  .screen { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare .before { border-right: 0; border-bottom: 1px solid var(--line); }
  .fields { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .pricing-main, .pricing-side { padding: 28px 22px; }
  .agenda li { padding: 16px 20px; gap: 6px 14px; }
  .faq summary { padding: 16px 20px; }
  .faq .answer { padding: 0 20px 18px; }
  .hero-cta .btn-primary { width: 100%; }
  .trust-row { display: grid; grid-template-columns: max-content; justify-content: center; gap: 10px; }
  .hero-dots { margin-top: 22px; }
  .hero-cta { justify-content: center; }
  .brand { font-size: 1rem; gap: 8px; }
  .nav-cta { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .nav-links, .dlg-head { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Angebot (ausführlich) ---------- */
.offer { display: grid; grid-template-columns: 1.75fr 1fr; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 113, 227, 0.12); overflow: hidden; }
.offer-main { padding: 30px 34px; }
.offer-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.offer-title h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.offer-badge { padding: 4px 10px; border-radius: 980px; background: var(--blue-soft); color: var(--blue); font-size: 0.75rem; font-weight: 700; }
.offer-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.offer-group h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.9375rem; }
.og-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 700; }
.offer-group .list { margin-top: 0; gap: 8px; }
.offer-group .list li { font-size: 0.875rem; line-height: 1.45; }
.offer-bonus { padding: 14px 16px; border-radius: var(--radius-s); background: var(--blue-tint); box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.12); }
.offer-bonus .og-ico { background: var(--ok); }
.offer .pricing-side { padding: 30px 32px; }
.side-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.88); }
.side-points li { padding-left: 22px; position: relative; }
.side-points li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: #fff; }
.side-points b { color: #fff; }
.side-fine { margin-top: 14px; font-size: 0.75rem; opacity: 0.7; }
@media (max-width: 1100px) { .offer { grid-template-columns: 1.5fr 1fr; } .offer-main { padding: 24px 26px; } }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .offer-groups { grid-template-columns: 1fr; } .offer-main, .offer .pricing-side { padding: 24px 20px; } }
@media (min-width: 901px) and (max-height: 760px) { .offer-main { padding: 22px 28px; } .offer .pricing-side { padding: 22px 28px; } .offer-groups { gap: 12px 24px; } .offer-group .list { gap: 5px; } .offer-title { margin-bottom: 12px; } .side-points { margin-top: 12px; gap: 5px; } }

.offer > * { min-width: 0; }

/* Kleine Überschriften (semantisch h3, optisch wie h4) */
h3.h-sm { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; margin-bottom: 4px; }
.agenda h3.h-sm { margin-bottom: 2px; }
.contact-point h3.h-sm { margin-bottom: 2px; }

@media (min-width: 901px) and (max-width: 1180px) { .auth-visual-copy { display: none; } }

@media (max-height: 820px) { .auth-card { padding: 26px 30px; } .auth-card > .muted { margin: 4px 0 16px; } .segmented-full { margin-bottom: 14px; } .auth-card .stack { gap: 11px; } }

/* ================= Größere, auffälligere Typografie (Startseite) ================= */
body { font-size: 1.125rem; }
h1 { font-size: clamp(2.75rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.042em; font-weight: 750; }
h2 { font-size: clamp(2.125rem, 3.8vw, 3.25rem); letter-spacing: -0.035em; font-weight: 750; }
h3 { font-size: 1.375rem; }
.lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); color: #2c2c2e; line-height: 1.5; }
.hero .lead { font-size: clamp(1.25rem, 1.75vw, 1.5rem); color: #1d1d1f; max-width: 760px; }
.hero .lead b { color: var(--blue); font-weight: 650; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 980px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.14);
}
.eyebrow-light { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.hl { background: linear-gradient(100deg, #0071e3 0%, #2997ff 60%, #0a3d91 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card p { font-size: 1.0625rem; }
.card .foot { font-size: 0.9375rem; }
.list li { font-size: 1rem; }
h3.h-sm { font-size: 1.125rem; }
.feature p { font-size: 0.9375rem; }
.compare p, .industry-head p { font-size: 1rem; }
.trust-row { font-size: 1rem; font-weight: 500; color: #1d1d1f; }
.hero .btn-primary { min-height: 54px; padding: 0 30px; font-size: 1.125rem; font-weight: 600; }

/* Kontakt-Reiter im Header – blau hervorgehoben */
.nav-links a.nav-contact { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.nav-links a.nav-contact:hover, .nav-links a.nav-contact.is-active { color: #fff; background: var(--blue); }

/* Telefon-Karte im Kontaktbereich */
.phone-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius);
  background: linear-gradient(140deg, #0a84ff 0%, #0071e3 50%, #0a3d91 100%); color: #fff;
  box-shadow: 0 14px 34px rgba(0, 80, 200, 0.3);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.phone-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 80, 200, 0.38); }
.phone-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); }
.phone-ico svg { width: 22px; height: 22px; }
.phone-text { display: grid; gap: 2px; }
.phone-label { font-size: 0.875rem; opacity: 0.88; }
.phone-text strong { font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Kompaktere Variante für niedrige Laptop-Bildschirme */
@media (min-width: 901px) and (max-height: 860px) {
  h1 { font-size: clamp(2.5rem, 4.7vw, 4.25rem); }
  h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
  .lead { font-size: 1.125rem; }
  .hero .lead { font-size: 1.25rem; }
  .eyebrow { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .phone-text strong { font-size: 1.25rem; }
}
/* Schmalere Desktops: Menü kompakter, damit alle Reiter in eine Zeile passen */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav-inner { gap: 8px; }
  .nav-links { gap: 1px; }
  .nav-links a { padding: 0 5px; font-size: 0.8125rem; }
  .nav-login { padding: 0 6px; font-size: 0.8125rem; }
}

/* Kleine Laptops: Einleitungszeilen in dichten Sektionen weglassen, damit der Inhalt groß bleibt */
@media (min-width: 901px) and (max-height: 760px) {
  #paket .section-head .lead, #schulung .section-head .lead, #branchen .section-head .lead, #bibliothek .section-head .lead { display: none; }
  #paket .section-head, #schulung .section-head, #branchen .section-head, #bibliothek .section-head { margin-bottom: 18px; }
  .agenda p { font-size: 0.875rem; }
  .agenda li { padding: 10px 26px; }
}

/* ---------- Gespräch vereinbaren: Kompakte, flachere Formular- und Eingabehöhe ---------- */
.contact { align-items: center; }
.contact > .reveal:first-child { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.contact > .reveal:first-child > * { align-self: stretch; }
.contact > .reveal:first-child > .eyebrow { align-self: flex-start; }

.form-card { display: flex; flex-direction: column; padding: 22px 26px; }
.form-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.form-card .fields { gap: 8px 12px; align-content: start; }
.form-card .field { gap: 4px; }
.form-card .field label, .form-card .field legend { font-size: 0.78rem; }
.form-card .field input, .form-card .field select {
  min-height: 36px;
  height: 36px;
  padding: 6px 12px;
  font-size: 0.9375rem;
  border-radius: 10px;
}
.form-card .slots span {
  padding: 7px 6px;
  font-size: 0.8125rem;
  border-radius: 10px;
}
.form-card .field-grow { display: flex; flex-direction: column; }
.form-card .field-grow textarea {
  flex: none;
  min-height: 44px;
  height: 44px;
  max-height: 84px;
  padding: 8px 12px;
  font-size: 0.9375rem;
  border-radius: 10px;
}
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days button {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px;
  border: 0; border-radius: 10px; background: var(--bg-alt); color: var(--ink-2); cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease), transform 100ms ease-out;
}
.days button:hover { background: #eaeaef; }
.days button:active { transform: scale(0.96); }
.days button[aria-checked="true"] { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3); }
.days .d-wd { font-size: 0.72rem; font-weight: 600; opacity: 0.8; }
.days .d-dt { font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.day-other { display: flex; align-items: center; gap: 10px; margin-top: 4px; min-height: 22px; }
.day-other .linkbtn { font-size: 0.8125rem; }
.day-other input[type="date"] { min-height: 34px; padding: 5px 10px; border: 0; border-radius: 10px; background: var(--bg-alt); font-size: 0.875rem; }
.day-other input[type="date"].is-selected { background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.day-other input[type="date"]:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(0, 113, 227, 0.15); }
#formSubmit { margin-top: 12px !important; min-height: 44px; }
.form-note { margin-top: 8px; }
@media (max-width: 640px) { .days { grid-template-columns: repeat(5, 1fr); gap: 5px; } .days .d-dt { font-size: 0.84rem; } }
/* Reiter „Gespräch vereinbaren“: blaue Schrift, sticht heraus */
.nav-links a.nav-contact { color: var(--blue); font-weight: 650; }

/* Gespräch-Formular auf niedrigen Laptop-Bildschirmen noch kompakter */
@media (min-width: 901px) and (max-height: 860px) {
  .days button:nth-child(n+6) { display: none; }
}

/* ---------- Slogan & Hero: Harmonische, fein austarierte Größen ---------- */
.hero.screen {
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 36px;
}
@media (min-width: 901px) {
  .hero.screen {
    transform: translateY(-48px);
  }
}
.hero-copy { max-width: 1040px; }
.hero .badge {
  margin-bottom: 22px;
  padding: 7px 16px 7px 7px;
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  gap: 9px;
}
.hero .badge b {
  padding: 4px 11px;
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
}
h1.slogan {
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  line-height: 1.06;
  margin-bottom: 22px;
}
.slogan-line { display: block; text-wrap: balance; }
.slogan-line.gradient-text { padding-bottom: 0.16em; margin-bottom: -0.16em; padding-inline: 0.04em; }
.hero .lead {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  max-width: 820px;
}
.hero-cta {
  gap: 14px 20px;
  margin-top: 32px;
}
.hero .btn-primary {
  min-height: 56px;
  padding: 0 32px;
  font-size: clamp(1.0625rem, 1.25vw, 1.2rem);
  font-weight: 600;
}
.hero .btn-ghost {
  min-height: 48px;
  padding: 0 10px;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 600;
}
.hero .trust-row {
  gap: 12px 28px;
  margin-top: 28px;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
}
.hero .trust-row .check {
  width: 19px;
  height: 19px;
}
.hero .trust-row .check::after {
  width: 8.5px;
  height: 4.8px;
}

@media (min-width: 901px) and (max-height: 860px) {
  h1.slogan { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-bottom: 18px; }
  .hero .lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); max-width: 780px; }
  .hero-cta { margin-top: 26px; }
  .hero .trust-row { margin-top: 22px; }
}

/* ---------- Header-Reiter „Gespräch vereinbaren“: wie alle anderen, nur blaue Schrift ---------- */
.nav-links a.nav-contact { color: var(--blue); background: transparent; font-weight: 600; white-space: nowrap; word-break: keep-all; flex: none; }
.nav-links a.nav-contact:hover { color: var(--blue); background: rgba(0, 0, 0, 0.04); }
.nav-links a.nav-contact.is-active { color: var(--blue); background: var(--blue-soft); }

/* ---------- Telefon: fügt sich wie die anderen Kontaktpunkte ein ---------- */
.phone-card { padding: 0; border-radius: 0; background: none; color: var(--ink); box-shadow: none; gap: 14px; }
.phone-card:hover { transform: none; box-shadow: none; }
.phone-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.phone-ico { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, #2997ff, #0071e3); color: #fff; box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3); }
.phone-ico svg { width: 20px; height: 20px; }
.phone-label { font-size: 0.9375rem; color: var(--ink-2); opacity: 1; }
.phone-text strong { font-size: 1.25rem; color: var(--ink); }

/* ---------- Textauswahl-Sperre: Nichts auf der Seite markierbar (Ausnahme: Chatbot-Nachrichten & Eingabefelder) ---------- */
html, body, body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img, a, svg {
  -webkit-user-drag: none;
}
input, textarea, [contenteditable="true"], .kc-bubble, .kc-bubble * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* ---------- Farbverlauf-Zeile: Unterlängen (g, p, y) dürfen nicht abgeschnitten werden ---------- */
.slogan-line.gradient-text { padding-bottom: 0.16em; margin-bottom: -0.16em; padding-inline: 0.04em; }
.slogan-line { text-wrap: balance; }

/* ---------- 15 · Über uns (Team-Vorstellung & Ansprechpartner) ---------- */
.team-grid { gap: 24px; align-items: stretch; }
.team-card {
  padding: 28px 30px;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 50, 130, 0.12);
  box-shadow: var(--shadow-l);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 35, 100, 0.14);
  border-color: rgba(0, 113, 227, 0.28);
}
.team-head {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 22px;
  align-items: center;
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.team-photo {
  position: relative;
  width: 152px;
  height: 190px;
  aspect-ratio: 822 / 1024;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  flex: none;
}
.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: none !important;
  transform: none !important;
}
.team-photo.is-placeholder .team-photo-img {
  display: none;
}
.team-photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: var(--blue);
  text-align: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(160deg, #eff6ff 0%, #dbeafe 100%);
}
.team-photo.is-placeholder .team-photo-placeholder {
  display: flex;
}
.team-photo-placeholder svg {
  width: 66px;
  height: 66px;
  opacity: 0.78;
}
.team-photo-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 8px rgba(0, 50, 130, 0.08), inset 0 0 0 1px rgba(0, 113, 227, 0.16);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.team-meta { min-width: 0; }
.team-role-pill {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 11px;
  border-radius: 980px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.team-role-pill-alt {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.team-meta h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.team-subtitle {
  color: var(--blue);
  font-size: 0.9375rem !important;
  font-weight: 600;
  margin-bottom: 8px;
}
.team-intro {
  color: var(--ink-2);
  font-size: 0.9375rem !important;
  line-height: 1.48;
}
.team-list {
  margin-top: 18px;
  gap: 10px;
}
.team-list li {
  font-size: 0.9375rem;
  line-height: 1.45;
}
.team-banner {
  margin-top: 22px;
  padding: 18px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 50, 130, 0.12);
  box-shadow: var(--shadow-s);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.team-banner-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  color: var(--ink-2);
  font-size: 0.96875rem;
}
.team-banner-copy strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .team-head {
    grid-template-columns: 128px 1fr;
    gap: 18px;
  }
  .team-photo {
    width: 128px;
    height: 160px;
  }
}

/* ---------- Smartphone-Optimierung: Frisch, aufgeräumt, nichts abgeschnitten ---------- */
@media (max-width: 900px) {
  .hero.screen {
    transform: none;
    padding-top: 32px;
    padding-bottom: 48px;
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .section-head {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .hero.screen {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .hero .badge {
    font-size: 0.8125rem;
    padding: 6px 12px 6px 6px;
    white-space: normal;
    text-align: left;
    line-height: 1.3;
    max-width: 100%;
    margin-bottom: 18px;
  }
  .hero .badge b {
    padding: 3px 9px;
    font-size: 0.72rem;
    flex: none;
  }
  h1.slogan {
    font-size: clamp(2.15rem, 8.8vw, 2.65rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }
  .hero .lead {
    font-size: 1.0625rem;
    line-height: 1.48;
  }
  .hero-cta {
    margin-top: 24px;
    gap: 10px;
  }
  .hero .btn-primary {
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    font-size: 1.02rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .hero .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 22px;
    font-size: 0.84rem;
    text-align: left;
    justify-items: start;
  }
  /* Branchen-Auswahl: Alle 5 Reiter auf dem Smartphone sofort sichtbar */
  .segmented {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
    margin-bottom: 22px;
  }
  .segmented button {
    padding: 7px 13px;
    font-size: 0.84rem;
  }
  /* Vergleichstabelle kompakt & vollständig lesbar */
  table {
    min-width: 520px;
    font-size: 0.84rem;
  }
  th, td {
    padding: 12px 12px;
  }
  /* Über uns auf dem Handy: Foto seitlich links neben Name & Rolle, komplett sichtbar */
  .team-card {
    padding: 22px 18px;
  }
  .team-head {
    grid-template-columns: 112px 1fr;
    gap: 14px;
    align-items: center;
    text-align: left;
    justify-items: start;
    padding-bottom: 16px;
  }
  .team-photo {
    width: 112px;
    height: 140px;
    border-radius: 16px;
  }
  .team-role-pill {
    font-size: 0.6875rem;
    padding: 3px 9px;
    margin-bottom: 6px;
  }
  .team-meta h3 {
    font-size: 1.22rem;
    line-height: 1.2;
  }
  .team-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .team-intro {
    font-size: 0.84rem !important;
    line-height: 1.42;
  }
  .team-list {
    margin-top: 14px;
    gap: 9px;
  }
  .team-list li {
    font-size: 0.875rem;
    line-height: 1.42;
  }
  .team-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 18px;
    gap: 12px;
  }
  .team-banner .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  #ueber-uns .section-head .lead { display: none; }
  #ueber-uns .section-head { margin-bottom: 18px; }
  .team-card { padding: 20px 24px; }
  .team-head { padding-bottom: 14px; grid-template-columns: 124px 1fr; }
  .team-photo { width: 124px; height: 155px; }
  .team-list { margin-top: 12px; gap: 7px; }
  .team-banner { margin-top: 14px; padding: 12px 20px; }
}

/* ================= Ausbau November 2026: Video, Angebote, Einblicke, Unterseiten, Fragebogen ================= */

/* ---------- Kurzfilm ---------- */
.film-frame { margin: 0; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid rgba(0, 50, 130, 0.12); box-shadow: var(--shadow-l); }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--blue-tint); }
.film .list { margin-top: 22px; }

/* ---------- 3 Produkte vertikal nebeneinander in Boxen (#paket) ---------- */
#paket.screen { padding-top: 20px; padding-bottom: 20px; }
#paket .container { max-width: 1180px; }
#paket .section-head { margin-bottom: 16px; }
#paket .section-head h2 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); margin-bottom: 4px; }
#paket .section-head .lead { font-size: 0.94rem; margin-top: 2px; }
.products-3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}
.card.product-box {
  --prod-accent: #1d63ff;
  --prod-accent-hover: #154fe0;
  --prod-soft: #eff6ff;
  --prod-border: rgba(29, 99, 255, 0.2);
  --prod-shadow: rgba(29, 99, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--prod-border);
  border-top: 4px solid var(--prod-accent);
  box-shadow: 0 10px 28px -6px var(--prod-shadow), 0 4px 14px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
.card.product-box.theme-blue {
  --prod-accent: #1d63ff;
  --prod-accent-hover: #154fe0;
  --prod-soft: #eff6ff;
  --prod-border: rgba(29, 99, 255, 0.22);
  --prod-shadow: rgba(29, 99, 255, 0.11);
}
.card.product-box.theme-purple {
  --prod-accent: #7c3aed;
  --prod-accent-hover: #6d28d9;
  --prod-soft: #f5f3ff;
  --prod-border: rgba(124, 58, 237, 0.22);
  --prod-shadow: rgba(124, 58, 237, 0.11);
}
.card.product-box.theme-green {
  --prod-accent: #059669;
  --prod-accent-hover: #047857;
  --prod-soft: #ecfdf5;
  --prod-border: rgba(5, 150, 105, 0.22);
  --prod-shadow: rgba(5, 150, 105, 0.11);
}
.card.product-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px -6px var(--prod-shadow), 0 8px 20px rgba(15, 23, 42, 0.07);
  border-color: var(--prod-accent);
}
.product-box-art {
  width: 100%;
  height: 128px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--prod-border);
  background: var(--prod-soft);
}
.product-box-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 20px 18px;
}
.product-box-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  margin-bottom: 7px;
  padding: 3px 10px;
  border-radius: 980px;
  background: var(--prod-soft);
  color: var(--prod-accent);
  border: 1px solid var(--prod-border);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-box h3 {
  font-size: 1.12rem;
  line-height: 1.26;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}
.product-box-desc {
  font-size: 0.835rem !important;
  line-height: 1.44;
  color: var(--ink-2);
  margin-bottom: 11px;
}
.product-box-list {
  list-style: none;
  margin: 0 0 13px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.product-box-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 0.815rem;
  line-height: 1.38;
  color: var(--ink-2);
}
.product-box-list li b {
  color: var(--ink);
  font-weight: 600;
}
.product-box-list .check {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--prod-soft);
  border-color: var(--prod-border);
}
.product-box-list .check::after {
  width: 6.5px;
  height: 3.8px;
  border-color: var(--prod-accent);
}
.product-box-foot {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.product-box-price {
  background: var(--prod-soft);
  border: 1px solid var(--prod-border);
  border-radius: 12px;
  padding: 7px 11px;
}
.product-box-price strong {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--prod-accent);
  display: block;
  line-height: 1.2;
}
.product-box-price span {
  font-size: 0.74rem;
  color: var(--ink-2);
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}
.product-box-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-box .btn-prod {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 980px;
  background: var(--prod-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 12px var(--prod-shadow);
  transition: background 200ms ease, transform 200ms ease;
}
.product-box .btn-prod:hover {
  background: var(--prod-accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.product-box .btn-prod-ghost {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 980px;
  background: #fff;
  color: var(--prod-accent);
  border: 1px solid var(--prod-border);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.product-box .btn-prod-ghost:hover {
  background: var(--prod-soft);
  border-color: var(--prod-accent);
  color: var(--prod-accent);
  text-decoration: none;
}

/* Farb-Akzente für die 3 Produkt-Detail-Sektionen */
.section-theme-blue .eyebrow { background: #eff6ff; color: #1d63ff; border-color: rgba(29, 99, 255, 0.24); }
.section-theme-blue .hl { color: #1d63ff; }
.section-theme-blue .icon { background: #eff6ff; color: #1d63ff; }

.section-theme-purple .eyebrow { background: #f5f3ff; color: #7c3aed; border-color: rgba(124, 58, 237, 0.24); }
.section-theme-purple .hl { color: #7c3aed; }
.section-theme-purple .icon { background: #f5f3ff; color: #7c3aed; }

.section-theme-green .eyebrow { background: #ecfdf5; color: #059669; border-color: rgba(5, 150, 105, 0.24); }
.section-theme-green .hl { color: #059669; }
.section-theme-green .icon { background: #ecfdf5; color: #059669; }

@media (max-width: 980px) {
  .products-3-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .product-box-actions { grid-template-columns: 1fr; }
}

/* ---------- Weitere Angebote (Platzhalter-Karten) ---------- */
.offers-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card.offer-card { padding: 0 0 22px; overflow: hidden; }
.offer-card > *:not(.offer-art) { margin-left: 22px; margin-right: 22px; }
.offer-art { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.offer-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.offer-card p { font-size: 0.875rem; line-height: 1.5; margin-bottom: 14px; }
.soon { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 10px; border-radius: 980px; background: var(--blue-soft); color: var(--blue); font-size: 0.75rem; font-weight: 600; }
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.offer-link { margin-top: auto; font-size: 0.875rem; font-weight: 600; }
@media (max-width: 1100px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .offers-grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .offer-art { aspect-ratio: 3 / 1; } }

/* ---------- Einblicke & Wissen ---------- */
.insight-tag { margin-bottom: 12px; color: var(--blue); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.insight .soon { margin-bottom: 0; background: var(--bg-alt); color: var(--ink-3); }
.card.quote blockquote { margin: 0 0 14px; font-size: 1.0625rem; color: var(--ink); }
.card.quote figcaption { color: var(--ink-3); font-size: 0.875rem; }

/* ---------- Team: Initialen, solange kein Porträt vorliegt ---------- */
.team-photo.team-initials { display: grid; place-items: center; background: linear-gradient(150deg, #2997ff, #0071e3 55%, #0a3d91); box-shadow: 0 10px 26px rgba(0, 90, 210, 0.28); }
.team-initials span { color: #fff; font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; }

/* ---------- Unterseiten (Impressum, Datenschutz, Platzhalter) ---------- */
.page { background: var(--bg-alt); min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }
.page-head { padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(2.125rem, 4vw, 3.25rem); }
.page-head .lead { margin-top: 12px; max-width: 720px; }
.legal { margin-bottom: 72px; padding: 36px 40px; border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow); color: var(--ink-2); font-size: 1rem; }
.legal h2 { margin: 34px 0 10px; font-size: 1.375rem; letter-spacing: -0.02em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 22px 0 6px; font-size: 1.0625rem; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 10px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal .stand { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.875rem; }
.nav-back { color: var(--ink-2); font-size: 0.875rem; white-space: nowrap; }
.footer-slim { padding: 24px 0; }
.footer-slim .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-slim nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.page, .page * { -webkit-user-select: text; user-select: text; }
@media (max-width: 640px) { .legal { padding: 26px 20px; } .page-head { padding: 40px 0 20px; } }

/* Platzhalter-Seite (portal.entdecke-ki.de) */
.soon-page { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 32px 20px; background: radial-gradient(ellipse 90% 70% at 50% 20%, var(--blue-soft) 0%, #fff 70%); text-align: center; }
.soon-card { width: 100%; max-width: 560px; padding: 44px 40px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow-l); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.soon-card img { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 24px rgba(0, 113, 227, 0.28)); }
.soon-card h1 { font-size: clamp(1.875rem, 4.6vw, 2.5rem); margin-bottom: 14px; }
.soon-card .lead { font-size: 1.0625rem; }
.soon-card .soon { margin-bottom: 16px; }
.soon-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 28px; }
.soon-card .small { margin-top: 24px; }
@media (max-width: 640px) { .soon-card { padding: 34px 22px; } .soon-actions .btn { width: 100%; } }

/* ---------- Kundenbereich: Anmeldung (Feinschliff) ---------- */
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; letter-spacing: -0.02em; }
.auth-brand img { width: 40px; height: 40px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 5px 14px rgba(0, 113, 227, 0.28)); }
.auth-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.8125rem; }
.auth-trust svg { flex: none; width: 15px; height: 15px; color: var(--blue); }

/* ---------- Kundenbereich: Fragebogen & Danke-Seite ---------- */
.onb { display: grid; place-items: start center; min-height: calc(100vh - var(--nav-h)); padding: 40px 16px 64px; background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--blue-soft) 0%, var(--bg-alt) 70%); }
.onb-card { width: 100%; max-width: 640px; padding: 34px 38px; border-radius: var(--radius-l); background: #fff; border: 1px solid rgba(0, 50, 130, 0.10); box-shadow: var(--shadow-l); }
.onb-card h1 { font-size: clamp(1.625rem, 3vw, 2rem); letter-spacing: -0.03em; }
.onb-card > .muted { margin-top: 8px; }
.onb-progress { display: flex; align-items: center; gap: 12px; margin: 22px 0 24px; color: var(--ink-3); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.onb-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; }
.onb-bar i { display: block; height: 100%; width: 33%; border-radius: 6px; background: linear-gradient(90deg, #2997ff, #0071e3); transition: width 500ms var(--ease-out); }
.onb-step { display: grid; gap: 22px; border: 0; margin: 0; padding: 0; min-width: 0; }
.onb-step[hidden] { display: none; }
.onb-q { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.onb-q legend, .onb-q > label { padding: 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
.onb-q .hint { color: var(--ink-3); font-size: 0.8125rem; font-weight: 400; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: block; padding: 9px 16px; border-radius: 980px; background: var(--bg-alt); color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease), transform 100ms ease-out; }
.choices span:hover { background: #eeeef0; }
.choices span:active { transform: scale(0.97); }
.choices input:checked + span { background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.choices input:focus-visible + span { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }
.onb-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.onb-card .feedback { margin: 16px 0 0; }
.thanks { text-align: center; }
.thanks-ico { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2997ff, #0071e3); color: #fff; box-shadow: 0 12px 30px rgba(0, 113, 227, 0.35); animation: pop 600ms var(--ease-out) both; }
.thanks-ico svg { width: 34px; height: 34px; }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
.thanks .timeline { margin: 26px 0 0; text-align: left; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 28px; }
.thanks .small { margin-top: 18px; }
@media (max-width: 640px) { .onb { padding: 20px 12px 48px; } .onb-card { padding: 26px 20px; } .thanks-actions .btn { width: 100%; } .onb-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .thanks-ico { animation: none; } .onb-bar i { transition: none; } }
