/* ===================================================
   bkfkurse.de — CI Stylesheet
   Flach, hell, wenig Schatten, Indigo-Akzent
=================================================== */

:root {
  /* Farben */
  --bg: #FFFFFF;
  --bg-subtle: #F8F9FC;
  --bg-indigo-tint: #F1F1FE;
  --text-headline: #1C1E26;
  --text-body: #5A5F72;
  --text-muted: #8A8FA3;

  --indigo: #5B5FEE;
  --indigo-hover: #4347D9;
  --indigo-tint: #EEEEFD;
  --indigo-tint-border: #D8D9FB;

  --border: #E6E7EE;
  --border-strong: #D3D5E0;

  --green: #16A34A;
  --green-tint: #E9F7EF;
  --coral: #F2755A;
  --coral-tint: #FDEEEA;
  --amber: #D97706;
  --amber-tint: #FEF3E2;

  /* Typografie */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius & Spacing */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-full: 999px;

  --shadow-soft: 0 1px 2px rgba(28, 30, 38, 0.04);
  --shadow-pop: 0 8px 24px rgba(28, 30, 38, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-headline);
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--text-headline);
}
.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo .mark svg { width: 16px; height: 16px; }
.logo .accent { color: var(--indigo); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-body);
}
.main-nav a:hover { color: var(--text-headline); }
.main-nav a.active { color: var(--indigo); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: #fff;
}
.btn-primary:hover { background: var(--indigo-hover); }

