@import url("fonts/fonts.css");

/* =========================================================================
   Sofort-Hilfe Köln – Stylesheet
   Aufbau:
     1. Design-Werte (Farben, Schriften, Abstände)
     2. Grundlagen & Reset
     3. Hilfsklassen
     4. Topbar
     5. Kopfbereich & Navigation
     6. Schaltflächen
     7. Startseite: Hero
     8. Abschnitte & Überschriften
     9. Karten
    10. Ablauf-Zeitstrahl
    11. Zertifikate & Modal
    12. Kontakt & Formular
    13. Fußbereich
    14. WhatsApp-Schaltfläche
    15. Mobile Ansicht
   ========================================================================= */

/* ---------------------------------------------------------------- 1. Werte */
:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-150: #eef2f7;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;

  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;

  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --amber-950: #451a03;

  --red-500: #ef4444;
  --whatsapp: #25d366;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow-sm: 0 1px 3px rgb(15 23 42 / 0.08), 0 1px 2px rgb(15 23 42 / 0.04);
  --shadow-md: 0 4px 12px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 10px 24px rgb(15 23 42 / 0.10);
  --shadow-xl: 0 20px 40px rgb(15 23 42 / 0.12);

  --header-height: 5rem;
  --page-max: 80rem;
}

/* ----------------------------------------------------------- 2. Grundlagen */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Muss vor allen Layoutregeln stehen: Elemente mit dem Attribut "hidden"
   bleiben verborgen, auch wenn ihre Klasse display: flex setzt. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--slate-800);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Sichtbarer Fokusrahmen für Tastatur-Bedienung (Barrierefreiheit) */
:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Nutzer mit aktivierter Bewegungsreduktion bekommen keine Animationen */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Bildlaufleiste */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--slate-100);
}
::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

/* --------------------------------------------------------- 3. Hilfsklassen */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: 56rem;
}

.container--wide {
  max-width: 100%;
  padding-inline: 1.5rem;
}

main {
  flex: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nur in einer Sprache sichtbar – wird von script.js gesteuert */
html[lang="de"] [data-only="tr"],
html[lang="tr"] [data-only="de"] {
  display: none;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}
.icon--md {
  width: 1rem;
  height: 1rem;
}
.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}
.icon--xl {
  width: 2rem;
  height: 2rem;
}
.icon--2xl {
  width: 2.5rem;
  height: 2.5rem;
}

/* Kennzeichnung, Label über einer Überschrift.
   align-self verhindert, dass Flex-Container das Label in die Breite ziehen. */
.eyebrow {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  padding: 0.3rem 0.75rem;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}

.badge--purple {
  background: var(--purple-50);
  color: var(--purple-700);
  border-color: var(--purple-100);
}
.badge--emerald {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border-color: var(--emerald-100);
}
.badge--sky {
  background: var(--sky-50);
  color: var(--sky-700);
  border-color: var(--sky-100);
}
.badge--amber {
  background: var(--amber-50);
  color: var(--amber-700);
  border-color: var(--amber-100);
}

/* ---------------------------------------------------------------- 4. Topbar */
.topbar {
  background: var(--slate-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.55rem 0;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item--muted {
  color: var(--slate-300);
}

.topbar__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--blue-500);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

.topbar__phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  transition: color 0.2s;
}

.topbar__phone:hover {
  color: var(--blue-500);
}

.topbar__phone .icon {
  color: var(--blue-500);
}

@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}

/* ------------------------------------------------ 5. Kopfbereich/Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--blue-600);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.logo:hover .logo__mark {
  transform: scale(1.05);
}

.logo__ring {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__ring::after {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: #fff;
  border-radius: var(--radius-full);
}

.logo__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  transition: color 0.2s;
}

.logo:hover .logo__name {
  color: var(--blue-600);
}

.logo__sub {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}

.nav__link:hover {
  color: var(--blue-600);
}

.nav__link:hover::after {
  background: rgb(37 99 235 / 0.4);
}

.nav__link[aria-current="page"] {
  color: var(--blue-600);
}

.nav__link[aria-current="page"]::after {
  background: var(--blue-600);
}

/* Rechter Bereich im Kopf */
.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.header__phone-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.header__phone-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
}

