/* ==========================================================================
   VorSicht — vorsicht.youngurbananesthesiologists.de
   Raster und Aufbau von youngurbananesthesiologists.de (Swiss Medical Modernism),
   umgesetzt im VorSicht-Stil nach ADR-009: EVA-Checkliste, Schnittachse Vor | Sicht,
   Inter Tight, Palette Carbon · Missionsblau · Signalorange · Creme.
   Kontraste (WCAG 2.x, gerechnet): Carbon auf Creme 15,6 : 1 · Missionsblau auf Creme 8,2 : 1 ·
   Carbon auf Signalorange 5,0 : 1 · Signalorange auf Carbon 5,0 : 1.
   Signalorange nie als Schrift auf Creme (2,95 : 1), Missionsblau nie als Schrift auf Carbon (1,8 : 1).
   ========================================================================== */

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/inter-tight-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/inter-tight-variable-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* VorSicht-Palette (ADR-009) auf die YUAN-Token gelegt */
  --ground: #ECE8DF;          /* Creme */
  --surface: #E1DCD0;         /* Checklisten-Fläche */
  --surface-hover: #D8D2C4;

  --navy: #141618;            /* Carbon: dunkle Flächen, Primärknöpfe */
  --navy-hover: #000000;
  --slate-brand: #FC3D21;     /* Akzent auf dunklen Flächen: Signalorange */
  --slate-tint: #F3DDD3;
  --mission: #0B3D91;         /* Missionsblau: Links und Akzentschrift auf Creme */

  --ink: #141618;
  --ink-secondary: #2E3236;
  --ink-muted: #5A6577;

  --rule: rgba(20, 22, 24, 0.18);
  --rule-strong: #141618;
  --rule-dark: rgba(236, 232, 223, 0.18);

  --signal: #FC3D21;
  --signal-tint: #F3DDD3;

  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 0;
  --container-max: 1240px;
  --nav-height: 72px;
  --transition: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  background: var(--ground);
  overflow-x: hidden;
}

body.has-sticky-player {
  padding-bottom: 92px;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), opacity var(--transition);
}

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

button, input, select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--navy);
  color: #FFFFFF;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   Einheitliche Interaktionselemente (2px Architektur-Form)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--ground);
  color: var(--ink);
  border-color: var(--rule);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--surface);
}

.btn-inverted {
  background: #FFFFFF;
  color: var(--navy);
  border-color: #FFFFFF;
}

.btn-inverted:hover {
  background: var(--slate-tint);
  border-color: var(--slate-tint);
  color: var(--navy);
}

.btn-ghost-dark {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.kicker-dark {
  color: var(--slate-brand);
}

.signal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.signal-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

.signal-tag-on-dark {
  color: #FFFFFF;
  background: var(--signal);
  padding: 3px 8px;
  border-radius: var(--radius);
}

.signal-tag-on-dark::before {
  display: none;
}

/* ==========================================================================
   Navigation — Klar, sachlich, ohne Effekte
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-height);
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex: 0 1 auto;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ground);
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--ground);
  border-bottom: 2px solid var(--navy);
  padding: 16px 24px 24px;
  z-index: 890;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid var(--rule);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

/* ==========================================================================
   Hero — 12-Spalten Schweizer Raster (Asymmetrisch 7 : 5)
   ========================================================================== */
.hero {
  padding: 0;
  border-bottom: 1px solid var(--rule);
}

.hero-meta-strip {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

.hero-meta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.hero-meta-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ink-secondary);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
}

.hero-copy {
  grid-column: 1 / 8;
  padding: 56px 48px 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--rule);
}

.hero-title {
  font-size: clamp(2.5rem, 4.6vw, 3.85rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 54ch;
  margin: 0 0 32px;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  gap: 24px;
}

.metric-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Aktuelle Episode — Klare, flächige YUAN-Navy-Bühne ohne Dekor */
.featured-stage {
  grid-column: 8 / 13;
  background: var(--navy);
  color: #FFFFFF;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rule-dark);
}

.stage-date {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}

.featured-ep-header {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.featured-art-frame {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-ep-num {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-brand);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.featured-ep-title {
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.featured-ep-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  line-height: 1.45;
}

.featured-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 22px;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.featured-chapters {
  border-top: 1px solid var(--rule-dark);
  padding-top: 16px;
}

.featured-chapters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-brand);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.mini-chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-chapter-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.mini-chapter-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  text-align: left;
  background: transparent;
  border: none;
  padding: 9px 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  transition: background-color var(--transition), color var(--transition);
}

.mini-chapter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.mini-chapter-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-brand);
  font-variant-numeric: tabular-nums;
}

