/* ============================================================= */
/* /var/www/html/index.css – FINAL & SICHER (08.12.2025)         */
/* Kein automatisches Öffnen des AU-Modals mehr!                */
/* ============================================================= */

html, body.index-body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: transparent !important;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Hintergrund-Video */
.index-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* Haupt-Container – Platz oben für Navigation */
.index-content {
    position: relative;
    z-index: 10;
    margin: 90px auto 0;
    max-width: 1600px;
    padding: 0 17px;
    min-height: calc(100vh - 90px);
}

/* ============================================================= */
/* ALLE Inhalte sofort sichtbar – ABER #au-modal AUSGENOMMEN!   */
/* ============================================================= */
.dynamic-zone,
.dynamic-zone > *,
.dynamic-zone > section,
.dynamic-zone > div:not(#au-modal),
main,
main > *,
#dsb-dashboard,
#ss-section,
#cr-section,
#private-content,
#business-content,
#dashboard-content,
footer,
.footer,
.dsb-dashboard,
.pr-super-container,
.ss-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: auto !important;
}

/* ================================================================== */
/* WICHTIG: AU-Modal darf NICHT von den globalen !important-Regeln erwischt werden */
/* ================================================================== */
#au-modal {
    display: none !important;                    /* versteckt, wenn hidden-Attribut da ist */
}
#au-modal:not([hidden]) {
    display: flex !important;                    /* sichtbar, wenn JS hat hidden entfernt */
}

/* Falls jemand anderes versucht, das Modal mit inline-style zu zeigen */
#au-modal[style*="display: block"],
#au-modal[style*="display:block"] {
    display: none !important;
}
#au-modal:not([hidden])[style*="display: block"],
#au-modal:not([hidden])[style*="display:block"] {
    display: flex !important;
}

/* Smooth Fade-In für alle anderen Inhalte */
.dynamic-zone > * {
    transition: opacity 0.6s ease;
}

/* Abstände wie vorher */
#private-content,
#business-content,
#dashboard-content { padding-top: 20px; }
#specials-section,
#ss-section,
#cr-section { margin-top: 10px; padding-top: 15px; }
#dsb-dashboard { margin-top: 15px; padding-top: 10px; }

/* Hover-Effekte für Karten */
.ss-featured-card,
.featured-card,
.specials-card,
.package-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ss-featured-card:hover,
.featured-card:hover,
.specials-card:hover,
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.22) !important;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .index-content { margin-top: 80px; padding: 0 12px; }
    .dynamic-zone { margin-top: 15px; }
}
@media (max-width: 480px) {
    .index-content { margin-top: 70px; }
}

/* ============================================================= */
/* TESTMODE BANNER – MODERN & SCHÖN                               */
/* ============================================================= */
.testmode-banner {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 400px;
    background: linear-gradient(135deg, #e74d3c58, #c03a2b41);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #f39c12;
    animation: slideDown 0.6s ease-out;
}
.testmode-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.testmode-label {
    background: #f39c12;
    color: #000;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testmode-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}
.testmode-text a:hover {
    color: #f1c40f;
}
@keyframes slideDown {
    from { transform: translateY(-100%) translateX(-50%); opacity: 0; }
    to   { transform: translateY(0) translateX(-50%); opacity: 1; }
}

/* Platzhalter für Banner */
body::before {
    content: '';
    display: block;
    height: 37px;
}

/* Mobile Banner */
@media (max-width: 768px) {
    .testmode-banner { width: 35%; padding: 10px 16px; font-size: 14px; }
    .testmode-content { flex-direction: column; gap: 8px; }
}