/* ==========================================================================
   freiestimme.net — Stylesheet (Redesign)
   Brand Design System v1.0 | Mobile-First | Conversion-Optimized
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Primaerfarben */
  --ink: #0A0A0B;
  --signal-red: #D42B2B;
  --signal-red-hover: #B52424;
  --surface: #FFFFFF;

  /* Funktionale Farben */
  --text: #111111;
  --text-body: #333333;
  --text-muted: #636363; /* WCAG 4.5:1 auf weiss */
  --border: #E5E5E5;
  --border-strong: #C5C5C5;
  --surface-alt: #F5F5F4;

  /* Sektionsfarben */
  --section-frei: #0D6B3F;
  --section-konz: #64748B;

  /* Spezial */
  --live-green: #10B981;

  /* Typografie */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Groessen (5-Stufen-System) */
  --text-2xl: 1.75rem;
  --text-xl: 1.5rem;
  --text-lg: 1.25rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  /* Legacy-Aliases (werden schrittweise entfernt) */
  --text-2xs: 0.75rem;
  --text-3xs: 0.75rem;
  --text-4xs: 0.625rem;

  /* Gewichte */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  /* Zeilenhoehen */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  /* Letter-Spacing */
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.01em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.1em;

  /* Spacing (4px-Basis) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Borders */
  --radius-none: 0;
  --radius-sm: 2px;
  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 3px;
  --border-strich: 4px;

  /* Layout */
  --max-width: 1140px;
  --header-height: 56px;

  /* Z-Index */
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-mobile-nav: 99;
  --z-header: 100;
  --z-sticky-cta: 100;
  --z-skip-link: 1000;
}

/* --- Font Faces --- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--surface);
  line-height: var(--leading-relaxed);
  min-height: 100vh;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--signal-red); }

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

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

ul, ol { list-style: none; }

.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 Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--ink);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  z-index: var(--z-skip-link);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ==========================================================================
   EILMELDUNG Bar
   ========================================================================== */

.breaking-bar {
  background: var(--signal-red);
  color: #fff;
  font-family: var(--font);
  font-weight: var(--weight-bold);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 0.4rem var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.breaking-bar.hidden { display: none; }

.breaking-bar__label {
  background: #fff;
  color: var(--signal-red);
  padding: 0.125rem var(--space-2);
  font-size: var(--text-3xs);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-widest);
  flex-shrink: 0;
}

.breaking-bar__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
}

.breaking-bar__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  padding: var(--space-1);
  line-height: 1;
  opacity: 0.7;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.breaking-bar__close:hover { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--ink);
  color: #fff;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  font-family: var(--font);
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
  color: #fff;
  letter-spacing: var(--tracking-snug);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.site-logo:hover { color: #fff; }

.site-logo__strich {
  width: 4px;
  height: 28px;
  flex-shrink: 0;
}

.site-logo__text { line-height: 1; }

.site-logo__tld {
  font-weight: var(--weight-light);
  color: rgba(255,255,255,0.55);
  line-height: 1;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav__link {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  transition: color 0.15s;
}
.site-nav__link:hover { color: #fff; }

.site-nav__link--cta {
  background: var(--signal-red);
  color: #fff !important;
  font-weight: var(--weight-bold);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.site-nav__link--cta:hover {
  background: var(--signal-red-hover);
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-1);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Sendung (Video + Hero Sidebar)
   ========================================================================== */

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

.sendung__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-6) var(--space-6);
}

.sendung__claim {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.55);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-5);
}

.sendung__split {
  display: flex;
  gap: var(--space-6);
}

.sendung__left {
  flex: 1;
  min-width: 0;
}

.sendung__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

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

.sendung__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--signal-red);
  margin-bottom: var(--space-2);
}

.sendung__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: #fff;
}

.sendung__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-left: var(--border-strich) solid var(--signal-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sendung__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
}

.sendung__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.sendung__archive {
  color: rgba(255,255,255,0.5);
  font-weight: var(--weight-medium);
}
.sendung__archive:hover { color: #fff; }

/* Hero Sidebar (right side) */
.sendung__right-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--signal-red);
  margin-bottom: var(--space-4);
}

.sendung__right-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.hero-headline {
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-headline:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-headline__badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 0.0625rem 0.375rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.25rem;
}

.hero-headline__badge--frei {
  background: var(--section-frei);
  color: #fff;
}

.hero-headline__badge--konz {
  background: var(--section-konz);
  color: #fff;
}

.hero-headline__badge--eil {
  background: var(--signal-red);
  color: #fff;
}

.hero-headline__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #fff;
  line-height: var(--leading-snug);
}

.hero-headline__source {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-top: 0.125rem;
}

