/* ==========================================================================
   mirum – Site Styles
   Werte übernommen aus den Design-Exporten (claude-design). Farben kommen
   ausschließlich aus tokens.css.
   ========================================================================== */

/* ---- Schriften (lokal ausgeliefert, keine externen Anfragen) --------------- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
}

/* ---- Basis ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Sprungziele (Skip-Link, Anker) landen unterhalb des stehenden Headers */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* Sicherheitsnetz: ein überlanges Wort bricht um, statt die Seite zu verbreitern */
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
svg { flex: none; }

a { color: var(--text-heading); }
a:hover { color: var(--text-muted); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.band--dark :focus-visible,
.site-footer :focus-visible,
.skip-link:focus-visible { outline-color: var(--focus-on-dark); }

strong, b { font-weight: 600; color: var(--text-heading); }
.on-dark strong,
.on-dark b { color: var(--text-on-dark); }

.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;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---- Layout --------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight-bottom { padding-bottom: clamp(56px, 7vw, 88px); }
.section--no-top { padding-top: 0; }

.band--alt  { background: var(--bg-alt); }
.band--dark { background: var(--bg-dark); color: var(--text-on-dark); }

/* Zweispalter: Überschrift links, Inhalt rechts */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: var(--split-gap);
  align-items: flex-start;
}
.split > .split__head { flex: 1 1 380px; min-width: 0; }
.split > .split__body { flex: 1 1 520px; min-width: 0; }

/* Trennlinie zwischen zwei Abschnitten im selben Container */
.divider-top {
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 7vw, 88px);
}

/* ---- Typografie ----------------------------------------------------------- */
.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
.h2--large {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}
.h2--small {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
}
.band--dark .h2 { color: var(--text-on-dark); }

.lead { font-size: 19px; }
.lead + .lead { margin-top: 20px; }

/* Abschließender, abgesetzter Satz */
.closing {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-heading);
}
.band--dark .closing {
  border-top-color: var(--border-on-dark);
  color: var(--text-on-dark);
}

.emphasis {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-heading);
}

.pull {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
.pull + .lead { margin-top: 24px; }

.label-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-label);
}

