/*
Theme Name: Nothberger Fanfarentrompeter Theme - Dark Edition
Version: 20.1
Description: Dark Theme mit 3D-Navigationsleiste, globalen Gold-Links und fixiertem Mobile-Menü.
*/

/* --- 1. LOKALE SCHRIFTARTEN (DSGVO) --- */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; src: url('fonts/oswald-v57-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2'); }

/* --- 2. VARIABLEN --- */
:root {
    --primary-red: #ec646f;
    --primary-white: #ffffff;
    --primary-blue: #71cbf4;
    --primary-red-light: #fc646f; /* Für 3D-Effekt */
    --accent-yellow: #f7e246;
    --text-light: #eeeeee;
    --text-muted: #aaaaaa;
    --bg-black: #000000;
    /*--bg-black: #0a0a0a;*/
    --bg-card: #1a1a1a;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --header-height: 90px;
}

/* --- 3. GLOBAL LINKS & BASICS (LINK-FIX) --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
    margin: 0; padding: 0; 
    font-family: var(--font-body) !important; 
    color: var(--text-light); 
    background-color: var(--bg-black); 
    line-height: 1.6; 
    display: flex; flex-direction: column; min-height: 100vh; width: 100%; 
}

/* Globaler Link-Fix: Verhindert das Standard-Blau im gesamten Theme */
a { 
    color: var(--accent-yellow); 
    text-decoration: none; 
    transition: 0.3s ease; 
}
a:hover { 
    color: #ffffff; 
}

/* Spezifische Links innerhalb von Texten (Beiträge/Seiten) */
.entry-content a { 
    color: var(--accent-yellow); 
    text-decoration: underline; 
    font-weight: bold; 
}
.entry-content a:hover { 
    color: #ffffff; 
}

/* Burger Button Reset Desktop */
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; }

/* --- 4. HERO-HEADER (MIT 3D-EFFEKT) --- */
#hero-header {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000; z-index: 2000; overflow: hidden;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Der 3D-Zustand für die rote Leiste beim Scrollen */
#hero-header.shrink, #hero-header.static-page {
    height: var(--header-height); 
    /* Subtiler 3D-Gradient */
    background: linear-gradient(to bottom, var(--primary-red-light) 0%, var(--primary-red) 100%) !important;
    /* Lichtkante oben & Schattenkante unten */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.hero-image {
    position: absolute; top: 0; left: -1%; width: 102%; height: 100%;
    background-size: cover; background-position: center center;
    filter: brightness(0.6);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
#hero-header.shrink .hero-image, #hero-header.static-page .hero-image { 
    opacity: 0; 
    pointer-events: none;
}

.header-main-container {
    position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
    display: flex; justify-content: space-between; align-items: center;
    width: 94%; max-width: 1400px; z-index: 30;
}
#hero-header.shrink .header-main-container { top: 0; height: var(--header-height); }

.header-logo-img { width: 60px !important; height: 60px !important; min-width: 60px !important; border-radius: 50% !important; border: 2px solid var(--accent-yellow) !important; object-fit: cover !important; }

.site-title { font-family: var(--font-heading) !important; margin: 0; }
.site-title a { 
    color: var(--accent-yellow) !important; 
    font-size: clamp(1.3rem, 3vw, 2.4rem); 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 3D-Tiefe für Titel */
}