/* ==========================================================================
   Schweigespirale Teaser
   ========================================================================== */

.schweige-teaser {
  background: var(--surface-alt);
  text-align: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  color: var(--text-body);
}

.schweige-teaser strong {
  color: var(--signal-red);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
}

/* ==========================================================================
   Independence Banner
   ========================================================================== */

.independence-banner {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
  text-align: center;
}

.independence-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.independence-banner__text {
  font-weight: var(--weight-medium);
}

.independence-banner__link {
  color: #fff;
  font-weight: var(--weight-bold);
  background: var(--signal-red);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  transition: background 0.15s;
}
.independence-banner__link:hover {
  background: var(--signal-red-hover);
  color: #fff;
}

/* ==========================================================================
   Themen des Tages
   ========================================================================== */

.themen__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}

.themen__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin-bottom: var(--space-6);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.filter-bar__btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-body);
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-bar__btn:hover { border-color: var(--ink); color: var(--text); }
.filter-bar__btn--active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Loading skeleton */
.ticker-loading { padding: var(--space-4) 0; }
.ticker-loading__bar {
  height: 1rem;
  background: var(--surface-alt);
  margin-bottom: var(--space-3);
  border-radius: var(--radius-sm);
  animation: pulse 1.5s ease-in-out infinite;
}
.ticker-loading__bar:nth-child(1) { width: 80%; }
.ticker-loading__bar:nth-child(2) { width: 60%; }
.ticker-loading__bar:nth-child(3) { width: 70%; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ==========================================================================
   Topic Cards
   ========================================================================== */

.topic-card {
  border-top: 2px solid var(--border-strong);
  padding: var(--space-5) 0;
}

.topic-card--first {
  border-top: 3px solid var(--signal-red);
}

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

.topic-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text);
  line-height: var(--leading-snug);
}

.topic-card--first .topic-card__title {
  font-size: var(--text-xl);
}

.topic-card__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  flex-shrink: 0;
}

.topic-card__badge--eil {
  background: var(--signal-red);
  color: #fff;
}

.topic-card__badge--frei {
  background: var(--section-frei);
  color: #fff;
}

.topic-card__badge--konz {
  background: var(--section-konz);
  color: #fff;
}

/* Dot counts */
.topic-card__counts {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.topic-card__count {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.topic-card__count-label {
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  margin-right: var(--space-1);
}

.topic-card__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  margin: 0 1px;
}

.topic-card__dot--filled.topic-card__dot--frei {
  background: var(--section-frei);
  border-color: var(--section-frei);
}

.topic-card__dot--filled.topic-card__dot--konz {
  background: var(--section-konz);
  border-color: var(--section-konz);
}

.topic-card__count-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-left: var(--space-1);
}

/* Entries */
.topic-card__entries {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.topic-card__entry {
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-left: 3px solid var(--border);
}

.topic-card__entry--frei {
  border-left-color: var(--section-frei);
}

.topic-card__entry--konz {
  border-left-color: var(--section-konz);
}

.topic-card__entry-source {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  margin-bottom: 0.125rem;
}

.topic-card__entry-headline {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: var(--leading-snug);
  font-weight: var(--weight-regular);
}
.topic-card__entry-headline:hover {
  color: var(--signal-red);
}

/* Schweigespirale Callout */
.topic-card__schweige {
  border-left: 3px solid var(--signal-red);
  background: rgba(212, 43, 43, 0.04);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-body);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-3);
}

/* Share */
.topic-card__share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
}

.topic-card__share-label {
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

.topic-card__share-btn {
  color: var(--text-muted);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  padding: 0.125rem 0.375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.topic-card__share-btn:hover {
  color: var(--signal-red);
  border-color: var(--signal-red);
}

/* Inline CTA */
.inline-cta {
  background: var(--surface-alt);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin: var(--space-4) 0;
  border-left: 3px solid var(--signal-red);
}

.inline-cta__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text);
}

.inline-cta__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--signal-red);
  white-space: nowrap;
}
.inline-cta__link:hover { color: var(--signal-red-hover); }

/* ==========================================================================
   Weitere Meldungen
   ========================================================================== */

.weitere {
  background: var(--surface-alt);
  padding: var(--space-8) var(--space-6);
}

.weitere__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.weitere__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-5);
}

.weitere__entry {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  flex-wrap: wrap;
}

.weitere__entry--breaking {
  background: rgba(212, 43, 43, 0.04);
  padding-left: var(--space-3);
  border-left: 3px solid var(--signal-red);
}