.link-inline {
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Zentrierte Kernaussage mit Balken */
.statement {
  margin-top: clamp(56px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.statement::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--border-strong);
}
.statement p {
  max-width: 900px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
.statement--large p {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* ---- Header / Navigation -------------------------------------------------- */
/* Der Header bleibt beim Scrollen oben stehen. Seine Höhe steht als --header-h in
   tokens.css, weil auch der Abstand für Sprungziele davon abhängt. */
.site-header-bar { position: sticky; top: 0; z-index: 60; }
.site-header-bar.is-scrolled { box-shadow: 0 1px 0 var(--border-on-dark); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  min-height: var(--header-h);
}

/* Schalter für die Navigation – nur in der schmalen Ansicht sichtbar (siehe unten) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-on-dark);
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-dark);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-dark-raised); }
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 44px; width: auto; }

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  cursor: pointer;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.nav__link[aria-current="page"],
.nav__item--active > .nav__link {
  color: var(--text-on-dark);
  box-shadow: inset 0 -2px 0 var(--accent-nav-active);
}
.nav__link svg { transition: transform 0.15s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__link--cta {
  padding: 0 18px;
  border: 1px solid var(--accent-outline);
  color: var(--text-on-dark);
  box-shadow: none;
}
.nav__link--cta:hover,
.nav__link--cta:focus-visible { text-decoration: none; background: var(--bg-dark-raised); }
.nav__link--cta[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  box-shadow: none;
}

/* Dropdown „Leistungen“ */
.nav__sub {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  min-width: 240px;
  padding: 8px 0;
  background: var(--bg-dark);
  border: 1px solid var(--border-on-dark);
}
.nav__item--open > .nav__sub,
.no-js .nav__item:focus-within > .nav__sub { display: block; }
/* Hover öffnet nur in der breiten Ansicht; im aufgeklappten Menü würde es die Liste verschieben */
@media (hover: hover) and (min-width: 901px) {
  .nav__item:hover > .nav__sub { display: block; }
}
@media (hover: hover) {
  .no-js .nav__item:hover > .nav__sub { display: block; }
}
.nav__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav__sub a:hover,
.nav__sub a:focus-visible,
.nav__sub a[aria-current="page"] {
  color: var(--text-on-dark);
  background: var(--bg-dark-raised);
}
.nav__sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent-nav-active); }

/* Schmale Ansicht: Logo und Schalter „Menü“ in einer Zeile, die Navigation klappt als Fläche
   unter dem Header auf. Der Umbruch liegt knapp über der Breite, ab der die Navigation nicht
   mehr neben das Logo passt (884 px). */
@media (max-width: 900px) {
  /* Logo gibt unter ca. 360 px nach, damit Logo und Schalter in eine Zeile passen */
  .site-header__logo img { height: clamp(32px, 11vw, 40px); }

  /* Ohne JS gibt es keinen Schalter: Die Navigation bleibt sichtbar und umbricht unter dem
     Logo. Dafür ist der Header zu hoch, um stehen zu bleiben. Das Untermenü liegt dann als
     Overlay darüber – statisch eingefügt würde es die umbrechende Zeile auseinanderreißen. */
  html.no-js { scroll-padding-top: 0; }
  .no-js .site-header-bar { position: static; }
  .no-js .site-header { padding-top: 20px; padding-bottom: 20px; }

  .js .site-header { flex-wrap: nowrap; column-gap: 16px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-on-dark);
    border-bottom: 1px solid var(--border-on-dark);
  }
  .js .nav-open .site-nav { display: block; }

  .js .nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    font-size: 17px;
  }
  .js .nav__item + .nav__item { border-top: 1px solid var(--border-on-dark); }
  .js .nav__link {
    width: 100%;
    min-height: 52px;
    padding: 0 var(--gutter);
    justify-content: space-between;
  }
  .js .nav__link:hover,
  .js .nav__link:focus-visible { text-decoration: none; background: var(--bg-dark-raised); }
  /* Der Fokusring liegt innen, sonst schneidet ihn die scrollbare Fläche ab */
  .js .nav__link:focus-visible,
  .js .nav__sub a:focus-visible { outline-offset: -3px; }
  .js .nav__link[aria-current="page"] {
    background: var(--bg-dark-raised);
    box-shadow: inset 3px 0 0 var(--accent-nav-active);
  }
  .js .nav__item--active > .nav__link { box-shadow: none; }

  .js .nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 8px;
    border: 0;
    background: none;
  }
  .js .nav__sub a {
    min-height: 48px;
    padding: 0 var(--gutter) 0 calc(var(--gutter) + 20px);
    white-space: normal;
  }

  /* Kontakt bleibt als Schaltfläche erkennbar */
  .js .nav__item:last-child { padding: 20px var(--gutter) 24px; }
  .js .nav__link--cta { justify-content: center; padding: 0 18px; }
  .js .nav__link--cta:focus-visible { outline-offset: 3px; }
  .js .nav__link--cta[aria-current="page"] { background: var(--accent); box-shadow: none; }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 40px 72px;
}
.hero__main { flex: 999 1 560px; min-width: 0; }
.hero__aside {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 420px;
  border-top: 1px solid var(--border-on-dark);
  padding-top: 24px;
}
.hero__aside p { font-size: 17px; color: var(--text-on-dark-muted); }
.hero__aside p + p { margin-top: 16px; }
.hero__aside p.strong { font-weight: 500; color: var(--text-on-dark); }

.hero__title {
  max-width: 820px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
}
.hero__title--wide { max-width: 900px; }
.hero__lead {
  margin-top: 32px;
  max-width: 640px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-on-dark-soft);
}

/* Hero Startseite */
.hero--home {
  padding-top: clamp(72px, 10vw, 152px);
  padding-bottom: clamp(80px, 10vw, 144px);
  gap: 56px;
}
.hero--home .hero__title { max-width: 980px; }
.hero__eyebrow {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-on-dark-muted);
}
.hero__headline {
  display: block;
  margin-top: 12px;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--accent-headline);
}
.hero--home .hero__lead { margin-top: 40px; }
.hero__sub {
  margin-top: 16px;
  max-width: 640px;
  font-size: 17px;
  color: var(--text-on-dark-muted);
}
.hero__cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.hero__cta-note {
  flex: 1 1 280px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

.team-card {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 360px;
  padding: 32px;
  background: var(--bg-dark-raised);
  border: 1px solid var(--border-on-dark);
}
.team-card .label-mono { font-size: 12px; margin-bottom: 24px; }
.team-card__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-on-dark);
}
.team-card__row:last-of-type { border-bottom: 1px solid var(--border-on-dark); }
.team-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-label);
}
.team-card__name { font-size: 19px; font-weight: 500; color: var(--text-on-dark); }
.team-card__note {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}

