/* ============================================================
   JPO – Design System v3  (light-dominant, dark hero + contact)
   ============================================================ */

:root {
  --primary:        #0d9488;   /* teal-600 – works on light */
  --primary-dark:   #0f766e;
  --primary-light:  #14b8a6;
  --primary-on-dark:#2dd4bf;   /* teal-400 – on dark bg */

  --bg:             #ffffff;
  --bg-subtle:      #f8fafc;
  --bg-dark:        #07111d;
  --bg-dark-alt:    #0d1e2e;
  --bg-card:        #ffffff;

  --text:           #0f172a;
  --text-muted:     #64748b;
  --text-faint:     #94a3b8;
  --text-on-dark:   #e2e8f0;
  --text-muted-dark:#94a3b8;

  --border:         #e2e8f0;
  --border-dark:    rgba(255,255,255,0.1);

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head:  'Plus Jakarta Sans', 'Inter', sans-serif;

  --r-sm:  0.5rem;
  --r-md:  0.75rem;
  --r-lg:  1rem;
  --r-xl:  1.5rem;
  --r-2xl: 2rem;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 12px 28px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 48px rgba(0,0,0,.14);

  --ease: 0.18s ease;
  --max-w: 1160px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: var(--primary); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--primary-dark); }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.22; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ease);
  text-decoration: none;
}
.btn--sm  { padding: .5rem 1rem;   font-size: .875rem; }
.btn--lg  { padding: 1rem 2rem;    font-size: 1rem;    }
.btn--full{ width: 100%;           justify-content: center; }

/* green-ish primary (on light bg) */
.btn--primary {
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,.3);
}

