:root {
  /* Navy — abgestimmt auf Leitstand-Chrome in der App (#1e3a5f / #0f2744) */
  --brand-950: #0a1628;
  --brand-900: #0f2744;
  --brand-800: #1e3a5f;
  --brand-700: #234b73;
  --brand-600: #2d5a87;
  --brand-500: #4a83b8;
  --brand-100: #dbeafe;
  --brand-50: #eff6ff;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --amber-100: #fef3c7;
  --amber-800: #92400e;
  --red-100: #fee2e2;
  --red-800: #991b1b;
  --max: 1140px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(4, 47, 46, 0.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-900);
  background: #fff;
}

a { color: var(--brand-800); }
a:hover { color: var(--brand-700); }

img, svg { display: block; max-width: 100%; }

/* ── Top ribbon ── */
.top-ribbon {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
}

.top-ribbon__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
}

.top-ribbon__inner--center {
  justify-content: center;
}

.top-ribbon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: #fde68a;
}

.top-ribbon__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.top-ribbon a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.top-ribbon a:hover { color: var(--brand-100); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--slate-900);
}

.brand__mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-800));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--slate-700);
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--brand-800); }

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff !important;
}

.site-nav .nav-cta:hover {
  background: var(--brand-900);
  color: #fff !important;
}

.nav-toggle {
  display: block;
  position: relative;
}

@media (min-width: 769px) {
  .nav-toggle > summary { display: none; }

  .nav-toggle .site-nav {
    display: flex !important;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    background: transparent;
    flex-direction: row;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(74, 131, 184, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(219, 234, 254, 0.1), transparent 50%),
    linear-gradient(155deg, var(--brand-950) 0%, var(--brand-900) 45%, var(--brand-800) 100%);
  color: #fff;
  padding: 3.5rem 1.25rem 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-100);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.875rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: #fff;
  color: var(--brand-900);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--brand-50);
  color: var(--brand-900);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn--dark {
  background: var(--brand-800);
  color: #fff;
  border-color: var(--brand-800);
  box-shadow: var(--shadow-sm);
}

.btn--dark:hover {
  background: var(--brand-900);
  color: #fff;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-500);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-visual--photo {
  margin: 0;
}

.hero-visual__frame--photo {
  background: transparent;
  border: none;
  box-shadow: var(--shadow-lg);
}

.hero-visual__frame--photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.hero-visual__caption {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.hero-visual__frame {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
}

.hero-visual__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--slate-300);
}

.hero-visual__dot:nth-child(1) { background: #fca5a5; }
.hero-visual__dot:nth-child(2) { background: #fde68a; }
.hero-visual__dot:nth-child(3) { background: #86efac; }

.hero-visual__title {
  margin-left: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-visual__body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mock-tile {
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
}

.mock-tile--new { background: #dbeafe; color: #1e40af; }
.mock-tile--active { background: #fef3c7; color: #92400e; }
.mock-tile--done { background: #d1fae5; color: #065f46; }

.mock-list {
  display: grid;
  gap: 0.45rem;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--slate-700);
}

.mock-item__status {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.mock-item__status--yellow { background: #f59e0b; }
.mock-item__status--green { background: #10b981; }
.mock-item__status--blue { background: #3b82f6; }

.mock-item strong {
  display: block;
  font-size: 0.6875rem;
  color: var(--slate-900);
}

.hero-visual__float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-800);
  border-left: 4px solid var(--brand-600);
}

/* ── Stats strip ── */
.stats-strip {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.stats-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-800);
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
  line-height: 1.4;
}

/* ── Layout helpers ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section--alt { background: var(--slate-50); }

.section-label {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brand-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--slate-600);
  max-width: 42rem;
  font-size: 1.0625rem;
}

.section-header--center {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-header--center .section-lead { margin-left: auto; margin-right: auto; }

/* ── Alert ── */
.alert {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.alert--danger {
  background: var(--red-100);
  border: 1px solid #fca5a5;
  color: var(--red-800);
}

.alert--info {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--slate-700);
}

/* ── Process (SSE-style numbered) ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.process-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-800);
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--brand-900);
  letter-spacing: -0.02em;
}

.process-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* ── Role cards ── */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.role-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.role-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-800);
}

.role-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--brand-900);
}

.role-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.role-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--slate-700);
}

.role-card li {
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

.role-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-600);
}

