/* ==========================================================================
   Eatz - Essensbestellung
   Frontend-Stylesheet
   Modern, warm, professional
   ========================================================================== */

.eatz-app {
    --eatz-brand: #e85d04;
    --eatz-brand-dark: #c54a00;
    --eatz-accent: #588157;
    --eatz-accent-dark: #3a5a40;
    --eatz-bg: #fdfaf6;
    --eatz-card: #ffffff;
    --eatz-border: #ece6dd;
    --eatz-text: #2b2118;
    --eatz-text-soft: #6f6253;
    --eatz-shadow: 0 1px 2px rgba(43, 33, 24, .06), 0 6px 24px rgba(43, 33, 24, .07);
    --eatz-radius: 14px;
    --eatz-radius-sm: 10px;

    max-width: 980px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    color: var(--eatz-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

/* Header
   ----------------------------------------------------------------------- */
.eatz-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--eatz-border);
}
.eatz-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.eatz-logo {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--eatz-brand), var(--eatz-brand-dark));
    color: #fff;
    border-radius: 14px;
    box-shadow: var(--eatz-shadow);
}
.eatz-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.1;
}
.eatz-subtitle {
    margin: 2px 0 0;
    color: var(--eatz-text-soft);
    font-size: 13px;
}
.eatz-user-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cards
   ----------------------------------------------------------------------- */
.eatz-card {
    background: var(--eatz-card);
    border: 1px solid var(--eatz-border);
    border-radius: var(--eatz-radius);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--eatz-shadow);
}
.eatz-card--center { text-align: center; max-width: 460px; margin-left: auto; margin-right: auto; }
.eatz-card--accent { border-color: rgba(88, 129, 87, .25); }
.eatz-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.eatz-card__head h3 { flex: 1; }
.eatz-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--eatz-text);
}
.eatz-card__text {
    margin: 0 0 14px;
    color: var(--eatz-text-soft);
}

/* Icon-Kreise
   ----------------------------------------------------------------------- */
.eatz-icon-circle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--eatz-brand);
    background: rgba(232, 93, 4, .12);
    flex-shrink: 0;
}
.eatz-icon-circle--accent {
    color: var(--eatz-accent);
    background: rgba(88, 129, 87, .15);
}
.eatz-icon-circle--lg {
    width: 70px; height: 70px;
    margin: 4px auto 14px;
}

/* Grid
   ----------------------------------------------------------------------- */
.eatz-grid { display: grid; gap: 16px; }
.eatz-grid--two   { grid-template-columns: repeat(2, 1fr); }
.eatz-grid--three { grid-template-columns: repeat(3, 1fr); }
.eatz-grid--main-side { grid-template-columns: 2fr 1fr 1fr; }

@media (max-width: 700px) {
    .eatz-grid--two,
    .eatz-grid--three,
    .eatz-grid--main-side { grid-template-columns: 1fr; }
}

/* Forms
   ----------------------------------------------------------------------- */
.eatz-form { display: grid; gap: 12px; }
.eatz-field { display: flex; flex-direction: column; gap: 6px; }
.eatz-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--eatz-text-soft);
}
.eatz-field input[type="text"],
.eatz-field input[type="password"],
.eatz-field input[type="email"],
.eatz-field input[type="tel"],
.eatz-field input[type="url"],
.eatz-field input[type="number"],
.eatz-field select,
.eatz-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--eatz-border);
    border-radius: var(--eatz-radius-sm);
    background: #fff;
    color: var(--eatz-text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.eatz-field input:focus,
.eatz-field select:focus,
.eatz-field textarea:focus {
    outline: none;
    border-color: var(--eatz-brand);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, .15);
}
.eatz-field textarea { resize: vertical; min-height: 70px; }
.eatz-field--file input[type="file"] {
    padding: 8px;
    background: #fcf8f2;
}
.eatz-field small {
    color: var(--eatz-text-soft);
    font-size: 12px;
}
.eatz-form__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons (mit hoher Spezifitaet, um Theme-Defaults zu schlagen)
   ----------------------------------------------------------------------- */
