/* ==========================================================================
   ZENTRALE STYLESHEET - FOTOBOX FRITZLAR
   ========================================================================== 
*/

:root { 
    /* Höhen für fixierte Navigation */
    --nav-height: 132px;
    --nav-height-mobile: 90px;

    /* Gold veredelt: wärmer, metallischer, mit etwas mehr Tiefe */
    --gold: #caa04b; 
    --gold-light: #f6dfa0;
    --gold-dark: #8a6727;
    --gold-deep: #654816;
    --gold-highlight: #fff1c8;
    --gold-mid: #d7b465;
    --gold-metal: linear-gradient(180deg, #fff4cf 0%, #f0d588 16%, #d7b465 42%, #bd9140 68%, #8a6727 100%);

    --dark: #1a1a1a; 
    --white: #ffffff;
    --light-grey: #f9f9f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Montserrat', sans-serif; 
    color: #333; 
    line-height: 1.6; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    background-color: var(--white);
    /* Navbar ist fixiert -> Platz schaffen, damit Inhalte nicht darunter rutschen */
    padding-top: var(--nav-height, 132px);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAVIGATION --- */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 5px 5%; /* Padding reduziert für schlankere Navbar */
    transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    background: var(--white); 
    /* Sticky war in manchen Browser-/Layout-Konstellationen nicht zuverlässig.
       Fixed sorgt dafür, dass die Leiste beim Scrollen immer im Vordergrund bleibt. */
    position: fixed; 
    top: 0; 
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

.logo { 
    display: flex;
    align-items: center;
    text-decoration: none; 
}

/* FIX: Logo-Größe am Desktop dezenter */
.nav-logo-img {
    height: 120px; 
    
    transition: height 0.25s ease, transform 0.25s ease;width: auto;
    display: block;
    object-fit: contain;
}

/* Mobile: etwas weniger Top-Padding (Logo ist kleiner) */
@media (max-width: 900px) {
    body {
        padding-top: var(--nav-height-mobile, 90px);
    }
    .navbar {
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    section {
        scroll-margin-top: 120px;
    }
}

.nav-links { display: flex; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: var(--dark); 
    margin-left: 20px; 
    font-weight: 700; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    transition: 0.3s; 
}
.nav-links a:hover { color: var(--gold); }

/* --- NAV: Desktop/Mobile helpers --- */
.only-desktop { display: flex; }
.only-mobile { display: none; }
@media (max-width: 900px) {
    .only-desktop { display: none !important; }
    .only-mobile { display: inline-flex; }
}

/* --- NAV: Contact mini (Desktop rechts) --- */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(0,0,0,0.08);
}
.nav-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: none;
    white-space: nowrap;
    opacity: 0.95;
}
.nav-contact-link i { color: var(--gold); }
.nav-contact-link:hover { color: var(--gold); }

/* --- NAV: Designs Dropdown (Desktop) --- */
.nav-item { position: relative; }
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dropdown-toggle i {
    font-size: 0.75em;
    opacity: 0.85;
    transform: translateY(1px);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    padding: 10px;
    display: none;
    z-index: 30000;
}

/* Hover-Bridge: schließt den Abstand zwischen Link & Dropdown */
.dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.dropdown-menu a {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: none;
}
.dropdown-menu a:hover { background: rgba(200, 168, 91, 0.12); }

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown[data-active="1"] > .dropdown-toggle { color: var(--gold); }

/* --- NAV: Premium CTA ("Anfrage sichern") --- */
.nav-links a.nav-cta {
    margin-left: 22px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gold-metal);
    color: #fff;
    border: 1px solid rgba(111, 78, 28, 0.28);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.35);
}
.nav-links a.nav-cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.42);
}

/* --- HERO SEKTION --- */
.hero { 
    min-height: calc(100vh - 120px);
    min-height: calc(100svh - 120px); 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/bilder/hero-box2-desktop.webp') center/cover; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
}

/* --- LANDINGPAGE HERO VARIANTEN --- */
.hero.hero--landing{ min-height: calc(92vh - 120px); min-height: calc(92svh - 120px); }
.hero.hero--hochzeit{ background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('/bilder/hero-box4-desktop.webp') center/cover; }
.hero.hero--firmenfeier{ background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('/bilder/hero-box6-desktop.webp') center/cover; }
.hero.hero--schwalmstadt{ background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('/bilder/hero-box3-desktop.webp') center/cover; }

.landing-kicker{ margin-top: 14px; font-size: 0.95rem; opacity: 0.95; }
.landing-kicker strong{ color: var(--gold); }
.hero-content { max-width: 850px; padding: 0 20px; }
.hero-topline { display: block; text-transform: uppercase; letter-spacing: 4px; font-size: 0.9rem; color: var(--gold); margin-bottom: 15px; font-weight: 700; }
.hero h1 { font-size: 2rem; line-height: 1.1; margin-bottom: 18px; text-shadow: 2px 2px 15px rgba(0,0,0,0.5); }
.hero-description { font-size: 1.25rem; max-width: 650px; margin: 0 auto 35px; opacity: 0.9; font-weight: 300; }
.hero-location { margin-top: 30px; font-size: 0.9rem; background: rgba(200, 168, 91, 0.15); border: 1px solid var(--gold); padding: 10px 20px; border-radius: 50px; display: inline-block; font-weight: 700; }

.btn-gold { 
    background: var(--gold-metal); 
    color: #fff; 
    padding: 16px 40px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; 
    border: 1px solid rgba(111, 78, 28, 0.32); 
    cursor: pointer; 
    display: inline-block; 
    font-size: 1.1rem; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.42);
}
.btn-gold:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 16px 36px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.48); 
    filter: saturate(1.06) brightness(1.02);
}

/* --- ALLGEMEINE SEKTIONEN --- */
section { padding: 100px 0; scroll-margin-top: 160px; }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: white; }
h2 { text-align: center; font-size: 2.5rem; margin-bottom: 40px; }
.subtitle, .subtitle-gold { 
    display: block; 
    text-align: center; 
    font-weight: 700; 
    letter-spacing: 2px; 
    font-size: 0.8rem; 
    color: var(--gold); 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    text-shadow: 0 1px 0 rgba(0,0,0,0.10);
}



.hero-quick-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.10);
    border-radius: 999px;
    padding: 10px 18px;
    backdrop-filter: blur(6px);
}
.hero-quick-contact:hover { color: #fff; background: rgba(255,255,255,0.16); }

.section-white,
.section-dark,
.reviews-section,
.steps-section,
.faq-section-wrapper,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

img {
    max-width: 100%;
    height: auto;
}

button[disabled],
.btn-loading {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 900px) {
    .hero {
        background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/bilder/hero-box2-mobile.webp');
    }
    .hero.hero--hochzeit {
        background-image: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('/bilder/hero-box4-mobile.webp');
    }
    .hero.hero--firmenfeier {
        background-image: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('/bilder/hero-box6-mobile.webp');
    }
    .hero.hero--schwalmstadt {
        background-image: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('/bilder/hero-box3-mobile.webp');
    }
    .hero-quick-contact {
        margin-bottom: 14px;
        padding: 9px 15px;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