/* Sprachumschalter */
.langswitch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  background: var(--slate-50);
}

.langswitch__btn {
  color: var(--slate-400);
  transition: color 0.2s;
}

.langswitch__btn:hover {
  color: var(--blue-600);
}

.langswitch__btn[aria-pressed="true"] {
  color: var(--blue-600);
}

.langswitch__sep {
  color: var(--slate-300);
}

/* Mobile Bedienelemente */
.header__mobile {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.iconbtn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s;
}

.iconbtn:hover {
  background: var(--slate-200);
}

/* Aufklappmenü mobil */
.mobilenav {
  display: none;
  border-top: 1px solid var(--slate-100);
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
}

.mobilenav.is-open {
  display: block;
}

.mobilenav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: background 0.2s, color 0.2s;
}

.mobilenav__link:hover {
  background: var(--slate-50);
  color: var(--slate-900);
}

.mobilenav__link[aria-current="page"] {
  color: var(--emerald-700);
  background: rgb(236 253 245 / 0.7);
  border-left: 4px solid var(--emerald-500);
}

.mobilenav__link .icon {
  opacity: 0.5;
}

.mobilenav__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobilenav__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  font-weight: 700;
  color: var(--slate-800);
}

.mobilenav__phone .icon {
  color: var(--emerald-600);
}

/* ------------------------------------------------------- 6. Schaltflächen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
  line-height: 1.3;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 6px 16px rgb(37 99 235 / 0.25);
}

.btn--primary:hover {
  background: var(--blue-700);
}

.btn--ghost {
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.btn--ghost:hover {
  background: var(--slate-50);
}

.btn--dark {
  background: var(--slate-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--dark:hover {
  background: var(--purple-700);
}

.btn--purple-soft {
  background: var(--purple-50);
  color: var(--purple-700);
}

.btn--purple-soft:hover {
  background: var(--purple-100);
}

.btn--purple {
  background: var(--purple-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--purple:hover {
  background: var(--purple-700);
}

.btn--emerald {
  background: var(--emerald-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--emerald:hover {
  background: var(--emerald-700);
}

.btn--sky {
  background: var(--sky-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--sky:hover {
  background: var(--sky-700);
}

.btn--white {
  background: #fff;
  color: var(--blue-600);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  background: var(--slate-50);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.4);
}

.btn--outline-white:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--header {
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
}

.btn--gradient {
  background: linear-gradient(to right, var(--emerald-600), var(--sky-600));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--gradient:hover {
  background: linear-gradient(to right, var(--emerald-700), var(--sky-700));
}

/* Textlink mit Pfeil */
.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.2s;
}

.arrowlink .icon {
  transition: transform 0.2s;
}

.arrowlink:hover .icon {
  transform: translateX(4px);
}

.arrowlink--emerald {
  color: var(--emerald-600);
}
.arrowlink--emerald:hover {
  color: var(--emerald-700);
}
.arrowlink--blue {
  color: var(--blue-600);
}
.arrowlink--blue:hover {
  color: var(--blue-700);
}

/* -------------------------------------------------------- 7. Startseite Hero */
.hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  min-height: 37.5rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  padding: 5rem 4rem;
  gap: 1.5rem;
}

.hero__title {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.hero__title em {
  color: var(--blue-600);
  font-style: normal;
}

.hero__text {
  font-size: 1.125rem;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.hero__stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
}

.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  font-weight: 600;
}

.hero__divider {
  width: 1px;
  height: 2.5rem;
  background: var(--slate-200);
}

.hero__visual {
  position: relative;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  min-height: 28.75rem;
}

/* Punktraster im Hintergrund */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--blue-600) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  opacity: 0.1;
  pointer-events: none;
}