.btn-secondary {
  background: var(--bg);
  color: var(--text-headline);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-ghost {
  background: transparent;
  color: var(--text-body);
}
.btn-ghost:hover { color: var(--text-headline); }

.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Badges / Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.tag-indigo { background: var(--indigo-tint); color: var(--indigo-hover); }
.tag-green { background: var(--green-tint); color: #0F7A38; }
.tag-coral { background: var(--coral-tint); color: #C95A40; }
.tag-amber { background: var(--amber-tint); color: var(--amber); }
.tag-neutral { background: var(--bg-subtle); color: var(--text-body); border: 1px solid var(--border); }

/* ---------- Provider Badge (Signature-Element) ---------- */
.provider {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.provider-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--indigo-tint);
  color: var(--indigo-hover);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.provider-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.provider-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-headline);
}
.provider-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.verified-check {
  width: 14px;
  height: 14px;
  border-radius: var(--r-full);
  background: var(--indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verified-check svg { width: 9px; height: 9px; }

.provider-lg .provider-avatar { width: 52px; height: 52px; font-size: 18px; border-radius: var(--r-md); }
.provider-lg .provider-name { font-size: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 56px 0 28px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 { font-size: 13px; color: var(--text-headline); margin-bottom: 14px; }
.footer-col a, .footer-col p { font-size: 13.5px; color: var(--text-body); display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Utility ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo);
}
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================================
   Signup-Formular (geteilte Komponente)
   Bisher nur inline in index.html — jetzt hier, damit
   generierte Content-Seiten dieselbe Komponente nutzen
   koennen, ohne das <style>-Block zu duplizieren.
=================================================== */
.signup-form {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.audience-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 8px;
}

.audience-toggle label {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.audience-toggle input { display: none; }
.audience-toggle input:checked+span { display: block; }
.audience-toggle label.active {
  background: var(--bg);
  color: var(--indigo);
  box-shadow: var(--shadow-soft);
}

.signup-row { display: flex; gap: 8px; }

.signup-row input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: none;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-headline);
  outline: none;
  background: var(--bg-subtle);
}

.signup-row input[type="email"]:focus {
  outline: 2px solid var(--indigo);
  outline-offset: -1px;
}

.signup-row .btn-primary { flex-shrink: 0; padding: 13px 22px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

.form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 500;
  display: none;
}
.form-message.show { display: block; }
.form-message.success { background: var(--green-tint); color: #0F7A38; }
.form-message.error { background: var(--coral-tint); color: #C95A40; }

@media (max-width: 880px) {
  .signup-row { flex-direction: column; }
}

/* ===================================================
   Prose (Fliesstext fuer aus Markdown gerenderte Seiten)
=================================================== */
.prose h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.prose h2 {
  font-size: 24px;
  margin: 48px 0 16px;
}

.prose h3 {
  font-size: 18px;
  margin: 32px 0 12px;
}

.prose p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
  font-size: 15.5px;
  line-height: 1.65;
}

.prose a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-color: var(--indigo-tint-border);
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--indigo-hover); }

.prose strong { color: var(--text-headline); }

.prose blockquote {
  margin: 24px 0;
  padding: 4px 20px;
  border-left: 3px solid var(--indigo);
  background: var(--bg-indigo-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-body);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.prose th {
  background: var(--bg-subtle);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-headline);
}

@media (max-width: 880px) {
  .prose h1 { font-size: 27px; }
  .prose h2 { font-size: 20px; }
}

/* Link am Ende von .cat-card (Startseite) */
.cat-card .btn-ghost {
  padding-left: 0;
  padding-right: 0;
  margin-top: 4px;
}

/* ===================================================
   Landingpage-Bausteine (geteilte Komponenten)
   Bisher nur inline in index.html — jetzt hier, damit
   weitere Landingpages (z.B. e-learning-infrastruktur/)
   dieselben Bausteine nutzen koennen.
=================================================== */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.section-head h2 { font-size: 27px; margin-bottom: 10px; }
.section-head p { color: var(--text-body); font-size: 15px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card { padding: 28px 24px; position: relative; }
.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--indigo-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.cat-icon svg { width: 22px; height: 22px; color: var(--indigo); }
.cat-card h3 { font-size: 17px; margin-bottom: 8px; }
.cat-card p { font-size: 13.5px; color: var(--text-body); margin: 0 0 16px; }

.provider-section {
  background: var(--text-headline);
  border-radius: var(--r-lg);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.provider-section .copy h2 { color: #fff; font-size: 25px; margin-bottom: 10px; }
.provider-section .copy p { color: #C5C7DB; font-size: 14.5px; margin: 0; max-width: 440px; }
.provider-section .badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.provider-section .badges .tag { background: rgba(255, 255, 255, 0.1); color: #fff; }

.timeline-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  max-width: 720px;
}
.timeline-step { flex: 1; text-align: center; position: relative; padding: 0 12px; }
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px;
  left: 58%;
  width: 84%;
  height: 1px;
  background: var(--border-strong);
}
.timeline-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
}
.timeline-step.active .timeline-dot {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.timeline-step h4 { font-size: 13.5px; margin-bottom: 4px; }
.timeline-step p { font-size: 12px; color: var(--text-muted); margin: 0; }

.stat-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-headline);
}
.stat-item .label { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* Hero-Varianten */
.launch-hero {
  background: linear-gradient(180deg, var(--bg-indigo-tint) 0%, var(--bg) 100%);
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--border);
}
.launch-hero-content { max-width: 640px; margin: 0 auto; text-align: center; }
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--indigo-tint-border);
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--indigo-hover);
  margin-bottom: 22px;
}
.launch-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.launch-hero h1 { font-size: 40px; font-weight: 800; line-height: 1.18; margin-bottom: 16px; }
.launch-hero h1 .hl { color: var(--indigo); }
.launch-hero p.lead { font-size: 16.5px; color: var(--text-body); margin-bottom: 36px; line-height: 1.6; }

/* Dunkle Hero-Variante fuer B2B/Anbieter-Landingpages */
.provider-hero {
  background: var(--text-headline);
  padding: 88px 0 72px;
}
.provider-hero-content { max-width: 640px; margin: 0 auto; text-align: center; }
.provider-hero .launch-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.provider-hero h1 { font-size: 40px; font-weight: 800; line-height: 1.18; margin-bottom: 16px; color: #fff; }
.provider-hero h1 .hl { color: #A5A8F5; }
.provider-hero p.lead { font-size: 16.5px; color: #C5C7DB; margin-bottom: 36px; line-height: 1.6; }
.provider-hero .stat-item .num { color: #fff; }
.provider-hero .stat-item .label { color: #9698B5; }

@media (max-width: 880px) {
  .launch-hero h1, .provider-hero h1 { font-size: 30px; }
  .cat-grid { grid-template-columns: 1fr; }
  .provider-section { flex-direction: column; text-align: center; padding: 36px 24px; }
  .timeline-row { flex-direction: column; gap: 24px; }
  .timeline-step::after { display: none; }
  .stat-strip { gap: 24px; }
}


/* Störerlabel "NEU" */
.badge-new {
  position: relative;
  top: -11px;
  margin-left: -5px;
  display: inline-block;
  background: #FF5A1F;
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: var(--r-full);
  line-height: 1.4;
  vertical-align: top;
}