.eatz-app .eatz-btn,
.eatz-app button.eatz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--eatz-radius-sm);
    background: #f4ede2;
    color: var(--eatz-text);
    font: 600 14px/1 inherit;
    cursor: pointer;
    transition: transform .08s ease, background .15s, color .15s, box-shadow .15s, border-color .15s;
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
}
.eatz-app .eatz-btn:hover,
.eatz-app button.eatz-btn:hover  { transform: translateY(-1px); }
.eatz-app .eatz-btn:active { transform: translateY(0); }
.eatz-app .eatz-btn:focus-visible {
    outline: 2px solid var(--eatz-brand);
    outline-offset: 2px;
}
.eatz-app .eatz-btn--primary,
.eatz-app button.eatz-btn--primary {
    background: var(--eatz-brand);
    color: #fff;
    border-color: var(--eatz-brand);
    box-shadow: 0 1px 0 var(--eatz-brand-dark), 0 6px 18px rgba(232, 93, 4, .28);
}
.eatz-app .eatz-btn--primary:hover { background: var(--eatz-brand-dark); border-color: var(--eatz-brand-dark); color:#fff; }
.eatz-app .eatz-btn--accent,
.eatz-app button.eatz-btn--accent {
    background: var(--eatz-accent);
    color: #fff;
    border-color: var(--eatz-accent);
    box-shadow: 0 1px 0 var(--eatz-accent-dark), 0 6px 18px rgba(88, 129, 87, .25);
}
.eatz-app .eatz-btn--accent:hover { background: var(--eatz-accent-dark); border-color: var(--eatz-accent-dark); color:#fff; }
.eatz-app .eatz-btn--ghost,
.eatz-app button.eatz-btn--ghost {
    background: transparent;
    border-color: var(--eatz-border);
    color: var(--eatz-text);
}
.eatz-app .eatz-btn--ghost:hover { background: #f7f1e7; }
.eatz-app .eatz-btn--danger { color: #b03a1f; border-color: rgba(176, 58, 31, .25); }
.eatz-app .eatz-btn--danger:hover { background: rgba(176, 58, 31, .08); }
.eatz-app .eatz-btn--block { width: 100%; }
.eatz-app .eatz-btn--small { padding: 6px 12px; font-size: 13px; }
.eatz-app .eatz-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Avatare
   ----------------------------------------------------------------------- */
.eatz-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--eatz-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.eatz-avatar--initial { text-transform: uppercase; }
.eatz-avatar--xl { width: 84px; height: 84px; font-size: 32px; }

/* Tagesheader
   ----------------------------------------------------------------------- */
.eatz-day__top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}
.eatz-pill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #f4ede2;
    color: var(--eatz-text-soft);
    margin-bottom: 6px;
}
.eatz-pill--open       { background: rgba(232, 93, 4, .14);  color: var(--eatz-brand-dark); }
.eatz-pill--locked     { background: rgba(120, 120, 120, .15); color: #555; }
.eatz-pill--ordered    { background: rgba(88, 129, 87, .15); color: var(--eatz-accent-dark); }
.eatz-pill--delivered  { background: rgba(54, 132, 92, .18); color: #2a6045; }
.eatz-pill--cancelled  { background: rgba(176, 58, 31, .12); color: #8c321b; }

.eatz-day__meta { display: flex; gap: 18px; flex-wrap: wrap; }
.eatz-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}
.eatz-stat__num   { font-size: 22px; font-weight: 800; }
.eatz-stat__label { font-size: 12px; color: var(--eatz-text-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

.eatz-day__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    padding: 14px 16px;
    background: #fcf8f1;
    border-radius: var(--eatz-radius-sm);
    margin-bottom: 16px;
}
@media (max-width: 600px) {
    .eatz-day__details { grid-template-columns: 1fr; }
}
.eatz-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.eatz-detail-icon {
    color: var(--eatz-brand);
    display: inline-flex;
    flex-shrink: 0;
}
.eatz-detail-label {
    color: var(--eatz-text-soft);
    font-size: 13px;
    min-width: 86px;
}
.eatz-detail-value { color: var(--eatz-text); font-weight: 500; }
.eatz-detail-value em { color: var(--eatz-text-soft); font-style: italic; font-weight: 400; }

.eatz-day__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
    align-items: center;
}

/* Ausgaben-Verlauf (Liniengraph + Tabelle)
   ----------------------------------------------------------------------- */
.eatz-spend {
    margin-top: 10px;
}
.eatz-spend__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}
.eatz-spend__head .eatz-dash-h4 { margin: 0; }
.eatz-spend__subtitle {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--eatz-text-soft);
    letter-spacing: .02em;
}
.eatz-spend__filter {
    display: inline-flex;
    background: #fdf3e3;
    border: 1px solid var(--eatz-border);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
    font-size: 13px;
}
.eatz-app .eatz-spend__btn {
    border: 0;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--eatz-text-soft);
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.eatz-app .eatz-spend__btn:hover { color: var(--eatz-brand-dark); }
.eatz-app .eatz-spend__btn.is-active {
    background: linear-gradient(135deg, #e85d04, #f3a700);
    color: #fff;
    box-shadow: 0 1px 4px rgba(232, 93, 4, .35);
}
.eatz-spend__chart {
    position: relative;
    width: 100%;
    height: 240px;
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    overflow: hidden;
}
.eatz-spend__svg { width: 100%; height: 100%; display: block; }
.eatz-spend__line {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    transition: stroke-dashoffset 1s ease-out;
}
.eatz-spend__line.is-drawn { stroke-dashoffset: 0; }
.eatz-spend__area {
    opacity: 0;
    transition: opacity .6s ease-out .35s;
}
.eatz-spend__area.is-shown { opacity: 1; }
.eatz-spend__points circle {
    fill: #fff;
    stroke: #e85d04;
    stroke-width: 2.5;
    cursor: pointer;
    opacity: 0;
    transform: scale(.6);
    transform-origin: center;
    transform-box: fill-box;
    transition: opacity .25s ease, transform .25s ease;
}
.eatz-spend__points circle.is-shown { opacity: 1; transform: scale(1); }
.eatz-spend__points circle:hover { fill: #e85d04; stroke: #fff; r: 6; }
.eatz-spend__grid line { stroke: rgba(0,0,0,.07); stroke-dasharray: 2 4; }
.eatz-spend__xaxis text,
.eatz-spend__yaxis text {
    font-size: 18px;
    fill: rgba(0,0,0,.55);
    font-family: -apple-system, system-ui, "Segoe UI", Arial, sans-serif;
}
.eatz-spend__yaxis text { font-weight: 600; }

.eatz-spend__tooltip {
    position: absolute;
    pointer-events: none;
    background: #2c1810;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transform: translate(-50%, calc(-100% - 8px));
    white-space: nowrap;
    z-index: 5;
}
.eatz-spend__tooltip strong { display: block; font-size: 12px; opacity: .85; margin-bottom: 2px; }
.eatz-spend__tooltip .eatz-spend__tt-amount { font-size: 14px; font-weight: 700; color: #ffa654; }
.eatz-spend__tooltip .eatz-spend__tt-orders { display: block; opacity: .7; margin-top: 2px; }

.eatz-spend__legend {
    margin: 10px 0 14px;
    font-size: 13px;
    color: var(--eatz-text-soft);
}
.eatz-spend__legend strong { color: var(--eatz-text); margin: 0 4px 0 2px; }

.eatz-spend__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.eatz-spend__table th,
.eatz-spend__table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--eatz-border);
}
.eatz-spend__table th {
    color: var(--eatz-text-soft);
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 11.5px;
    background: #fffaf3;
}
.eatz-spend__table td:nth-child(2),
.eatz-spend__table td:nth-child(3),
.eatz-spend__table td:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.eatz-spend__table tbody tr:hover { background: #fff8ee; }
@media (max-width: 700px) {
    .eatz-spend__head { flex-direction: column; align-items: flex-start; }
    .eatz-spend__filter { width: 100%; justify-content: space-between; }
    .eatz-spend__chart { height: 200px; }
}

/* Status-Punkt pro Bestellung (rot/gelb/grün/grau) */
.eatz-order__status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 6px rgba(0,0,0,.12);
    vertical-align: middle;
    flex-shrink: 0;
}
.eatz-order__status-dot--pending {
    background: radial-gradient(circle at 35% 35%, #ffe066, #f3a700 65%);
    animation: eatz-status-pulse 1.6s ease-in-out infinite;
}
.eatz-order__status-dot--ordered {
    background: radial-gradient(circle at 35% 35%, #74e08c, #2a8d3a 65%);
}
.eatz-order__status-dot--delivered {
    background: radial-gradient(circle at 35% 35%, #b3e5fc, #0288d1 65%);
}
.eatz-order__status-dot--cancelled {
    background: radial-gradient(circle at 35% 35%, #c4c4c4, #616161 65%);
}
@keyframes eatz-status-pulse {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.18); filter: brightness(1.1); }
}

/* Order-Variante "Nachbestellung" hebt sich gelblich ab */
.eatz-order--addon {
    background: linear-gradient(180deg, #fff8eb 0%, #fff 100%);
    border-left: 3px solid #f3a700;
}
.eatz-order--ordered  { border-left: 3px solid #2a8d3a; background: #fafff9; }
.eatz-order--pending  { border-left: 3px solid #f3a700; }
.eatz-order--delivered { border-left: 3px solid #0288d1; background: #f4faff; }
.eatz-order--cancelled { border-left: 3px solid #9e9e9e; opacity: .6; }

/* "Nachbestellung"-Pille hinter dem Speisennamen */
.eatz-order__addon-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    margin-left: 8px;
    border-radius: 999px;
    background: #fff3d6;
    color: #8a6a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* Hinweisbox + Bestaetigungs-Button fuer den Besteller */
.eatz-order__addon-action {
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff5d6;
    border: 1px dashed #f3c34a;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
.eatz-order__addon-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8a6a00;
    font-size: 12.5px;
    font-weight: 600;
}
.eatz-app .eatz-btn--small {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.2;
}
.eatz-app .eatz-day__del { margin-left: auto; }
.eatz-app .eatz-btn--danger-soft,
.eatz-app button.eatz-btn--danger-soft {
    background: #fff5f4;
    color: #b3261e;
    border: 1px solid #f4d4d2;
    transition: all .15s ease;
}
.eatz-app .eatz-btn--danger-soft:hover {
    background: #b3261e;
    border-color: #b3261e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(179, 38, 30, .25);
}
.eatz-app .eatz-btn--danger-soft svg { transition: transform .15s ease; }
.eatz-app .eatz-btn--danger-soft:hover svg { transform: rotate(-6deg); }
@media (max-width: 700px) {
    .eatz-app .eatz-day__del { margin-left: 0; width: 100%; justify-content: center; }
}

.eatz-collapse[hidden] { display: none; }
.eatz-collapse {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px dashed var(--eatz-border);
}

/* Bestellliste
   ----------------------------------------------------------------------- */
.eatz-orders {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.eatz-order {
    display: flex;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--eatz-border);
    border-radius: var(--eatz-radius-sm);
    background: #fcfaf5;
    transition: background .15s, border-color .15s;
}
.eatz-order:hover { background: #fff; border-color: rgba(232, 93, 4, .25); }
.eatz-order__avatar { display: flex; align-items: flex-start; }
.eatz-order__avatar img,
.eatz-order__avatar .eatz-avatar { width: 42px; height: 42px; }
.eatz-order__main { flex: 1; min-width: 0; }
.eatz-order__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2px;
}
.eatz-order__user { font-size: 14px; }
.eatz-order__price { color: var(--eatz-text-soft); font-weight: 600; font-size: 13px; }
.eatz-order__dish { font-size: 16px; font-weight: 600; color: var(--eatz-text); }
.eatz-qty {
    display: inline-block;
    background: var(--eatz-brand);
    color: #fff;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: 1px;
}
.eatz-order__notes {
    margin-top: 6px;
    color: var(--eatz-text-soft);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--eatz-border);
}

.eatz-empty {
    text-align: center;
    color: var(--eatz-text-soft);
    padding: 32px 16px;
    margin: 0;
    background: #fcf8f1;
    border-radius: var(--eatz-radius-sm);
}

.eatz-info-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(88, 129, 87, .1);
    color: var(--eatz-accent-dark);
    border-left: 3px solid var(--eatz-accent);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin: 0;
}

/* Profil
   ----------------------------------------------------------------------- */
.eatz-profile-flex {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.eatz-profile-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}
.eatz-profile-avatar img {
    width: 84px; height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--eatz-card);
    box-shadow: var(--eatz-shadow);
}
.eatz-profile-fields { flex: 1; min-width: 240px; display: grid; gap: 12px; }

/* Flash-Meldungen
   ----------------------------------------------------------------------- */
.eatz-flash {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.eatz-flash__msg {
    background: #fff;
    border-left: 4px solid var(--eatz-brand);
    box-shadow: var(--eatz-shadow);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    pointer-events: auto;
    max-width: 380px;
    animation: eatz-flash-in .25s ease;
}
.eatz-flash__msg--error { border-left-color: #b03a1f; }
.eatz-flash__msg--success { border-left-color: var(--eatz-accent); }
@keyframes eatz-flash-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Footer
   ----------------------------------------------------------------------- */
.eatz-foot {
    text-align: center;
    margin-top: 28px;
    color: var(--eatz-text-soft);
    font-size: 12px;
}
.eatz-user-name { font-weight: 600; font-size: 14px; }

/* Bezahl-Status
   ----------------------------------------------------------------------- */
.eatz-pay { margin-top: 8px; }
.eatz-app .eatz-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .15s, color .15s, border-color .15s;
}
.eatz-app .eatz-pay-btn--paid {
    background: rgba(54, 132, 92, .15);
    color: #2a6045;
    border-color: rgba(54, 132, 92, .35);
}
.eatz-app .eatz-pay-btn--paid:hover { background: rgba(54, 132, 92, .25); }
.eatz-app .eatz-pay-btn--unpaid {
    background: rgba(184, 84, 56, .12);
    color: #8c321b;
    border-color: rgba(184, 84, 56, .35);
}
.eatz-app .eatz-pay-btn--unpaid:hover { background: rgba(184, 84, 56, .2); }
.eatz-pay-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eatz-pay-badge--paid   { background: rgba(54, 132, 92, .15); color: #2a6045; }
.eatz-pay-badge--unpaid { background: rgba(184, 84, 56, .12); color: #8c321b; }

.eatz-pay-summary {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding: 12px 16px;
    background: #fcf8f1;
    border-radius: var(--eatz-radius-sm);
}
.eatz-pay-summary > div { display: flex; flex-direction: column; line-height: 1.2; }
.eatz-pay-summary strong { font-size: 18px; }
.eatz-pay-summary span { font-size: 11px; color: var(--eatz-text-soft); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }

/* Sterne-Bewertung
   ----------------------------------------------------------------------- */
.eatz-rating-card {
    background: linear-gradient(135deg, #fcf8f1, #fff);
    border: 1px solid var(--eatz-border);
    border-radius: var(--eatz-radius);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--eatz-shadow);
}
.eatz-rating-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.eatz-rating-head small { color: var(--eatz-text-soft); }
.eatz-stars-input {
    display: flex;
    gap: 4px;
    margin: 4px 0 12px;
}
.eatz-app .eatz-star {
    background: transparent;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: #e6dfd2;
    transition: color .15s, transform .1s;
    line-height: 0;
}
.eatz-app .eatz-star:hover { transform: scale(1.1); }
.eatz-app .eatz-star.is-on,
.eatz-app .eatz-star.is-hover { color: #e8a304; }
.eatz-app .eatz-star svg path { fill: currentColor; }

/* Speisekarte-Block
   ----------------------------------------------------------------------- */
.eatz-menu-block {
    margin: 18px 0 6px;
    padding: 16px;
    background: #fcf8f1;
    border: 1px solid var(--eatz-border);
    border-radius: var(--eatz-radius-sm);
}
.eatz-menu-block__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--eatz-border);
}
.eatz-menu-block__logo {
    width: 48px; height: 48px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}
.eatz-menu-block__logo--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--eatz-brand);
    border: 1px solid var(--eatz-border);
}
.eatz-menu-block__title {
    display: block;
    font-size: 16px;
    color: var(--eatz-text);
}
.eatz-menu-block__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--eatz-text-soft);
}
.eatz-menu-block__meta a,
.eatz-menu-block__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--eatz-text-soft);
    text-decoration: none;
}
.eatz-menu-block__meta a:hover { color: var(--eatz-brand-dark); }

.eatz-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}
.eatz-menu-item {
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color .15s, box-shadow .15s;
}
.eatz-menu-item:hover { border-color: rgba(232, 93, 4, .35); box-shadow: 0 2px 8px rgba(232, 93, 4, .08); }
.eatz-menu-item__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
}
.eatz-menu-item__price { color: var(--eatz-brand-dark); font-weight: 700; flex-shrink: 0; }
.eatz-menu-item__sub { color: var(--eatz-text-soft); font-size: 12px; }
.eatz-menu-item__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    gap: 8px;
}
.eatz-menu-item__cat {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--eatz-accent-dark);
    background: rgba(88, 129, 87, .12);
    padding: 2px 7px;
    border-radius: 4px;
}

