/* thx4data.de – Redaktions-Design
   Von Hand gepflegt. Stand: 2026-10-05. */

:root {
  --accent: #ff5630;
  --accent-dark: #b8300c;
  --ink: #1a1a1a;
  --text: #2f2c27;
  --text-soft: #4a463f;
  --meta: #6b665d;
  --paper: #ffffff;
  --panel: #f6f3ec;
  --image: #eee9e0;
  --hover: #faf8f4;
  --line-strong: #d9d4ca;
  --line: #e6e2da;
  --line-soft: #eee9e0;
  --footer: #1a1a1a;
  --footer-text: #e9e5dc;
  --footer-muted: #bdb8ad;
  --footer-dim: #a39e93;
  --footer-line: #3a3833;
  --page: 1200px;
  --article: 760px;
  --wide: 1000px;

  /* Kompatibilität mit seitenspezifischen Altregeln während der Migration. */
  --bg: var(--paper);
  --bg2: var(--panel);
  --bg3: var(--hover);
  --signal: var(--accent);
  --calm: var(--accent-dark);
  --warn: var(--accent-dark);
  --dim: var(--meta);
  --dim2: var(--line-strong);
  --ink-soft: var(--text-soft);
  --pad-x: clamp(20px, 4vw, 24px);
  --pad-y: clamp(48px, 7vw, 72px);
  --type-display: clamp(42px, 8vw, 76px);
  --type-h1: clamp(34px, 5vw, 50px);
  --type-h2: clamp(28px, 4vw, 34px);
  --type-h3: 24px;
  --type-body: 18px;
  --type-small: 14px;
  --type-mono: 14px;
  --card: var(--paper);
  --card2: var(--panel);
  --border: var(--line);
  --border2: var(--line-strong);
  --text2: var(--text-soft);
  --muted: var(--meta);
  --teal: var(--accent-dark);
  --purple: var(--accent-dark);
  --warm: #8a3a16;
  --red: #9a2f20;
  --green: #226246;
  --yellow: #765a00;
  --ki: var(--accent-dark);
}

*, *::before, *::after { box-sizing: border-box; }
body * {
  border-radius: 0 !important;
  box-shadow: none;
  font-family: "Source Sans 3", Arial, sans-serif !important;
}
body::before, body::after { content: none !important; }
h1, h2, h3, blockquote, .site-logo, .lead-title, .article-title,
.stat-n, .foot-sig, .big-quote blockquote, .page-title {
  font-family: "Source Serif 4", Georgia, serif !important;
}
html { margin: 0; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: break-word;
  overflow-x: clip;
}
body.page-artikel { font-size: 18px; line-height: 1.65; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}
::selection { background: var(--accent); color: var(--ink); }
h1, h2, h3, blockquote { text-wrap: pretty; }