.hero__frame {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0.25rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transform: rotate(3deg) scale(1.05);
}

.hero__photo {
  width: 20rem;
  height: 25rem;
  object-fit: cover;
  border-radius: 1.25rem;
  background: var(--slate-200);
}

.hero__card {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 2;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--emerald-500);
  box-shadow: var(--shadow-xl);
  max-width: 20rem;
}

.hero__card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.hero__card-text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* Platzhalter, solange kein Bild vorhanden ist */
.imgph {
  background: var(--slate-100);
  border: 1px dashed var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-align: center;
  padding: 1rem;
}

/* --------------------------------------------------- 8. Abschnitte/Titel */
.section {
  padding: 5rem 0;
}

.section--sm {
  padding: 3.5rem 0;
}

.section--white {
  background: #fff;
}

.section--slate {
  background: var(--slate-50);
}

.section--bordered {
  border-bottom: 1px solid var(--slate-200);
}

.section--bordered-top {
  border-top: 1px solid var(--slate-100);
}

.section--emerald-tint {
  background: rgb(236 253 245 / 0.4);
}
.section--sky-tint {
  background: rgb(240 249 255 / 0.4);
}
.section--purple-tint {
  background: rgb(250 245 255 / 0.4);
}

.section__head {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
}

.section__lead {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* Überschrift mit farbigem Balken links */
.rule-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-950);
  border-left: 4px solid var(--slate-300);
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.rule-title--purple {
  border-color: var(--purple-500);
}
.rule-title--emerald {
  border-color: var(--emerald-500);
}
.rule-title--sky {
  border-color: var(--sky-500);
}

/* Vertrauens-Banner mit Lizenz-Chips */
.trust {
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust__title {
  font-size: 1.875rem;
  font-weight: 800;
}

.trust__text {
  color: var(--slate-600);
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.chip {
  padding: 0.4rem 0.9rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-800);
  box-shadow: var(--shadow-xs);
}

/* Zweispaltiger Bild/Text-Block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--7-5 {
  grid-template-columns: 7fr 5fr;
}

.split__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split__text {
  color: var(--slate-600);
  line-height: 1.7;
}

.split__figure {
  position: relative;
  background: #fff;
  padding: 0.25rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.split__figure img,
.split__figure .imgph {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.split__note {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  background: var(--blue-600);
  color: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--blue-500);
  box-shadow: var(--shadow-xl);
  max-width: 15rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.split__note .icon {
  display: block;
  color: var(--blue-200);
  margin-bottom: 0.5rem;
}

/* Seiten-Kopfbereich der Unterseiten */
.pagehead {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
  padding: 4rem 0;
}

.pagehead__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  align-items: center;
}

.pagehead__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pagehead__title {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.pagehead__subtitle {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}

.pagehead__subtitle--purple {
  color: var(--purple-800);
}
.pagehead__subtitle--emerald {
  color: var(--emerald-700);
}
.pagehead__subtitle--sky {
  color: var(--sky-800);
}

.pagehead__text {
  color: var(--slate-600);
  line-height: 1.7;
}

.pagehead__figure {
  background: #fff;
  padding: 0.5rem;
  border: 1px solid var(--slate-150);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}

.pagehead__figure img,
.pagehead__figure .imgph {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Hinweisleiste für archivierte Bereiche */
.archivebar {
  background: var(--amber-50);
  border-bottom: 1px solid var(--amber-100);
  color: var(--amber-800);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.9rem 1rem;
  text-align: center;
}

.archivebar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: var(--page-max);
  margin-inline: auto;
}

/* Abschluss-Aufruf, blauer Block */
.cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
}

.cta__inner {
  max-width: 56rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
}

.cta__text {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 42rem;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Preisblock */
.pricing {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.pricing__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-950);
}

.pricing__text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.pricing__action {
  justify-self: end;
}

