/* ========================================
   HERO GRID LAYOUT - COUNTDOWN RECHTS
   Überschreibt die Standard-Hero-Styles
======================================== */

/* Grid-Layout für Hero auf Desktop */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-8);
    align-items: center;
    padding-bottom: var(--space-8) !important;
}

/* Hauptinhalt links */
.hero-content {
    /* Nimmt den verfügbaren Platz ein */
}

/* Sidebar rechts mit Countdown */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Countdown komplett neu gestaltet */
.hero-sidebar .countdown {
    position: static;
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: var(--space-5);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.countdown-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-2);
}

.countdown .countdown-label {
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    margin-bottom: var(--space-4);
    color: var(--white);
}

/* Timer-Anzeige mit Tage, Stunden, Minuten */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    min-width: 70px;
}

.countdown-number {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.countdown-unit {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.countdown-date {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
    font-weight: 500;
}

/* CTA-Link im Countdown */
.countdown-cta {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

.countdown-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #e55a28;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 280px;
        gap: var(--space-6);
    }

    .hero-sidebar .countdown {
        max-width: 260px;
        padding: var(--space-4);
    }

    .countdown-item {
        min-width: 60px;
        padding: var(--space-2);
    }

    .countdown-number {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    /* Auf Mobile: Untereinander */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding-bottom: var(--space-6) !important;
    }

    /* Content zuerst */
    .hero-content {
        order: 1;
    }

    /* Countdown danach */
    .hero-sidebar {
        order: 2;
        align-items: stretch;
    }

    .hero-sidebar .countdown {
        max-width: 100%;
        margin: 0;
    }

    /* Timer-Items etwas größer auf Mobile */
    .countdown-timer {
        gap: var(--space-2);
    }

    .countdown-item {
        flex: 1;
        min-width: auto;
    }

    .countdown-number {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   RESPONSIVE - KLEINE MOBILE GERÄTE
======================================== */
@media (max-width: 480px) {
    .countdown-icon {
        font-size: var(--text-4xl);
    }

    .countdown .countdown-label {
        font-size: var(--text-base);
    }

    .countdown-item {
        padding: var(--space-1) var(--space-2);
    }

    .countdown-number {
        font-size: var(--text-xl);
    }

    .countdown-unit {
        font-size: 0.65rem;
    }
}

/* ========================================
   CARD-LINK STYLE FÜR ERFOLGE-KARTEN
======================================== */
.card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--petrol-main);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-top: var(--space-3);
    transition: all 0.2s ease;
}

.card:hover .card-link {
    transform: translateX(4px);
}

/* Klickbare Karten-Styles für Erfolge */
a.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

/* Issue-Cards klickbar machen */
a.issue-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.issue-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   FIX: SCHRIFTFARBEN AUF DUNKLEM HINTERGRUND
======================================== */

.issue-title{
    color: var(--white) !important;
}

/* Kernthemen-Überschrift auf weiß (falls nicht vererbt) */
.section-issues .section-title {
    color: var(--white) !important;
}

/* Pressekontakt-Überschrift auf weiß */
.press-contact h4 {
    color: var(--white) !important;
}