/* ==========================================================================
   dn24.news – Stylesheet
   ========================================================================== */

:root {
  --rot: #cc1625;
  --rot-dunkel: #a30f1c;
  --tinte: #14171f;
  --text: #22262f;
  --grau: #5d6372;
  --grau-hell: #8a8f9c;
  --linie: #e3e5ea;
  --flaeche: #f4f5f7;
  --weiss: #fff;
  --nacht: #0e1117;
  --gruen: #13804a;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;

  --breite: 1240px;
  --radius: 4px;
  --schatten: 0 1px 2px rgba(20, 23, 31, .06), 0 6px 20px rgba(20, 23, 31, .06);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; background: var(--flaeche); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--tinte); margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
button, input { font: inherit; }

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

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--rot); color: #fff; padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* ---------- Gemeinsame Teaser-Elemente ---------- */

.kicker {
  display: block;
  color: var(--rot);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 6px;
}
.meta { color: var(--grau-hell); font-size: 12.5px; margin-top: 10px; }

.article h2, .article h3 { transition: color .15s ease; }
.article:hover h2, .article:hover h3 { color: var(--rot); }
.article img { transition: opacity .2s ease; }
.article:hover img { opacity: .92; }

/* ---------- PWA ---------- */

.offline-bar {
  position: sticky; top: 0; z-index: 60; background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f0c64a;
  text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px;
}
.offline-bar[hidden] { display: none; }