/* -------------------------------------------------------------- 9. Karten */
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Hervorgehobene Leistungskarte mit farbigem Streifen oben */
.feature {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  max-width: 48rem;
  margin-inline: auto;
  text-align: left;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--purple-600);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--purple-50);
  color: var(--purple-600);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.feature:hover .feature__icon {
  transform: scale(1.05);
}

.feature__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature__text {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature__divider {
  border-top: 1px solid var(--slate-100);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.feature__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.feature__actions {
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-150);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Häkchen-Liste */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checklist--single {
  grid-template-columns: 1fr;
}

.checklist__item {
  display: flex;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.checklist__item .icon {
  color: var(--purple-500);
  margin-top: 0.15rem;
}

/* Raster aus Vorteils-Karten */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.benefit {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.benefit__icon--purple {
  background: var(--purple-100);
  color: var(--purple-700);
}
.benefit__icon--emerald {
  background: var(--emerald-100);
  color: var(--emerald-700);
}
.benefit__icon--sky {
  background: var(--sky-100);
  color: var(--sky-700);
}

.benefit__title {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}

.benefit__text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Qualifikations-Block, zentriert */
.quals {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.quals__title {
  font-size: 1.25rem;
  font-weight: 700;
}

.quals__text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.quals .icon--2xl {
  color: var(--purple-600);
}

.quals--emerald .icon--2xl {
  color: var(--emerald-600);
}
.quals--sky .icon--2xl {
  color: var(--sky-600);
}

/* Archiv-Karten */
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.archive-card {
  position: relative;
  background: rgb(248 250 252 / 0.5);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}

.archive-card:hover {
  box-shadow: var(--shadow-md);
}

.archive-card__flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid var(--amber-100);
  border-radius: var(--radius-md);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
}

.archive-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.archive-card__icon--emerald {
  background: var(--emerald-50);
  color: var(--emerald-600);
}
.archive-card__icon--blue {
  background: var(--blue-50);
  color: var(--blue-600);
}

.archive-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.archive-card__text {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.archive-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.archive-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archive-card__list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.archive-card__foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

/* ----------------------------------------------------- 10. Ablauf-Zeitstrahl */
.timeline {
  position: relative;
  border-left: 2px solid var(--slate-200);
  padding-left: 1.5rem;
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline--purple {
  border-color: var(--purple-100);
}
.timeline--emerald {
  border-color: var(--emerald-100);
}
.timeline--sky {
  border-color: var(--sky-100);
}

.timeline__item {
  position: relative;
}

.timeline__dot {
  position: absolute;
  left: -2.19rem;
  top: 0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: var(--shadow-xs);
}

.timeline--purple .timeline__dot {
  background: var(--purple-500);
}
.timeline--emerald .timeline__dot {
  background: var(--emerald-500);
}
.timeline--sky .timeline__dot {
  background: var(--sky-500);
}

.timeline__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline__text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 48rem;
}

/* ------------------------------------------------- 11. Zertifikate & Modal */
.prose {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prose p {
  color: var(--slate-600);
  line-height: 1.8;
}

.quote {
  background: linear-gradient(to right, rgb(236 253 245 / 0.5), rgb(240 249 255 / 0.5));
  border: 1px solid rgb(226 232 240 / 0.65);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.quote__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quote__text {
  color: var(--slate-700);
  font-weight: 500;
  font-style: italic;
  line-height: 1.8;
}

.certs {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-150);
}

.certs__head {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.certs__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.certs__title .icon {
  color: var(--emerald-600);
}

.certs__hint {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.certs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cert {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.cert:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-lg);
}

.cert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.625rem;
  height: 100%;
  background: var(--slate-300);
  transition: background 0.2s;
}

.cert:hover::before {
  background: var(--blue-600);
}

.cert__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cert__level {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.cert__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-400);
}

.cert__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s;
}

.cert:hover .cert__title {
  color: var(--blue-600);
}

.cert__desc {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.cert__foot {
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--slate-400);
}

.cert__more {
  font-weight: 700;
  color: var(--blue-600);
  opacity: 0;
  transition: opacity 0.2s;
}

.cert:hover .cert__more {
  opacity: 1;
}

/* Modal mit Zertifikatsdetails – nutzt das native <dialog>-Element,
   dadurch funktionieren ESC-Taste und Tastatur-Fokus ohne eigenes JavaScript. */
.modal {
  width: min(42rem, 100% - 2rem);
  max-height: 90vh;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.modal::backdrop {
  background: rgb(15 23 42 / 0.6);
  backdrop-filter: blur(2px);
}

.modal__panel {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  background: #fcfbf7;
  border: 8px double rgb(120 53 15 / 0.3);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  color: var(--slate-900);
  text-align: left;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  color: var(--slate-800);
  display: flex;
  transition: background 0.2s;
}

.modal__close:hover {
  background: var(--slate-200);
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgb(120 53 15 / 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.modal__institution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgb(120 53 15 / 0.8);
}

.modal__place {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--slate-400);
}

.modal__head .icon {
  color: var(--amber-800);
}

.modal__body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

.modal__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber-950);
}

.modal__intro {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  max-width: 32rem;
  margin-inline: auto;
  line-height: 1.6;
}

.modal__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: rgb(255 251 235 / 0.4);
  border: 1px solid rgb(120 53 15 / 0.05);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.modal__facts dt {
  color: var(--slate-400);
}

.modal__facts dd {
  margin: 0;
  font-weight: 700;
  color: var(--slate-800);
  word-break: break-word;
}

.modal__facts dd.is-grade {
  color: var(--emerald-700);
}

.modal__modules {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal__modules h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(120 53 15 / 0.8);
  border-bottom: 1px solid rgb(120 53 15 / 0.1);
  padding-bottom: 0.25rem;
}

.modal__modules li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-700);
  line-height: 1.7;
}

.modal__modules li::before {
  content: "✓";
  color: var(--amber-700);
  font-weight: 700;
  flex-shrink: 0;
}

.modal__note {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--slate-400);
  font-style: italic;
  line-height: 1.6;
}

