/* ==========================================================================
   SWD-Planer — Marketing-Website
   Design-Tokens und Typo-Skala folgen dem Design-Handoff
   ("SanPlaner Landingpage Design", hifi).

   Abweichungen vom Prototyp — bewusst, jeweils begruendet:
   1. Schrift: Inter Variable statt Manrope. Manrope wurde im Prototyp von
      fonts.googleapis.com geladen; das uebermittelt die IP der Besucher an
      Google und ist ohne Einwilligung ein DSGVO-Problem (LG Muenchen I,
      3 O 17493/20). Inter liegt selbst gehostet unter assets/fonts/ und ist
      dieselbe Schrift, die die App benutzt. Umstieg auf Manrope: siehe README.
   2. --muted von #6A727C auf #656D77 abgedunkelt und das Gruen der
      "Bereit"-Badge von #3F9A63 auf #2C7A4B: die Originalwerte fallen bei
      kleinen Schriftgraden unter WCAG AA (4.5:1).
   ========================================================================== */

/* --- Schrift (self-hosted, kein externer Request) ----------------------- */
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --red: #ce2233;
  --red-d: #a4101f;
  --red-soft: #fbeaec;
  --red-light: #ff8a95;

  --ink: #15181d;
  --ink-2: #3a424c;
  --muted: #656d77;

  --line: #e8eaee;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #eef1f5;

  --blue: #4b6a8a;
  --ok-fg: #2c7a4b;
  --ok-bg: #e8f5ed;

  --r-btn: 12px;
  --r-card: 18px;
  --r-box: 20px;
  --r-cta: 26px;

  --sh-card: 0 20px 40px -24px rgba(21, 24, 29, 0.28);
  --sh-mock: 0 30px 70px -28px rgba(21, 24, 29, 0.32),
    0 8px 22px -12px rgba(21, 24, 29, 0.16);
  --sh-show: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
  --sh-red: 0 10px 24px rgba(206, 34, 51, 0.28);
  --sh-red-lg: 0 40px 80px -40px rgba(206, 34, 51, 0.55);

  --wrap: 1200px;
  --gut: 24px;
  --head-h: 72px;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: 'InterVar', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

/* --- Zugaenglichkeit ---------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Auf roten und dunklen Flaechen braucht der Fokusring Weiss, sonst
   verschwindet er im Hintergrund. */
.btn--primary:focus-visible,
.sec--dark :focus-visible,
.cta :focus-visible,
.price-card--hero :focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.16s ease;
}

.skip:focus {
  top: 12px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Anker duerfen nicht unter dem Sticky-Header landen. */
[id] {
  scroll-margin-top: calc(var(--head-h) + 18px);
}

/* --- Layout ------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.sec {
  padding: 96px 0;
}

.sec--tint {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec--dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sec--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 400px at 20% 0%,
    rgba(206, 34, 51, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.sec--dark > .wrap {
  position: relative;
}

.head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

/* --- Typografie --------------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.sec--dark .eyebrow {
  color: var(--red-light);
}

.h1 {
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.h2 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.h2--sm {
  font-size: 34px;
  line-height: 1.12;
}

.h3 {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}

.sec--dark .lead {
  color: #b9c0ca;
}

.mini {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--sh-red);
}

.btn--primary:hover {
  background: var(--red-d);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(206, 34, 51, 0.34);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--white {
  background: #fff;
  color: var(--red-d);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn--white:hover {
  transform: translateY(-2px);
}

.btn--outline-w {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-w:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn--sm {
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(206, 34, 51, 0.26);
}

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

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  transition: gap 0.18s ease;
}

.arrow:hover {
  gap: 12px;
}

.arrow--red {
  color: var(--red);
  font-weight: 800;
}

.arrow span {
  font-size: 18px;
}

/* --- Header ------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.hdr__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(206, 34, 51, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--ink);
}

.hdr__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hdr__login {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mnav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px var(--gut);
  flex-direction: column;
  gap: 4px;
}

.mnav[data-open='true'] {
  display: flex;
}

.mnav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 8px;
}

.mnav .btn {
  margin-top: 8px;
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(
      1100px 520px at 78% -8%,
      rgba(206, 34, 51, 0.07),
      transparent 60%
    ),
    linear-gradient(180deg, #fbfcfd 0%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 64px;
}

.hero__text {
  animation: sp-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red-soft);
  color: var(--red-d);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: sp-pulse 2.2s ease-in-out infinite;
}

.hero .h1 {
  margin-bottom: 22px;
}

.hero .h1 em {
  font-style: normal;
  color: var(--red);
}

.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 34px;
  max-width: 520px;
}

.hero__btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stats {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stats__v {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stats__l {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.stats__sep {
  width: 1px;
  height: 34px;
  background: var(--line);
}

/* --- Mockup: App-Karte im Hero ----------------------------------------- */
.mock {
  position: relative;
  animation: sp-fade 0.9s ease both;
}

.mock::before {
  content: '';
  position: absolute;
  inset: -22px;
  background: radial-gradient(
    closest-side,
    rgba(206, 34, 51, 0.1),
    transparent
  );
  filter: blur(8px);
}

.mock__win {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  box-shadow: var(--sh-mock);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.mock__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}

.mock__title {
  margin-left: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--red-soft);
  color: var(--red-d);
}

