/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --clr-primary: #2a2a4a;
    --clr-secondary: #24355f;
    --clr-accent: #c8956c;
    --clr-accent-light: #e0b896;
    --clr-accent-dark: #a07450;
    --clr-gold: #d4a76a;
    --clr-bg: #fafaf7;
    --clr-bg-alt: #f0ede8;
    --clr-text: #2d2d2d;
    --clr-text-light: #6b6b6b;
    --clr-white: #ffffff;
    --clr-dark: #111111;
    --navbar-bg: transparent;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode overrides */
body.dark-mode {
    --clr-bg: #0f0f12;
    --clr-bg-alt: #1a1a1e;
    --clr-text: #e2e2e7;
    --clr-text-light: #a1a1aa;
    --clr-primary: #ffffff;
    --clr-accent: #d4a76a;
    --clr-accent-light: #e5c396;
    --clr-white: #ffffff;
    background-color: var(--clr-bg);
    color: var(--clr-text);
}

body.dark-mode .navbar { 
    --navbar-bg: rgba(15, 15, 18, 0.9); 
}

body.dark-mode .navbar.scrolled {
    background: rgba(15, 15, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .navbar.scrolled .nav-logo {
    color: #ffffff;
}

body.dark-mode .navbar.scrolled .nav-link { color: var(--clr-text-light); }
body.dark-mode .navbar.scrolled .nav-link:hover, 
body.dark-mode .navbar.scrolled .nav-link.active { 
    color: var(--clr-accent); 
    background: rgba(212, 167, 106, 0.1); 
}

body.dark-mode .hero-overlay { 
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.9) 0%, rgba(15, 15, 18, 0.7) 50%, rgba(10, 10, 12, 0.6) 100%); 
}

