/* Der Framer — Dark Magazine Prototype (v2)
   Light theme via [data-theme="light"]; v1 backup: style-v1-light.css */

:root {
  --bg: #07090d;
  --bg-elevated: #12151c;
  --bg-subtle: #0c0f14;
  --bg-card: #0f1319;
  --text: #f2f4f8;
  --text-muted: #8b95a8;
  --border: #242a36;
  --border-strong: #3a4254;
  --accent: #3dffc0;
  --accent-hover: #6fffd0;
  --accent-soft: rgba(61, 255, 192, 0.12);
  --accent-ring: rgba(61, 255, 192, 0.4);
  --accent-ink: #06140f;
  --lead-bg: #05070a;
  --lead-text: #f2f4f8;
  --nav-bg: rgba(7, 9, 13, 0.92);
  --nav-text: #f2f4f8;
  --nav-border: #1c212c;
  --footer-bg: #040508;
  --footer-text: rgba(242, 244, 248, 0.58);
  --footer-heading: #ffffff;
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(61, 255, 192, 0.06);
  --font-serif: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1280px;
  --rail-width: 240px;
  --container-pad-x: 1.5rem;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --focus: 2px solid var(--accent);
  --positive: #3dffc0;
  --positive-bg: #3dffc0;
  --positive-fg: #06140f;
  --positive-border: rgba(61, 255, 192, 0.55);
  --positive-soft: rgba(61, 255, 192, 0.06);
  --neutral: #94a3b8;
  --neutral-bg: #64748b;
  --neutral-fg: #ffffff;
  --neutral-border: rgba(148, 163, 184, 0.45);
  --neutral-soft: rgba(148, 163, 184, 0.06);
  --critical: #ff4d9a;
  --critical-bg: #ff4d9a;
  --critical-fg: #ffffff;
  --critical-border: rgba(255, 77, 154, 0.55);
  --critical-soft: rgba(255, 77, 154, 0.06);
  --header-blur: blur(14px) saturate(1.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tag-radius: 999px;
}

[data-theme="dark"] {
  --bg: #07090d;
  --bg-elevated: #12151c;
  --bg-subtle: #0c0f14;
  --bg-card: #0f1319;
  --text: #f2f4f8;
  --text-muted: #8b95a8;
  --border: #242a36;
  --border-strong: #3a4254;
  --accent: #3dffc0;
  --accent-hover: #6fffd0;
  --accent-soft: rgba(61, 255, 192, 0.12);
  --accent-ring: rgba(61, 255, 192, 0.4);
  --accent-ink: #06140f;
  --lead-bg: #05070a;
  --lead-text: #f2f4f8;
  --nav-bg: rgba(7, 9, 13, 0.92);
  --nav-text: #f2f4f8;
  --nav-border: #1c212c;
  --footer-bg: #040508;
  --footer-text: rgba(242, 244, 248, 0.58);
  --footer-heading: #ffffff;
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(61, 255, 192, 0.06);
  --positive: #3dffc0;
  --positive-bg: #3dffc0;
  --positive-fg: #06140f;
  --positive-border: rgba(61, 255, 192, 0.55);
  --positive-soft: rgba(61, 255, 192, 0.06);
  --neutral: #94a3b8;
  --neutral-bg: #64748b;
  --neutral-fg: #ffffff;
  --neutral-border: rgba(148, 163, 184, 0.45);
  --neutral-soft: rgba(148, 163, 184, 0.06);
  --critical: #ff4d9a;
  --critical-bg: #ff4d9a;
  --critical-fg: #ffffff;
  --critical-border: rgba(255, 77, 154, 0.55);
  --critical-soft: rgba(255, 77, 154, 0.06);
}

[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-elevated: #ffffff;
  --bg-subtle: #eef1f8;
  --bg-card: #ffffff;
  --text: #0f1222;
  --text-muted: #5c6478;
  --border: #e2e7f0;
  --border-strong: #d0d7e6;
  --accent: #0d9f7a;
  --accent-hover: #0b8264;
  --accent-soft: rgba(13, 159, 122, 0.1);
  --accent-ring: rgba(13, 159, 122, 0.35);
  --accent-ink: #ffffff;
  --lead-bg: #12152a;
  --lead-text: #f4f6fb;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-text: #0f1222;
  --nav-border: #e2e7f0;
  --footer-bg: #0f1222;
  --footer-text: rgba(244, 246, 251, 0.72);
  --footer-heading: #ffffff;
  --card-shadow: 0 1px 2px rgba(15, 18, 34, 0.04), 0 8px 24px rgba(15, 18, 34, 0.06);
  --card-shadow-hover: 0 4px 8px rgba(15, 18, 34, 0.06), 0 16px 40px rgba(15, 18, 34, 0.1);
  --positive: #059669;
  --positive-bg: #059669;
  --positive-fg: #ffffff;
  --positive-border: #34d399;
  --positive-soft: rgba(5, 150, 105, 0.08);
  --neutral: #475569;
  --neutral-bg: #64748b;
  --neutral-fg: #ffffff;
  --neutral-border: #94a3b8;
  --neutral-soft: rgba(71, 85, 105, 0.08);
  --critical: #e11d48;
  --critical-bg: #e11d48;
  --critical-fg: #ffffff;
  --critical-border: #fb7185;
  --critical-soft: rgba(225, 29, 72, 0.08);
}

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

html { scroll-behavior: smooth; }

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s var(--ease);
}
a:hover { color: var(--accent-hover); }
a:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .55rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ——— Header ——— */
.site-header {
  background: var(--nav-bg);
  color: var(--nav-text);
  border-bottom: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
}

