/* style.css - WebradioHost Design-Anpassungen */

body {
    background-color: #0b0d0f;
    color: #e1e1e1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.max-w-700 {
    max-width: 700px;
}

.hero-section {
    background: linear-gradient(180deg, #121519 0%, #0b0d0f 100%);
    border-bottom: 1px solid #2d3238;
}

.card {
    border-radius: 8px;
}

.btn-check:checked + .btn-outline-light {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.progress-bar {
    transition: width 0.3s ease;
}

.check-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Impressum- und Datenschutz-Popup */
#legal-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 850px;
    margin: 1rem auto;
}

/* Begrenzte Fensterhöhe und eigener Scrollbereich */
#legal-modal .modal-content {
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
    border-radius: 16px;
}

/* Nur der Inhalt scrollt */
#legal-modal .modal-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

/* Mobile Geräte */
@media (max-width: 576px) {
    #legal-modal .modal-dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    #legal-modal .modal-content {
        max-height: calc(100dvh - 1rem);
        border-radius: 12px;
    }

    #legal-modal .modal-body {
        padding: 1rem !important;
    }
}

/* =====================================================
   CSS-VARIABLEN
   Nur erforderlich, wenn diese noch nicht vorhanden sind
===================================================== */

:root {
    --bg: #050a12;
    --bg2: #081321;
    --card: rgba(255, 255, 255, .055);
    --card-hover: rgba(255, 255, 255, .085);
    --border: rgba(255, 255, 255, .11);
    --text: #f4f7fb;
    --muted: #aab6c7;
    --blue: #42a5ff;
    --blue2: #1677d2;
    --green: #39d98a;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
    --radius: 22px;
    --max: 1180px;
}

/* =====================================================
   GRUNDLEGENDE CONTAINER
===================================================== */

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

/* =====================================================
   ABSCHNITT ÜBER DETLEF
===================================================== */

.detlef-section {
    padding: 90px 0;
    color: var(--text);
}

/* Äußerer Kartenbereich */

.detlef-card {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

/* Zweispaltiges Layout */

.profile-grid {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

/* Rundes D-Symbol */

.profile-avatar {
    width: 150px;
    height: 150px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--blue),
        #17395a
    );

    border: 5px solid rgba(255, 255, 255, .08);

    color: #ffffff;
    font-size: 46px;
    font-weight: 850;

    margin: 0 auto;
}

/* Textbereich */

.profile-text {
    min-width: 0;
}

.profile-text p {
    color: var(--muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Kleine Überschrift */

.eyebrow {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Hauptüberschrift */

.detlef-card h2 {
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

/* Button */

.detlef-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 50px;
    padding: 13px 22px;

    border-radius: 13px;
    font-size: 15px;
    font-weight: 750;

    border: 1px solid var(--border);
    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.detlef-card .btn-secondary {
    background: rgba(255, 255, 255, .055);
    color: #e8edf5;
}

.detlef-card .btn-secondary:hover {
    background: rgba(255, 255, 255, .10);
    transform: translateY(-2px);
}

/* =====================================================
   RESPONSIVE: TABLET
===================================================== */

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .profile-avatar {
        margin: 0 auto;
    }
}

/* =====================================================
   RESPONSIVE: SMARTPHONE
===================================================== */

@media (max-width: 600px) {
    .container {
        width: calc(100% - 26px);
    }

    .detlef-section {
        padding: 60px 0;
    }

    .detlef-card {
        padding: 25px 20px;
    }

    .detlef-card h2 {
        letter-spacing: -1px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        font-size: 38px;
    }
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, #42a5ff, #17395a);
    margin: 0 auto;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

