/* Pump's Not Dead – minimal, hero-inspired */

:root {
    /* Hero palette: black + light lavender (hero-image.jpeg) */
    --bg-hero: #000000;
    --bg-page: #faf9f7;
    --bg-card: #fff;
    --text: #1a1a1a;
    --text-muted: #5c5650;
    --border: #e5e0db;
    --accent: #9b7dc7;
    --accent-light: #c7aeeb;
    --white: #fff;
    --space: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --radius: 4px;
    --font: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 600;
    color: var(--text);
    background: var(--bg-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space);
    background: var(--bg-hero);
    color: var(--white);
    padding: var(--space) var(--space-lg);
    font-size: 0.9375rem;
    z-index: 9999;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: var(--space);
}

/* Header & nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.2s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.92);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
}

.nav-brand:hover {
    opacity: 0.85;
}

body.page-inner .header {
    background: var(--bg-hero);
}

body.page-inner .nav-brand,
body.page-inner .nav-link,
body.page-inner .nav-toggle {
    color: var(--white);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space);
    color: var(--white);
}

.nav-toggle:hover {
    opacity: 0.8;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    padding: var(--space) 0;
}

.nav-link:hover {
    opacity: 0.85;
}

.nav-link.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.page-inner .nav-link.active {
    color: var(--accent-light);
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-xl);
        background: var(--bg-hero);
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .nav-menu.nav-open {
        transform: translateX(0);
    }

    .nav-menu .nav-link {
        color: var(--white);
        font-size: 1.125rem;
    }
}

@media (min-width: 641px) {
    .nav-toggle {
        display: none;
    }
}

/* Hero – full viewport, image only */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-hero) url('images/hero-image.jpeg') center / cover no-repeat;
}

/* Landing intro – below hero, black + lavender, center-aligned */
.landing-intro {
    background: var(--bg-hero);
    color: var(--accent-light);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.landing-intro-inner {
    max-width: 640px;
    margin: 0 auto;
}

.landing-intro p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--accent-light);
    margin-bottom: var(--space-xl);
}

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

.landing-intro strong {
    font-weight: 700;
    color: var(--white);
}

.landing-lead {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
}

.landing-tagline {
    margin-top: var(--space-2xl);
    font-size: 1.0625rem;
}

.landing-tagline em {
    font-style: italic;
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Main inner (Impressum, Vereinssatzung) – black + lavender, like landing */
.main-inner {
    padding-top: 56px;
    min-height: 100vh;
    background: var(--bg-hero);
}

body.page-inner {
    background: var(--bg-hero);
}

.page {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: var(--space);
}

.page-intro {
    font-size: 1rem;
    color: var(--accent-light);
    margin-bottom: var(--space-2xl);
}

/* Legal (Impressum) – light on black */
.legal-block {
    margin-bottom: var(--space-xl);
}

.legal-heading {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: var(--space);
}

.legal-sub {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-top: var(--space-lg);
    margin-bottom: var(--space);
}

.legal-text,
.legal-address {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.legal-address {
    font-style: normal;
}

.legal-muted {
    margin-top: var(--space);
    margin-bottom: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.page .link {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page .link:hover {
    color: var(--white);
}

/* Vereinssatzung download – landing-style button */
.download-wrap {
    margin-top: var(--space-xl);
}

.btn-download {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: var(--space) var(--space-xl);
    background: var(--white);
    color: var(--bg-hero);
    border: 2px solid var(--white);
    transition: background 0.2s, color 0.2s;
}

.btn-download:hover {
    background: transparent;
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--bg-hero);
    color: var(--white);
    padding: var(--space-xl) var(--space-lg);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.footer-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.footer-link:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    text-align: center;
    margin-top: var(--space);
}

@media (min-width: 640px) {
    .footer-copy {
        width: auto;
        margin-top: 0;
        margin-left: auto;
    }
}

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