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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === HEADER (DSCHUNGELGRÜN) === */
.site-header {
    background: linear-gradient(to right, #00321a 0%, #004225 50%, #005a32 75%, #006b3d 100%);
    color: #D4AF37;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #D4AF37;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    max-height: 80px;
    height: 80px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37;
    line-height: 1.2;
}

.main-nav a {
    color: #ffffff;
    margin-left: 25px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #D4AF37;
}

/* === NAV-DROPDOWN (Kollektionen & Über uns) === */
.nav-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 25px;
}

.nav-dropdown .dropdown-trigger {
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-dropdown:hover .dropdown-trigger {
    color: #D4AF37;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #00321a;
    min-width: 200px;
    border: 1px solid #D4AF37;
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 200;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.5px;
    margin: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #004225;
    color: #D4AF37;
    padding-left: 25px;
}

/* === WARENKORB SLIDE-OUT === */
.nav-cart-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 25px;
}

.cart-slideout {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 300;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    border-left: 2px solid #D4AF37;
}

.cart-slideout.open {
    right: 0;
}

/* Overlay entfernt: Produkte bleiben sichtbar und anklickbar */

.cart-slideout-header {
    background: #004225;
    color: #D4AF37;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-slideout-header h3 {
    margin: 0;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-close {
    background: none;
    border: none;
    color: #D4AF37;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-slideout-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    background: #f0f0f0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    color: #004225;
    margin: 0 0 8px;
}

.cart-item-info p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* === WARENKORB-MENGEN-CONTROLS IM SLIDE-OUT === */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #004225;
    background: #ffffff;
    color: #004225;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #004225;
    color: #D4AF37;
}

.qty-display {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #004225;
}

.remove-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #c0392b;
    background: #ffffff;
    color: #c0392b;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: #c0392b;
    color: #ffffff;
}

.cart-item-summe {
    font-size: 14px;
    color: #004225;
    font-weight: bold;
    margin-top: 5px !important;
}

.cart-slideout-footer {
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.cart-summe {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    color: #004225;
    margin-bottom: 15px;
}

.cart-checkout-btn {
    display: block;
    text-align: center;
    background: #004225;
    color: #D4AF37;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.cart-checkout-btn:hover {
    background: #D4AF37;
    color: #004225;
}

.cart-back-btn {
    display: block;
    text-align: center;
    color: #888;
    padding: 10px;
    text-decoration: none;
    font-size: 13px;
}

.cart-back-btn:hover {
    color: #004225;
}

/* === HERO BANNER (Bild ohne grünes Overlay) === */
.hero {
    background-image: url('../uploads/hero-btm.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #D4AF37;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* === GOLDENE TRENNLINIE === */
.goldene-trennlinie {
    height: 2px;
    background: linear-gradient(to right, transparent, #D4AF37 20%, #D4AF37 80%, transparent);
    margin: 60px auto;
    max-width: 1200px;
}

/* === Sektionstitel === */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    color: #004225;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

/* === KATEGORIE-FILTER === */
.kategorien-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.kategorie-btn {
    padding: 10px 24px;
    border: 1px solid #004225;
    border-radius: 30px;
    color: #004225;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.kategorie-btn:hover {
    background-color: #004225;
    color: #D4AF37;
}

.kategorie-btn.aktiv {
    background-color: #004225;
    color: #D4AF37;
    border-color: #D4AF37;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 66, 37, 0.3);
}

/* === PRODUKT-RASTER === */
.shop-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.produkte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 50px 30px;
}

.produkt-karte {
    display: block;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.produkt-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 66, 37, 0.15);
    border-color: #D4AF37;
}

.bild-wrapper {
    width: 100%;
    height: 380px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.bild-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.produkt-karte:hover .bild-wrapper img {
    transform: scale(1.05);
}

.produkt-info {
    padding: 20px 15px;
}

.produkt-info h2 {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #004225;
}

.preis {
    font-size: 16px;
    color: #333333;
}

/* === ZULETZT ANGESEHEN (horizontal scrollbar) === */
.zuletzt-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.zuletzt-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-snap-type: x mandatory;
}

.zuletzt-scroll::-webkit-scrollbar {
    height: 8px;
}

.zuletzt-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.zuletzt-scroll::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

.zuletzt-karte {
    flex: 0 0 200px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
    scroll-snap-align: start;
}

.zuletzt-karte:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 66, 37, 0.15);
    border-color: #D4AF37;
}

.zuletzt-bild {
    width: 100%;
    height: 200px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.zuletzt-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.zuletzt-karte:hover .zuletzt-bild img {
    transform: scale(1.05);
}

.zuletzt-info {
    padding: 12px 10px;
}

.zuletzt-info h3 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    color: #004225;
}

/* === FOOTER === */
.site-footer {
    background-color: #00321a;
    color: #D4AF37;
    text-align: center;
    padding: 30px;
    margin-top: 80px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 2px solid #D4AF37;
}

/* === PRODUKTDETAILSEITE === */
.detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #004225;
    transition: color 0.3s;
}

.back-link:hover {
    color: #D4AF37;
}

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

.detail-bild {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
}

.detail-bild img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.detail-info {
    padding-top: 20px;
}

.detail-kategorie {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #D4AF37;
    margin-bottom: 10px;
}

.detail-info h1 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #004225;
}

.detail-preis {
    font-size: 24px;
    color: #004225;
    margin-bottom: 30px;
    font-weight: bold;
}

.detail-beschreibung {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-bestand {
    font-size: 13px;
    color: #888888;
    margin-bottom: 30px;
}

.kaufen-btn {
    background-color: #D4AF37;
    color: #004225;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px;
}

.kaufen-btn:hover {
    background-color: #004225;
    color: #D4AF37;
}

.benefits {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.benefits p {
    font-size: 13px;
    color: #004225;
    margin-bottom: 10px;
}

.shop-container h1 {
    color: #004225;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero {
        height: 40vh;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .logo img {
        max-height: 50px;
        height: 50px;
    }
    .logo-text {
        font-size: 16px;
    }
}