/* ---- Buttons -------------------------------------------------------------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  /* Seitenabstand gibt erst unter ca. 350 px nach; der Text darf dann umbrechen */
  padding: 12px clamp(16px, 8vw, 28px);
  border: 0;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.cta:hover { background: var(--accent-hover-bg); color: var(--accent-text); }
.cta--on-light:hover {
  background: var(--accent-hover-bg-light);
  color: var(--accent-hover-text-light);
}

/* ---- Listen --------------------------------------------------------------- */
.bullets { display: flex; flex-direction: column; }
.bullets li { display: flex; gap: 14px; padding: 12px 0; }
.bullets li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 10px;
  background: var(--border-strong);
}
.bullets--lg { font-size: 18px; }
.bullets--lg li::before { margin-top: 11px; }
.bullets--compact li { padding: 10px 0; }
.band--dark .bullets { color: var(--text-on-dark-soft); }
.band--dark .bullets li::before { background: var(--icon-on-dark); }

.bullets--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 4px 48px;
}

/* Listen mit Icon-Kästchen (Für wen) */
.iconlist { display: flex; flex-direction: column; gap: 20px; font-size: 18px; }
.iconlist li { display: flex; gap: 16px; }
.iconlist__icon {
  flex: none;
  display: flex;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  align-items: center;
  justify-content: center;
}
.iconlist__icon--yes { background: var(--border-strong); }
.iconlist__icon--no { border: 2px solid var(--icon); }

/* ---- Karten --------------------------------------------------------------- */
.cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.cards--4 {
  margin-top: 64px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.cards--4 .card { gap: 16px; padding: 32px 28px; }
.card__icon { width: 32px; height: 32px; stroke: var(--icon); }
.card h3 { font-size: 22px; font-weight: 600; color: var(--text-heading); }
.cards--4 .card h3 { font-size: 21px; }
.card ul { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.card ul li { padding-top: 10px; }
.card p { font-size: 16px; }
.card__foot {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 500;
  color: var(--text-heading);
}

/* Situationskarten (Startseite) */
.situations { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px; }
.situation {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg-alt);
  border-top: 3px solid var(--border-strong);
}
.situation h3 {
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
.situation .bullets li::before { margin-top: 10px; }
.situation__closing { font-weight: 500; color: var(--text-heading); }

/* Dunkler Hinweiskasten („Woran Sie es merken“) */
.callout {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.callout .label-mono { flex: 0 1 220px; }
.callout p:not(.label-mono) {
  flex: 1 1 480px;
  min-width: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-on-dark-soft);
}

/* Dunkler Textkasten (Checkup-Ergebnis) */
.result-row { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.result-row > .bullets { flex: 3 1 520px; min-width: 0; }
.darkbox {
  flex: 2 1 340px;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--bg-dark);
}
.darkbox p { font-size: 18px; line-height: 1.55; color: var(--text-on-dark-soft); }

/* ---- Prinzipien-Raster ---------------------------------------------------- */
.principles {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 32px;
}
.principles--tight { margin-top: 24px; }
.principle { border-top: 2px solid var(--border-strong); padding-top: 24px; }
.principle h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-heading);
}
.principle p { margin-top: 12px; font-size: 16px; }
.band--dark .principle { border-top-color: var(--border-on-dark); border-top-width: 1px; }
.band--dark .principle h3 { color: var(--text-on-dark); }
.band--dark .principle p { color: var(--text-on-dark-muted); }

/* Entscheidungslogik (Arbeitsprinzipien) */
.logic {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px 40px;
}
.logic > div { border-top: 3px solid var(--border-strong); padding-top: 28px; }
.logic h3 {
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}
.logic p { margin-top: 16px; font-size: 17px; }

/* Definitionsliste (Rahmenbedingungen) */
.rules { margin-top: 48px; }
.rules > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 72px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.rules > div:last-child { border-bottom: 1px solid var(--border); }
.rules dt { flex: 1 1 380px; min-width: 0; font-size: 19px; font-weight: 600; color: var(--text-heading); }
.rules dd { flex: 1 1 520px; min-width: 0; font-size: 18px; }

/* Zwei nebeneinanderstehende Kurzabschnitte (Für wen) */
.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px 72px;
}
.pair > section { border-top: 2px solid var(--border-strong); padding-top: 28px; }
.pair .lead { margin-top: 20px; }