/* ── Hero track picker (LAND-6) ── */
.track-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.track-picker__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.track-picker__card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.track-picker__card strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.track-picker__card span:last-child {
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.9;
}

.track-picker__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.track-picker__card--medical .track-picker__badge {
  background: rgba(219, 234, 254, 0.22);
  color: #dbeafe;
}

.track-picker__card--school .track-picker__badge {
  background: rgba(204, 251, 241, 0.22);
  color: #ccfbf1;
}

@media (max-width: 720px) {
  .track-picker { grid-template-columns: 1fr; }
}

/* ── Dual-Mode (Medical | Schul) ── */
.dual-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.dual-mode-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.dual-mode-card--medical {
  border-top: 4px solid var(--brand-600);
}

.dual-mode-card--school {
  border-top: 4px solid #0d9488;
}

.dual-mode-card__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dual-mode-card--medical .dual-mode-card__badge {
  background: var(--brand-50);
  color: var(--brand-800);
}

.dual-mode-card--school .dual-mode-card__badge {
  background: #ccfbf1;
  color: #115e59;
}

.dual-mode-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  color: var(--brand-900);
  letter-spacing: -0.02em;
}

.dual-mode-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.dual-mode-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--slate-700);
}

.dual-mode-card li {
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

.dual-mode-card--medical li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-600);
}

.dual-mode-card--school li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #0d9488;
}

.dual-mode-footnote {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* ── Feature modules ── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.module-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
}

.module-card__num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-600);
  letter-spacing: 0.06em;
}

.module-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  color: var(--slate-900);
}

.module-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ── Pillars (3 Ebenen) ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--slate-50));
  border: 1px solid var(--slate-200);
}

.pillar__tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.5rem;
}

.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--brand-900);
}

.pillar p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.pillar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--slate-700);
}

.pillar li {
  padding: 0.2rem 0;
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--brand-700);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item__body {
  padding: 0 1.15rem 1rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #fff;
  padding: 3.5rem 1.25rem;
}

.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0;
  opacity: 0.9;
  max-width: 32rem;
}

.cta-band .btn--primary {
  flex-shrink: 0;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-block p:last-child { margin-bottom: 0; }

.contact-side {
  background: var(--brand-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-side h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.contact-side p,
.contact-side a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-side a:hover { color: #fff; }

.contact-side dl {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
}

.contact-side dt {
  font-weight: 700;
  color: var(--brand-100);
  margin-top: 0.75rem;
}

.contact-side dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Footer ── */
.site-footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.25rem;
  font-size: 0.875rem;
}

.site-footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover { color: var(--brand-100); }

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Legal pages (impressum/datenschutz) ── */
.legal-page h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  color: var(--brand-900);
}

.legal-page__intro {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.legal-card {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
}

.legal-card:last-child {
  margin-bottom: 0;
}

.legal-page h2 {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-800);
}

.legal-card p {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0.5rem 0 0.65rem;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-700);
}

.legal-list li {
  margin-bottom: 0.4rem;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-kv {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.legal-kv dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.legal-kv dd {
  margin: 0.1rem 0 0;
  font-size: 0.9375rem;
  color: var(--slate-800);
}

.legal-page p, .legal-page li { color: var(--slate-700); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 28rem; margin: 0 auto; }
  .hero-visual__float { display: none; }
  .process-grid,
  .role-grid,
  .dual-mode-grid,
  .pillars,
  .stats-strip__inner { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none !important; }
}

/* ── Partner marquee ── */
.partners-strip {
  border-bottom: 1px solid var(--slate-200);
  background: #fff;
  padding: 1rem 0;
  overflow: hidden;
}

.partners-strip__label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Screenshots gallery ── */
.screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.screenshots__tab {
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-700);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.screenshots__tab.is-active,
.screenshots__tab:hover {
  background: var(--brand-800);
  border-color: var(--brand-800);
  color: #fff;
}

.screenshots__panels {
  position: relative;
}

.screenshots__panel {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.screenshots__panel img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshots__panel figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-200);
}

/* ── Contact form ── */
.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.3rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  background: #fff;
  color: var(--slate-900);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--brand-100);
  border-color: var(--brand-600);
}