/* Welcome-Card
   ----------------------------------------------------------------------- */
.eatz-welcome {
    background: linear-gradient(135deg, #fff8ef 0%, #fff 60%, #f0f6ed 100%);
    border: 1px solid var(--eatz-border);
    border-radius: var(--eatz-radius);
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: var(--eatz-shadow);
    position: relative;
    overflow: hidden;
}
.eatz-welcome::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.12), transparent 70%);
    pointer-events: none;
}
.eatz-welcome__greeting h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: var(--eatz-text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.eatz-group-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.eatz-group-pick {
    margin: 12px 0;
    padding: 12px;
    background: rgba(232, 93, 4, .06);
    border-radius: 10px;
    border: 1px dashed rgba(232, 93, 4, .25);
}
.eatz-welcome__greeting p {
    margin: 0 0 16px;
    color: var(--eatz-text-soft);
    font-size: 14px;
}
.eatz-welcome__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}
.eatz-welcome__stat {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(4px);
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}
.eatz-welcome__stat-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--eatz-brand-dark);
}
.eatz-welcome__stat-lbl {
    font-size: 11px;
    color: var(--eatz-text-soft);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 4px;
}
.eatz-welcome__avatars {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.eatz-welcome__avatars-lbl {
    font-size: 12px;
    color: var(--eatz-text-soft);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}
.eatz-welcome__avatars-list {
    display: flex;
    gap: -8px;
}
.eatz-welcome__avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    overflow: hidden;
    margin-left: -6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    transition: transform .15s;
}
.eatz-welcome__avatar:first-child { margin-left: 0; }
.eatz-welcome__avatar:hover { transform: translateY(-2px) scale(1.05); z-index: 2; }
.eatz-welcome__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Tab-Navigation
   ----------------------------------------------------------------------- */
.eatz-tabs-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    background: #fff;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--eatz-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.eatz-app .eatz-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--eatz-text-soft);
    font: 600 14px/1 inherit;
    cursor: pointer;
    transition: background .15s, color .15s, transform .08s;
    white-space: nowrap;
}
.eatz-app .eatz-tab-btn:hover {
    background: rgba(232, 93, 4, .06);
    color: var(--eatz-brand-dark);
}
.eatz-app .eatz-tab-btn.is-active {
    background: linear-gradient(135deg, var(--eatz-brand), var(--eatz-brand-dark));
    color: #fff;
    box-shadow: 0 3px 10px rgba(232, 93, 4, .3);
}
.eatz-app .eatz-tab-btn.is-active:hover { color: #fff; }
.eatz-tab-btn svg { flex-shrink: 0; }

.eatz-tab-pane { display: none; animation: eatz-fade .25s ease; }
.eatz-tab-pane.is-active { display: block; }

/* Sub-Tab-Navigation (innerhalb eines Tabs)
   ----------------------------------------------------------------------- */
.eatz-subtabs-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    background: #fcf8f1;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--eatz-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.eatz-app .eatz-subtab-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: var(--eatz-text-soft);
    font: 600 13px/1 inherit;
    cursor: pointer;
    transition: background .15s, color .15s, transform .08s;
    white-space: nowrap;
    position: relative;
}
.eatz-app .eatz-subtab-btn:hover {
    background: rgba(232, 93, 4, .08);
    color: var(--eatz-brand-dark);
}
.eatz-app .eatz-subtab-btn.is-active {
    background: #fff;
    color: var(--eatz-brand-dark);
    box-shadow: 0 1px 4px rgba(43, 33, 24, .1);
}
.eatz-subtab-btn svg { flex-shrink: 0; }
.eatz-subtab-badge {
    background: var(--eatz-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    margin-left: 2px;
    line-height: 1.4;
}

.eatz-subtab-pane { display: none; animation: eatz-fade .2s ease; }
.eatz-subtab-pane.is-active { display: block; }

@media (max-width: 600px) {
    .eatz-subtabs-nav { gap: 2px; padding: 3px; }
    .eatz-app .eatz-subtab-btn { padding: 8px 10px; font-size: 12px; }
    .eatz-app .eatz-subtab-btn span { display: none; }
    .eatz-app .eatz-subtab-btn.is-active span { display: inline; }
    .eatz-subtab-badge { font-size: 10px; padding: 0 5px; }
}
@keyframes eatz-fade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .eatz-welcome { padding: 18px; }
    .eatz-welcome__greeting h2 { font-size: 19px; }
    .eatz-welcome__stats { gap: 8px; }
    .eatz-welcome__stat { padding: 10px; }
    .eatz-welcome__stat-num { font-size: 22px; }
    .eatz-app .eatz-tab-btn { padding: 10px 12px; font-size: 13px; }
    .eatz-app .eatz-tab-btn span { display: none; } /* nur Icons auf Mobile */
    .eatz-app .eatz-tab-btn.is-active span { display: inline; } /* aber aktiver Tab zeigt Label */
}

/* Hilfsklasse: Element nur auf grossen Screens */
.eatz-hide-mobile { display: inline; }
@media (max-width: 480px) {
    .eatz-hide-mobile { display: none; }
}

/* Dashboard
   ----------------------------------------------------------------------- */
.eatz-dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.eatz-dash-stat {
    background: #fcf8f1;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--eatz-border);
    display: flex;
    flex-direction: column;
}
.eatz-dash-stat__num {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}
.eatz-dash-stat__label {
    font-size: 11px;
    color: var(--eatz-text-soft);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eatz-dash-h4 {
    margin: 4px 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--eatz-text-soft);
}

/* Bar-Chart
   ----------------------------------------------------------------------- */
