@charset "UTF-8";
@import url("/static/fonts/inter.css");

/* =========================================
   RESET & BASIS
========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

a {
    text-decoration: none;
    color: inherit;
}

.legal-page {
    padding-top: 20px;
}


/* =========================================
   FARBEN / VARIABLEN
========================================= */
:root {
    --green: #2E4F20;
    --red: #e74c3c;
    --gray: #f8f8f8;
}

/* =========================================
   BARRIEREFREIHEIT (EAA 2025)
========================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 6px;
    background: var(--green);
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 0;
}

/* Stark sichtbare Fokus-Kontur – gelb auf grün = perfekt erkennbar */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.mobile-menu-btn:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #ffbf00 !important;
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================================
   GENERISCHE ELEMENTE
========================================= */
button,
.btn,
.btn-primary {
    background: var(--green);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 6px;
    padding: 10px 16px;
}
button:hover,
.btn:hover,
.btn-primary:hover {
    filter: brightness(1.05);
}

.grid {
    display: grid;
    gap: 50px;
}


/* =========================================
   DESKTOP HEADER
========================================= */
.desktop-header {
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 3px 18px rgba(0,0,0,0.06);
}
.desktop-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 38px;
    font-weight: 900;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
}
.logo span {
    color: var(--red);
    font-size: 42px;
}

.search-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: 650px;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 14px 70px 14px 24px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    background: #fff;
}
.search-box input:focus {
    border-color: var(--green);
}
.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 24px;
    flex-shrink: 0;
}
.header-icons a {
    color: #000;
    position: relative;
}
.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   DESKTOP NAVIGATION – 100% responsiv & barrierefrei
========================================= */
.desktop-nav {
    background: var(--green);
    padding: 12px 0;
}
.desktop-nav .container {
    overflow: visible !important;
}
.desktop-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
    padding: 8px 20px;
    margin: 0 auto;
    list-style: none !important;
    max-width: 1600px;
}
.desktop-nav a {
    color: #fff;
    font-weight: 500;
    font-size: 14.5px;
    text-transform: uppercase;
    padding: 9px 14px;
    white-space: nowrap;
    border-radius: 8px;
    position: relative;
    transition: all 0.25s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    background: rgba(255,255,255,0.15);
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    width: calc(100% - 28px);
}
.sale-link {
    color: #ff9800 !important;
    font-weight: 700 !important;
}

/* Große Bildschirme: noch mehr Luft */
@media (min-width: 1400px) {
    .desktop-nav ul {
        gap: 20px 34px;
        padding: 10px 40px;
    }
    .desktop-nav a {
        font-size: 15px;
        padding: 10px 16px;
    }
}

/* =========================================
   MOBILE HEADER & SEARCH (unverändert)
========================================= */
.mobile-header {
    display: none;
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 3px 18px rgba(0,0,0,0.06);
    position: relative;
}
.mobile-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.mobile-menu-btn {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #000;
    padding: 8px;
    border-radius: 6px;
}
.mobile-header .logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--green);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.mobile-header .logo span { color: var(--red); font-size: 22px; }
.mobile-header .header-icons a { color: #000; font-size: 22px; }

.mobile-search {
    display: none;
    background: #fff;
    padding: 8px 15px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}
.mobile-search input {
    width: 100%;
    padding: 10px 48px 10px 18px;
    border: 2px solid #ddd;
    border-radius: 40px;
    font-size: 15px;
    outline: none;
}
.mobile-search input:focus { border-color: var(--green); }
.mobile-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100vw;
    background: #fff;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    display: none;
}
.mobile-nav.open { left: 0; }
.mobile-nav ul {
    list-style: none !important;
    padding: 16px 12px 90px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.mobile-nav a {
    display: block;
    padding: 12px 10px;
    font-size: 14px;
    color: #333;
    background: #f7f7f7;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: left !important;
    line-height: 1.3;
}
.mobile-nav a:hover {
    background: #f0f8f0;
    color: var(--green);
    font-weight: 500;
}

/* =========================================
   FOOTER (unverändert)
========================================= */
footer {
    background: var(--green);
    color: #fff;
    margin-top: 100px;
    padding-top: 70px;
}
footer a { color: #ddd; }
footer a:hover { color: #fff; padding-left: 8px; }
footer ul, footer li { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.footer-top { padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-top .grid { grid-template-columns: repeat(3, 1fr); }

.footer-middle { padding:w
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-middle .grid {
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo { font-size: 42px; font-weight: 900; color: #fff; }
.footer-logo span { color: var(--red); }
.footer-slogan { font-size: 15px; opacity: 0.9; margin: 15px 0 40px; }
.contact-info p { margin: 12px 0; font-size: 15px; }
.footer-links h4 { font-size: 18px; margin-bottom: 24px; font-weight: 600; }
.footer-links li { margin-bottom: 10px; }

.footer-bottom {
    padding: 35px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .logo { font-size: 32px; }
    .logo span { font-size: 36px; }
    .header-icons { gap: 18px; font-size: 22px; }
    .search-box { max-width: 100%; }
}

@media (max-width: 768px) {
    .top-bar, .desktop-header, .desktop-nav { display: none !important; }
    .mobile-header, .mobile-search { display: block !important; }
    .mobile-nav { display: block; }
    main { padding-top: 140px; padding-bottom: 50px; }
    .footer-top .grid,
    .footer-middle .grid {
        grid-template-columns: 1fr !important;
        gap: 35px;
    }
    .footer-links { text-align: left !important; }
}

main {
    padding: 0;
    min-height: 80vh;
}

/* Kategorie-Seiten-Fixes (wie gehabt) */
.category-page .filter-btn {
    all: unset;
    background: var(--green);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    width: 100%;
    cursor: pointer;
    display: block;
}
.category-page .versand-link {
    text-decoration: underline !important;
    color: #333 !important;
}
.category-page .grid,
.category-page .product-grid {
    gap: unset !important;
}
