:root{
  --green:#5f9827; --green-dark:#2f641e; --green-soft:#eff7df;
  --cream:#fbfaf2; --ink:#2f281f; --muted:#6d746b; --line:#dfe9cf;
}
*{box-sizing:border-box}
html{scroll-padding-top: 120px;}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;margin:0}
a{text-decoration:none;color:var(--green) !important;}
a:hover{text-decoration:none;color:var(--ink) !important;}
.top-strip{background:linear-gradient(90deg,var(--green-dark),#86b845);color:#fff;font-size:.9rem;text-align:center;padding:.35rem 1rem}
.navbar{background:rgba(255,255,246,.95);backdrop-filter:blur(8px);border-bottom:1px solid #edf2df}
.logo-img{width:120px;height:70px;object-fit:contain;border-radius:0%}
.brand-script{font-family:"Brush Script MT","Segoe Script",cursive;color:var(--green-dark);font-size:1.55rem}
.link{color:#3c342c!important}
.link.active,.link:hover{color:var(--green)!important}
.nav-link{font-weight:700;color:#3c342c!important}
.nav-link.active,.nav-link:hover{color:var(--green)!important}
.btn-green,.btn-red{transition: all .2s ease;color:white !important;}
.btn-green{background:linear-gradient(135deg,#79aa38,var(--green-dark));color:#fff;border:0;border-radius:.7rem;padding:.85rem 1.35rem;font-weight:800;box-shadow:0 8px 18px rgba(95,152,39,.22);display:inline-flex;align-items:center;justify-content:center;}
.btn-green:hover{text-decoration:none;color:var(--ink) !important;}
.btn-green:hover,.btn-red:hover{color:#fff;transform:translateY(-1px)}
.btn-red {background: linear-gradient(135deg,#d96b5f,#b64235);color: #fff;border: 0;border-radius: .7rem;padding: .85rem 1.35rem;font-weight: 800;box-shadow: 0 8px 18px rgba(182,66,53,.22);}
.btn-outline-green{border:1px solid var(--green);color:var(--green-dark);border-radius:.7rem;padding:.85rem 1.35rem;font-weight:800;background:#fff;display:inline-flex;align-items:center;justify-content:center;}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 28%,#e5f3c5 0 20%,transparent 42%),linear-gradient(180deg,#fff 0%,#fbfff2 100%);padding:4rem 0 2.5rem}
.hero h1{font-size:clamp(3rem,8vw,5.8rem);line-height:.92;font-weight:900;letter-spacing:-.05em}
.hero .script{display:block;font-family:"Brush Script MT","Segoe Script",cursive;color:var(--green-dark);font-weight:400;letter-spacing:0}
.hero .big{color:#68717b}
.hero-bag{position:relative;z-index:2;max-width:560px;width:100%}
.badge-fresh{position:absolute;left:3%;bottom:16%;z-index:4;background:#e8f6c8;color:var(--green-dark);width:118px;height:118px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;box-shadow:0 10px 25px rgba(68,92,30,.18);font-size:.92rem}
.feature-strip{background:linear-gradient(90deg,#f7faee,#eef6dc);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.feature-card{height:100%;padding:1.2rem 1rem;border-right:1px solid rgba(95,152,39,.25)}
.feature-card:last-child{border-right:0}
.icon-wrapper{width:56px;min-width:56px;height:56px;display:flex;align-items:center;justify-content:center;}
.icon{max-width:40px;max-height:40px;object-fit:contain;}
.section-title{font-weight:900;text-align:center;font-size:2rem}
.underline{width:72px;height:4px;background:var(--green);border-radius:999px;margin:.65rem auto 0}
.step-circle{width:92px;height:92px;border-radius:50%;background:var(--green-soft);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:2.4rem;color:var(--green-dark)}
.step-number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--green);color:#fff;font-weight:900;margin-bottom:.5rem}
.cta-panel{background:linear-gradient(135deg,#6fa637,#4f8b25);color:#fff;border-radius:1rem;padding:1.5rem;box-shadow:0 16px 35px rgba(47,100,30,.18)}
.form-card{border:1px solid var(--line);border-radius:1rem;background:#fff;box-shadow:0 12px 30px rgba(38,61,19,.06);padding:1.35rem}
.bg-green-soft{background:var(--green-soft);}
.footer a{font-size:.9rem}
.footer-bottom{background:var(--green);color:#fff;padding:.85rem 0;font-size:.9rem}
.footer-bottom a,.footer-bottom a:hover{color:#fff !important}
.premium .hero{background:radial-gradient(circle at 15% 20%,#eff9dc 0 17%,transparent 35%),linear-gradient(135deg,#fffdf3 0%,#eef8dd 100%);padding:4.5rem 0 3rem}
.premium .glass{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.65);box-shadow:0 24px 70px rgba(65,93,31,.16);border-radius:1.5rem;padding:2rem}
.premium .hero h1{font-size:clamp(2.8rem,7vw,5.3rem)}
.premium .feature-card{background:#fff;border:1px solid var(--line);border-radius:1.1rem;box-shadow:0 12px 30px rgba(38,61,19,.07);border-right:1px solid var(--line)}
.premium .feature-strip{background:#fff;padding:2.5rem 0}
.premium .stat{background:#fff;border-radius:1rem;padding:1rem;border:1px solid var(--line)}
.cookie-notice{display:none;background:#fff;border-bottom:3px solid var(--green);box-shadow:0 6px 18px rgba(0,0,0,.08);padding:1rem 0;}
.cookie-content{display:flex;flex-direction:column;gap:1rem;}
.cookie-text{color:#333;line-height:1.45;}
.cookie-text strong{display:block;color:var(--green-dark);font-weight:800;margin-bottom:.25rem;}
.cookie-actions{display:flex;flex-direction:column;gap:.75rem;}
.btn-cookie{padding:.65rem 1rem;font-size:.9rem;text-align:center;}
.form-control:focus{background-color:#fff;border-color:var(--green);box-shadow:0 0 0 .2rem rgba(95,152,39,.15);}
.form-floating > label::after{background:transparent !important;}
.form-floating > label{color: var(--muted);}
.logo-header{display:flex;align-items:center;margin-top:90px;}
.hero-bag1{height:120px;}
.heart{font-size:3rem;color:#6a9e2f;margin-left:-35px;margin-top:-60px;}
.table {
    background: #fff;
    overflow-y: auto;
}

table {
    width: 100%;
}

    table thead th,
    table tbody td {
        padding: 15px;
        border: none;
        font-size: 14px;
    }

    table thead th {
        background: var(--green) !important;
        color: white !important;
        font-size: 16px;
        font-weight: 600;
        position: sticky;
        top: -1%;
        vertical-align: middle;
        padding: 10px 5px 10px 5px !important;
        border-right: 1px solid rgba(0,0,0,0.1);
    }

    table tbody td {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        border-right: 1px solid rgba(0,0,0,0.1);
        vertical-align: middle;
        padding: 5px !important;
    }

    table tbody a {
        padding: 6px !important;
    }

    table tbody {
        border-left: 1px solid rgba(0,0,0,0.1);
    }

.dt-scroll-body {
    border-bottom-width: 2px !important;
}
.page-link {
    color:white;
    background-color: var(--green);
    /*border-color: var(--btn-primary-border);*/
}

    .page-link:hover {
        color: white;
        background-color: var(--green);
        /*border-color: var(--btn-primary-hover);*/
    }

.page-item.active .page-link {
    background-color: var(--green);
    border-color: var(--green);
}

.page-link:focus {
    box-shadow: 0 0 0 .25rem rgba(248,181,79,.4);
}
.badge-success-custom {
    background: #e8f5d8;
    color: #2f641e;
    font-weight: 600;
}

.badge-warning-custom {
    background: #fff3cd;
    color: #856404;
    font-weight: 600;
}

.badge-danger-custom {
    background: #fde2e0;
    color: #a52a20;
    font-weight: 600;
}
.address-link {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: #3c342c !important;
    text-decoration: none;
}

    .address-link:hover {
        color: var(--green) !important
    }

.maps-pin {
    flex-shrink: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

.address-link:hover .maps-pin {
    transform: scale(1.15);
}

.maps-pin,
.address-link {
    transition: all .15s ease;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
}

    .price-row:last-child {
        border-bottom: 0;
    }

    .price-row strong {
        color: var(--green-dark);
        white-space: nowrap;
        font-weight: 900;
    }

/* Aktive Frage */
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #79aa38, var(--green-dark));
    color: #fff;
    font-weight: 700;
    box-shadow: none;
}

    /* Pfeil rechts ebenfalls weiß */
    .accordion-button:not(.collapsed)::after {
        filter: brightness(0) invert(1);
    }

/* Hover */
.accordion-button:hover {
    background-color: #f3f8e7;
}

/* Fokus */
.accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 .2rem rgba(95,152,39,.15);
}

/* FAQ Cards etwas schöner */
.accordion-item {
    border: 1px solid rgba(121,170,56,.15);
    border-radius: .8rem !important;
    overflow: hidden;
    margin-bottom: .75rem;
}

.accordion-button {
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-body {
    background: #fff;
    line-height: 1.7;
}
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg,#79aa38,var(--green-dark));
    color: #fff;
    border: 0;
}

#shoppingTable th,
#shoppingTable td {
    white-space: nowrap;
}

.shopping-table-wrapper {
    position: relative;
    min-height: 360px;
    overflow: visible;
}

#productSuggestions {
    position: absolute;
    z-index: 99999;
    background: #fff;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.suggestion-grid {
    display: grid;
    grid-template-columns: 180px 1fr 120px;
    gap: 12px;
    align-items: center;
}

.suggestion-package {
    text-align: right;
    white-space: nowrap;
}

.product-suggestion-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.product-suggestion {
    text-align: left;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper .password-input {
        padding-right: 3rem;
    }

.password-toggle {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    z-index: 5;
    border: none;
    background: transparent;
    padding: 0.5rem;
    color: #6c757d;
    cursor: pointer;
}

    .password-toggle:hover {
        color: #212529;
    }


.shopping-table-wrapper {
    position: relative;
    min-height: 360px;
    overflow: visible;
}

#productSuggestions {
    position: absolute;
    z-index: 99999;
    background: #fff;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.product-suggestion {
    text-align: left;
}

.product-suggestion {
    text-align: left;
    white-space: normal;
    line-height: 1.4;
}

    .product-suggestion strong {
        color: var(--green-dark);
    }

.quantity-mobile {
    display: none;
}

.ingredient-warning {
    color: #dc3545;
    font-size: 1.6rem;
    line-height: 1;
    cursor: help;
    flex-shrink: 0;
}

    .ingredient-warning i {
        color: #dc3545;
    }

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.recipe-order-card {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

.recipe-thumb {
    height: 150px;
    background: #f4f4f4;
}

    .recipe-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.recipe-card-body {
    padding: 12px;
}

    .recipe-card-body h3 {
        font-size: 1.05rem;
        font-weight: 700;
        margin: 0 0 6px;
    }

    .recipe-card-body p {
        font-size: .875rem;
        color: #666;
        margin-bottom: 8px;
    }

.recipe-meta {
    display: flex;
    gap: 10px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.recipe-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.allergen-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 5px;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.selected-check {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.recipe-order-card.selected .selected-check {
    display: flex;
}

.recipe-order-card.selected .add-recipe-btn {
    display: none;
}

.add-recipe-btn {
    margin: 0 12px 12px;
}

.allergen-a {
    background: #d9534f;
}

.allergen-b {
    background: #f0ad4e;
}

.allergen-c {
    background: #5bc0de;
}

.allergen-d {
    background: #5cb85c;
}

.allergen-e {
    background: #6f42c1;
}

.allergen-f {
    background: #fd7e14;
}

.allergen-g {
    background: #20c997;
}

.allergen-h {
    background: #0d6efd;
}

.allergen-l {
    background: #198754;
}

.allergen-m {
    background: #dc3545;
}

.allergen-n {
    background: #6610f2;
}

.allergen-o {
    background: #adb5bd;
}

.allergen-p {
    background: #795548;
}

.allergen-r {
    background: #e83e8c;
}

.remove-recipe-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.recipe-order-card:not(.selected) .remove-recipe-btn {
    display: none;
}

.filter-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}

    .filter-checkbox-list .form-check {
        margin: 0;
    }


@media (min-width:992px) {
    .feature-row {
        display: grid;
        grid-template-columns: repeat(4,1fr)
    }

    .hero {
        min-height: 690px;
        display: flex;
        align-items: center
    }

    .navbar .btn-green {
        padding: .7rem 1.1rem
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-actions {
        flex-direction: row;
        align-items: center;
        flex-shrink: 0;
    }
}

@media (max-width:991.98px){
  .hero-bag1 {height:unset;width:90vw;}
  .logo-header {margin-top:20px}
  .logo-img{width:100px;height:54px}.brand-script{font-size:1.2rem}
  .hero{text-align:center;padding-top:3rem}
  .hero::before{right:-260px;top:250px}
  .badge-fresh{left:7%;bottom:-9%;width:92px;height:92px;font-size:.78rem}
  .feature-card{border-right:0;border-bottom:1px solid rgba(95,152,39,.18)}
    .shopping-table-wrapper {
        min-height: 420px;
    }

    #productSuggestions {
        min-width: 720px;
    }
}

@media (max-width: 768px) {

    .table-title {
        flex-direction: column;
        align-items: stretch;
    }

    .table-search {
        min-width: auto;
    }
}

@media (max-width: 575.98px) {

    #shoppingTable {
        margin-bottom: 10px;
    }


    .col-lg-8 > .form-card {
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: transparent;
    }

    #productRows {
        border-left:0px;
    }

    .shopping-table-wrapper {
        min-height: 0;
        margin-left: -10px;
        margin-right: -10px;
        overflow: visible;
    }

        .shopping-table-wrapper .table-responsive {
            overflow-x: visible;
        }

    #shoppingTable {
        width: 100%;
        table-layout: fixed;
        margin-bottom: 0;
    }

        #shoppingTable thead {
            display: table-header-group;
        }

            #shoppingTable thead th {
                display: table-cell;
                font-size: .72rem;
                padding: 6px 2px !important;
                text-align: center;
                white-space: nowrap;
            }

                #shoppingTable thead th:nth-child(1) {
                    width: 58px !important;
                }

                #shoppingTable thead th:nth-child(2) {
                    width: auto !important;
                }

                #shoppingTable thead th:nth-child(3) {
                    width: 24% !important;
                }

                #shoppingTable thead th:nth-child(4) {
                    width: 58px !important;
                }

                #shoppingTable thead th:nth-child(5) {
                    width: 32px !important;
                }

        #shoppingTable tbody tr.shopping-row {
            display: table-row;
            border: 0;
            background: #fff;
        }

        #shoppingTable tbody td {
            display: table-cell;
            padding: 0 !important;
            border-bottom: 1px solid rgba(0,0,0,.12);
            border-right: 1px solid rgba(0,0,0,.12);
            vertical-align: middle;
        }

            #shoppingTable tbody td:first-child {
                border-left: 1px solid rgba(0,0,0,.12);
            }

    .quantity-desktop {
        display: none;
    }

    .quantity-mobile {
        display: block;
    }

    #shoppingTable .form-control,
    #shoppingTable .form-select {
        width: 100%;
        height: 36px;
        min-height: 36px;
        border: 0;
        border-radius: 0;
        padding: .25rem .28rem;
        font-size: .78rem;
        line-height: 1.1;
        box-shadow: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #shoppingTable .quantity-mobile {
        width: 58px;
        min-width: 58px;
        padding-left: .35rem;
        padding-right: 1.45rem;
        font-size: .85rem;
        text-align: left;
        background-position: right .35rem center;
        background-size: 12px 10px;
    }

    #shoppingTable .product-input,
    #shoppingTable .brand-input {
        font-size: .78rem;
    }

    #shoppingTable .package-input {
        font-size: .72rem;
        padding-left: .2rem;
        padding-right: .2rem;
    }

    #shoppingTable .remove-row {
        width: 32px;
        height: 36px;
        padding: 0;
        border-radius: 0;
        border: 0;
        font-size: 1rem;
        line-height: 1;
    }

    #addRowContainer td {
        border: 0 !important;
    }

    #addRowContainer .btn-outline-green {
        margin-top: 10px;
    }

    #addRow {
        width: calc(100% - var(--bs-gutter-x) * .5 - 6px);
        min-height: 44px;
        padding: .75rem .5rem;
        font-size: .95rem;
    }

    #productSuggestions {
        left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        font-size: .85rem;
    }
}
