/* ══════════════════════════════════════════════════════════════
   CSS VARIABLEN
   ══════════════════════════════════════════════════════════════ */
:root {
    --paper: #FAF8F5;
    --paper-dark: #F0EDE8;
    --ink: #1A1A1A;
    --ink-light: #4A4A4A;
    --ink-faded: #7A7A7A;
    --rule: #C8C4BC;
    --rule-dark: #A8A49C;
    --accent: #8B0000;

    /* Sanfter Farbton für den Tagesimpuls */
    --impulse-bg: #F5F0E8;
    --impulse-border: #D4C9B8;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-meta: 'Cormorant Garamond', Georgia, serif;
    --font-impulse: 'Lora', Georgia, serif;

    --max-width: 1100px;
    --spacing: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASIS
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   DRAFT-WARNUNG
   ══════════════════════════════════════════════════════════════ */
.draft-notice {
    background: #FEF3E0;
    border-left: 4px solid #F0A000;
    padding: 1rem var(--spacing);
    margin: 0;
    text-align: center;
}

.draft-notice p {
    font-family: var(--font-meta);
    font-size: 0.9rem;
    color: #8B6914;
    margin: 0;
}

.draft-notice strong {
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT CONTAINER
   ══════════════════════════════════════════════════════════════ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* ══════════════════════════════════════════════════════════════
   KOPFZEILE
   ══════════════════════════════════════════════════════════════ */
.masthead {
    text-align: center;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--rule);
}

.masthead-date {
    font-family: var(--font-meta);
    font-size: 0.85rem;
    color: var(--ink-faded);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.support-link {
    color: var(--ink-faded);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0;
}

.support-link:hover {
    color: var(--accent);
}

.masthead-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.masthead-title a {
    color: inherit;
    text-decoration: none;
}

.masthead-tagline {
    font-family: var(--font-meta);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-light);
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 3px double var(--rule);
    flex-wrap: wrap;
}

.main-nav a {
    font-family: var(--font-meta);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-light);
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   TAGESIMPULS
   ══════════════════════════════════════════════════════════════ */
.daily-impulse {
    background: var(--impulse-bg);
    border-top: 1px solid var(--impulse-border);
    border-bottom: 1px solid var(--impulse-border);
    padding: 3rem var(--spacing);
    margin: 2rem 0;
    text-align: center;
}

.impulse-text {
    font-family: var(--font-impulse);
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-style: italic;
    line-height: 1.7;
    color: var(--ink);
    max-width: 750px;
    margin: 0 auto;
}

.impulse-attribution {
    font-family: var(--font-meta);
    font-size: 0.9rem;
    color: var(--ink-faded);
    margin-top: 1.25rem;
    letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════
   HAUPTINHALT – Spalten-Layout
   ══════════════════════════════════════════════════════════════ */
.content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .content {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   RUBRIK-ÜBERSCHRIFTEN
   ══════════════════════════════════════════════════════════════ */
.section-header {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faded);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   INFORMIEREN – Kompakte Nachrichtenliste
   ══════════════════════════════════════════════════════════════ */
.news-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.news-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
}

.news-item:last-child {
    border-bottom: none;
}

.news-link {
    display: block;
}

.news-link:hover .news-title {
    color: var(--accent);
}

.news-source {
    font-family: var(--font-meta);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faded);
    margin-bottom: 0.2rem;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.2s ease;
}

/* ══════════════════════════════════════════════════════════════
   REFLEKTIEREN – Ausführlichere Artikel
   ══════════════════════════════════════════════════════════════ */
.article {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--rule);
}

.article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-link {
    display: block;
}

.article-link:hover .article-title {
    color: var(--accent);
}

.article-source {
    font-family: var(--font-meta);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faded);
    margin-bottom: 0.4rem;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.article-summary {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR – HANDELN
   ══════════════════════════════════════════════════════════════ */
.sidebar {
    border-left: none;
    padding-left: 0;
}

@media (min-width: 768px) {
    .sidebar {
        border-left: 1px solid var(--rule);
        padding-left: 2rem;
    }
}

.action-list {
    list-style: none;
}

.action-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
}

.action-item:first-child {
    padding-top: 0;
}

