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

:root {
    --honey-gold: #F4B942;
    --warm-amber: #E8A317;
    --deep-amber: #B8860B;
    --warm-brown: #8B4513;
    --cream: #FFF8DC;
    --soft-white: #FEFEFE;
    --nature-green: #228B22;
    --text-dark: #2F2F2F;
    --text-light: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-white) 100%);
}

/* Navigation */
.navbar {
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(244, 185, 66, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 248, 220, 0.98);
    box-shadow: 0 2px 20px rgba(244, 185, 66, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--deep-amber);
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo::before {
    content: "🍯";
    margin-right: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-amber);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--honey-gold);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-white) 50%, #FFF8E7 100%);
    position: relative;
    overflow: hidden;
    /* Padding-top hinzugefügt um Navbar-Überschneidung zu vermeiden */
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="%23F4B942" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="%23E8A317" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23B8860B" opacity="0.1"/></svg>');
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--deep-amber);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--honey-gold), var(--warm-amber));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 185, 66, 0.3);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 185, 66, 0.4);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image::before {
    content: '🐝';
    position: absolute;
    font-size: 2rem;
    top: 20%;
    right: 10%;
    animation: buzz 4s ease-in-out infinite;
}

@keyframes buzz {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, 5px) rotate(-5deg); }
    75% { transform: translate(5px, -5px) rotate(3deg); }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    /* Zusätzliches Padding-top für andere Seiten */
    margin-top: 100px;
}

.main-content h2 {
    font-size: 2.5rem;
    color: var(--deep-amber);
    margin-bottom: 2rem;
    text-align: center;
}

/* Honey Products Grid */
.honey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.honey-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.honey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(244, 185, 66, 0.2);
}

.honey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--honey-gold), var(--warm-amber));
}

.honey-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--cream), var(--honey-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.honey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honey-image::after {
    content: 'Bild: ' attr(data-image);
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.honey-info {
    padding: 1.5rem;
}

.honey-info h3 {
    color: var(--deep-amber);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.honey-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--honey-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* Zusätzliches Padding für Navigation */
    padding-top: 8rem;
}

.legal-content h2 {
    color: var(--deep-amber);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

.legal-content h3 {
    color: var(--deep-amber);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-content h4 {
    color: var(--warm-brown);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--deep-amber);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--honey-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    color: #CCC;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a:hover {
    color: var(--honey-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 1rem;
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--honey-gold);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-btn.accept {
    background: var(--honey-gold);
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation anpassen */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 248, 220, 0.98);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 20px rgba(244, 185, 66, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(244, 185, 66, 0.1);
        text-align: center;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(244, 185, 66, 0.1);
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        padding-top: 120px; /* Mehr Platz auf Mobile */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem; /* Kleinere Schrift für Mobile */
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Main Content Mobile */
    .main-content {
        padding: 2rem 1rem;
        margin-top: 120px; /* Mehr Abstand auf Mobile */
    }
    
    .main-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .honey-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Legal Content Mobile */
    .legal-content {
        padding: 6rem 1rem 2rem;
        margin-top: 1rem;
    }
    
    .legal-content h2 {
        font-size: 2rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }

    /* Cookie Banner Mobile */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .main-content {
        margin-top: 100px;
        padding: 1.5rem 0.5rem;
    }
    
    .legal-content {
        padding: 5rem 1rem 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}