:root {
  --ink: #111318;
  --ink-soft: #1c1e24;
  --paper: #f5f4f1;
  --red: #c8102e;
  --green: #2f6b4f;
  --grey: #8a8d94;
  --line: rgba(245, 244, 241, 0.18);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

a { color: inherit; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

/* header */
header { padding: 28px 0; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark span { color: var(--red); }

nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  flex-wrap: wrap;
}

nav a { text-decoration: none; color: var(--grey); }
nav a:hover { color: var(--paper); }

/* buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* homepage */
.hero {
  padding: 48px 0 40px;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.18;
  max-width: 18ch;
}

.hero .subline {
  margin-top: 16px;
  max-width: 42ch;
  color: #cfd0d4;
  font-size: 17px;
}

.hero .method-link {
  margin-top: 20px;
  font-size: 15px;
  color: var(--grey);
}

.hero .method-link a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.folgen {
  padding: 40px 0 88px;
  border-top: 1px solid var(--line);
}

.folgen h2 {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 24px;
}

.episode-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.episode-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.episode-meta .episode-num {
  font-size: 14px;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 8px;
}

.episode-meta h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.episode-meta .cta-row { margin-top: 8px; }

/* status badges */
.status-panel { border-left: 2px dashed var(--line); padding-left: 28px; }

.status-panel .eyebrow {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 18px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.status-item:first-of-type { border-top: none; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px rgba(245, 244, 241, 0.55);
}

.dot-green { background: var(--green); }
.dot-grey { background: var(--grey); }
.dot-red { background: var(--red); }

/* ansatz page */
.page-hero {
  padding: 48px 0 32px;
  max-width: 52ch;
}

.page-hero h1 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.2; }

.page-hero p {
  margin-top: 16px;
  color: #cfd0d4;
  font-size: 17px;
}

.ansatz-grid {
  padding: 32px 0 88px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.ansatz-grid h2 { font-size: 28px; max-width: 20ch; }

.steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
}

.step .num {
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 10px;
}

.step h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }

.step p { font-size: 15px; color: #c3c5ca; margin: 0; }

.outro-line {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  color: var(--grey);
}

/* quellen / prose */
.prose {
  padding: 32px 0 88px;
  max-width: 680px;
}

.prose .episode-label {
  font-size: 14px;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 8px;
}

.prose h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.prose .video-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 15px;
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .video-link:hover { color: var(--paper); }

.source-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.source-section h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.source-section p {
  margin: 0 0 14px;
  color: #c3c5ca;
  font-size: 15px;
}

.source-section ul {
  margin: 0;
  padding-left: 1.2em;
  color: #c3c5ca;
  font-size: 15px;
}

.source-section li { margin-bottom: 8px; }

.source-section a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-section a:hover { color: var(--red); }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--paper);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
}

.badge-green { color: var(--green); }
.badge-grey { color: var(--grey); }
.badge-red { color: var(--red); }

/* legal / simple pages */
.legal {
  padding: 32px 0 88px;
  max-width: 640px;
}

.legal h1 { font-size: 28px; margin-bottom: 32px; }

.legal h2 {
  font-size: 18px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p { color: #c3c5ca; }

.legal a { color: var(--red); }

/* 404 */
.error-page {
  padding: 80px 0;
  max-width: 40ch;
}

.error-page h1 { font-size: 28px; margin-bottom: 16px; }

.error-page p { color: #c3c5ca; margin-bottom: 28px; }

/* footer */
footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--grey);
}

footer a { text-decoration: underline; }

/* consent banner */
#consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 18px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 50;
}

#consent-banner p {
  margin: 0;
  font-size: 13px;
  color: #c3c5ca;
  max-width: 60ch;
}

#consent-actions { display: flex; gap: 10px; }

#consent-actions button {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

#consent-accept { background: var(--red); color: #fff; }

#consent-decline {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}

@media (max-width: 720px) {
  .episode-card { grid-template-columns: 1fr; }
  .ansatz-grid { grid-template-columns: 1fr; }
  .status-panel {
    border-left: none;
    border-top: 2px dashed var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
  .steps { grid-template-columns: 1fr; }
}