.brand {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--nav-text);
  text-decoration: none;
  line-height: 1.05;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
}
.brand:hover { color: var(--nav-text); }
.brand-der { color: var(--text); font-weight: 800; }
.brand-framer {
  color: var(--accent);
  font-weight: 800;
  text-shadow: 0 0 18px rgba(61, 255, 192, 0.35);
}
[data-theme="light"] .brand-framer { text-shadow: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.theme-toggle,
.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--nav-text);
  padding: .35rem .75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
}
.theme-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: none;
}
html[data-theme="dark"] .theme-icon--sun { display: block; }
html[data-theme="light"] .theme-icon--moon { display: block; }
.theme-toggle:hover,
.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.nav-toggle { display: none; }

.main-nav {
  background: transparent;
  border-top: 1px solid var(--nav-border);
}

.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

.main-nav a {
  display: block;
  padding: .7rem .9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.main-nav a:hover {
  color: var(--text);
}
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: transparent;
}

/* ——— Layout ——— */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem var(--container-pad-x) 3.25rem;
}

/* ——— Hero ——— */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 220px);
  gap: 1.5rem 2rem;
  align-items: center;
  margin-bottom: .45rem;
  padding: .5rem 0 .25rem;
  position: relative;
}

.hero-copy { min-width: 0; }

.page-title {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 .45rem;
  line-height: 1.12;
  color: var(--text);
}

.page-subtitle {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: .95rem;
  font-weight: 500;
}

.hero-graphic {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: var(--accent);
  opacity: .95;
}

.hero-f {
  width: min(100%, 200px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(61, 255, 192, 0.18));
}

[data-theme="light"] .hero-f {
  filter: none;
}

/* .framing-disclaimer — reusable site disclaimer (paraphrase / no original headlines); keep wording synced on index + categories */
.framing-disclaimer {
  background: transparent;
  border: none;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: .35rem 0 .35rem .85rem;
  margin: 0;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.45;
  box-shadow: none;
  max-width: 42rem;
}
.framing-disclaimer strong { color: var(--text); font-weight: 700; }