.eatz-chart {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 180px;
    padding: 12px;
    background: linear-gradient(180deg, transparent, #fcf8f1);
    border-radius: 10px;
    border: 1px solid var(--eatz-border);
    overflow-x: auto;
}
.eatz-chart__bar-wrap {
    flex: 1;
    min-width: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.eatz-chart__bar {
    width: 100%;
    height: var(--h);
    background: linear-gradient(180deg, var(--eatz-brand), var(--eatz-brand-dark));
    border-radius: 6px 6px 0 0;
    margin-top: auto;
    position: relative;
    transition: transform .25s ease;
    animation: eatz-chart-grow 1s ease-out;
}
.eatz-chart__bar:hover { transform: translateY(-2px); }
.eatz-chart__val {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: var(--eatz-text);
    white-space: nowrap;
}
.eatz-chart__lbl {
    font-size: 11px;
    color: var(--eatz-text-soft);
    margin-top: 4px;
}
@keyframes eatz-chart-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
}

/* Top-Listen
   ----------------------------------------------------------------------- */
.eatz-top-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: top;
    background: #fcf8f1;
    border-radius: 10px;
    border: 1px solid var(--eatz-border);
    overflow: hidden;
}
.eatz-top-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    counter-increment: top;
    border-bottom: 1px solid var(--eatz-border);
    font-size: 13px;
}
.eatz-top-list li:last-child { border-bottom: 0; }
.eatz-top-list li::before {
    content: counter(top);
    background: var(--eatz-brand);
    color: #fff;
    font-weight: 700;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-right: 10px;
}
.eatz-top-list li.is-me { background: rgba(232, 93, 4, .08); font-weight: 600; }
.eatz-top-list li span { color: var(--eatz-text-soft); }

/* History-Tabelle
   ----------------------------------------------------------------------- */
.eatz-history {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 8px;
}
.eatz-history th, .eatz-history td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--eatz-border);
}
.eatz-history th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--eatz-text-soft);
}

/* Bewertungs-Liste
   ----------------------------------------------------------------------- */
.eatz-rating-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.eatz-rating-list li {
    background: #fcf8f1;
    border: 1px solid var(--eatz-border);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}
