/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 70px;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
}

/* Burger-Button (Grundzustand: nur mobil sichtbar) */
.nav-toggle {
    display: none;           /* Desktop: ausgeblendet */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #545454;
    padding: 8px;
}

.hero-button {
    padding: 15px 30px;
    background-color: #a6a6a6;  /* grau, solange disabled */
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: not-allowed; /* zeigt: nicht klickbar */
}

/* aktiver Button */
.hero-button.enabled {
    background-color: var(--color-primary); /* dein Grün */
    cursor: pointer;
}

.hero-button.enabled:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
}

/* ===================== Navigation: Burger-Menü für Tablet & Handy ===================== */
@media (max-width: 1200px) {

    header {
        flex-wrap: wrap;
        align-items: center;
        padding: 20px 20px;
        position: relative;     /* Referenz für das Overlay-Menü */
        z-index: 1000;
    }

    .logo {
        max-height: 40px;
    }

    /* Burger-Button einblenden und nach innen rücken */
    .nav-toggle {
        display: block;
        margin-left: auto;
        padding-right: 20px;
    }

    /* Nav-Leiste als Overlay: erst mal versteckt */
    header nav {
        position: absolute;
        top: 100%;              /* direkt unter dem Header */
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        background: #f0f0f0;
        z-index: 1001;          /* über dem restlichen Inhalt */
    }

    /* Wenn JS "open" setzt -> anzeigen */
    header nav.open {
        display: block;
    }

    /* Liste untereinander, volle Breite */
    header nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: 0;
        padding: 20px 0 20px;
        background: #f0f0f0;
        width: 100%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    header nav li {
        width: 100%;
        position: static;
    }

    header nav a {
        font-size: 18px;
        white-space: normal;
        display: block;
        padding: 8px 0;
        padding-left: 20px;   /* kleiner Einzug vom Rand */
    }

    /* Dropdown-Pfeil im Burger-Menü anzeigen */
    .dropdown-arrow {
        display: inline-block;
        font-size: 18px;
        margin-left: 8px;
    }

    /* 2. und 3. Ebene: standardmäßig versteckt */
    nav ul li .dropdown-menu,
    nav ul li .dropdown-submenu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        padding-left: 20px;   /* optische Einrückung für Unterpunkte */
    }

    /* Wenn Eltern-li "open" hat -> anzeigen */
    header nav li.dropdown.open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu li.dropdown.open > .dropdown-submenu {
        display: block;
    }
}

/* ====== Bestätigungsseite ====== */

.mitglied-seite {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text.bestaetigung {
    max-width: 620px;
    margin: 80px auto 100px;
    text-align: center;
    padding: 0 20px;
}

.hero-text.bestaetigung h1 {
    margin-top: 0 !important;
    font-size: 32px;
    color: var(--text-accent);
    margin-bottom: 20px;
}

.hero-text.bestaetigung p {
    font-size: 18px;
    color: #555;
    margin-bottom: 2.5rem;
}

.check-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5ee;
    border: 2px solid #128c46;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.check-ring svg {
    width: 36px;
    height: 36px;
}

.bestaetigung-steps {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.step-num {
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    flex-shrink: 0;
}

.bestaetigung-btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 32px;
}

@media (max-width: 768px) {
    .hero-text.bestaetigung {
        margin: 40px auto 60px;
    }
}

/* ====== Aktivierungsseite (ID 65) ====== */
.aktiviert-banner {
    background: var(--surface-dark);
    color: #fff;
    text-align: center;
    padding: 1.1rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.aktiviert-banner span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.aktiviert-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.aktiviert-card {
    max-width: 700px;
    width: 100%;
}

.aktiviert-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e4e4e4;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.aktiviert-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--surface-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aktiviert-icon svg { width: 34px; height: 34px; }

.aktiviert-text h1 {
    font-size: 1.75rem !important;
    font-weight: 700;
    color: #1a1a1a !important;
    line-height: 1.2;
    margin: 0 0 0.6rem 0 !important;
}

.aktiviert-text h1 em {
    font-style: normal;
    color: var(--text-accent);
}

.aktiviert-text p {
    font-size: 1rem !important;
    color: #555 !important;
    line-height: 1.6;
    margin: 0 !important;
}

.aktiviert-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aktiviert-divider::before,
.aktiviert-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.naechste-schritte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.schritt-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.schritt-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-accent);
}

.schritt-label-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e8f5ee;
    border: 1.5px solid #128c46;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-accent);
    flex-shrink: 0;
}

.schritt-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.schritt-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.aktiviert-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.aktiviert-hint {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

.aktiviert-hint a {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
}

.aktiviert-hint a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .aktiviert-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .aktiviert-icon { margin: 0 auto; }
    .naechste-schritte { grid-template-columns: 1fr; }
    .aktiviert-cta { flex-direction: column; align-items: flex-start; }
}