.app-install {
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 16px;
  background: var(--flaeche); border-radius: var(--radius);
}
.app-install[hidden] { display: none; }
.app-install img { border-radius: 10px; flex: none; }
.app-install div { flex: 1; display: flex; flex-direction: column; font-size: 14px; color: var(--grau); }
.app-install strong { color: var(--tinte); font-size: 15px; }
.app-install-btn {
  background: var(--rot); color: #fff; border: 0; border-radius: 99px; padding: 9px 18px;
  font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.app-install-btn:hover { background: var(--rot-dunkel); }
.footer-app {
  display: block; margin-top: 8px; background: none; border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  border-radius: 99px; padding: 7px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.footer-app[hidden] { display: none; }
.footer-app:hover { border-color: #fff; }

/* In der installierten App: kein Hinweis auf "Beispielausgabe"-Leiste nötig, Platz sparen */
@media (display-mode: standalone) {
  .utility { display: none; }
}

/* ---------- Utility-Leiste ---------- */

.utility { background: var(--nacht); color: #b9bdc7; font-size: 12.5px; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.utility-right { display: flex; gap: 18px; align-items: center; }
.utility .demo {
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  padding: 2px 8px; border-radius: 99px; font-size: 11.5px;
}

/* ---------- Masthead ---------- */

.masthead { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; gap: 24px; }
.identity { display: flex; align-items: center; gap: 18px; }

.logo { display: inline-flex; align-items: baseline; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.logo span { font-size: 44px; color: var(--tinte); }
.logo b {
  font-size: 44px; color: #fff; background: var(--rot);
  padding: 2px 7px 4px; margin-left: 3px; border-radius: 3px;
}
.logo .domain { font-size: 17px; font-weight: 700; color: var(--grau); margin-left: 4px; letter-spacing: 0; }

.slogan {
  border-left: 2px solid var(--linie); padding-left: 18px;
  font-size: 13px; font-weight: 600; color: var(--grau); line-height: 1.35;
}

.header-right { display: flex; align-items: center; gap: 22px; }
.search-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--tinte);
  border: 1px solid var(--linie); border-radius: 99px; padding: 8px 16px;
  transition: border-color .15s ease, color .15s ease;
}
.search-link:hover { border-color: var(--rot); color: var(--rot); }

.weather { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.weather .sun { font-size: 26px; color: #f2a900; line-height: 1; }
.weather b { display: block; color: var(--tinte); }
.weather small { color: var(--grau-hell); font-size: 12px; }

.edition { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--tinte); }
.edition i { width: 16px; height: 11px; background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); border-radius: 1px; }

/* ---------- Hauptnavigation ---------- */

.nav-shell { background: var(--tinte); position: sticky; top: 0; z-index: 50; }
.nav-shell .wrap { position: relative; }
.main-nav { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: #e7e9ee; font-size: 15px; font-weight: 700; white-space: nowrap;
  padding: 14px 14px 12px; border-bottom: 3px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, .06); }
.main-nav a.active { border-bottom-color: var(--rot); color: #fff; }
.menu-btn {
  margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer;
  padding: 0 12px; display: flex; align-items: center;
}
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn[aria-expanded="true"] { background: var(--rot); }

.mega-menu {
  background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
  padding-top: 22px; padding-bottom: 26px; position: relative; z-index: 40;
}
.mega-menu[hidden] { display: none; }
.menu-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.menu-heading strong { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); }
.menu-search { display: flex; gap: 8px; flex: 0 1 380px; }
.menu-search input { flex: 1; min-width: 0; border: 1px solid var(--linie); border-radius: var(--radius); padding: 9px 12px; }
.menu-search button { background: var(--rot); color: #fff; border: 0; border-radius: var(--radius); padding: 0 16px; font-weight: 700; cursor: pointer; }
.mega-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.mega-links a {
  display: flex; justify-content: space-between; padding: 11px 0;
  border-bottom: 1px solid var(--linie); font-weight: 600; color: var(--tinte);
}
.mega-links a span { color: var(--rot); transition: transform .15s ease; }
.mega-links a:hover { color: var(--rot); }
.mega-links a:hover span { transform: translateX(4px); }

/* ---------- Börsenleiste ---------- */

.market { background: var(--flaeche); border-bottom: 1px solid var(--linie); font-size: 13px; }
.market .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.market .wrap::-webkit-scrollbar { display: none; }
.market-label { font-weight: 800; color: var(--rot); letter-spacing: .06em; font-size: 12px; }
.quote b { color: var(--tinte); margin-right: 4px; }
.up { color: var(--gruen); font-weight: 700; }
.down { color: var(--rot); font-weight: 700; }
.market-note { margin-left: auto; color: var(--grau-hell); font-size: 11.5px; }

/* ---------- Startseite: Kopf ---------- */

main { padding-top: 22px; padding-bottom: 56px; }

.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.topics strong { font-size: 12px; letter-spacing: .1em; color: var(--rot); margin-right: 6px; white-space: nowrap; }
.topics a {
  font-size: 13.5px; font-weight: 600; color: var(--tinte);
  border: 1px solid var(--linie); padding: 5px 12px; border-radius: 99px;
  transition: border-color .15s ease, color .15s ease;
}
.topics a:hover { border-color: var(--rot); color: var(--rot); }

.ticker {
  display: flex; align-items: center; gap: 16px;
  background: var(--tinte); color: #fff; border-radius: var(--radius);
  padding: 0 16px 0 0; margin-bottom: 26px; overflow: hidden; min-height: 46px;
}
.ticker-label {
  background: var(--rot); align-self: stretch; display: flex; align-items: center;
  padding: 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .08em; white-space: nowrap;
}
.ticker p { flex: 1; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker p b { color: #ff8a93; margin-right: 6px; }
.ticker .arrow { font-size: 18px; transition: transform .15s ease; }
.ticker:hover .arrow { transform: translateX(4px); }

.section-heading {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  border-bottom: 3px solid var(--tinte); padding-bottom: 10px; margin-bottom: 24px;
}
.section-heading h1 { font-size: 30px; font-weight: 900; }
.section-heading > span { color: var(--grau); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---------- Nachrichten-Layout ---------- */

.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.news-layout > aside { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 64px; }

.lead-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--linie); }
.lead-layout.solo { grid-template-columns: 1fr; }
.lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.lead-copy { padding-top: 16px; }
.lead .badge {
  display: inline-block; background: var(--rot); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; padding: 3px 8px; border-radius: 2px; margin-bottom: 10px;
}
.lead h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.12; margin-bottom: 10px; }
.lead p { font-size: 17px; color: var(--text); }
.lead.no-image .lead-copy { padding-top: 0; }

.side-stories { display: flex; flex-direction: column; }
.side-story { padding: 0 0 18px; border-bottom: 1px solid var(--linie); margin-bottom: 18px; }
.side-story:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.side-story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.side-story h3 { font-size: 20px; font-weight: 800; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; }
.card .image-wrap { position: relative; margin-bottom: 12px; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.image-tag {
  position: absolute; left: 10px; bottom: 10px; background: rgba(14, 17, 23, .85); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 3px 7px; border-radius: 2px;
}
.card h3 { font-size: 18px; font-weight: 800; }
.card p { font-size: 14.5px; color: var(--grau); margin-top: 6px; }

/* ---------- Seitenleiste: Das Neueste ---------- */

.latest { border-top: 3px solid var(--rot); }
.latest-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 6px; }
.latest-head h2 { font-size: 20px; font-weight: 900; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--rot); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rot); animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

.latest-item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.latest-item time { color: var(--rot); font-weight: 800; font-size: 13.5px; padding-top: 1px; font-variant-numeric: tabular-nums; }
.latest-item h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }

.news-more summary {
  list-style: none; cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--rot);
  border-bottom: 1px solid var(--linie);
}
.news-more summary::-webkit-details-marker { display: none; }
.news-more summary::after { content: " ↓"; }
.news-more[open] summary::after { content: " ↑"; }
.all-news { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--tinte); }
.all-news:hover { color: var(--rot); }

