﻿/* 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 1px 2px rgba(0, 25, 80, 0.06), 0 2px 8px rgba(0, 25, 80, 0.05);
  --shadow: 0 2px 6px rgba(0, 25, 80, 0.05), 0 12px 32px rgba(0, 25, 80, 0.08);
  --shadow-l: 0 4px 12px rgba(0, 25, 80, 0.06), 0 30px 70px rgba(0, 40, 120, 0.14);
  --shadow-blue: 0 8px 24px rgba(0, 113, 227, 0.28);

  --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; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 10px 30px rgba(0, 113, 227, 0.36); }
.btn-primary:active { background: var(--blue-press); }
.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); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn-white:hover { background: #f5f9ff; }
.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: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 240ms var(--ease), background-color 240ms var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0, 25, 80, 0.05); background: rgba(255, 255, 255, 0.82); }
.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: 9px; box-shadow: 0 4px 14px rgba(0, 113, 227, 0.32); 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; }
.bg-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  filter: saturate(1.12) contrast(1.06);
  transition: opacity 1600ms var(--ease), transform 9000ms linear;
}
.bg-slide.is-active { opacity: 1; transform: scale(1); }
/* 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; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line);
  color: var(--ink-2); font-size: 0.875rem; font-weight: 500;
}
.badge:hover { text-decoration: none; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.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; box-shadow: var(--shadow);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.screen-alt .card { box-shadow: var(--shadow-s), 0 8px 24px rgba(0, 25, 80, 0.05); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.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; box-shadow: var(--shadow-s), 0 6px 18px rgba(0, 25, 80, 0.04); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.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; 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; box-shadow: var(--shadow-l), 0 0 0 1px rgba(0, 113, 227, 0.12); 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; 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; 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; 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; 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; 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: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    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) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card-hover:hover, .feature:hover { 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: Formular auf voller Höhe + Wunschtag ---------- */
.contact { align-items: stretch; }
.contact > .reveal:first-child { display: flex; flex-direction: column; justify-content: center; }
.form-card { display: flex; flex-direction: column; }
.form-card .fields { flex: 1; align-content: start; }
.form-card .field-grow { display: flex; flex-direction: column; }
.form-card .field-grow textarea { flex: 1; min-height: 64px; }
@media (min-width: 901px) {
  .form-card .fields { grid-template-rows: auto auto auto auto 1fr; }
}
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.days button {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px;
  border: 0; border-radius: 12px; 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.75rem; font-weight: 600; opacity: 0.8; }
.days .d-dt { font-size: 0.9375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.day-other { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 28px; }
.day-other .linkbtn { font-size: 0.875rem; }
.day-other input[type="date"] { min-height: 38px; padding: 6px 12px; border: 0; border-radius: 10px; background: var(--bg-alt); font-size: 0.9375rem; }
.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); }
@media (max-width: 640px) { .days { grid-template-columns: repeat(5, 1fr); gap: 6px; } .days .d-dt { font-size: 0.875rem; } }
/* Reiter „Gespräch vereinbaren“: blaue Schrift, sticht heraus */
.nav-links a.nav-contact { color: var(--blue); font-weight: 650; }

.contact > .reveal:first-child { align-items: flex-start; }
.contact > .reveal:first-child > * { align-self: stretch; }
.contact > .reveal:first-child > .eyebrow { align-self: flex-start; }

/* Gespräch-Formular auf niedrigen Laptop-Bildschirmen kompakter */
@media (min-width: 901px) and (max-height: 860px) {
  .days button:nth-child(n+6) { display: none; }
  .days button { padding: 6px 4px; }
  .form-card { padding: 22px 26px; }
  .form-card h3 { margin-bottom: 12px; }
  .form-card .fields { gap: 9px 12px; }
  .form-card .field input, .form-card .field select { min-height: 40px; padding: 8px 12px; }
  .form-card .slots span { padding: 8px 6px; }
  .form-card .field-grow textarea { min-height: 44px; }
  .day-other { margin-top: 4px; min-height: 22px; }
  .form-note { margin-top: 8px; }
  #formSubmit { margin-top: 12px !important; }
}

/* ---------- Slogan & Hero: Harmonische, fein austarierte Größen ---------- */
.hero.screen {
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 36px;
  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); }

@media (max-width: 640px) {
  .badge { font-size: 0.75rem; padding: 5px 10px 5px 5px; white-space: nowrap; max-width: 100%; }
  .badge b { padding: 2px 8px; font-size: 0.6875rem; }
  .slogan-line { text-wrap: balance; }
  h1.slogan { font-size: 2.5rem; }
}

/* 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; }
