* {
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8fafc; /* Etwas weicheres, moderneres Hellgrau */
    color: #0f172a;            /* Dunkleres Slate-Blau statt stumpfem Schwarz */
    padding: 20px 20px 100px 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 600px;
}

/* Neue Styling-Karte für die Abholzeiten */
.opening-hours-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px 20px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Modifiziertes Food-Card Layout mit CSS Flexbox statt floats */
.food-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover-Effekt für Desktop-Geräte */
@media (hover: hover) {
    .food-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(15, 23, 42, 0.06);
        border-color: #cbd5e1;
    }
}

/* Modernes Bild-Styling links */
.food-img-float {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0; /* Verhindert das Stauchen des Bildes */
}

/* Rechter Inhaltsbereich */
.food-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px; /* Synchronisiert die Höhe mit dem Bild */
}

.food-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    line-height: 1.3;    
}

/* Stilvolle Kennzeichnungen (Badges) */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 4px 0 8px 0;
}

.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-vegan {
    background-color: #ecfdf5;
    color: #059669;
}

.badge-veggie {
    background-color: #f0fdf4;
    color: #16a34a;
}

.badge-glutenfree {
    background-color: #fffbeb;
    color: #d97706;
}

.badge-spicy {
    background-color: #fef2f2;
    color: #dc2626;
}

.food-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

/* Styling für die englische Übersetzung */
.eng-desc {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
    font-style: italic;
}

/* Footer im flexiblen Bereich */
.food-footer {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9; /* Dezente Trennlinie zwischen Text und Preis */
}

.price {
    font-weight: 800;
    font-size: 1.15rem;
    color: #0f172a;
}

/* Mengenzähler-Buttons */
.counter-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #0f172a;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    height: 32px;
}

.btn-counter {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #0f172a !important;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.2s, color 0.2s;
}

.btn-counter:hover {
    background: #0f172a;
    color: white !important;
}

.counter-value {
    padding: 0 4px;
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 20px;
    text-align: center;
}

/* Warenkorb-Leiste */
.cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 560px;
    background: #0f172a;
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    z-index: 1000;
    text-decoration: none;
    transition: background 0.2s;
}

.cart-bar:hover {
    background: #1e293b;
}

.cart-btn {
    background: white;
    color: #0f172a;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.cart-btn:active {
    transform: scale(0.95);
}

.summary-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.form-group {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    border: none;
    padding: 8px 0;
    font-size: 1rem;
    outline: none;
}

.form-group input:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.btn-submit {
    background: #0f172a;
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

#sumup-express-container {
    margin-bottom: 0px;
    min-height: 0px;
}

#sumup-express-container:not(:empty) {
    margin-bottom: 20px;
    margin-top: 10px;
}

.checkout-nav-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: center;
}

.btn-nav-back,
.btn-nav-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav-back {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-nav-back:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.btn-nav-clear {
    background-color: #fef2f2;
    color: #dc2626;
}

.btn-nav-clear:hover {
    background-color: #fee2e2;
    color: #991b1b;
}

.btn-tip {
    background-color: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.btn-tip:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.btn-tip:active {
    transform: translateY(0);
    box-shadow: none;
}

.required-label::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}