.briefing { background: var(--tinte); color: #fff; padding: 22px; border-radius: var(--radius); }
.briefing small { font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #ff8a93; }
.briefing h3 { color: #fff; font-size: 21px; font-weight: 900; margin: 6px 0 14px; }
.briefing a { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; font-weight: 600; }
.briefing a b { color: #ff8a93; font-size: 14px; }
.briefing a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ressort-Blöcke ---------- */

.department, .more, .photo-journal { margin-top: 56px; }

.section-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 3px solid var(--tinte); padding-top: 12px; margin-bottom: 22px;
}
.section-title { font-size: 26px; font-weight: 900; }
.section-title a:hover { color: var(--rot); }
.section-label { color: var(--grau); font-size: 13.5px; font-weight: 600; }
.text-link { color: var(--rot); font-weight: 700; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.section-more {
  display: inline-flex; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--tinte);
  border: 1px solid var(--linie); padding: 8px 14px; border-radius: 99px;
  transition: border-color .15s ease, color .15s ease;
}
.section-more:hover { border-color: var(--rot); color: var(--rot); }

.department-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr); gap: 28px; }
.department-lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.department-lead h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.department-lead p { color: var(--text); font-size: 15.5px; }

.department-stack { display: flex; flex-direction: column; }
.department-story { display: block; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--linie); }
.department-story:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.department-story h3 { font-size: 18px; font-weight: 800; }
.department-story p { color: var(--grau); font-size: 14.5px; margin-top: 6px; }