.form-row--hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-feedback {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.form-feedback--ok { color: var(--brand-800); font-weight: 600; }
.form-feedback--err { color: var(--red-800); font-weight: 600; }

.contact-form__alt {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* ── Legal off-canvas ── */
.legal-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.legal-offcanvas[hidden] {
  display: none;
}

.legal-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.legal-offcanvas.is-open .legal-offcanvas__backdrop {
  opacity: 1;
}

.legal-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 34rem);
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.legal-offcanvas.is-open .legal-offcanvas__panel {
  transform: translateX(0);
}

.legal-offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
  color: #fff;
  flex-shrink: 0;
}

.legal-offcanvas__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-offcanvas__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.legal-offcanvas__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.legal-offcanvas__body {
  padding: 1.25rem 1.15rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.legal-offcanvas__body.legal-page h1 {
  display: none;
}

.legal-offcanvas__body.legal-page .legal-page__intro {
  margin-top: 0;
}

.legal-offcanvas__body.legal-page .legal-card {
  background: #fff;
}

body.legal-offcanvas-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-toggle summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--brand-800);
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
  }

  .nav-toggle summary::-webkit-details-marker { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    right: 1.25rem;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 0.75rem;
    min-width: 12rem;
    box-shadow: var(--shadow-md);
  }

  .nav-toggle[open] .site-nav { display: flex; }

  .site-header__inner { position: relative; }

  .wrap { padding: 3rem 1.25rem; }
}

/* ── Hub / Gateway (LAND-7) ── */
.page-hub {
  background: #fff;
}

.site-header--hub .site-header__inner {
  max-width: 1200px;
}

.hub-hero {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(74, 131, 184, 0.14), transparent 65%),
    linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
  padding: 3.5rem 1.25rem 2rem;
  text-align: center;
}

.hub-hero__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.hub-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.hub-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand-900);
}

.hub-hero__lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate-600);
}

.gateway {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.gateway__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gateway-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gateway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 39, 68, 0.12);
  color: inherit;
}

.gateway-card--medical {
  border-top: 5px solid var(--brand-600);
}

.gateway-card--medical:hover {
  border-color: var(--brand-500);
}

.gateway-card--school {
  border-top: 5px solid #0d9488;
}

.gateway-card--school:hover {
  border-color: #14b8a6;
}

.gateway-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gateway-card--medical .gateway-card__badge {
  background: var(--brand-50);
  color: var(--brand-800);
}

.gateway-card--school .gateway-card__badge {
  background: #ccfbf1;
  color: #115e59;
}

.gateway-card__head h2 {
  margin: 0.65rem 0 0.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--brand-900);
}

.gateway-card__head p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.gateway-card__shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.gateway-card__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.gateway-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.gateway-card__list li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
}

.gateway-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-500);
}

.gateway-card--school .gateway-card__list li::before {
  background: #14b8a6;
}

.gateway-card__cta {
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-800);
}

.gateway-card--school .gateway-card__cta {
  color: #0f766e;
}

.gateway__note {
  margin: 2rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.hub-trust {
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.hub-trust__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hub-trust__item {
  text-align: center;
}

.hub-trust__item strong {
  display: block;
  font-size: 1.125rem;
  color: var(--brand-800);
  margin-bottom: 0.2rem;
}

.hub-trust__item span {
  font-size: 0.8125rem;
  color: var(--slate-600);
}

/* ── Track switcher (Produktseiten) ── */
.site-header--track .site-header__inner {
  max-width: 1200px;
}

.track-switcher {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

@media (min-width: 769px) {
  .track-switcher { display: flex; }
}

.track-switcher a {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--slate-600);
  transition: background 0.15s, color 0.15s;
}

.track-switcher a:hover {
  color: var(--brand-800);
}

.track-switcher a.is-active {
  background: #fff;
  color: var(--brand-900);
  box-shadow: var(--shadow-sm);
}

/* ── Track-specific heroes ── */
.hero--school {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 184, 166, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(204, 251, 241, 0.08), transparent 50%),
    linear-gradient(155deg, #042f2e 0%, #134e4a 45%, #115e59 100%);
}

.hero--school .hero__eyebrow {
  color: #ccfbf1;
}

.hero--school .hero__meta li::before {
  background: #2dd4bf;
}

.stats-strip--school .stat__value {
  color: #0f766e;
}

.cta-band--school {
  background: linear-gradient(135deg, #134e4a, #0f766e);
}

@media (max-width: 960px) {
  .gateway__grid,
  .hub-trust__inner { grid-template-columns: 1fr; }

  .track-switcher {
    display: flex;
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }

  .site-header--track .site-header__inner {
    flex-wrap: wrap;
  }
}
