:root {
    /* Color Palette */
    --color-primary: #2E5A35;
    /* Waldgrün - Tradition/Gärtnerei */
    --color-secondary: #8FA893;
    /* Salbei - Modern/Elegant */
    --color-accent: #C87F66;
    /* Terrakotta - Wärme/Erde */
    --color-background: #F9F9F7;
    /* Off-White - Sauberkeit */
    --color-text: #2C2C2C;
    /* Trübes Schwarz - Lesbarkeit */
    --color-white: #FFFFFF;

    /* Typography */
    /* Typography - System Font Stack (GDPR Compliant) */
    --font-heading: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Shadows */
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #234528;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: #b06b54;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .btn {
    padding: 0.5rem 1rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo-container img {
    height: 60px;
    /* Adjust as needed */
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
    align-items: center;
    /* Align items vertically */
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    /* Increase hit area */
}

nav a:hover {
    color: var(--color-primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    /* Position below the parent */
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 4px;
    padding: var(--spacing-sm) 0;
    flex-direction: column;
    /* Stack items vertically */
    gap: 0;
    /* Remove gap from parent ul */
}

.dropdown:hover .dropdown-content {
    display: flex;
    /* Show on hover */
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    padding: var(--spacing-sm) var(--spacing-md);
    display: block;
    color: var(--color-text);
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    /* Taller for more impact */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Slight darkening for text readability */
    z-index: 1;
}

.hero-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    /* Frosted glass base */
    backdrop-filter: blur(12px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* Deep elegant shadow */
    max-width: 600px;
    width: 90%;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: translateY(0);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    line-height: 1.1;
}

.hero p.tagline {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    backdrop-filter: blur(4px);
}

.btn-glass:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }
}



/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Service Cards */
/* Product Card Styles */
.product-grid:hover>.product-card:not(:hover) {
    transform: scale(0.95);
    opacity: 0.6;
    filter: grayscale(30%);
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    /* Ensure smooth transition for all props */
    z-index: 1;
}

.product-card:hover {
    transform: scale(1.05);
    /* Slightly bigger */
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    z-index: 10;
    /* Bring to front */
    opacity: 1;
    filter: none;
}

.service-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card i {
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
}

/* Contact Page Buttons */
.btn-outline-primary {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-email {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-email:hover {
    background-color: #b06a54;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

.btn-nav {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background-color: #eee;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Social Media Icons */
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-facebook {
    background: #1877F2;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        /* Header height approx */
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav a {
        padding: 1rem;
        display: block;
    }

    /* Dropdowns on mobile */
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        padding: 0;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding-left: 2rem;
        font-size: 0.95em;
    }

    .container {
        width: 100%;
        padding: 0 1rem;
    }

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



/* Fix for Anchor Links */
.service-section,
section[id],
div[id] {
    scroll-margin-top: 100px;
}

/* Button Hover Animation: Wächst noch */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.5);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
}

.btn-growing {
    position: relative;
    overflow: hidden;
}

.btn-growing:hover::after {
    content: "🙂 🌿 🙂";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    animation: floatUp 1s ease-out infinite;
    pointer-events: none;
}