.mini-chapter-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Plattform- & Hinweis-Leiste (Ruhige, strukturierte Zeile)
   ========================================================================== */
.platform-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}

.platform-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.8125rem;
}

.platform-strip-meta {
  color: var(--ink-muted);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}

.platform-link {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.platform-link:hover {
  border-bottom-color: var(--navy);
}

/* ==========================================================================
   Schweizer Sektions-Architektur (3 Spalten Index-Spalte : 9 Spalten Inhalt)
   ========================================================================== */
.section {
  padding: 72px 0;
}

.section-ruled {
  border-top: 2px solid var(--rule-strong);
}

.section-surface {
  background: var(--surface);
}

.swiss-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.swiss-rail {
  grid-column: 1 / 4;
}

.swiss-main {
  grid-column: 4 / 13;
}

.section-index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 14px;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.section-desc {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   01 · Konzept — Drei Säulen & Format-Spezifikation (Schweizer Raster)
   ========================================================================== */
.concept-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--rule);
}

.concept-pillar {
  padding: 24px 22px 24px 0;
  border-right: 1px solid var(--rule);
}

.concept-pillar:not(:first-child) {
  padding-left: 22px;
}

.concept-pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.concept-pillar-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.concept-pillar h3 {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}

.concept-pillar p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

.concept-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.concept-spec dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 6px;
}

.concept-spec dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.56;
  color: var(--ink-secondary);
}

.concept-footnote {
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   02 · Lernpfade — Modulares 2x3 Linienraster (ohne Regenbogenfarben)
   ========================================================================== */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.path-card {
  background: var(--ground);
  border: none;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: background-color var(--transition);
}

.path-card:hover {
  background: var(--surface);
}

.path-card.is-active {
  background: var(--navy);
  color: #FFFFFF;
}

.path-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.path-num {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.path-card.is-active .path-num {
  color: var(--slate-brand);
}

.path-count {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.path-card.is-active .path-count {
  color: rgba(255, 255, 255, 0.72);
}

.path-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 4px 0 0;
}

.path-card.is-active .path-title {
  color: #FFFFFF;
}

.path-subtitle {
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
}

.path-card.is-active .path-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.path-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.path-card.is-active .path-footer {
  border-top-color: var(--rule-dark);
  color: #FFFFFF;
}

/* Ausgeklappter Lernpfad */
.path-detail-panel {
  margin-top: 24px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 28px;
  border-radius: var(--radius);
}

.path-detail-panel[hidden] {
  display: none;
}

.path-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule-dark);
}

.path-detail-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 6px 0 8px;
  color: #FFFFFF;
}

.path-detail-desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
}

.path-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.path-track-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.path-track-item:last-child {
  border-bottom: none;
}

.track-step {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-brand);
  font-variant-numeric: tabular-nums;
}

.track-info {
  min-width: 0;
}

.track-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: #FFFFFF;
  margin: 0 0 2px;
}

.track-meta {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.66);
  font-variant-numeric: tabular-nums;
}

.track-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   02 · Episoden-Archiv — Tabellarischer Redaktions-Index (Lupton / Elam)
   ========================================================================== */
.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.search-box {
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 40px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--ground);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--navy);
}

.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear:hover {
  color: var(--ink);
}

.search-clear[hidden] {
  display: none;
}

.chapters-toggle {
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--ground);
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.chapters-toggle.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.sort-select {
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--ground);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}

/* Unterstrichene Kategorie-Tabs (Ellen Lupton: Type as Navigation) */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}

.cat-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 0;
  margin-bottom: -1px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: color var(--transition), border-color var(--transition);
}

.cat-tab:hover {
  color: var(--ink);
}