/* outline (on light bg) */
.btn--outline {
  padding: .75rem 1.5rem;
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* white (on coloured/dark bg) */
.btn--white {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}
.btn--white:hover {
  background: #f0fdfa;
  border-color: #f0fdfa;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* hero specific */
.btn--hero-primary {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: var(--primary-on-dark);
  color: var(--bg-dark);
  border-color: var(--primary-on-dark);
  font-weight: 700;
}
.btn--hero-primary:hover {
  background: #5eead4;
  border-color: #5eead4;
  color: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,212,191,.35);
}
.btn--hero-ghost {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: transparent;
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.25);
}
.btn--hero-ghost:hover {
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 4.25rem;
  background: rgba(7,17,29,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--ease);
}
.header--scrolled {
  border-bottom-color: var(--border-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--primary-on-dark);
  letter-spacing: -.03em;
}
.logo__divider {
  color: rgba(255,255,255,.2);
  font-weight: 300;
  font-size: 1rem;
}
.logo__sub {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .01em;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link--active { color: var(--primary-on-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle--active span:nth-child(2) { opacity: 0; }
.nav-toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-dark);
  padding: 7.5rem 0 5rem;
  overflow: hidden;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 50%, rgba(13,148,136,.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(45,212,191,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* hero left */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary-on-dark);
  background: rgba(45,212,191,.1);
  border: 1px solid rgba(45,212,191,.2);
  padding: .375rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--green { background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.35; } }

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.625rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary-on-dark) 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.6);
  max-width: 500px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero__proof span {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.hero__proof svg { color: var(--primary-on-dark); flex-shrink: 0; }

/* hero right – the screen mockup */
.hero__visual {
  display: flex;
  justify-content: flex-end;
}
.hero__screen {
  width: 100%;
  max-width: 420px;
  background: #0d1e2e;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 32px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.hero__screen-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .875rem 1.25rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero__screen-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.hero__screen-bar span:nth-child(1) { background: #ff5f57; }
.hero__screen-bar span:nth-child(2) { background: #febc2e; }
.hero__screen-bar span:nth-child(3) { background: #28c840; }
.hero__screen-label {
  margin-left: auto;
  font-size: .6875rem;
  color: rgba(255,255,255,.3);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__screen-body { padding: 1rem; display: flex; flex-direction: column; gap: .625rem; }

.task-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.task-row--running {
  border-color: rgba(45,212,191,.2);
  background: rgba(45,212,191,.05);
}
.task-row__icon { font-size: 1.125rem; line-height: 1; text-align: center; }
.task-row__info { display: flex; flex-direction: column; gap: .1rem; overflow: hidden; }
.task-row__info strong { font-size: .8125rem; font-weight: 600; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-row__info span   { font-size: .6875rem; color: rgba(255,255,255,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-row__badge {
  font-size: .625rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge--green { background: rgba(34,197,94,.15); color: #4ade80; }
.badge--blue  { background: rgba(45,212,191,.15); color: #2dd4bf; }

.hero__screen-footer {
  margin-top: .25rem;
  padding: .875rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.hero__time-saved {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.hero__time-saved svg { color: var(--primary-on-dark); }
.hero__time-saved strong { color: var(--primary-on-dark); font-weight: 700; }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  text-align: center;
}
.stat { padding: 0 1.5rem; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: .15rem;
}
.stat span { font-size: .8125rem; color: var(--text-muted); line-height: 1.4; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* ── Section base ─────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section--light  { background: var(--bg); }
.section--subtle { background: var(--bg-subtle); }
.section--dark   { background: var(--bg-dark); }

.section-head { margin-bottom: 3.5rem; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { max-width: 600px; margin: 0 auto; }

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: .75rem;
}
.section-eyebrow--light { color: var(--primary-on-dark); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: .875rem;
}
.section--dark .section-title { color: #f1f5f9; }

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-cta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
}
.section-cta__note {
  font-size: .8125rem;
  color: var(--text-faint);
}

/* ── Pain cards ───────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pain-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pain-card__icon--red    { background: #fef2f2; color: #ef4444; }
.pain-card__icon--orange { background: #fff7ed; color: #f97316; }
.pain-card__icon--yellow { background: #fefce8; color: #eab308; }
.pain-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .625rem;
  color: var(--text);
}
.pain-card p { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; }

/* ── Service blocks ───────────────────────────────────────── */
.service-block { margin-bottom: 4.5rem; }
.service-block:last-child { margin-bottom: 0; }

.service-block__head { margin-bottom: 1.75rem; max-width: 680px; }
.service-block__head h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  margin-top: .375rem;
}
.service-block__head p { color: var(--text-muted); font-size: .9375rem; }

.service-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .75rem;
  border-radius: 2rem;
}
.service-tag--cyan   { background: #ecfeff; color: #0891b2; border: 1px solid #cffafe; }
.service-tag--teal   { background: #f0fdfa; color: var(--primary-dark); border: 1px solid #ccfbf1; }
.service-tag--violet { background: #f5f3ff; color: #7c3aed; border: 1px solid #ede9fe; }

/* card grids */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid--2x2  { grid-template-columns: repeat(2, 1fr); }
.card-grid--3col { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.625rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card--highlight {
  border-color: #ccfbf1;
  background: linear-gradient(145deg, #f0fdfa 0%, #ffffff 100%);
}
.card--highlight:hover { border-color: var(--primary); }

.card__icon { font-size: 1.625rem; margin-bottom: .875rem; }
.card h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: .875rem;
}
.card__link {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

/* ── CTA stripe ───────────────────────────────────────────── */
.cta-stripe {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a8a82 100%);
  padding: 3.25rem 0;
}
.cta-stripe__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.cta-stripe__inner h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .375rem;
}
.cta-stripe__inner p {
  font-size: .9375rem;
  color: rgba(255,255,255,.75);
}

/* ── Audience ─────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--ease);
}
.audience-card:hover { box-shadow: var(--shadow-lg); }
.audience-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.audience-card__icon { font-size: 2.25rem; line-height: 1; }
.audience-card__top h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.audience-card__quote {
  font-size: .9375rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  padding-left: 1rem;
  border-left: 3px solid #ccfbf1;
}

.benefit-list { display: flex; flex-direction: column; gap: .5rem; }
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}
.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: .875rem;
}

/* ── Steps ────────────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.step-item { text-align: center; padding: 0 1rem; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.125rem;
}
.step-item h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.step-item p  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.375rem;
  color: var(--border);
  margin-top: 1.1rem;
  padding: 0 .5rem;
  font-weight: 300;
}

/* ── About ────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

/* photo */
.about-photo { display: flex; flex-direction: column; gap: 1.5rem; }

.about-img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--r-xl);
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
  outline: 1px solid var(--border);
}

.photo-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  background: var(--bg-subtle);
  border: 2px dashed var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  color: var(--text-faint);
}
.photo-placeholder span { font-size: .875rem; font-weight: 500; }

/* stats under photo */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about-stat {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.about-stat strong {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
  min-width: 70px;
}
.about-stat span { font-size: .8125rem; color: var(--text-muted); line-height: 1.3; }

/* text side */
.about-content .section-title { margin-bottom: 1.5rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.about-content strong { color: var(--text); font-weight: 600; }
.about-content a { color: var(--primary); }
.about-content a:hover { color: var(--primary-dark); }

/* timeline */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.75rem 0;
  border-left: 2px solid #ccfbf1;
  padding-left: 1.25rem;
}
.timeline-item {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .5rem 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.375rem;
  top: .85rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--primary);
}
.timeline-year {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 800;
  color: var(--primary-dark);
  min-width: 58px;
  flex-shrink: 0;
}
.timeline-text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.timeline-text strong { color: var(--text); }
.timeline-text a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }

/* badges – default (in right column) */
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
/* badges left variant (in left column) */
.about-badges--left {
  flex-direction: column;
  padding-top: 0;
  border-top: none;
  margin-top: 1.25rem;
  gap: .625rem;
}
.about-badges--left .about-badge {
  flex: none;
  width: 100%;
}
.about-badge {
  display: flex;
  flex-direction: column;
  gap: .125rem;
  flex: 1;
  min-width: 100px;
  padding: .75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.about-badge strong { font-size: .875rem; font-weight: 700; color: var(--text); }
.about-badge span   { font-size: .75rem; color: var(--text-muted); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-wrap { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--ease);
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.7;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-title {
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #f1f5f9;
  margin-bottom: 1rem;
}
.contact-sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-promises { display: flex; flex-direction: column; gap: 1.125rem; }
.promise {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.promise__check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(45,212,191,.15);
  border: 1px solid rgba(45,212,191,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary-on-dark);
}
.promise div:last-child { display: flex; flex-direction: column; gap: .1rem; }
.promise strong { font-size: .9375rem; color: #e2e8f0; font-weight: 600; }
.promise span   { font-size: .8125rem; color: var(--text-muted-dark); }

.contact-live {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary-on-dark);
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.2);
  padding: .5rem 1.125rem;
  border-radius: 2rem;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

/* form */
.contact-form {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
}
.contact-form__heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { margin-bottom: 1.125rem; }
.form-field label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .375rem;
}
.label-hint { font-weight: 400; color: var(--text-faint); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.checkbox-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.check-opt {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.check-opt input[type="checkbox"] {
  width: auto;
  margin-top: .15rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.form-field--privacy .check-opt { font-size: .8125rem; }
.form-field--privacy a { color: var(--primary); text-decoration: underline; }

.form-micro {
  text-align: center;
  font-size: .75rem;
  color: var(--text-faint);
  margin-top: .75rem;
}
.form-status {
  text-align: center;
  font-size: .875rem;
  margin-top: .625rem;
  min-height: 1.25rem;
}
.form-status--ok  { color: var(--primary-dark); }
.form-status--err { color: #dc2626; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #050d17;
  color: var(--text-muted-dark);
  padding-top: 3.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
}
.footer__brand .logo__mark { font-size: 1.5rem; }
.footer__brand p { font-size: .875rem; color: var(--text-muted-dark); margin-top: .75rem; line-height: 1.6; }
.footer__logo { margin-bottom: 0; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__cols h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e2e8f0;
  margin-bottom: 1rem;
}
.footer__cols a {
  display: block;
  font-size: .875rem;
  color: var(--text-muted-dark);
  margin-bottom: .5rem;
  transition: color var(--ease);
}
.footer__cols a:hover { color: var(--primary-on-dark); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer__bottom p { text-align: center; font-size: .8125rem; color: var(--text-muted-dark); }

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
  animation: reveal-fallback 0s 1.2s forwards;
}
.reveal.visible {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

/* ── Legal pages ──────────────────────────────────────────── */
.legal-page { padding: 8rem 0 4rem; min-height: 60vh; }
.legal-page h1 { font-size: 2rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.legal-page p, .legal-page li { color: var(--text-muted); margin-bottom: .75rem; line-height: 1.7; }
.legal-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-hint {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: .9375rem;
  color: var(--primary-dark);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .hero__inner         { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual        { justify-content: center; }
  .hero__screen        { max-width: 480px; }
  .stats-bar__inner    { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stat-sep            { display: none; }
  .card-grid--3col     { grid-template-columns: repeat(2, 1fr); }
  .about-layout        { grid-template-columns: 1fr; }
  .about-photo         { align-items: center; }
  .about-img,
  .photo-placeholder   { max-width: 280px; }
  .about-stats         { max-width: 280px; width: 100%; }
  .about-timeline      { max-width: 480px; }
  .about-content       { text-align: left; }
  .contact-layout      { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-stripe__inner   { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer__inner       { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* mobile nav */
  .nav {
    position: fixed;
    top: 4.25rem; left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    transform: translateY(-110%);
    opacity: 0;
    transition: all .28s ease;
    pointer-events: none;
  }
  .nav--open { transform: none; opacity: 1; pointer-events: all; }
  .nav__link, .nav .btn { padding: .8rem 0; width: 100%; text-align: center; }
  .nav .btn { margin-top: .5rem; }
  .nav-toggle { display: flex; }

  .pain-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .card-grid--2x2,
  .card-grid--3col { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 2rem; }
  .step-arrow { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .about-layout { text-align: left; }
  .stats-bar__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__ctas  { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__proof { flex-direction: column; gap: .625rem; }
  .form-row    { grid-template-columns: 1fr; }
  .checkbox-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .footer__cols { grid-template-columns: 1fr; }
  .about-badges { flex-direction: column; align-items: flex-start; }
  .about-badges--left { flex-direction: row; flex-wrap: wrap; margin-top: 1rem; }
  .about-badges--left .about-badge { flex: 1; min-width: 140px; width: auto; }
}

/* ================================================================
   SUBPAGE HELPERS
================================================================ */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.intro-text-col { color: var(--text-muted); line-height: 1.75; font-size: 1rem; }
.intro-text-col strong { color: var(--text); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  text-align: center;
}
.stat-num  { display: block; font-size: 2.25rem; font-weight: 900; font-family: var(--font-head); color: var(--primary-dark); letter-spacing: -.03em; }
.stat-label{ display: block; font-size: .875rem; color: var(--text-muted); margin-top: .375rem; line-height: 1.5; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .625rem; justify-content: center; }

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  font-size: .9375rem;
  color: #92400e;
  line-height: 1.6;
}
.info-box__icon { font-size: 1.5rem; flex-shrink: 0; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-label input { accent-color: var(--primary); width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 768px) {
  .intro-split { grid-template-columns: 1fr; gap: 2rem; }
  .stats-row   { grid-template-columns: 1fr; }
  .checkboxes  { grid-template-columns: 1fr !important; }
}

/* ================================================================
   KI SCHULUNGEN SECTION (index)
================================================================ */
.schulung-section {
  background: linear-gradient(145deg, #07111d 0%, #0d1e2e 60%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}
.schulung-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.12) 0%, transparent 70%);
  pointer-events: none;
}

.schulung-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.schulung-title { color: #f1f5f9; }
.schulung-sub   { color: rgba(255,255,255,.6); font-size: 1.0625rem; line-height: 1.75; margin-top: .75rem; }

.schulung-facts { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.schulung-fact  {
  display: flex; align-items: center; gap: .625rem;
  font-size: .9375rem; color: rgba(255,255,255,.7);
}
.schulung-fact svg { color: var(--primary-on-dark); flex-shrink: 0; }

/* topic cards */
.schulung-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.schulung-topic {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg);
  padding: 1.125rem;
  transition: background var(--ease), border-color var(--ease);
}
.schulung-topic:hover {
  background: rgba(45,212,191,.08);
  border-color: rgba(45,212,191,.2);
}
.schulung-topic__icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.schulung-topic strong { display: block; font-size: .9rem; font-weight: 700; color: #e2e8f0; margin-bottom: .3rem; }
.schulung-topic p { font-size: .8125rem; color: rgba(255,255,255,.5); line-height: 1.5; margin: 0; }

/* ================================================================
   SUBPAGE STYLES
================================================================ */
.page-hero {
  background: var(--bg-dark);
  padding: 6.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 60%, rgba(13,148,136,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
}
.page-breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--ease); }
.page-breadcrumb a:hover { color: var(--primary-on-dark); }
.page-breadcrumb span { color: rgba(255,255,255,.2); }
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.035em;
  color: #f1f5f9;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.page-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 620px;
}
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Use case cards (subpages) */
.usecase-grid { display: flex; flex-direction: column; gap: 2rem; }
.usecase-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.usecase-card:hover { box-shadow: var(--shadow-lg); border-color: #ccfbf1; }
.usecase-card__num {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--primary);
  background: #f0fdfa;
  border: 1.5px solid #ccfbf1;
  flex-shrink: 0;
}
.usecase-card__body h3 { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: .625rem; }
.usecase-card__body .usecase-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.usecase-steps { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.usecase-step {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .9rem; color: var(--text);
}
.usecase-step::before {
  content: '→';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.usecase-result {
  display: flex;
  align-items: center;
  gap: .625rem;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.usecase-result::before { content: '✓'; font-weight: 800; }

/* Training topics (ki-schulungen page) */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.training-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.875rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}
.training-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-2px); }
.training-card__icon { font-size: 2.25rem; margin-bottom: 1rem; }
.training-card__tag {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--primary-dark);
  background: #f0fdfa; border: 1px solid #ccfbf1;
  padding: .2rem .625rem; border-radius: 2rem;
  display: inline-block; margin-bottom: .875rem;
}
.training-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: .625rem; }
.training-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .875rem; }
.training-card ul { display: flex; flex-direction: column; gap: .35rem; }
.training-card ul li {
  font-size: .8125rem; color: var(--text-muted);
  padding-left: 1.125rem; position: relative;
}
.training-card ul li::before {
  content: '·'; position: absolute; left: .25rem;
  color: var(--primary); font-weight: 900;
}

/* Format box (Schulungsformate) */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.format-card {
  text-align: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
}
.format-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.format-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.format-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* Page CTA section */
.page-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a8a82 100%);
  padding: 5rem 0;
  text-align: center;
}
.page-cta-section h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; color: #fff; margin-bottom: .875rem; }
.page-cta-section p  { font-size: 1.0625rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.page-cta-section .btn--white { margin: 0 auto; }

@media (max-width: 1024px) {
  .schulung-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .training-grid   { grid-template-columns: repeat(2, 1fr); }
  .format-grid     { grid-template-columns: 1fr; }
}
/* ── form-group alias (used in subpage forms) ─────────────── */
.form-group {
  margin-bottom: 1.125rem;
}
.form-group > label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .375rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .875rem 1rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Module pill checkboxes ───────────────────────────────── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .625rem;
  margin-top: .625rem;
}
.module-pill {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--bg-subtle);
  transition: border-color .2s, background .2s, box-shadow .2s;
  user-select: none;
}
.module-pill:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}
.module-pill input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.module-pill:has(input:checked) {
  border-color: var(--primary);
  background: #f0fdfa;
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.module-pill__icon { font-size: 1.125rem; line-height: 1; }
.module-pill__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ── Stat pills (ki-schulungen trust bar) ─────────────────── */
.stats-bar--dark {
  background: var(--bg-dark) !important;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.stats-bar__inner--pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  text-align: center;
}
.stat-pill { text-align: center; padding: 1.125rem .75rem; }
.stat-pill__num   { display: block; font-size: 1.75rem; font-weight: 900; font-family: var(--font-head); color: var(--primary-on-dark); letter-spacing: -.03em; }
.stat-pill__label { display: block; font-size: .8125rem; color: rgba(255,255,255,.55); margin-top: .3rem; line-height: 1.45; }

@media (max-width: 768px) {
  .stats-bar__inner--pills { grid-template-columns: repeat(2, 1fr); gap: .5rem; padding: .5rem 0; }
}
@media (max-width: 480px) {
  .stats-bar__inner--pills { grid-template-columns: repeat(2, 1fr); }
  .stat-pill { padding: .875rem .5rem; }
  .stat-pill__num   { font-size: 1.5rem; }
  .stat-pill__label { font-size: .75rem; }
}

/* ── Subpage ablauf steps ─────────────────────────────────── */
.ablauf-steps { display: flex; flex-direction: column; gap: 2rem; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.step__num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 900;
  color: var(--primary-dark); background: #f0fdfa;
  border: 2px solid #99f6e4; flex-shrink: 0;
}
.step__content h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.step__content p  { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; }

/* ── Subpage FAQ ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.25rem 1.5rem;
  font-size: 1rem; font-weight: 600; color: var(--text);
  background: transparent; border: none; cursor: pointer; text-align: left;
  transition: background var(--ease);
}
.faq-q:hover { background: var(--bg-subtle); }
.faq-q svg { flex-shrink: 0; transition: transform .25s ease; color: var(--text-muted); }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: .9375rem; color: var(--text-muted); line-height: 1.7;
  padding: 0 1.5rem;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-a.open { max-height: 400px; padding: 0 1.5rem 1.25rem; }

@media (max-width: 768px) {
  /* Subpage grids */
  .schulung-topics    { grid-template-columns: 1fr; }
  .usecase-card       { grid-template-columns: 1fr; }
  .usecase-card__num  { width: 48px; height: 48px; font-size: 1.375rem; }
  .training-grid      { grid-template-columns: 1fr; }
  .module-grid        { grid-template-columns: 1fr; }

  /* Ablauf steps on subpage */
  .step               { grid-template-columns: 40px 1fr; gap: 1rem; }
  .step__num          { width: 40px; height: 40px; font-size: 1rem; }

  /* Page hero */
  .page-hero          { padding: 5rem 0 3rem; }
  .page-hero__title   { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .page-hero__sub     { font-size: .9375rem; }
  .page-hero__ctas    { flex-direction: column; }
  .page-hero__ctas .btn { width: 100%; justify-content: center; text-align: center; }

  /* CTA section */
  .page-cta-section   { padding: 3.5rem 0; }
  .page-cta-section h2 { font-size: 1.625rem; }
  .page-cta-section .btn--white { width: 100%; justify-content: center; }

  /* Form */
  .form-row           { grid-template-columns: 1fr !important; }

  /* Stats row (handwerker/onlineshop pages) */
  .stats-row          { grid-template-columns: 1fr; }

  /* KI Schulungen section on index */
  .schulung-topics    { grid-template-columns: 1fr; }

  /* Format grid */
  .format-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .page-hero { padding: 4.5rem 0 2.5rem; }
  .page-breadcrumb { font-size: .75rem; }
  .usecase-card { padding: 1.5rem; }
  .training-card { padding: 1.375rem; }
  .format-card   { padding: 1.5rem 1.25rem; }
  .stats-row     { grid-template-columns: 1fr 1fr; }
  .schulung-fact { font-size: .875rem; }
}

/* ================================================================
   COOKIE BANNER
================================================================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 17, 29, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cookie-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 540px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 32px 64px rgba(0,0,0,.22);
  transform: translateY(24px);
  transition: transform .3s ease;
  max-height: 92vh;
  overflow-y: auto;
}
.cookie-overlay--visible .cookie-modal {
  transform: translateY(0);
}

.cookie-modal__header { margin-bottom: 1.5rem; }
.cookie-modal__logo {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.cookie-modal__header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .625rem;
}
.cookie-modal__header p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cookie-modal__actions {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
}
.cookie-modal__actions .btn {
  padding: .75rem 1.25rem;
  font-size: .9rem;
}

.cookie-details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: .25rem 0;
  margin-bottom: .5rem;
  transition: color var(--ease);
  font-family: var(--font-sans);
}
.cookie-details-toggle:hover { color: var(--primary); }

.cookie-details {
  display: none;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.cookie-details--open { display: flex; }

.cookie-category {
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--border);
}
.cookie-category:last-of-type { border-bottom: none; }

.cookie-category__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category__head > div:first-child { flex: 1; }
.cookie-category__head strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.cookie-category__head p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Toggle switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: .1rem;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch__slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 2rem;
  cursor: pointer;
  transition: background .2s ease;
}
.cookie-switch__slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
  box-shadow: var(--shadow-sm);
}
.cookie-switch input:checked + .cookie-switch__slider { background: var(--primary); }
.cookie-switch input:checked + .cookie-switch__slider::before { transform: translateX(20px); }

/* Fixed "always active" badge */
.cookie-toggle--fixed {
  display: flex;
  align-items: center;
  margin-top: .1rem;
}
.cookie-toggle--fixed span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: .2rem .625rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.cookie-save-btn {
  margin: 1rem;
  width: calc(100% - 2rem);
}

.cookie-modal__legal {
  font-size: .75rem;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.6;
  margin-top: .75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .5rem;
}
.cookie-modal__legal a {
  color: var(--primary);
  text-decoration: underline;
}
.cookie-reopen-link {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: .75rem;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  text-decoration: underline;
}
.cookie-reopen-link:hover { color: var(--primary); }

@media (max-width: 480px) {
  .cookie-modal__actions { flex-direction: column; }
  .cookie-modal { padding: 1.5rem; }
}
