/* ---------- CSS-Variablen ---------- */
:root {
    /* Farbpalette (Wald- & Holz-Thema) */
    --color-1: #18281E; /* Tiefes Waldgrün */
    --color-2: #2C4A35; /* Olivgrün */
    --color-3: #D98C21; /* Warmer Bernstein-Akzent */
    --color-4: #7B8F77; /* Gedecktes Salbeigrün */
    --color-5: #F5EFEB; /* Warmes Cremeweiß */

    --bg-light: #F7F8F6;
    --text-main: #2F3630;
    --text-dark: var(--color-1);
    --text-light: #ffffff;
    
    /* Typografie */
    --font-main: 'Outfit', 'Inter', 'Segoe UI', sans-serif;
    
    /* Abstände & Größen */
    --nav-height: 100px;
    --section-pad: 100px 0;
    
    /* Effekte */
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --shadow-sm: 0 2px 8px rgba(24, 40, 30, 0.06);
    --shadow-md: 0 8px 30px rgba(24, 40, 30, 0.08);
    --shadow-lg: 0 20px 60px rgba(24, 40, 30, 0.12);
    --shadow-glow: 0 0 40px rgba(217, 140, 33, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

/* ---------- Reset & Basis ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 125%;
}

.section-pattern {
    position: relative;
    z-index: 1;
}

.section-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('pattern.png');
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.7;
    mix-blend-mode: multiply;
    z-index: -1;
    pointer-events: none;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-pad);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-2);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-4);
    margin-bottom: 3rem;
    font-weight: 300;
}

.center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.text-white { color: var(--text-light) !important; }

/* ---------- Scroll-Reveal-Animationen ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Typografie-Hilfsklassen ---------- */
.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-2);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-3) 0%, #E5A040 100%);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(217, 140, 33, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(217, 140, 33, 0.45);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--color-1);
    border-color: var(--text-light);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    height: 85px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(24, 40, 30, 0.08);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 75px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo {
    height: 60px;
    filter: none;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--color-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--color-1);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-3);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:not(.btn-nav):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--text-light);
}

.navbar.scrolled .nav-links a:not(.btn-nav):hover {
    color: var(--color-3);
}

.btn-nav {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--text-light) !important;
    padding: 10px 26px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.25);
}

.navbar.scrolled .btn-nav {
    background: var(--color-2);
    border-color: transparent;
}

.btn-nav:hover {
    background: var(--color-3) !important;
    color: var(--text-light) !important;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Hamburger-Menü */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background-color: var(--text-light);
    transition: var(--transition);
    border-radius: 3px;
}

.navbar.scrolled .hamburger span {
    background-color: var(--color-1);
}

/* ---------- Hero-Bereich ---------- */
.hero {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    background-color: var(--color-1);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('BG.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        160deg,
        rgba(24, 40, 30, 0.88) 0%,
        rgba(44, 74, 53, 0.75) 50%,
        rgba(24, 40, 30, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.85;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}


/* ---------- Über uns-Bereich ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #4A5A4D;
    line-height: 1.8;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -1px;
    left: -1px;
    background: linear-gradient(135deg, var(--color-3) 0%, #E5A040 100%);
    color: white;
    padding: 28px 32px;
    border-radius: 0 var(--radius-md) 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 4px -4px 30px rgba(217, 140, 33, 0.3);
}

.experience-badge .years {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

/* ---------- Leistungs-Bereich ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(24, 40, 30, 0.04);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.service-card[data-gallery="Baumfaellung"] {
    background-image: linear-gradient(to bottom, rgba(24, 40, 30, 0.75), rgba(24, 40, 30, 0.9)), url('img/bg_baumfaellung.jpeg');
}

.service-card[data-gallery="Hecken"] {
    background-image: linear-gradient(to bottom, rgba(24, 40, 30, 0.75), rgba(24, 40, 30, 0.9)), url('img/bg_hecken.jpeg');
}

.service-card[data-gallery="Zaun"] {
    background-image: linear-gradient(to bottom, rgba(24, 40, 30, 0.75), rgba(24, 40, 30, 0.9)), url('img/bg_zaunbau.jpeg');
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-3) 0%, var(--color-2) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(217, 140, 33, 0.15) 0%, rgba(217, 140, 33, 0.05) 100%);
    color: var(--color-3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
    border: 1px solid rgba(217, 140, 33, 0.2);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-3) 0%, #E5A040 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(217, 140, 33, 0.3);
}

.service-title {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.service-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}
.service-gallery-hint {
    display: inline-block;
    margin-top: 18px;
    color: var(--color-3);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.service-card:hover .service-gallery-hint {
    opacity: 1;
    transform: translateX(0);
}

.service-card[data-gallery] {
    cursor: pointer;
}

/* ---------- Galerie-Modal für Leistungen ---------- */
.service-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.service-gallery-modal.active {
    opacity: 1;
    pointer-events: all;
}

.sgm-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(24, 40, 30, 0.06);
}

.sgm-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-2);
}

.sgm-close {
    font-size: 2rem;
    color: var(--color-4);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 300;
}

.sgm-close:hover {
    background: rgba(24, 40, 30, 0.06);
    color: var(--color-1);
}

.sgm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 30px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ---------- Galerie-Element (geteilt) ---------- */
.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 40, 30, 0.6) 0%, rgba(24, 40, 30, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay svg {
    color: white;
    width: 36px;
    height: 36px;
    transform: scale(0.5) translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ---------- Lightbox-Modal ---------- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 40, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 80px rgba(0,0,0,0.4);
    animation: lightboxZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoom {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 36px;
    font-weight: 300;
    transition: var(--transition);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.lightbox-close:hover {
    color: white;
    background: rgba(255,255,255,0.15);
}

/* ---------- Kontakt-Bereich ---------- */
.contact-box {
    background: linear-gradient(145deg, var(--color-2) 0%, var(--color-1) 100%);
    border-radius: var(--radius-lg);
    padding: 70px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Dekorative Unschärfe-Effekte (Blurs) */
.contact-box::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--color-3);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    opacity: 0.12;
    filter: blur(80px);
}

.contact-box::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-3);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    opacity: 0.08;
    filter: blur(60px);
}


.contact-info {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    transition: var(--transition);
}

.contact-details li:hover {
    transform: translateX(5px);
}

.contact-details svg {
    color: var(--color-3);
    flex-shrink: 0;
}

/* E-Mail-Formular */
.email-form-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease,
                margin-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.email-form-container.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 30px;
}

#contact-form {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    font-family: inherit;
    font-size: 1rem;
    color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-3);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(217, 140, 33, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

/* ---------- Footer-Bereich ---------- */
.footer {
    background: var(--color-1);
    color: var(--color-4);
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-3);
    opacity: 1;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(24, 40, 30, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 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;
    color: rgba(255,255,255,0.9);
}

.cookie-content a {
    color: var(--color-3);
    text-decoration: underline;
    font-weight: 700;
    transition: var(--transition);
}

.cookie-content a:hover {
    color: white;
}

.cookie-buttons .btn-sm {
    padding: 12px 28px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ---------- Responsives Design ---------- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 100%; /* Skalierung auf kleineren Bildschirmen zurücksetzen */
    }

    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .nav-links a {
        color: var(--color-1) !important;
    }

    .btn-nav {
        background: var(--color-2) !important;
        color: white !important;
        border-color: transparent !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }
    
    .contact-box {
        padding: 40px 24px;
    }

    .contact-doodle {
        display: none;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-banner {
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 15px));
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 10px 20px 10px 20px;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn-sm {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-box {
        padding: 30px 20px;
    }
}
