/* ==========================================================================
   Marcel Küppers — Designsystem
   --------------------------------------------------------------------------
   Entstanden aus der Bildsprache der bisherigen Startseite und hier zu einem
   gemeinsamen System verallgemeinert, das alle Seiten teilen.

   Aufbau:
     1. Tokens
     2. Basis & Layout
     3. Kapitelmarken (01, 02, …)
     4. Flächen: hell / dunkel
     5. Komponenten (Buttons, Karten, Listen, Zitate)
     6. Kopf- und Fußzeile
     7. Bewegung
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Schriften — selbst gehostet, keine Requests an Dritte (DSGVO)
   -------------------------------------------------------------------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/space-grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/space-grotesk-700.woff2") format("woff2"); }

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
.mk, .mk-topbar, .mk-footer {
  --navy: #05374c;
  --navy-deep: #0a2733;
  --navy-deepest: #041c26;
  --teal: #26bbba;
  --teal-light: #59d6c6;
  --teal-pale: #7fdcd2;
  --gold: #d97706;
  --gold-accent: #f0c75e;

  --surface: #f6f8f9;
  --white: #ffffff;
  --ink: #14262f;
  --ink-body: #4c5c63;
  --muted: #5b7280;
  --light-on-dark: #c8dbe0;
  --headline-on-dark: #f2f7f8;

  --pad-section: clamp(3.2rem, 6.5vw, 5.4rem);
  --wrap: 1080px;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Basis & Layout
   -------------------------------------------------------------------------- */
.mk *, .mk *::before, .mk *::after { margin: 0; padding: 0; box-sizing: border-box; }