.eatz-rating-list__date { color: var(--eatz-text-soft); margin-right: 8px; }
.eatz-rating-list__stars { color: #e8a304; margin: 0 8px; letter-spacing: 1px; }
.eatz-rating-list em { color: var(--eatz-text-soft); display: block; margin-top: 4px; }

/* Debt-Card (offene Beträge auf Mein Dashboard)
   ----------------------------------------------------------------------- */
.eatz-debt-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe5d8 100%);
    border: 2px solid #b03a1f;
    border-radius: var(--eatz-radius);
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(176, 58, 31, .15);
    animation: eatz-pulse 2s ease-in-out infinite;
}
@keyframes eatz-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(176, 58, 31, .15); }
    50%      { box-shadow: 0 4px 24px rgba(176, 58, 31, .35); }
}
.eatz-debt-card__icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #b03a1f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
}
.eatz-debt-card__main strong {
    display: block;
    font-size: 16px;
    color: #8c321b;
}
.eatz-debt-card__main strong span { font-weight: 800; font-size: 19px; }
.eatz-debt-card__main small { color: #8c321b; opacity: .85; }

/* Lieferanten-Kategorien (Filter-Pills)
   ----------------------------------------------------------------------- */
.eatz-loc-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0;
}
.eatz-loc-cat {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--eatz-text-soft);
    background: #fcf8f1;
    border: 1px solid var(--eatz-border);
    transition: background .15s, color .15s, border-color .15s;
    cursor: pointer;
}
.eatz-loc-cat:hover { background: #f7f0e2; color: var(--eatz-text); }
.eatz-loc-cat.is-active {
    background: var(--eatz-brand);
    color: #fff;
    border-color: var(--eatz-brand);
}
.eatz-loc-cat-pill {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(88, 129, 87, .15);
    color: var(--eatz-accent-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    vertical-align: 2px;
}

/* Lieferanten-Sub-Tabs (horizontal)
   ----------------------------------------------------------------------- */
.eatz-loc-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 12px 0 16px;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.eatz-app .eatz-loc-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--eatz-text);
    font: 600 13px/1 inherit;
    transition: background .15s, border-color .15s, transform .08s;
}
.eatz-app .eatz-loc-tab:hover {
    background: #fcf8f1;
    border-color: rgba(232, 93, 4, .3);
    transform: translateY(-1px);
}
.eatz-app .eatz-loc-tab.is-active {
    background: linear-gradient(135deg, var(--eatz-brand), var(--eatz-brand-dark));
    color: #fff;
    border-color: var(--eatz-brand-dark);
    box-shadow: 0 3px 10px rgba(232, 93, 4, .3);
}
.eatz-loc-tab__logo {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0,0,0,.05);
    color: var(--eatz-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eatz-app .eatz-loc-tab.is-active .eatz-loc-tab__logo { background: rgba(255,255,255,.25); color: #fff; }
.eatz-loc-tab__count {
    background: rgba(0,0,0,.08);
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
}
.eatz-app .eatz-loc-tab.is-active .eatz-loc-tab__count { background: rgba(255,255,255,.25); }

/* Lieferanten-Panes */
.eatz-loc-pane { display: none; animation: eatz-fade .25s ease; }
.eatz-loc-pane.is-active { display: block; }

.eatz-loc-pane__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--eatz-border);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.eatz-loc-pane__info { flex: 1 1 260px; min-width: 0; }

/* Lieferanten-Logo links */
.eatz-app .eatz-loc-pane__logo {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    background: #fcf8f1;
    border: 1px solid var(--eatz-border);
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.eatz-app .eatz-loc-pane__logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    border-color: var(--eatz-brand);
}
.eatz-app .eatz-loc-pane__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eatz-app .eatz-loc-pane__logo-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8b89a;
    background: linear-gradient(135deg, #fbf3e3, #f6e9cf);
}
.eatz-app .eatz-loc-pane__logo.is-empty { border-style: dashed; }

/* Hover-Edit-Badge unten rechts auf dem Logo */
.eatz-app .eatz-loc-pane__logo-edit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(232, 93, 4, .92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
}
.eatz-app .eatz-loc-pane__logo:hover .eatz-loc-pane__logo-edit,
.eatz-app .eatz-loc-pane__logo:focus .eatz-loc-pane__logo-edit,
.eatz-app .eatz-loc-pane__logo.is-empty .eatz-loc-pane__logo-edit {
    opacity: 1;
}
.eatz-app .eatz-loc-pane__logo:hover .eatz-loc-pane__logo-edit {
    transform: scale(1.05);
}
.eatz-loc-pane__info h4 { margin: 0 0 4px; font-size: 17px; }
.eatz-loc-pane__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 13px;
    color: var(--eatz-text-soft);
}
.eatz-loc-pane__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}
.eatz-loc-pane__meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fdf3e3;
    color: var(--eatz-brand);
    flex-shrink: 0;
}
.eatz-loc-pane__meta a {
    color: var(--eatz-text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}
.eatz-loc-pane__meta a:hover {
    color: var(--eatz-brand-dark);
    border-bottom-color: var(--eatz-brand);
}
.eatz-loc-pane__meta-empty {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--eatz-text-soft);
    background: #fff8ee;
    border: 1px dashed #f3d8a8;
    border-radius: 6px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Aktions-Buttons rechts oben (Bearbeiten / Loeschen) */
.eatz-loc-pane__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.eatz-app .eatz-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid var(--eatz-border);
    background: #fff;
    color: var(--eatz-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1;
}
.eatz-app .eatz-icon-btn svg { display: block; }
.eatz-app .eatz-icon-btn:hover {
    border-color: var(--eatz-brand);
    color: var(--eatz-brand-dark);
    background: #fff8f0;
}
.eatz-app .eatz-icon-btn--edit:hover {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
}
.eatz-app .eatz-icon-btn--danger {
    color: #b3261e;
    border-color: #f4d4d2;
    background: #fff5f4;
}
.eatz-app .eatz-icon-btn--danger:hover {
    background: #b3261e;
    border-color: #b3261e;
    color: #fff;
}

/* Bearbeiten-Form (zugeklappt) */
.eatz-loc-edit {
    background: #fdf6ec;
    border: 1px solid #f3e2c4;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
    animation: eatz-fade .2s ease;
}
.eatz-loc-edit__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Diagnose-Banner für nicht-initialisierte Tagesrunde */
.eatz-day-init-warn {
    background: linear-gradient(180deg, #fff4f1 0%, #fff 100%);
    border-left: 4px solid #b3261e;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 14px;
}
.eatz-day-init-warn strong { display: block; font-size: 15px; color: #b3261e; margin-bottom: 4px; }
.eatz-day-init-warn p { margin: 4px 0 8px; color: var(--eatz-text); font-size: 13.5px; }
.eatz-day-init-warn__steps {
    margin: 0 0 10px;
    padding-left: 20px;
    font-size: 13px;
    color: var(--eatz-text);
}
.eatz-day-init-warn__steps li { margin-bottom: 4px; }
.eatz-day-init-warn__steps a { color: var(--eatz-brand-dark); font-weight: 600; }
.eatz-day-init-warn__detail summary {
    cursor: pointer;
    color: #b3261e;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 0;
}
.eatz-day-init-warn__detail pre {
    background: #2c1810;
    color: #ffd0c4;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    line-height: 1.45;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 6px 0 0;
    font-family: ui-monospace, SFMono-Regular, "Menlo", monospace;
}

/* Bestell-Leitfaden Schritt A/B/C */
.eatz-order-guide {
    background: linear-gradient(135deg, #fff8ed 0%, #fffaf3 100%);
    border: 1px solid #f3d8a8;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
}
.eatz-order-guide ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    counter-reset: step;
    font-size: 13px;
}
.eatz-order-guide li {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 240px;
}
.eatz-order-guide__num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--eatz-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.eatz-order-guide small { color: var(--eatz-text-soft); }

/* "Meine Bestellungen heute" Liste */
.eatz-my-orders__sum {
    margin-left: auto;
    background: var(--eatz-brand);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}
.eatz-my-orders__list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.eatz-my-orders__item {
    display: grid;
    grid-template-columns: 14px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-left: 3px solid var(--eatz-brand);
    border-radius: 8px;
}
.eatz-my-orders__main { min-width: 0; }
.eatz-my-orders__main strong { display: block; }
.eatz-my-orders__main small {
    display: block;
    color: var(--eatz-text-soft);
    font-size: 12px;
    margin-top: 2px;
    font-style: italic;
}
.eatz-my-orders__price { font-weight: 700; color: var(--eatz-brand-dark); font-variant-numeric: tabular-nums; }
.eatz-app .eatz-my-orders__del {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 0;
    background: rgba(179, 38, 30, .1);
    color: #b3261e;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all .15s ease;
    padding: 0;
}
.eatz-app .eatz-my-orders__del:hover { background: #b3261e; color: #fff; transform: scale(1.05); }
.eatz-my-orders__hint {
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #fff8ed;
    border-left: 3px solid var(--eatz-brand);
    border-radius: 6px;
    color: var(--eatz-text-soft);
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.eatz-form__hint {
    color: var(--eatz-text-soft);
    font-size: 11.5px;
    line-height: 1.4;
}

/* Sub-Tab-Step-Layout (mit Nummer und Erklärung) */
.eatz-subtabs-nav--steps .eatz-subtab-btn {
    align-items: center;
    gap: 10px;
}
.eatz-subtab-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(232, 93, 4, .12);
    color: var(--eatz-brand);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    transition: all .15s ease;
}
.eatz-subtab-btn.is-active .eatz-subtab-step {
    background: var(--eatz-brand);
    color: #fff;
}
.eatz-subtab-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}
.eatz-subtab-label strong { font-size: 14px; }
.eatz-subtab-label small { font-size: 11px; color: var(--eatz-text-soft); font-weight: 500; }
.eatz-subtab-btn.is-active .eatz-subtab-label small { color: rgba(255,255,255,.85); }
@media (max-width: 700px) {
    .eatz-subtab-label small { display: none; }
    /* Schritt-Variante muss auf Mobile trotzdem Step + Label zeigen */
    .eatz-subtabs-nav--steps .eatz-subtab-btn .eatz-subtab-step,
    .eatz-subtabs-nav--steps .eatz-subtab-btn .eatz-subtab-label,
    .eatz-subtabs-nav--steps .eatz-subtab-btn .eatz-subtab-label strong {
        display: inline-flex;
    }
    .eatz-subtabs-nav--steps .eatz-subtab-label { flex-direction: column; align-items: flex-start; }
}

/* Offene Posten - Schulden-Detail-Tabelle */
.eatz-debt-detail { margin-top: 14px; }
.eatz-debt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.eatz-debt-table th,
.eatz-debt-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--eatz-border);
    vertical-align: top;
}
.eatz-debt-table th {
    color: var(--eatz-text-soft);
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 11.5px;
    background: #fffaf3;
    font-weight: 700;
}
.eatz-debt-table tfoot td {
    background: #fff5e0;
    border-top: 2px solid var(--eatz-brand);
}
.eatz-debt-table__num { text-align: right !important; font-variant-numeric: tabular-nums; }
.eatz-debt-table__notes {
    display: block;
    color: var(--eatz-text-soft);
    font-size: 11.5px;
    margin-top: 2px;
    font-style: italic;
}
.eatz-debt-table__no-pay {
    color: var(--eatz-text-soft);
    font-size: 12px;
    font-style: italic;
}
.eatz-debt-table tbody tr:hover { background: #fff8ee; }
@media (max-width: 800px) {
    .eatz-debt-table thead { display: none; }
    .eatz-debt-table, .eatz-debt-table tbody, .eatz-debt-table tr, .eatz-debt-table td { display: block; width: 100%; }
    .eatz-debt-table tr { padding: 8px 0; border-bottom: 1px solid var(--eatz-border); }
    .eatz-debt-table td { padding: 4px 10px; border: 0; }
    .eatz-debt-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        color: var(--eatz-text-soft);
        text-transform: uppercase;
        letter-spacing: .03em;
        margin-bottom: 2px;
    }
}

/* Mini-Chat Tagesnachrichten */
.eatz-chat {
    margin-top: 14px;
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    overflow: hidden;
}
.eatz-chat__head {
    cursor: pointer;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    user-select: none;
    font-size: 13.5px;
}
.eatz-chat__head::-webkit-details-marker { display: none; }
.eatz-chat__head svg { color: var(--eatz-brand); flex-shrink: 0; }
.eatz-chat__count {
    background: var(--eatz-brand);
    color: #fff;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11.5px;
    font-weight: 700;
    margin-left: auto;
}
.eatz-chat[open] .eatz-chat__head { border-bottom: 1px solid var(--eatz-border); }
.eatz-chat__body { padding: 12px 14px; }
.eatz-chat__empty { color: var(--eatz-text-soft); font-size: 13px; margin: 0 0 10px; font-style: italic; }
.eatz-chat__list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}
.eatz-chat__msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.eatz-chat__msg--me { flex-direction: row-reverse; }
.eatz-chat__bubble {
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 12px;
    padding: 8px 12px;
    flex: 1 1 auto;
    max-width: 76%;
    position: relative;
}
.eatz-chat__msg--me .eatz-chat__bubble {
    background: #fff5e0;
    border-color: #f3d8a8;
}
.eatz-chat__msg--orderer .eatz-chat__bubble {
    background: #f0f7e9;
    border-color: #cfe3bd;
}
.eatz-chat__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--eatz-text-soft);
    margin-bottom: 3px;
    flex-wrap: wrap;
}
.eatz-chat__meta strong { color: var(--eatz-text); font-size: 13px; }
.eatz-chat__meta small { margin-left: auto; font-size: 11px; }
.eatz-chat__badge {
    background: #2a8d3a;
    color: #fff;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eatz-chat__body-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--eatz-text);
    word-wrap: break-word;
}
.eatz-app .eatz-chat__del {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 0;
    background: rgba(0,0,0,.08);
    color: rgba(0,0,0,.5);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transition: opacity .15s ease, background .15s ease;
}
.eatz-chat__msg:hover .eatz-chat__del { opacity: 1; }
.eatz-app .eatz-chat__del:hover { background: #b3261e; color: #fff; }
.eatz-chat__form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.eatz-chat__form textarea {
    flex: 1 1 auto;
    border: 1px solid var(--eatz-border);
    border-radius: 8px;
    padding: 8px 10px;
    resize: vertical;
    font-family: inherit;
    font-size: 13.5px;
    background: #fff;
}
.eatz-chat__form textarea:focus {
    outline: 2px solid rgba(232, 93, 4, .35);
    border-color: var(--eatz-brand);
}
@media (max-width: 700px) {
    .eatz-chat__bubble { max-width: 100%; }
    .eatz-chat__form { flex-direction: column; align-items: stretch; }
    .eatz-chat__form .eatz-btn { align-self: flex-end; }
}

/* Bezahlen-an / PayPal-Pille in der Tagesinfo */
.eatz-detail-row--pay .eatz-detail-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.eatz-pay-link {
    color: var(--eatz-brand-dark);
    font-weight: 700;
    border-bottom: 1px dashed var(--eatz-brand);
    text-decoration: none;
    word-break: break-all;
}
.eatz-pay-link:hover { background: #fff5e0; }
.eatz-pay-code {
    background: #fff5e0;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eatz-text);
    word-break: break-all;
}
.eatz-app .eatz-pay-copy {
    border: 1px solid var(--eatz-border);
    background: #fff;
    width: 26px; height: 26px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--eatz-text-soft);
    transition: all .15s ease;
    flex-shrink: 0;
    padding: 0;
}
.eatz-app .eatz-pay-copy:hover {
    border-color: var(--eatz-brand);
    color: var(--eatz-brand-dark);
    background: #fff8ee;
}

/* Massen-Löschen-Zeile */
.eatz-loc-pane__bulk {
    margin: 8px 0 4px;
    text-align: right;
}

/* Lieferanten-Bewertung */
.eatz-loc-rating {
    margin: 0 0 14px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
}
.eatz-loc-rating__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.eatz-loc-rating__stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}
.eatz-loc-rating__star {
    color: #d9d4cc;
    font-size: 18px;
    line-height: 1;
}
.eatz-loc-rating__star.is-on { color: #f3a700; text-shadow: 0 0 4px rgba(243, 167, 0, .35); }
.eatz-loc-rating__avg { color: var(--eatz-text); font-weight: 700; margin-left: 4px; }
.eatz-loc-rating__count { color: var(--eatz-text-soft); font-size: 12.5px; margin-left: 2px; }
.eatz-loc-rating__empty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--eatz-text-soft);
    font-size: 13px;
}
.eatz-loc-rating__details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--eatz-border);
    animation: eatz-fade .25s ease;
}
.eatz-loc-rating__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.eatz-loc-rating__item {
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 8px;
    padding: 10px 12px;
}
.eatz-loc-rating__item-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}
.eatz-loc-rating__item-stars { color: #f3a700; font-size: 14px; letter-spacing: 1px; }
.eatz-loc-rating__item-meta { color: var(--eatz-text-soft); font-size: 12px; margin-left: auto; }
.eatz-loc-rating__item-comment {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--eatz-text);
    font-style: italic;
    background: #fffaf3;
    padding: 6px 10px;
    border-left: 2px solid #f3a700;
    border-radius: 4px;
}

