/* ===== Basis ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --farbe-primaer: #4f46e5;
    --farbe-primaer-dunkel: #3730a3;
    --farbe-akzent: #06b6d4;
    --farbe-text: #1f2937;
    --farbe-text-hell: #6b7280;
    --farbe-hintergrund: #f8fafc;
    --farbe-karte: #ffffff;
    --schatten: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 14px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--farbe-hintergrund);
    color: var(--farbe-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--farbe-primaer);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Header ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--farbe-text);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--farbe-primaer);
}

.logo:hover {
    text-decoration: none;
}

.main-nav a {
    color: var(--farbe-text-hell);
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--farbe-primaer);
    text-decoration: none;
}

/* ===== Artikel-Übersicht ===== */
.section-title {
    font-size: 1.8rem;
    margin: 50px 0 30px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--farbe-primaer);
    display: inline-block;
}

.artikel-liste {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.artikel-card {
    background: var(--farbe-karte);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.artikel-card:hover {
    border-color: #d1d5db;
    box-shadow: var(--schatten);
}

.artikel-inhalt {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artikel-bild {
    flex-shrink: 0;
    width: 240px;
}

.artikel-bild picture,
.artikel-bild img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.kategorie {
    display: inline-block;
    align-self: flex-start;
    background: var(--farbe-primaer);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.artikel-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.artikel-card h3 a {
    color: var(--farbe-text);
}

.artikel-card h3 a:hover {
    color: var(--farbe-primaer);
    text-decoration: none;
}

.teaser {
    color: var(--farbe-text-hell);
    flex: 1;
}

.artikel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: var(--farbe-text-hell);
}

.weiterlesen {
    font-weight: 600;
}

.weiterlesen:hover {
    text-decoration: none;
    color: var(--farbe-primaer-dunkel);
}

/* ===== Artikel-Seite ===== */
.artikel-seite {
    max-width: 760px;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    padding: 50px 45px 60px;
    margin-bottom: 60px;
}

.artikel-seite h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.artikel-datum {
    color: var(--farbe-text-hell);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.artikel-hero-bild,
.artikel-hero-bild picture {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    display: block;
}

.artikel-hero-bild img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.artikel-grafik {
    margin: 24px auto;
    max-width: 600px;
}

.artikel-grafik picture,
.artikel-grafik img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.artikel-grafik figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--farbe-text-hell);
    text-align: center;
}

.artikel-seite .lead {
    font-size: 1.2rem;
    font-weight: 500;
    border-left: 4px solid var(--farbe-primaer);
    padding-left: 18px;
    margin-bottom: 26px;
    color: var(--farbe-text);
}

.artikel-seite h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
}

.artikel-seite p {
    margin-bottom: 16px;
}

.artikel-seite ul {
    margin: 0 0 20px 24px;
}

.artikel-seite li {
    margin-bottom: 8px;
}

.zurueck {
    margin-top: 40px;
    font-weight: 600;
}

.quelle {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: var(--farbe-text-hell);
}

/* ===== Ansichts-Umschalter (Lang-/Kurzfassung, ohne JS) ===== */
.ansicht-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.ansicht-wechsel {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--farbe-hintergrund);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 30px;
}

.ansicht-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--farbe-text-hell);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ansicht-btn:hover {
    color: var(--farbe-primaer);
    text-decoration: none;
}

#ansicht-lang:checked ~ .ansicht-wechsel label[for="ansicht-lang"],
#ansicht-kurz:checked ~ .ansicht-wechsel label[for="ansicht-kurz"] {
    background: var(--farbe-primaer);
    color: #fff;
}

#ansicht-lang:focus-visible ~ .ansicht-wechsel label[for="ansicht-lang"],
#ansicht-kurz:focus-visible ~ .ansicht-wechsel label[for="ansicht-kurz"] {
    outline: 2px solid var(--farbe-primaer);
    outline-offset: 2px;
}

#ansicht-lang:checked ~ .fassung-kurz,
#ansicht-kurz:checked ~ .fassung-lang {
    display: none;
}

.kurz-cta {
    margin-top: 24px;
    font-weight: 600;
}

/* ===== Info-Box (Impressum) ===== */
.info-box {
    background: var(--farbe-hintergrund);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 1rem;
}

.info-box-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.info-box-text {
    margin: 0;
}

/* ===== Empfehlungen ===== */
.empfehlungen {
    max-width: 760px;
    margin-bottom: 60px;
}

.empfehlungen-titel {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--farbe-primaer);
    display: inline-block;
}

.empfehlungen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.empfehlung-card {
    background: var(--farbe-karte);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.empfehlung-card:hover {
    border-color: #d1d5db;
    box-shadow: var(--schatten);
    text-decoration: none;
}

.empfehlung-card picture,
.empfehlung-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.empfehlung-inhalt {
    padding: 16px 18px 20px;
}

.empfehlung-inhalt h3 {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--farbe-text);
}

/* ===== Footer ===== */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 50px 0 0;
    margin-top: 40px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    color: #fff;
    font-size: 1.4rem;
}

.footer-logo span {
    color: var(--farbe-akzent);
}

.footer-claim {
    margin-top: 14px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-spalte h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-spalte ul {
    list-style: none;
}

.footer-spalte li {
    margin-bottom: 10px;
}

.footer-spalte a {
    color: #9ca3af;
    transition: color 0.2s;
}

.footer-spalte a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-unten {
    border-top: 1px solid #1f2937;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .main-nav a {
        margin-left: 14px;
        font-size: 0.9rem;
    }

    .artikel-seite {
        padding: 30px 20px 40px;
    }

    .artikel-seite h1 {
        font-size: 1.7rem;
    }

    .artikel-card {
        flex-direction: column;
        align-items: stretch;
    }

    .artikel-bild {
        width: 100%;
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .empfehlungen-grid {
        grid-template-columns: 1fr;
    }
}