/* ---- Nummerierte Schritte ------------------------------------------------- */
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px 32px;
}
.steps--6 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px 32px;
}
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps--6 li { gap: 16px; }
.step__head { display: flex; align-items: center; gap: 16px; }
.step__num {
  flex: none;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-size: 17px;
  font-weight: 600;
}
.step__head::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--border); }
.steps h3 { margin-top: 12px; font-size: 21px; font-weight: 600; color: var(--text-heading); }
.steps p { font-size: 16px; }
.steps--6 p { font-size: 17px; }

/* ---- Preis ---------------------------------------------------------------- */
.price-hero { gap: 32px 72px; }
.price-hero__value {
  margin-top: 28px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
}
.price-hero__value span { white-space: nowrap; color: var(--accent-headline); }
.price-hero .lead { color: var(--text-on-dark-soft); }
.price-hero__note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-on-dark);
  font-size: 17px;
  color: var(--text-on-dark-muted);
}

.tiers { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.tier {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border-strong);
}
.tier--main { flex: 3 1 560px; min-width: 0; }
.tier--side { flex: 2 1 360px; min-width: 0; align-self: flex-start; border-top-color: var(--icon); }
.tier h3 { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: var(--text-heading); }
.tier h3 .tier__name { font-size: 22px; }
.tier h3 .tier__price {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tier p { font-size: 18px; }
.tier__scope {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.scope {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.scope--in { background: var(--bg-alt); }
.scope--out { background: var(--bg); border: 1px dashed var(--icon); }
.scope p { font-size: 16px; }
.scope__icon { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; }
.scope--in .scope__icon { background: var(--bg-dark); }
.scope--out .scope__icon { border: 2px solid var(--icon); }
.tier__closing { margin-top: 8px; }

.tier-note { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-start; }
.tier-note__main { flex: 3 1 560px; min-width: 0; display: flex; align-items: flex-start; gap: 16px; }
.tier-note__main svg { margin-top: 2px; stroke: var(--border-strong); }
.tier-note__main p { font-size: 18px; font-weight: 500; color: var(--text-heading); }
.tier-note__side { flex: 2 1 360px; min-width: 0; font-size: 18px; }

/* Vorher → Nachher (Praxisbeispiel) */
.before-after { margin-top: 64px; background: var(--bg-alt); }
.before-after li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.before-after li:last-child { border-bottom: 0; }
.before-after__from { flex: 1 1 320px; min-width: 0; font-size: 18px; color: var(--text-muted); }
.before-after svg { stroke: var(--border-strong); }
.before-after__to { flex: 1 1 320px; min-width: 0; font-size: 18px; font-weight: 500; color: var(--text-heading); }

/* ---- Alternativen (Warum wir) ---------------------------------------------- */
.alternatives { padding-top: clamp(40px, 6vw, 80px); padding-bottom: var(--section-y); }
.alternative { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--border); }
.alternative:first-child { border-top: 0; }
.alternative:last-child { padding-bottom: 0; }

/* ---- Vorgehen (Weiterentwicklung) ----------------------------------------- */
.flow {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0;
  font-size: 15px;
  line-height: 22px;
  align-items: stretch;
}
.flow__box {
  display: flex;
  align-items: center;
  min-height: 136px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border-strong);
}
.flow__box--dark { background: var(--bg-dark); color: var(--text-on-dark-soft); border: 0; }
.flow__box--dark b { color: var(--text-on-dark); }
.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--icon);
}
.flow__arrow svg { width: 56px; height: 12px; stroke: currentColor; }
.flow__arrow--stack { flex-direction: column; gap: 10px; }
.flow__arrow--stack small { font-size: 13px; line-height: 16px; }
.flow__arrow--stack .dashed { stroke-dasharray: 6 6; }
.flow__vert {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 13px;
  line-height: 16px;
}
.flow__vert svg { width: 12px; height: 40px; }
.flow__vert--stop { color: var(--text); }
.flow__vert--stop svg { stroke: var(--icon); }
.flow__vert--go { font-weight: 600; color: var(--text-heading); }
.flow__vert--go svg { stroke: var(--border-strong); }
.flow__dot {
  width: 24px;
  height: 24px;
  border: 2px solid var(--icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow__dot::after { content: ""; width: 10px; height: 10px; background: var(--icon); }

/* Positionen im Raster (Desktop) */
.flow__stop   { grid-column: 7; grid-row: 1; }
.flow__box-1  { grid-column: 1; grid-row: 2; }
.flow__a-1    { grid-column: 2; grid-row: 2; }
.flow__box-2  { grid-column: 3; grid-row: 2; }
.flow__a-2    { grid-column: 4; grid-row: 2; }
.flow__box-3  { grid-column: 5; grid-row: 2; }
.flow__a-3    { grid-column: 6; grid-row: 2; }
.flow__box-4  { grid-column: 7; grid-row: 2; }
.flow__go     { grid-column: 7; grid-row: 3; }
.flow__box-5  { grid-column: 7; grid-row: 4; }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; grid-template-rows: none; }
  .flow__stop, .flow__box-1, .flow__a-1, .flow__box-2, .flow__a-2,
  .flow__box-3, .flow__a-3, .flow__box-4, .flow__go, .flow__box-5 {
    grid-column: 1; grid-row: auto;
  }
  .flow__stop { order: 8; }
  .flow__box-1 { order: 1; } .flow__a-1 { order: 2; }
  .flow__box-2 { order: 3; } .flow__a-2 { order: 4; }
  .flow__box-3 { order: 5; } .flow__a-3 { order: 6; }
  .flow__box-4 { order: 7; }
  .flow__go { order: 9; } .flow__box-5 { order: 10; }
  .flow__box { min-height: 0; }
  .flow__arrow { padding: 10px 0; }
  .flow__arrow svg { transform: rotate(90deg); width: 40px; height: 12px; }
  .flow__arrow--stack { flex-direction: row; gap: 16px; }
  .flow__vert { flex-direction: row; justify-content: flex-start; gap: 12px; }
  .flow__vert svg { height: 28px; }
  .flow__vert--stop { flex-direction: row-reverse; justify-content: flex-end; }
  /* Pfeil zeigt hier zur Seite auf das Stopp-Symbol, nicht nach oben */
  .flow__vert--stop svg { transform: rotate(90deg); margin: 0 8px; }
}
.flow + .emphasis { margin-top: 40px; }