/* ——— Column headers (filled pills) ——— */
.compare-column-headers {
  --sticky-side-pad: max(
    var(--container-pad-x),
    calc((100vw - min(100vw, var(--max-width))) / 2 + var(--container-pad-x))
  );
  display: grid;
  grid-template-columns: var(--rail-width) 1fr;
  gap: .75rem 1rem;
  align-items: stretch;
  position: sticky;
  top: var(--sticky-headers-top, 0px);
  z-index: 40;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 .75rem;
  margin-left: calc(50% - 50vw);
  padding: .4rem var(--sticky-side-pad) .5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.65);
}
.compare-column-headers::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 6px;
  background: var(--bg);
  pointer-events: none;
}

.col-header-spacer { min-height: 1px; }

.col-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  min-width: 0;
}

.col-header {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: none;
}

.col-header--positive {
  color: var(--positive-fg);
  background: var(--positive-bg);
}

.col-header--neutral {
  color: var(--neutral-fg);
  background: var(--neutral-bg);
}

.col-header--critical {
  color: var(--critical-fg);
  background: var(--critical-bg);
}

/* ——— Compare section ——— */
.compare-section {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2rem;
}


/* === Trend-Unterkategorien (daily chips) === */
.subcat-bar {
  margin: 0 0 .4rem;
  padding: 0.35rem 0 0.55rem;
  border-bottom: none;
}

.subcat-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.subcat-date {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
}

.subcat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  align-items: center;
}

.subcat-chip {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.subcat-chip:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.subcat-chip:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.subcat-chip.is-active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 255, 192, 0.25), 0 4px 14px rgba(61, 255, 192, 0.18);
}

.pair-subcat {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.12rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(61, 255, 192, 0.28);
  border-radius: var(--tag-radius);
  line-height: 1.3;
  opacity: 0.92;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.compare-pair.is-filtered-out {
  display: none;
}

@media (max-width: 768px) {
  .subcat-bar {
    margin-bottom: .35rem;
    padding-top: 0.5rem;
  }
  .subcat-chip {
    font-size: 0.76rem;
    padding: 0.38rem 0.72rem;
  }
  .pair-subcat {
    font-size: 0.58rem;
  }
}

.compare-pair {
  display: grid;
  grid-template-columns: var(--rail-width) 1fr;
  gap: .75rem 1.15rem;
  align-items: start;
  background: transparent;
}

.topic-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding: .15rem 0 .35rem 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-align: left;
}

.topic-meta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  align-self: flex-start;
  flex-wrap: wrap;
}

.topic-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--accent-soft);
  margin: 0;
  line-height: 1;
}

.topic-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  display: block;
}

.pair-topic {
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 1.15vw, 1.18rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-align: left;
  margin: 0;
  padding: 0;
  color: var(--accent);
  border: none;
  text-transform: uppercase;
  line-height: 1.25;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.topic-blurb {
  margin: 0 0 0.15rem;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: left;
  width: 100%;
}

.topic-blurb-focus {
  margin: 0;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
  width: 100%;
}

.topic-blurb-focus strong {
  font-weight: 700;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

/* ——— Cards ——— */
.frame-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.05rem 1rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.frame-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.frame-card--positive {
  border-color: var(--positive-border);
  background:
    linear-gradient(180deg, var(--positive-soft) 0%, var(--bg-card) 36%),
    var(--bg-card);
}
.frame-card--neutral {
  border-color: var(--neutral-border);
  background:
    linear-gradient(180deg, var(--neutral-soft) 0%, var(--bg-card) 36%),
    var(--bg-card);
}
.frame-card--critical {
  border-color: var(--critical-border);
  background:
    linear-gradient(180deg, var(--critical-soft) 0%, var(--bg-card) 36%),
    var(--bg-card);
}

.frame-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .55rem;
  border-radius: var(--tag-radius);
  margin-bottom: .7rem;
  align-self: flex-start;
  background: transparent;
}

.frame-badge--positive {
  color: var(--positive);
  border: 1px solid var(--positive-border);
  background: transparent;
}
.frame-badge--neutral {
  color: var(--neutral);
  border: 1px solid var(--neutral-border);
  background: transparent;
}
.frame-badge--critical {
  color: var(--critical);
  border: 1px solid var(--critical-border);
  background: transparent;
}

.frame-headline {
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.28;
  margin: 0 0 .55rem;
  color: var(--text);
}

.frame-teaser {
  font-size: .84rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.5;
}

.frame-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.frame-footer .outlet {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-link {
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  letter-spacing: .01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.18s var(--ease), opacity 0.18s var(--ease);
}
.source-link:hover {
  text-decoration: none;
  opacity: .85;
}
.source-link::after { content: none; }

.source-link--positive { color: var(--positive); }
.source-link--neutral { color: var(--neutral); }
.source-link--critical { color: var(--critical); }

/* ——— CTA ——— */
.compare-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 2.5rem;
}

.compare-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.75rem;
  min-width: min(100%, 420px);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.compare-cta:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  box-shadow: 0 0 24px rgba(61, 255, 192, 0.12);
}

