/* ==========================================================================
   pvv.koeln – IG Pänz, Veedel & Verkehr
   Eine einzige Stylesheet-Datei. Farben aus dem Logo: Schwarz, Rot #c20000, Weiß.
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, SIL Open Font License) ---------- */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #000;
  --text: #1a1a1a;
  --muted: #595959;      /* 7:1 auf Weiß */
  --red: #c20000;        /* Logo-Rot, 6,4:1 auf Weiß */
  --red-dark: #8f0000;   /* Hover / gedrückt */
  --red-tint: #fbeaea;
  --surface: #f5f5f5;
  --line: #000;
  --bg: #fff;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --wrap: 72rem;
  --measure: 42rem;
  --rule: 2px solid var(--line);
}

/* ---------- Grundlagen ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  hyphens: manual;
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p,
ul,
ol,
dl,
blockquote,
figure,
table {
  margin: 0 0 var(--space-4);
}

p,
li,
dd,
td,
figcaption,
blockquote {
  hyphens: auto;
}

ul,
ol {
  padding-left: 1.4em;
}

li + li {
  margin-top: var(--space-2);
}

a {
  color: var(--red);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-dark);
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #fff;
}

strong {
  font-weight: 700;
}

abbr[title] {
  text-decoration: none;
}

/* ---------- Layout-Hilfen ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 40rem) {
  .wrap {
    padding-inline: var(--space-6);
  }
}

.section {
  padding-block: var(--space-7);
  border-top: var(--rule);
}

.section--first {
  border-top: 0;
}

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

.prose {
  max-width: var(--measure);
}

/* .wrap.prose: Abschnitt bleibt linksbündig im Raster, nur die Inhalte werden schmal */
.wrap.prose {
  max-width: var(--wrap);
}

.wrap.prose > * {
  max-width: var(--measure);
}

.lead {
  font-size: 1.3rem;
  line-height: 1.45;
}

.kicker {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.95rem;
}

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

/* Zeile schwarz + Zeile rot, wie im Logo */
.stack-line {
  display: block;
}

.stack-line--red {
  color: var(--red);
}

/* ---------- Skip-Link ---------- */

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -10rem;
  z-index: 10;
  padding: var(--space-3) var(--space-4);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: var(--space-4);
  color: #fff;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  background: #fff;
  border-bottom: var(--rule);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: #fff;
}

.brand img {
  width: 110px;
  height: 42px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-1);
  margin: 0 0 0 calc(-1 * var(--space-2));
  padding: 0;
  list-style: none;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--space-2);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover {
  color: var(--red);
  border-bottom-color: currentColor;
}

.site-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ---------- Fußzeile ---------- */

.site-footer {
  background: #fff;
  border-top: var(--rule);
  padding-block: var(--space-6) var(--space-7);
  font-size: 1rem;
}

.site-footer__title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  margin: var(--space-3) 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0;
}

.site-footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block: var(--space-5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
  padding: var(--space-2) var(--space-5);
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--ink);
  color: #fff;
}

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

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

/* Call-to-Action: Abstand um einzeln stehende Buttons, in Karten über die volle Breite */
.cta {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.card .cta {
  margin-top: var(--space-4);
}

.card .btn,
.poster-teaser__figure .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-6) var(--space-7);
}

.hero__text {
  background: #fff;
  align-self: center;
}

.hero__text .lead {
  max-width: 36rem;
}

.hero__figure {
  margin: 0;
}

.hero__figure img {
  width: 100%;
  border: var(--rule);
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-7);
    padding-block: var(--space-7) var(--space-8);
  }
}

figcaption {
  margin-top: var(--space-2);
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Kennzahlen ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  border-top: var(--rule);
  border-left: var(--rule);
}

.stats li {
  margin: 0;
  padding: var(--space-5);
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: #fff;
}

.stat__number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.stat__label {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
}

.stat__note {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Karten-Raster (Aktuelles, Mitmachen-Wege, Wer entscheidet) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-4);
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.cards > li {
  margin: 0;
}

.card {
  height: 100%;
  padding: var(--space-5);
  border: var(--rule);
  background: #fff;
}

.card > :last-child {
  margin-bottom: 0;
}

.card h3 {
  margin-bottom: var(--space-2);
}

/* ---------- Nummerierte Forderungen ---------- */

.demands {
  counter-reset: demand;
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.demands > li {
  counter-increment: demand;
  position: relative;
  margin: 0;
  padding: var(--space-4) 0 var(--space-4) 3.5rem;
  border-top: var(--rule);
}

.demands > li:last-child {
  border-bottom: var(--rule);
}

.demands > li::before {
  content: counter(demand);
  position: absolute;
  left: 0;
  top: var(--space-4);
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}

.demands h3 {
  margin-bottom: var(--space-1);
}

.demands p {
  margin: 0;
}

/* ---------- Status-Badges ---------- */

.status {
  display: inline-block;
  padding: 0.15em 0.6em;
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--ink);
  background: #fff;
}

.status--umgesetzt {
  background: var(--ink);
  color: #fff;
}

