/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #2d5a2d;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo p {
    color: #4a7c4a;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2d5a2d;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4a7c4a;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4a7c4a;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2d5a2d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 50%, #e8f5e8 100%);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.hero-content h2 {
    font-size: 3rem;
    color: #2d5a2d;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    color: #4a7c4a;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a7c4a 0%, #5a8c5a 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 74, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 74, 0.4);
}

/* Produkte Section */
.produkte {
    padding: 80px 0;
    background-color: #ffffff;
}

.produkte h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a2d;
    margin-bottom: 3rem;
    font-weight: 600;
}

.produkte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.produkt-card {
    background: #f8f9f8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8f5e8;
}

.produkt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.produkt-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produkt-card:hover img {
    transform: scale(1.05);
}

.produkt-card h3 {
    color: #2d5a2d;
    font-size: 1.3rem;
    margin: 1rem 1.5rem 0.5rem;
    font-weight: 600;
}

.produkt-card p {
    color: #4a7c4a;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.5;
}

/* Über uns Section */
.ueber-uns {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
}

.ueber-uns-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ueber-uns h2 {
    font-size: 2.5rem;
    color: #2d5a2d;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.ueber-uns p {
    color: #4a7c4a;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.ueber-uns-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature h3 {
    color: #2d5a2d;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: #4a7c4a;
    margin-bottom: 0;
}

/* Kontakt Section */
.kontakt {
    padding: 80px 0;
    background-color: #ffffff;
}

.kontakt h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a2d;
    margin-bottom: 3rem;
    font-weight: 600;
}

.kontakt-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.kontakt-info h3 {
    color: #2d5a2d;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.kontakt-info p {
    color: #4a7c4a;
    margin-bottom: 1rem;
}

.kontakt-details p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

#map {
    height: 100%;
    width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d5a2d 0%, #4a7c4a 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e8f5e8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #e8f5e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c4a;
    color: #e8f5e8;
}

/* Social Media Icons */
.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(232, 245, 232, 0.2);
    border-radius: 50%;
    color: #e8f5e8;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 245, 232, 0.3);
}

.social-media a:hover {
    background: #e8f5e8;
    color: #2d5a2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 245, 232, 0.3);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-media a:hover .social-icon {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: #2d5a2d;
}

.impressum-content,
.datenschutz-content,
.disclaimer-content {
    line-height: 1.6;
    color: #333;
}

.impressum-content h3,
.datenschutz-content h3,
.disclaimer-content h3 {
    color: #2d5a2d;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.impressum-content h4,
.datenschutz-content h4,
.disclaimer-content h4 {
    color: #4a7c4a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #e8f5e8;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .ueber-uns-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kontakt-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .produkte-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .produkte h2,
    .ueber-uns h2,
    .kontakt h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .social-media {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-media a {
        width: 42px;
        height: 42px;
    }
    
    .social-icon {
        width: 22px;
        height: 22px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.produkt-card img {
    transition: opacity 0.3s ease;
}

.produkt-card img[loading="lazy"] {
    opacity: 0;
}

.produkt-card img[loading="lazy"].loaded {
    opacity: 1;
}