.tag--ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.tag--push {
  margin-left: auto;
}

.mock__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kpis {
  display: flex;
  gap: 10px;
}

.kpi {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.kpi__v {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.kpi__v--red {
  color: var(--red);
}

.box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.box__t {
  font-size: 13px;
  font-weight: 800;
}

.bars {
  display: flex;
  gap: 5px;
  height: 30px;
}

.bars > i {
  border-radius: 6px;
  background: #dde3ea;
}

.bars > i.is-red {
  background: var(--red);
  opacity: 0.9;
}

.bars > i.is-red-2 {
  background: var(--red);
  opacity: 0.65;
}

.bars__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px;
}

.row__badge {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: var(--red-soft);
  color: var(--red);
}

.row__badge--grey {
  background: var(--bg-3);
  color: var(--ink-2);
}

.row__main {
  flex: 1;
  min-width: 0;
}

.row__t {
  font-size: 13px;
  font-weight: 700;
}

.row__s {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.avatars {
  display: flex;
  flex: none;
}

.avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  border: 2px solid #fff;
}

.avatars span + span {
  margin-left: -8px;
}

/* --- Trust-Strip -------------------------------------------------------- */
.trust {
  border-top: 1px solid var(--line);
  background: #fff;
}

.trust__in {
  padding: 22px var(--gut);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--wrap);
  margin: 0 auto;
}

.trust__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.trust__org {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-2);
  opacity: 0.62;
}

/* --- Vorher / Nachher --------------------------------------------------- */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.compare {
  border-radius: var(--r-card);
  padding: 30px;
}

.compare--bad {
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.compare--good {
  background: #fff;
  border: 1.5px solid var(--red);
  box-shadow: 0 24px 50px -28px rgba(206, 34, 51, 0.32);
}

.compare__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--muted);
}

.compare--good .compare__label {
  color: var(--red);
}

.compare__label i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #b7bec7;
}

.compare--good .compare__label i {
  background: var(--red);
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.ticks li b {
  flex: none;
  margin-top: 2px;
  color: #a6aeb8;
  font-weight: 700;
}

.compare--good .ticks li {
  color: var(--ink);
  font-weight: 600;
}

.compare--good .ticks li b {
  color: var(--red);
  font-weight: 800;
}

/* --- Funktionen --------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card);
  border-color: #dcdfe5;
}

.feat__ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feat .h3 {
  margin-bottom: 9px;
}

.feat p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Plattform-Streifen unter den Feature-Karten */
.strip {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  justify-content: center;
}

.strip__i {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.strip__i svg {
  color: var(--red);
  flex: none;
}

/* --- Fuer wen ----------------------------------------------------------- */
.who {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.who__lead {
  max-width: 440px;
  margin-bottom: 28px;
}

.who .h2 {
  margin-bottom: 18px;
}

.who__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.who__card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.who__card:hover {
  border-color: #dcdfe5;
  box-shadow: 0 14px 30px -22px rgba(21, 24, 29, 0.25);
}

.who__tag {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.who__card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.who__card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* --- Showcase (dunkel) -------------------------------------------------- */
.show {
  background: #fff;
  border-radius: var(--r-box);
  box-shadow: var(--sh-show);
  overflow: hidden;
  color: var(--ink);
}

.show__in {
  display: flex;
  min-height: 440px;
}

.show__side {
  width: 220px;
  flex: none;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.show__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px 14px;
  font-weight: 800;
  font-size: 15px;
}

.show__brand i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--red);
}

.show__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}

.show__nav i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #c7cdd5;
}