/* --- 5. NAVIGATION DESKTOP --- */
.nav-container { flex: 1; display: flex; justify-content: flex-end; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.main-navigation a {
    color: var(--accent-yellow) !important; 
    font-family: var(--font-heading) !important; font-weight: bold;
    text-transform: uppercase; font-size: 1.05rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- 6. MAIN CONTENT & SLIDER --- */
.main-content { position: relative; z-index: 100; background: var(--bg-black); }
.home .main-content { margin-top: 100vh; }
body:not(.home) .main-content { margin-top: var(--header-height); }
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.page-section { padding: 60px 0; border-bottom: 1px solid #222; scroll-margin-top: var(--header-height); }

.section-title { 
    font-family: var(--font-heading) !important; font-size: 2.2rem; 
    color: var(--accent-yellow) !important; border-left: 10px solid var(--primary-red); 
    /*color: var(--accent-yellow) !important; border-left: 10px solid var(--primary-blue); */
    padding-left: 15px; text-transform: uppercase; margin-bottom: 30px; 
}

/* Horizontaler Beitrags-Slider */
.horizontal-slider { 
    display: flex !important; overflow-x: auto !important; gap: 25px; padding: 15px 5px 30px 5px; 
    scrollbar-width: thin; scrollbar-color: var(--primary-red) #111;
}
.horizontal-slider::-webkit-scrollbar { height: 8px; }
.horizontal-slider::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 10px; }

.slide-item { flex: 0 0 320px; background: var(--bg-card); border-radius: 12px; border-bottom: 5px solid var(--primary-red); display: flex; flex-direction: column; }
.slide-content { padding: 20px; color: #fff; }
.read-more, .more-link { display: inline-block; margin-top: auto; padding-top: 15px; color: var(--accent-yellow) !important; font-weight: bold; text-transform: uppercase; font-family: var(--font-heading) !important; }

/* --- 7. BUCHUNG & FORMULAR --- */
.booking-flex-container { display: flex; gap: 50px; align-items: flex-start; margin-top: 30px; flex-wrap: wrap; }
.booking-card { background: var(--bg-card); padding: 30px; border-radius: 15px; text-align: center; border-top: 6px solid var(--primary-red); }
/*.booking-image { width: 150px !important; height: 150px !important; min-width: 150px !important; border-radius: 50% !important; object-fit: cover !important; border: 4px solid var(--accent-yellow) !important; margin: 0 auto 15px auto !important; display: block !important; }*/
.booking-image { width: 150px !important; height: 150px !important; min-width: 150px !important; border-radius: 50% !important; object-fit: cover !important; border: 2px solid var(--primary-white) !important; margin: 0 auto 15px auto !important; display: block !important; }

/* Formular Dark Fix */
.main-content .entry-content form input, .main-content .entry-content form textarea {
    width: 100% !important; padding: 12px !important; margin-bottom: 15px !important; 
    background: #222 !important; border: 1px solid #444 !important; color: #fff !important; border-radius: 8px !important;
}

/* --- 8. FOOTER --- */
.site-footer { background: #000 !important; color: #fff !important; padding: 60px 0 !important; border-top: 6px solid var(--accent-yellow) !important; position: relative; z-index: 150; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
/*.footer-booking-img { width: 80px !important; height: 80px !important; min-width: 80px !important; border-radius: 50% !important; border: 2px solid var(--accent-yellow) !important; object-fit: cover !important; }*/
.footer-booking-img { width: 80px !important; height: 80px !important; min-width: 80px !important; border-radius: 50% !important; border: 2px solid var(--primary-white) !important; object-fit: cover !important; }
.footer-social { display: flex; gap: 15px; font-size: 3.0rem; }
.footer-social a { color: var(--accent-yellow) !important; transition: 0.3s; }
.footer-social a:hover { color: #ffffff !important; transform: translateY(-3px); }

/* --- 9. MOBILE (FIX BURGER-MENÜ) --- */
@media (max-width: 1000px) {
    .menu-toggle { display: flex !important; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; z-index: 10001; position: relative; }
    .menu-toggle span { display: block; width: 100%; height: 3px; background: var(--accent-yellow) !important; border-radius: 3px; }
    
    /* Header klappt auf bei Mobile-Menü */
    #hero-header.menu-open { z-index: 9999 !important; overflow: visible !important; height: 100vh !important; background: var(--primary-red) !important; }
    
    .main-navigation { 
        position: fixed; top: 0; left: 100%; width: 100vw; height: 100vh; 
        background: #000; padding-top: 100px; transition: 0.4s ease-in-out; 
        visibility: hidden; display: flex !important; justify-content: center; align-items: flex-start; z-index: 4000;
    }
    .main-navigation.toggled { left: 0; visibility: visible; }
    
    /* Vertikales Menü-Stacking */
    .main-navigation ul { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 30px !important; 
        width: 100%; 
        display: flex !important; 
    }
    .main-navigation a { font-size: 1.6rem !important; }

    .footer-container, .footer-booking-content { flex-direction: column !important; text-align: center; }
    .booking-flex-container { flex-direction: column-reverse !important; }
}

/* --- FIX: Vertikale Zentrierung im Header --- */

/* 1. Titel & Logo zentrieren */
.site-title {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* 2. Container-Höhe sicherstellen */
#hero-header.shrink .header-main-container, 
#hero-header.static-page .header-main-container {
    height: var(--header-height) !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* 3. Mobile Burger-Button Zentrierung */
@media (max-width: 1000px) {
    .nav-container {
        height: 60px; /* Gleiche Höhe wie das Logo für perfekte Symmetrie */
        display: flex !important;
        align-items: center !important;
    }
    
    .header-main-container {
        align-items: center !important;
    }
}