/* ============================================================
   AUSTRINIA NEWS — Frontend CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --rot:        #CC0000;
    --rot-dark:   #a80000;
    --schwarz:    #111111;
    --text:       #1a1a1a;
    --text-mittel:#555;
    --text-leicht:#888;
    --border:     #e8eaed;
    --bg:         #f5f6f7;
    --weiss:      #ffffff;
    --serif:      'Source Serif 4', Georgia, serif;
    --sans:       'Inter', -apple-system, sans-serif;
    --shadow:     0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.1);
    --radius:     6px;
    --max-w:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--schwarz);
    color: #aaa;
    font-size: 11px;
    font-family: var(--sans);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}
.topbar-datum { color: #666; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: #777; font-weight: 500; transition: color .15s; }
.topbar-links a:hover { color: #ddd; }

/* ── HEADER ── */
.site-header {
    background: var(--weiss);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}
.site-logo { display: flex; flex-direction: column; gap: 2px; }
.site-logo-name {
    font-family: var(--sans);
    font-size: 28px;
    font-weight: 800;
    color: var(--schwarz);
    letter-spacing: -1px;
    line-height: 1;
}
.site-logo-name span { color: var(--rot); }
.site-logo-name a { color: inherit; text-decoration: none; }
.site-logo-tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
}
.header-suche {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.header-suche input {
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-family: var(--sans);
    width: 200px;
    outline: none;
    background: #fafafa;
}
.header-suche button {
    background: var(--rot);
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 14px;
    transition: background .15s;
}
.header-suche button:hover { background: var(--rot-dark); }

/* ── NAVIGATION ── */
.site-nav {
    background: var(--schwarz);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}
.nav-links { display: flex; align-items: center; flex: 1; gap: 0; }
.nav-links a {
    display: block;
    padding: 13px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #bbb;
    transition: color .15s, background .15s;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; }
.nav-links a.aktiv { color: #fff; border-bottom-color: var(--rot); }
.nav-aktuell {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.nav-aktuell-badge {
    background: var(--rot);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px;
}
.nav-aktuell-zeit {
    color: #777;
    font-size: 11px;
    font-family: var(--sans);
}

/* ── HERO SLIDER ── */
.hero {
    background: var(--weiss);
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
    max-width: var(--max-w);
    margin: 0 auto;
}
.hero-main { position: relative; overflow: hidden; }
.hero-slides { position: relative; }
.hero-slide {
    display: none;
    position: relative;
}
.hero-slide.aktiv { display: block; }
.hero-slide-bild {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
    background: #111;
}
.hero-slide-bild img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Dunkler Verlauf unten für Textlesbarkeit */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
/* Fallback wenn kein Bild */
.hero-slide-farbhintergrund {
    position: absolute;
    inset: 0;
}
.hero-slide-bild.kein-bild {
    background: linear-gradient(150deg, #1a1a2e 0%, #111 100%);
}
.hero-slide-placeholder {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 40px;
}
.hero-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    color: #fff;
}
.hero-slide-kat {
    display: inline-block;
    background: var(--rot);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
}
.hero-slide-titel {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 10px;
}
.hero-slide-auszug {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-slide-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-family: var(--sans);
}
.hero-nav {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
}
.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
    padding: 0;
}
.hero-dot.aktiv { background: #fff; transform: scale(1.3); }

/* Meistgelesen Sidebar */
.hero-sidebar {
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.hero-sidebar-titel {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--border);
}
.hero-sidebar-liste { flex: 1; overflow: hidden; }
.hero-sidebar-item {
    display: flex;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.hero-sidebar-item:last-child { border-bottom: none; }
.hero-sidebar-item:hover { background: #fafafa; }
.hero-sidebar-nr {
    font-size: 20px;
    font-weight: 800;
    color: #e8e8e8;
    min-width: 28px;
    line-height: 1;
    padding-top: 2px;
}
.hero-sidebar-info {}
.hero-sidebar-kat {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rot);
    margin-bottom: 4px;
}
.hero-sidebar-titel2 {
    font-family: var(--serif);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--schwarz);
}
.hero-sidebar-titel2:hover { color: var(--rot); }

/* ── INHALTSBEREICH ── */
.content-area {
    max-width: var(--max-w);
    margin: 28px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
}

/* ── ARTIKEL-GRID ── */
.section-titel {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #aaa;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--schwarz);
    margin-bottom: 20px;
}
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.artikel-karte {
    background: var(--weiss);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.artikel-karte:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.artikel-karte-bild {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.artikel-karte-placeholder {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}
.artikel-karte-body { padding: 16px; }
.artikel-karte-kat {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rot);
    margin-bottom: 7px;
}
.artikel-karte-titel {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--schwarz);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.artikel-karte-titel:hover { color: var(--rot); }
.artikel-karte-auszug {
    font-size: 13px;
    color: var(--text-mittel);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.artikel-karte-meta {
    font-size: 11px;
    color: var(--text-leicht);
    display: flex;
    gap: 10px;
}

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
    background: var(--weiss);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.widget-kopf {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: #fafafa;
}
.widget-inhalt { padding: 8px 0; }
.widget-link {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .12s, color .12s;
    line-height: 1.4;
}
.widget-link:last-child { border-bottom: none; }
.widget-link:hover { background: #fafafa; color: var(--rot); }
.widget-link-kat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--rot);
    margin-bottom: 3px;
}
.widget-link-titel { font-family: var(--serif); font-size: 13px; font-weight: 600; line-height: 1.35; }

/* Facebook Widget */
.fb-widget {
    background: #1877f2;
    color: #fff;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}
.fb-widget-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.fb-widget-sub { font-size: 12px; opacity: .8; margin-bottom: 14px; }
.fb-widget-btn {
    display: inline-block;
    background: #fff;
    color: #1877f2;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background .15s;
}
.fb-widget-btn:hover { background: #e8f0fe; }

/* ── ARTIKEL-SEITE LAYOUT (content-wrap Klassen) ── */
.einzel-artikel {
    background: var(--hintergrund, #f4f4f4);
    min-height: 60vh;
}
.content-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 28px 20px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}
.content-main { min-width: 0; }
.content-sidebar { min-width: 0; }

.artikel-volltext {
    background: #fff;
    border-radius: 8px;
    padding: 32px 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.artikel-titelbild { margin: 0 0 28px; }
.artikel-titelbild img {
    width: 100%;
    border-radius: 6px;
    display: block;
    max-height: 480px;
    object-fit: cover;
}
.artikel-kategorie-badge {
    display: inline-block;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
    text-decoration: none;
}
.artikel-teilen {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
}
.teilen-label { font-size: 13px; color: var(--text-leicht, #666); font-weight: 600; }
.teilen-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.teilen-facebook { background: #1877f2; }
.teilen-twitter  { background: #1da1f2; }
.teilen-whatsapp { background: #25d366; }
.teilen-kopieren { background: #6b7280; }
.teilen-btn:hover { opacity: .85; }

@media (max-width: 900px) {
    .content-wrap { grid-template-columns: 1fr; padding: 16px 16px 32px; gap: 24px; }
    .artikel-volltext { padding: 20px 18px; }
}

/* ── EINZELARTIKEL ── */
.artikel-seite {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 28px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
}
.artikel-haupt {}
.artikel-header { margin-bottom: 20px; }
.artikel-kat-badge {
    display: inline-block;
    background: var(--rot);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
}
.artikel-titel {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--schwarz);
    margin-bottom: 14px;
}
.artikel-meta {
    font-size: 13px;
    color: var(--text-leicht);
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.artikel-bild {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 24px;
}
.artikel-inhalt {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.78;
    color: #222;
}
.artikel-inhalt p { margin-bottom: 1.3em; }
.artikel-inhalt h2 { font-size: 1.4em; font-weight: 700; margin: 1.6em 0 .6em; color: var(--schwarz); }
.artikel-inhalt h3 { font-size: 1.15em; font-weight: 700; margin: 1.4em 0 .5em; color: var(--schwarz); }
.artikel-inhalt a { color: var(--rot); text-decoration: underline; }
.artikel-inhalt blockquote {
    border-left: 3px solid var(--rot);
    margin: 1.5em 0;
    padding: 12px 20px;
    color: #555;
    font-style: italic;
    background: #fafafa;
}

/* ── KATEGORIE-SEITE ── */
.kat-header {
    background: var(--schwarz);
    color: #fff;
    padding: 28px 0;
    margin-bottom: 28px;
}
.kat-name {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 700;
}
.kat-beschreibung { font-size: 14px; color: #aaa; margin-top: 6px; }

/* ── FOOTER ── */
.site-footer {
    background: var(--schwarz);
    color: #aaa;
    margin-top: 48px;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 20px;
}
.footer-brand {}
.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.footer-logo span { color: var(--rot); }
.footer-beschreibung { font-size: 13px; line-height: 1.7; color: #666; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #888;
    transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--rot); color: #fff; }
.footer-col-titel {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
    font-size: 13px;
    color: #666;
    transition: color .15s;
}
.footer-links a:hover { color: #ddd; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 16px 20px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #444;
}

/* ── PAGINIERUNG ── */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 28px;
}
.pagination a, .pagination span {
    display: block;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--weiss);
    transition: background .15s, border-color .15s;
}
.pagination a:hover { background: var(--bg); }
.pagination .aktiv { background: var(--rot); border-color: var(--rot); color: #fff; }

/* Hero Prev/Next */
.hero-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
    z-index: 10;
}
.hero-pfeil:hover { background: var(--rot); }
.hero-zurueck { left: 12px; }
.hero-weiter  { right: 12px; }

/* Footer logo */
.footer-logo span { color: var(--rot); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-sidebar { display: none; }
    .content-area { grid-template-columns: 1fr; }
    .artikel-seite { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .artikel-grid { grid-template-columns: 1fr; }
    .nav-links a { padding: 12px 10px; font-size: 11px; }
    .site-logo-name { font-size: 22px; }
    .footer-main { grid-template-columns: 1fr; }
    .hero-slide-titel { font-size: 20px; }
    .artikel-titel { font-size: 24px; }
}

/* ── Wetter-Widget ── */
.wetter-laden { color: var(--text-leicht); font-size: 13px; padding: 8px 0; }
.wetter-liste { display: flex; flex-direction: column; gap: 6px; }
.wetter-zeile {
    display: grid;
    grid-template-columns: 28px 80px 44px 1fr;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.wetter-zeile:last-child { border-bottom: none; }
.wetter-icon { font-size: 18px; text-align: center; }
.wetter-stadt { font-weight: 600; color: var(--text); }
.wetter-temp { font-weight: 700; color: var(--rot); font-size: 14px; }
.wetter-beschreibung { color: var(--text-leicht); font-size: 12px; }
.wetter-quelle { font-size: 11px; color: var(--text-leicht); margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--border); }

/* ── Breaking News ── */
.breaking-news { background: var(--rot); color: #fff; padding: 8px 0; font-size: 13px; font-weight: 600; }
.breaking-news .inner { display: flex; align-items: center; gap: 12px; }
.breaking-label { background: #fff; color: var(--rot); padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }
.breaking-text { flex: 1; }

/* ── Artikel Meta (Lesezeit, Aufrufe) ── */
.artikel-lesezeit, .artikel-aufrufe { margin-left: 12px; color: var(--text-leicht); font-size: 13px; }

/* ── Share Buttons ── */
.artikel-teilen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.teilen-label { font-size: 13px; font-weight: 600; color: var(--text-mittel); }
.teilen-btn { display: inline-block; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; }
.teilen-facebook  { background: #1877f2; color: #fff; }
.teilen-twitter   { background: #1da1f2; color: #fff; }
.teilen-whatsapp  { background: #25d366; color: #fff; }
.teilen-kopieren  { background: var(--border); color: var(--text); }
.teilen-btn:hover { opacity: .85; }

/* ── Newsletter Seite ── */
.newsletter-seite { max-width: 600px; margin: 0 auto; padding: 40px 0; }
.newsletter-hero { text-align: center; margin-bottom: 32px; }
.newsletter-icon { font-size: 48px; margin-bottom: 12px; }
.newsletter-untertitel { color: var(--text-mittel); margin-top: 8px; }
.newsletter-formular .btn-block { width: 100%; margin-top: 8px; padding: 14px; font-size: 16px; }
.form-datenschutz { font-size: 13px; color: var(--text-mittel); margin: 12px 0; }
.form-datenschutz label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.newsletter-vorteile { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.vorteil-item { color: var(--text-mittel); font-size: 14px; }

/* ── Mediengrid ── */
.medien-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.medien-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--weiss); }
.medien-item img { width: 100%; height: 120px; object-fit: cover; display: block; }
.medien-info { padding: 8px; font-size: 11px; }
.medien-name { display: block; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.medien-groesse { color: var(--text-leicht); }
.medien-item .btn { margin: 0 8px 8px; width: calc(100% - 16px); }

/* ── Notice ── */
.notice { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.notice-erfolg { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.notice-fehler  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Dark Mode ── */
:root[data-theme="dark"] {
    --rot:        #e53935;
    --rot-dark:   #b71c1c;
    --schwarz:    #0a0a0a;
    --text:       #e8e8e8;
    --text-mittel:#aaa;
    --text-leicht:#777;
    --border:     #2a2a2a;
    --bg:         #141414;
    --weiss:      #1e1e1e;
    --shadow:     0 1px 4px rgba(0,0,0,.4);
    --shadow-md:  0 4px 20px rgba(0,0,0,.5);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #bbb;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.hamburger.aktiv span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.aktiv span:nth-child(2) { opacity: 0; }
.hamburger.aktiv span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Dunkelmodus Toggle ── */
.dark-toggle {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
}

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--schwarz);
    color: #ccc;
    z-index: 9999;
    border-top: 2px solid var(--rot);
    padding: 16px 0;
}
.cookie-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: 13px; line-height: 1.5; }
.cookie-text a { color: var(--rot); }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn { padding: 8px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; }
.cookie-ablehnen { background: #333; color: #ccc; }
.cookie-akzeptieren { background: var(--rot); color: #fff; }

/* ── Zurück nach oben ── */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: var(--rot);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 500;
    transition: opacity .2s, transform .2s;
}
.back-to-top:hover { transform: translateY(-2px); }

/* ── Lesefortschritt ── */
.lesefortschritt-wrap {
    position: sticky;
    top: 42px; /* Höhe der Nav */
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border);
    z-index: 99;
}
.lesefortschritt-balken {
    height: 100%;
    background: var(--rot);
    width: 0%;
    transition: width .1s linear;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--weiss);
    transition: background .15s, color .15s;
}
.page-btn:hover { background: var(--rot); color: #fff; border-color: var(--rot); }
.page-btn.aktiv { background: var(--rot); color: #fff; border-color: var(--rot); }

/* ── Suche ── */
.suche-header { margin-bottom: 24px; }
.suche-titel { font-family: var(--serif); font-size: 24px; margin-bottom: 16px; }
.suche-titel em { color: var(--rot); font-style: normal; }
.suche-form-gross { display: flex; gap: 0; }
.suche-form-gross input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 15px;
    background: var(--weiss);
    color: var(--text);
    outline: none;
}
.suche-form-gross input:focus { border-color: var(--rot); }
.suche-form-gross button {
    padding: 12px 20px;
    background: var(--rot);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.suche-leer { padding: 40px; text-align: center; color: var(--text-mittel); }
.artikel-liste-vertikal { display: flex; flex-direction: column; gap: 20px; }
.artikel-zeile {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.az-bild-link { flex-shrink: 0; }
.az-bild-link img { width: 160px; height: 110px; object-fit: cover; border-radius: var(--radius); }
.az-inhalt { flex: 1; }
.az-kat { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.az-titel { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 6px 0; line-height: 1.3; }
.az-titel a:hover { color: var(--rot); }
.az-auszug { font-size: 13px; color: var(--text-mittel); margin-bottom: 8px; }
.az-meta { font-size: 12px; color: var(--text-leicht); }

/* ── Lesezeichen ── */
.lz-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--border);
    color: var(--text);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background .15s;
}
.lz-btn.aktiv { background: var(--rot); color: #fff; }

/* ── Kommentare ── */
.kommentare-bereich { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--border); }
.bereich-titel { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.kommentar-liste { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.kommentar { display: flex; gap: 14px; }
.kommentar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rot);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.kommentar-body { flex: 1; }
.kommentar-kopf { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; }
.kommentar-name { font-weight: 700; font-size: 14px; }
.kommentar-zeit { font-size: 12px; color: var(--text-leicht); }
.kommentar-text { font-size: 14px; line-height: 1.6; }
.kommentar-formular { background: var(--weiss); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.form-titel { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.form-grid { display: flex; flex-direction: column; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-gruppe label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-gruppe input, .form-gruppe textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    outline: none;
}
.form-gruppe input:focus, .form-gruppe textarea:focus { border-color: var(--rot); }
.form-submit {
    padding: 10px 24px;
    background: var(--rot);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.form-submit:hover { background: var(--rot-dark); }
.form-erfolg { background: #d4edda; color: #155724; padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; font-size: 14px; }

/* ── WhatsApp Widget ── */
.whatsapp-widget .whatsapp-btn {
    display: block;
    padding: 10px 16px;
    background: #25d366;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.whatsapp-btn:hover { background: #1da853; }

/* ── Newsletter Mini-Form ── */
.nl-mini-form { display: flex; gap: 0; }
.nl-mini-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    background: var(--bg);
    color: var(--text);
    outline: none;
}
.nl-mini-form button {
    padding: 8px 12px;
    background: var(--rot);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.nl-mini-meldung { margin-top: 8px; font-size: 13px; padding: 6px 10px; border-radius: 4px; }
.nl-mini-meldung.ok { background: #d4edda; color: #155724; }
.nl-mini-meldung.fehler { background: #f8d7da; color: #721c24; }

/* ── Ad Slots ── */
.ad-placeholder {
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-leicht);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 20px;
    min-height: 90px;
}
.ad-widget { padding: 0; }
.ad-widget .ad-placeholder { margin: 0; border-radius: 0; }
.ad-leaderboard { margin: 24px 0; }
.ad-placeholder-breit { min-height: 100px; }

/* ── Gesponsert Label ── */
.gesponsert-label {
    display: inline-block;
    background: var(--border);
    color: var(--text-leicht);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
}

/* ── Druckansicht ── */
@media print {
    .topbar, .site-header .header-suche, .site-nav, .breaking-news,
    .hero, .sidebar, .artikel-teilen, .verwandte-artikel,
    .kommentare-bereich, .site-footer, .back-to-top, .cookie-banner,
    .lesefortschritt-wrap, .lz-btn, nav.breadcrumb, .ad-widget, .ad-leaderboard { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .artikel-volltext { max-width: 100%; }
    .artikel-inhalt { font-size: 12pt; line-height: 1.6; }
    .site-header { display: block; }
    a[href]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--schwarz);
        flex-direction: column;
        padding: 8px 0;
        z-index: 150;
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
    }
    .nav-links.offen { display: flex; }
    .nav-links a { padding: 12px 20px; border-bottom: none; font-size: 14px; }
    .site-nav { position: relative; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-sidebar { display: none; }
    .content-area { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .artikel-grid { grid-template-columns: 1fr 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .az-bild-link img { width: 100px; height: 70px; }
    .cookie-inner { flex-direction: column; }
}

/* ============================================================
   ABSTIMMUNGS-WIDGET
   ============================================================ */
.abstimmung-widget { background: var(--karte-bg, #fff); border: 1px solid var(--karte-rand, #e5e7eb); border-radius: 8px; padding: 24px; margin: 32px 0; }
.ab-frage { font-size: 1.1rem; font-weight: 600; margin: 0 0 16px; }
.ab-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid var(--karte-rand, #e5e7eb); border-radius: 6px; margin-bottom: 8px; cursor: pointer; transition: border-color 0.2s; }
.ab-option:hover, .ab-option:has(input:checked) { border-color: #cc0000; background: #fff5f5; }
.ab-ergebnis-zeile { display: grid; grid-template-columns: 1fr 2fr auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.ab-balken-wrap { background: #f3f4f6; border-radius: 4px; height: 10px; overflow: hidden; }
.ab-balken { background: #cc0000; height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.ab-pct { font-size: 0.85rem; font-weight: 600; color: #374151; text-align: right; min-width: 36px; }
.ab-opt-label { font-size: 0.9rem; }
.ab-gesamt { font-size: 0.8rem; color: #9ca3af; margin-top: 8px; }
.ab-feedback { color: #cc0000; margin-top: 8px; font-size: 0.9rem; }

/* AUTOR-SEITE */
.autor-seite .autor-hero { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 48px 0; }
.autor-seite .autor-hero .inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.autor-avatar { width: 80px; height: 80px; border-radius: 50%; background: #cc0000; color: #fff; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.autor-name { font-size: 2rem; font-weight: 700; margin: 0 0 8px; }
.autor-meta { color: #6b7280; margin: 0; }

/* LESEZEICHEN-SEITE */
.lz-seite .seite-titel { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.lz-seite .seite-untertitel { color: #6b7280; margin-bottom: 32px; }

/* TAG-SEITE – nutzt .kat-hero styles von kategorie.php */
.tag-seite .kat-hero { background: #f9fafb; border-bottom: 1px solid #e5e7eb; padding: 32px 0; }

/* ============================================================
   DESIGN VERBESSERUNGEN v1.1
   ============================================================ */

/* ── Logo: roter Akzentpunkt ── */
.site-logo-name::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 22px;
    background: var(--rot);
    border-radius: 2px;
    margin-right: 7px;
    vertical-align: middle;
    margin-top: -3px;
}

/* ── Nav: roter Unterstrich bei Hover ── */
.nav-links a:hover {
    color: #fff;
    border-bottom-color: rgba(204,0,0,0.5);
}

/* ── Artikel-Karten: Hover-Lift ── */
.artikel-karte {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border-radius: var(--radius);
}
.artikel-karte:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}
.karte-bild img {
    transition: transform 0.3s ease;
}
.artikel-karte:hover .karte-bild img {
    transform: scale(1.03);
}
.karte-bild { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }

/* ── Sidebar: Artikel mit Thumbnail ── */
.widget-link-with-thumb {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s;
    text-decoration: none;
    color: inherit;
}
.widget-link-with-thumb:last-child { border-bottom: none; }
.widget-link-with-thumb:hover { background: #fafafa; }
.widget-thumb {
    width: 60px;
    height: 44px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    background: var(--border);
}
.widget-thumb-placeholder {
    width: 60px;
    height: 44px;
    background: linear-gradient(135deg, #e8eaed 0%, #d0d3d9 100%);
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
}
.widget-link-text { flex: 1; min-width: 0; }
.widget-link-text .widget-link-kat { margin-bottom: 2px; }
.widget-link-text .widget-link-titel { font-family: var(--serif); font-size: 13px; font-weight: 600; line-height: 1.35; }

/* ── Artikel-Inhalt: Lead-Paragraph + bessere Typografie ── */
.artikel-inhalt > p:first-of-type {
    font-size: 1.12em;
    color: #2a2a2a;
    font-weight: 400;
    border-left: 3px solid var(--rot);
    padding-left: 16px;
    margin-bottom: 1.5em;
}
.artikel-inhalt h2 {
    font-size: 1.35em;
    font-weight: 700;
    margin: 1.8em 0 0.6em;
    color: var(--schwarz);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.artikel-inhalt a {
    color: var(--rot);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.artikel-inhalt a:hover { opacity: 0.8; }

/* ── Artikel-Titel: bessere Lesbarkeit ── */
.artikel-titel {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.3px;
    color: var(--schwarz);
    margin-bottom: 16px;
}

/* ── Footer: bessere Social-Icons ── */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #ccc;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover {
    background: var(--rot);
    color: #fff;
    border-color: var(--rot);
}

/* ── Footer: Newsletter-Zeile im Footer ── */
.footer-nl-form {
    display: flex;
    gap: 0;
    margin-top: 16px;
}
.footer-nl-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: rgba(255,255,255,0.06);
    color: #ddd;
    font-size: 13px;
    outline: none;
}
.footer-nl-form input::placeholder { color: #666; }
.footer-nl-form button {
    padding: 8px 14px;
    background: var(--rot);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.footer-nl-form button:hover { background: var(--rot-dark); }

/* ── Widget-Kopf: stärker betont ── */
.widget-kopf {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--weiss);
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--schwarz);
}

/* ── Breaking-News Band ── */
.breaking-band {
    background: var(--rot);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
}
.breaking-band-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.breaking-label {
    background: rgba(0,0,0,0.25);
    padding: 2px 10px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   HOMEPAGE VERBESSERUNGEN v1.1
   ============================================================ */

/* ── 404 Fehlerseite ── */
.fehler-seite { padding: 60px 20px; }
.fehler-inner { text-align: center; max-width: 560px; margin: 0 auto 60px; }
.fehler-404-zahl { font-family: var(--serif); font-size: 120px; font-weight: 700; color: var(--rot); line-height: 1; }
.fehler-titel { font-family: var(--serif); font-size: 28px; margin: 8px 0 16px; }
.fehler-text { color: var(--text-mittel); font-size: 16px; margin-bottom: 28px; }
.fehler-aktionen { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-fehler-home { background: var(--rot); color: #fff; padding: 11px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.btn-fehler-suche { background: var(--bg); color: var(--text); padding: 11px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; border: 1px solid var(--border); }
.fehler-neueste { padding: 0 20px 60px; }

/* ── Druckansicht ── */
.druck-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg); color: var(--text-mittel);
    border: 1px solid var(--border); border-radius: 6px;
    padding: 6px 14px; font-size: 13px; cursor: pointer;
    margin-bottom: 8px; transition: background .18s;
}
.druck-btn:hover { background: var(--border); }

@media print {
    .site-header, .main-nav, .site-footer, .mobile-bottom-nav,
    .cookie-banner, .back-to-top, .breaking-ticker,
    .lz-btn, .druck-btn, .artikel-teilen, .kommentare-bereich,
    .verwandte-artikel, .content-sidebar, .lesefortschritt-wrap,
    .sidebar, .breadcrumb { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .artikel-volltext { max-width: 100%; }
    .artikel-titel { font-size: 22pt; }
    .artikel-inhalt { font-size: 11pt; line-height: 1.6; }
    a[href]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
    .artikel-titelbild img { max-width: 60%; }
}

/* ── Share Buttons verbessert ── */
.artikel-teilen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 20px; }
.teilen-label { font-size: 13px; font-weight: 600; color: var(--text-mittel); margin-right: 4px; }
.teilen-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 6px; font-size: 13px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer; transition: opacity .18s, transform .1s;
    white-space: nowrap;
}
.teilen-btn:hover { opacity: .85; transform: translateY(-1px); }
.teilen-btn:active { transform: translateY(0); }
.teilen-facebook { background: #1877f2; color: #fff; }
.teilen-twitter  { background: #000; color: #fff; }
.teilen-whatsapp { background: #25d366; color: #fff; }
.teilen-kopieren { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* ── Breaking News Ticker ── */
.breaking-ticker {
    display: flex;
    align-items: center;
    background: var(--rot);
    color: var(--weiss);
    overflow: hidden;
    height: 36px;
}
.breaking-label {
    flex-shrink: 0;
    background: var(--schwarz);
    color: var(--weiss);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
    color: var(--weiss);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    padding: 0 8px;
    transition: opacity .2s;
}
.ticker-item:hover { opacity: .8; text-decoration: underline; }
.ticker-sep { color: rgba(255,255,255,.5); padding: 0 4px; }
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Featured Article ── */
.artikel-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
    background: var(--weiss);
    box-shadow: var(--shadow);
}
.artikel-featured-bild-link { display: block; overflow: hidden; background: #e8eaed; }
.artikel-featured-bild-link img,
.artikel-featured-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
    transition: transform .4s ease;
}
.artikel-featured-bild-link:hover img { transform: scale(1.03); }
.artikel-featured-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.artikel-featured-titel {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.artikel-featured-titel a { color: var(--text); text-decoration: none; }
.artikel-featured-titel a:hover { color: var(--rot); }
.artikel-featured-auszug {
    font-size: 14px;
    color: var(--text-mittel);
    line-height: 1.65;
    margin: 0;
}
.lesezeit {
    font-size: 12px;
    color: var(--text-leicht);
}
.weiterlesen-btn {
    display: inline-block;
    background: var(--rot);
    color: var(--weiss);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
    margin-left: auto;
    transition: background .2s;
}
.weiterlesen-btn:hover { background: var(--rot-dark); }

@media (max-width: 768px) {
    .artikel-featured { grid-template-columns: 1fr; }
    .artikel-featured-bild-link img,
    .artikel-featured-placeholder { min-height: 200px; }
    .artikel-featured-body { padding: 16px; }
    .artikel-featured-titel { font-size: 18px; }
    .breaking-ticker { height: 32px; }
    .breaking-label { font-size: 10px; padding: 0 10px; }
    .ticker-item { font-size: 12px; }
}

/* ============================================================
   MOBILE OPTIMIERUNG v1.2
   ============================================================ */

/* ── Mobile Bottom Navigation ── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--weiss);
    border-top: 1px solid var(--border);
    z-index: 1000;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-nav-inner {
    display: flex;
    height: 56px;
}
.mobile-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: var(--text-leicht);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.mobile-nav-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-nav-btn.aktiv { color: var(--rot); }
.mobile-nav-btn.aktiv svg { stroke: var(--rot); }
.mobile-nav-btn:active { opacity: 0.7; }

/* ── Mobile Nav Overlay ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 149;
    backdrop-filter: blur(2px);
}
.nav-overlay.aktiv { display: block; }

/* ── Mobile Suche Overlay ── */
.mobile-suche-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--weiss);
    z-index: 500;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
}
.mobile-suche-overlay.aktiv { display: flex; gap: 10px; align-items: center; }
.mobile-suche-overlay form { flex: 1; display: flex; gap: 8px; }
.mobile-suche-overlay input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--rot);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: var(--bg);
    color: var(--text);
}
.mobile-suche-overlay button[type=submit] {
    background: var(--rot); color: #fff; border: none;
    padding: 10px 16px; border-radius: 8px; font-size: 16px; cursor: pointer;
}
.mobile-suche-close {
    background: none; border: none; font-size: 22px;
    color: var(--text-leicht); cursor: pointer; padding: 8px; flex-shrink: 0;
}

@media (max-width: 768px) {
    /* Topbar ausblenden – spart Platz */
    .topbar { display: none; }

    /* Body Platz für Bottom-Nav */
    body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

    /* Bottom Nav anzeigen */
    .mobile-bottom-nav { display: block; }

    /* Zurück-nach-oben höher */
    .back-to-top { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); right: 16px; width: 40px; height: 40px; font-size: 16px; }

    /* ── Header kompakt ── */
    .header-inner { flex-direction: row; padding: 0 14px; height: 52px; }
    .site-header { padding: 0; border-bottom: 1px solid var(--border); }
    .site-logo-name { font-size: 22px; letter-spacing: -0.5px; }
    .site-logo-tagline { display: none; }
    .header-suche { display: none; } /* via Bottom-Nav Suche öffnen */

    /* ── Navigation Slide-in ── */
    .hamburger { display: flex; padding: 10px; margin-left: auto; }
    .nav-links {
        display: block !important; /* override inline */
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 280px;
        background: var(--schwarz);
        flex-direction: column;
        padding: 0;
        z-index: 150;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
        box-shadow: none;
    }
    .nav-links.offen {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.4);
    }
    .nav-links a {
        display: block;
        padding: 15px 22px;
        font-size: 15px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        color: #ccc;
        letter-spacing: 0.2px;
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    .nav-links a:first-child { margin-top: 52px; } /* Platz für Schließen-Bereich */
    .nav-links a:hover, .nav-links a.aktiv { color: #fff; background: rgba(204,0,0,0.15); border-left: 3px solid var(--rot); }
    .nav-aktuell { padding: 6px 12px; }
    .nav-aktuell-badge, .nav-aktuell-zeit { display: none; }

    /* Site-Nav Position */
    .site-nav { position: relative; }

    /* ── Hero Mobile ── */
    .hero { margin-bottom: 0; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-slide-info { padding: 16px; }
    .hero-slide-titel { font-size: 18px; line-height: 1.3; }
    .hero-slide-auszug { display: none; }
    .hero-slide-meta { font-size: 11px; }
    .hero-slide-bild { height: 220px; }
    .hero-pfeil { width: 34px; height: 34px; font-size: 18px; }
    .hero-nav { bottom: 8px; }

    /* ── Content Area ── */
    .content-area {
        grid-template-columns: 1fr;
        padding: 12px 12px 20px;
        gap: 0;
    }

    /* ── Artikel-Grid: horizontal cards auf Mobile ── */
    .artikel-grid { grid-template-columns: 1fr; gap: 0; }
    .artikel-karte {
        display: grid;
        grid-template-columns: 110px 1fr;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        background: var(--weiss);
        margin-bottom: 0;
        overflow: hidden;
        transform: none !important;
        box-shadow: none !important;
    }
    .artikel-karte:hover { transform: none !important; box-shadow: none !important; }
    .artikel-karte > a:first-child { order: -1; }
    .artikel-karte-bild, .artikel-karte-placeholder {
        width: 110px;
        height: 85px;
        object-fit: cover;
        border-radius: 0;
        flex-shrink: 0;
    }
    .artikel-karte-placeholder { height: 85px; }
    .karte-bild { border-radius: 0; height: 100%; }
    .karte-bild img { height: 100%; object-fit: cover; border-radius: 0; transform: none !important; }
    .artikel-karte-body { padding: 10px 12px; }
    .artikel-karte-kat { font-size: 9px; margin-bottom: 4px; }
    .artikel-karte-titel { font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
    .artikel-karte-titel a { font-family: var(--serif); font-weight: 600; }
    .artikel-karte-auszug { display: none; }
    .artikel-karte-meta { font-size: 11px; color: var(--text-leicht); }
    .section-titel { padding: 10px 12px; font-size: 11px; background: var(--weiss); border-bottom: 1px solid var(--border); }

    /* ── Sidebar ausblenden (Bottom-Nav übernimmt) ── */
    .sidebar { display: none; }

    /* ── Artikel-Seite Mobile ── */
    .artikel-seite { padding: 0; gap: 0; grid-template-columns: 1fr; }
    .artikel-haupt { padding: 0; }
    .artikel-header { padding: 16px 16px 0; margin-bottom: 12px; }
    .artikel-titel { font-size: 22px; line-height: 1.25; }
    .artikel-inhalt { font-size: 16px; line-height: 1.72; padding: 0 16px 24px; }
    .artikel-inhalt > p:first-of-type { font-size: 1.05em; }
    .artikel-meta { padding: 10px 16px 14px; margin: 0 0 0; flex-wrap: wrap; gap: 8px; }
    .artikel-titelbild { margin: 0 0 16px; }
    .artikel-titelbild img { border-radius: 0; width: 100%; }
    .artikel-teilen { padding: 0 16px; margin-bottom: 16px; }
    .content-wrap { padding: 0; }
    .artikel-volltext { padding: 0; border-radius: 0; box-shadow: none; border: none; }

    /* ── Kat-Header Mobile ── */
    .kat-header { padding: 18px 0; }
    .kat-name { font-size: 22px; }
    .kat-inner { padding: 0 14px; }

    /* ── Pagination Mobile ── */
    .pagination { gap: 4px; flex-wrap: wrap; justify-content: center; padding: 0 12px; }
    .page-btn, .pagination a { min-height: 44px; min-width: 44px; font-size: 14px; }

    /* ── Cookie Banner Mobile ── */
    .cookie-banner { border-top: 3px solid var(--rot); }
    .cookie-inner { flex-direction: column; gap: 12px; padding: 14px 16px; }
    .cookie-buttons { width: 100%; justify-content: stretch; gap: 8px; }
    .cookie-btn { flex: 1; padding: 11px; font-size: 14px; border-radius: 6px; }

    /* ── Footer Mobile ── */
    .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 28px 16px; }
    .footer-col:nth-child(3), .footer-col:nth-child(4) { display: none; } /* Nur erste 2 Spalten */
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 14px 16px; }

    /* ── Breaking News Mobile ── */
    .breaking-news { font-size: 12px; padding: 6px 0; }
    .breaking-news .inner { padding: 0 14px; }

    /* ── Ad-Slots ausblenden ── */
    .ad-leaderboard, .ad-widget { display: none; }

    /* ── Verwandte Artikel Mobile ── */
    .verwandte-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
    .artikel-karte { grid-template-columns: 90px 1fr; }
    .artikel-karte-bild, .artikel-karte-placeholder { width: 90px; height: 75px; }
    .karte-bild img { height: 75px; }
    .artikel-titel { font-size: 20px; }
    .hero-slide-bild { height: 180px; }
}

/* Dark Mode Bottom Nav */
:root[data-theme="dark"] .mobile-bottom-nav {
    background: var(--weiss);
    border-top-color: var(--border);
}
:root[data-theme="dark"] .mobile-suche-overlay {
    background: var(--weiss);
}
:root[data-theme="dark"] .mobile-suche-overlay input {
    background: #111;
    color: var(--text);
}

/* ── Artikel-Meta: verbessert ── */
.artikel-meta {
    font-size: 13px;
    color: var(--text-leicht);
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.artikel-datum { font-weight: 500; }
.artikel-lesezeit::before { content: '· '; opacity: 0.5; }
.artikel-aufrufe::before { content: '· '; opacity: 0.5; }

/* ── Live-Suche Vorschläge ── */
.suche-vorschlaege {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--weiss);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 1000;
    overflow: hidden;
}
.sv-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.sv-item:last-child { border-bottom: none; }
.sv-item:hover { background: var(--bg-leicht); }
.sv-kat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.sv-titel {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}
:root[data-theme="dark"] .suche-vorschlaege {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
:root[data-theme="dark"] .sv-item:hover { background: #2a2a2a; }

/* ── Artikel-Tools (Schrift / Druck) ── */
.artikel-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}
.tools-label {
    font-size: 12px;
    color: var(--text-leicht);
    margin-right: 4px;
}
.schrift-btn {
    background: var(--bg-leicht);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    padding: 4px 10px;
    transition: background .15s, border-color .15s;
}
.schrift-btn:hover { background: var(--border); }
.schrift-btn.aktiv {
    background: var(--rot);
    border-color: var(--rot);
    color: #fff;
}
.druck-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-leicht);
    cursor: pointer;
    font-size: 15px;
    padding: 4px 10px;
    margin-left: auto;
    transition: background .15s;
}
.druck-btn:hover { background: var(--bg-leicht); }

/* ── Skeleton Loading ── */
@keyframes skeleton-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--bg-leicht) 25%, var(--border) 50%, var(--bg-leicht) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.4s infinite linear;
    border-radius: 6px;
}
.skeleton-karte {
    background: var(--weiss);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.skeleton-bild {
    width: 100%;
    aspect-ratio: 16/9;
}
.skeleton-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-kat  { height: 12px; width: 60px; }
.skeleton-titel { height: 16px; width: 90%; }
.skeleton-titel-2 { height: 16px; width: 70%; }
.skeleton-text  { height: 12px; width: 80%; }
.skeleton-meta  { height: 11px; width: 50%; }

/* ── Ressort-Farbbalken auf Artikel-Seite ── */
.artikel-kategorie-balken {
    height: 4px;
    width: 100%;
    border-radius: 2px;
    margin-bottom: 16px;
}
.artikel-ressort-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 12px;
    text-decoration: none;
}
.artikel-ressort-badge:hover { opacity: .85; }

/* ── Dark-Mode Fixes ── */
:root[data-theme="dark"] .breaking-ticker {
    background: #1a1a1a;
    border-color: #333;
}
:root[data-theme="dark"] .artikel-featured {
    background: #1a1a1a;
    border-color: #333;
}
:root[data-theme="dark"] .artikel-karte {
    background: #1a1a1a;
    border-color: #333;
}
:root[data-theme="dark"] .schrift-btn {
    background: #2a2a2a;
    border-color: #444;
}
:root[data-theme="dark"] .schrift-btn:hover { background: #333; }
:root[data-theme="dark"] .artikel-tools .tools-label { color: #888; }
:root[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
    background-size: 800px 100%;
}
:root[data-theme="dark"] .skeleton-karte {
    background: #1a1a1a;
    border-color: #333;
}

