/* Cabbawalla – öffentliches Layout. Keine externen Ressourcen (DSGVO). */
:root {
    --tomato: #e8452c;
    --saffron: #f6a609;
    --basil: #2f9e44;
    --avocado: #8fbf3f;
    --beet: #b5179e;
    --ink: #1f2430;
    --muted: #5b6272;
    --paper: #fffaf3;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 12px 30px rgba(31, 36, 48, .12);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: transparent; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--tomato); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint-1 .tile { background: rgba(255, 241, 230, .96); }
.section-tint-2 .tile { background: rgba(238, 248, 233, .96); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--tomato); margin: 0 0 .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hl { background: linear-gradient(120deg, var(--saffron), var(--tomato)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; background: var(--tomato); color: var(--white); text-decoration: none; font-weight: 700; border: 2px solid var(--tomato); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--tomato); border-color: var(--white); }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 250, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(31, 36, 48, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-size: 1.35rem; }
.brand strong { color: var(--tomato); }
.brand-light { color: var(--white); }
.brand-logo { display: block; height: 30px; width: auto; }
.brand-logo-small { height: 20px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--tomato); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { position: absolute; left: 10px; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; content: ""; }
.nav-burger span { top: 20px; }
.nav-burger span::before { top: -8px; left: 0; }
.nav-burger span::after { top: 8px; left: 0; }

/* Fotos: Bild aus /assets/img/food/, Verlauf als Fallback */
.photo { border-radius: var(--radius); min-height: 260px; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.photo-hero     { min-height: 460px; background-image: url("../img/food/hero.jpg"), linear-gradient(135deg, var(--saffron), var(--tomato) 55%, var(--beet)); }
.photo-menu     { background-image: url("../img/food/menu.webp"), linear-gradient(135deg, var(--avocado), var(--basil)); }
.photo-order    { background-image: url("../img/food/order.webp"), linear-gradient(135deg, var(--saffron), var(--tomato)); }
.photo-delivery { background-image: url("../img/food/delivery.webp"), linear-gradient(135deg, var(--beet), var(--tomato)); }
.photo-kitchen  { min-height: 380px; background-image: url("../img/food/kitchen.webp"), linear-gradient(135deg, var(--tomato), var(--saffron)); }
.photo-team     { min-height: 380px; background-image: url("../img/food/team.webp"), linear-gradient(135deg, var(--basil), var(--avocado)); }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0; }
/* Schwebende Kacheln über dem scharfen Bild */
.hero-text { background: rgba(255, 255, 255, .94); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: 0 28px 60px rgba(20, 24, 32, .35), 0 6px 16px rgba(20, 24, 32, .18); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li { background: var(--white); border-radius: 999px; padding: .35rem .9rem; font-size: .88rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.badges li:nth-child(1) { color: var(--basil); }
.badges li:nth-child(2) { color: var(--beet); }
.badges li:nth-child(3) { color: var(--tomato); }
.hero-visual { position: relative; }
.hero-caption { text-align: center; margin: .8rem auto 0; color: var(--ink); background: rgba(255,255,255,.95); border-radius: 999px; padding: .45rem 1.1rem; width: fit-content; margin-top: 1.1rem; box-shadow: 0 10px 24px rgba(20, 24, 32, .3); }
.hero-caption strong { color: var(--tomato); }
.hero-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 28px 60px rgba(20, 24, 32, .35), 0 6px 16px rgba(20, 24, 32, .18); }
.label-card { position: absolute; left: -1.5rem; bottom: -1.5rem; display: flex; flex-direction: column; gap: .15rem; background: var(--white); padding: 1rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow); border-left: 6px solid var(--tomato); max-width: 320px; }
.label-name { font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.label-dish { font-size: .95rem; color: var(--ink); }
.label-meta { font-size: .8rem; color: var(--muted); }
.label-meta em { color: var(--basil); font-style: normal; font-weight: 700; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.step { background: var(--white); border-radius: var(--radius); padding: 1rem 1rem 1.6rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); position: relative; }
.step .photo { min-height: 180px; box-shadow: none; margin-bottom: 1.4rem; }
.step-no { position: absolute; top: 160px; left: 1.6rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-weight: 800; font-size: 1.2rem; border: 4px solid var(--white); }
.step-1 .step-no { background: var(--basil); }
.step-2 .step-no { background: var(--saffron); }
.step-3 .step-no { background: var(--beet); }
.step h3, .step p { padding: 0 .6rem; }
.step p { color: var(--muted); margin: 0; }

/* Split-Sektionen */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-reverse > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--basil); color: var(--white); font-size: .8rem; font-weight: 800; display: grid; place-items: center; margin-top: .15rem; }
.section-tint-1 .checks li::before { background: var(--tomato); }
.checks li.open::before { content: "!"; background: var(--saffron); color: var(--ink, #1d2230); }

.story p { color: var(--ink); font-size: 1.1rem; }
.cta { color: var(--white); }
.tile.cta-tile { background: linear-gradient(120deg, var(--tomato), var(--beet)); }
.cta p { font-size: 1.1rem; opacity: .95; margin-bottom: 1.8rem; }
.cta .cta-eyebrow { color: #ffe2c7; font-size: .8rem; margin-bottom: .6rem; }
.cta .cta-mail { font-size: .95rem; margin: 1.2rem 0 0; }
.cta .cta-mail a { color: var(--white); }

/* Rechtstexte */
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.draft-note { background: #fff3cd; border-left: 4px solid var(--saffron); padding: .7rem 1rem; border-radius: 6px; font-size: .92rem; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd3dc; padding: 3rem 0 1.5rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 1.5rem; align-items: flex-start; }
.site-footer a { color: var(--white); }
.footer-copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* Seitenhintergrund: iStock-Bild bildschirmfüllend und fest (auch iOS, daher Pseudo-Element statt background-attachment) */
html { background: var(--paper); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1;
    background: #e9dccb url("../img/food/food-bg-1920.jpg") center / cover no-repeat;
    background-image: image-set(url("../img/food/food-bg-1920.webp") type("image/webp"), url("../img/food/food-bg-1920.jpg") type("image/jpeg")); }
@media (max-width: 900px) { body::before { background-image: url("../img/food/food-bg-1024.webp"); } }
/* Schwebende Kacheln: bringen eigene Farbe mit und werfen Schatten */
.tile { background: rgba(255, 255, 255, .95); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: 0 28px 60px rgba(20, 24, 32, .35), 0 6px 16px rgba(20, 24, 32, .18); }
.tile-head { width: fit-content; margin: 0 auto; padding: 1rem 2rem; }
.tile-head h2 { margin-bottom: 0; }
.step, .photo { box-shadow: 0 28px 60px rgba(20, 24, 32, .35), 0 6px 16px rgba(20, 24, 32, .18); }
.step .photo { box-shadow: none; }

/* Portale: Anmeldung, App-Rahmen */
.app { display: flex; flex-direction: column; min-height: 100vh; }
.app > header, .app > footer, .app > main:not(.container) { width: 100%; }
.app > main.container { width: min(1160px, 100% - 2.5rem); }
.app-bar { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(20, 24, 32, .12); }
.app-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.app-area { font-size: .95rem; font-weight: 700; color: var(--muted); margin-left: .4rem; }
.app-user { display: flex; align-items: center; gap: .8rem; font-size: .95rem; }
.app-main { flex: 1; padding: 2.5rem 0 3rem; }
.app-main h1 { color: var(--white); text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.app-main .lead { background: rgba(255, 255, 255, .94); border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: 0 10px 24px rgba(20, 24, 32, .25); }
.app-status { margin-top: 1.5rem; }
.app-foot { padding: 1.2rem 0; text-align: center; font-size: .85rem; background: rgba(31, 36, 48, .85); color: #cfd3dc; }
.app-foot a { color: var(--white); }
.app-admin .app-bar { border-top: 4px solid var(--beet); }
.auth { flex: 1; display: grid; place-items: center; padding: 2.5rem 1.25rem; }
.auth-card { width: min(480px, 100%); background: rgba(255, 255, 255, .96); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.4rem, 4vw, 2.4rem);
    box-shadow: 0 28px 60px rgba(20, 24, 32, .35), 0 6px 16px rgba(20, 24, 32, .18); }
.auth-card h1 { font-size: 1.8rem; margin: 0 0 1rem; }
.auth-area { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--tomato); margin: 0 0 .3rem; }
.auth-steps { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 0 0 1.2rem; font-size: .85rem; color: var(--muted); }
.auth-steps li { display: flex; align-items: center; gap: .35rem; }
.auth-steps span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #eceef2; font-weight: 700; }
.auth-steps .is-active { color: var(--ink); font-weight: 700; }
.auth-steps .is-active span { background: var(--tomato); color: var(--white); }
.auth-steps .is-done span { background: var(--basil); color: var(--white); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input[type=email], .form input[type=password], .form input[type=text], .form input[type=tel], .form input[type=time], .form select, .form textarea {
    font: inherit; padding: .75rem .9rem; border: 2px solid #dfe2e8; border-radius: 12px; background: var(--white); }
.form input:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(246, 166, 9, .25); }
.form input[readonly] { background: #f4f5f7; color: var(--muted); }
.form input.code { font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.form .choice { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; padding: .8rem; border: 2px solid #eceef2; border-radius: 12px; cursor: pointer; }
.form .choice:has(input:checked) { border-color: var(--tomato); background: #fff6f3; }
.form .check { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.muted { color: var(--muted); font-size: .9rem; font-weight: 400; }
.alert { padding: .7rem 1rem; border-radius: 10px; font-size: .95rem; margin: 0 0 1rem; }
.alert-info { background: #eef8e9; border-left: 4px solid var(--basil); }
.alert-error { background: #fdecea; border-left: 4px solid var(--tomato); }
.totp-setup { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.totp-setup img { border-radius: 12px; border: 1px solid #eceef2; background: var(--white); }
.secret { display: inline-block; font-size: 1rem; letter-spacing: .08em; background: #f4f5f7; padding: .4rem .6rem; border-radius: 8px; word-break: break-all; }
.codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; margin: 0 0 1rem; }
.codes code { display: block; text-align: center; background: #f4f5f7; padding: .4rem; border-radius: 8px; font-size: 1rem; }
.alt-methods { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; }
.btn-link { background: none; border: 0; padding: 0; color: var(--tomato); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.btn-small { padding: .45rem .9rem; font-size: .9rem; }

/* Verwaltung und Portale: Navigation, Listen, Formulare */
.app-nav { border-top: 1px solid #eceef2; }
.app-nav .container { display: flex; gap: .3rem; overflow-x: auto; }
.app-nav a { padding: .6rem .9rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.app-nav a:hover { color: var(--tomato); }
.app-nav a[aria-current=page] { border-bottom-color: var(--beet); color: var(--beet); }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.page-head h1 { margin: 0; }
.crumbs { margin: 0 0 .6rem; }
.crumbs a { color: var(--white); font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); text-decoration: none; }
.app-main .tile + .tile, .app-main .tile + section, .app-main section + .tile { margin-top: 1.5rem; }
.app-main .tile h2 { font-size: 1.3rem; margin: 0 0 1rem; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .5rem .6rem; border-bottom: 2px solid #eceef2; }
table.data td { padding: .65rem .6rem; border-bottom: 1px solid #f0f1f4; vertical-align: middle; }
table.data td a { color: var(--ink); }
table.data tr:hover td { background: rgba(246, 166, 9, .06); }
.right { text-align: right; }
.status { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eceef2; color: var(--muted); }
.status-active { background: #e4f4dc; color: #2f6b1d; }
.status-invited { background: #fff1d1; color: #8a5a00; }
.status-locked, .status-disabled { background: #f1f2f5; color: #7a7f8c; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; align-items: start; }
.form label { align-content: start; }
.form input, .form select, .form textarea { min-width: 0; width: 100%; box-sizing: border-box; }
.form input[type=checkbox], .form input[type=radio] { width: auto; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-row { display: flex; gap: .8rem; align-items: flex-end; flex-wrap: wrap; }
.form-row > label { flex: 1 1 10rem; }
.form-row > .w-zip { flex: 0 1 7.5rem; }
.form-row > .w-cc { flex: 0 1 5rem; }
.form select { appearance: auto; }
details.add-box { margin-top: 1rem; border: 2px dashed #e1e4ea; border-radius: 12px; padding: .7rem 1rem; }
details.add-box[open] { border-style: solid; }
details.add-box summary { cursor: pointer; font-weight: 700; color: var(--tomato); }
details.add-box summary strong { color: var(--ink); }
details.add-box[open] summary { margin-bottom: 1rem; }
fieldset.weekdays { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
fieldset.weekdays legend { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; padding: 0; }
.inline-add { margin-top: 1rem; }
.invite-box { border-left: 6px solid var(--saffron); }
.copy-field { width: 100%; font: inherit; font-size: .9rem; padding: .6rem .8rem; border: 2px solid #dfe2e8; border-radius: 10px; background: #f8f9fb; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; align-items: start; }
.app-main .dash-grid > .tile { margin-top: 0; }
.dash-tile { display: block; text-decoration: none; color: var(--ink); transition: transform .15s; }
.dash-tile:hover { transform: translateY(-3px); }
.dash-tile .num { font-size: 2.6rem; font-weight: 800; line-height: 1; display: block; margin-bottom: .3rem; }
.dash-tile.t-caterer { border-top: 6px solid var(--tomato); }
.dash-tile.t-firmen { border-top: 6px solid var(--basil); }
.dash-tile.t-konto { border-top: 6px solid var(--beet); }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* Responsiv */
@media (max-width: 900px) {
    .hero-grid, .split { grid-template-columns: 1fr; gap: 2.2rem; }
    .split-reverse > :first-child { order: 0; }
    .photo-hero { min-height: 320px; }
    .photo-kitchen, .photo-team { min-height: 260px; }
    .steps { grid-template-columns: 1fr; }
    .label-card { left: .8rem; bottom: -1.2rem; }
}
@media (max-width: 760px) {
    .nav-burger { display: block; }
    .nav-links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid rgba(0, 0, 0, .08); max-height: 0; overflow: hidden; transition: max-height .25s; }
    .nav-links a { padding: .9rem 1.25rem; width: 100%; }
    .nav-links .btn { width: auto; margin: .5rem 1.25rem 1rem; }
    .nav-toggle:checked ~ .nav-links { max-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 600px) { .app-user span { display: none; } table.data td { white-space: nowrap; } }
.fair-deal { margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff6e0; border-left: 6px solid var(--saffron); }
.fair-deal p { margin: 0 0 .5rem; }
.fair-deal p:last-child { margin-bottom: 0; }
fieldset.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .6rem; }
fieldset.chips legend { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
fieldset.chips .check { padding: .3rem .7rem; border: 2px solid #eceef2; border-radius: 999px; font-size: .9rem; }
fieldset.chips .check:has(input:checked) { border-color: var(--basil); background: #f1f9ec; }
table.data tr.is-off td { opacity: .55; }
table.data td.wrap { white-space: normal; }
.tile-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
button.btn { font: inherit; font-weight: 700; cursor: pointer; }

/* Gerichte: Fotos, Hinweise; Caterer je Standort */
table.data .thumb-col { width: 72px; padding-right: 0; }
table.data img.thumb { display: block; width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.dish-photo img { max-width: 100%; height: auto; border-radius: 12px; }
.hint { font-size: .85em; color: #8a5a00; }
ul.site-caterers { list-style: none; margin: .25rem 0 1rem 1rem; padding: 0; }
ul.site-caterers li { padding: .2rem 0; }
ul.site-caterers li.is-off { opacity: .55; }
#wochenplaene h3 { margin: 1rem 0 .4rem; font-size: 1rem; }
@media (max-width: 600px) { table.data .thumb-col { display: none; } }
table.data td.right { white-space: nowrap; }

/* Verwaltung und Kundenbereiche (Anmeldung, Caterer, Firma, Bestellen): schlicht und funktional, ohne Hintergrundbild.
   Das Foto bleibt der öffentlichen Startseite vorbehalten. */
html:has(body.app) { background: #f4f5f7; }
body.app::before { content: none; display: none; }
body.app { background: #f4f5f7; }
.app .tile, .app .auth-card { background: #fff; box-shadow: 0 1px 3px rgba(20, 24, 32, .08), 0 1px 2px rgba(20, 24, 32, .05); border: 1px solid #e6e8ec; }
.app .tile { border-radius: var(--radius); padding: clamp(1.1rem, 2.4vw, 1.8rem); }
.app-main h1 { color: var(--ink); text-shadow: none; }
.app .crumbs a { color: var(--muted); text-shadow: none; }
.app .crumbs a:hover { color: var(--tomato); }
.app-main .lead { background: transparent; box-shadow: none; padding: 0; }
.app-bar { background: #fff; backdrop-filter: none; box-shadow: 0 1px 0 #e6e8ec; }
.app-foot { background: transparent; color: var(--muted); }
.app-foot a { color: var(--muted); }

/* Konfigurator (Auswahl beim Bestellen) */
.configurator { display: grid; gap: .8rem; margin: .8rem 0; }
.cfg-group { border: 1px solid #e6e8ec; border-radius: 12px; padding: .7rem 1rem .9rem; margin: 0; }
.cfg-group legend { font-weight: 700; padding: 0 .3rem; }
.cfg-step { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--tomato); color: #fff; font-size: .8rem; margin-right: .2rem; }
.cfg-rule { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.cfg-options { display: flex; flex-wrap: wrap; gap: .4rem .6rem; }
.cfg-option { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #dfe2e7; border-radius: 999px; padding: .35rem .85rem; cursor: pointer; background: #fff; }
.cfg-option:has(input:checked) { border-color: var(--tomato); background: #fff1ec; }
.cfg-option:has(input:disabled) { opacity: .45; }
.cfg-option em { font-style: normal; color: var(--muted); font-size: .85rem; }
.cfg-total { margin: .2rem 0 0; }
.cfg-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem; align-items: start; }
.cfg-card h3 { margin: 0 0 .3rem; }
.cfg-photo { width: 100%; border-radius: 12px; }
.bundle-form select { min-width: 0; }
.row-actions { display: flex; gap: .8rem; align-items: center; }
.row-actions form { margin: 0; }
.inline-edit { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-edit input[type=text] { flex: 1 1 14rem; width: auto; }
.inline-edit input.w-price { flex: 0 0 6.5rem; }
.tile.is-off { opacity: .6; }
.alert-ok { background: #e4f4dc; color: #2f6b1d; padding: .6rem .9rem; border-radius: 8px; }
@media (max-width: 700px) { .cfg-card { grid-template-columns: 1fr; } .cfg-photo { max-width: 260px; } }
.map-link { margin: 0; align-self: end; }

/* ── Wochenplan-Editor ───────────────────────────────────────────── */
.tile-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0; }
.tile-link { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: inherit; }
.tile-link strong { font-size: 1.15rem; }
.tile-link span { color: #5b6270; }
.tile-link:hover { border-color: #b8c0cc; }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: #eceef2; font-size: .85rem; font-weight: 600; margin-right: .3rem; }
.badge-ok { background: #e3f4e1; color: #24692a; }
.wp-status-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; }
.wp-status-row p { margin: 0; }
.wp-note { margin-top: .8rem; }
.wp-note input[type=text] { flex: 1; min-width: 14rem; }
.wp-copy { margin-top: .6rem; }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin: 1rem 0; }
.wp-day h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.wp-items { list-style: none; margin: 0 0 .8rem; padding: 0; }
.wp-items li { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid #eceef2; }
.wp-items .thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; flex: none; }
.thumb-empty { display: inline-block; background: #f0f1f4; }
.wp-item-main { flex: 1; min-width: 0; }
.wp-item-main strong { display: block; line-height: 1.25; }
.wp-item-main .inline-edit { margin-top: .2rem; font-size: .9rem; }
.wp-add { display: flex; gap: .4rem; }
.wp-add select { flex: 1; min-width: 0; }
.wp-weeks { columns: 2 18rem; margin: 0; padding-left: 1.1rem; }
.wp-weeks a[aria-current] { font-weight: 700; }
.wp-print { display: none; }

/* ── Caterer: Karte, Liste, Dublette ─────────────────────────────── */
.map-frame { width: 100%; height: 320px; border: 0; border-radius: 10px; margin-top: .6rem; }
.danger-zone { border-color: #f1c7c3; }
.inline-form { display: inline; }

@media print {
  html:has(body.app), body.app { background: #fff !important; }
  .app-bar, .app-nav, .app-foot, .no-print, .crumbs, .alert { display: none !important; }
  .app-main { padding: 0 !important; max-width: none; }
  .wp-print { display: block; font-size: 11pt; color: #000; }
  .wp-print h1 { font-size: 20pt; margin: 0; }
  .wp-print-sub { margin: .2rem 0 1rem; font-size: 12pt; }
  .wp-print h2 { font-size: 13pt; margin: .9rem 0 .2rem; border-bottom: 1px solid #000; break-after: avoid; }
  .wp-print table { width: 100%; border-collapse: collapse; }
  .wp-print td { padding: .15rem 0; vertical-align: top; }
  .wp-print td.right { text-align: right; white-space: nowrap; padding-left: 1rem; }
  .wp-print small { color: #444; }
  .wp-print-foot { margin-top: 1.2rem; font-size: 9pt; color: #444; }
}
.btn-danger { background: #c0392b; border-color: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; }
.wp-grid > .tile { margin: 0; }
.wp-item-main .inline-edit { display: flex; align-items: center; gap: .35rem; flex-wrap: nowrap; }
.wp-item-main .inline-edit input.w-price { width: 5.5rem; flex: none; padding: .2rem .4rem; }
.wp-note input[type=text] { padding: .45rem .6rem; border: 1px solid #cfd4dc; border-radius: 8px; font: inherit; }
.app-main .wp-grid > .tile + .tile { margin-top: 0; }
