/* ============================================================
   Videoseiten – ergänzt style.css (nur neue Klassen, nichts überschrieben)
   ============================================================ */

.video-meta { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin: 0 0 14px; }
.video-meta strong { color: var(--sand); font-weight: 600; }

/* YouTube-Einbettung mit Einwilligung */
.video-wrap { max-width: 900px; margin: 0 auto; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.video-frame img, .video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.video-frame .video-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 12px; text-align: center; padding: 22px;
  background: linear-gradient(to top, rgba(30,8,18,0.92) 0%, rgba(30,8,18,0.35) 60%, rgba(30,8,18,0) 100%);
  color: #fff;
}
.video-frame .video-consent p { margin: 0; max-width: 560px; font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.video-frame .video-consent a { color: var(--sand); text-decoration: underline; }
.video-alt { text-align: center; margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }

/* Sprungmarken unter dem Video */
.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 0; }

/* Kernaussagen-Box */
.key-box {
  background: #FBF7F9;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 26px 30px;
  margin: 0 0 40px;
}
.key-box h2 { font-size: 1.25rem; margin: 0 0 12px; }
.key-box ul { margin: 0; padding-left: 20px; }
.key-box li { margin: 0 0 8px; }

/* zwei Spalten: "Darüber sprechen wir" / "Für dich, falls …" */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 0 0 44px; }
.two-col h2 { font-size: 1.15rem; }
.two-col ul { margin: 0; padding-left: 20px; }
.two-col li { margin: 0 0 8px; }

/* Kapitelliste */
.chapter-list { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.chapter-list li { border-bottom: 1px solid var(--line); }
.chapter-list a {
  display: flex; gap: 18px; align-items: baseline;
  padding: 11px 4px; color: var(--ink); text-decoration: none;
}
.chapter-list a:hover { background: #FBF7F9; }
.chapter-list time {
  font-family: var(--font-head); font-weight: 600; color: var(--red);
  min-width: 52px; font-variant-numeric: tabular-nums;
}

/* Tabellen */
.table-scroll { overflow-x: auto; margin: 22px 0 8px; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 640px; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th {
  font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; background: var(--plum); color: #fff; border-bottom: none;
}
.data-table tbody tr:nth-child(even) { background: #FBF7F9; }
.data-table td:first-child { font-weight: 600; }

/* Erwähnt im Video */
.mention-card { display: flex; flex-direction: column; gap: 6px; }
.mention-card .kind {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.mention-card h3 { margin: 0; font-size: 1.05rem; }
.mention-card p { margin: 0 0 6px; color: var(--muted); font-size: 0.94rem; }
.code-chip {
  display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 0.85rem;
  background: #FBF7F9; border: 1px dashed var(--line); border-radius: 6px; padding: 3px 8px;
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600;
  font-size: 1.08rem; padding: 14px 32px 14px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; max-width: 780px; }

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .key-box { padding: 20px 20px; }
}

/* Tabellen auf dunklem Hintergrund (Senator-Plan) */
.section--dark .data-table thead th { background: rgba(255,255,255,0.14); color: #fff; }
.section--dark .data-table td, .section--dark .data-table th { color: rgba(255,255,255,0.92); border-bottom-color: rgba(255,255,255,0.16); }
.section--dark .data-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.05); }
.section--dark .data-table tbody tr:nth-child(odd) { background: transparent; }
.section--dark .data-table td:first-child { color: #fff; }

/* Feature-Liste in Angebotskarten */
.offer-features { margin: 0 0 14px; padding-left: 20px; font-size: 0.93rem; }
.offer-features li { margin: 0 0 6px; }
.key-box--plain { margin-bottom: 0; }

/* Videoübersicht */
.filter-row .chip { cursor: pointer; background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); font-family: inherit; }
.filter-row .chip.chip--fill { background: var(--grad-soft); border-color: transparent; }
.video-card .vc-thema { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); display: block; margin-bottom: 4px; }
.video-card .vc-info { margin: 6px 0 0; font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ---------- Abschnitts-Rhythmus: wechselnde Hintergründe ---------- */
.section--tint { background: #F6EDF1; }
.section--sand { background: #FAF3E0; }
.section--tint .key-box, .section--sand .key-box { background: #fff; }
.section--sand .data-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.65); }
.section--sand .data-table tbody tr:nth-child(odd) { background: transparent; }
.section--sand .chapter-list li { border-bottom-color: #E8DDBB; }
.section--sand .chapter-list a:hover { background: rgba(255,255,255,0.7); }
.section--tint .faq details { border-bottom-color: #E2CED8; }
.section--tint .eyebrow, .section--sand .eyebrow { color: var(--red); }

/* Abstände rund ums Video: Kernaussagen näher an die Sprungmarken */
.section--flush-b { padding-bottom: 12px; }
.section--flush-t { padding-top: 32px; }

/* Sprungmarken als klar erkennbare Buttons */
.jump-nav { margin-top: 22px; gap: 12px; }
.jump-nav a.chip {
  background: var(--grad-soft);
  color: #fff;
  border: none;
  padding: 10px 20px;
  box-shadow: 0 4px 12px rgba(151, 22, 47, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.jump-nav a.chip::after { content: " \2193"; opacity: 0.85; }
.jump-nav a.chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(151, 22, 47, 0.38); text-decoration: none; }

/* Sammelseiten (Playlist-Guides): mehrere Videos pro Abschnitt */
.series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.series-video h3 { margin: 0 0 4px; font-size: 1.1rem; }
.series-meta { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }
.series-chapters { margin-top: 12px; }
.series-chapters summary { cursor: pointer; font-weight: 600; color: var(--red); }
@media (max-width: 760px) { .series-grid { grid-template-columns: 1fr; } }

/* Fotos auf Videoseiten (Baustein galerie.py) */
.fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.fotos figure { margin: 0; }
.fotos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; transition: transform 0.2s ease; }
.fotos a[data-foto] { display: block; cursor: zoom-in; }
.fotos a[data-foto]:hover img { transform: translateY(-3px); }
.fotos--einzeln { grid-template-columns: minmax(0, 760px); }
.foto-dialog { border: none; padding: 0; background: transparent; width: fit-content; max-width: 94vw; max-height: 94vh; overflow: visible; margin: auto; }
.foto-dialog::backdrop { background: rgba(20, 6, 12, 0.88); }
.foto-dialog img { display: block; width: auto; height: auto; max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.foto-dialog button { position: absolute; top: -14px; right: -6px; width: 40px; height: 40px; border: none; border-radius: 50%; background: #fff; color: #222; font-size: 1.6rem; line-height: 1; cursor: pointer; }
@media (max-width: 900px) { .fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fotos { grid-template-columns: minmax(0, 1fr); } }
