/* Laden-Webseite (Startseite) – nutzt die Farben aus style.css, daher auch im dunklen Modus und Kontrastmodus passend */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root.a11y-motion html, :root.a11y-motion { scroll-behavior: auto; }
body.site { background: var(--bg); }
.site-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.site a { text-underline-offset: 3px; }

/* ---------- Navigation */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-ink); box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.site-nav-inner { max-width: 1100px; margin: 0 auto; padding: .55rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.site-logo { display: flex; align-items: center; gap: .6rem; color: var(--header-ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.site-logo img { width: 44px; height: auto; }
.site-links { display: flex; gap: .25rem; margin-left: auto; }
.site-links a { color: var(--header-ink); text-decoration: none; font-weight: 600; padding: .55rem .7rem; border-radius: 10px; }
.site-links a:hover { background: rgba(255,255,255,.14); }
.site-nav-right { display: flex; align-items: center; gap: .5rem; }
.btn-order { background: #fff; color: var(--brand-dark); text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; }
.btn-order:hover { filter: none; background: #ffe9ec; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: #fff; }
@media (max-width: 860px) {
  .site-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--header-bg); padding: .5rem 1rem 1rem; box-shadow: 0 12px 20px rgba(0,0,0,.2); }
  .site-links.open { display: flex; }
  .site-links a { padding: .85rem .8rem; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .site-nav-right { margin-left: auto; }
  .site-logo span { display: none; }
}
@media (max-width: 380px) { .btn-order { padding: .7rem .8rem; font-size: .95rem; } }

/* ---------- Hero */
.site-hero { position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(255,255,255,.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #d6142f 0%, #a00c24 60%, #6d0716 100%);
}
:root[data-theme="dark"] .site-hero { background:
    radial-gradient(1200px 500px at 50% -10%, rgba(224,40,60,.28), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #2a0a10 0%, #14070a 70%, #0b0b0b 100%); }
.site-hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; }
.site-hero.has-photo .site-hero-photo { opacity: 1; }
.site-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65)); }
.site-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 3.5rem 1.25rem 3.25rem; }
.hero-logo { width: 130px; height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.hero-kicker { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .85rem; margin: 1rem 0 .4rem; color: #ffe1e6; }
.site-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.08; margin: 0 0 .9rem; font-weight: 850; letter-spacing: -.01em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 40rem; margin: 0 auto 1.6rem; color: #fff3f5; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn-hero { background: #fff; color: #a00c24; font-size: 1.1rem; padding: 1rem 1.6rem; border-radius: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.btn-hero:hover { background: #fff0f2; }
.btn-hero-sec { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.75); font-size: 1.1rem; padding: .9rem 1.4rem; border-radius: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.btn-hero-sec:hover { background: rgba(255,255,255,.22); }
.hero-status { margin: 1.4rem 0 0; display: inline-flex; align-items: center; gap: .45rem; background: rgba(0,0,0,.28); padding: .45rem .9rem; border-radius: 99px; font-weight: 650; min-height: 1.5rem; }
.hero-status:empty { display: none; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; display: inline-block; }
.dot.open { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
.dot.closed { background: #fca5a5; }

/* ---------- Abschnitte */
.site-sec { padding: 3.5rem 0; }
.site-sec:nth-of-type(even) { background: var(--cream); }
.site-sec h2, .site-cta h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 .5rem; letter-spacing: -.01em; }
.site-sec h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--brand); margin-top: .5rem; }
.sec-lead { color: var(--muted); margin: .25rem 0 1.5rem; font-size: 1.05rem; }

/* Heute */
.today-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.today-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; background: var(--card); border: 2px solid var(--brand); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.today-card:hover { transform: translateY(-2px); }
.today-card strong { font-size: 1.15rem; }
.today-desc { color: var(--muted); }
.today-price { font-weight: 800; color: var(--brand-dark); font-size: 1.1rem; margin-top: auto; padding-top: .3rem; }

/* Über uns */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
.about-lead { font-size: 1.15rem; }
.about-text p { line-height: 1.65; max-width: 62ch; }
.about-sign { font-style: italic; color: var(--muted); }
.about-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, var(--brand), var(--brand-dark)); box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo img[src="/logo.png"] { width: 42%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.3)); }
.facts { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.facts li { display: grid; grid-template-columns: 2.4rem 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .8rem; }
.fact-icon { grid-row: span 2; font-size: 1.5rem; text-align: center; }
.facts strong { font-size: 1.02rem; }
.facts li span:last-child { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Speisekarte */
.menu-list { display: grid; gap: .6rem; }
.menu-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.menu-cat summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-weight: 750; font-size: 1.1rem; min-height: 44px; }
.menu-cat summary::-webkit-details-marker { display: none; }
.menu-cat summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand-dark); margin-left: .5rem; }
.menu-cat[open] summary::after { content: "–"; }
.menu-cat[open] summary { border-bottom: 1px solid var(--line); }
.menu-count { white-space: nowrap; margin-left: auto; color: var(--muted); font-weight: 500; font-size: .9rem; }
.menu-items { list-style: none; margin: 0; padding: .3rem 1.2rem; }
.menu-items li { padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.menu-items li:last-child { border-bottom: 0; }
.mi-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.mi-name { font-weight: 650; }
.mi-num { display: inline-block; min-width: 2.1rem; color: var(--brand-dark); font-weight: 800; margin-right: .35rem; }
.mi-price { font-weight: 750; white-space: nowrap; text-align: right; }
.mi-desc { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.menu-order { display: block; padding: .8rem 1.2rem 1rem; font-weight: 700; color: var(--brand-dark); }
.menu-cta { text-align: center; margin-top: 1.5rem; }
.menu-cta .btn { text-decoration: none; display: inline-flex; }
@media (max-width: 520px) { .mi-head { flex-direction: column; gap: .1rem; } .mi-price { text-align: left; color: var(--brand-dark); } }

/* Lieferung & Abholung */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow); }
.info-card h3 { margin: .4rem 0 .4rem; font-size: 1.2rem; }
.info-card p { margin: 0; line-height: 1.55; color: var(--ink); }
.info-icon { font-size: 2rem; }

