/* ------------------------- */
/* --- GRUNDEINSTELLUNGEN -- */
/* ------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400;500&display=swap');
@import url('animations.css');

:root {
    --bg-color: #F4F1EC;
    --bg-secondary-color: #EADFD3;
    --bg-dark-color: #3D3A37;
    --text-color: #5C544C;
    --headline-color: #4B423B;
    --accent-color: #C1A57E;
    --accent-hover-color: #ad926d;
    --white-color: #FFFFFF;

    --font-headline: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow-x: hidden;
}

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

section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: var(--font-headline);
    font-size: 3.8rem;
    font-weight: 600;
    color: var(--headline-color);
    margin-bottom: 25px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -15px auto 60px auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ------------------------- */
/* --- HEADER & NAVIGATION - */
/* ------------------------- */
header {
    background: transparent;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
}

header.scrolled {
    background: rgba(244, 241, 236, 0.85);
    padding: 1rem 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--headline-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
}

.logo-mobile {
    display: none;
}

/* ------------------------- */
/* --- HERO SECTION -------- */
/* ------------------------- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

.hero-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: 6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    color: var(--white-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.hero-services {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

/* Button Wrapper für Hero */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    background: var(--accent-color);
    color: var(--white-color);
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
    display: inline-block;
}

.cta-button:hover {
    background: var(--accent-hover-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Styling für den zweiten Button (Route planen) */
.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 2px solid var(--white-color);
    color: var(--white-color);
}

.cta-button.secondary:hover {
    background: var(--white-color);
    color: var(--headline-color);
}


/* ------------------------- */
/* --- LEISTUNGEN SECTION -- */
/* ------------------------- */
#services {
    background-color: var(--bg-secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card .card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--headline-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-note {
    text-align: center;
    margin-top: 50px;
    font-style: italic;
    color: #888;
}

/* ------------------------- */
/* --- PREISLISTE AKKORDEON -- */
/* ------------------------- */
#pricing {
    background-color: var(--bg-color);
}

.pricing-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-category {
    background: var(--white-color);
    border-bottom: 1px solid var(--bg-color);
}

.price-category:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-header:hover {
    background-color: #faf8f5;
}

.category-header h3 {
    font-family: var(--font-headline);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--headline-color);
    margin: 0;
}

.category-header .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #fff;
    padding: 0 30px;
}

.category-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.category-content li:first-child {
    padding-top: 0;
}

.category-content li:last-child {
    border-bottom: none;
    padding-bottom: 30px;
}

.service-name {
    font-weight: 400;
}

.price {
    font-weight: 500;
    color: var(--accent-color);
    font-size: 1.1rem;
}