.mk {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mk img { max-width: 100%; height: auto; display: block; }
.mk a { color: inherit; }
.mk ul, .mk ol { list-style: none; }

.mk .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.mk section { position: relative; }
.mk .section-inner { padding: var(--pad-section) 0; }
.mk section[id] { scroll-margin-top: 88px; }

.mk h1, .mk h2, .mk h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.mk h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  color: var(--headline-on-dark);
  /* Deutsche Komposita sind lang: ohne automatische Silbentrennung reißt es
     Wörter mitten im Stamm auseinander ("Führungsperspekti|ve"). */
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.mk h2 { hyphens: auto; }
.mk h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; max-width: 38ch; }
.mk h3 { font-size: 1.15rem; line-height: 1.35; }
.mk p { max-width: 62ch; }
.mk .accent { color: var(--gold-accent); }
.mk .lead { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   3. Kapitelmarken
   -------------------------------------------------------------------------- */
.mk .chapter {
  display: flex;
  align-items: flex-end;
  gap: 1.1rem;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem);
}
.mk .chapter-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: .82;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.mk .light .chapter-num { color: #a7bfc7; }
.mk .dark .chapter-num { color: #4f7f8c; }
.mk .chapter-meta { display: flex; flex-direction: column; gap: .45rem; padding-bottom: .15rem; }
.mk .chapter-rule {
  display: block; width: 44px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-accent), rgba(240, 199, 94, .15));
}
.mk .chapter-label {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.mk .light .chapter-label { color: var(--navy); }
.mk .dark .chapter-label { color: var(--teal-light); }

/* --------------------------------------------------------------------------
   4. Flächen
   -------------------------------------------------------------------------- */
.mk .dark {
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(38, 187, 186, .16), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(89, 214, 198, .08), transparent 60%),
    linear-gradient(165deg, #06405a 0%, var(--navy) 38%, var(--navy-deep) 100%);
  color: var(--light-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.mk .dark h2, .mk .dark h3 { color: var(--headline-on-dark); }
.mk .dark p { color: var(--light-on-dark); }

/* Feines Raster, zur Mitte hin ausgeblendet — gibt der Fläche Tiefe ohne Muster-Optik */
.mk .dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(137, 214, 209, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 214, 209, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(closest-side at 60% 30%, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side at 60% 30%, #000 20%, transparent 100%);
}
/* Filmkorn gegen Verlaufsbanding */
.mk .dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mk .light { background: var(--surface); color: var(--ink-body); }
.mk .light h2 { color: var(--navy); }
.mk .light h3 { color: var(--navy); }
.mk .light p { color: var(--ink-body); }

/* Abschlussfläche — warm, damit der letzte Aufruf sich vom Rest abhebt */
.mk .finale {
  background:
    radial-gradient(760px 460px at 50% -8%, rgba(240, 199, 94, .16), transparent 60%),
    radial-gradient(900px 520px at 50% 118%, rgba(38, 187, 186, .14), transparent 65%),
    linear-gradient(175deg, #fffdf9 0%, #f6efe1 100%);
  text-align: center;
}
.mk .finale .chapter { justify-content: center; }
.mk .finale h2, .mk .finale p { margin-left: auto; margin-right: auto; }
.mk .finale p { margin-top: 1.2rem; max-width: 58ch; }
.mk .finale .cta-row { justify-content: center; margin-top: 2.2rem; }

/* --------------------------------------------------------------------------
   5. Komponenten
   -------------------------------------------------------------------------- */

/* --- Buttons --- */
.mk .btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer; border: 1px solid transparent;
}
.mk .btn:hover { transform: translateY(-1px); }
.mk .btn-gold { background: var(--gold-accent); color: var(--ink); box-shadow: 0 6px 22px rgba(240, 199, 94, .28); }
.mk .btn-gold:hover { background: #f5d379; box-shadow: 0 10px 28px rgba(240, 199, 94, .36); }
.mk .btn-ghost { border-color: rgba(234, 244, 245, .35); color: #eaf4f5; background: rgba(255, 255, 255, .03); }
.mk .btn-ghost:hover { border-color: rgba(234, 244, 245, .65); background: rgba(255, 255, 255, .07); }
.mk .btn-navy { background: var(--navy); color: #f2f7f8; box-shadow: 0 6px 20px rgba(5, 55, 76, .22); }
.mk .btn-navy:hover { background: #0a4a66; }
.mk .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* --- Textlinks --- */
.mk .textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: gap .18s ease;
}
.mk .textlink:hover { gap: .65rem; }
.mk .light .textlink { color: #0d7a79; }
.mk .dark .textlink { color: var(--teal-pale); }

/* --- Raster --- */
.mk .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.mk .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (max-width: 860px) { .mk .grid-3, .mk .grid-2 { grid-template-columns: 1fr; } }

.mk .split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 860px) { .mk .split { grid-template-columns: 1fr; } }

/* --- Karten --- */
.mk .card {
  position: relative; border-radius: 18px; padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: .8rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mk .card-light {
  background: var(--white);
  border: 1px solid rgba(5, 55, 76, .06);
  box-shadow: 0 1px 2px rgba(5, 55, 76, .05), 0 12px 32px rgba(5, 55, 76, .07);
}
.mk .card-light h3 { color: var(--navy); }
.mk .card-light p { color: var(--ink-body); font-size: .95rem; }
.mk .card-dark {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(137, 214, 209, .16);
  box-shadow: 0 20px 40px rgba(2, 18, 26, .3);
}
.mk .card-dark h3 { color: var(--headline-on-dark); }
.mk .card-dark p { color: var(--light-on-dark); font-size: .95rem; }

/* Ganze Karte klickbar, wenn sie einen CTA-Link enthält */
.mk a.card { text-decoration: none; }
.mk a.card-light:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(5, 55, 76, .06), 0 18px 44px rgba(5, 55, 76, .12); }
.mk .grid-3 .card-light:hover, .mk .grid-2 .card-light:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 187, 186, .35);
  box-shadow: 0 2px 4px rgba(5, 55, 76, .06), 0 20px 48px rgba(5, 55, 76, .12);
}
.mk .card-cta { margin-top: auto; padding-top: .4rem; }
/* Karte als Ganzes klickbar machen, ohne die Semantik des Links zu verlieren */
.mk .grid-3 .card .card-cta a::after,
.mk .grid-2 .card .card-cta a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mk .grid-3 .card > *, .mk .grid-2 .card > * { position: relative; }

/* --- Icon-Kachel --- */
.mk .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(155deg, #0e4657, #082c3a); border: 1px solid rgba(89, 214, 198, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 16px rgba(2, 20, 28, .25);
}
.mk .icon svg { width: 32px; height: 32px; }

/* --- Auszeichnungen --- */
.mk .tag {
  display: inline-block; align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}
.mk .dark .tag { color: var(--teal-light); border: 1px solid rgba(89, 214, 198, .35); }
.mk .light .tag { color: #0d7a79; border: 1px solid rgba(38, 187, 186, .4); }

.mk .price {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--navy); display: block;
}
.mk .dark .price { color: var(--gold-accent); }
.mk .price-note { font-size: .82rem; color: var(--muted); }
.mk .dark .price-note { color: #9db8c0; }

/* --- Listen --- */
.mk .linklist { display: flex; flex-direction: column; gap: .55rem; margin-top: .3rem; }
.mk .linklist a {
  color: var(--teal-pale); text-decoration: none; font-size: .92rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .45rem;
}
.mk .linklist a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.mk .linklist .arr { color: var(--gold-accent); font-family: var(--font-display); }

.mk .points { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0; }
.mk .points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.mk .dark .points li { color: var(--light-on-dark); }
.mk .light .points li { color: var(--ink); }
.mk .points .dot {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(240, 199, 94, .14);
}
.mk .points .dot svg { width: 11px; height: 11px; }

/* --- Hervorhebung im Fließtext --- */
.mk .bridge {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  font-size: 1.05rem; font-weight: 500; max-width: 58ch;
  padding-left: 1.2rem; border-left: 3px solid var(--gold-accent);
}
.mk .light .bridge { color: var(--ink); }
.mk .dark .bridge { color: var(--headline-on-dark); }

.mk .caption {
  margin-top: 1.6rem; font-size: .85rem; color: var(--muted); max-width: 70ch;
  display: flex; gap: .6rem; align-items: flex-start;
}
.mk .caption::before { content: "※"; color: var(--gold); font-size: .9rem; line-height: 1.6; }

/* --- Zitatfläche --- */
.mk .quote-card {
  max-width: 760px; margin: clamp(2rem, 5vw, 3rem) auto 0; text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 5vw, 3.5rem);
  border-radius: 18px; border: 1px solid rgba(217, 119, 6, .14);
  background: linear-gradient(180deg, #fffdf8, #fbf4e6);
  box-shadow: 0 1px 2px rgba(5, 55, 76, .05), 0 18px 48px -20px rgba(5, 55, 76, .20);
}
.mk .quote-rule {
  width: 40px; height: 3px; border-radius: 2px; margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(90deg, #d97706, #f0c75e);
}
.mk .quote-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.16; letter-spacing: -.02em;
  color: var(--navy); text-wrap: balance;
}
.mk .quote-sub {
  margin: clamp(1.1rem, 2.5vw, 1.5rem) auto 0; max-width: 34em;
  font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.7; color: var(--muted);
}
.mk .quote-pillar {
  font-weight: 600; color: var(--ink); padding-bottom: 2px;
  background-image: linear-gradient(90deg, rgba(38, 187, 186, .5), rgba(89, 214, 198, .5));
  background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 100%;
}
@media (max-width: 640px) { .mk .quote-card { padding: 2.25rem 1.4rem; border-radius: 14px; } }

/* Zitat-/Hinweisfläche auf dunklem Grund */
.mk .dark .quote-card {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(137, 214, 209, .18);
  box-shadow: 0 20px 44px rgba(2, 18, 26, .3);
}
.mk .dark .quote-lead { color: var(--headline-on-dark); }
.mk .dark .quote-sub { color: var(--light-on-dark); }
.mk .dark .quote-pillar { color: var(--headline-on-dark); }

/* Zitat mit Urheber auf hellem Grund */
.mk .light .pullquote blockquote { color: var(--navy); }
.mk .light .pullquote cite { color: var(--muted); }

/* Ablaufleiste auf dunklem Grund */
.mk .dark .flow-item::before { background: var(--navy-deep); border-color: var(--teal-light); }
.mk .dark .flow-item.hot::before { border-color: var(--gold-accent); }
.mk .dark .flow-item.muted::before { border-color: #5a7888; box-shadow: none; }
.mk .dark .flow-time { color: #8fb2d6; }
.mk .dark .flow-item.hot .flow-time { color: var(--gold-accent); }
.mk .dark .flow-title { color: var(--headline-on-dark); }
.mk .dark .flow-item.hot .flow-title { color: var(--gold-accent); }
.mk .dark .flow-desc { color: var(--light-on-dark); }
.mk .dark .flow-desc em { color: var(--headline-on-dark); }

/* Listen mit Häkchen auf dunklem Grund */
.mk .dark .incl-list li { color: var(--light-on-dark); }
.mk .dark .incl-list .tick { color: var(--teal-light); }

/* --- Portrait --- */
.mk .portrait-frame {
  width: clamp(200px, 26vw, 260px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  margin: 0 auto; position: relative;
  box-shadow: 0 18px 44px rgba(5, 55, 76, .18), 0 0 0 1px rgba(5, 55, 76, .06),
              0 0 0 8px var(--white), 0 0 0 9px rgba(38, 187, 186, .35);
}
.mk .portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* --- Buchcover --- */
.mk .book-art { display: flex; justify-content: center; }
.mk .book-img {
  width: 100%; max-width: 280px; border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* --- Hero --------------------------------------------------------------- */
.mk .hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.mk .kicker {
  font-size: .75rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .7rem;
}
.mk .kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold-accent), transparent); }
/* Unterzeile der Seitenköpfe — auch außerhalb des großen Heros, damit
   schlanke Köpfe (Rechtstexte, Statusseiten) denselben Abstand haben. */
.mk p.sub { margin-top: 1.4rem; font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 52ch; }
.mk .trust {
  margin-top: 2.2rem; font-size: .85rem; color: #9db8c0; max-width: 52ch;
  padding-top: 1.4rem; border-top: 1px solid rgba(137, 214, 209, .14);
}
.mk .hero-art { align-self: stretch; display: flex; flex-direction: column; align-items: center; }
.mk .hero-art-graphic { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; }
.mk .hero-art svg { width: 100%; max-width: 340px; height: auto; }
.mk .hero-partner { display: flex; align-items: center; justify-content: center; gap: .85rem; flex-wrap: wrap; margin-top: clamp(1.5rem, 3vw, 2rem); }
.mk .hero-partner-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(157, 184, 192, .85); }
.mk .hero-partner-logo { display: inline-flex; align-items: center; opacity: .92; transition: transform .25s ease, opacity .25s ease; }
.mk .hero-partner-logo:hover { transform: translateY(-2px); opacity: 1; }
.mk .hero-partner-logo img { height: 46px; width: 46px; }
@media (max-width: 860px) {
  .mk .hero-inner { grid-template-columns: 1fr; }
  .mk .hero-art { order: -1; }
  .mk .hero-art-graphic { flex: none; }
  .mk .hero-art svg { max-width: 240px; }
  .mk .hero-partner { margin-top: 1.75rem; }
}

.mk .intro-dark { font-size: 1.05rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--light-on-dark); }
.mk .art-center { display: flex; justify-content: center; }
.mk .art-center svg { width: 100%; max-width: 380px; height: auto; }

/* --- Kurzprofil mit Portrait -------------------------------------------- */
.mk .profile-top {
  display: grid; grid-template-columns: minmax(0, .44fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem);
}
@media (max-width: 820px) {
  .mk .profile-top { grid-template-columns: 1fr; text-align: center; }
  .mk .profile-top p { margin-inline: auto; }
  .mk .portrait-frame { margin-inline: auto; }
}

/* --- Werdegang: waagerechter Zeitstrahl, auf schmalen Schirmen senkrecht -- */
.mk .tl { max-width: 1180px; margin: 0 auto; padding: 12px 0 20px; color: var(--ink); }
.mk .tl-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 30px repeat(3, 1fr) 30px 1.18fr;
  grid-template-rows: auto 38px auto;
  column-gap: 14px; position: relative;
}
.mk .tl-phase, .mk .tl-roles, .mk .tl-role { display: contents; }
.mk .tl-rail {
  grid-column: 1 / -1; grid-row: 2; align-self: center;
  height: 3px; border-radius: 99px;
  background: linear-gradient(90deg,
    rgba(38,187,186,0) 0%, #26bbba 5%, #59d6c6 26%, #1d7a94 44%,
    #05374c 60%, #0d4a63 76%, #d97706 90%, #f0c75e 100%);
  box-shadow: 0 1px 10px rgba(38,187,186,.28), 0 2px 16px rgba(217,119,6,.14);
}
.mk .tl-phase-head { grid-row: 1; align-self: end; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 2px 22px; }
.mk .tl-p1 .tl-phase-head { grid-column: 1 / 4; }
.mk .tl-p2 .tl-phase-head { grid-column: 5 / 8; }
.mk .tl-p3 .tl-phase-head { grid-column: 9 / 10; }
.mk .tl-phase-name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; color: var(--ink); }
.mk .tl-phase-tag { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding: 4px 11px; border-radius: 99px; }
.mk .tl-p1 .tl-phase-tag { color: #0c7e7d; background: rgba(38,187,186,.12); box-shadow: inset 0 0 0 1px rgba(38,187,186,.28); }
.mk .tl-p2 .tl-phase-tag { color: var(--navy); background: rgba(5,55,76,.07); box-shadow: inset 0 0 0 1px rgba(5,55,76,.18); }
.mk .tl-p3 .tl-phase-tag { color: #b45309; background: rgba(240,199,94,.20); box-shadow: inset 0 0 0 1px rgba(217,119,6,.32); }
.mk .tl-node { grid-row: 2; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; height: 100%; }
.mk .tl-dot { display: block; position: relative; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.mk .tl-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; }
.mk .tl-p1 .tl-dot { box-shadow: 0 0 0 1px rgba(38,187,186,.4), 0 2px 8px rgba(38,187,186,.4); }
.mk .tl-p1 .tl-dot::after { background: radial-gradient(circle at 35% 30%, #59d6c6, #189a99); }
.mk .tl-p2 .tl-dot { box-shadow: 0 0 0 1px rgba(5,55,76,.35), 0 2px 8px rgba(5,55,76,.32); }
.mk .tl-p2 .tl-dot::after { background: radial-gradient(circle at 35% 30%, #2d6b86, #05374c); }
.mk .tl-p3 .tl-dot { box-shadow: 0 0 0 1px rgba(217,119,6,.45), 0 2px 10px rgba(217,119,6,.45); }
.mk .tl-p3 .tl-dot::after { background: radial-gradient(circle at 35% 30%, #f0c75e, #d97706); }
.mk .tl-node::after { content: ""; position: absolute; top: calc(50% + 10px); left: calc(50% - 1px); width: 2px; height: 26px; border-radius: 2px; }
.mk .tl-p1 .tl-node::after { background: linear-gradient(180deg, rgba(38,187,186,.45), rgba(38,187,186,0)); }
.mk .tl-p2 .tl-node::after { background: linear-gradient(180deg, rgba(5,55,76,.35), rgba(5,55,76,0)); }
.mk .tl-p3 .tl-node::after { background: linear-gradient(180deg, rgba(217,119,6,.5), rgba(217,119,6,0)); }
.mk .tl-node--now .tl-dot { width: 22px; height: 22px; box-shadow: 0 0 0 1px rgba(217,119,6,.45), 0 0 0 7px rgba(240,199,94,.18), 0 2px 16px rgba(217,119,6,.55); }
.mk .tl-node--now .tl-dot::after { inset: 4px; background: radial-gradient(circle at 35% 30%, #f6d98a, #d97706); }
.mk .tl-node--now::before {
  content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,199,94,.4) 0%, rgba(240,199,94,0) 70%);
  animation: mk-pulse 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes mk-pulse { 0%, 100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.35); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mk .tl-node--now::before { animation: none; } }
.mk .tl-c1 .tl-node, .mk .tl-c1 .tl-card { grid-column: 1; }
.mk .tl-c2 .tl-node, .mk .tl-c2 .tl-card { grid-column: 2; }
.mk .tl-c3 .tl-node, .mk .tl-c3 .tl-card { grid-column: 3; }
.mk .tl-c4 .tl-node, .mk .tl-c4 .tl-card { grid-column: 5; }
.mk .tl-c5 .tl-node, .mk .tl-c5 .tl-card { grid-column: 6; }
.mk .tl-c6 .tl-node, .mk .tl-c6 .tl-card { grid-column: 7; }
.mk .tl-c7 .tl-node, .mk .tl-c7 .tl-card { grid-column: 9; }
.mk .tl-card {
  grid-row: 3; margin-top: 28px; position: relative;
  background: #fff; border: 1px solid rgba(5,55,76,.08); border-radius: 14px;
  padding: 17px 16px 18px;
  box-shadow: 0 1px 2px rgba(5,55,76,.05), 0 12px 26px -16px rgba(5,55,76,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mk .tl-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(5,55,76,.06), 0 18px 34px -16px rgba(5,55,76,.26); }
.mk .tl-card::before { content: ""; position: absolute; top: -1px; left: 16px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; }
.mk .tl-p1 .tl-card::before { background: linear-gradient(90deg, #26bbba, #59d6c6); }
.mk .tl-p2 .tl-card::before { background: linear-gradient(90deg, #05374c, #2d6b86); }
.mk .tl-p3 .tl-card::before { background: linear-gradient(90deg, #d97706, #f0c75e); }
.mk .tl-role-title { font-family: var(--font-display); font-weight: 600; font-size: .97rem; letter-spacing: -.01em; line-height: 1.28; color: var(--navy); margin: 0 0 6px; }
.mk .tl-role-desc { font-size: .8rem; line-height: 1.55; color: var(--muted); margin: 0; max-width: none; }
.mk .tl-card--now { background: linear-gradient(140deg, #fff 0%, #fdf5e3 100%); border-color: rgba(217,119,6,.28); box-shadow: 0 1px 2px rgba(217,119,6,.06), 0 16px 32px -16px rgba(217,119,6,.35); }
.mk .tl-card--now .tl-role-title { color: #8a4a04; }
.mk .tl-card--now .tl-role-desc { color: #7a6237; }

@media (max-width: 1020px) {
  .mk .tl { padding: 8px 0 12px; }
  .mk .tl-flow { display: block; }
  .mk .tl-rail { display: none; }
  .mk .tl-phase { display: block; margin-bottom: 36px; }
  .mk .tl-phase:last-child { margin-bottom: 0; }
  .mk .tl-phase-head { padding: 0 0 16px 2px; }
  .mk .tl-roles { display: block; position: relative; padding-left: 36px; }
  .mk .tl-roles::before { content: ""; position: absolute; left: 10px; top: 28px; bottom: 8px; width: 2px; border-radius: 2px; }
  .mk .tl-p1 .tl-roles::before { background: linear-gradient(180deg, #26bbba, #59d6c6 70%, rgba(89,214,198,0)); }
  .mk .tl-p2 .tl-roles::before { background: linear-gradient(180deg, rgba(5,55,76,.75), rgba(5,55,76,.45) 70%, rgba(5,55,76,0)); }
  .mk .tl-p3 .tl-roles::before { background: linear-gradient(180deg, #d97706, #f0c75e 70%, rgba(240,199,94,0)); }
  .mk .tl-role { display: block; position: relative; margin-bottom: 14px; }
  .mk .tl-role:last-child { margin-bottom: 0; }
  .mk .tl-node { position: absolute; left: -36px; top: 15px; width: 22px; height: 22px; z-index: 2; }
  .mk .tl-node::after { display: none; }
  .mk .tl-node--now { top: 12px; }
  .mk .tl-card { margin-top: 0; }
}

/* --- Zitatkarussell ------------------------------------------------------ */
.mk .mk-quote { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.mk .mk-quote-view { overflow: hidden; }
.mk .mk-quote-track { display: flex; transition: transform .55s cubic-bezier(.22, .61, .21, 1); }
.mk .mk-quote-slide { min-width: 100%; box-sizing: border-box; padding: 0 clamp(.5rem, 3vw, 1.5rem); }
.mk .mk-quote-text {
  font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.55;
  color: #e7f0f2; margin: 0 auto 1.7rem; max-width: 46ch; text-wrap: balance;
}
.mk .mk-quote-author { font-size: 1rem; line-height: 1.5; color: #9db8c0; max-width: none; }
.mk .mk-quote-author strong { color: #f2f7f8; font-weight: 600; }
.mk .mk-quote-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2.1rem; }
.mk .mk-quote-dot {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: rgba(157, 184, 192, .35); cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.mk .mk-quote-dot.active { background: var(--teal-light); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) { .mk .mk-quote-track { transition: none; } }

/* --- Kennzahlenzeile (Hero von Unterseiten) ------------------------------ */
/* Raster statt Flex: verhindert einen einzelnen Umbruch-Rest wie „3 + 1" */
.mk .stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1.2rem clamp(1rem, 2.5vw, 2rem);
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(137, 214, 209, .16);
}
.mk .stat { display: flex; flex-direction: column; gap: .2rem; }
.mk .stat-value {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  line-height: 1.1; color: var(--headline-on-dark);
}
.mk .stat-value.gold { color: var(--gold-accent); }
.mk .stat-label { font-size: .78rem; color: #9db8c0; letter-spacing: .02em; }

/* --- Ablaufleiste -------------------------------------------------------- */
.mk .flow { position: relative; padding-left: 2.2rem; margin-top: 1.6rem; }
/* Eine ruhige Schiene für den ganzen Ablauf — die Farbe tragen die Marken.
   Vorher lief hier ein Verlauf von Teal nach Gold; zusammen mit tealen und
   goldenen Punkten wurde die Spalte unruhig. */
.mk .flow::before {
  content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 2px;
  border-radius: 2px; background: rgba(5, 55, 76, .14);
}
.mk .flow-item { position: relative; padding-bottom: 1.5rem; }
.mk .flow-item:last-child { padding-bottom: 0; }
.mk .flow-item::before {
  content: ""; position: absolute; left: -2.2rem; top: .45rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(38, 187, 186, .12);
}
.mk .flow-item.hot::before { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240, 199, 94, .18); }
.mk .flow-item.muted::before { border-color: #b9c8ce; box-shadow: none; }
.mk .flow-time {
  font-family: ui-monospace, Menlo, monospace; font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: .2rem;
}
.mk .flow-item.hot .flow-time { color: var(--gold); }
.mk .flow-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); display: block; }
.mk .flow-item.hot .flow-title { color: #8a4a04; }
.mk .flow-desc { font-size: .9rem; color: var(--ink-body); margin-top: .2rem; max-width: 62ch; }
.mk .flow-desc em { color: var(--navy); font-style: italic; }

/* Phasenkopf auf derselben Schiene: eckige Marke statt Punkt, damit
   Abschnittsanfang und Einzelschritt auf einen Blick unterscheidbar sind. */
.mk .flow-phase { position: relative; padding-bottom: 1.1rem; }
.mk .flow-phase:not(:first-child) { padding-top: 2.4rem; margin-top: 1.4rem; }
/* Feine Linie über dem Phasenkopf: trennt die Abschnitte, ohne einen Kasten
   zu ziehen. Beginnt erst hinter der Schiene. */
.mk .flow-phase:not(:first-child)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: rgba(5, 55, 76, .1);
}
.mk .flow-phase::before {
  content: ""; position: absolute; left: -2.2rem; top: .3rem;
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--navy); box-shadow: 0 0 0 4px rgba(5, 55, 76, .1);
}
.mk .flow-phase:not(:first-child)::before { top: 2.7rem; }
.mk .flow-phase.hot::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(240, 199, 94, .2); }
.mk .flow-phase-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--navy); display: block;
}
.mk .flow-phase-meta {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); display: block; margin-top: .25rem;
}
.mk .flow-phase.hot .flow-phase-meta { color: var(--gold); }
@media (max-width: 640px) { .mk .flow-phase::before { left: -1.8rem; } }
@media (max-width: 640px) { .mk .flow { padding-left: 1.8rem; } .mk .flow-item::before { left: -1.8rem; } }

/* --- Inject-Karten (Simulator-Beispiele, dunkle Fläche) ------------------ */
.mk .inject {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(137, 214, 209, .16);
  border-radius: 14px; padding: 1.3rem 1.4rem; margin-bottom: 1.1rem;
}
.mk .inject.critical { border-color: rgba(224, 99, 95, .3); }
.mk .inject-time {
  font-family: ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 600;
  color: #6e93a1; letter-spacing: .06em; display: block; margin-bottom: .4rem;
}
.mk .inject-head {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--headline-on-dark); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
}
.mk .inject-badge {
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 999px;
}
.mk .badge-open { background: rgba(89, 214, 198, .16); color: #7fdcd2; }
.mk .badge-mid { background: rgba(240, 199, 94, .16); color: var(--gold-accent); }
.mk .badge-crit { background: rgba(224, 99, 95, .18); color: #f0908c; }
.mk .inject p { font-size: .9rem; color: var(--light-on-dark); margin-top: .5rem; }
.mk .artefact {
  margin-top: .8rem; padding: .7rem .9rem; border-radius: 0 8px 8px 0;
  border-left: 3px solid var(--teal); background: rgba(38, 187, 186, .06);
}
.mk .artefact.alarm { border-left-color: #e0635f; background: rgba(224, 99, 95, .06); }
.mk .artefact-label {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .1em;
  color: #6e93a1; display: block; margin-bottom: .3rem;
}
.mk .artefact pre {
  font-family: ui-monospace, Menlo, monospace; font-size: .76rem; line-height: 1.5;
  color: #a8c2cc; margin: 0; white-space: pre-wrap; overflow-x: auto;
}
.mk .artefact.alarm pre { color: #f0908c; }
.mk .sprint {
  margin-top: .8rem; padding: .7rem .9rem; border-radius: 0 8px 8px 0;
  border-left: 3px solid var(--gold-accent); background: rgba(240, 199, 94, .08);
}
.mk .sprint-label {
  font-size: .7rem; font-weight: 700; color: var(--gold-accent);
  display: block; margin-bottom: .3rem;
}
.mk .sprint-items { font-size: .82rem; color: var(--light-on-dark); }

/* --- Preistabelle -------------------------------------------------------- */
.mk .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); align-items: start; }
@media (max-width: 900px) { .mk .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.mk .plan {
  position: relative; background: var(--white); border: 1px solid rgba(5, 55, 76, .1);
  border-radius: 18px; padding: 2rem 1.6rem;
  box-shadow: 0 1px 2px rgba(5, 55, 76, .05), 0 12px 32px rgba(5, 55, 76, .07);
  display: flex; flex-direction: column;
}
.mk .plan.featured {
  border: 2px solid var(--gold-accent);
  box-shadow: 0 2px 6px rgba(217, 119, 6, .08), 0 20px 48px -18px rgba(217, 119, 6, .35);
}
.mk .plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-accent); padding: .25rem 1rem; border-radius: 999px;
  white-space: nowrap;
}
.mk .plan-name {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); background: rgba(5, 55, 76, .07);
  padding: .28rem .8rem; border-radius: 999px; align-self: flex-start;
}
.mk .plan-price {
  font-family: var(--font-display); font-weight: 600; font-size: 2.1rem;
  color: var(--navy); line-height: 1.1; margin-top: 1.1rem;
}
.mk .plan.featured .plan-price { color: #b45309; }
.mk .plan-vat { font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.mk .plan-kind { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); margin-top: 1rem; }
.mk .plan-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.2rem; }
.mk .plan-list li { display: flex; gap: .6rem; font-size: .89rem; color: var(--ink-body); line-height: 1.5; }
.mk .plan-list li strong { color: var(--ink); font-weight: 600; }
.mk .plan-list .tick { flex: 0 0 auto; color: var(--teal); font-weight: 700; }
.mk .plan.featured .plan-list .tick { color: var(--gold); }
.mk .plan-for { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: 1.2rem; }
.mk .plan .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }
.mk .btn-outline { border-color: rgba(5, 55, 76, .25); color: var(--navy); background: transparent; }
.mk .btn-outline:hover { border-color: var(--navy); background: rgba(5, 55, 76, .04); }

/* --- Lieferumfang -------------------------------------------------------- */
.mk .incl-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.mk .incl-list li { display: flex; gap: .6rem; font-size: .92rem; color: var(--ink-body); line-height: 1.5; }
.mk .incl-list .tick { flex: 0 0 auto; color: var(--teal); font-weight: 700; }

/* --- Zitatfläche mit Urheber (dunkel) ------------------------------------ */
.mk .pullquote { max-width: 760px; margin: 0 auto; text-align: center; }
.mk .pullquote blockquote {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4;
  color: var(--headline-on-dark); text-wrap: balance;
}
.mk .pullquote cite {
  display: block; margin-top: 1.2rem; font-style: normal;
  font-size: .9rem; color: #9db8c0;
}

/* --- Blogverweis --------------------------------------------------------- */
.mk .article-card {
  display: grid; grid-template-columns: 220px 1fr; align-items: stretch;
  background: var(--white); border: 1px solid rgba(5, 55, 76, .1);
  border-radius: 18px; overflow: hidden; text-decoration: none;
  box-shadow: 0 1px 2px rgba(5, 55, 76, .05), 0 12px 32px rgba(5, 55, 76, .07);
  transition: transform .2s ease, box-shadow .25s ease;
  max-width: 780px; margin-inline: auto;
}
.mk .article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(5, 55, 76, .16); }
.mk .article-card img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.mk .article-card .article-body { padding: 1.4rem 1.7rem; }
.mk .article-eyebrow {
  font-family: ui-monospace, Menlo, monospace; font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: #0d7a79; display: block; margin-bottom: .55rem;
}
.mk .article-card .article-body h3 { color: var(--navy); margin-bottom: .5rem; }
.mk .article-card .article-body p { font-size: .9rem; color: var(--ink-body); margin-bottom: .7rem; }
@media (max-width: 620px) { .mk .article-card { grid-template-columns: 1fr; } .mk .article-card img { max-height: 200px; } }

/* --- Häufige Fragen ------------------------------------------------------ */
.mk .faq { max-width: 760px; margin-inline: auto; }
.mk .faq-item { border-bottom: 1px solid rgba(5, 55, 76, .12); }
.mk .faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--navy);
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative; line-height: 1.4;
}
.mk .faq-q::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--teal); transition: transform .25s ease;
}
.mk .faq-q[aria-expanded="true"]::after { content: "−"; }
.mk .faq-a { display: none; padding: 0 0 1.3rem; }
.mk .faq-a p { font-size: .95rem; color: var(--ink-body); line-height: 1.7; max-width: 70ch; }
.mk .faq-item.open .faq-a { display: block; }

/* --- Nachweisliste (erfüllt / offen) ------------------------------------- */
.mk .check-list { display: flex; flex-direction: column; gap: .35rem; margin-top: 1rem; }
.mk .check-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .8rem; border-radius: 8px; font-size: .85rem;
}
.mk .check-list li.ok { background: rgba(38, 187, 186, .1); color: #7fdcd2; }
.mk .check-list li.gap { background: rgba(224, 99, 95, .12); color: #f0908c; }
.mk .check-list .mark { font-weight: 700; flex: 0 0 auto; }
.mk .gap-score {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: .6rem;
}
.mk .gap-score b {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-accent);
}
.mk .gap-score span { font-size: .82rem; color: #9db8c0; }

/* --- Formular ------------------------------------------------------------ */
.mk .form-error { color: #f0908c; font-size: .88rem; margin-top: .8rem; max-width: none; }
.mk .form { max-width: 720px; margin-inline: auto; }
.mk .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .mk .form-grid { grid-template-columns: 1fr; } }
.mk .field { display: flex; flex-direction: column; gap: .35rem; }
.mk .field.full { grid-column: 1 / -1; }
.mk .field label { font-size: .85rem; font-weight: 500; color: var(--light-on-dark); }
.mk .field input, .mk .field select, .mk .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: #f2f7f8;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(137, 214, 209, .22);
  border-radius: 10px; padding: .75rem .9rem; width: 100%;
  transition: border-color .18s ease, background .18s ease;
}
.mk .field input::placeholder, .mk .field textarea::placeholder { color: #7f9ba4; }
.mk .field input:focus, .mk .field select:focus, .mk .field textarea:focus {
  outline: none; border-color: var(--teal); background: rgba(255, 255, 255, .1);
}
.mk .field select option { background: var(--navy-deep); color: #f2f7f8; }
.mk .form .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }
.mk .form-note { font-size: .8rem; color: #9db8c0; margin-top: .9rem; text-align: center; max-width: none; }
.mk .form-done { display: none; text-align: center; padding: 2rem 1rem; }
.mk .form-done.show { display: block; }
.mk .form-done h3 { color: var(--headline-on-dark); margin-bottom: .6rem; }
.mk .form-done p { color: var(--light-on-dark); margin-inline: auto; }

/* Formulare auf heller Fläche — Werkzeugseiten (Konfigurator, Checklisten,
   Download-Formulare) stehen im hellen Abschnitt, das dunkle Feldbild wäre
   dort ein Fremdkörper. Gleiche Maße, nur invertierte Farbrollen. */
.mk .light .field label { color: var(--muted); }
.mk .light .field input, .mk .light .field select, .mk .light .field textarea {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(5, 55, 76, .16);
}
.mk .light .field input::placeholder, .mk .light .field textarea::placeholder { color: #9aacb4; }
.mk .light .field input:focus, .mk .light .field select:focus, .mk .light .field textarea:focus {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(38, 187, 186, .14);
}
.mk .light .field select option { background: var(--white); color: var(--ink); }
.mk .light .form-note { color: var(--muted); }
.mk .light .form-error { color: #b03b37; }
.mk .light .form-done h3 { color: var(--navy); }
.mk .light .form-done p { color: var(--ink-body); }

/* Einwilligung und andere Ja/Nein-Felder: Kästchen neben der Zeile,
   Beschriftung im Fließtextmaß statt im Label-Maß. */
.mk .field-check { display: flex; align-items: flex-start; gap: .6rem; }
.mk .field-check input[type="checkbox"] {
  width: 1.05rem; height: 1.05rem; margin-top: .2rem; flex: 0 0 auto;
  accent-color: var(--teal);
}
.mk .field-check label { font-size: .85rem; font-weight: 400; line-height: 1.55; }
.mk .light .field-check label { color: var(--ink-body); }

/* --------------------------------------------------------------------------
   6. Kopf- und Fußzeile
   -------------------------------------------------------------------------- */
.mk-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(5, 55, 76, .10);
  font-family: var(--font-body);
}
/* Bewusst breiter als der Textbereich: Logo und Navigation rücken nach außen
   und die Kopfzeile wirkt weniger gedrängt als der Inhalt darunter. */
.mk-topbar-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem clamp(1.25rem, 3vw, 2rem);
  max-width: 1320px; margin: 0 auto;
}
.mk-logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
/* Kopfzeilen-Fassung (logo-navy-header.png): Die Unterzeile beansprucht dort 13 %
   der Höhe statt 8 %, deshalb reichen schon ~54 px für sichere Lesbarkeit. */
.mk-logo img { height: 58px; width: auto; }
@media (max-width: 900px) { .mk-logo img { height: 52px; } }
@media (max-width: 480px) { .mk-logo img { height: 44px; } }
.mk-nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.mk-nav a {
  color: var(--navy); text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: color .15s ease;
}
.mk-nav a:hover, .mk-nav a[aria-current="page"] { color: #0d7a79; }
/* Teal statt Gold: Auf hellem Grund bleibt Gold der Inhalts-CTA, die Kopfzeile
   setzt sich mit Teal ab. Navy-Schrift wegen des Kontrasts. */
.mk-topbar .mk-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--teal); color: var(--navy);
  font-weight: 600; font-size: .86rem; padding: .58rem 1.15rem;
  border-radius: 999px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(38, 187, 186, .28);
  transition: background .18s ease, transform .18s ease;
}
.mk-topbar .mk-cta:hover { background: #45cfce; transform: translateY(-1px); }

/* --- Aufklappmenü in der Kopfzeile --------------------------------------
   Öffnet bei Hover und bei Fokus innerhalb der Gruppe, damit es auch per
   Tabulator erreichbar ist. Ohne JavaScript funktionsfähig; wer tippt statt
   zu zeigen, landet über den Auslöser auf der Kursübersicht. */
.mk-nav-gruppe { position: relative; display: flex; align-items: center; }
.mk-nav-kopf { display: inline-flex; align-items: center; gap: .35rem; }
.mk-nav-kopf svg { transition: transform .18s ease; }
.mk-nav-gruppe:hover .mk-nav-kopf svg,
.mk-nav-gruppe:focus-within .mk-nav-kopf svg { transform: rotate(180deg); }

.mk-nav-menue {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, .4rem);
  min-width: 320px; padding: .5rem; z-index: 60;
  background: var(--white);
  border: 1px solid rgba(5, 55, 76, .1);
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(5, 55, 76, .06), 0 18px 44px -18px rgba(5, 55, 76, .28);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  /* Beim Schließen wartet die Sichtbarkeit das Ausblenden ab, beim Öffnen
     schaltet sie sofort — sonst bliebe das Menü einen Moment unklickbar. */
  transition: opacity .16s ease, transform .16s ease, visibility 0s .16s;
}
/* Unsichtbare Brücke: Zwischen Auslöser und Menü liegt sonst eine Lücke, in
   der der Zeiger das Menü wieder schließt. */
.mk-nav-menue::before {
  content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem;
}
.mk-nav-gruppe:hover .mk-nav-menue,
.mk-nav-gruppe:focus-within .mk-nav-menue {
  opacity: 1; visibility: visible; transform: translate(-50%, .15rem);
  transition-delay: 0s;
}
.mk-nav-menue a {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .62rem .8rem; border-radius: 10px;
  font-size: .92rem; color: var(--ink); white-space: nowrap;
}
.mk-nav-menue a:hover, .mk-nav-menue a:focus-visible { background: var(--surface); color: var(--navy); }
.mk-nav-menue a[aria-current="page"] { color: #0d7a79; }
.mk-nav-menue .mk-nav-trenner {
  margin-top: .35rem; padding-top: .7rem;
  border-top: 1px solid rgba(5, 55, 76, .08);
  border-radius: 0 0 10px 10px; color: var(--muted); font-size: .86rem;
}
.mk-nav-tag {
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: rgba(240, 199, 94, .22);
  padding: .2rem .45rem; border-radius: 999px; flex: 0 0 auto;
}

/* Im mobilen Menü wird aus der Gruppe eine Zwischenüberschrift. */
.mk-mobile-gruppe {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-top: .4rem;
}
.mk-mobile .mk-mobile-unter { padding-left: .9rem; }
@media (prefers-reduced-motion: reduce) {
  .mk-nav-menue, .mk-nav-kopf svg { transition: none; }
}

/* Mobiles Menü — reines CSS über ein verstecktes Checkbox-Ziel wäre fragil bei
   Tastaturbedienung, deshalb via Button + JS (siehe mk.js). */
.mk-burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid rgba(5, 55, 76, .18);
  border-radius: 10px; background: rgba(5, 55, 76, .03);
  cursor: pointer; position: relative;
}
.mk-burger span {
  display: block; position: absolute; left: 11px; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.mk-burger span:nth-child(1) { top: 14px; }
.mk-burger span:nth-child(2) { top: 20px; }
.mk-burger span:nth-child(3) { top: 26px; }
.mk-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mk-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mk-mobile {
  display: none; flex-direction: column; gap: .2rem;
  padding: .5rem clamp(1.25rem, 4vw, 2.5rem) 1.4rem;
  background: #ffffff; border-bottom: 1px solid rgba(5, 55, 76, .10);
}
.mk-mobile.open { display: flex; }
.mk-mobile a {
  color: var(--navy); text-decoration: none; font-size: .98rem; font-weight: 500;
  padding: .8rem 0; border-bottom: 1px solid rgba(5, 55, 76, .07);
}
.mk-mobile a:last-child { border-bottom: none; }
.mk-mobile .mk-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: .9rem; text-align: center;
  background: var(--teal); color: var(--navy); border-radius: 999px;
  padding: .85rem 1.2rem; font-weight: 600; border-bottom: none;
}

@media (max-width: 900px) {
  .mk-nav { display: none; }
  .mk-burger { display: block; }
}

.mk-footer {
  /* Heller Fuß: Er schließt die Seite ab, ohne wie eine weitere dunkle
     Sektion zu wirken. Die Kante oben trennt ihn von hellen Abschnitten,
     die sonst nahtlos in ihn übergingen. */
  background: var(--white); color: var(--ink-body);
  border-top: 1px solid rgba(5, 55, 76, .1);
  font-family: var(--font-body); font-size: .88rem;
}
.mk-footer-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.4rem, 5vw, 3.4rem) clamp(1.25rem, 4vw, 2.5rem) 1.6rem; }
.mk-footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 2.8rem);
}
@media (max-width: 820px) { .mk-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mk-footer-grid { grid-template-columns: 1fr; } }
/* Volle Wortmarke inkl. Unterzeile — darunter wird "Security · Strategy · Resilience" unleserlich */
.mk-footer-brand img { height: 66px; width: auto; margin-bottom: 1.1rem; }
.mk-footer-brand p { max-width: 34ch; line-height: 1.65; color: var(--muted); }
.mk-footer h2 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem;
}
.mk-footer nav { display: flex; flex-direction: column; gap: .55rem; }
.mk-footer a { color: var(--ink-body); text-decoration: none; }
.mk-footer a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.mk-footer-bottom {
  margin-top: clamp(2rem, 4vw, 2.8rem); padding-top: 1.2rem;
  border-top: 1px solid rgba(5, 55, 76, .08);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center;
  font-size: .8rem; color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Bewegung
   -------------------------------------------------------------------------- */
html.js .mk .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
html.js .mk .reveal.d2 { transition-delay: .12s; }
html.js .mk .reveal.d3 { transition-delay: .24s; }
html.js .mk .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .mk .reveal { opacity: 1; transform: none; transition: none; }
  .mk .btn, .mk .textlink, .mk a.card, .mk .card { transition: none; }
  .mk { scroll-behavior: auto; }
}

/* Sichtbarer Fokus für Tastaturbedienung — nie wegoptimieren */
.mk a:focus-visible, .mk button:focus-visible,
.mk-topbar a:focus-visible, .mk-topbar button:focus-visible,
.mk-footer a:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.mk-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-accent); color: var(--ink);
  padding: .7rem 1.2rem; font-weight: 600; border-radius: 0 0 8px 0;
}
.mk-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   8. Incident Simulator — spielbare Kurzfassung
   --------------------------------------------------------------------------
   Anmutung eines Lagebilds, nicht eines Spiels: nüchterne Flächen, Mono-Ziffern,
   Farbe nur dort, wo sie etwas bedeutet.
   -------------------------------------------------------------------------- */
.mk .sim { margin-block: clamp(2.4rem, 5.5vw, 3.6rem); }

/* Beschriftung über dem Fenster, beidseitig von Linien gefasst — macht sofort
   klar, dass hier etwas anderes beginnt als der umgebende Fließtext. */
.mk .sim-tag {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem; max-width: none;
  font-family: ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light);
}
.mk .sim-tag::before, .mk .sim-tag::after {
  content: ""; height: 1px; flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, rgba(89, 214, 198, .45));
}
.mk .sim-tag::after { background: linear-gradient(90deg, rgba(89, 214, 198, .45), transparent); }
.mk .sim-tag span { flex: 0 1 auto; }
@media (max-width: 700px) { .mk .sim-tag::before, .mk .sim-tag::after { display: none; } }

/* Das Fenster steht bewusst deutlich dunkler als die Sektion — es soll wie ein
   eigenes Gerät im Raum wirken, nicht wie ein weiterer Textblock. */
.mk .sim-frame {
  border: 1px solid rgba(38, 187, 186, .38);
  border-radius: 16px;
  background: linear-gradient(168deg, #04151e 0%, #020d13 100%);
  box-shadow:
    0 0 0 6px rgba(2, 13, 19, .45),
    0 30px 70px rgba(0, 0, 0, .55),
    0 0 40px -12px rgba(38, 187, 186, .35),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}

/* Kopfleiste: Status, Missionsuhr, Fortschritt */
.mk .sim-bar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .7rem 1.2rem;
  background: linear-gradient(180deg, rgba(38, 187, 186, .10), rgba(2, 13, 19, 0));
  border-bottom: 1px solid rgba(38, 187, 186, .22);
  font-family: ui-monospace, Menlo, monospace; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: #8fb2d6;
}
.mk .sim-app {
  color: var(--teal-light); font-weight: 700; letter-spacing: .12em;
  padding-right: 1rem; border-right: 1px solid rgba(38, 187, 186, .25);
}
@media (max-width: 560px) { .mk .sim-app { border-right: none; padding-right: 0; } }
.mk .sim-live { display: inline-flex; align-items: center; gap: .5rem; color: #c8dbe0; }
.mk .sim-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px rgba(38, 187, 186, .18);
  animation: sim-pulse 2s ease-in-out infinite;
}
@keyframes sim-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .mk .sim-dot { animation: none; } }
.mk .sim-clock {
  font-size: 1rem; letter-spacing: .06em; color: var(--gold-accent);
  font-variant-numeric: tabular-nums; margin-left: auto;
}
.mk .sim-count { color: #6e93a1; }

.mk .sim-body { padding: clamp(1.4rem, 3.5vw, 2.2rem); min-height: 340px; }
.mk .sim-eyebrow {
  font-family: ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light);
}
.mk .sim-title {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600; line-height: 1.25; color: var(--headline-on-dark);
  margin-top: .6rem; max-width: 32ch;
}
.mk .sim-lead { color: var(--light-on-dark); margin-top: .8rem; font-size: .96rem; }
.mk .sim-hint { font-size: .8rem; color: #6e93a1; margin-top: .9rem; }
.mk .sim-intro .btn { margin-top: 1.4rem; }

/* Artefakt: Original-Dokument aus der Lage */
.mk .sim-artefact {
  margin-top: 1.1rem; padding: .8rem 1rem; border-radius: 0 10px 10px 0;
  border-left: 3px solid rgba(224, 99, 95, .7); background: rgba(224, 99, 95, .07);
}
.mk .sim-artefact-label {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: #8fb2d6; display: block; margin-bottom: .35rem;
}
.mk .sim-artefact pre {
  font-family: ui-monospace, Menlo, monospace; font-size: .78rem; line-height: 1.55;
  color: #f0908c; margin: 0; white-space: pre-wrap; overflow-x: auto;
}

/* Entscheidungsbereich */
.mk .sim-decide { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(137, 214, 209, .14); }
.mk .sim-decide-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mk .sim-decide-label {
  font-family: ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-accent);
}

/* Ablaufende Uhr */
.mk .sim-timer { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
.mk .sim-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mk .sim-timer circle { fill: none; stroke-width: 3; }
.mk .sim-timer-track { stroke: rgba(137, 214, 209, .18); }
.mk .sim-timer-run { stroke: var(--teal); transition: stroke-dashoffset .2s linear, stroke .3s ease; }
.mk .sim-timer[data-urgent="true"] .sim-timer-run { stroke: #e0635f; }
.mk .sim-timer b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: ui-monospace, Menlo, monospace; font-size: .82rem; font-weight: 600;
  color: #c8dbe0; font-variant-numeric: tabular-nums;
}
.mk .sim-timer[data-urgent="true"] b { color: #f0908c; }
.mk .sim-timer[data-mode="ruhig"] .sim-timer-run { stroke: rgba(137, 214, 209, .35); }

/* Optionen */
.mk .sim-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; margin-top: 1rem; }
.mk .sim-option {
  display: flex; align-items: flex-start; gap: .6rem; text-align: left;
  padding: .85rem .9rem; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(137, 214, 209, .2);
  color: var(--headline-on-dark); font-family: var(--font-body);
  font-size: .9rem; line-height: 1.4;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.mk .sim-option:hover { background: rgba(255, 255, 255, .1); border-color: var(--teal); transform: translateY(-1px); }
.mk .sim-option-key {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 5px;
  display: grid; place-items: center;
  background: rgba(240, 199, 94, .16); color: var(--gold-accent);
  font-family: ui-monospace, Menlo, monospace; font-size: .7rem; font-weight: 700;
}

/* Rückmeldung */
.mk .sim-result { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid rgba(137, 214, 209, .14); }
.mk .sim-result-kind {
  font-family: ui-monospace, Menlo, monospace; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light);
}
.mk .sim-result-kind[data-expired="true"] { color: #f0908c; }
.mk .sim-result-text { color: var(--light-on-dark); margin-top: .6rem; font-size: .96rem; }
.mk .sim-result .btn { margin-top: 1.1rem; }
.mk .btn-small { padding: .55rem 1.1rem; font-size: .86rem; }

/* Lagebild */
.mk .sim-status {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem 1.6rem;
  padding: 1rem clamp(1.4rem, 3.5vw, 2.2rem);
  background: rgba(2, 16, 22, .4);
  border-top: 1px solid rgba(137, 214, 209, .14);
}
.mk .sim-metric { display: flex; flex-direction: column; gap: .4rem; }
.mk .sim-metric-label {
  font-family: ui-monospace, Menlo, monospace; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: #8fb2d6;
}
.mk .sim-meter { display: block; height: 5px; border-radius: 99px; background: rgba(137, 214, 209, .14); overflow: hidden; }
/* min-width, damit auch der Wert null als roter Rest sichtbar bleibt —
   ein leerer Balken sieht sonst nach fehlendem Wert aus, nicht nach Nullwert. */
.mk .sim-meter i {
  display: block; height: 100%; min-width: 6px; border-radius: 99px;
  background: var(--teal);
  transition: width .5s cubic-bezier(.22, .61, .36, 1), background .3s ease;
}
.mk .sim-metric[data-level="gut"] .sim-meter i { background: var(--teal-light); }
.mk .sim-metric[data-level="mittel"] .sim-meter i { background: var(--teal); }
.mk .sim-metric[data-level="niedrig"] .sim-meter i { background: var(--gold-accent); }
.mk .sim-metric[data-level="kritisch"] .sim-meter i { background: #e0635f; }

/* Auswertung */
.mk .sim-log { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.3rem; }
.mk .sim-log-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; align-items: baseline;
  padding: .6rem .8rem; border-radius: 9px;
  background: rgba(255, 255, 255, .04); font-size: .87rem;
}
.mk .sim-log-item[data-expired="true"] { background: rgba(224, 99, 95, .1); }
.mk .sim-log-time { font-family: ui-monospace, Menlo, monospace; font-size: .74rem; color: #8fb2d6; }
.mk .sim-log-choice { color: var(--headline-on-dark); }
.mk .sim-log-kind { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-light); white-space: nowrap; }
.mk .sim-log-item[data-expired="true"] .sim-log-kind { color: #f0908c; }
@media (max-width: 560px) {
  .mk .sim-log-item { grid-template-columns: 1fr; gap: .2rem; }
  .mk .sim-log-kind { white-space: normal; }
}

/* Ansage nur für Screenreader: Der Text steht sichtbar bereits im Fenster,
   doppelt gezeigt wäre er Ballast. */
.mk .sim-note {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --- Nachbau der Simulator-Oberfläche (rein illustrativ) ----------------- */
.mk .mock {
  border: 1px solid rgba(137, 214, 209, .18); border-radius: 12px; overflow: hidden;
  background: rgba(255, 255, 255, .04);
}
.mk .mock-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem 1rem;
  background: linear-gradient(90deg, #0a1e2e, #12707a);
  font-size: .82rem; color: rgba(255, 255, 255, .65);
}
.mk .mock-bar b { color: #fff; font-weight: 600; }
.mk .mock-clock { font-family: ui-monospace, Menlo, monospace; font-size: 1rem; font-weight: 600; color: #fff; }
.mk .mock-tabs {
  display: flex; background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid rgba(137, 214, 209, .12);
}
.mk .mock-tabs span {
  flex: 1; text-align: center; padding: .6rem .4rem;
  font-size: .72rem; color: rgba(255, 255, 255, .38); position: relative;
}
.mk .mock-tabs .active { color: var(--teal-light); font-weight: 700; box-shadow: inset 0 -2px 0 var(--teal); }
.mk .mock-tabs i {
  position: absolute; top: .35rem; right: .6rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: #e0635f; color: #fff;
  font-size: .58rem; font-weight: 700; font-style: normal;
  display: grid; place-items: center;
}
.mk .mock-body { padding: .9rem; }
.mk .mock-label { font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .4); margin-bottom: .5rem; }
.mk .mock-card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(137, 214, 209, .14);
  border-radius: 8px; padding: .65rem; margin-bottom: .45rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.mk .mock-card.warn { border-color: rgba(240, 199, 94, .25); }
.mk .mock-card b { font-size: .85rem; font-weight: 600; color: var(--headline-on-dark); }
.mk .mock-tags { display: flex; gap: .3rem; flex-wrap: wrap; }
.mk .mock-tags i {
  font-style: normal; font-size: .6rem; font-weight: 700;
  padding: .1rem .4rem; border-radius: 3px;
}
.mk .mock-tags .t-num { color: var(--teal-light); background: rgba(38, 187, 186, .16); }
.mk .mock-tags .t-red { color: #f0908c; background: rgba(224, 99, 95, .14); }
.mk .mock-tags .t-green { color: #7fdcd2; background: rgba(38, 187, 186, .14); }
.mk .mock-tags .t-gold { color: var(--gold-accent); background: rgba(240, 199, 94, .14); }
.mk .mock-meta { font-size: .72rem; color: #6e93a1; }
.mk .mock-meta b { font-size: .72rem; color: #9db8c0; font-weight: 600; }

.mk .mock-legend { display: flex; flex-direction: column; gap: .1rem; text-align: center; }
.mk .mock-legend b { font-size: .78rem; font-weight: 700; color: var(--headline-on-dark); }
.mk .mock-legend span { font-size: .68rem; color: #6e93a1; }

/* --------------------------------------------------------------------------
   9. Bücher
   -------------------------------------------------------------------------- */
.mk .book {
  display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: start;
}
@media (max-width: 760px) { .mk .book { grid-template-columns: 1fr; } }
.mk .book-cover img {
  width: 100%; max-width: 260px; border-radius: 8px; margin-inline: auto;
  box-shadow: 0 20px 50px rgba(5, 55, 76, .28), 0 4px 12px rgba(5, 55, 76, .18);
}
.mk .dark .book-cover img { box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.mk .book-sub { font-size: 1.02rem; font-weight: 500; margin-top: .5rem; }
.mk .light .book-sub { color: var(--navy); }
.mk .dark .book-sub { color: var(--teal-pale); }

.mk .book-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .9rem 1.4rem; margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(5, 55, 76, .12);
}
.mk .dark .book-facts { border-top-color: rgba(137, 214, 209, .16); }
.mk .book-facts div { display: flex; flex-direction: column; gap: .15rem; }
.mk .book-facts strong {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.mk .light .book-facts strong { color: var(--muted); }
.mk .dark .book-facts strong { color: #8fb2d6; }
.mk .book-facts span { font-family: var(--font-display); font-size: .95rem; font-weight: 600; }
.mk .light .book-facts span { color: var(--navy); }
.mk .dark .book-facts span { color: var(--headline-on-dark); }

/* Kapitelverzeichnis: natives <details>, damit es ohne JavaScript funktioniert
   und von Screenreadern korrekt als aufklappbar angesagt wird. */
.mk .toc { margin-top: clamp(1.6rem, 3vw, 2.2rem); border-radius: 14px; overflow: hidden; }
.mk .light .toc { background: var(--white); border: 1px solid rgba(5, 55, 76, .1); }
.mk .dark .toc { background: rgba(255, 255, 255, .04); border: 1px solid rgba(137, 214, 209, .16); }
.mk .toc > summary {
  cursor: pointer; list-style: none; padding: 1rem 1.3rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mk .toc > summary::-webkit-details-marker { display: none; }
.mk .light .toc > summary { color: var(--navy); }
.mk .dark .toc > summary { color: var(--headline-on-dark); }
.mk .toc > summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--teal); }
.mk .toc[open] > summary::after { content: "−"; }
.mk .toc-list { padding: 0 1.3rem 1.1rem; display: flex; flex-direction: column; }
.mk .toc-item {
  display: grid; grid-template-columns: 30px 1fr; gap: .9rem; align-items: start;
  padding: .7rem 0;
}
.mk .light .toc-item { border-top: 1px solid rgba(5, 55, 76, .08); }
.mk .dark .toc-item { border-top: 1px solid rgba(137, 214, 209, .1); }
.mk .toc-num {
  font-family: ui-monospace, Menlo, monospace; font-size: .74rem; font-weight: 700;
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
}
.mk .light .toc-num { background: rgba(38, 187, 186, .12); color: #0d7a79; }
.mk .dark .toc-num { background: rgba(38, 187, 186, .16); color: var(--teal-light); }
.mk .toc-item b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.mk .light .toc-item b { color: var(--navy); }
.mk .dark .toc-item b { color: var(--headline-on-dark); }
.mk .toc-item span { display: block; font-size: .82rem; margin-top: .15rem; }
.mk .light .toc-item span { color: var(--muted); }
.mk .dark .toc-item span { color: #9db8c0; }

/* Downloads */
.mk .dl-label {
  font-family: ui-monospace, Menlo, monospace; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; display: block;
}
.mk .light .dl-label { color: #0d7a79; }
.mk .dark .dl-label { color: var(--teal-light); }
.mk .dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .8rem; }
.mk .dl {
  display: grid; grid-template-columns: 38px 1fr; gap: .9rem; align-items: start;
  padding: .9rem 1rem; border-radius: 12px; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.mk .light .dl { background: var(--white); border: 1px solid rgba(5, 55, 76, .1); }
.mk .dark .dl { background: rgba(255, 255, 255, .045); border: 1px solid rgba(137, 214, 209, .16); }
.mk .dl:hover { transform: translateY(-2px); border-color: var(--teal); }
.mk .dl-icon {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(38, 187, 186, .14); color: #0d7a79;
}
.mk .dark .dl-icon { color: var(--teal-light); }
.mk .dl-icon.gold { background: rgba(240, 199, 94, .16); color: #b45309; }
.mk .dark .dl-icon.gold { color: var(--gold-accent); }
.mk .dl b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.mk .light .dl b { color: var(--navy); }
.mk .dark .dl b { color: var(--headline-on-dark); }
.mk .dl span { display: block; font-size: .82rem; margin-top: .2rem; }
.mk .light .dl span { color: var(--muted); }
.mk .dark .dl span { color: #9db8c0; }
.mk .dl.featured { border-left: 3px solid var(--gold-accent); }

/* Gefächerte Cover im Hero der Bücherseite */
.mk .book-stack { display: flex; align-items: flex-end; justify-content: center; }
/* Gleiche Höhe statt gleicher Breite: Die drei Titel haben unterschiedliche
   Seitenverhältnisse (0,625 und 0,75). Über die Breite gesetzt, wirkte der
   vordere Band deutlich größer — über die Höhe stehen sie wie im Regal. */
.mk .book-stack img {
  height: clamp(190px, 26vw, 300px); width: auto; border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .3s ease;
}
.mk .book-stack img:nth-child(1) { transform: rotate(-8deg) translateX(22%); z-index: 1; }
.mk .book-stack img:nth-child(2) { transform: rotate(4deg) translateX(6%); z-index: 2; }
.mk .book-stack img:nth-child(3) { z-index: 3; transform: translateX(-8%); }
.mk .book-stack:hover img:nth-child(1) { transform: rotate(-12deg) translateX(14%); }
.mk .book-stack:hover img:nth-child(3) { transform: translateX(-12%) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .mk .book-stack img { transition: none; } }

/* --------------------------------------------------------------------------
   9.x Lebenslauf-Zeitleiste
   Eine Schiene, Jahreszahlen in der linken Spalte, Karten rechts. Die
   Phasenmarken (Technik, Führung) sitzen als Pille auf der Schiene und
   ersetzen die frühere Aufteilung in zwei ungleiche Spalten.
   -------------------------------------------------------------------------- */
.mk .vtl { position: relative; padding-left: 140px; }
.mk .vtl::before {
  content: ""; position: absolute; left: 120px; top: .4rem; bottom: .4rem; width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--navy) 55%, var(--gold));
  border-radius: 2px;
}
.mk .vtl-phase { margin: 2.2rem 0 .7rem; }
.mk .vtl-phase:first-child { margin-top: 0; }
.mk .vtl-phase-label {
  display: inline-flex; align-items: baseline; gap: .5rem;
  margin-left: -20px; padding: .38rem 1rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.mk .vtl-phase-label span {
  font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .76rem; opacity: .7;
}
.mk .vtl-teal { background: rgba(38, 187, 186, .12); color: #0d7a79; }
.mk .vtl-navy { background: rgba(5, 55, 76, .08); color: var(--navy); }

.mk .vtl-item { position: relative; margin-bottom: 1.1rem; }
.mk .vtl-year {
  position: absolute; left: -140px; width: 100px; text-align: right;
  padding-top: 1.15rem; font-size: .85rem; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mk .vtl-dot {
  position: absolute; left: -27px; top: 1.25rem; z-index: 1;
  width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--surface); background: var(--teal);
}
.mk .vtl-dot-navy { background: var(--navy); }
.mk .vtl-dot-gold { background: var(--gold); }
.mk .vtl-card {
  background: var(--white); border: 1px solid rgba(5, 55, 76, .1);
  border-radius: 14px; padding: 1.15rem 1.4rem;
  transition: box-shadow .25s ease, transform .25s ease;
}
.mk .vtl-card:hover { box-shadow: 0 12px 30px -16px rgba(5, 55, 76, .3); transform: translateX(4px); }
.mk .vtl-card h3 { font-size: 1rem; color: var(--navy); }
.mk .vtl-org { font-size: .84rem; font-weight: 600; color: #0d7a79; margin-top: .15rem; }
.mk .vtl-card p { font-size: .9rem; line-height: 1.65; margin-top: .5rem; max-width: 68ch; }
.mk .vtl-card .vtl-quelle { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.mk .vtl-card-navy { border-left: 3px solid var(--navy); }
.mk .vtl-card-gold { border-left: 3px solid var(--gold); }

/* Auf schmalen Screens wandert die Jahreszahl über die Karte, sonst bliebe
   für den Text kaum Platz. */
@media (max-width: 700px) {
  .mk .vtl { padding-left: 1.9rem; }
  .mk .vtl::before { left: 6px; }
  .mk .vtl-year {
    position: static; width: auto; text-align: left; padding: 0 0 .3rem;
  }
  .mk .vtl-dot { left: -1.9rem; top: .3rem; }
  .mk .vtl-phase-label { margin-left: -1.9rem; }
}
@media (prefers-reduced-motion: reduce) { .mk .vtl-card { transition: none; } }

/* --------------------------------------------------------------------------
   9.y Whitepaper-Blatt
   Ein einzelnes Papier bekommt Fläche statt einer Karte im Dreierraster:
   Nummer, Titel, Kurzbeschreibung und die Eckdaten, die vor dem Download
   zählen (Zielgruppe, Umfang, Stand).
   -------------------------------------------------------------------------- */
.mk .wp {
  max-width: 780px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(137, 214, 209, .18);
  border-top: 3px solid var(--gold-accent);
}
.mk .wp-nummer {
  font-family: ui-monospace, Menlo, monospace; font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light);
}
.mk .wp h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25;
  color: var(--headline-on-dark); margin-top: .5rem; max-width: 22ch;
}
.mk .wp-untertitel { margin-top: .7rem; color: var(--light-on-dark); max-width: 58ch; }
.mk .wp-fakten {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem; margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(137, 214, 209, .16);
}
@media (max-width: 620px) { .mk .wp-fakten { grid-template-columns: 1fr; gap: .9rem; } }
.mk .wp-fakten dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #7f9ba4; margin-bottom: .3rem;
}
.mk .wp-fakten dd { font-size: .9rem; color: var(--light-on-dark); }
.mk .wp-hinweis { margin-top: 1rem; font-size: .82rem; color: #9db8c0; }

/* --------------------------------------------------------------------------
   10. Blog-Übersicht
   -------------------------------------------------------------------------- */

/* Flex statt Grid: Schlagworte sind unterschiedlich lang und
   sollen wie eine Verlagsrubrik-Zeile natürlich umbrechen. */
.mk .tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 0.6rem);
  margin-block: clamp(1.25rem, 3vw, 2rem);
  padding-block-end: clamp(0.9rem, 2vw, 1.25rem);
  border-bottom: 1px solid rgba(5, 55, 76, 0.1);
}

.mk .tag-btn {
  appearance: none;
  border: 1px solid rgba(5, 55, 76, 0.18);
  background: var(--white);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.65rem + 0.3vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.55em 1em;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.mk .tag-btn:hover {
  border-color: var(--teal);
  color: var(--navy);
  background: rgba(38, 187, 186, 0.08);
}

/* Aktiv: gefüllt UND mit Häkchen — so bleibt der Zustand auch
   ohne Farbwahrnehmung eindeutig erkennbar. */
.mk .tag-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.mk .tag-btn.active::before {
  content: "✓";
  display: inline-block;
  margin-inline-end: 0.45em;
  color: var(--gold-accent);
  font-weight: 700;
}

.mk .tag-btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* auto-fit + minmax: das Raster entscheidet selbst über die Spaltenzahl;
   min(100%, …) verhindert Overflow auf sehr schmalen Schirmen. */
.mk .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.mk .post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(5, 55, 76, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(5, 55, 76, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Spürbar, aber ruhig: wenige Pixel Hub, weicher Schatten. */
.mk .post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(5, 55, 76, 0.14);
  border-color: rgba(38, 187, 186, 0.35);
}

.mk .post-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  box-shadow: 0 14px 32px rgba(5, 55, 76, 0.14);
}

/* Festes Seitenverhältnis statt fixer Höhe: Karten bleiben im
   Raster zeilenbündig, egal welches Bildformat geliefert wird. */
.mk .post-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-deep);
  transform-origin: center;
  transition: transform 0.5s ease;
}

.mk .post-card:hover .post-img,
.mk .post-card:focus-visible .post-img { transform: scale(1.04); }

/* Ersatzmotiv ohne Bild: Verlauf aus der Hausfarbwelt plus feines
   technisches Raster — wirkt gestaltet, nicht „fehlend". */
.mk .post-img.placeholder {
  background-image:
    repeating-linear-gradient(0deg, rgba(38, 187, 186, 0.09) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(38, 187, 186, 0.09) 0 1px, transparent 1px 28px),
    radial-gradient(ellipse at 85% 12%, rgba(217, 119, 6, 0.28) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, rgba(38, 187, 186, 0.55) 130%);
  background-position: center;
}

.mk .post-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.6rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.mk .post-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.mk .post-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(38, 187, 186, 0.12);
  border-radius: 4px;
  padding: 0.3em 0.6em;
}

.mk .post-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.mk .post-card:hover h3 { color: var(--navy); }

/* Drei Zeilen genügen für den Teaser — gleich hohe Karten. */
.mk .post-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  line-height: 1.6;
  color: var(--ink-body);
  max-width: none;
}

/* Gesperrte Kapitälchen-Anmutung: klassisches Zeitschriften-Detail */
.mk .post-date {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* „Weiterlesen" als ruhige Schlusszeile; der Pfeil wandert beim
   Hover minimal — Bewegung als Hinweis, nicht als Effekt. */
.mk .post-more {
  margin-block-start: auto;
  padding-block-start: 0.75rem;
  border-top: 1px solid rgba(5, 55, 76, 0.08);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0d7a79;
}

.mk .post-more span { display: inline-block; margin-inline-start: .4em; transition: transform .25s ease; }
.mk .post-card:hover .post-more { color: var(--gold); }
.mk .post-card:hover .post-more span { transform: translateX(4px); }

/* Aufmacher: belegt zwei Spuren, Bild links, Text rechts — wie die
   Titelgeschichte einer Fachzeitschrift. */
.mk .post-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border-top: 3px solid var(--gold-accent);
}
.mk .post-card.featured .post-img { aspect-ratio: auto; min-height: 100%; }
.mk .post-card.featured .post-body { padding: clamp(1.25rem, 2.5vw, 2rem); justify-content: center; }
.mk .post-card.featured h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); }

.mk .post-empty {
  grid-column: 1 / -1;
  text-align: center;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
  border: 1px dashed rgba(5, 55, 76, 0.25);
  border-radius: 12px;
  background: rgba(38, 187, 186, 0.04);
  color: var(--muted);
}

@media (max-width: 42rem) {
  /* Einspaltig; der Aufmacher darf nicht mehr zwei Spuren verlangen,
     sonst erzwingt span 2 unsichtbare Spalten. */
  .mk .post-grid { grid-template-columns: 1fr; }
  .mk .post-card.featured { grid-column: auto; display: flex; flex-direction: column; }
  .mk .post-card.featured .post-img { aspect-ratio: 16 / 10; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mk .post-card, .mk .post-img, .mk .post-card h3, .mk .post-more span, .mk .tag-btn { transition: none; }
  .mk .post-card:hover { transform: none; }
  .mk .post-card:hover .post-img, .mk .post-card:focus-visible .post-img { transform: none; }
  .mk .post-card:hover .post-more span { transform: none; }
}

/* ==========================================================================
   11. Artikel-Typografie
   Gestaltungssystem für lange Fachartikel (2.000–4.000 Wörter).
   Prämisse: Lesekomfort vor Effekt — ruhiger Grauwert, klare Hierarchie,
   Akzentfarben nur als Orientierungsmarken, nie als Fläche.
   ========================================================================== */

/* 65ch statt fixer Pixelbreite: Die Zeilenlänge folgt der Schrift selbst
   und bleibt so bei jeder Skalierung im optimalen Lesebereich. */
.mk .article-body {
  max-width: 65ch;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.02rem + 0.25vw, 1.12rem);
  line-height: 1.75;
  color: var(--ink-body);
  /* Deutsche Komposita erzeugen sonst löchrige Zeilen bei schmaler Spalte. */
  hyphens: auto;
  overflow-wrap: break-word;
}

.mk .article-body p {
  max-width: none;
  margin-block: 0 clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  text-wrap: pretty;
}

/* Der Einstieg entscheidet, ob weitergelesen wird: größer und dunkler. */
.mk .article-body > p:first-child {
  font-size: clamp(1.15rem, 1.1rem + 0.45vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink);
}

/* h2 als Kapitelmarke: Abstand darüber deutlich größer als darunter — so
   bindet sich die Überschrift optisch an ihren Abschnitt. */
.mk .article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.25rem + 1vw, 1.85rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: none;
  margin-block: clamp(2.8rem, 2.4rem + 2vw, 4rem) clamp(0.9rem, 0.8rem + 0.5vw, 1.2rem);
  text-wrap: balance;
}

.mk .article-body h2::before {
  content: "";
  display: block;
  width: 2.5rem; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-pale));
  margin-block-end: 0.8rem;
}

/* h3 nahe an der Fließtextgröße: Unterordnung über Gewicht und Farbe,
   nicht über einen weiteren Größensprung. */
.mk .article-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.08rem + 0.4vw, 1.35rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--navy);
  margin-block: clamp(1.8rem, 1.6rem + 1vw, 2.5rem) 0.7rem;
  text-wrap: balance;
}

/* strong in Navy: hebt Kernaussagen auf die Farbebene der Überschriften
   und macht den Text scanbar für eilige Leser. */
.mk .article-body strong { font-weight: 600; color: var(--navy); }
.mk .article-body em { font-style: italic; }

.mk .article-body a {
  color: #0d7a79;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(38, 187, 186, 0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition: color .18s ease, text-decoration-color .18s ease, background-color .18s ease;
}
.mk .article-body a:hover, .mk .article-body a:focus-visible {
  color: var(--navy);
  text-decoration-color: var(--teal);
  background-color: rgba(38, 187, 186, 0.1);
}

/* Eigene Marker in Teal: ruhiger als der schwarze Browser-Punkt. */
.mk .article-body ul, .mk .article-body ol {
  list-style: none;
  margin-block: 0 clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  padding-inline-start: 0;
}
.mk .article-body li {
  position: relative;
  padding-inline-start: 1.7em;
  margin-block-end: 0.55em;
  text-wrap: pretty;
}
.mk .article-body ul > li::before {
  content: "";
  position: absolute; inset-inline-start: 0.15em; top: 0.68em;
  width: 0.55em; height: 3px; border-radius: 2px; background: var(--teal);
}
.mk .article-body ol { counter-reset: mk-ol; }
.mk .article-body ol > li { counter-increment: mk-ol; }
.mk .article-body ol > li::before {
  content: counter(mk-ol);
  position: absolute; inset-inline-start: 0; top: 0.1em;
  font-family: var(--font-display); font-size: 0.85em; font-weight: 600; color: var(--teal);
}

/* Sachtext — Impressum, Datenschutz, Statusseiten.
   Nutzt die Fließtext-Typografie der Artikel, verzichtet aber auf den
   hervorgehobenen Einstiegsabsatz: dort steht kein Lead, sondern eine
   Anschrift oder ein Paragraphenverweis. Etwas breitere Spalte, weil
   Rechtstexte gelesen werden, um etwas nachzuschlagen, nicht am Stück. */
.mk .article-body--sachtext { max-width: 72ch; }
.mk .article-body--sachtext > p:first-child {
  font-size: inherit; line-height: inherit; color: var(--ink-body);
}
.mk .article-body--sachtext address { font-style: normal; }

/* Rechtstexte haben viele kurze Abschnitte: die Artikel-Überschrift wäre hier
   neunmal hintereinander zu laut. Kleiner, enger, kürzerer Strich. */
.mk .article-body--sachtext h2 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  margin-block: clamp(2rem, 1.8rem + 1vw, 2.6rem) .6rem;
}
.mk .article-body--sachtext > h2:first-child { margin-block-start: 0; }
.mk .article-body--sachtext h2::before { width: 1.8rem; margin-block-end: .6rem; }

/* Schatten in Navy statt Schwarz: wirkt auf kühlem Grund wie Umgebungslicht. */
.mk .article-body img {
  display: block; width: 100%; height: auto;
  border-radius: clamp(8px, 0.4rem + 0.3vw, 12px);
  box-shadow: 0 8px 28px rgba(5, 55, 76, 0.12), 0 2px 6px rgba(5, 55, 76, 0.08);
  margin-block: clamp(1.6rem, 1.4rem + 1vw, 2.4rem);
}

/* Häufigster Baustein: darf nur so laut sein, dass er 75-mal pro Blog
   ertragbar bleibt. Kein Vollton, nur Hauch + Kante als Signal. */
.mk .article-body .callout {
  background: rgba(38, 187, 186, 0.07);
  border-inline-start: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: clamp(1rem, 0.9rem + 0.5vw, 1.4rem) clamp(1.1rem, 1rem + 0.6vw, 1.6rem);
  margin-block: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  color: var(--ink);
}
.mk .article-body .callout > :last-child { margin-block-end: 0; }

/* Marker-Metapher: Verlauf lässt nur die untere Hälfte „getextmarkert"
   erscheinen; clone sorgt bei Zeilenumbruch für saubere Enden je Zeile. */
.mk .article-body .highlight-text {
  background: linear-gradient(to bottom, transparent 55%, rgba(240, 199, 94, 0.4) 55%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.15em;
  color: var(--ink);
}

/* Die Ziffer als Navy-Kreis: bei 194 Vorkommen muss sie sofort als
   Strukturelement lesbar sein, nicht als Fließtextzeichen. */
.mk .article-body .numbered-list {
  margin-block: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  display: grid; gap: clamp(0.9rem, 0.8rem + 0.5vw, 1.3rem);
}
.mk .article-body .numbered-item {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(0.8rem, 0.7rem + 0.5vw, 1.1rem); align-items: start;
}
.mk .article-body .numbered-item .num {
  display: flex; align-items: center; justify-content: center;
  width: clamp(1.9rem, 1.7rem + 0.5vw, 2.2rem);
  height: clamp(1.9rem, 1.7rem + 0.5vw, 2.2rem);
  border-radius: 50%;
  background: var(--navy); color: var(--teal-pale);
  font-family: var(--font-display); font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem); font-weight: 600;
  box-shadow: 0 0 0 3px rgba(38, 187, 186, 0.18);
}

/* Gold als Warnstufe unterhalb von Rot: mahnt, ohne Krisenalarm auszulösen.
   Das „!" macht die Semantik auch ohne Farbwahrnehmung erkennbar. */
.mk .article-body .mistake-block {
  background: rgba(217, 119, 6, 0.06);
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-inline-start: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: clamp(1rem, 0.9rem + 0.5vw, 1.5rem) clamp(1.1rem, 1rem + 0.6vw, 1.6rem);
  margin-block: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
}
.mk .article-body .mistake-item {
  position: relative; padding-inline-start: 2rem; margin-block-end: 0.8em; text-wrap: pretty;
}
.mk .article-body .mistake-item:last-child { margin-block-end: 0; }
.mk .article-body .mistake-item::before {
  content: "!";
  position: absolute; inset-inline-start: 0; top: 0.18em;
  display: flex; align-items: center; justify-content: center;
  width: 1.25em; height: 1.25em; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: var(--font-display); font-size: 0.85em; font-weight: 700; line-height: 1;
}

/* Senkrechter Zeitstrahl: Der Farbverlauf der Linie zieht das Auge nach
   unten und macht die Leserichtung des Ablaufs eindeutig. */
.mk .article-body .scenario-flow { margin-block: clamp(1.8rem, 1.6rem + 1vw, 2.6rem); }
.mk .article-body .scenario-stage {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(0.9rem, 0.8rem + 0.5vw, 1.2rem);
}
.mk .article-body .stage-indicator { display: flex; flex-direction: column; align-items: center; }
/* Die Ablaufpunkte tragen in den Artikeln durchweg Beschriftungen — mal
   Ziffern ("01"), mal Zeitangaben ("72h", "≈ 4 Wo."). Deshalb sind sie
   beschriftete Marken, keine Punkte: Breite wächst mit dem Inhalt, die Form
   bleibt rund. Ohne Inhalt fällt die Marke auf einen schlichten Punkt zurück. */
.mk .article-body .stage-dot {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem;
  border-radius: 999px;
  background: var(--navy); color: var(--teal-pale);
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(38, 187, 186, 0.16);
  margin-block-start: 0.2em;
}
.mk .article-body .stage-dot:empty {
  min-width: 0; width: .85rem; height: .85rem; padding: 0;
  background: var(--teal); margin-block-start: .55em;
}
.mk .article-body .stage-line {
  flex: 1; width: 2px; min-height: 1.5rem; margin-block-start: 6px; border-radius: 1px;
  background: linear-gradient(to bottom, rgba(38, 187, 186, 0.55), rgba(38, 187, 186, 0.12));
}
/* Nach der letzten Station darf nichts mehr „weitergehen". */
.mk .article-body .scenario-stage:last-child .stage-line { display: none; }
.mk .article-body .stage-content { padding-block-end: clamp(1.3rem, 1.2rem + 0.5vw, 1.8rem); }
.mk .article-body .scenario-stage:last-child .stage-content { padding-block-end: 0; }
.mk .article-body .stage-content > :last-child { margin-block-end: 0; }

/* auto-fit: Karten füllen die Zeile und brechen selbstständig um. */
.mk .article-body :is(div, section):has(> .kpi-card) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  gap: clamp(0.8rem, 0.7rem + 0.5vw, 1.2rem);
  margin-block: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
}
.mk .article-body .kpi-card {
  background: var(--white);
  border: 1px solid rgba(5, 55, 76, 0.08);
  border-block-start: 3px solid var(--teal);
  border-radius: 10px;
  padding: clamp(1rem, 0.9rem + 0.5vw, 1.4rem);
  box-shadow: 0 2px 10px rgba(5, 55, 76, 0.06);
}
.mk .article-body .kpi-card > :last-child { margin-block-end: 0; }

/* Dunkelster Baustein: Die Umkehrung auf Dunkel setzt den Schlusspunkt
   und stellt ihn klar über jeden Callout. */
.mk .article-body .conclusion-box {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  border-inline-start: 4px solid var(--teal);
  padding: clamp(1.4rem, 1.2rem + 1vw, 2.2rem) clamp(1.4rem, 1.2rem + 1.2vw, 2.4rem);
  margin-block: clamp(2.2rem, 2rem + 1.5vw, 3.2rem);
}
.mk .article-body .conclusion-box :is(h2, h3, h4) { color: var(--teal-light); }
.mk .article-body .conclusion-box h2::before { background: linear-gradient(90deg, var(--gold-accent), rgba(240, 199, 94, 0.4)); }
.mk .article-body .conclusion-box strong { color: var(--white); }
.mk .article-body .conclusion-box a { color: var(--teal-light); text-decoration-color: rgba(89, 214, 198, 0.5); }
.mk .article-body .conclusion-box a:hover { color: var(--white); background-color: rgba(38, 187, 186, 0.18); }
.mk .article-body .conclusion-box > :last-child { margin-block-end: 0; }

/* Der einzige zentrierte Moment des Artikels — dadurch liest er sich
   als bewusster Schlussakkord. */
.mk .article-body .final-line {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.08rem + 0.5vw, 1.4rem);
  line-height: 1.45; font-weight: 600; color: var(--navy);
  text-align: center; text-wrap: balance;
  max-width: 42ch; margin-inline: auto;
  margin-block: clamp(2.2rem, 2rem + 1.5vw, 3.2rem) clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
}
.mk .article-body .final-line::before {
  content: ""; display: block; width: 2rem; height: 3px; border-radius: 2px;
  background: var(--gold-accent); margin: 0 auto 1rem;
}

/* Auslaufende Linie statt harter Kante: markiert die Pause, ohne die
   Seite in Blöcke zu zerschneiden. */
.mk .article-body .section-divider {
  border: 0; height: 1px; width: min(100%, 22rem);
  margin: clamp(2.5rem, 2.2rem + 1.5vw, 3.8rem) auto;
  background: linear-gradient(90deg, transparent, rgba(5, 55, 76, 0.2), transparent);
}

.mk .article-body .rto-definition-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 0.7rem + 0.5vw, 1.2rem);
  margin-block: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
}
.mk .article-body .rto-definition-grid > * {
  background: var(--white); border: 1px solid rgba(5, 55, 76, 0.08);
  border-radius: 10px; padding: clamp(1rem, 0.9rem + 0.5vw, 1.4rem);
}

/* --- Rahmen außerhalb des Artikelkörpers -------------------------------- */
.mk .article-lead {
  font-size: clamp(1.15rem, 1.1rem + 0.5vw, 1.35rem);
  line-height: 1.6; max-width: 62ch;
  margin-block: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  text-wrap: pretty;
}
.mk .light .article-lead { color: var(--ink); }

/* Metazeile in Versalien: klein genug, um dem Titel nicht zu konkurrieren,
   gesperrt genug, um lesbar zu bleiben. */
.mk .article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem;
  font-size: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: #8fb2d6; max-width: none;
  margin-block: clamp(0.8rem, 0.7rem + 0.4vw, 1.2rem);
}

.mk .article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
@media (max-width: 62rem) { .mk .article-layout { grid-template-columns: 1fr; } }
.mk .article-side { position: sticky; top: 6.5rem; }
@media (max-width: 62rem) { .mk .article-side { position: static; order: -1; } }

.mk .article-hero img {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 18px 44px rgba(5, 55, 76, .16);
  margin-block-end: clamp(1.6rem, 3vw, 2.4rem);
}

/* Inhaltsverzeichnis als weiße Karte: sichtbar abgesetzt vom Artikel,
   damit es als Navigationswerkzeug gelesen wird, nicht als Inhalt. */
.mk .toc-box {
  background: var(--white);
  border: 1px solid rgba(5, 55, 76, 0.1);
  border-radius: 12px;
  padding: clamp(1.1rem, 1rem + 0.5vw, 1.6rem) clamp(1.2rem, 1.1rem + 0.6vw, 1.8rem);
  box-shadow: 0 2px 12px rgba(5, 55, 76, 0.05);
}
.mk .toc-box-title {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--navy); margin-block-end: 0.9rem;
}
.mk .toc-box ol { list-style: none; counter-reset: none; }
.mk .toc-box li { margin-block-end: 0.15rem; }
/* Pfeilmarke am Link statt Listenpunkt: signalisiert Sprungziel. */
.mk .toc-box a {
  display: inline-block; padding-block: 0.3rem;
  color: var(--ink-body);
  font-size: clamp(0.88rem, 0.86rem + 0.15vw, 0.95rem);
  line-height: 1.4;
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.mk .toc-box a::before { content: "\2192"; color: var(--teal); margin-inline-end: 0.55em; font-weight: 600; }
.mk .toc-box a:hover, .mk .toc-box a:focus-visible { color: var(--navy); border-block-end-color: var(--teal); }

/* Handlungsaufruf am Artikelende */
.mk .article-cta {
  margin-block-start: clamp(2.4rem, 5vw, 3.6rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf8, #fbf4e6);
  border: 1px solid rgba(217, 119, 6, .18);
  max-width: 65ch;
}
.mk .article-cta-label {
  font-family: ui-monospace, Menlo, monospace; font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.mk .article-cta-title {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600; color: var(--navy); margin-block: .6rem .5rem; max-width: 26ch;
}
.mk .article-cta-text { color: var(--ink-body); margin-block-end: 1.2rem; }

/* Vorschaubild in den „Weiterlesen"-Karten */
.mk .related-img {
  display: block; aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  background-color: var(--navy-deep);
}

.mk .breadcrumb {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  font-size: .82rem; color: #8fb2d6; max-width: none;
}
.mk .breadcrumb a { color: var(--teal-pale); text-decoration: none; }
.mk .breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .mk .article-body .rto-definition-grid { grid-template-columns: 1fr; }
  .mk .article-body .callout,
  .mk .article-body .mistake-block,
  .mk .article-body .conclusion-box { padding-inline: 1rem; }
  .mk .article-body .numbered-item { gap: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mk .article-body a, .mk .toc-box a { transition: none; }
}