.context-box { background: var(--flaeche); padding: 20px; border-radius: var(--radius); border-top: 3px solid var(--rot); align-self: start; }
.context-box > small { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--rot); }
.context-box > h3 { font-size: 20px; font-weight: 900; margin: 4px 0 16px; }
.context-box .department-story { border-bottom-color: #dcdfe5; }
.context-box .department-story h3 { font-size: 16px; }

/* Wirtschaft */
.economy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.economy > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.economy > a h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.economy > a p { font-size: 15.5px; }
.small-list { border-left: 1px solid var(--linie); padding-left: 24px; display: flex; flex-direction: column; gap: 18px; }
.small-list h3 { font-size: 17px; font-weight: 800; }

/* Dossier-Spotlight */
.spotlight {
  margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: var(--tinte); color: #fff; border-radius: var(--radius); overflow: hidden;
}
.spotlight-image img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.spotlight-copy { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-copy small { color: #ff8a93; font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 14px; }
.spotlight-copy h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 900; margin-bottom: 14px; }
.spotlight-copy p { color: #d4d7de; font-size: 16.5px; }
.spotlight .meta { color: #9aa0ad; }
.spotlight .article:hover h2 { color: #fff; text-decoration: underline; text-decoration-color: var(--rot); text-underline-offset: 6px; }
.feature-link {
  display: inline-block; margin-top: 22px; background: var(--rot); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 99px;
}

/* Hintergründe (Lesestoff) */
.reading-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.reading-card {
  display: block; border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px 20px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.reading-card:hover { border-color: transparent; box-shadow: var(--schatten); }
.reading-number { display: block; font-size: 34px; font-weight: 900; color: var(--linie); line-height: 1; margin-bottom: 14px; }
.reading-card:hover .reading-number { color: var(--rot); }
.reading-card h3 { font-size: 19px; font-weight: 800; }

/* Erweiterte Ressorts */
.extended-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.extended-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.extended-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.extended-card p { color: var(--grau); font-size: 14.5px; }
.extended-shortlist {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  border-top: 1px solid var(--linie); margin-top: 24px; padding-top: 20px;
}
.extended-shortlist .department-story { border: 0; margin: 0; padding: 0; }

/* Welt in Bildern */
.photo-journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-story { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.photo-story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.photo-story:hover img { transform: scale(1.03); opacity: 1; }
.photo-story > div {
  position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px;
  background: linear-gradient(transparent, rgba(8, 10, 14, .88));
}
.photo-story .kicker { color: #ff8a93; font-size: 11.5px; letter-spacing: .1em; }
.photo-story h3 { color: #fff; font-size: 26px; font-weight: 900; }
.photo-story .meta { color: #c3c7d0; }
.photo-story:hover h3 { color: #fff; }

/* Wochenende */
.weekend { background: #faf6f0; margin-left: -24px; margin-right: -24px; padding: 8px 24px 32px; border-radius: var(--radius); }
.weekend .section-top { border-top-color: var(--rot); }

/* Ende der Ausgabe */
.topic-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linie); }
.topic-jumps a {
  font-size: 14px; font-weight: 600; background: var(--flaeche); padding: 8px 14px; border-radius: 99px;
  transition: background .15s ease, color .15s ease;
}
.topic-jumps a:hover { background: var(--tinte); color: #fff; }
.edition-end {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; font-size: 13.5px; color: var(--grau);
}
.edition-end a { font-weight: 700; color: var(--tinte); }
.edition-end a:hover { color: var(--rot); }

/* ---------- Artikelseite ---------- */

.preview-banner {
  background: #fff4d6; border: 1px solid #f0c64a; color: #5c4400; border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 20px; font-size: 14.5px;
}

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--grau); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { font-weight: 600; color: var(--tinte); }
.breadcrumb a:hover { color: var(--rot); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-page { max-width: 760px; }
.article-header .kicker { font-size: 15px; }
.article-header h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; letter-spacing: -.02em; }
.article-teaser { font-size: 20px; line-height: 1.5; color: var(--text); font-weight: 600; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 24px; padding: 12px 0;
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font-size: 13.5px; color: var(--grau);
}
.article-meta .author { font-weight: 700; color: var(--tinte); }

.article-figure { margin: 0 0 28px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-figure figcaption { font-size: 13px; color: var(--grau); padding-top: 8px; }
.article-figure figcaption span { color: var(--grau-hell); }

.article-body { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--text); }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-family: var(--sans); font-size: 22px; font-weight: 800; margin-top: 1.6em; }
.article-body h3 { font-family: var(--sans); font-size: 19px; font-weight: 800; margin-top: 1.4em; }
.article-body a { color: var(--rot); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rot);
  font-size: 22px; font-style: italic; color: var(--tinte);
}
.article-body img { border-radius: var(--radius); }
.article-body figure { margin: 1.6em 0; }
.article-body figcaption { font-family: var(--sans); font-size: 13px; color: var(--grau); padding-top: 6px; }

.article-footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--linie); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--tinte);
  background: #fff; border: 1px solid var(--linie); padding: 9px 16px; border-radius: 99px; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.pill:hover { border-color: var(--rot); color: var(--rot); }

.article-aside { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 64px; }
.related { margin-top: 64px; }
.related .cards { padding-top: 0; }

/* ---------- Videos ---------- */

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.video-card h3 { font-size: 17px; font-weight: 800; margin-top: 12px; }
.video-thumb { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tinte); aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: rgba(204, 22, 37, .92); box-shadow: 0 4px 16px rgba(0, 0, 0, .3); transition: transform .15s ease;
}
.play::after {
  content: ""; position: absolute; left: 22px; top: 17px;
  border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff;
}
.video-card:hover .play { transform: scale(1.08); }
.duration {
  position: absolute; right: 8px; bottom: 8px; background: rgba(14, 17, 23, .85); color: #fff;
  font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 3px; font-variant-numeric: tabular-nums;
}

.video-page { max-width: 960px; }
.video-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.video-player img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video-player video { width: 100%; height: 100%; display: block; background: #000; }
.video-start {
  position: absolute; inset: 0; width: 100%; background: none; border: 0; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.video-start .play { position: relative; left: auto; top: auto; margin: 0; width: 76px; height: 76px; }
.video-start .play::after { left: 30px; top: 23px; border-width: 15px 0 15px 23px; }
.video-start:hover .play { transform: scale(1.06); }
.video-start-text { font-weight: 800; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); margin-top: 70px; position: absolute; top: 50%; }
.video-consent {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 16px; font-size: 12.5px; color: #e7e9ee;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75)); text-align: center;
}
.video-header h1 { font-size: clamp(26px, 3.4vw, 38px); }
.license-note {
  font-size: 13px; color: var(--grau); background: var(--flaeche); border-radius: var(--radius);
  padding: 12px 16px; margin-top: 24px;
}
.license-note a { color: var(--tinte); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.home-videos { margin-top: 56px; }

/* ---------- Ressortseite / Listen ---------- */

.ressort-heading { align-items: flex-end; }
.ressort-intro { color: var(--grau); margin-top: 6px; font-size: 15.5px; }

.stream { margin-top: 32px; }
.stream-title { font-size: 20px; font-weight: 900; padding-bottom: 10px; border-bottom: 1px solid var(--linie); }
.stream-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--linie); }
.stream-item.no-image { grid-template-columns: 1fr; }
.stream-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.stream-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.stream-item p { color: var(--grau); font-size: 15px; }
.stream-item .meta { margin-top: 8px; }
mark { background: #ffe8a3; color: inherit; padding: 0 2px; border-radius: 2px; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--linie); border-radius: var(--radius); font-weight: 700; font-size: 14px;
}
.pagination a:hover { border-color: var(--rot); color: var(--rot); }
.pagination span[aria-current] { background: var(--tinte); border-color: var(--tinte); color: #fff; }

.empty-state { padding: 28px; background: var(--flaeche); border-radius: var(--radius); color: var(--grau); margin-bottom: 28px; }

/* Neueste Meldungen (Zeitleiste) */
.timeline { max-width: 860px; }
.timeline-day + .timeline-day { margin-top: 36px; }
.timeline-day h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--grau); margin-bottom: 8px; }
.timeline ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--linie); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 16px 0 16px 20px; border-bottom: 1px solid var(--linie); }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px;
  background: #fff; border: 3px solid var(--rot); border-radius: 50%;
}
.timeline time { font-weight: 800; color: var(--rot); font-variant-numeric: tabular-nums; padding-top: 1px; }
.timeline h3 { font-size: 18px; font-weight: 800; }
.timeline p { color: var(--grau); font-size: 14.5px; margin-top: 4px; }
.timeline .kicker { font-size: 12px; margin-bottom: 3px; }

/* Suche */
.search-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 24px; }
.search-form input {
  flex: 1; min-width: 0; border: 2px solid var(--linie); border-radius: var(--radius);
  padding: 13px 16px; font-size: 17px; transition: border-color .15s ease;
}
.search-form input:focus { outline: none; border-color: var(--tinte); }
.search-form button { background: var(--rot); color: #fff; border: 0; border-radius: var(--radius); padding: 0 24px; font-weight: 800; font-size: 15px; cursor: pointer; }
.search-form button:hover { background: var(--rot-dunkel); }
.search-hints p { color: var(--grau); margin-bottom: 18px; }
.search-summary { color: var(--grau); }
.search-summary strong { color: var(--tinte); }

/* Börse */
.quote-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.quote-card { border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; border-top: 3px solid var(--gruen); }
.quote-card.is-down { border-top-color: var(--rot); }
.quote-card small { color: var(--grau-hell); font-size: 11.5px; font-weight: 600; }
.quote-card h2 { font-size: 16px; font-weight: 800; margin: 2px 0 8px; }
.quote-card strong { display: block; font-size: 22px; font-weight: 900; color: var(--tinte); font-variant-numeric: tabular-nums; }
.quote-card .up, .quote-card .down { font-size: 13.5px; }

.table-wrap { overflow-x: auto; margin-top: 28px; }
.quote-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.quote-table caption { text-align: left; font-weight: 900; font-size: 20px; color: var(--tinte); padding-bottom: 10px; }
.quote-table th, .quote-table td { padding: 12px 10px; border-bottom: 1px solid var(--linie); text-align: left; }
.quote-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--grau); border-bottom: 2px solid var(--tinte); }
.quote-table tbody tr:hover { background: var(--flaeche); }
.quote-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.note { font-size: 13px; color: var(--grau-hell); margin-top: 10px; }