.weitere__time {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.weitere__badge {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 0 0.375rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  line-height: 1.4;
}

.weitere__badge--frei {
  background: var(--section-frei);
  color: #fff;
}

.weitere__badge--konz {
  background: var(--section-konz);
  color: #fff;
}

.weitere__source {
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  flex-shrink: 0;
}

.weitere__headline {
  color: var(--text);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
}
.weitere__headline:hover { color: var(--signal-red); }

/* ==========================================================================
   Signup Section (Konto-Registrierung)
   ========================================================================== */

.signup-section {
  background: var(--surface-alt);
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

.signup-section__inner {
  max-width: 640px;
  margin: 0 auto;
}

.signup-section__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-3);
}

.signup-section__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.signup-section__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-6);
}

.signup-section__features li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.signup-section__btn {
  display: inline-block;
  background: var(--signal-red);
  color: #fff;
  font-weight: var(--weight-bold);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  transition: background 0.15s;
}
.signup-section__btn:hover {
  background: var(--signal-red-hover);
  color: #fff;
}

.signup-section__note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* ==========================================================================
   Quellen Section
   ========================================================================== */

.quellen-section {
  padding: var(--space-8) var(--space-6);
}

.quellen-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.quellen-section__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-5);
}

.quellen-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.quellen-section__subtitle {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-3);
}

.quellen-section__subtitle--frei { color: var(--section-frei); }
.quellen-section__subtitle--konz { color: var(--section-konz); }

.quellen-section__list li {
  font-size: var(--text-sm);
  color: var(--text-body);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--border);
}

.quellen-section__list--frei li {
  border-left: 2px solid var(--section-frei);
  padding-left: var(--space-3);
}

.quellen-section__list--konz li {
  border-left: 2px solid var(--section-konz);
  padding-left: var(--space-3);
}

.quellen-section__hint {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--surface-alt);
  border-left: 3px solid var(--section-frei);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.quellen-section__hint a {
  color: var(--signal-red);
  font-weight: var(--weight-semibold);
}

/* ==========================================================================
   Spenden CTA
   ========================================================================== */

.spenden-cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.spenden-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.spenden-cta__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

.spenden-cta__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-6);
  line-height: var(--leading-normal);
}

.spenden-cta__btn {
  display: inline-block;
  background: var(--signal-red);
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.spenden-cta__btn:hover {
  background: var(--signal-red-hover);
  color: #fff;
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky-cta);
  background: var(--signal-red);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

.mobile-sticky-cta__btn {
  color: #fff;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  display: block;
}
.mobile-sticky-cta__btn:hover { color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--surface-alt);
  padding: var(--space-6) var(--space-6);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.site-footer__links a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}
.site-footer__links a:hover { color: var(--text); }

.site-footer__link--red {
  color: var(--signal-red) !important;
  font-weight: var(--weight-bold) !important;
}

.site-footer__copy {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   Spenden Page Styles (spenden.html)
   ========================================================================== */

.spenden-hero {
  background: var(--ink);
  color: #fff;
  padding: var(--space-12) var(--space-6);
}

.spenden-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.spenden-hero__strich {
  width: 4px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.spenden-hero__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

.spenden-hero__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-3);
  line-height: var(--leading-normal);
}

.spenden-proof-top {
  background: var(--surface-alt);
  text-align: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text);
}

.spenden-section {
  padding: var(--space-8) var(--space-6);
}

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

.spenden-section__inner {
  max-width: 700px;
  margin: 0 auto;
}

.spenden-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.spenden-tier {
  border: 2px solid var(--border);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
  position: relative;
}
.spenden-tier:hover { border-color: var(--border-strong); }

.spenden-tier--selected {
  border-color: var(--signal-red);
}

.spenden-tier__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--signal-red);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.spenden-tier__amount {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text);
}

.spenden-tier__currency {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
}

.spenden-tier__period {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.spenden-tier__desc {
  font-size: var(--text-xs);
  color: var(--text-body);
}

.spenden-custom {
  margin-bottom: var(--space-6);
}

.spenden-custom__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-2);
}

.spenden-custom__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.spenden-custom__input {
  width: 120px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: var(--text-base);
}

.spenden-custom__suffix {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.spenden-payment {
  margin-top: var(--space-6);
}

.spenden-payment__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-5);
}

.payment-stripe {
  margin-bottom: var(--space-5);
}

.payment-stripe__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.payment-stripe__placeholder {
  padding: var(--space-6);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.payment-stripe__btn {
  display: block;
  width: 100%;
  background: var(--signal-red);
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: var(--space-4);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.payment-stripe__btn:hover { background: var(--signal-red-hover); }

.payment-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
  color: var(--text);
  transition: border-color 0.15s;
}
.payment-btn:hover { border-color: var(--border-strong); color: var(--text); }

.payment-bank {
  margin-top: var(--space-5);
}

.payment-bank__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.payment-bank__details {
  width: 100%;
  font-size: var(--text-sm);
  border-collapse: collapse;
}

.payment-bank__details td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
}