.cat-tab.is-active {
  color: var(--navy);
  font-weight: 700;
  border-bottom-color: var(--navy);
}

.cat-tab .count {
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.archive-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* Redaktionelle Episoden-Liste (streng axial ausgerichtet) */
.episodes-list {
  border-top: 1px solid var(--navy);
}

.episode-row {
  display: grid;
  grid-template-columns: 52px 72px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color var(--transition);
}

.episode-row.is-playing {
  background: var(--slate-tint);
  margin: 0 -16px;
  padding: 20px 16px;
  border-left: 3px solid var(--signal);
}

.ep-row-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.ep-row-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}

.ep-row-thumb.is-fallback {
  padding: 6px;
  background: #FFFFFF;
}

.ep-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-row-thumb.is-fallback img {
  object-fit: contain;
}

.thumb-play-overlay {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 52, 99, 0.72);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.episode-row:hover .thumb-play-overlay,
.episode-row.is-playing .thumb-play-overlay,
.thumb-play-overlay:focus-visible {
  opacity: 1;
}

.ep-row-content {
  min-width: 0;
}

.ep-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 5px;
}

.ep-row-title {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 4px;
  transition: color var(--transition);
}

.ep-row-title:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-row-subtitle {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 6px;
}

.ep-row-excerpt {
  font-size: 0.875rem;
  line-height: 1.56;
  color: var(--ink-secondary);
  margin: 0 0 8px;
  max-width: 66ch;
}

.ep-row-cats {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.ep-row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 122px;
}

.archive-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.empty-state {
  padding: 48px 24px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

/* ==========================================================================
   03 · CME-Fortbildungspunkte — Strenges 3-Spalten-Raster + Status-Monitor
   ========================================================================== */
.cme-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.cme-step-card {
  padding: 22px 20px 22px 0;
  border-right: 1px solid var(--rule);
}

.cme-step-card:not(:first-child) {
  padding-left: 20px;
}

.cme-step-card:last-child {
  border-right: none;
  padding-right: 0;
}

.cme-step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.cme-step-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.cme-step-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

.cme-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cme-notice {
  border-left: 3px solid var(--signal);
  background: var(--surface);
  padding: 16px 18px;
  font-size: 0.875rem;
  line-height: 1.58;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.cme-notice strong {
  color: var(--ink);
}

.cme-status-panel {
  background: var(--navy);
  color: #FFFFFF;
  padding: 24px 26px;
  border-radius: var(--radius);
}

.cme-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule-dark);
}

.cme-status-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.cme-status-sub {
  font-size: 0.875rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 18px;
}

.cme-active-item {
  border-top: 1px solid var(--rule-dark);
  padding-top: 14px;
  margin-top: 14px;
}

.cme-active-item h4 {
  margin: 6px 0 10px;
  font-size: 0.96rem;
  color: #FFFFFF;
}

.cme-progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px;
}

.cme-progress-fill {
  height: 100%;
  background: #FFFFFF;
}

/* ==========================================================================
   04 · Über uns, Auszeichnungen & Kontakt
   ========================================================================== */
.about-inner-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.host-figure {
  margin: 0;
}

.host-photo-wrap {
  aspect-ratio: 3 / 2;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
}

.host-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.host-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.host-role {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0 0 12px;
}

.about-prose {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.about-prose p {
  margin: 0 0 14px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin: 26px 0;
}

.credential-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 16px 18px;
  background: var(--ground);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--transition);
}

a.credential-cell:hover {
  background: var(--surface);
}

.credential-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0;
}

.credential-sub {
  font-size: 0.8125rem;
  line-height: 1.48;
  color: var(--ink-muted);
  margin: 0;
}

.sister-project {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--navy);
  background: var(--surface);
  padding: 20px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.sister-project-copy {
  max-width: 52ch;
}

.sister-project h3 {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 6px;
}

.sister-project p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.56;
  color: var(--ink-secondary);
}

.contact-bar {
  border-top: 1px solid var(--navy);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-bar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.contact-bar p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Team-Unterseite (team.html) — Persönliche Profile im Schweizer Raster
   ========================================================================== */
.page-hero {
  border-bottom: 1px solid var(--rule);
  padding: 52px 0 44px;
}

.page-hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 12px 0 16px;
  max-width: 18ch;
}