.status--teilweise {
  background: linear-gradient(90deg, #d6d6d6 0 50%, #fff 50% 100%);
}

.status--planung {
  border-style: dashed;
}

.status--zurueckgestellt {
  background: var(--surface);
  border-color: var(--muted);
}

.status--nicht-umgesetzt {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.status--nicht-weiterverfolgt {
  border-color: var(--red);
  color: var(--red);
}

.status--unklar {
  border-style: dashed;
  border-color: var(--muted);
}

.status--unklar::before {
  content: "? ";
}

/* Überblick auf der Startseite */
.status-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-2) var(--space-5);
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.status-overview li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  padding-block: var(--space-2);
  border-bottom: 1px solid #d6d6d6;
}

.status-overview__count {
  min-width: 2ch;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  text-align: right;
  color: var(--ink);
}

/* Statusdefinitionen */
.definitions {
  display: grid;
  gap: var(--space-3);
}

.definitions div {
  display: grid;
  gap: var(--space-1);
}

@media (min-width: 40rem) {
  .definitions div {
    grid-template-columns: 13rem 1fr;
    gap: var(--space-4);
    align-items: baseline;
  }
}

.definitions dt,
.definitions dd {
  margin: 0;
}

/* ---------- Beschlusskarten ---------- */

.decisions {
  display: grid;
  gap: var(--space-5);
}

.decision {
  padding: var(--space-5);
  border: var(--rule);
  background: #fff;
  scroll-margin-top: var(--space-4);
}

.decision:target {
  outline: 4px solid var(--red);
  outline-offset: 4px;
}

.decision__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}

.decision__number {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.decision h3 {
  margin-bottom: var(--space-1);
}

.decision__date {
  color: var(--muted);
  font-size: 1rem;
}

.decision h4 {
  margin: var(--space-4) 0 var(--space-2);
}

.decision__open {
  padding: var(--space-3) var(--space-4);
  background: var(--red-tint);
  border-left: 4px solid var(--red);
}

.decision__sources {
  font-size: 1rem;
}

.decision__sources ul {
  margin: var(--space-1) 0 0;
}

.decision > :last-child {
  margin-bottom: 0;
}

/* ---------- Verlauf / Chronik ---------- */

.timeline {
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 0 var(--space-4);
  margin: 0;
  padding: var(--space-2) 0;
  border-top: 1px solid #d6d6d6;
}

.timeline li:last-child {
  border-bottom: 1px solid #d6d6d6;
}

@media (min-width: 40rem) {
  .timeline li {
    grid-template-columns: 9rem 1fr;
  }
}

.timeline time,
.timeline .timeline__date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.chronicle li {
  padding-block: var(--space-3);
}

/* ---------- Tabelle mit Balken ---------- */

.table-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  table-layout: fixed;
}

.table-data caption {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  padding-bottom: var(--space-3);
}

.table-data th,
.table-data td {
  padding: var(--space-2) var(--space-2);
  border-bottom: 1px solid #bdbdbd;
  text-align: left;
  vertical-align: top;
}

.table-data thead th {
  border-bottom: var(--rule);
  font-family: var(--font-head);
  font-size: 0.85rem;
  line-height: 1.25;
  vertical-align: bottom;
  hyphens: manual;
}

.table-data tbody th {
  font-family: var(--font-head);
}

.table-data tfoot th,
.table-data tfoot td {
  border-top: var(--rule);
  border-bottom: 0;
  font-weight: 700;
}

.table-data .col-year {
  width: 14%;
}

.table-data .col-small {
  width: 17%;
}

.table-data tbody th,
.table-data tfoot th {
  white-space: nowrap;
}

/* Kurze Spaltenköpfe auf schmalen Bildschirmen; Screenreader lesen immer die lange Fassung */
.th-short {
  display: none;
}