/* Gemeinsame Kopfzeile */
.topbar {
  position: relative;
  z-index: 50;
  display: block;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  backdrop-filter: none;
}
.topbar-main {
  width: min(100%, var(--page));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.site-logo .logo-four { color: var(--accent); }
.site-logo .logo-tld { color: var(--meta); font-weight: 400; }
.topbar-tools { display: flex; align-items: center; gap: 4px; }
.search-link, .lang-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.lang-switch { gap: 6px; font-size: 15px; }
.lang-switch a, .lang-switch .lang-active {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.lang-switch .lang-active { color: var(--accent-dark); }
.lang-switch .lang-sep { color: var(--line-strong); }
.menu-btn {
  width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}
.menu-btn::before, .menu-btn::after, .menu-btn .menu-line {
  content: "";
  width: 100%;
  height: 2px;
  flex: 0 0 2px;
  display: block;
  background: var(--ink);
}
.menu-btn::after { width: 60%; }
.hub-bar { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.hub-nav {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}
.hub-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.hub-nav a:hover { border-bottom-color: var(--accent); }
.hub-nav a[aria-current="page"] { color: var(--accent-dark); border-bottom-color: var(--accent); }
.mnav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  width: 100%;
  padding: 12px max(24px, calc((100% - var(--page)) / 2 + 24px)) 20px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 12px 24px rgba(0,0,0,.08) !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0 32px;
}
.mnav[data-open="0"] { display: none; }
.mnav[data-open="1"] { display: grid; }
.mnav a {
  min-height: 48px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mnav a:hover { color: var(--accent-dark); }
.mnav a span { color: var(--meta); font-size: 14px; font-weight: 400; }
/* Aufklappmenues je Rubrik, gebaut von js/menu.js (06.10.2026) */
.mnav { align-items: start; }
.mnav-gruppe { min-width: 0; }
.mnav a > span { white-space: nowrap; }
.mnav a[aria-expanded] > span::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .15s;
}
.mnav a[aria-expanded="true"] { color: var(--accent-dark); }
.mnav a[aria-expanded="true"] > span::after { transform: translateY(1px) rotate(225deg); }
.mnav-sub { display: grid; margin: 4px 0 8px; padding-left: 14px; border-left: 2px solid var(--accent); }
.mnav-sub[hidden] { display: none; }
.mnav .mnav-sub a {
  min-height: 44px;
  padding: 9px 0;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.mnav .mnav-sub a[aria-current="page"] { color: var(--accent-dark); font-weight: 600; }
.mnav .mnav-sub a.mnav-alle { color: var(--accent-dark); font-weight: 600; border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .mnav a[aria-expanded] > span::after { transition: none; } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: transparent; }
.progress i { display: block; width: 0; height: 100%; background: var(--accent); }

/* Startseite */
.home-main { width: min(100%, var(--page)); margin: 0 auto; padding: 40px 24px 0; }
.lead-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: start;
}
.lead-story {
  display: block;
  color: var(--ink);
}
.lead-copy { flex: 1 1 320px; min-width: 0; padding-top: 16px; border-top: 3px solid var(--accent); }
.story-topic { display: block; color: var(--accent-dark); font-weight: 700; }
.lead-title {
  margin: 12px 0 14px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.story-teaser { margin: 0; color: var(--text); text-wrap: pretty; }
.story-date { display: block; margin-top: 14px; color: var(--meta); font-size: 15px; }
.story-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
}
.story-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border-top: 3px solid var(--ink);
  padding-top: 16px;
}
.story-copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 0; color: var(--ink); }
/* Kennzeichnung der neuesten Recherche, immer auf der linken Karte (11.10.2026) */
.story-badge { align-self: flex-start; padding: 3px 9px; background: var(--accent-dark); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase; }
.story-card:hover .story-copy, .more-item:hover { background: var(--hover); }
.story-card h2 { margin: 0; font: 700 22px/1.2 "Source Serif 4", Georgia, serif; }
.story-card p { margin: 0; color: var(--text); font-size: 16px; }
.story-figure { margin: 0; min-width: 0; }
.story-figure > a { display: block; overflow: hidden; background: #ddd8ce; }
.story-figure img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s ease; }
.story-figure--contain img { padding: 8px; object-fit: contain; background: #fff; }
.story-figure > a:hover img { transform: scale(1.015); }
.story-figure figcaption { min-height: 34px; padding: 7px 0 8px; color: var(--meta); font-size: 11px; line-height: 1.35; }
.story-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-figure img { aspect-ratio: 16 / 9; }
.lead-figure figcaption { min-height: 0; }
.more-research { margin-top: 64px; padding-top: 16px; border-top: 2px solid var(--ink); }
.section-heading { margin-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.section-heading h2 { margin: 0; font: 700 26px/1.2 "Source Serif 4", Georgia, serif; }
.section-heading a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 40px; }
.more-item { min-width: 0; padding: 20px 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink); border-top: 1px solid var(--line); }
.more-item h3 { margin: 0; font: 700 20px/1.25 "Source Serif 4", Georgia, serif; }
.more-item p { margin: 0; color: var(--text); font-size: 16px; }
.browser-audit { max-width: var(--article); margin: 56px 0; padding: 24px; background: var(--panel); border-left: 4px solid var(--accent); }
.browser-audit h2 { margin: 0 0 8px; font: 700 22px/1.25 "Source Serif 4", Georgia, serif; }
.browser-audit .audit-intro { margin: 0 0 18px; color: var(--text-soft); }
.audit-toggle { margin-top: 16px; }
.audit-btn { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--accent-dark); font-weight: 700; }
.audit-btn::marker { color: var(--accent-dark); }
.audit-list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line-strong); }
.audit-list li { padding: 8px 0; display: grid; grid-template-columns: minmax(110px, 150px) 1fr; gap: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.audit-list .ak { color: var(--accent-dark); font-weight: 600; }
.audit-list .av { min-width: 0; color: var(--text); word-break: break-word; }
.audit-foot { margin: 0; color: var(--meta); font-size: 14px; }

/* Themen-Hubs */
.page-hub .hero {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 48px 24px 32px;
}
.page-hub .hero-frame { max-width: 900px; }
.page-hub .topic-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}
.page-hub .topic-tag .emoji, .page-hub .title-row .emoji { display: none; }
.page-hub .topic-tag .count { color: var(--meta); font-weight: 500; }
.page-hub .hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  color: var(--ink);
  font: 700 clamp(38px, 6vw, 64px)/1.02 "Source Serif 4", Georgia, serif;
  letter-spacing: -.02em;
}
.page-hub .hero .uline { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 5px; text-underline-offset: 7px; }
.page-hub .hero .lead { max-width: 760px; margin: 0; color: var(--text); font-size: 21px; line-height: 1.5; }
.page-hub .intro-card { max-width: 760px; margin-top: 24px; padding: 18px 22px; background: var(--panel); border-left: 4px solid var(--accent); }
.page-hub .hub-hero-figure { max-width: 900px; margin: 30px 0 0; }
.page-hub .hub-hero-figure img,
.page-hub .hub-card-figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.page-hub .hub-hero-figure img { aspect-ratio: 2 / 1; border-top: 3px solid var(--ink); }
.page-hub .hub-hero-figure figcaption,
.page-hub .hub-card-figure figcaption { padding-top: 7px; color: var(--meta); font-size: 12px; line-height: 1.4; }
.page-hub .hub-hero-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.page-hub .articles { width: min(100%, var(--page)); margin: 0 auto; padding: 16px 24px 56px; }
.page-hub .articles .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 36px 40px; }
.page-hub .article {
  min-width: 0;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  border-top: 3px solid var(--ink);
}
.page-hub .hub-card-figure { margin: 16px 0 18px; }
.page-hub .hub-card-figure img { height: auto; aspect-ratio: 16 / 9; border-top: 2px solid var(--ink); }
.page-hub .article:hover { background: var(--hover); }
.page-hub .row-top, .page-hub .row-bot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.page-hub .type-tag, .page-hub .category { color: var(--accent-dark); font-size: 14px; font-weight: 700; }
.page-hub .date, .page-hub .go { color: var(--meta); font-size: 14px; }
.page-hub .title-row h3 { margin: 0; font: 700 24px/1.2 "Source Serif 4", Georgia, serif; }
.page-hub .article .desc { margin: 0; color: var(--text); font-size: 16px; }
.page-hub .article.coming { opacity: .72; }
.page-hub .filters { width: min(100%, var(--page)); margin: 0 auto; padding: 0 24px 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.page-hub .chip { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); }
.page-hub .chip.on { border-color: var(--accent); }