.show__nav.is-active {
  background: var(--red-soft);
  color: var(--red-d);
  font-weight: 800;
}

.show__nav.is-active i {
  background: var(--red);
}

.prog {
  margin-top: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
}

.prog__track {
  height: 7px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}

.prog__fill {
  height: 100%;
  background: var(--red);
  border-radius: 99px;
}

.prog__v {
  font-size: 12px;
  font-weight: 800;
  margin-top: 7px;
}

.show__main {
  flex: 1;
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.show__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.show__t {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.show__s {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.show__btn {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
}

.show__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.show__kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.show__kpi b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gantt {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  flex: 1;
}

.gantt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.gantt__legend {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.gantt__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gantt__legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.gantt__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.gantt__lbl {
  width: 90px;
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.gantt__track {
  flex: 1;
  height: 24px;
  background: var(--bg-2);
  border-radius: 7px;
  position: relative;
}

.gantt__bar {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 5px;
  background: var(--red);
}

.gantt__bar--b {
  background: var(--blue);
}

/* --- Ablauf in 4 Schritten --------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  position: relative;
}

.step__n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red-d);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ==========================================================================
   Interaktive Demo der Personaleinteilung
   Regeln und Notation stammen aus dem Produktivcode, siehe demo-personal.js
   ========================================================================== */
.demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  box-shadow: 0 30px 60px -40px rgba(21, 24, 29, 0.28);
  overflow: hidden;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.demo__staerke {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.demo__staerke b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.demo__staerke span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.demo__track {
  flex: 1;
  min-width: 120px;
  height: 7px;
  background: var(--bg-3);
  border-radius: 99px;
  overflow: hidden;
}

.demo__fill {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.demo.is-fertig .demo__fill {
  background: var(--ok-fg);
}

.demo__reset {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.demo__reset:hover {
  border-color: var(--ink);
}

.demo__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}

.demo__col {
  padding: 18px 20px;
}

.demo__col + .demo__col {
  border-left: 1px solid var(--line);
  background: #fdfdfe;
}

.demo__ct {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.demo__pool {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.demo__leer {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  padding: 14px 0;
}

.demo__hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 14px;
}

.demo__status {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* --- Helferkarte ------------------------------------------------------- */
.hcard {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 11px;
  cursor: grab;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.hcard:hover {
  border-color: #c9ced6;
  box-shadow: 0 6px 14px -10px rgba(21, 24, 29, 0.3);
}

.hcard.is-sel {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 0 0 3px rgba(206, 34, 51, 0.12);
}

.hcard__av {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.hcard.is-sel .hcard__av {
  background: var(--red);
  color: #fff;
}

.hcard__mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hcard__name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hcard__sub {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.hcard__warn {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

/* --- Abschnitt und Positionen ----------------------------------------- */
.absch + .absch {
  margin-top: 16px;
}

.absch__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.absch__t {
  font-size: 14px;
  font-weight: 800;
}

.absch__s {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.absch__st {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--bg-3);
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: 7px;
  white-space: nowrap;
}

.absch__st.is-ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.absch__pos {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pos {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font: inherit;
  background: #fff;
  border: 1px dashed #cfd4dc;
  border-radius: 11px;
  padding: 9px 11px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pos:hover {
  border-color: var(--ink-2);
}

.pos.is-besetzt {
  border-style: solid;
  border-color: var(--line);
  background: var(--bg-2);
}

.pos.is-ueber {
  border-color: #b6c4d6;
}

.pos.is-unter {
  border-color: #e8b4b9;
  background: #fdf5f6;
}

/* Wenn ein Helfer gewaehlt ist: passende Ziele hervorheben,
   unpassende sichtbar aber zurueckgenommen. */
.pos.is-ziel {
  border-color: var(--red);
  border-style: solid;
  background: var(--red-soft);
}

.pos.is-ziel-warn {
  opacity: 0.55;
}

.pos.is-over {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(206, 34, 51, 0.14);
}

.pos__soll {
  flex: none;
}

.pos__mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pos__name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pos__sub {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.pos.is-unter .pos__sub {
  color: var(--red-d);
}

.pos__offen {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
}

.pos__akt {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-3);
}

.pos.is-besetzt .pos__akt {
  color: var(--red-d);
  background: var(--red-soft);
}

/* --- Qualifikations-Badges (Farben aus qualifikation-defaults.ts) ------ */
.qb {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  background: var(--bg-3);
  color: var(--ink-2);
}

.qb--NA   { background: #fee2e2; color: #991b1b; }
.qb--Arzt { background: #ffe4e6; color: #9f1239; }
.qb--GF   { background: #ffedd5; color: #9a3412; }
.qb--ZF   { background: #fef3c7; color: #92400e; }
.qb--NFS  { background: #ccfbf1; color: #115e59; }
.qb--RS   { background: #dcfce7; color: #166534; }
.qb--RH   { background: #dbeafe; color: #1e40af; }
.qb--San  { background: #f3e8ff; color: #6b21a8; }
.qb--EH   { background: #ecfccb; color: #3f6212; }

/* --- Warndialog ------------------------------------------------------- */
.dlg {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 24, 29, 0.55);
}

.dlg[hidden] {
  display: none;
}

.dlg__box {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}

.dlg__t {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.dlg__intro {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.dlg__problem {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fdf5f6;
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 10px;
}

.dlg__problem strong {
  font-size: 13.5px;
  color: var(--red-d);
}

.dlg__problem span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.dlg__btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.dlg__btns .btn {
  flex: 1;
  min-width: 140px;
  font-size: 14.5px;
  padding: 12px 16px;
  box-shadow: none;
}

/* --- Preise ------------------------------------------------------------- */
.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--hero {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(21, 24, 29, 0.5);
  transform: translateY(-8px);
}

.price-card__pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(206, 34, 51, 0.4);
  white-space: nowrap;
}

.price-card__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-2);
}

.price-card--hero .price-card__name {
  color: var(--red-light);
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 2px;
}

.price-card__amount b {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card__amount span {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.price-card--hero .price-card__amount span {
  color: #aab2bd;
}

.price-card__alt {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.price-card--hero .price-card__alt {
  color: #aab2bd;
}

.price-card__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 12px 0 22px;
}

.price-card--hero .price-card__desc {
  color: #b9c0ca;
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 26px;
}

.price-card__list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

.price-card__list b {
  color: var(--red);
  font-weight: 800;
  flex: none;
}

.price-card--hero .price-card__list li {
  color: #e7eaee;
}

.price-card--hero .price-card__list b {
  color: var(--red-light);
}

.price-card .btn {
  font-size: 15px;
  padding: 13px;
  box-shadow: none;
}

.price-card--hero .btn--primary {
  box-shadow: 0 12px 26px rgba(206, 34, 51, 0.4);
}

.note {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.note h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.note p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.note p + p {
  margin-top: 12px;
}

.fineprint {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
}

/* --- FAQ ---------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2px 22px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  flex: none;
  color: var(--red);
  transition: transform 0.25s ease;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  padding: 0 0 22px;
}

.faq p + p {
  margin-top: -10px;
}

/* --- Abschluss-CTA ------------------------------------------------------ */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  border-radius: var(--r-cta);
  padding: 72px 48px;
  text-align: center;
  box-shadow: var(--sh-red-lg);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 300px at 80% 120%,
      rgba(255, 255, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      500px 260px at 10% -20%,
      rgba(255, 255, 255, 0.12),
      transparent 60%
    );
  pointer-events: none;
}

.cta > div {
  position: relative;
}

.cta .h2 {
  color: #fff;
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.cta p {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 34px;
}

.cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer ------------------------------------------------------------- */
.ftr {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.ftr__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 0;
}

.ftr__about {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 300px;
  margin-top: 16px;
}

.ftr h2 {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.ftr__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ftr__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
}

.ftr__links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.ftr__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* --- Rechtsseiten ------------------------------------------------------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 0 88px;
}

.prose .h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.prose__meta {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}

.prose h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 24px 0 8px;
}

.prose p,
.prose li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose ul li::marker {
  color: var(--red);
}

.prose a {
  color: var(--red-d);
  font-weight: 600;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14.5px;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.prose th {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700;
}

.prose__scroll {
  overflow-x: auto;
}

/* Warnbanner auf den Rechtsseiten. Sobald die echten Angaben eingetragen
   sind, das <aside class="todo"> im HTML loeschen. */
.todo {
  background: #fff8e6;
  border: 1px solid #e8c85a;
  border-left: 4px solid #d9a300;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 32px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #6b4e00;
}

.todo strong {
  color: #533c00;
}

mark.todo-inline {
  background: #ffe9a8;
  color: #533c00;
  padding: 1px 6px;
  border-radius: 5px;
  font-weight: 700;
}

/* --- 404 ---------------------------------------------------------------- */
.nf {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px var(--gut);
}

.nf__code {
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1;
}

/* --- Animationen -------------------------------------------------------- */
@keyframes sp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sp-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sp-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* Zwischenstufe: der 58px-Hero und die 4 Preiskarten werden ab hier eng. */
@media (max-width: 1100px) {
  .h1 {
    font-size: 48px;
  }

  .h2 {
    font-size: 36px;
  }

  .cta .h2 {
    font-size: 38px;
  }

  .prices {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .price-card--hero {
    transform: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 24px;
  }
}

/* Hauptbreakpoint aus dem Handoff. */
@media (max-width: 920px) {
  .sec {
    padding: 72px 0;
  }

  .h1 {
    font-size: 40px;
  }

  .h2,
  .cta .h2 {
    font-size: 32px;
  }

  .h2--sm {
    font-size: 28px;
  }

  .nav,
  .hdr__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero__grid,
  .cols-2,
  .who,
  .grid-3,
  .ftr__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 40px;
    padding: 48px 0 40px;
  }

  .who {
    gap: 36px;
  }

  /* Der Sidebar-Teil des Showcase-Mockups faellt weg; das Mockup selbst
     muss dann als Spalte laufen, sonst quetscht sich das KPI-Raster. */
  .show__side {
    display: none;
  }

  .show__in {
    min-height: 0;
  }

  .show__kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Demo: Pool und Abschnitte untereinander statt nebeneinander. */
  .demo__grid {
    grid-template-columns: 1fr;
  }

  .demo__col + .demo__col {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .cta {
    padding: 52px 24px;
  }

  .cta p {
    font-size: 17px;
  }

  .ftr__grid {
    gap: 32px;
    padding-top: 48px;
  }

  .ftr__about {
    max-width: none;
  }

  .prose .h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --gut: 18px;
  }

  .h1 {
    font-size: 34px;
  }

  .h2,
  .cta .h2 {
    font-size: 27px;
  }

  .lead,
  .hero__lead {
    font-size: 16.5px;
  }

  .prices,
  .steps {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero__btns,
  .cta__btns {
    flex-direction: column;
    align-items: stretch;
  }

  .arrow {
    justify-content: center;
  }

  .kpis {
    flex-wrap: wrap;
  }

  .kpi {
    min-width: calc(50% - 5px);
  }

  .mock__title {
    display: none;
  }

  .show__main,
  .gantt {
    padding: 16px;
  }

  .gantt__lbl {
    width: 68px;
    font-size: 11.5px;
  }

  .compare,
  .feat,
  .who__card,
  .price-card,
  .note {
    padding: 22px;
  }

  .faq summary {
    font-size: 15.5px;
  }

  .stats {
    gap: 18px;
  }

  .stats__sep {
    display: none;
  }
}

/* ==========================================================================
   Nutzer, die Bewegung reduziert haben wollen, bekommen keine.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .btn:hover,
  .feat:hover,
  .who__card:hover {
    transform: none;
  }
}

/* --- Einzelwerte statt style-Attribute ---------------------------------- *
 * Die CSP in firebase.json setzt style-src auf 'self' ohne 'unsafe-inline'.
 * Der Browser verwirft damit jedes style-Attribut im Markup — Werte gehören
 * deshalb hierher und nicht ins HTML. Gilt auch für neue Einzelfälle.
 * ------------------------------------------------------------------------ */

/* Fensterpunkte im Hero-Mockup */
.mock__dot:nth-child(1) {
  background: #e4636e;
}

.mock__dot:nth-child(2) {
  background: #f1c552;
}

.mock__dot:nth-child(3) {
  background: #6fc78a;
}

/* Breitenverhältnis der Zeitleiste im Hero-Mockup */
.bars > i:nth-child(1) {
  flex: 2;
}

.bars > i:nth-child(2) {
  flex: 3;
}

.bars > i:nth-child(3) {
  flex: 4;
}

.bars > i:nth-child(4) {
  flex: 2;
}

.bars > i:nth-child(5) {
  flex: 3;
}

/* Avatar-Stapel */
.avatars span:nth-child(1) {
  background: var(--blue);
}

.avatars span:nth-child(2) {
  background: #7a8aa0;
}

.avatars span:nth-child(3) {
  background: var(--red);
}

/* Fortschritt in der Showcase-Seitenleiste */
.prog__fill {
  width: 82%;
}

/* Legendenpunkte der Zeitleiste im Showcase */
.gantt__legend span:nth-child(1) i {
  background: var(--red);
}

.gantt__legend span:nth-child(2) i {
  background: var(--blue);
}

/* Lage der Balken je Zeile */
.gantt__row:nth-child(1) .gantt__bar:nth-child(1) {
  left: 6%;
  width: 46%;
}

.gantt__row:nth-child(1) .gantt__bar:nth-child(2) {
  left: 52%;
  width: 42%;
}

.gantt__row:nth-child(2) .gantt__bar:nth-child(1) {
  left: 18%;
  width: 38%;
}

.gantt__row:nth-child(2) .gantt__bar:nth-child(2) {
  left: 58%;
  width: 34%;
}

.gantt__row:nth-child(3) .gantt__bar:nth-child(1) {
  left: 10%;
  width: 80%;
  opacity: 0.72;
}

/* Hinweiszeile unter dem Showcase */
.mock__note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* Abschluss-CTA braucht unten mehr Luft als die übrigen Abschnitte */
.sec--cta {
  padding-bottom: 96px;
}

/* Fusszeile ohne Trennlinie — auf Seiten, die direkt darüber enden */
.ftr__bottom--bare {
  margin-top: 0;
  border-top: none;
}

/* Rücksprung am Ende der Rechtsseiten.
   Der Container-Selektor ist nötig, weil `.prose p + p` sonst gewinnt. */
.prose p.legal__back,
p.legal__back {
  margin-top: 36px;
}

/* Adressblock der Widerrufsbelehrung über die volle Breite */
.note--wide {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/* Fehlerseite */
.nf__title {
  margin: 12px 0 14px;
}

.nf__lead {
  max-width: 440px;
  margin: 0 auto 30px;
}

/* --- Druck -------------------------------------------------------------- */
@media print {
  .hdr,
  .mnav,
  .cta,
  .skip {
    display: none !important;
  }

  body {
    color: #000;
  }

  .sec {
    padding: 16px 0;
  }
}
