/* ========================================
   Flirte-Deutsch.land – styles.css
   Clean + Performance + CLS-optimiert
   Stand: 16.08.2026 – Taubenblau + Accordion Upgrade
   ======================================== */

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

body {
    margin: 0;
    font-family: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    color: #212529;
    background: #fff;
    -webkit-text-size-adjust: 100%;
}

/* Basis-Medien */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== Container ========== */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ========== Hero / Masthead ========== */
.masthead {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0f0f0f 0%, #1a1a1a 40%, #121212 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.masthead::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.masthead-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.masthead-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.masthead h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem !important;
    background: linear-gradient(90deg, #ffffff 0%, #f0e6d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.masthead .lead {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    color: #cfcfcf;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.masthead h2.h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 400;
    color: #d4af37;
    font-style: italic;
    margin-bottom: 0 !important;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.masthead h2.h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0.8rem auto 0;
}

@media (max-width: 767.98px) {
    .masthead {
        min-height: auto;
        padding: 4.5rem 1.2rem 3.5rem;
    }
    .masthead h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-primary { 
    background: #6B8BA4; 
    color: #fff; 
    border-color: #6B8BA4; 
}
.btn-primary:hover {
    background: #557892;
    border-color: #557892;
    color: #fff;
}
.btn-dark { background: #212529; color: #fff; }
.btn-outline-dark { background: transparent; color: #212529; border-color: #212529; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-danger { background: #dc3545; color: #fff; border-color: #dc3545; }
.btn-light { background: #f8f9fa; color: #212529; }
.btn-xl { padding: 1rem 2rem; font-size: 1.15rem; }
.btn-lg { padding: 0.9rem 1.8rem; }

/* ========== Gold Button ========== */
a.btn-gold,
a.btn-gold-strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.7rem !important;
    background: linear-gradient(135deg, #d4af37, #b8860b) !important;
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    padding: 1rem 2.3rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(212,175,55,0.35) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

a.btn-gold:hover,
a.btn-gold-strong:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(212,175,55,0.5) !important;
    color: #000000 !important;
    background: linear-gradient(135deg, #d4af37, #b8860b) !important;
}

/* ========== Portfolio ========== */
.portfolio-item {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    text-decoration: none !important;
    background: #111 !important;
}

.portfolio-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.35s ease !important;
    position: relative;
    z-index: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05) !important;
}

.portfolio-item .caption {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 15, 15, 0.78) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5rem !important;
    text-align: center !important;
    color: #ffffff !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
    transition: opacity 0.3s ease !important;
}

@media (min-width: 992px) {
    .portfolio-item .caption {
        opacity: 0 !important;
    }
    .portfolio-item:hover .caption {
        opacity: 1 !important;
    }
}

@media (max-width: 991.98px) {
    .portfolio-item .caption {
        opacity: 1 !important;
        background: rgba(15, 15, 15, 0.72) !important;
    }
    .portfolio-item:hover img {
        transform: none !important;
    }
}

.portfolio-item .caption-content .h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.3 !important;
}

.portfolio-item .caption-content p {
    font-size: 0.9rem !important;
    color: #e0e0e0 !important;
    margin: 0 !important;
}

/* ========== Videos ========== */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 2rem;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== Kopfkino Promo ========== */
section.kopfkino-promo {
    background: linear-gradient(180deg, #0f0f0f 0%, #141414 100%) !important;
    padding: 4rem 1.5rem !important;
    text-align: center !important;
    color: #fff !important;
}

.kopfkino-inner {
    max-width: 780px !important;
    margin: 0 auto !important;
}

section.kopfkino-promo h2 {
    font-size: clamp(1.7rem, 4vw, 2.3rem) !important;
    color: #ffffff !important;
    margin-bottom: 0.8rem !important;
    font-weight: 700 !important;
}

section.kopfkino-promo p {
    color: #b0b0b0 !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
}

section.kopfkino-promo .small-note {
    margin-top: 1.2rem !important;
    font-size: 0.9rem !important;
    color: #777 !important;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    color: #ddd;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.4);
}

/* ========== Cookie Banner ========== */
#cookieBanner {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #222;
    color: #fff;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.45);
    font-size: 14px;
    line-height: 1.4;
    min-height: 100px;
}
#cookieBanner a {
    color: #4da3ff;
    text-decoration: underline;
}
#cookieBanner button {
    padding: 9px 18px;
    margin: 8px 6px 0;
    cursor: pointer;
    background: #6B8BA4;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
}
#cookieBanner button:last-child {
    background: #555;
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-center { justify-content: center; }
.gap-3 { gap: 1rem; }
.rounded { border-radius: 0.5rem; }
.rounded-4 { border-radius: 1rem; }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15); }
.bg-light { background-color: #f8f9fa; }
.bg-primary { background-color: #6B8BA4 !important; color: #fff; }
.bg-dark { background-color: #212529; color: #fff; }
.text-white { color: #fff; }
.text-muted { color: #6c757d; }
.lead { font-size: 1.25rem; }
.small { font-size: 0.875rem; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }

/* ========== Content Sections ========== */
.content-section {
    padding: 3rem 0;
}
.content-section-heading {
    margin-bottom: 2rem;
}
.callout {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* ========== Mobile Basics ========== */
@media (max-width: 767.98px) {
    .btn {
        width: 100%;
        max-width: 320px;
    }
    .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
    }
    #cookieBanner {
        font-size: 14px;
        padding: 14px 10px;
        min-height: 120px;
    }
    #cookieBanner button {
        display: block;
        width: 90%;
        margin: 8px auto 0;
    }
}

/* ========================================
   DESKTOP NAVIGATION – fix oben
   ======================================== */
.desktop-nav {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 64px !important;
    z-index: 1030 !important;
    background: #111111 !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.45) !important;
}

.desktop-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 64px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

.desktop-brand {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.desktop-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.25rem !important;
}

.desktop-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.desktop-menu a {
    display: block !important;
    padding: 0.5rem 1.15rem !important;
    color: #e5e5e5 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.97rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.desktop-menu a:hover {
    color: #ffffff !important;
    background: rgba(107, 139, 164, 0.35) !important;
}

/* Ab 992px: Desktop-Menü anzeigen + Hamburger ausblenden */
@media (min-width: 992px) {
    .desktop-nav {
        display: block !important;
    }

    body {
        padding-top: 64px !important;
    }

    .menu-toggle,
    #menuToggle,
    #sidebar-wrapper,
    .menu-overlay {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Unter 992px: Desktop-Menü ausblenden */
@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }
}

/* ========================================
   MOBILE MENU
   ======================================== */
.menu-toggle {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 10000 !important;
    width: 52px !important;
    height: 52px !important;
    background: #111 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.45) !important;
    border: 2px solid rgba(255,255,255,0.15) !important;
}
.menu-toggle svg {
    width: 22px !important;
    height: 22px !important;
    fill: #fff !important;
}

#sidebar-wrapper {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important;
    width: 300px !important;
    height: 100% !important;
    background: #6B8BA4 !important;
    z-index: 9999 !important;
    transition: right 0.25s ease !important;
    overflow-y: auto !important;
    box-shadow: -8px 0 25px rgba(0,0,0,0.35) !important;
}
#sidebar-wrapper.open {
    right: 0 !important;
}

.sidebar-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-nav .sidebar-brand {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    padding: 1.8rem 1.5rem 1.3rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}

#sidebar-wrapper a,
.sidebar-nav a {
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
}

.sidebar-nav li a {
    padding: 1.15rem 1.5rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.sidebar-nav li a:hover {
    background: rgba(255,255,255,0.15) !important;
    padding-left: 1.9rem !important;
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
}
.menu-overlay.show {
    display: block !important;
}

/* Scroll-to-Top */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9990;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.scroll-to-top:hover {
    background: #000;
    transform: translateY(-3px);
}

a:not([class]) {
    color: inherit;
}

/* ========== Call-Button ========== */
a.call-button-special {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.7rem !important;
    padding: 1.6rem 2.8rem !important;
    margin: 1.5rem auto !important;
    background: linear-gradient(145deg, #111111, #000000) !important;
    color: #ffffff !important;
    border: 3px solid #ffd700 !important;
    border-radius: 1.3rem !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    text-align: center !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.5), 0 0 25px rgba(255,215,0,0.35) !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

a.call-button-special:hover {
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.6), 0 0 40px rgba(255,215,0,0.55) !important;
    color: #ffffff !important;
}

a.call-button-special .call-text { font-size: 1.5rem !important; }
a.call-button-special .call-icon { color: #ffd700 !important; }
a.call-button-special .call-icon svg { width: 48px !important; height: 48px !important; }
a.call-button-special .call-code { font-size: 0.95rem !important; }
a.call-button-special .call-code strong { color: #ffd700 !important; font-weight: 800 !important; }

@keyframes call-pulse {
    0%, 100% { box-shadow: 0 12px 35px rgba(0,0,0,0.5), 0 0 20px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 12px 35px rgba(0,0,0,0.5), 0 0 35px rgba(255,215,0,0.5); }
}

a.call-button-special {
    animation: call-pulse 2.4s infinite ease-in-out !important;
}

/* ========================================
   Grid System
   ======================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.gx-0 > * {
    padding-right: 0;
    padding-left: 0;
}

.gx-4 {
    margin-right: calc(-0.5 * 1.5rem);
    margin-left: calc(-0.5 * 1.5rem);
}
.gx-4 > * {
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
}

@media (min-width: 992px) {
    .gx-lg-5 {
        margin-right: calc(-0.5 * 3rem);
        margin-left: calc(-0.5 * 3rem);
    }
    .gx-lg-5 > * {
        padding-right: calc(3rem * 0.5);
        padding-left: calc(3rem * 0.5);
    }
}

.col-md-6 { flex: 0 0 auto; width: 50%; }
.col-lg-3 { flex: 0 0 auto; width: 100%; }
.col-lg-6 { flex: 0 0 auto; width: 100%; }
.col-lg-8 { flex: 0 0 auto; width: 100%; }
.col-lg-10 { flex: 0 0 auto; width: 100%; }

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-3 { width: 25%; }
    .col-lg-6 { width: 50%; }
    .col-lg-8 { width: 66.666667%; }
    .col-lg-10 { width: 83.333333%; }
}

/* Hinweise-Section etwas luftiger */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.bg-white.rounded-4.shadow {
    border: 1px solid rgba(0,0,0,0.05);
}

/* ========== Sticky Call Button ========== */
.sticky-call-btn {
    position: fixed !important;
    bottom: 160px !important;
    right: 18px !important;
    z-index: 100001 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #28a745 !important;
    color: #ffffff !important;
    padding: 13px 18px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    box-shadow: 0 6px 22px rgba(0,0,0,0.45) !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.sticky-call-btn:hover {
    background: #218838 !important;
    transform: scale(1.06) !important;
}

.sticky-call-btn span {
    color: #ffffff !important;
    white-space: nowrap;
}

.sticky-call-btn svg {
    fill: #ffffff !important;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .sticky-call-btn span {
        display: none !important;
    }
    .sticky-call-btn {
        width: 54px !important;
        height: 54px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }
}

/* ========== Services Accordion – edel & weich ========== */
#services {
    background-color: #6B8BA4 !important;
}

#services .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 1rem;
}

#services .accordion-button {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.15rem 1.5rem;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

#services .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

#services .accordion-button::after {
    filter: brightness(0) invert(1);
}

#services .accordion-button:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

#services .accordion-body {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.4rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    border-radius: 0 0 12px 12px;
    margin-top: -4px;
}