/* Ältere englische Inhaltsstruktur unter dem gemeinsamen Design */
.back-nav { display: none !important; }
.wrap { width: min(100%, var(--article)); margin-inline: auto; padding-inline: 24px; }
.wrap-wide { width: min(100%, var(--wide)); margin-inline: auto; padding-inline: 24px; }
.article-header, .page-header, .guide-header {
  max-width: var(--article);
  margin: 0 auto;
  padding: 36px 24px 0;
  background: transparent;
  color: var(--ink);
  border: 0;
}
.article-header .article-tag, .article-header .article-tag-row, .page-tag, .category-tag, .section-label {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}
.section-chapter, .section-label, .article-tag, .page-tag, .category-tag,
.toc-title, .sources-title, .back-to-top, .data-tag, .meta-tag {
  color: var(--accent-dark) !important;
}
.article-header .article-title, .page-header .page-title, .guide-header h1 {
  margin: 10px 0 18px;
  color: var(--ink);
  font: 700 clamp(34px, 5vw, 50px)/1.1 "Source Serif 4", Georgia, serif;
  letter-spacing: -.015em;
}
.article-header .article-lead, .page-header .page-lead { margin: 0 0 20px; color: var(--text); font-size: 21px; line-height: 1.5; }
.article-header .article-meta, .page-header .article-meta { color: var(--meta); border-color: var(--line-strong); }
.article-body, main.article-body, .content, main.content, .wrap:not(.head-wrap), .wrap-wide {
  color: var(--text);
}
body.page-artikel > main:not(.home-main), body.page-artikel > .content {
  max-width: var(--article);
  margin-inline: auto;
}
.article-body .section, .article-body .section-chapter, .content .section, .wrap .section { max-width: 100%; }
.section-title, .section h2, .section-chapter h2 {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
}
.quick-facts, .highlight-box, .stat-box, .qf-card, .danger-card, .risk-card {
  background: var(--panel);
  color: var(--text);
  border-color: var(--line-strong);
  border-radius: 0;
}
.qf-val, .stat-val, .data-val { color: var(--ink); }
.warn, .warn-red, .highlight, .badge, .meta-tag, .data-tag, .card-tag { border-radius: 0; }
.blockquote, blockquote.blockquote { color: var(--ink); border-color: var(--accent); }
.sources-section, .sources-list {
  max-width: var(--article);
  margin-inline: auto;
  color: var(--text);
}
.sources-section { padding: 56px 24px 24px; }
.sources-list .source-item, .sources-section .source-item { background: transparent; border-color: var(--line-strong); border-radius: 0; }
.source-content, .source-desc, .source-name, .source-title { color: var(--text); }
.source-link { color: var(--accent-dark); }
.tooltip, .tooltiptext { color: inherit; }
.tooltiptext { background: var(--ink); color: var(--footer-text); }