/* Foto-Galerie */
.eatz-loc-gallery {
    background: #fafafa;
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
}
.eatz-loc-gallery__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.eatz-loc-gallery__title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--eatz-text);
    font-weight: 700;
}
.eatz-loc-gallery__title small {
    color: var(--eatz-text-soft);
    font-weight: 500;
}
.eatz-loc-gallery__btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.eatz-loc-gallery__empty {
    margin: 0;
    font-size: 13px;
    color: var(--eatz-text-soft);
}
.eatz-loc-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.eatz-loc-photo {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--eatz-border);
    transition: transform .15s ease, box-shadow .15s ease;
}
.eatz-loc-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.eatz-loc-photo__link {
    display: block;
    aspect-ratio: 1 / 1;
    background: #fcf8f1;
}
.eatz-loc-photo__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eatz-loc-photo figcaption {
    padding: 6px 8px;
    font-size: 11.5px;
    color: var(--eatz-text-soft);
    text-align: center;
    border-top: 1px solid var(--eatz-border);
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eatz-app .eatz-loc-photo__del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 0;
    background: rgba(179, 38, 30, .92);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    padding: 0;
    transition: transform .15s ease, background .15s ease;
}
.eatz-app .eatz-loc-photo__del:hover { transform: scale(1.1); background: #b3261e; }

/* KI-Button (lila/violet, hebt sich von normalem Primary-Orange ab) */
.eatz-app .eatz-btn--ai {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border: 0;
    box-shadow: 0 1px 4px rgba(124, 58, 237, .35);
}
.eatz-app .eatz-btn--ai:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    box-shadow: 0 2px 8px rgba(124, 58, 237, .45);
}
.eatz-app .eatz-btn--ai:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Lade-Indikator beim Foto-Upload */
.eatz-loc-gallery.is-uploading {
    position: relative;
    pointer-events: none;
}
.eatz-loc-gallery.is-uploading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.65);
    border-radius: 10px;
}
.eatz-loc-gallery.is-uploading::before {
    content: attr(data-upload-msg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eatz-brand-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

/* Mobile-Anpassung */
@media (max-width: 700px) {
    .eatz-loc-pane__head { gap: 12px; }
    .eatz-app .eatz-loc-pane__logo { width: 64px; height: 64px; border-radius: 12px; }
    .eatz-app .eatz-loc-pane__logo-ph svg { width: 24px; height: 24px; }
    .eatz-loc-pane__info { flex: 1 1 calc(100% - 80px); }
    .eatz-loc-pane__actions { width: 100%; margin-left: 0; }
    .eatz-app .eatz-icon-btn { flex: 1 1 auto; justify-content: center; }
    .eatz-loc-gallery__head { flex-direction: column; align-items: stretch; }
    .eatz-loc-gallery__btns { justify-content: stretch; }
    .eatz-loc-gallery__btns .eatz-btn { flex: 1 1 auto; justify-content: center; }
    .eatz-loc-gallery__grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

.eatz-app .eatz-loc-pane__items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
    margin: 12px 0;
}
.eatz-app .eatz-loc-item {
    display: grid !important;
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    transition: border-color .15s, box-shadow .15s;
    align-items: center;
    list-style: none;
}
.eatz-app .eatz-loc-item:hover { border-color: rgba(232, 93, 4, .3); box-shadow: 0 2px 10px rgba(232, 93, 4, .08); }
.eatz-app .eatz-loc-item__img {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
    background: #fcf8f1;
    display: block;
    grid-column: 1;
    grid-row: 1;
}
.eatz-app .eatz-loc-item__img--ph {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--eatz-brand);
    background: linear-gradient(135deg, #fff5e8, #fcf8f1);
    border: 1px dashed rgba(232, 93, 4, .25);
}
.eatz-app .eatz-loc-item__main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}
.eatz-app .eatz-loc-item__main strong {
    font-size: 14px;
    line-height: 1.25;
    color: var(--eatz-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.eatz-app .eatz-loc-item__main small {
    color: var(--eatz-text-soft);
    font-size: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eatz-app .eatz-loc-item__foot {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.eatz-app .eatz-loc-item__actions {
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
.eatz-app .eatz-loc-item__upload {
    background: rgba(232, 93, 4, .12);
    color: var(--eatz-brand-dark);
    border: 0;
    width: 28px; height: 28px;
    min-width: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s, transform .1s;
}
.eatz-app .eatz-loc-item__upload:hover { background: var(--eatz-brand); color: #fff; transform: scale(1.1); }

/* Mobile: Bild oben, Text drunter, Aktionen rechts oben */
@media (max-width: 480px) {
    .eatz-app .eatz-loc-item {
        grid-template-columns: 60px 1fr auto;
        gap: 10px;
        padding: 8px;
    }
    .eatz-app .eatz-loc-item__img {
        width: 60px;
        height: 60px;
    }
}

.eatz-fe-details-summary {
    cursor: pointer;
    padding: 8px 12px;
    background: #fcf8f1;
    border: 1px dashed var(--eatz-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eatz-brand-dark);
    list-style: none;
    user-select: none;
}
.eatz-fe-details-summary:hover { background: #f7f0e2; }
details[open] > .eatz-fe-details-summary { background: rgba(232, 93, 4, .1); }

/* Frontend-Lieferanten-Verwaltung
   ----------------------------------------------------------------------- */
.eatz-fe-details > summary,
.eatz-fe-location > summary {
    cursor: pointer;
    padding: 10px 14px;
    background: #fcf8f1;
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    margin-bottom: 8px;
    list-style: none;
    user-select: none;
    font-weight: 600;
    transition: background .15s;
}
.eatz-fe-details > summary::-webkit-details-marker,
.eatz-fe-location > summary::-webkit-details-marker { display: none; }
.eatz-fe-details > summary:hover,
.eatz-fe-location > summary:hover { background: #f7f0e2; }
.eatz-fe-details[open] > summary,
.eatz-fe-location[open] > summary { background: rgba(232, 93, 4, .08); border-color: rgba(232, 93, 4, .2); }
.eatz-fe-location__meta { font-weight: 400; color: var(--eatz-text-soft); margin-left: 8px; font-size: 12px; }
.eatz-fe-locations { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.eatz-fe-location[open] { padding-bottom: 12px; padding-left: 4px; padding-right: 4px; }

.eatz-fe-items {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.eatz-fe-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}
.eatz-fe-items strong { flex-shrink: 0; }
.eatz-fe-items__price { color: var(--eatz-brand-dark); font-weight: 700; margin-left: auto; }
.eatz-app .eatz-fe-items__del {
    flex-shrink: 0;
    background: #b03a1f;
    border: 0;
    color: #fff;
    width: 26px; height: 26px;
    min-width: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .1s, box-shadow .15s;
    box-shadow: 0 1px 2px rgba(176, 58, 31, .25);
}
.eatz-app .eatz-fe-items__del:hover {
    background: #8c1c0e;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(176, 58, 31, .35);
}
.eatz-app .eatz-fe-items__del:active { transform: scale(0.95); }

/* KI-Texthilfe-Button
   ----------------------------------------------------------------------- */
.eatz-input-with-action {
    display: flex;
    gap: 6px;
}
.eatz-input-with-action input { flex: 1; }
.eatz-app .eatz-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #6e3df7, #9b51e0);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .1s, box-shadow .15s;
}
.eatz-app .eatz-ai-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(110, 61, 247, .35); }
.eatz-app .eatz-ai-btn[disabled] { opacity: .5; cursor: wait; }

/* Kalender (Frontend)
   ----------------------------------------------------------------------- */
.eatz-app .eatz-cal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--eatz-border);
}
.eatz-app .eatz-cal__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.eatz-app .eatz-cal__title {
    margin: 0 8px;
    font-size: 18px;
    color: var(--eatz-text);
}
.eatz-app .eatz-cal__view select {
    padding: 8px 12px;
    border: 1px solid var(--eatz-border);
    border-radius: 8px;
    font: 600 13px/1 inherit;
    color: var(--eatz-text);
    background: #fff;
    cursor: pointer;
}

/* Monatsraster */
.eatz-app .eatz-cal__grid--month {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.eatz-app .eatz-cal__weekday {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--eatz-text-soft);
    font-weight: 700;
    padding: 4px 8px;
    text-align: center;
}
.eatz-app .eatz-cal__cell {
    min-height: 86px;
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 8px;
    padding: 6px 8px;
    position: relative;
    transition: border-color .15s, box-shadow .15s;
}
.eatz-app .eatz-cal__cell.is-other { background: #fcf8f1; opacity: .6; }
.eatz-app .eatz-cal__cell.is-today { border-color: var(--eatz-brand); border-width: 2px; padding: 5px 7px; }
.eatz-app .eatz-cal__cell.has-data:hover { border-color: var(--eatz-brand); box-shadow: 0 4px 14px rgba(232,93,4,.12); }
.eatz-app .eatz-cal__cell-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.eatz-app .eatz-cal__date {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
    color: var(--eatz-text);
}
.eatz-app .eatz-cal__loc {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--eatz-text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.eatz-app .eatz-cal__count {
    display: inline-block;
    background: var(--eatz-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    margin-top: 4px;
}
.eatz-app .eatz-cal__orderer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    overflow: hidden;
    margin-bottom: 2px;
}
.eatz-app .eatz-cal__orderer img { width: 100%; height: 100%; object-fit: cover; }
.eatz-app .eatz-cal__orderer--lg { width: 32px; height: 32px; font-size: 14px; }

.eatz-app .eatz-cal__status {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ccc;
}
.eatz-app .eatz-cal__status--open      { background: #e85d04; }
.eatz-app .eatz-cal__status--locked    { background: #888; }
.eatz-app .eatz-cal__status--ordered   { background: #588157; }
.eatz-app .eatz-cal__status--delivered { background: #36845c; }
.eatz-app .eatz-cal__status--cancelled { background: #b03a1f; }

/* Wochenansicht */
.eatz-app .eatz-cal__grid--week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.eatz-app .eatz-cal__weekcol {
    background: #fff;
    border: 1px solid var(--eatz-border);
    border-radius: 10px;
    padding: 8px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}
.eatz-app .eatz-cal__weekcol.is-today { border-color: var(--eatz-brand); border-width: 2px; padding: 7px; }
.eatz-app .eatz-cal__weekcol-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--eatz-border);
}
.eatz-app .eatz-cal__wd { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--eatz-text-soft); font-weight: 700; }
.eatz-app .eatz-cal__wd-num { font-size: 18px; font-weight: 700; }
.eatz-app .eatz-cal__entry {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: #fcf8f1;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: background .15s, transform .1s;
}
.eatz-app a.eatz-cal__entry:hover { background: rgba(232,93,4,.1); transform: translateY(-1px); }
.eatz-app .eatz-cal__orderer-row { display: flex; align-items: center; gap: 6px; }
.eatz-app .eatz-cal__orderer-name { font-size: 12px; font-weight: 600; }
.eatz-app .eatz-cal__loc-lg { font-size: 13px; color: var(--eatz-text); }
.eatz-app .eatz-cal__entry small { color: var(--eatz-text-soft); font-size: 11px; }
.eatz-app .eatz-cal__stats { display: flex; gap: 8px; font-size: 11px; color: var(--eatz-text-soft); flex-wrap: wrap; }
.eatz-app .eatz-cal__status-pill {
    align-self: flex-start;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 4px;
    background: #efeae3;
    color: var(--eatz-text-soft);
    font-weight: 600;
}
.eatz-app .eatz-cal__status-pill.eatz-cal__status--open      { background: rgba(232,93,4,.15); color: #c54a00; }
.eatz-app .eatz-cal__status-pill.eatz-cal__status--ordered   { background: rgba(88,129,87,.15); color: #3a5a40; }
.eatz-app .eatz-cal__status-pill.eatz-cal__status--delivered { background: rgba(54,132,92,.18); color: #2a6045; }
.eatz-app .eatz-cal__status-pill.eatz-cal__status--cancelled { background: rgba(176,58,31,.12); color: #8c321b; }
.eatz-app .eatz-cal__status-pill.eatz-cal__status--locked    { background: #f0eee8; color: #555; }
.eatz-app .eatz-cal__empty { color: var(--eatz-text-soft); font-size: 12px; padding: 12px; text-align: center; flex: 1; display: flex; align-items: center; justify-content: center; }

@media (max-width: 1100px) {
    .eatz-app .eatz-cal__grid--week { grid-template-columns: repeat(2, 1fr); }
    .eatz-app .eatz-cal__weekcol { min-height: 120px; }
}
@media (max-width: 600px) {
    .eatz-app .eatz-cal__grid--week { grid-template-columns: 1fr; }
    .eatz-app .eatz-cal__cell { min-height: 60px; padding: 4px; }
    .eatz-app .eatz-cal__loc { font-size: 10px; }
    .eatz-app .eatz-cal__title { font-size: 16px; }
}

/* Speisen-Detail-Modal (Pop-up)
   ----------------------------------------------------------------------- */
.eatz-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: eatz-modal-in .2s ease;
}
.eatz-modal[hidden] { display: none; }
.eatz-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 33, 24, .55);
    backdrop-filter: blur(3px);
}
.eatz-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    animation: eatz-modal-pop .25s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes eatz-modal-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes eatz-modal-pop {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.eatz-app .eatz-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s, transform .1s;
}
.eatz-app .eatz-modal__close:hover { background: rgba(0,0,0,.75); transform: scale(1.05); }

.eatz-modal__media {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #fff5e8, #fcf8f1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.eatz-modal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eatz-modal__img-ph {
    color: var(--eatz-brand);
    opacity: .6;
}

.eatz-modal__body {
    padding: 22px 24px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.eatz-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.eatz-modal__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: var(--eatz-text);
    font-weight: 700;
}
.eatz-modal__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--eatz-brand-dark);
    white-space: nowrap;
}
.eatz-modal__sub {
    margin: 0;
    color: var(--eatz-text-soft);
    font-size: 14px;
    line-height: 1.5;
}
.eatz-modal__sub:empty { display: none; }
.eatz-modal__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--eatz-text-soft);
}
.eatz-modal__loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.eatz-modal__loc::before {
    content: '🍽';
    font-size: 12px;
}

.eatz-modal__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.eatz-modal__actions .eatz-btn { flex: 1; min-width: 140px; }

@media (max-width: 600px) {
    .eatz-modal { padding: 0; align-items: flex-end; }
    .eatz-modal__dialog {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        animation: eatz-modal-slide .25s ease;
    }
    @keyframes eatz-modal-slide {
        from { transform: translateY(40px); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
    }
    .eatz-modal__media { height: 200px; }
    .eatz-modal__title { font-size: 18px; }
    .eatz-modal__price { font-size: 18px; }
    .eatz-modal__body { padding: 18px; }
}

/* Klickbare Speise-Karte */
.eatz-app [data-eatz-dish] { cursor: pointer; }

/* Hilfe-Anleitung
   ----------------------------------------------------------------------- */
.eatz-help__intro {
    color: var(--eatz-text-soft);
    font-size: 14px;
    margin: 0 0 18px;
}
.eatz-help-toc {
    background: linear-gradient(135deg, #fcf8f1, #fff5e8);
    border: 1px solid var(--eatz-border);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 22px;
    position: sticky;
    top: 8px;
    z-index: 5;
}
.eatz-help-toc strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--eatz-text-soft);
    margin-bottom: 10px;
}
.eatz-help-toc ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: toc;
    columns: 2;
    column-gap: 24px;
}
.eatz-help-toc li {
    counter-increment: toc;
    padding: 4px 0;
    break-inside: avoid;
}
.eatz-help-toc li::before {
    content: counter(toc) '.';
    color: var(--eatz-brand-dark);
    font-weight: 700;
    margin-right: 6px;
}
.eatz-help-toc a {
    color: var(--eatz-text);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}
.eatz-help-toc a:hover { color: var(--eatz-brand-dark); text-decoration: underline; }

.eatz-help-section {
    margin-bottom: 28px;
    padding-top: 16px;
    border-top: 1px dashed var(--eatz-border);
    scroll-margin-top: 120px;
}
.eatz-help-section:first-of-type { border-top: 0; padding-top: 0; }
.eatz-help-section h4 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--eatz-brand-dark);
    font-weight: 700;
}
.eatz-help-section p { margin: 0 0 10px; line-height: 1.6; }
.eatz-help-section ul { padding-left: 22px; margin: 6px 0 12px; }
.eatz-help-section li { margin-bottom: 5px; line-height: 1.55; }
.eatz-help-section em { color: var(--eatz-text-soft); }

.eatz-help-back {
    display: inline-block;
    font-size: 12px;
    color: var(--eatz-text-soft);
    text-decoration: none;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(232, 93, 4, .08);
    transition: background .15s, color .15s;
}
.eatz-help-back:hover { background: var(--eatz-brand); color: #fff; }

.eatz-help-traffic-list {
    list-style: none !important;
    padding: 0 !important;
}
.eatz-help-traffic-list li {
    padding: 8px 12px !important;
    background: #fcf8f1;
    border-radius: 8px;
    margin-bottom: 6px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.eatz-help-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0,0,0,.12);
}
.eatz-help-dot--red    { background: radial-gradient(circle at 35% 35%, #ff5b5b, #c82323 65%); box-shadow: 0 0 8px rgba(232, 60, 60, .55); }
.eatz-help-dot--yellow { background: radial-gradient(circle at 35% 35%, #ffe066, #f3a700 65%); box-shadow: 0 0 8px rgba(255, 196, 30, .55); }
.eatz-help-dot--green  { background: radial-gradient(circle at 35% 35%, #74e08c, #2a8d3a 65%); box-shadow: 0 0 8px rgba(50, 180, 80, .55); }
.eatz-help-dot--gold   {
    background: radial-gradient(circle at 35% 35%, #e2c8ff, #9b51e0 55%, #5b1a9b 100%);
    box-shadow: 0 0 8px rgba(155, 81, 224, .7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 0 4px rgba(255,255,255,.5), 0 1px 1px rgba(0,0,0,.35);
}
.eatz-help-dot--gold::after { content: '€'; }

@media (max-width: 700px) {
    .eatz-help-toc { position: static; padding: 14px 16px; }
    .eatz-help-toc ol { columns: 1; }
}

/* Bestell-Ampel
   ----------------------------------------------------------------------- */
.eatz-day {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "traffic top"
        "traffic details"
        "traffic actions"
        "form    form";
    column-gap: 18px;
    align-items: start;
}
.eatz-day > .eatz-traffic { grid-area: traffic; }
.eatz-day > .eatz-day__top { grid-area: top; }
.eatz-day > .eatz-day__details { grid-area: details; }
.eatz-day > .eatz-day__actions { grid-area: actions; }
.eatz-day > .eatz-collapse { grid-area: form; }

.eatz-traffic {
    background: linear-gradient(180deg, #2b2118, #1a130d);
    border-radius: 18px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column !important;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
    align-self: start;
    justify-self: start;
    margin-top: 4px;
    width: max-content;
    max-width: 50px;
    flex-shrink: 0;
}
.eatz-traffic__lamp {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.04);
    transition: background .35s, box-shadow .35s, transform .35s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.eatz-traffic__euro {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transition: opacity .35s;
    text-shadow: 0 0 4px rgba(0,0,0,.4);
}

/* Rot leuchten */
.eatz-traffic--red .eatz-traffic__lamp--red {
    background: radial-gradient(circle at 35% 35%, #ff5b5b, #c82323 65%);
    box-shadow: 0 0 14px 2px rgba(232, 60, 60, .65), inset 0 0 6px rgba(255,255,255,.3);
    animation: eatz-traffic-pulse 2.5s ease-in-out infinite;
}
/* Gelb leuchten */
.eatz-traffic--yellow .eatz-traffic__lamp--yellow {
    background: radial-gradient(circle at 35% 35%, #ffe066, #f3a700 65%);
    box-shadow: 0 0 14px 2px rgba(255, 196, 30, .7), inset 0 0 6px rgba(255,255,255,.3);
    animation: eatz-traffic-pulse 2s ease-in-out infinite;
}
/* Gruen leuchten */
.eatz-traffic--green .eatz-traffic__lamp--green,
.eatz-traffic--gold  .eatz-traffic__lamp--green {
    background: radial-gradient(circle at 35% 35%, #74e08c, #2a8d3a 65%);
    box-shadow: 0 0 14px 2px rgba(50, 180, 80, .65), inset 0 0 6px rgba(255,255,255,.25);
}
/* "Alle bezahlt" = lila Premium-Glanz */
.eatz-traffic--gold .eatz-traffic__lamp--green {
    background: radial-gradient(circle at 35% 35%, #e2c8ff, #9b51e0 55%, #5b1a9b 100%);
    box-shadow: 0 0 20px 4px rgba(155, 81, 224, .75), inset 0 0 8px rgba(255,255,255,.45);
    animation: eatz-traffic-shine 2.5s ease-in-out infinite;
}
.eatz-traffic--gold .eatz-traffic__euro {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 6px rgba(255,255,255,.6), 0 1px 2px rgba(0,0,0,.4);
}

@keyframes eatz-traffic-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); filter: brightness(1.1); }
}
@keyframes eatz-traffic-shine {
    0%, 100% { box-shadow: 0 0 18px 3px rgba(155, 81, 224, .75), inset 0 0 8px rgba(255,255,255,.45); }
    50%      { box-shadow: 0 0 28px 7px rgba(180, 110, 240, .9),  inset 0 0 10px rgba(255,255,255,.6); }
}
.eatz-traffic__caption {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--eatz-text-soft);
    font-style: italic;
}

@media (max-width: 600px) {
    /* Auf Mobile: Ampel oben links, kompakter */
    .eatz-day {
        grid-template-columns: auto 1fr;
        column-gap: 10px;
    }
    .eatz-traffic { padding: 5px 4px; gap: 4px; border-radius: 14px; }
    .eatz-traffic__lamp { width: 16px; height: 16px; }
    .eatz-traffic__euro { font-size: 9px; }
    .eatz-traffic__caption { font-size: 12px; }
}

/* Klickbares Bild im Modal + Zoom-Indikator */
.eatz-modal__media { position: relative; }
.eatz-app .eatz-modal__img { cursor: zoom-in; transition: transform .2s ease; }
.eatz-app .eatz-modal__img:hover { transform: scale(1.02); }
.eatz-app .eatz-modal__img-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .1s;
    backdrop-filter: blur(4px);
    pointer-events: none; /* Klick geht durch zum Bild */
}
.eatz-modal__media:hover .eatz-modal__img-zoom { background: rgba(0, 0, 0, .8); }

/* Vollbild-Lightbox */
.eatz-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
    animation: eatz-lightbox-in .2s ease;
}
.eatz-lightbox[hidden] { display: none; }
.eatz-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
    animation: eatz-lightbox-pop .25s cubic-bezier(.2,.8,.3,1.2);
}
.eatz-app .eatz-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background .15s, transform .1s;
}
.eatz-app .eatz-lightbox__close:hover { background: rgba(255, 255, 255, .3); transform: scale(1.05); }
@keyframes eatz-lightbox-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes eatz-lightbox-pop {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
    .eatz-lightbox { padding: 12px; }
    .eatz-app .eatz-lightbox__close { top: 12px; right: 12px; }
}

/* Mobile-Polish (≤ 600px)
   ----------------------------------------------------------------------- */
@media (max-width: 600px) {
    .eatz-app { padding: 16px 10px 60px; }
    .eatz-card { padding: 16px; border-radius: 12px; }
    .eatz-header {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 14px;
        align-items: stretch;
    }
    .eatz-header__brand { flex-wrap: wrap; }
    .eatz-title { font-size: 18px; }
    .eatz-subtitle { font-size: 12px; }
    .eatz-user-mini {
        width: 100%;
        justify-content: space-between;
    }
    .eatz-user-mini .eatz-btn { flex: 1; padding: 8px 10px; font-size: 13px; }
    .eatz-day__top { flex-direction: column; align-items: flex-start; }
    .eatz-day__meta { width: 100%; justify-content: space-between; gap: 10px; }
    .eatz-stat__num { font-size: 18px; }
    .eatz-day__details {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 8px;
    }
    .eatz-detail-label { min-width: 70px; font-size: 12px; }
    .eatz-detail-value { font-size: 13px; }
    .eatz-day__actions .eatz-btn { width: 100%; }
    .eatz-form__actions { flex-direction: column; }
    .eatz-form__actions .eatz-btn { width: 100%; }
    .eatz-orders { gap: 8px; }
    .eatz-order { padding: 10px; gap: 10px; }
    .eatz-order__avatar img,
    .eatz-order__avatar .eatz-avatar { width: 36px; height: 36px; }
    .eatz-order__top { flex-wrap: wrap; }
    .eatz-order__dish { font-size: 15px; }
    .eatz-menu-grid { grid-template-columns: 1fr; gap: 8px; }
    .eatz-menu-block { padding: 12px; }
    .eatz-menu-block__header { flex-wrap: wrap; gap: 10px; }
    .eatz-menu-item__pick { padding: 6px 12px; font-size: 13px; }
    .eatz-pay-summary > div strong { font-size: 16px; }
    .eatz-stars-input { gap: 2px; }
    .eatz-app .eatz-star { padding: 2px; }
    .eatz-app .eatz-star svg { width: 28px; height: 28px; }
    .eatz-flash { left: 10px; right: 10px; top: 10px; }
    .eatz-flash__msg { max-width: 100%; padding: 10px 14px; font-size: 13px; }

    /* Touch-Targets vergroessern */
    .eatz-app .eatz-btn { min-height: 42px; }
    .eatz-app .eatz-btn--small { min-height: 34px; }
}

/* Sehr schmale Geräte (≤ 380px) */
@media (max-width: 380px) {
    .eatz-title { font-size: 16px; }
    .eatz-day__meta { flex-direction: column; gap: 4px; }
    .eatz-stat { flex-direction: row; align-items: center; gap: 6px; }
    .eatz-stat__label { margin-top: 0; font-size: 11px; }
    .eatz-pay-summary { flex-direction: column; gap: 8px; }
}

/* Tablet im Querformat (601-900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .eatz-grid--main-side { grid-template-columns: 2fr 1fr; }
    .eatz-grid--main-side .eatz-field:nth-child(3) { grid-column: 1 / -1; }
}
.eatz-app .eatz-menu-item__pick {
    background: rgba(232, 93, 4, .1);
    color: var(--eatz-brand-dark);
    border: 1px solid transparent;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .08s;
}
.eatz-app .eatz-menu-item__pick:hover {
    background: var(--eatz-brand);
    color: #fff;
    transform: translateY(-1px);
}