.action-item:last-child {
    border-bottom: none;
}

.action-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.3rem;
}

.action-description {
    font-family: var(--font-meta);
    font-size: 0.9rem;
    color: var(--ink-light);
    line-height: 1.5;
}

.action-link {
    font-family: var(--font-meta);
    font-size: 0.85rem;
    color: var(--ink-faded);
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.action-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Für vollständige Handeln-Seite: größere action-items */
.category .action-item {
    padding: 1.25rem 0;
}

.category .action-title {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.category .action-description {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.action-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-meta);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-faded);
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.action-more:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   SEITENTITEL (für Unterseiten)
   ══════════════════════════════════════════════════════════════ */
.page-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-subtitle {
    font-family: var(--font-meta);
    font-size: 1.05rem;
    color: var(--ink-light);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   EINLEITUNG
   ══════════════════════════════════════════════════════════════ */
.intro {
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
}

.intro-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.7;
    max-width: 650px;
}

.intro-text p {
    margin-bottom: 1rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   THEMENBLÖCKE (für "Das bleibt")
   ══════════════════════════════════════════════════════════════ */
.topic {
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
}

.topic:last-child {
    border-bottom: none;
}

.topic-header {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.topic-updated {
    font-family: var(--font-meta);
    font-size: 0.8rem;
    color: var(--ink-faded);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.topic-summary {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.topic-links {
    list-style: none;
}

.topic-links li {
    padding: 0.4rem 0;
}

.topic-links a {
    font-family: var(--font-meta);
    font-size: 0.95rem;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.topic-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.topic-links .link-source {
    font-size: 0.8rem;
    color: var(--ink-faded);
    margin-left: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   THEMENKARTEN-GRID (für "Einordnen")
   ══════════════════════════════════════════════════════════════ */
.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
}

@media (min-width: 600px) {
    .topics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.topic-card {
    border: 1px solid var(--rule);
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.topic-card:hover {
    border-color: var(--rule-dark);
}

.topic-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.topic-card-description {
    font-family: var(--font-meta);
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.topic-card-link {
    font-family: var(--font-meta);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-faded);
    transition: color 0.2s ease;
}

.topic-card:hover .topic-card-link {
    color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   KATEGORIEN (für "Handeln")
   ══════════════════════════════════════════════════════════════ */
.category {
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
}

.category:last-child {
    border-bottom: none;
}

.category-header {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faded);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   MEDIEN-LISTE (für "Unterstützen")
   ══════════════════════════════════════════════════════════════ */
.media-list {
    list-style: none;
}

.media-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--rule);
}

.media-item:first-child {
    padding-top: 0;
}

.media-item:last-child {
    border-bottom: none;
}

.media-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.media-description {
    font-family: var(--font-meta);
    font-size: 0.95rem;
    color: var(--ink-light);
    margin-bottom: 0.6rem;
    font-style: italic;
}

.media-link {
    font-family: var(--font-meta);
    font-size: 0.85rem;
    color: var(--ink-faded);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.media-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   HINWEIS-BOX
   ══════════════════════════════════════════════════════════════ */
.notice {
    background: var(--paper-dark);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 2rem;
    font-family: var(--font-meta);
    font-size: 0.9rem;
    color: var(--ink-light);
    border-left: 3px solid var(--rule-dark);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   FUSSZEILE
   ══════════════════════════════════════════════════════════════ */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 3px double var(--rule);
}

.footer-text {
    font-family: var(--font-meta);
    font-size: 0.85rem;
    color: var(--ink-faded);
    font-style: italic;
}

.footer-links {
    margin-top: 0.75rem;
    font-family: var(--font-meta);
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--ink-light);
    margin: 0 0.75rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE ANPASSUNGEN
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    html {
        font-size: 16px;
    }

    .main-nav {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 0.8rem;
    }

    .daily-impulse {
        padding: 2rem var(--spacing);
    }

    .news-title {
        font-size: 1rem;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .topic-header {
        font-size: 1.3rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   DRUCK-OPTIMIERUNG
   ══════════════════════════════════════════════════════════════ */
@media print {
    body {
        background: white;
    }

    .daily-impulse {
        background: #f5f5f5;
    }
}
