/* ============================================
   DAMILO — Premium Nahrungsergänzung
   Cremeweiß + Dunkelgrün + Gold
============================================ */

:root {
    --cream: #FAF7F2;
    --green: #1B5E20;
    --green-light: #2E7D32;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray: #666;
    --border: #E8E0D5;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Raleway', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }

/* ============ NAVBAR ============ */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

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

.logo { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--green); font-weight: 700; }
.logo-leaf { font-size: 22px; }

.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--green); }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--green); }

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--green) 0%, #2E7D32 50%, #1B5E20 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(42px, 7vw, 80px);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-desc {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

.btn-secondary {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid var(--green);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--green);
    transform: translateY(-2px);
}

/* ============ TRUST BAR ============ */
.trust-bar {
    background: var(--green);
    padding: 20px 0;
    overflow: hidden;
}

.trust-badges {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* ============ SECTIONS ============ */
section { padding: 80px 0; }

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
}

/* ============ KATEGORIEN ============ */
.kategorien { background: var(--white); }

.kat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kat-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.kat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.kat-card:hover::before { transform: scaleX(1); }
.kat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.kat-icon { font-size: 48px; margin-bottom: 16px; }
.kat-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--green); }
.kat-card p { color: var(--gray); font-size: 15px; margin-bottom: 16px; }
.kat-link { color: var(--gold); font-weight: 600; font-size: 14px; }

/* ============ PRODUKTE ============ */
.bestseller { background: var(--cream); }

.produkte-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.produkt-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.produkt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.produkt-img-placeholder {
    background: linear-gradient(135deg, #f0ece4, #e8e4dc);
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.produkt-img-placeholder span { font-size: 48px; margin-bottom: 8px; }
.produkt-img-placeholder p { font-size: 12px; color: var(--gray); text-align: center; padding: 0 10px; }

.produkt-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produkt-info { padding: 20px; }
.produkt-kat { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.produkt-info h3 { font-size: 16px; margin: 8px 0; color: var(--dark); }
.produkt-preis { font-size: 22px; font-weight: 700; color: var(--green); margin-bottom: 16px; font-family: 'Playfair Display', serif; }

/* ============ BUNDLES ============ */
.bundles-home { background: var(--green); }
.bundles-home .section-title { color: var(--white); }

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bundle-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
    position: relative;
    transition: all 0.3s;
}

.bundle-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.bundle-card.featured { border-color: var(--gold); border-width: 2px; }

.bundle-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bundle-icon { font-size: 40px; margin-bottom: 16px; }
.bundle-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--gold); }
.bundle-card p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 20px; }