/* ——— Legacy / shared ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--lead-bg);
  color: var(--lead-text);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.lead-visual {
  min-height: 260px;
  background: linear-gradient(135deg, #1a1f28 0%, #0e1116 48%, #3dffc0 160%);
  display: flex;
  align-items: flex-end;
  padding: 1.15rem;
  position: relative;
}
[data-theme="light"] .lead-visual {
  background: linear-gradient(135deg, #2e3358 0%, #12152a 48%, #0d9f7a 140%);
}

.lead-visual .category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.lead-content {
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead-content h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.22;
  margin: 0 0 .65rem;
}
.lead-content h2 a { color: inherit; text-decoration: none; }
.lead-content h2 a:hover { text-decoration: underline; }
.lead-content .dek {
  color: rgba(232, 236, 242, .78);
  margin: 0 0 .9rem;
  font-size: 1rem;
}

.meta {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
}
.lead-content .meta { color: rgba(232, 236, 242, .5); }

.category-badge {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .28rem .55rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--accent);
}
.category-badge:hover {
  color: var(--accent-ink);
  background: var(--accent);
}

.section { margin-bottom: 2.5rem; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
}
.section-header h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: uppercase;
}
.section-header a {
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.section-header a:hover { text-decoration: underline; }

.headlines { list-style: none; margin: 0; padding: 0; }
.headlines li {
  border-bottom: 1px solid var(--border);
  padding: .8rem 0;
}
.headlines li:last-child { border-bottom: none; }
.headlines a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.015em;
  display: block;
}
.headlines a:hover { color: var(--accent); }
.headlines .meta { margin-top: .3rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.story-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-strong);
}
.story-card .card-visual {
  height: 100px;
  background: linear-gradient(120deg, #2a3140, #0e1116 60%, #3dffc0);
}
.story-card.inland .card-visual { background: linear-gradient(120deg, #1e3a5f, #0e1116 55%, #3dffc0); }
.story-card.ausland .card-visual { background: linear-gradient(120deg, #0f3d32, #0e1116 55%, #3dffc0); }
.story-card.wirtschaft .card-visual { background: linear-gradient(120deg, #3d2e0f, #0e1116 55%, #94a3b8); }
.story-card.sport .card-visual { background: linear-gradient(120deg, #1a2a4a, #0e1116 55%, #3dffc0); }
.story-card.kultur .card-visual { background: linear-gradient(120deg, #3a1a3a, #0e1116 55%, #ff4d9a); }
.story-card.tech .card-visual { background: linear-gradient(120deg, #0f3540, #0e1116 55%, #3dffc0); }
.story-card .card-body {
  padding: .95rem 1.05rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.story-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.28;
  margin: .4rem 0 .45rem;
}
.story-card h3 a { color: var(--text); text-decoration: none; }
.story-card h3 a:hover { color: var(--accent); }
.story-card p {
  font-size: .86rem;
  color: var(--text-muted);
  margin: 0 0 .65rem;
  flex: 1;
}

.article-header { max-width: 720px; margin-bottom: 1.5rem; }
.article-header h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: .75rem 0 .9rem;
}
.article-body {
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
}
.article-body p { margin: 0 0 1.15rem; }
.article-body .lead-para {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 1.45rem;
  background: var(--accent-soft);
  padding: .8rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: 3px solid var(--accent);
}
.article-aside {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 720px;
}
.article-aside h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .65rem;
  text-transform: uppercase;
}

.category-list .story-card {
  flex-direction: row;
  margin-bottom: .85rem;
}
.category-list .card-visual {
  width: 140px;
  min-width: 140px;
  height: auto;
  min-height: 110px;
}
.category-list .card-body { padding: .9rem 1.1rem; }

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.25rem 1.5rem;
  margin-top: 1.75rem;
  font-size: .85rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.75rem;
}
.site-footer a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer h3 {
  color: var(--footer-heading);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  margin: 0 0 .75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-note {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
}

.breadcrumb {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: .3rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.rubriken-strip .section-header { margin-bottom: .8rem; }
.rubriken-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.rubriken-nav a {
  display: inline-block;
  padding: .4rem .85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.rubriken-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  :root { --rail-width: 215px; }
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-visual { min-height: 160px; }
  .hero {
    grid-template-columns: 1fr 120px;
  }
  .compare-pair {
    grid-template-columns: 1fr;
  }
  .compare-column-headers {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .col-header-spacer { display: none; }
  .col-header-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: .65rem;
  }
  .topic-rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .35rem .65rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .topic-meta {
    order: 0;
    justify-content: flex-start;
    align-self: flex-start;
  }
  .pair-topic {
    flex: 1 1 100%;
    order: 1;
    text-align: left;
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
    line-height: 1.2;
  }
  .topic-blurb {
    flex: 1 1 100%;
    order: 2;
    text-align: left;
    font-size: clamp(.95rem, 3.8vw, 1.12rem);
    line-height: 1.45;
    margin-top: 0.15rem;
    margin-bottom: 0.1rem;
  }
  .topic-blurb-focus {
    flex: 1 1 100%;
    order: 3;
    text-align: left;
    font-size: clamp(.95rem, 3.8vw, 1.12rem);
    line-height: 1.45;
  }
  .topic-rubrik-link { order: 4; flex: 1 1 100%; }
  .compare-section {
    gap: 2.75rem;
  }
  .compare-pair {
    padding-bottom: 0.35rem;
  }
}

@media (max-width: 768px) {
  .compare-column-headers {
    display: grid;
    grid-template-columns: 1fr;
    gap: .45rem;
    margin: 0 0 .85rem;
    margin-left: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    padding: .45rem var(--sticky-side-pad, var(--container-pad-x)) .5rem;
    background: var(--bg);
  }
  .col-header-spacer { display: none; }
  .col-header-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: .45rem;
  }
  .col-header {
    font-size: .65rem;
    padding: .5rem .35rem;
  }
  .compare-section {
    gap: 3rem;
  }
  .pair-topic {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
  .topic-blurb {
    font-size: clamp(1rem, 4vw, 1.18rem);
  }
  .topic-blurb-focus {
    font-size: clamp(1rem, 4vw, 1.18rem);
  }
  .pair-grid {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-graphic {
    justify-content: flex-start;
    order: -1;
  }
  .hero-f { width: 110px; }
  .container {
    --container-pad-x: 1.1rem;
    padding: 1.35rem var(--container-pad-x) 2.75rem;
  }
  .page-title {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: .45rem .7rem .9rem;
    gap: .1rem;
    justify-content: flex-start;
  }
  .main-nav a {
    border-radius: var(--radius-sm);
    border-bottom: none;
  }
  .main-nav a[aria-current="page"] {
    border-bottom: none;
    background: var(--accent-soft);
  }
  .category-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .category-list .story-card { flex-direction: column; }
  .category-list .card-visual { width: 100%; min-height: 90px; }
  .header-inner { padding: .7rem 1.1rem; }
  .compare-cta {
    width: 100%;
    min-width: 0;
    padding: .85rem 1rem;
    font-size: .74rem;
  }
}


/* Mobile: teasers always expanded */
@media (max-width: 768px) {
  .frame-teaser {
    display: block;
  }
  .topic-rubrik-link {
    display: inline-flex;
    margin-top: 0.15rem;
  }
}