.page-hero-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 60ch;
  margin: 0;
}

.team-profile {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.team-photo-box {
  aspect-ratio: 3 / 2;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
}

.team-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px dashed var(--slate-brand);
}

.team-photo-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--slate-brand);
}

.team-profile-name {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 4px 0 6px;
}

.team-profile-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 18px;
}

.team-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  margin: 22px 0;
}

.team-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 5px;
}

.team-facts dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.54;
  color: var(--ink-secondary);
}

.team-ep-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-ep-links a {
  font-size: 0.86rem;
  font-weight: 500;
}

.team-placeholders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.team-placeholder-card {
  background: var(--ground);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-placeholder-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 0;
}

.team-placeholder-role {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 0;
}

.team-placeholder-copy {
  font-size: 0.875rem;
  line-height: 1.58;
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
  flex: 1;
}

.team-placeholder-meta {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-links a.is-current {
  color: var(--navy);
  font-weight: 700;
  border-bottom-color: var(--navy);
}

/* ==========================================================================
   Footer — Einheitliches YUAN-Navy
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brand-sub {
  font-size: 0.74rem;
  color: var(--slate-brand);
  letter-spacing: 0.04em;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  max-width: 36ch;
  margin: 0 0 16px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-brand);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a,
.footer-link-btn {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.86rem;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.56);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Sticky Bottom Audio Player — Sachlich, präzise, einheitliches Navy
   ========================================================================== */
.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--navy);
  color: #FFFFFF;
  border-top: 2px solid var(--slate-brand);
  transform: translateY(105%);
  transition: transform 240ms ease;
}

.sticky-player.is-visible {
  transform: translateY(0);
}

.player-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
  gap: 24px;
  align-items: center;
}

.player-track-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #FFFFFF;
  flex-shrink: 0;
}

.player-titles {
  min-width: 0;
}

.player-ep-title {
  background: none;
  border: none;
  padding: 0;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

.player-ep-title:hover {
  text-decoration: underline;
}

.player-chapter-label {
  font-size: 0.74rem;
  color: var(--slate-brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.player-center {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.player-ctrl {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: #FFFFFF;
  height: 32px;
  min-width: 40px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.player-ctrl:hover {
  background: rgba(255, 255, 255, 0.14);
}

.player-play-main {
  background: #FFFFFF;
  color: var(--navy);
  border-color: #FFFFFF;
  min-width: 42px;
}

.player-play-main:hover {
  background: var(--slate-tint);
}

.player-timeline-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-time {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.76);
  min-width: 46px;
  font-variant-numeric: tabular-nums;
}

.player-time:last-child {
  text-align: right;
}

.scrubber-wrap {
  position: relative;
  flex: 1;
  height: 18px;
  display: flex;
  align-items: center;
}

.scrubber-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.scrubber-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  pointer-events: none;
}

.scrubber-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scrubber-tick {
  position: absolute;
  top: -3px;
  width: 1.5px;
  height: 10px;
  background: var(--slate-brand);
}

.scrubber-range {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.player-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Editorial Modals & Einheitlicher Shownotes-Reader
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(14, 27, 42, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 1020px;
  max-height: 90vh;
  background: var(--ground);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-dialog-sm {
  max-width: 580px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ground);
  color: var(--ink);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.modal-body {
  overflow-y: auto;
  padding: 28px;
}

/* Episode Reader */
.reader-hero {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--navy);
}

.reader-art {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.reader-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-meta-line {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.reader-title {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
}

.reader-subtitle {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 16px;
}

.reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-cme-banner {
  padding: 14px 18px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.875rem;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.reader-cme-banner.is-active {
  border-color: var(--signal);
  border-left-width: 4px;
  background: var(--signal-tint);
  color: var(--ink);
}

.reader-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
}

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

.reader-columns.single-col .shownotes-prose {
  max-width: 78ch;
}

/* Einheitliche Shownotes-Strukturblöcke */
.shownotes-block {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.shownotes-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shownotes-block-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}

.shownotes-prose {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 65ch;
  overflow-wrap: anywhere;
}

.shownotes-prose h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 8px;
}

.shownotes-prose h4:first-child {
  margin-top: 0;
}

.shownotes-prose p {
  margin: 0 0 12px;
}

.shownotes-prose p:last-child {
  margin-bottom: 0;
}

.shownotes-prose ul,
.shownotes-prose ol {
  padding-left: 18px;
  margin: 0 0 14px;
}

.shownotes-prose li {
  margin-bottom: 7px;
}

.shownotes-prose li p {
  margin: 0;
}

.shownotes-prose a {
  color: var(--navy);
  font-weight: 500;
}

/* Einheitliche Literatur- & Quellenliste */
.shownotes-refs ul,
.shownotes-refs ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--rule);
}

.shownotes-refs li {
  padding: 9px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  line-height: 1.56;
}

.shownotes-credits {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.shownotes-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.kw-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}

.kw-link:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

/* Kapitelmarken-Spalte im Reader */
.reader-chapters-box {
  border-top: 2px solid var(--navy);
  padding-top: 14px;
  position: sticky;
  top: 0;
}

.chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chapter-list li {
  border-bottom: 1px solid var(--rule);
}

.chapter-row-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 9px 6px;
  border: none;
  border-left: 2px solid transparent;
  background: transparent;
  text-align: left;
  font-size: 0.84rem;
  line-height: 1.42;
  color: var(--ink-secondary);
  transition: background-color var(--transition), color var(--transition);
}

.chapter-row-btn:hover {
  background: var(--surface);
  color: var(--ink);
}

.chapter-row-btn.is-current {
  background: var(--surface);
  border-left-color: var(--signal);
  color: var(--navy);
  font-weight: 600;
}

.chapter-ts {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* Subscribe Modal */
.subscribe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin: 18px 0 22px;
}

.subscribe-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ground);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}