/* ------------------------------------------------- 12. Kontakt & Formular */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  transition: border-color 0.2s;
}

a.contact-item:hover {
  border-color: var(--blue-500);
}

.contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

a.contact-item:hover .contact-item__icon {
  background: var(--blue-600);
  color: #fff;
}

.contact-item__icon--neutral {
  background: var(--slate-150);
  color: var(--slate-700);
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

.contact-item__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  word-break: break-word;
}

.directions {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.7;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  padding: 1rem;
}

.map {
  position: relative;
  height: 15rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgb(239 246 255 / 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--blue-500) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.15;
}

.map__pin {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--blue-600);
  padding: 1rem;
}

.map__pin .icon {
  width: 2.5rem;
  height: 2.5rem;
}

.map__address {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-500);
}

.map__link {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: background 0.2s;
}

.map__link:hover {
  background: var(--slate-50);
}

/* Formular */
.formcard {
  background: rgb(248 250 252 / 0.5);
  border: 1px solid var(--slate-150);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}

.formcard__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
}

.field__req {
  color: var(--red-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--slate-800);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgb(16 185 129 / 0.2);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--red-500);
}

/* Einwilligung */
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  accent-color: var(--emerald-600);
}

.consent a {
  color: var(--emerald-700);
  text-decoration: underline;
}

/* Honigtopf gegen Spam-Bots – für Menschen unsichtbar */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Rückmeldung nach dem Absenden */
.formnote {
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.formnote--ok {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  color: #064e3b;
}

.formnote--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
}

.formnote__title {
  font-weight: 700;
  font-size: 1.125rem;
}