/* ---- CTA-Band ------------------------------------------------------------- */
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
  align-items: flex-end;
  justify-content: space-between;
}
.cta-band__text { flex: 1 1 520px; min-width: 0; }
.cta-band__title {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-on-dark);
}
.cta-band__kicker { font-size: 17px; font-weight: 600; color: var(--text-on-dark-muted); }
.cta-band__kicker + .cta-band__title { margin-top: 16px; }
.cta-band__note {
  margin-top: 24px;
  max-width: 560px;
  font-size: 17px;
  color: var(--text-on-dark-muted);
}
.cta-band--home .cta-band__note { font-size: 16px; }
.cta-band .cta { flex: 0 1 auto; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark-muted); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 32px;
  padding-bottom: 40px;
}
.cta-band + .site-footer .site-footer__inner { border-top: 1px solid var(--border-on-dark); }
.site-footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__logo img { height: 36px; width: auto; }
.site-footer__nav { display: flex; gap: 28px; font-size: 14px; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-on-dark-muted);
}
.site-footer__nav a:hover { color: var(--text-on-dark); }

/* ---- Kontakt / Formular --------------------------------------------------- */
.contact {
  padding-top: clamp(56px, 8vw, 112px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
  align-items: flex-start;
}
.form {
  flex: 3 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 28px 24px;
}
.form__legend { grid-column: 1 / -1; font-size: 15px; color: var(--text-muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--text-heading); }
.field__hint { font-size: 14px; color: var(--text-muted); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: var(--bg);
  font: inherit;
  font-size: 17px;
  color: var(--text);
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: 2px solid var(--field-focus); outline-offset: 2px; }
.field input[type="datetime-local"] { max-width: 360px; }
.form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 8px;
}
.form__note { font-size: 16px; font-weight: 500; color: var(--text-heading); }
.contact__aside {
  flex: 2 1 320px;
  min-width: 0;
  max-width: 420px;
  padding: 32px;
  background: var(--bg-alt);
  border-top: 3px solid var(--border-strong);
}
.contact__aside p { font-size: 18px; color: var(--text-heading); }
.contact__aside a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---- Rechtstexte (Impressum, Datenschutz) --------------------------------- */
.prose { max-width: 760px; }
.prose h2 {
  margin-top: clamp(40px, 5vw, 56px);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 19px; font-weight: 600; color: var(--text-heading); }
.prose p { margin-top: 12px; }
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose address { margin-top: 12px; font-style: normal; }
.prose ul { margin-top: 12px; }
.prose ul li { display: flex; gap: 14px; padding: 6px 0; }
.prose ul li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 10px;
  background: var(--border-strong);
}
.email-image { height: 1.35em; width: auto; display: inline-block; vertical-align: -0.3em; }