body.dark-mode .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .stats-section { 
    background: #151518; 
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

body.dark-mode .service-card, 
body.dark-mode .contact-card, 
body.dark-mode .contact-form,
body.dark-mode .stat-card {
    background: #1a1a1e;
}

body.dark-mode .service-card, 
body.dark-mode .contact-card, 
body.dark-mode .contact-form {
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-card h3,
body.dark-mode .about-content h2,
body.dark-mode .section-header h2,
body.dark-mode .stat-number {
    color: #ffffff;
}

body.dark-mode .about-feature {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .form-group input, 
body.dark-mode .form-group textarea {
    background: #121215;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode .form-group input:focus, 
body.dark-mode .form-group textarea:focus {
    border-color: var(--clr-accent);
    background: #151518;
}

body.dark-mode .footer {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

body.dark-mode .footer h4,
body.dark-mode .footer-logo .logo-text {
    color: #ffffff;
}

body.dark-mode .section-tag {
    color: var(--clr-accent);
}

body.dark-mode .section-tag::before {
    background: var(--clr-accent);
}

body.dark-mode .nav-link { color: #e2e2e7; }
body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active { background: rgba(255,255,255,0.1); color: #ffffff; }

body.dark-mode .btn-primary { background: var(--clr-accent); color: #000; }
body.dark-mode .btn-primary:hover { background: var(--clr-accent-light); }




html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    margin: 0;
    padding: 0;
    background: var(--clr-bg);
    overscroll-behavior-y: none;
}
body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overscroll-behavior-y: none;
}
html, body {
    margin-top: 0 !important;
    top: 0 !important;
}
#wpadminbar {
    display: none !important;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SECTION TAGS & HEADERS ===== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 36px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 24px; height: 2px;
    background: var(--clr-accent);
    transform: translateY(-50%);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-tag { padding-left: 0; }
.section-header .section-tag::before { display: none; }
.section-header h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); color: var(--clr-primary); line-height: 1.2; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--clr-text-light); max-width: 600px; margin: 0 auto; }

/* ===== BUTTONS ===== */
/* ===== BUTTONS (INTENSE LIQUID GLASS STYLE) ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 40px; border-radius: 50px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    cursor: pointer; 
    border: 1px solid rgba(255, 255, 255, 0.25); /* Helle Glas-Kante */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    color: white;
    background: rgba(255, 255, 255, 0.05); /* Sehr transparentes Basis-Glas */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Der "Liquid" Glanz-Effekt */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0) 50%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    opacity: 0.6;
    pointer-events: none;
}

.btn-primary {
    background: rgba(212, 175, 55, 0.15); /* Gold-Glas Mix */
    color: var(--clr-accent);
    border: 1px solid rgba(212, 175, 55, 0.5);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover { 
    background: var(--clr-accent);
    color: white;
    transform: translateY(-5px) scale(1.03); 
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4); 
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover { 
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: white;
}

.btn-large { padding: 18px 45px; font-size: 1.05rem; }

/* Loader for Glass Buttons */
.loader {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    border-top-color: var(--clr-accent);
    animation: spin 0.8s linear infinite;
    margin-right: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: var(--navbar-bg);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    color: var(--clr-white); 
    z-index: 1001; 
    text-decoration: none;
}
.navbar.scrolled .nav-logo { color: var(--clr-primary); }

.logo-img {
    height: 40px; 
    width: auto;
    display: block;
    border-radius: 4px;
    /* Nutzt den SVG-Filter aus der index.html um Weiß zu entfernen */
    filter: url(#remove-white);
}

.logo-text { font-weight: 300; font-size: 1.2rem; }
.logo-text strong { font-weight: 700; }
.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-left: auto; 
}
.nav-link {
    padding: 8px 18px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}

/* ===== LOGIN TEXT LINK ===== */
.login-text-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin-left: 30px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.navbar.scrolled .login-text-link {
    color: var(--clr-text-light);
}

.login-text-link:hover {
    color: var(--clr-accent) !important;
}

body.dark-mode .login-text-link {
    color: rgba(255,255,255,0.4);
}

@media (max-width: 991px) {
    .login-text-link {
        display: none;
    }
}

.nav-link:hover, .nav-link.active { color: var(--clr-white); background: rgba(255,255,255,0.12); }
.navbar.scrolled .nav-link { color: var(--clr-text-light); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--clr-primary); background: var(--clr-bg-alt); }
.nav-link.cta-link { background: var(--clr-accent); color: var(--clr-white) !important; }
.nav-link.cta-link:hover { background: var(--clr-accent-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--clr-white); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

/* ===== FLOATING CONTACT BAR ===== */
.floating-contact-bar {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1500;
    display: flex;
    gap: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.floating-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-bg-alt);
    color: var(--clr-primary);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.floating-btn svg {
    width: 20px;
    height: 20px;
}

.floating-btn:hover {
    background: var(--clr-accent);
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(200, 149, 108, 0.3);
}

body.dark-mode .floating-contact-bar {
    background: rgba(26, 26, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .floating-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

body.dark-mode .floating-btn:hover {
    background: var(--clr-accent);
}

@media (max-width: 768px) {
    .floating-contact-bar {
        bottom: 20px;
        left: 20px;
        padding: 6px;
        gap: 8px;
    }
    .floating-btn {
        width: 38px;
        height: 38px;
    }
}

/* Theme toggle button (Floating) */

.theme-toggle.floating-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 4px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-toggle.floating-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.theme-toggle .theme-toggle-icon {
    font-size: 0.9rem;
    line-height: 1;
    user-select: none;
    z-index: 1;
}

.theme-toggle .theme-toggle-slider {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--clr-accent);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(200, 149, 108, 0.4);
}

.theme-toggle[data-mode="dark"] .theme-toggle-slider { 
    left: 30px; 
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .theme-toggle.floating-toggle {
    background: rgba(26, 26, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.theme-toggle:active .theme-toggle-slider { transform: scale(0.9); }
.theme-toggle-icon { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-toggle[data-mode="dark"] .sun { transform: rotate(45deg); opacity: 0; }
.theme-toggle[data-mode="light"] .moon { transform: rotate(-45deg); opacity: 0; }



.navbar.scrolled .nav-toggle span { background: var(--clr-primary); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(17,17,17,0.82) 0%, rgba(26,26,46,0.7) 50%, rgba(17,17,17,0.6) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px;
}
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(200,149,108,0.15); border: 1px solid rgba(200,149,108,0.3);
    color: var(--clr-accent-light); font-size: 0.85rem; font-weight: 500;
    letter-spacing: 1px; margin-bottom: 28px;
    animation: fadeUp 0.8s ease both 0.2s;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; color: var(--clr-white);
    line-height: 1.15; margin-bottom: 24px;
    animation: fadeUp 0.8s ease both 0.4s;
}
.hero-accent { color: var(--clr-accent-light); }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 560px; line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeUp 0.8s ease both 0.6s;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.8s ease both 0.8s; }
.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%); z-index: 2;
}
.scroll-line {
    width: 2px; height: 48px; background: rgba(255,255,255,0.2);
    border-radius: 2px; position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 50%;
    background: var(--clr-accent-light);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== STATS ===== */
.stats-section {
    background: var(--clr-primary);
    padding: 64px 0;
    position: relative;
}
.stats-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold), var(--clr-accent));
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-card {
    text-align: center; padding: 20px; position: relative;
}
.stat-card:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: rgba(255,255,255,0.1);
}
.stat-number {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
    color: var(--clr-accent-light); display: inline;
}
.stat-plus { font-family: var(--font-heading); font-size: 2rem; color: var(--clr-accent-light); }
.stat-unit { font-size: 1.2rem; color: var(--clr-accent-light); margin-left: 4px; }
.stat-label { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 4px; letter-spacing: 0.5px; }
.stat-sub { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 6px; }

/* ===== ABOUT ===== */
.about-section { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
}
.about-image img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); }
.about-image-accent {
    position: absolute; bottom: -16px; right: -16px;
    width: 200px; height: 200px;
    border: 3px solid var(--clr-accent); border-radius: var(--radius-lg);
    z-index: -1;
}
.about-content h2 {
    font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--clr-primary); line-height: 1.2; margin-bottom: 24px;
}
.about-lead { font-size: 1.15rem; color: var(--clr-text); font-weight: 500; margin-bottom: 16px; }
.about-content p { color: var(--clr-text-light); margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.about-feature {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: 8px;
    background: var(--clr-bg-alt);
    font-weight: 500; font-size: 0.9rem;
}
.feature-icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--clr-accent); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services-section { padding: 120px 0; background: var(--clr-bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg); padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative; overflow: hidden;
}