/* Die alte EN-Fußzeile bleibt als Fallback lesbar; neue Seiten nutzen footer.site. */
body > footer:not(.site) { margin-top: 56px; padding: 32px 24px; background: var(--footer); color: var(--footer-text); }
body > footer:not(.site) a { color: var(--footer-text); }

/* Artikel */
.crumbs { display: none; }
.article-head { padding: 28px 24px 0; }
.head-wrap { max-width: var(--article); margin: 0 auto; }
.topic-row { color: var(--accent-dark); font-size: 16px; font-weight: 700; }
.topic-row .topic a { color: inherit; }
.article-title {
  margin: 10px 0 20px;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.article-title .hl { color: inherit; }
.article-deck { margin: 0 0 20px; color: var(--text); font-size: 21px; line-height: 1.5; text-wrap: pretty; }
.editorial-figure { --figure-ratio: 3 / 2; margin: 24px 0 32px; }
.editorial-figure--hero { --figure-ratio: 2 / 1; margin: 28px 0 24px; }
.editorial-figure--wide { --figure-ratio: 16 / 9; }
.editorial-figure--banner { --figure-ratio: 575 / 180; }
.editorial-figure__media { overflow: hidden; aspect-ratio: var(--figure-ratio); background: var(--panel); border-top: 3px solid var(--ink); }
.editorial-figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.editorial-figure figcaption { padding-top: 8px; color: var(--meta); font-size: 13px; line-height: 1.45; }
.editorial-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.article-meta { padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--meta); font-size: 15px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.article-meta .spacer { flex: 1; }
.share-btn { min-height: 44px; margin: -10px 0; padding: 0 8px; border: 0; background: transparent; color: var(--accent-dark); cursor: pointer; font-weight: 600; }
/* Autorenzeile, auf allen Artikeln seit 11.10.2026 (Vorbild Starlink).
   Umschliesst die article-meta; das Foto braucht !important gegen body * { border-radius: 0 }. */
.article-byline { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.article-author-photo { display: block; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50% !important; object-fit: cover; object-position: center; }
.article-byline-details { flex: 1; min-width: 0; }
.article-author-name { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.article-byline .article-meta { padding: 3px 0 0; border: 0; font-size: 14px; line-height: 1.5; }
.article-byline-details > .share-btn { margin-top: 4px; }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 3px 10px; color: var(--text-soft); border: 1px solid #cfc9bd; border-radius: 0; font-size: 14px; }
.stats { max-width: var(--wide); margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; }
.stat { padding: 16px 20px 16px 0; border-top: 3px solid var(--accent); }
.stat-n { font: 700 36px/1.1 "Source Serif 4", Georgia, serif; }
.stat-l { margin-top: 6px; color: var(--text-soft); font-size: 15px; line-height: 1.4; }
.article-body { max-width: var(--article); margin: 40px auto 0; padding: 0 24px; display: block; }
.toc { width: auto; position: static; margin: 0 0 24px; padding: 20px 24px; background: var(--panel); border: 0; border-top: 3px solid var(--ink); }
.toc h4 { margin: 0 0 6px; font-size: 16px; }
.toc ol { margin: 0; padding-left: 22px; line-height: 1.8; }
.toc a { color: var(--accent-dark); }
.prose { min-width: 0; max-width: none; }
.prose p { margin: 0 0 1.1em; }
.prose .lead-para { font-size: 20px; color: var(--text); }
.section-tag { display: block; margin-top: 56px; color: var(--accent-dark); font-size: 14px; font-weight: 700; }
.prose h2 {
  margin: 6px 0 20px;
  padding-top: 14px;
  color: var(--ink);
  font: 700 32px/1.2 "Source Serif 4", Georgia, serif;
  border-top: 3px solid var(--ink);
}
.prose h2 .num { margin-right: .3em; color: inherit; }
.prose h3 { margin: 32px 0 12px; font: 700 24px/1.25 "Source Serif 4", Georgia, serif; }
.prose h4 { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose table, article table, main table { display: block; max-width: 100%; overflow-x: auto; }
pre, code { max-width: 100%; overflow-x: auto; }
iframe { max-width: 100%; }
.info-box, .warn-box, .explain-box, .conclusion-box {
  margin: 28px 0;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: var(--panel);
  border: 0;
  border-left: 4px solid var(--accent);
  border-radius: 0;
}
.conclusion-box { display: block; border-left: 0; border-top: 3px solid var(--ink); }
.info-box .icon, .warn-box .icon { color: var(--accent-dark); font-weight: 700; }
/* Kaesten ohne Symbol (Etikett + Text) nicht zweispaltig setzen, sonst landet das Etikett
   in der schmalen Symbolspalte (12.10.2026) */
.info-box:not(:has(> .icon)), .warn-box:not(:has(> .icon)) { display: block; }
.info-box h4, .warn-box h4, .conclusion-box h3 { margin: 0 0 8px; font: 700 21px/1.25 "Source Serif 4", Georgia, serif; }
.info-box p, .warn-box p, .conclusion-box p { margin: 0; }
.big-quote { margin: 28px 0; padding-left: 24px; border-left: 3px solid var(--ink); }
.big-quote blockquote { margin: 0; font: 400 22px/1.4 "Source Serif 4", Georgia, serif; }
.big-quote cite { display: block; margin-top: 8px; color: var(--meta); font-size: 15px; font-style: normal; }
.tldr { margin: 0 0 32px; padding: 20px 24px; background: var(--panel); border-left: 4px solid var(--accent); }
.tldr-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.tldr-badge { color: var(--ink); font-weight: 700; }
.tldr-note { color: var(--meta); font-size: 15px; }
.tldr-foot { padding-top: 12px; border-top: 1px solid var(--line-strong); color: var(--text-soft); font-size: 15px; }
.cursor, .dots, .terminal-line { display: none !important; }

/* Bestehende artikelbezogene Sonderbausteine */
.podcast-banner { margin: 0 0 32px; padding: 18px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line-strong); background: var(--paper); }
.podcast-icon-wrap { display: none; }
.podcast-label { color: var(--accent-dark); font-size: 14px; font-weight: 700; }
.podcast-title { font: 700 22px/1.2 "Source Serif 4", Georgia, serif; }
.podcast-sub { color: var(--text-soft); font-size: 16px; }
.podcast-btns { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.podcast-btn { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent-dark); font-weight: 600; }
.podcast-btn span { display: none; }
.product-grid, .people-grid, .verdict-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px 32px; }
.prod-card, .person-card, .verdict-card { padding: 16px 0; background: transparent; border: 0; border-top: 3px solid var(--ink); border-radius: 0; }
.prod-card h4, .person-card h4, .verdict-title { color: var(--ink); }
.prod-card .prod-tag, .state-status, .tl-date { color: var(--accent-dark); }
.state-list, .client-list { border: 0; }
.state-row, .client-item { padding: 16px 0; background: transparent; border: 0; border-top: 1px solid var(--line-strong); }
.cap-table { overflow-x: auto; }
.cap-head, .cap-row { min-width: 560px; color: var(--ink); background: transparent; border-color: var(--line-strong); }
.tl-item { display: grid; grid-template-columns: minmax(0,110px) minmax(0,1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-strong); }
.verdict-con { border-top-color: var(--accent); }
.verdict-item { color: var(--text); }

/* Quellen und Empfehlungen */
.sources, .sources-wrap { max-width: var(--article); margin: 0 auto; }
.sources { padding: 64px 24px 24px; }
.sources-wrap { padding: 0; }
.sources-head .eyebrow, .sources-title { color: var(--accent-dark); font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.sources-head h2, .sources-title h2 { margin: 6px 0 20px; padding-top: 14px; font: 700 32px/1.2 "Source Serif 4", Georgia, serif; border-top: 3px solid var(--ink); }
.sources-grid { display: block; }
.source-item { padding: 14px 0; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 8px; color: var(--ink); border-top: 1px solid var(--line-strong); font-size: 16px; line-height: 1.45; }
.source-item:hover { background: var(--hover); }
.source-num { color: var(--accent-dark); font-weight: 700; }
.source-body h4 { margin: 0; color: var(--ink); font-size: 16px; }
.source-body p { margin: 2px 0; color: var(--text-soft); }
.source-body .url { color: var(--meta); font-size: 14px; }
.next-up { max-width: var(--page); margin: 56px auto 0; padding: 24px; border-top: 2px solid var(--ink); }

/* Glossar */
.tooltip-term { position: relative; border-bottom: 1px dotted var(--accent-dark); cursor: help; }
.tooltip-bubble { display: none; position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 100; width: min(320px, calc(100vw - 32px)); padding: 14px; transform: translateX(-50%); background: var(--ink); color: var(--footer-text); font-size: 14px; line-height: 1.45; }
.tooltip-term.active .tooltip-bubble { display: block; }
.tt-title { display: block; margin-bottom: 4px; color: #fff; font-weight: 700; }
.tt-text { display: block; }

/* Eltern-Guides (eltern-*.html), 11.10.2026.
   Ersetzt die Einzelregeln aus dem alten dunklen Design, die jede Seite im <style>-Block trug.
   Zwei Bauarten: A (TikTok, Instagram, Snapchat) mit Alters-Reitern, Gefahrenkarten, Schritten
   und Aufklapp-Fragen; B (YouTube, Roblox, Minecraft, Fortnite) mit Risikokarten, aufklappbaren
   Schritten, Umgehungs-Kasten und Recherche-Verweis. Die Zustaende .active und .open setzt das
   Skript der Seite. */
.page-guide .prose .wrap { display: block; width: auto; max-width: none; margin: 0; padding: 0; }
.page-guide .info-box:has(> .info-icon) { display: block; }
.page-guide .danger-icon, .page-guide .info-icon, .page-guide .risk-icon, .page-guide .pill-icon, .page-guide .research-link-icon { display: none; }

/* Hinweis- und Kennzeichenzeile */
.page-guide .eltern-tipp-pill { display: flex; gap: 10px; margin: 0 0 16px; padding: 14px 18px; background: var(--panel); border-left: 4px solid var(--accent); color: var(--text); font-size: 17px; line-height: 1.55; }
.page-guide .eltern-tipp-pill strong { color: var(--ink); }
.page-guide .header-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.page-guide .meta-pill { padding: 4px 10px; border: 1px solid var(--line-strong); color: var(--text-soft); font-size: 14px; font-weight: 600; line-height: 1.4; }
.page-guide .meta-pill.danger { color: var(--accent-dark); border-color: var(--accent-dark); }
.page-guide .meta-pill.warn { color: var(--warm); border-color: #d9b9a6; }

/* Zwischentitel der Guide-Abschnitte */
.page-guide .prose .steps-title, .page-guide .prose .guide-header { font-family: "Source Serif 4", Georgia, serif !important; margin: 44px 0 16px; padding-top: 14px; border-top: 2px solid var(--ink); color: var(--ink); font: 700 22px/1.25 "Source Serif 4", Georgia, serif; letter-spacing: 0; text-transform: none; }

/* Alters-Reiter */
.page-guide .age-hint { margin: 32px 0 10px; color: var(--meta); font-size: 15px; }
.page-guide .age-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 32px; border: 1px solid var(--ink); }
.page-guide .age-tab { min-height: 64px; padding: 14px 10px; border: 0; border-left: 1px solid var(--ink); background: var(--paper); color: var(--ink); text-align: center; cursor: pointer; }
.page-guide .age-tab:first-child { border-left: 0; }
.page-guide .age-tab:hover { background: var(--hover); }
.page-guide .age-tab.active { background: var(--ink); color: #fff; outline: 0; }
.page-guide .age-tab-label { font-size: 18px; font-weight: 700; line-height: 1.25; }
.page-guide .age-tab-sub { margin-top: 2px; color: var(--meta); font-size: 14px; }
.page-guide .age-tab.active .age-tab-label, .page-guide .age-tab.active .age-tab-sub { color: #fff; }
.page-guide .age-content { display: none; }
.page-guide .age-content.active { display: block; }

/* Gefahren- und Risikokarten */
.page-guide .danger-grid, .page-guide .risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 24px 0 32px; }
.page-guide .danger-card, .page-guide .risk-card { padding: 16px 18px 18px; background: var(--panel); border: 0; border-top: 3px solid var(--line-strong); }
.page-guide .danger-card.high, .page-guide .risk-card:has(.risk-level.high) { border-top-color: var(--accent); }
.page-guide .danger-card.mid, .page-guide .risk-card:has(.risk-level.mid) { border-top-color: #c98a5e; }
.page-guide .danger-title { margin: 0 0 6px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.page-guide .danger-title.red { color: var(--accent-dark); }
.page-guide .danger-title.warm { color: var(--warm); }
.page-guide .danger-desc { color: var(--text); font-size: 16px; line-height: 1.55; }
.page-guide .risk-level { margin-bottom: 4px; color: var(--meta); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.page-guide .risk-level.high { color: var(--accent-dark); }
.page-guide .risk-level.mid { color: var(--warm); }
.page-guide .risk-label { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; }

/* Schritte, Bauart A: immer offen */
.page-guide .prose .step { display: flex; gap: 16px; margin: 0; padding: 18px 0; background: transparent; border: 0; border-top: 1px solid var(--line-strong); }
.page-guide .step-num { width: 34px; height: 34px; flex: 0 0 34px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 0; font-size: 16px; font-weight: 700; }
.page-guide .step-body { flex: 1; min-width: 0; }
.page-guide .step-title { margin: 3px 0 6px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.page-guide .step-desc, .page-guide .step-body p { margin: 0 0 10px; color: var(--text); font-size: 17px; line-height: 1.6; }
.page-guide .step-path { display: inline-block; margin-top: 2px; padding: 6px 12px; background: var(--panel); border: 0; border-left: 3px solid var(--accent); color: var(--ink); font-size: 15px; line-height: 1.45; }

/* Schritte, Bauart B: aufklappbar */
.page-guide .steps-list { display: block; margin: 0 0 40px; border-bottom: 1px solid var(--line-strong); }
.page-guide .steps-list .step { display: block; padding: 0; cursor: pointer; }
.page-guide .step-header { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; }
.page-guide .step-header .step-title { flex: 1; margin: 0; }
.page-guide .step-chevron { flex: 0 0 auto; color: var(--accent-dark); font-size: 18px; transition: transform .2s; }
.page-guide .steps-list .step-body { display: none; padding: 0 0 18px 50px; }
.page-guide .steps-list .step.open .step-body { display: block; }
.page-guide .steps-list .step.open .step-chevron { transform: rotate(180deg); }

/* Aufklapp-Fragen, Bauart A */
.page-guide .acc-item { margin: 0; border: 0; border-top: 1px solid var(--line-strong); }
.page-guide .acc-item:last-of-type { border-bottom: 1px solid var(--line-strong); }
.page-guide .acc-header { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; background: transparent; border: 0; color: var(--ink); text-align: left; cursor: pointer; }
.page-guide .acc-header:hover { background: transparent; color: var(--accent-dark); }
.page-guide .acc-label { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.page-guide .acc-arrow { color: var(--accent-dark); font-size: 18px; }
.page-guide .acc-body { display: none; padding: 0 0 18px; background: transparent; color: var(--text); font-size: 17px; line-height: 1.6; }
.page-guide .acc-body strong { color: var(--ink); }
.page-guide .acc-body ul { margin: 6px 0 0; padding-left: 20px; }
.page-guide .acc-body li { margin-bottom: 6px; }
.page-guide .acc-item.open .acc-body { display: block; }

/* Kasten: so umgehen Kinder die Sicherungen */
.page-guide .bypass-box { margin: 8px 0 40px; padding: 20px 24px; background: var(--panel); border: 0; border-left: 4px solid var(--accent-dark); }
.page-guide .bypass-title { margin: 0 0 12px; color: var(--accent-dark); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.page-guide .bypass-item { display: flex; gap: 12px; margin: 0 0 10px; color: var(--text); font-size: 17px; line-height: 1.55; }
.page-guide .bypass-item::before { content: "!"; flex: 0 0 auto; color: var(--accent-dark); font-weight: 700; }
.page-guide .bypass-item:last-child { margin-bottom: 0; }

/* Ausgaben-Kasten (Minecraft) */
.page-guide .edition-box { margin: 24px 0; padding: 18px 20px; background: var(--panel); border: 0; border-top: 3px solid var(--ink); color: var(--text); font-size: 17px; line-height: 1.55; }
.page-guide .edition-box strong { color: var(--ink); }
.page-guide .edition-box-title { margin-bottom: 8px; color: var(--meta); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Verweise: Recherche, Doku, zurueck zum Artikel */
.page-guide .research-link, .page-guide .arte-banner { display: flex; align-items: center; gap: 16px; margin: 32px 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line-strong); border-top: 3px solid var(--ink); color: var(--ink); text-decoration: none; }
.page-guide .research-link:hover, .page-guide .arte-banner:hover { background: var(--hover); }
.page-guide .research-link-text, .page-guide .arte-text { flex: 1; min-width: 0; }
.page-guide .research-link-label, .page-guide .arte-label { margin-bottom: 4px; color: var(--meta); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.page-guide .research-link-title, .page-guide .arte-title { color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.3; }
.page-guide .research-link-desc, .page-guide .arte-sub { margin-top: 4px; color: var(--text-soft); font-size: 15px; line-height: 1.5; }
.page-guide .research-link-arrow, .page-guide .arte-arrow { flex: 0 0 auto; color: var(--accent-dark); font-size: 22px; }
.page-guide .arte-play { width: 44px; height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 0; font-size: 16px; }
.page-guide .link-back { display: inline-flex; align-items: center; min-height: 44px; margin: 32px 0 0; padding: 10px 16px; border: 1px solid var(--line-strong); color: var(--accent-dark); font-size: 16px; font-weight: 700; text-decoration: none; }
.page-guide .link-back:hover { background: var(--hover); }

/* Eltern-Tipp als Kasten (Roblox-Infobox) */
.page-guide .eltern-tipp-box { margin: 0 0 16px; padding: 14px 18px; background: var(--panel); border-left: 4px solid var(--accent); }
.page-guide .eltern-tipp-label { margin-bottom: 4px; color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.page-guide .eltern-tipp-text { color: var(--text); font-size: 17px; line-height: 1.55; }
.page-guide .eltern-tipp-text strong { color: var(--ink); }
.page-guide .title-row { display: block; }

@media (max-width: 480px) {
  .page-guide .age-tab { padding: 12px 6px; }
  .page-guide .age-tab-label { font-size: 16px; }
  .page-guide .age-tab-sub { font-size: 13px; }
  .page-guide .steps-list .step-body { padding-left: 0; }
  .page-guide .bypass-box { padding: 18px; }
}

/* Footer */
.site { margin-top: 56px; background: var(--footer); color: var(--footer-text); }
.foot-top { width: min(100%, var(--page)); margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.foot-sig { font: 700 22px/1 "Source Serif 4", Georgia, serif; }
.foot-sig b { color: var(--accent); }
.foot-blurb { margin: 10px 0 0; color: var(--footer-muted); font-size: 15px; }
.foot-col h4 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { min-height: 44px; display: inline-flex; align-items: center; color: var(--footer-text); font-size: 15px; }
.foot-col a:hover { color: var(--accent); }
.foot-bot { width: min(100%, var(--page)); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--footer-dim); font-size: 14px; border-top: 1px solid var(--footer-line); }

@media (max-width: 760px) {
  .topbar-main { padding-inline: 16px; }
  .search-link { padding-inline: 8px; }
  .hub-nav { padding-inline: 16px; gap: 0 20px; }
  .hub-nav a { font-size: 15px; }
  .home-main { padding: 28px 16px 0; }
  .article-head { padding-inline: 16px; }
  .article-body, .sources { padding-inline: 16px; }
  .article-deck { font-size: 19px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .toc { padding: 18px; }
  .prose h2 { font-size: 28px; }
  .audit-list li { grid-template-columns: 108px minmax(0,1fr); gap: 10px; }
  .foot-top { padding: 36px 16px; }
  .foot-bot { padding: 16px; }
  .podcast-banner { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  .site-logo { font-size: 30px; }
  .lang-switch { padding-inline: 4px; }
  .hub-nav { gap: 0 16px; }
  .story-grid { grid-template-columns: 1fr; }
  .lead-feature { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: 1fr; }
  .article-meta .spacer { display: none; }
  .share-btn { width: 100%; justify-content: flex-start; margin: 0; padding: 0; text-align: left; }
  .info-box, .warn-box { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Mobil: Ueberlauf durch Altbausteine verhindern (Mobiltest 06.10.2026) */
.time-content { min-width: 0; }
@media (max-width: 700px) {
  body .tooltip .tooltiptext { position: fixed; left: 16px; right: 16px; bottom: 16px; top: auto; width: auto; margin-left: 0; }
  body .tooltip .tooltiptext::after { display: none; }
  body table { display: block; max-width: 100%; overflow-x: auto; }
}
/* Lange Woerter in Ueberschriften auf dem Handy trennen (Mobiltest 06.10.2026) */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Startseite: Kopf mit Claim (Wunsch des Betreibers, 06.10.2026) */
.home-hero { padding: 8px 0 40px; border-bottom: 1px solid var(--line, #d9d4ca); margin-bottom: 40px; }
.home-hero h1 { margin: 0 0 18px; color: var(--ink); font: 700 clamp(44px, 8vw, 84px)/1.0 "Source Serif 4", Georgia, serif; letter-spacing: -.025em; }
.home-hero .uline { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.home-hero .lead { max-width: 760px; margin: 0; color: var(--text); font-size: 21px; line-height: 1.5; }

/* "Die Schlagzeile" (07.10.2026, Plan in SCHLAGZEILE-PLAN.md).
   Startseite: js/menu.js fuellt #schlagzeile, solange die neueste Meldung
   juenger als 48 Stunden ist, und setzt dann .mit-sz an .home-hero. Ohne
   aktuelle Schlagzeile bleibt alles wie vorher. Variante B: am Rechner
   rechts neben der Ueberschrift, am Handy darunter mit Flaeche. */
.schlagzeile[hidden] { display: none; }
.schlagzeile { min-width: 0; }
.sz-kennung { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); }
.sz-marke { color: var(--accent-dark); }
.sz-titel { margin: 0 0 10px; font: 700 clamp(24px, 3vw, 30px)/1.2 "Source Serif 4", Georgia, serif; color: var(--ink); text-wrap: balance; }
.sz-text { margin: 0; color: var(--text); font-size: 18px; line-height: 1.55; }
.sz-text a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.sz-weiter { margin: 12px 0 0; font-size: 16px; font-weight: 700; }
.sz-weiter a { color: var(--accent-dark); }
.home-hero.mit-sz { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.home-hero.mit-sz .schlagzeile { padding: 4px 0 4px 26px; border-left: 4px solid var(--accent); }
@media (max-width: 860px) {
  .home-hero.mit-sz { grid-template-columns: 1fr; gap: 28px; }
  .home-hero.mit-sz .schlagzeile { padding: 20px 20px 22px; background: var(--panel); border-left: 0; border-top: 4px solid var(--accent); }
}
/* Archivseite schlagzeilen.html */
.sz-archiv .sz-eintrag { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.sz-archiv .sz-eintrag:first-child { border-top: 0; padding-top: 0; }
.sz-archiv .sz-titel { margin-top: 0; }
.sz-archiv .sz-quellen, .sz-archiv .sz-mehr { font-size: 16px; color: var(--meta); }
.sz-archiv .sz-eintrag:target { background: var(--panel); box-shadow: -16px 0 0 var(--panel), 16px 0 0 var(--panel); }