.payment-bank__details td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.spenden-wofuer__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-5);
}

.spenden-wofuer__list {
  list-style: none;
}

.spenden-wofuer__list li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: var(--leading-normal);
}

.spenden-wofuer__list li strong {
  color: var(--text);
}

/* Newsletter on spenden page */
.newsletter-signup {
  text-align: center;
}

.newsletter-signup__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-2);
}

.newsletter-signup__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.newsletter-signup__form {
  display: flex;
  gap: var(--space-2);
  max-width: 480px;
  margin: 0 auto var(--space-2);
}

.newsletter-signup__input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: var(--text-sm);
}

.newsletter-signup__btn {
  background: var(--signal-red);
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  padding: var(--space-3) var(--space-5);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.newsletter-signup__btn:hover { background: var(--signal-red-hover); }

.newsletter-signup__privacy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}
.newsletter-signup__privacy a { color: var(--text-muted); text-decoration: underline; }

.newsletter-signup__msg {
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  min-height: 1.5em;
  text-align: center;
}
.newsletter-signup__msg--success { color: var(--section-frei); font-weight: var(--weight-medium); }
.newsletter-signup__msg--error { color: var(--signal-red); font-weight: var(--weight-medium); }

.spenden-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky-cta);
  background: var(--signal-red);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

.spenden-sticky-cta__btn {
  color: #fff;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  display: block;
}
.spenden-sticky-cta__btn:hover { color: #fff; }

/* ==========================================================================
   Gate Modal
   ========================================================================== */

.gate-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.gate-modal.hidden { display: none; }
.gate-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.gate-modal__content { position: relative; background: #fff; max-width: 440px; width: 90%; padding: var(--space-8); text-align: center; }
.gate-modal__close { position: absolute; top: var(--space-3); right: var(--space-3); background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); min-width: 44px; min-height: 44px; }
.gate-modal__title { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--text); margin-bottom: var(--space-3); }
.gate-modal__desc { font-size: var(--text-sm); color: var(--text-body); margin-bottom: var(--space-5); line-height: var(--leading-normal); }
.gate-modal__btn { display: inline-block; background: var(--signal-red); color: #fff; font-weight: var(--weight-bold); padding: var(--space-4) var(--space-8); border-radius: var(--radius-sm); font-size: var(--text-base); transition: background 0.15s; }
.gate-modal__btn:hover { background: var(--signal-red-hover); color: #fff; }
.gate-modal__note { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-3); }

/* Quellen-Items interaktiv */
.quellen-section__list li { cursor: pointer; transition: color 0.15s; }
.quellen-section__list li:hover { color: var(--signal-red); }

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

@media (max-width: 767px) {
  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Nav overlay */
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-8);
    gap: var(--space-6);
    z-index: var(--z-mobile-nav);
  }
  .site-nav.open { display: flex; }

  .site-nav__link {
    font-size: var(--text-base);
  }

  /* Sendung */
  .sendung__inner { padding: var(--space-5) var(--space-4); }
  .sendung__split { flex-direction: column; }
  .sendung__right { display: none; }
  .sendung__title { font-size: var(--text-lg); }

  /* Themen */
  .themen__inner { padding: var(--space-5) var(--space-4); }
  .themen__title { font-size: var(--text-lg); }

  /* Topic cards */
  .topic-card__counts { flex-direction: column; gap: var(--space-2); }

  /* Inline CTA */
  .inline-cta { flex-direction: column; text-align: center; }

  /* Weitere */
  .weitere { padding: var(--space-5) var(--space-4); }
  .weitere__entry { flex-wrap: wrap; }

  /* Newsletter (spenden.html) */
  .newsletter-signup__form { flex-direction: column; }

  /* Signup CTA */
  .signup-section__btn { display: block; width: 100%; text-align: center; }

  /* Quellen */
  .quellen-section__grid { grid-template-columns: 1fr; }

  /* Spenden tiers */
  .spenden-tiers { grid-template-columns: 1fr; }

  /* Mobile sticky */
  .mobile-sticky-cta { display: block; }
  .spenden-sticky-cta { display: block; }

  /* Footer padding for sticky */
  .site-footer { padding-bottom: calc(var(--space-6) + 60px); }
}

@media (max-width: 639px) {
  .sendung__title { font-size: var(--text-base); }
  .topic-card--first .topic-card__title { font-size: var(--text-lg); }
}