@media (max-width: 39.99rem) {
  .table-data {
    font-size: 0.95rem;
  }

  .table-data th,
  .table-data td {
    padding: var(--space-2) 2px;
  }

  .table-data thead th,
  .table-data tbody th,
  .table-data tfoot th {
    font-family: var(--font-body);
    font-size: 0.9rem;
  }

  .table-data thead th {
    font-size: 0.8rem;
  }

  .table-data .col-year {
    width: 18%;
  }

  .table-data .col-small {
    width: 17%;
  }

  .th-short {
    display: inline;
  }

  .th-long {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

.num {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.bar {
  display: block;
  width: var(--w);
  height: 0.9rem;
  margin-top: var(--space-1);
  background: var(--ink);
}

.bar--hatched {
  background: repeating-linear-gradient(135deg, var(--red) 0 4px, #fff 4px 7px);
  border: 1px solid var(--red);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.legend li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}

.legend .bar {
  width: 2rem;
  margin: 0;
}

@media (min-width: 40rem) {
  .table-data th,
  .table-data td {
    padding: var(--space-3);
  }

  .table-data thead th {
    font-size: 0.95rem;
  }
}

/* ---------- Beschreibungslisten (Methodik, Kontakt) ---------- */

.facts {
  display: grid;
  gap: var(--space-3);
  max-width: var(--measure);
}

.facts dt {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

.facts dd {
  margin: 0;
}

/* ---------- Formular ---------- */

.form {
  max-width: 34rem;
  padding: var(--space-5);
  border: var(--rule);
  background: #fff;
}

.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  margin-bottom: var(--space-1);
  font-weight: 700;
  color: var(--ink);
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field input:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  box-shadow: none;
}

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}

.field--check input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.1rem 0 0;
  accent-color: var(--red);
}

.field--check label {
  font-weight: 400;
  margin: 0;
}

.field__hint {
  margin: var(--space-2) 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.field--check .field__hint {
  grid-column: 2;
}

/* Für Menschen unsichtbares Feld gegen Spam-Bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Mail-Vorlagen ---------- */

.template {
  margin: 0 0 var(--space-6);
  padding: var(--space-5);
  border: var(--rule);
  background: #fff;
}

.template > :last-child {
  margin-bottom: 0;
}

.template__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-4);
  font-size: 1rem;
}

.template__meta dt {
  font-weight: 700;
}

.template__meta dd {
  margin: 0;
}

.template blockquote {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  background: var(--surface);
  border-left: 4px solid var(--ink);
  white-space: pre-line;
  font-size: 1rem;
}

/* ---------- Hinweisfläche ---------- */

.note {
  max-width: var(--measure);
  padding: var(--space-4) var(--space-5);
  background: var(--red-tint);
  border-left: 4px solid var(--red);
}

.note > :last-child {
  margin-bottom: 0;
}

.box {
  padding: var(--space-5);
  border: var(--rule);
  background: #fff;
}

.box > :last-child {
  margin-bottom: 0;
}

/* ---------- Medienspiegel & Downloads ---------- */

.media-list,
.download-list {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  max-width: 50rem;
}

.media-list li,
.download-list li {
  margin: 0;
  padding: var(--space-3) 0;
  border-top: 1px solid #d6d6d6;
}

.media-list li:last-child,
.download-list li:last-child {
  border-bottom: 1px solid #d6d6d6;
}

.media-list__meta,
.download-list__meta {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-left: var(--space-1);
  padding: 0 0.4em;
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Bilder in Inhalten ---------- */

.figure img {
  border: var(--rule);
}

.figure--wide {
  max-width: 100%;
  margin-top: var(--space-5);
}

.figure--wide img {
  width: 100%;
}

.poster-teaser {
  display: grid;
  gap: var(--space-6);
}

.poster-teaser__figure {
  max-width: 20rem;
  margin: 0;
}

.poster-teaser__figure img {
  width: 100%;
  border: var(--rule);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.poster-teaser--compact {
  max-width: 68rem;
  margin-block: var(--space-5);
}

.poster-teaser--compact .poster-teaser__figure {
  max-width: 10rem;
}

.poster-teaser__title {
  font-size: 1.3rem;
}

@media (min-width: 56rem) {
  .poster-teaser {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }

  .poster-teaser--compact {
    grid-template-columns: minmax(0, 1fr) 12rem;
  }

  .poster-teaser--compact .poster-teaser__figure {
    max-width: 12rem;
  }
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
  max-width: 68rem;
}

.compare img {
  width: 100%;
}

.split {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Druck ---------- */

@media print {
  body {
    font-size: 11pt;
    color: #000;
  }

  .skip-link,
  .site-nav,
  .actions,
  .form,
  .hero__figure {
    display: none !important;
  }

  .site-header,
  .site-footer,
  .section {
    border-color: #000;
  }

  .section {
    padding-block: 12pt;
  }

  a {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    overflow-wrap: anywhere;
  }

  .decision,
  .card,
  .template,
  .stats li,
  .timeline li,
  tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .table-data thead {
    display: table-header-group;
  }

  .bar {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* Markierung für Text, der vor der Veröffentlichung noch ergänzt werden muss */
.platzhalter {
  background: #fff3a0;
  outline: 2px dashed #000;
}

/* ---------- Video (lädt erst nach Klick) ---------- */

.video {
  margin: 0 0 var(--space-4);
  max-width: 40rem;
}

.video__link {
  position: relative;
  display: block;
  border: var(--rule);
  text-decoration: none;
}

.video__link img {
  width: 100%;
}

.video__play {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: var(--space-2) var(--space-5);
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}

.video__link:hover .video__play {
  background: var(--red-dark);
}

.video__frame {
  display: block;
  width: 100%;
  max-width: 40rem;
  aspect-ratio: 1200 / 554;
  height: auto;
  border: var(--rule);
}

/* Rechercheübersicht: native, ohne JavaScript bedienbare Aufklappbereiche. */
.research-record { border-top: 1px solid #aaa; padding-block: .5rem; overflow-wrap: anywhere; }
.research-record summary { cursor: pointer; min-height: 44px; padding: .65rem .25rem; font-weight: 600; }
.research-record[open] summary { margin-bottom: .75rem; }
.research-record p, .research-record ul { font-size: .95rem; }
@media print { .research-record { break-inside: avoid; } }