.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 60px rgba(0,0,0,0.12); 
}
body.dark-mode .service-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    background: #1e1e24;
}

.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(200,149,108,0.1), rgba(200,149,108,0.05));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--clr-accent);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
    font-family: var(--font-heading); font-size: 1.3rem;
    color: var(--clr-primary); margin-bottom: 12px;
}
.service-card p { font-size: 0.92rem; color: var(--clr-text-light); line-height: 1.7; }

/* ===== GALLERY ===== */
.gallery-section { padding: 120px 0; }
.gallery-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.gallery-item {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer; min-height: 280px;
}
.gallery-large { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(0.8); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 32px 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    transform: translateY(20px); opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }

.gallery-caption span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--clr-accent-light); }
.gallery-caption p { font-size: 1.1rem; font-weight: 600; margin-top: 4px; }

/* ===== MAP SECTION ===== */
.map-section { padding: 120px 0; }
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    line-height: 0;
}
.map-info {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.map-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--clr-white);
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 500;
}
.info-icon { font-size: 1.2rem; }

/* Dark mode map styles */
body.dark-mode .map-wrapper {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
body.dark-mode .map-wrapper iframe {
    filter: grayscale(0.2) invert(0.9) hue-rotate(180deg) brightness(0.9);
}
body.dark-mode .map-info-item {
    background: #1a1a1e;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.05);
}

/* ===== CTA ===== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    text-align: center;
}
.cta-content h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); color: var(--clr-white); margin-bottom: 20px; }
.cta-content p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 550px; margin: 0 auto 36px; }

/* ===== CONTACT ===== */
.contact-section { padding: 120px 0; background: var(--clr-bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card {
    padding: 24px; border-radius: var(--radius);
    background: var(--clr-white); border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.contact-card:hover { box-shadow: var(--shadow); }
.contact-icon { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--clr-primary); margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--clr-text-light); }
.contact-card a { color: var(--clr-accent); }
.contact-card a:hover { color: var(--clr-accent-dark); }
.contact-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    background: var(--clr-white); padding: 40px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--clr-primary); margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px;
    border: 2px solid #e8e8e8; border-radius: 10px;
    font-family: var(--font-body); font-size: 0.95rem;
    color: var(--clr-text); background: var(--clr-bg);
    transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--clr-accent); background: white; }