/* Öffnungszeiten & Kontakt */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.site-hours { border-collapse: collapse; width: 100%; max-width: 420px; margin-top: 1rem; font-size: 1.05rem; }
.site-hours th, .site-hours td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.site-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.site-hours tr.today th, .site-hours tr.today td { font-weight: 800; color: var(--brand-dark); }
.contact { font-style: normal; line-height: 1.6; margin: 1rem 0 .5rem; font-size: 1.1rem; }
.contact-links { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .3rem; }
.contact-links a { font-weight: 650; font-size: 1.05rem; color: var(--brand-dark); display: inline-flex; gap: .4rem; padding: .35rem 0; }
.map-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.map-links .btn { text-decoration: none; display: inline-flex; align-items: center; }

/* Abschluss-Aufruf */
.site-cta { text-align: center; padding: 3.5rem 0; color: #fff; background: linear-gradient(160deg, #c8102e, #8f0a20); }
:root[data-theme="dark"] .site-cta { background: linear-gradient(160deg, #3a0c14, #14070a); }
.site-cta p { font-size: 1.15rem; margin: .2rem 0 1.4rem; color: #ffe9ec; }

/* Fußbereich */
.site-foot { padding-bottom: 6rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: flex-start; justify-content: space-between; }
.foot-inner img { width: 56px; height: auto; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: .4rem 1.5rem; }
.foot-tools { align-self: center; }

/* Schwebender Bestell-Knopf (erscheint nach dem Hero) */
.float-order { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 750; padding: .9rem 1.25rem; border-radius: 99px; box-shadow: 0 8px 24px rgba(0,0,0,.28); transform: translateY(150%); transition: transform .25s; }
.float-order.show { transform: none; }
.float-order:hover { filter: brightness(.92); }
@media (prefers-reduced-motion: reduce) { .float-order, .today-card { transition: none; } }