.subscribe-option:hover {
  background: var(--surface);
  color: var(--navy);
}

.rss-copy-box {
  display: flex;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 6px 6px 6px 12px;
  align-items: center;
  background: var(--surface);
}

.rss-copy-box code {
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.legal-note {
  border-left: 3px solid var(--navy);
  background: var(--surface);
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 102px;
  z-index: 1200;
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links,
  .nav-actions .btn-desktop-only {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-copy {
    grid-column: 1 / 13;
    padding: 40px 0;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .featured-stage {
    grid-column: 1 / 13;
  }

  .swiss-rail,
  .swiss-main {
    grid-column: 1 / 13;
  }

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

  .about-inner-grid,
  .team-profile {
    grid-template-columns: 1fr;
  }

  .host-figure,
  .team-photo-col {
    max-width: 360px;
  }

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

  .player-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
    gap: 16px;
    padding: 12px 24px;
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 52px 0;
  }

  .nav-inner {
    gap: 12px;
  }

  .brand-emblem {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .paths-grid,
  .concept-pillars,
  .concept-specs,
  .cme-steps,
  .cme-bottom-grid,
  .credentials-grid,
  .team-facts,
  .team-placeholders-grid,
  .reader-columns,
  .subscribe-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .concept-pillar,
  .cme-step-card {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 18px 0 !important;
  }

  .concept-pillar:last-child,
  .cme-step-card:last-child {
    border-bottom: none;
  }

  .archive-toolbar {
    grid-template-columns: 1fr;
  }

  .episode-row {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
  }

  .ep-row-num {
    display: none;
  }

  .ep-row-thumb {
    width: 60px;
    height: 60px;
  }

  .ep-row-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .ep-row-actions .btn {
    flex: 1;
  }

  .featured-ep-header,
  .reader-hero {
    grid-template-columns: 1fr;
  }

  .player-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 18px 12px;
  }

  .player-right {
    justify-content: space-between;
  }

  body.has-sticky-player {
    padding-bottom: 164px;
  }
}

@media (max-width: 560px) {
  .nav-actions .btn-primary {
    display: none;
  }

  .brand-sub {
    display: none;
  }
}

/* ==========================================================================
   VorSicht-Schicht (ADR-009): EVA-Checkliste, Schnittachse, Doppelrahmen
   Alles Folgende ergänzt das YUAN-Raster, ohne seine Struktur zu ändern.
   ========================================================================== */
[hidden] {
  display: none !important;
}

a {
  color: var(--mission);
}

:focus-visible {
  outline-color: var(--mission);
}

h1, h2, h3,
.hero-title,
.section-title,
.featured-ep-title,
.reader-title {
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Wortmarke Vor | Sicht mit Achse in der Naht */
.vs-wordmark {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}

.vs-wordmark__vor {
  color: var(--ink);
  padding-right: 0.08em;
  border-right: 2px solid var(--signal);
}

.vs-wordmark__sicht {
  color: var(--signal);
  padding-left: 0.08em;
}

.vs-wordmark--dark .vs-wordmark__vor {
  color: var(--ground);
}

.brand-name.vs-wordmark {
  font-size: 1.25rem;
  width: max-content;
  justify-self: start;
  align-self: flex-start;
}

/* Technische Kopfzeile wie auf der Checkliste */
.hero-meta-strip-inner,
.section-index,
.cme-step-num,
.path-num,
.kicker {
  font-variant-numeric: tabular-nums;
}

.section-index::first-letter {
  color: var(--ink);
}

/* Hero: die dunkle Tafel trägt die orangefarbene Achse und den Doppelrahmen */
.featured-stage {
  position: relative;
  border-left: 2px solid var(--signal);
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
}

.featured-stage::before,
.featured-stage::after {
  content: "+";
  position: absolute;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--signal);
  pointer-events: none;
}

.featured-stage::before {
  top: 10px;
  right: 12px;
}

.featured-stage::after {
  bottom: 10px;
  right: 12px;
}

/* Signal-Etiketten: Signalorange nur als Fläche oder auf Carbon */
.signal-tag {
  color: var(--ink);
}

.signal-tag-on-dark {
  color: var(--ink);
  background: var(--signal);
}

/* Knöpfe */
.btn-primary {
  background: var(--navy);
  color: var(--ground);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

.btn-inverted:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

/* Bausteine im Konzept: Farbkante je Rubrik wie im Logo */
.concept-pillar {
  border-top: 3px solid var(--ink);
}

.concept-pillar--paper {
  border-top-color: var(--mission);
}

.concept-pillar--move {
  border-top-color: var(--signal);
}

.concept-pillar-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.concept-pillar-num .vs-rubric-icon {
  color: var(--ink);
}

/* Staffeln: Durch-Sicht-Raster im Hintergrund, geplante Staffeln schraffiert */
#staffeln {
  background-image:
    linear-gradient(to right, rgba(90, 101, 119, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90, 101, 119, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

.path-card.is-planned {
  background-image: repeating-linear-gradient(135deg, transparent 0 9px, rgba(20, 22, 24, 0.05) 9px 10px);
}

.path-card.is-planned .path-count {
  color: var(--ink-muted);
}

.path-card:not(.is-planned) .path-num::after {
  content: " ●";
  color: var(--signal);
}

/* Doppelrahmen für Dialoge und dunkle Tafeln */
.modal-dialog,
.cme-status-panel,
.path-detail-panel {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
}

.modal-dialog {
  border: 1.5px solid var(--ink);
}

/* Drei Bausteine in den Shownotes */
.vs-rubric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
  margin: 0 0 28px;
}

.vs-rubric-card {
  padding: 16px 18px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ground);
}

.vs-rubric-card .shownotes-prose p:last-child {
  margin-bottom: 0;
}

.vs-rubric-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.vs-rubric-badge--paper  { background: var(--mission); border-color: var(--mission); color: var(--ground); }
.vs-rubric-badge--move   { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.vs-rubric-badge--action { background: var(--ink); color: var(--ground); }

.vs-rubric-card--paper  { box-shadow: inset 3px 0 0 var(--mission); }
.vs-rubric-card--move   { box-shadow: inset 3px 0 0 var(--signal); }
.vs-rubric-card--action { box-shadow: inset 3px 0 0 var(--ink); }

@media (max-width: 760px) {
  .vs-rubric-grid {
    grid-template-columns: 1fr;
  }
}

/* Pflicht-Outro */
.vs-outro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 28px 0 0;
  padding: 14px 18px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}

.vs-outro::after {
  content: "+";
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--signal);
}
