/* =========================================
 *  DESIGN SYSTEM: "Pure Green Tech" - oneEMS
 *  ========================================= */
:root {
    --primary: #4cbf35;
    --secondary: #2E7D32;
    --dark: #1b1b1b;
    --dark-green: #052e16;
    --light: #f4fdf4;
    --white: #ffffff;
    --must-have: #d32f2f;
    --radius: 12px;
    --gradient-main: linear-gradient(135deg, #4cbf35 0%, #2E7D32 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Logo Styling */
.logo {
    font-size: 3.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    text-decoration: none;
}

/* Button & Utility Styles aus deiner Vorlage */
.btn-primary {
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    box-shadow: 0 4px 14px rgba(76, 191, 53, 0.4);
}

/* Footer Styles */
.footer-green {
    background: linear-gradient(to bottom, #14532d, #052e16);
    color: white;
    padding: 80px 0 30px;
    border-top: 5px solid var(--primary);
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a7f3d0;
    text-decoration: none;
    font-size: 2.1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-legal {
    font-size: 1.3rem;
    opacity: 0.6;
    margin-top: 20px;
}
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.price-card { background: white; padding: 30px; border-radius: var(--radius); border: 1px solid #eee; display: flex; flex-direction: column; position: relative; transition: all 0.3s ease; }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.plan-price { font-size: 2.2rem; font-weight: 900; margin: 15px 0; }
.plan-subtitle { font-size: 0.9rem; color: #888; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 15px; display: block; }
.pf-icon { color: var(--primary); font-size: 18px; vertical-align: middle; margin-right: 8px; }
/* Footer-Links vergrößern */
.footer-links a {
    font-size: 2.1rem !important; /* Spürbar größer */
    padding: 5px 10px;
}

/* Card-Inhalte optimieren */
.price-card ul li {
    font-size: 1.5rem !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.plan-price {
    font-size: 13px !important; /* Preis prominenter */
}

.price-card .plan-subtitle {
    font-size: 2.1rem !important;
    font-weight: 600;
}

/* Requirements Grid */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.req-card { border: 2px solid #eee; padding: 40px; border-radius: var(--radius); position: relative; display: flex; flex-direction: column; background: #fff; transition: all 0.3s ease; }
.req-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.req-card.must-have { border-color: var(--must-have); background: #fff5f5; }
.badge-req { position: absolute; top: -12px; left: 30px; background: var(--must-have); color: white; padding: 4px 12px; border-radius: 20px; font-weight: 900; font-size: 1.8rem; }
.badge-req.green { background: var(--secondary); }
.badge-req.yellow { background: #f59e0b; }
.req-list { list-style: none; padding: 0; margin-top: 20px; }
.req-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; font-size: 1.5rem; }

//* =========================================
oneEMS PURE GREEN DESIGN (Cart & Checkout)
========================================= */

/* 1. Breadcrumb (Der Pfad ganz oben) */
.breadcrumb {
    background: linear-gradient(135deg, #4cbf35 0%, #2E7D32 100%) !important;
    border: none;
    border-radius: 8px;
}
.breadcrumb > li, .breadcrumb > li > a {
    color: #ffffff !important;
    text-shadow: none;
}
.breadcrumb > li + li:before {
    color: rgba(255,255,255,0.7) !important;
}

/* 2. Tabellen-Kopfzeile (Im Warenkorb) */
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
    background-color: #4cbf35 !important;
    color: #ffffff !important;
    border-bottom: 2px solid #2E7D32 !important;
    font-weight: 700;
}

/* 3. Checkout-Balken (Die Schritte: Bestelloptionen, Rechnungsdaten etc.) */
.panel-default > .panel-heading {
    background: #4cbf35 !important; /* Dein Grün */
    color: #ffffff !important;
    border-color: #2E7D32 !important;
}
.panel-title, .panel-title a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}
/* Aktives Panel etwas dunkler/hervorgehoben */
.panel-default > .panel-heading:hover {
    background: #2E7D32 !important;
}

/* 4. Buttons (Weiter, Kasse, Login) */
.btn-primary, .btn-checkout {
    background: linear-gradient(135deg, #4cbf35 0%, #2E7D32 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(76, 191, 53, 0.3);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}
.btn-primary:hover, .btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 191, 53, 0.5);
    background: #2E7D32 !important;
}

/* Der blaue "Weiter"-Button im Checkout ist oft #button-account oder #button-register */
#button-account, #button-login, #button-register, #button-payment-address, #button-shipping-address, #button-shipping-method, #button-payment-method, #button-confirm {
background: #4cbf35 !important;
border: none !important;
}

/* =========================================
 *  MOBILE HEADER FIX (Responsive Menü)
 *  ========================================= */

@media (max-width: 767px) {
    /* 1. Header Container flexibel machen & stapeln */
    header, header > .container {
        display: flex !important;
        flex-direction: column !important; /* Untereinander statt nebeneinander */
        align-items: center !important;
        height: auto !important;
        padding: 15px 10px !important;
        position: relative; /* Wichtig für absolute Positionierung */
    }

    /* 2. Logo zentrieren und etwas Platz schaffen */
    #logo {
    margin: 0 0 15px 0 !important;
    width: 100%;
    text-align: center;
    }

    /* 3. Menü-Links (Preise, Dashboard) zentrieren und umbrechen lassen */
    .list-inline, .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; /* Abstand zwischen den Links */
        padding: 0;
        margin: 0;
    }

    /* Text-Links etwas größer für Touch */
    .list-inline li a {
        font-size: 14px;
        padding: 5px;
    }

    /* 4. Sprach-Umschalter (Flaggen) Positionieren */
    /* Wir positionieren ihn absolut oben rechts, damit er nicht im Weg ist */
    #form-language, #form-currency {
    position: absolute;
    top: 15px;
    right: 15px;
    }

    /* Dropdown Menü der Sprache fixieren, damit es nicht abgeschnitten wird */
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        min-width: 120px;
    }
}

/* Optional: Verhindert horizontales Scrollen durch überstehende Elemente */
body {
    overflow-x: hidden;
}
