@font-face {
    font-family: 'BarlowCondensed-Medium';
    src: url('../fonts/BarlowCondensed-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BarlowCondensed-Bold';
    src: url('../fonts/BarlowCondensed-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-accent:         #8b5fbf;
    --color-accent-glow:    rgba(139, 95, 191, 0.4);
    --color-accent-text:    #ffffff;
    --color-white:          #fff;
    --color-bg:             #ffffff;
    --color-text:           #1a1a1a;
    --color-text-muted:     #666666;
    --color-border:         #e5e5e5;

    --font-medium: 'BarlowCondensed-Medium', 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
    --font-bold:   'BarlowCondensed-Bold',   'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;

    --transition: 0.3s;
    --radius: 8px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-medium);
    font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

a {
    text-decoration: none;
    transition: opacity var(--transition);
}

/* ── Container ── */

.container {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* ── Hero (centered message) ── */

.aktion-beendet-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0 80px;
    background: var(--color-bg);
}

.aktion-beendet-card {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 40px 24px 44px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .aktion-beendet-card {
        padding: 48px 48px 52px;
        max-width: 560px;
    }
}

.aktion-beendet-icon {
    margin-bottom: 28px;
    opacity: 0.6;
}

.aktion-beendet-hero h1 {
    font-family: var(--font-bold);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

.aktion-beendet-text {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 520px;
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    max-width: 320px;
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-family: var(--font-bold);
    font-size: 1.125rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 12px 4px var(--color-accent-glow);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px 8px var(--color-accent-glow);
    opacity: 1;
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}


/* ── Footer (same as main page) ── */

.site-footer {
    background: #0a0a0a;
    border-top: 3px solid var(--color-accent);
    padding: 40px 0 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
}

.site-footer .container {
    max-width: 900px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer__col h4 {
    font-family: var(--font-bold);
    color: var(--color-white);
    margin-bottom: 12px;
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer__col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    transition: color 0.3s;
}

.footer__col a:hover,
.footer__col a:focus {
    color: var(--color-accent);
    opacity: 1;
}

.footer__disclaimer {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
}

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

.footer__bottom a:hover {
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