.formnote__text {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.formnote .icon--2xl {
  color: var(--emerald-600);
}

.formnote--error .icon--2xl {
  color: #dc2626;
}

/* Rechtstexte */
.legal {
  background: var(--slate-50);
  border: 1px solid var(--slate-150);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}

.legal__title {
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.legal__text {
  white-space: pre-wrap;
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.8;
}

.legal-note {
  background: rgb(255 251 235 / 0.5);
  border: 1px solid var(--amber-100);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-top: 2rem;
}

.legal-note__title {
  font-weight: 700;
  color: var(--amber-900);
  margin-bottom: 0.75rem;
}

.legal-note__text {
  font-size: 0.75rem;
  color: var(--amber-950);
  line-height: 1.7;
}

.pagetitle {
  font-size: 1.875rem;
  font-weight: 800;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Datenschutz-Fließtext */
.dsgvo h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.dsgvo h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.dsgvo p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.dsgvo ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--slate-600);
  line-height: 1.8;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.dsgvo a {
  color: var(--blue-600);
  text-decoration: underline;
}

/* -------------------------------------------------------- 13. Fußbereich */
.footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 3rem 0;
  margin-top: auto;
  border-top: 1px solid var(--slate-800);
}

.footer__grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer__text {
  font-size: 0.75rem;
  color: var(--slate-400);
  max-width: 24rem;
  line-height: 1.7;
}

.footer__meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--slate-500);
  text-transform: uppercase;
}

.footer__heading {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.footer__list a {
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--emerald-500);
}

.footer__bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.footer__links {
  display: flex;
  gap: 1rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__sep {
  color: var(--slate-700);
}

/* ------------------------------------------------ 14. WhatsApp-Schaltfläche */
.whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--whatsapp);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.whatsapp__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  transition: max-width 0.3s ease-out;
}

.whatsapp:hover .whatsapp__label {
  max-width: 8rem;
}

/* ---------------------------------------------------- 15. Mobile Ansicht */
@media (max-width: 1024px) {
  .nav,
  .header__actions {
    display: none;
  }

  .header__mobile {
    display: flex;
  }

  .hero,
  .pagehead__inner,
  .split,
  .split--7-5,
  .contact-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 3.5rem 1.5rem;
  }

  .hero__visual {
    padding: 3rem 1.5rem 8rem;
  }

  .hero__card {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: none;
  }

  .pricing__action {
    justify-self: start;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .section__head {
    margin-bottom: 2.5rem;
  }

  .feature {
    padding: 1.75rem;
  }

  .feature__title {
    font-size: 1.5rem;
  }

  .checklist,
  .benefits,
  .archive-grid,
  .certs__grid,
  .form__row,
  .modal__facts {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .split__figure {
    margin-bottom: 2rem;
  }

  .split__note {
    right: 0.75rem;
    bottom: -1.75rem;
    max-width: 13rem;
    padding: 1rem;
    font-size: 0.8125rem;
  }

  .modal__panel {
    padding: 1.75rem 1.25rem;
    border-width: 6px;
  }

  .topbar__inner {
    flex-direction: column;
    text-align: center;
  }

  .topbar__group {
    justify-content: center;
    gap: 0.5rem;
  }

  /* Feste Breite statt 100 %: Als Flex-Kind würde eine Prozentbreite
     zusammenfallen, solange noch kein Bild geladen ist. */
  .hero__photo {
    width: 17.5rem;
    max-width: 100%;
    height: 22rem;
  }

  .whatsapp {
    bottom: 1rem;
    right: 1rem;
    padding: 0.85rem;
  }
}

/* Auf schmalen Telefonen den Schriftzug verkleinern, damit er einzeilig bleibt */
@media (max-width: 420px) {
  .logo__name {
    font-size: 1.05rem;
  }

  .logo__mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .header__inner {
    gap: 0.5rem;
  }

  .iconbtn {
    padding: 0.5rem;
  }
}

/* Auf sehr schmalen Geräten den zweiten Hinweis in der Topbar ausblenden */
@media (max-width: 900px) {
  .topbar__item--muted {
    display: none;
  }
}

/* -------------------------------------------------------------- Drucken */
@media print {
  .topbar,
  .header,
  .whatsapp,
  .cta,
  .mobilenav {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