.topic-rubrik-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.25rem;
}
.topic-rubrik-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .frame-card:hover,
  .story-card:hover {
    transform: none;
  }
}


/* ——— Legal pages ——— */
.legal-page {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  max-width: 820px;
}
.legal-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--card-shadow);
}
.legal-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.legal-kicker {
  margin: 0 0 .5rem;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legal-header h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.legal-lead {
  margin: 0 0 .75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.legal-note {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  font-size: .92rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin: 0 0 1.75rem;
  padding: 0;
}
.legal-toc a {
  display: inline-block;
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-subtle);
}
.legal-toc a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.legal-article section {
  margin-bottom: 1.75rem;
}
.legal-article h2 {
  margin: 0 0 .75rem;
  font-size: 1.2rem;
  color: var(--text);
}
.legal-article h3 {
  margin: 1rem 0 .5rem;
  font-size: 1.05rem;
}
.legal-article p,
.legal-article li {
  color: var(--text-muted);
  line-height: 1.65;
}
.legal-article p { margin: 0 0 .85rem; }
.legal-article ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.legal-article code {
  font-size: .85em;
  padding: .1em .35em;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent);
}
.legal-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .95rem;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}
.legal-table th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}
.legal-table tr:last-child td { border-bottom: none; }

/* ——— Cookie banner ——— */
.cookie-banner {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  pointer-events: none;
}
.cookie-banner-inner {
  pointer-events: auto;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(61, 255, 192, 0.08);
}
.cookie-banner-title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.cookie-banner-text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-settings-panel {
  margin-top: .75rem;
  padding: .75rem .85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-muted);
}
.cookie-settings-panel p { margin: 0 0 .4rem; }
.cookie-settings-panel p:last-child { margin-bottom: 0; }
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}
.btn-cookie-primary,
.btn-cookie-secondary,
.btn-cookie-ghost {
  appearance: none;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn-cookie-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-cookie-primary:hover {
  background: var(--accent-hover);
}
.btn-cookie-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-cookie-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-cookie-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-cookie-ghost:hover {
  color: var(--accent);
}
.btn-cookie-primary:focus-visible,
.btn-cookie-secondary:focus-visible,
.btn-cookie-ghost:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}
.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer .cookie-settings-link {
  color: inherit;
}
.site-footer .cookie-settings-link:hover {
  color: var(--accent);
}
@media (max-width: 720px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-banner-actions button {
    flex: 1 1 auto;
  }
}


/* hero-graphic removed — single-column hero */
.hero-graphic, .hero-f { display: none !important; }
.hero { display: block; }
.hero-copy { max-width: 48rem; }


/* ——— Archiv ——— */
.archive-list {
  margin: 0.75rem 0 2rem;
  padding-left: 1.2rem;
  line-height: 1.6;
}
.archive-list a {
  font-weight: 600;
}
.archive-empty {
  opacity: 0.85;
  margin: 0.75rem 0 1.25rem;
}
.archive-date-iso {
  opacity: 0.65;
  font-size: 0.85em;
}
.archive-banner a {
  color: var(--accent);
}

.dash-sm {
  font-size: 0.72em;
  font-weight: inherit;
  letter-spacing: 0;
  display: inline;
  vertical-align: 0.05em;
}

