.widget-countdown {
    max-width: 720px;
    margin: 0 auto;
    /* Seitliches Polster auf dem Handy kleiner: 1,5rem links und rechts sind
       auf 375px Breite schon 16 % des Bildschirms. */
    padding: var(--wl-section-spacing, 4rem) clamp(0.75rem, 4vw, 1.5rem);
    text-align: center;
}

.countdown__head {
    margin-bottom: 2rem;
}

.countdown__eyebrow {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    opacity: 0.45;
    margin-bottom: 0.9rem;
}

.widget-countdown__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
}

.countdown__subtitle {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.6;
}

/* Vier Kästchen, IMMER in einer Zeile.
   Bewusst Grid statt flex-wrap: umgebrochen sähe der Countdown auf dem Handy
   aus wie zwei getrennte Blöcke ("40 00" über "51 26") -- man liest ihn dann
   nicht mehr als eine Zeitangabe. Die Kästchen werden stattdessen schmaler,
   und alle Innenmaße hängen an der Bildschirmbreite. */
.countdown__boxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.35rem, 2vw, 1rem);
    max-width: 30rem;
    margin: 0 auto;
}

.countdown__box {
    background: #fff;
    border: 1px solid rgba(27, 29, 45, 0.08);
    border-radius: var(--wl-radius, 1rem);
    padding: clamp(0.6rem, 3vw, 1.25rem) clamp(0.25rem, 2vw, 1.5rem);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.countdown__value {
    font-size: clamp(1.25rem, 7vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-primary, #76e7d2), color-mix(in srgb, var(--color-primary, #a77df5) 62%, #fff));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.countdown__label {
    font-size: clamp(0.55rem, 2.2vw, 0.7rem);
    text-transform: uppercase;
    /* Auf schmalen Kästchen schiebt der Sperrsatz "TAGE" über den Rand --
       deshalb hängt auch er an der Bildschirmbreite. */
    letter-spacing: clamp(0.02em, 0.5vw, 0.12em);
    opacity: 0.5;
    font-weight: 600;
    white-space: nowrap;
}

.countdown__expired {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.countdown__link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 2rem;
    border-radius: var(--wl-radius, 1rem);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.countdown__link:hover { opacity: 0.85; }