/* Statische Seiten */
.static-page { max-width: 760px; }
.static-page h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; margin-bottom: 24px; }
.static-page .article-body { font-family: var(--sans); font-size: 17px; }
.page-updated { margin-top: 36px; font-size: 13px; color: var(--grau-hell); }

/* 404 */
.not-found { text-align: center; max-width: 620px; margin: 40px auto 20px; }
.error-code { display: block; font-size: 96px; font-weight: 900; color: var(--rot); line-height: 1; letter-spacing: -.04em; }
.not-found h1 { font-size: 30px; font-weight: 900; margin: 12px 0; }
.not-found p { color: var(--grau); margin-bottom: 24px; }
.not-found .search-form { margin: 0 auto 18px; }

/* ---------- Footer ---------- */

.bottom-band { background: var(--nacht); color: #aeb3bf; padding: 48px 0 32px; font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-nav h3 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-nav a { display: block; padding: 4px 0; }
.footer-nav a:hover { color: #fff; }
.footer-nav p { max-width: 280px; }
.rss-link { margin-top: 10px; color: #ff8a93 !important; font-weight: 700; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.footer-base .logo span { color: #fff; font-size: 32px; }
.footer-base .logo b { font-size: 32px; }
.footer-base .logo .domain { color: #aeb3bf; font-size: 14px; }
.footer-note { text-align: right; font-size: 13px; line-height: 1.7; }
.footer-note a { color: #fff; }
.footer-note a:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .department-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .department-grid .context-box { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .department-grid .context-box > small, .department-grid .context-box > h3 { grid-column: 1 / -1; }
  .department-grid .context-box .department-story { border: 0; }
  .reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather { display: none; }
}

@media (max-width: 960px) {
  .news-layout, .article-layout { grid-template-columns: 1fr; }
  .news-layout > aside, .article-aside { position: static; }
  .economy { grid-template-columns: 1fr 1fr; }
  .economy .small-list { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--linie); padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-image img { min-height: 0; aspect-ratio: 16 / 9; }
  .spotlight-copy { padding: 28px 24px; }
  .mega-links { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .slogan { display: none; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .utility .utility-right > span:first-child { display: none; }
  .masthead { padding-top: 14px; padding-bottom: 14px; }
  .logo span, .logo b { font-size: 34px; }
  .edition { display: none; }
  .search-link span { display: none; }
  .search-link { padding: 9px; }

  .nav-shell .wrap { position: static; }
  .main-nav { padding-right: 60px; }
  .main-nav a { padding: 12px 10px 10px; font-size: 14.5px; }
  .menu-btn {
    position: absolute; right: 0; top: 0; bottom: 0; width: 56px; justify-content: center;
    background: var(--tinte); box-shadow: -14px 0 14px var(--tinte);
  }

  .topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .topics::-webkit-scrollbar { display: none; }
  .topics a { white-space: nowrap; }

  .section-heading h1 { font-size: 24px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 4px; }

  .lead-layout { grid-template-columns: 1fr; }
  .cards, .extended-grid, .extended-shortlist, .photo-journal-grid { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .card .image-wrap { margin-bottom: 0; }
  .card .image-tag { display: none; }
  .card h3 { font-size: 16.5px; }
  .department-grid, .economy { grid-template-columns: 1fr; }
  .department-grid .context-box { display: block; }
  .economy .small-list { grid-template-columns: 1fr; }
  .reading-grid { grid-template-columns: 1fr; }
  .weekend { margin-left: -16px; margin-right: -16px; padding: 8px 16px 24px; border-radius: 0; }

  .ticker { flex-wrap: wrap; gap: 0; padding: 0; }
  .ticker-label { width: 100%; padding: 6px 12px; font-size: 10.5px; }
  .ticker p { white-space: normal; font-size: 14px; padding: 10px 12px; }
  .ticker .arrow { display: none; }

  .stream-item { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .stream-item h3 { font-size: 17px; }
  .stream-item p { display: none; }

  .article-body { font-size: 18px; }
  .article-teaser { font-size: 18px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .search-form { flex-direction: column; }
  .search-form button { padding: 12px; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .mega-links { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-note { text-align: left; }
}

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

@media print {
  .utility, .nav-shell, .mega-menu, .market, .article-aside, .article-footer, .related, .bottom-band, .search-link, .header-right { display: none !important; }
  .article-layout { display: block; }
  body { font-size: 12pt; }
}