.bundle-preise { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.alt-preis { font-size: 16px; color: rgba(255,255,255,0.5); text-decoration: line-through; }
.bundle-preis { font-size: 32px; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; }

.ersparnis { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 24px; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.stars { font-size: 18px; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: var(--gray); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.kunde { font-size: 13px; font-weight: 600; color: var(--green); }

/* ============ BESTELLFORMULAR ============ */
.bestell-section {
    background: var(--cream);
    padding: 80px 0;
}

.bestell-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px;
}

.bestell-form h2 { text-align: center; margin-bottom: 8px; color: var(--green); }
.bestell-form .subtitle { text-align: center; color: var(--gray); font-size: 14px; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; letter-spacing: 0.5px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: var(--cream);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: var(--white);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-bestellen {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    margin-top: 8px;
}

.btn-bestellen:hover { background: var(--gold); transform: translateY(-2px); }

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-top: 16px;
    line-height: 1.6;
}

.success-msg {
    display: none;
    background: #E8F5E9;
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: var(--green);
}

.success-msg h3 { font-size: 24px; margin-bottom: 12px; }
.success-msg p { font-size: 15px; }

/* ============ PRODUKT DETAIL ============ */
.produkt-detail { padding: 80px 0; }

.produkt-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.produkt-detail-img {
    background: linear-gradient(135deg, #f0ece4, #e8e4dc);
    border-radius: 8px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.produkt-detail-img span { font-size: 80px; margin-bottom: 16px; }
.produkt-detail-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.produkt-detail-info .kat-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.produkt-detail-info h1 { font-size: 36px; margin-bottom: 12px; color: var(--dark); }
.produkt-detail-info .preis-gross { font-size: 42px; color: var(--green); font-weight: 700; margin-bottom: 8px; }
.produkt-detail-info .versand-note { font-size: 13px; color: var(--gray); margin-bottom: 24px; }

.produkt-features { list-style: none; margin-bottom: 32px; }
.produkt-features li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.produkt-features li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* ============ PAGE HERO ============ */
.page-hero {
    background: var(--green);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 { font-size: 42px; color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 18px; }

/* ============ PRODUKTE PAGE ============ */
.produkte-section { padding: 80px 0; }
.produkte-section h2 { font-size: 32px; color: var(--green); margin-bottom: 32px; }

/* ============ BUNDLES PAGE ============ */
.bundles-page { background: var(--cream); padding: 80px 0; }

.bundle-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.bundle-detail-info h2 { font-size: 32px; color: var(--green); margin-bottom: 12px; }
.bundle-detail-info .bundle-produkte { margin: 20px 0; list-style: none; }
.bundle-detail-info .bundle-produkte li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.bundle-detail-info .bundle-produkte li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

.bundle-preis-box {
    background: var(--cream);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.bundle-preis-box .statt { font-size: 16px; color: var(--gray); text-decoration: line-through; margin-bottom: 4px; }
.bundle-preis-box .jetzt { font-size: 48px; color: var(--green); font-weight: 700; font-family: 'Playfair Display', serif; }
.bundle-preis-box .spar { background: var(--gold); color: var(--white); padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; display: inline-block; margin: 12px 0 20px; }

/* ============ ÜBER UNS ============ */
.ueber-uns { padding: 80px 0; }
.ueber-uns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ueber-uns-text h2 { font-size: 42px; margin-bottom: 24px; color: var(--green); }
.ueber-uns-text p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }

.werte-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.wert-card { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 24px; text-align: center; }
.wert-card .icon { font-size: 32px; margin-bottom: 8px; }
.wert-card h4 { font-size: 16px; color: var(--green); margin-bottom: 4px; }
.wert-card p { font-size: 13px; color: var(--gray); }

/* ============ KONTAKT ============ */
.kontakt { padding: 80px 0; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.kontakt-info h2 { font-size: 36px; margin-bottom: 24px; color: var(--green); }
.kontakt-info p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.kontakt-details { list-style: none; }
.kontakt-details li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }

/* ============ LEGAL PAGES ============ */
.legal { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: 36px; color: var(--green); margin-bottom: 32px; }
.legal h2 { font-size: 22px; color: var(--dark); margin: 32px 0 12px; }
.legal p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.legal ul { padding-left: 24px; color: var(--gray); font-size: 15px; line-height: 1.8; }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 { font-size: 24px; color: var(--gold); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }

.footer-links h4, .footer-kontakt h4 { font-size: 14px; color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-kontakt p { font-size: 14px; margin-bottom: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 20px; border-top: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .hero { min-height: 70vh; padding: 60px 20px; }
    .hero-title { font-size: 38px; }

    .kat-grid { grid-template-columns: 1fr; }
    .produkte-grid { grid-template-columns: repeat(2, 1fr); }
    .bundles-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .produkt-detail-grid { grid-template-columns: 1fr; }
    .bundle-detail-card { grid-template-columns: 1fr; }
    .ueber-uns-grid { grid-template-columns: 1fr; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .bestell-form { padding: 32px 24px; }
    .trust-badges { gap: 16px; }
    .werte-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .produkte-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============ MOBILE PRODUKTSEITE FIX ============ */
@media (max-width: 768px) {
    .lp-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .lp-grid img {
        max-height: 280px !important;
        width: 100% !important;
        object-fit: contain !important;
        background: var(--cream);
        border-radius: 8px;
    }
    
    .preis-box .neu {
        font-size: 36px !important;
    }
    
    .bestell-form {
        padding: 24px 16px !important;
    }
    
    .page-hero h1 {
        font-size: 26px !important;
    }
    
    .page-hero p {
        font-size: 14px !important;
    }
}