/* ------------------------- */
/* --- GALERIE SECTION ----- */
/* ------------------------- */
#gallery {
    background-color: var(--bg-secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    aspect-ratio: 4 / 3;
    display: block;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item::after {
    content: 'Ansehen';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 500;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ------------------------- */
/* --- KONTAKT SECTION ----- */
/* ------------------------- */
#contact {
    background-color: var(--bg-color);
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--white-color);
    padding: 60px; /* Default Desktop */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info,
.opening-hours {
    flex: 1;
    min-width: 300px; /* Leicht reduziert, damit es früher umbricht */
}

/* FIX: Textumbruch für lange Wörter/Links verhindern */
.contact-info p,
.contact-info a {
    word-break: break-word;
    hyphens: auto;
}

.contact-info h3,
.opening-hours h3 {
    font-family: var(--font-headline);
    font-size: 2.2rem;
    color: var(--headline-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: var(--headline-color);
    font-size: 2.5rem;
    margin-right: 25px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.opening-hours ul {
    list-style: none;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.opening-hours li:last-child {
    border-bottom: none;
}

.opening-hours strong {
    font-weight: 500;
    margin-right: 15px;
}

.opening-hours p {
    margin-top: 20px;
    font-style: italic;
}


/* ------------------------- */
/* --- FOOTER -------------- */
/* ------------------------- */
footer {
    background: var(--bg-dark-color);
    color: #ddd;
    padding: 80px 0 40px 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    color: var(--white-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-column p,
.footer-column li {
    font-size: 1rem;
    line-height: 2;
    color: #ccc;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.social-links-footer a {
    font-size: 2rem;
    margin-right: 20px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #55524f;
    font-size: 0.9rem;
    color: #999;
}


/* ------------------------- */
/* --- RESPONSIVE DESIGN --- */
/* ------------------------- */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media screen and (max-width: 768px) {
    .logo-desktop { display: none; }
    nav { justify-content: flex-end; }
    
    .logo-mobile {
        display: block;
        text-align: center;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(193, 165, 126, 0.3);
    }
    .logo-mobile img { height: 80px; width: auto; }

    section { padding: 80px 0; }
    .section-title { font-size: 2.8rem; }

    .burger { display: block; cursor: pointer; z-index: 1001; }
    .burger div {
        width: 28px; height: 3px;
        background-color: var(--headline-color);
        margin: 6px;
        transition: all 0.4s ease;
        border-radius: 2px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: rgba(244, 241, 236, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    }
    .nav-links.nav-active { right: 0; }
    .nav-links a { font-size: 1.5rem; }

    .toggle .line1 { transform: rotate(-45deg) translate(-7px, 7px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-7px, -7px); }

    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.3rem; }

    /* FIX: Kontakt Padding verringern, damit Text nicht rausragt */
    .contact-flex {
        padding: 30px 20px;
    }

    .footer-grid { text-align: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .category-header h3 { font-size: 1.8rem; }
    
    /* Buttons im Hero untereinander bei kleinem Bildschirm */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 40px; }
    
    .hero-content h1 { font-size: 2.5rem; letter-spacing: 1px; }
    .hero-content p { font-size: 1.1rem; margin-bottom: 2rem; }
    
    .cta-button {
        padding: 15px 35px;
        width: 100%;
        text-align: center;
    }

    section { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 25px; }
    
    .contact-flex { padding: 30px 20px; gap: 30px; }
    .contact-info h3, .opening-hours h3 { font-size: 1.8rem; }
}

/* ------------------------- */
/* --- LIGHTBOX STYLES ----- */
/* ------------------------- */
#lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex; justify-content: center; align-items: center;
    padding: 20px;
    cursor: pointer;
    visibility: hidden; opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#lightbox-overlay.visible { visibility: visible; opacity: 1; }
#lightbox-image {
    max-width: 90%; max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#lightbox-overlay.visible #lightbox-image { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    font-size: 3rem; color: white; cursor: pointer; font-weight: 300;
}

/* ------------------------- */
/* --- COOKIE BANNER STYLES  */
/* ------------------------- */
#cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(43, 40, 38, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white-color);
    z-index: 1500;
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease-in-out;
    
    /* FIX: Maximale Höhe für Mobile Landscape */
    max-height: 80vh; 
    overflow-y: auto;
}

#cookie-banner.visible { bottom: 0; }

.cookie-content {
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.cookie-content a { color: var(--accent-color); text-decoration: underline; }

#cookie-accept-btn {
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

#cookie-accept-btn:hover { background-color: var(--accent-hover-color); }

@media screen and (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
}

/* ------------------------- */
/* --- GOOGLE TRANSLATE ---- */
/* ------------------------- */
.translate-floating-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}
.translate-floating-btn:hover {
    background: var(--accent-hover-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
.translate-floating-btn i { font-size: 1.5rem; color: var(--white-color); }

.language-selector {
    position: fixed; bottom: 100px; right: 30px;
    background: white; padding: 0; border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: none;
    width: 340px; max-height: 600px; overflow-y: auto;
}
.language-selector.active { display: block; animation: slideUp 0.3s ease; }

.language-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border-bottom: 2px solid var(--bg-color);
    background: linear-gradient(135deg, var(--bg-secondary-color), var(--bg-color));
    border-radius: 15px 15px 0 0;
    position: sticky; top: 0; z-index: 10;
}
.language-header h4 { margin: 0; font-family: var(--font-headline); font-size: 1.4rem; color: var(--headline-color); }

.reset-btn {
    background: var(--accent-color); border: none;
    width: 38px; height: 38px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; flex-shrink: 0;
}
.reset-btn:hover { background: var(--accent-hover-color); transform: rotate(-360deg); }
.reset-btn i { color: white; font-size: 1rem; }

.main-languages { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.main-lang-btn {
    background: var(--bg-color); border: 2px solid var(--accent-color);
    padding: 14px 18px; border-radius: 10px; cursor: pointer;
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 500;
    transition: all 0.3s ease; text-align: left;
    display: flex; align-items: center; gap: 10px;
}
.main-lang-btn:hover {
    background: var(--accent-color); color: white;
    transform: translateX(5px); box-shadow: 0 4px 15px rgba(193, 165, 126, 0.3);
}

.all-languages-section { padding: 20px; border-top: 2px solid var(--bg-color); background: var(--bg-secondary-color); }
.section-label { margin: 0 0 12px 0; font-family: var(--font-headline); font-size: 1.1rem; color: var(--headline-color); font-weight: 600; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hide Google Translate banner */
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; position: static !important; }
.skiptranslate iframe { visibility: hidden !important; display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Style Google Translate dropdown */
.goog-te-gadget { font-family: var(--font-body) !important; color: var(--text-color) !important; }
.goog-te-gadget-simple {
    background-color: var(--bg-color) !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 0.95rem !important; cursor: pointer !important;
    transition: all 0.3s ease !important; width: 100% !important;
}
.goog-te-gadget-simple:hover { background-color: var(--bg-secondary-color) !important; border-color: var(--accent-hover-color) !important; }
.goog-te-gadget-icon { display: none !important; }
.goog-te-menu-value { color: var(--headline-color) !important; }
.goog-te-menu-value span { color: var(--accent-color) !important; font-weight: 500 !important; }

@media screen and (max-width: 768px) {
    .translate-floating-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .translate-floating-btn i { font-size: 1.2rem; }
    .language-selector { bottom: 80px; right: 20px; left: 20px; width: auto; max-width: none; }
    .main-lang-btn { font-size: 1rem; padding: 12px 16px; }
}