.form-group textarea { resize: vertical; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.82rem; color: var(--clr-text-light); cursor: pointer; line-height: 1.5;
}
.checkbox-label input { width: auto; margin-top: 3px; accent-color: var(--clr-accent); }

/* ===== FOOTER ===== */
.footer { 
    background: var(--clr-dark); 
    color: rgba(255,255,255,0.6); 
    padding: 80px 0 0; 
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: white; }
.footer-logo .logo-img { height: 34px; filter: none; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-owner { font-size: 0.85rem; color: rgba(255,255,255,0.35); }
.footer h4 { color: var(--clr-white); font-size: 0.95rem; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer ul a:hover { color: var(--clr-accent-light); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: var(--clr-accent-light); }
.footer-contact a:hover { color: var(--clr-accent); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-large { grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { grid-template-columns: 1fr; padding: 24px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
    .hero-content { padding-top: 100px; padding-bottom: 60px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card::after { display: none !important; }
}

/* ===== GLOBAL TYPOGRAPHY ===== */
body { font-family: 'Montserrat', sans-serif; font-weight: 400; line-height: 1.6; }
h1, h2, h3, .logo-text strong { font-family: 'Playfair Display', serif; }

/* ===== LOGO & BRANDING OVERHAUL ===== */
.nav-logo { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none;
    z-index: 1100;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo-text { 
    font-weight: 500; 
    font-size: 1.1rem; 
    color: #002266; /* Korrigiertes Navy-Blau aus dem Logo */
    letter-spacing: 0.5px; 
    text-transform: none !important;
    display: flex;
    align-items: center;
}

.logo-text strong { 
    font-weight: 800; 
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    margin-left: 10px;
    color: #E60000 !important; /* Korrigiertes helleres Logo-Rot */
    text-transform: none !important;
}

.navbar.scrolled {
    background: rgba(18, 18, 22, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled .logo-text { color: #002266 !important; }
.navbar.scrolled .logo-text strong { color: #E60000 !important; }
body.dark-mode .logo-text { color: white; }

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--clr-accent);
    color: white;
    border-color: var(--clr-accent);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ===== MOBILE NAVIGATION OVERHAUL ===== */
@media (max-width: 991px) {
    .nav-toggle { 
        display: flex; 
        flex-direction: column;
        gap: 6px;
        justify-content: center;
        align-items: center;
        z-index: 1200; 
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 0;
        background: rgba(15, 15, 18, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0 20px;
        z-index: 1050;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.open {
        max-height: 100vh;
        padding: 100px 20px 40px;
    }

    .nav-link {
        color: white !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        padding: 15px 0 !important;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-link:last-child { border-bottom: none; }
    
    .nav-link.active { color: var(--clr-accent) !important; }

    /* Hamburger Animation */
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
/* ===== MODALS ===== */
.modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.open { opacity: 1; pointer-events: auto; visibility: visible; }

.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative; z-index: 2001;
    width: 90%; max-width: 800px; max-height: 85vh;
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.open .modal-container { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none;
    font-size: 2.5rem; line-height: 1; cursor: pointer;
    color: var(--clr-text-light); transition: var(--transition);
    z-index: 10;
}
.modal-close:hover { color: var(--clr-accent); transform: rotate(90deg); }

.modal-content {
    padding: 60px 48px;
    overflow-y: auto; max-height: 85vh;
    scrollbar-width: thin; scrollbar-color: var(--clr-accent) transparent;
}
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-thumb { background: var(--clr-accent); border-radius: 10px; }

.modal-content h1, .modal-content h2 { 
    font-family: var(--font-heading); color: var(--clr-primary); 
    margin: 32px 0 16px; 
}
.modal-content h1:first-child { margin-top: 0; }
.modal-content p { margin-bottom: 16px; color: var(--clr-text-light); }
.modal-content strong { color: var(--clr-text); }

/* Dark mode modal overrides */
body.dark-mode .modal-container { background: #1a1a1e; border: 1px solid rgba(255, 255, 255, 0.05); }
body.dark-mode .modal-content h1, body.dark-mode .modal-content h2, body.dark-mode .modal-content strong { color: #ffffff; }
body.dark-mode .modal-content p { color: #a1a1aa; }

@media (max-width: 768px) {
    .modal-content { padding: 48px 24px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 40px);
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    z-index: 9999;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .cookie-banner {
    background: rgba(30, 30, 35, 0.9);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.cookie-icon {
    font-size: 1.5rem;
}

.cookie-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--clr-text-light);
}

.cookie-content a {
    color: var(--clr-accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
    }
}

/* ===== AI CHAT ===== */
.ai-chat-widget {
    position: fixed;
    right: 20px;
    bottom: 110px;
    z-index: 1200;
}
.ai-chat-toggle {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--clr-accent), #b67d50);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}
.ai-chat-panel {
    width: min(92vw, 380px);
    height: 480px;
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ai-chat-panel[hidden] {
    display: none !important;
}
.ai-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(200, 149, 108, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.ai-chat-head strong {
    color: var(--clr-primary);
}
.ai-chat-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ai-chat-reset {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    color: #2a2a4a;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.ai-chat-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.ai-chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: var(--clr-bg);
}
.ai-msg {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    white-space: pre-wrap;
}
.ai-msg-user {
    background: var(--clr-primary);
    color: #fff;
    margin-left: 40px;
}
.ai-msg-bot {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-right: 22px;
    color: #1f2430;
}
.ai-chat-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}
.ai-chat-form input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    padding: 10px 12px;
}
body.dark-mode .ai-chat-panel {
    background: #1a1a1e;
    border-color: rgba(255, 255, 255, 0.08);
    color: #f3f4f7;
}
body.dark-mode .ai-chat-log {
    background: #12131a;
}
body.dark-mode .ai-chat-head {
    background: rgba(200, 149, 108, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
body.dark-mode .ai-chat-head strong {
    color: #f5d3ac;
}
body.dark-mode .ai-chat-close {
    color: #f3f4f7;
}
body.dark-mode .ai-chat-reset {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f5d3ac;
}
body.dark-mode .ai-msg-bot {
    background: #22242f;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f3f4f7;
}
body.dark-mode .ai-msg-user {
    background: #8a5f3c;
    color: #ffffff;
}
body.dark-mode .ai-chat-form {
    background: #1a1a1e;
    border-top-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .ai-chat-form input {
    background: #101117;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}
body.dark-mode .ai-chat-form input::placeholder {
    color: rgba(235, 238, 245, 0.62);
}
@media (max-width: 768px) {
    .ai-chat-widget {
        right: 12px;
        bottom: 96px;
    }
    .ai-chat-panel {
        height: 60vh;
    }
}
