/* =========================================================
   Heng Long – Asia Supermarkt Köln
   ========================================================= */

:root {
  --bg: #faf7f2;
  --bg-tint: #f3ede3;
  --surface: #ffffff;
  --surface-2: #f7f3ec;
  --ink: #1d1a17;
  --ink-2: #57514a;
  --muted: #8a8279;
  --line: #e6dfd4;
  --red: #c4000f;
  --red-ink: #ffffff;
  --red-soft: #fbe9e7;
  --jade: #0f766e;
  --jade-soft: #e0f2ef;
  --gold: #c9952b;
  --shadow: 0 1px 2px rgba(29, 26, 23, .05), 0 8px 24px rgba(29, 26, 23, .06);
  --shadow-lg: 0 20px 50px rgba(29, 26, 23, .12);
  --radius: 18px;
  --radius-sm: 10px;
  --map-floor: #fffdf9;
  --map-wall: #2b2724;
  --map-label: #1d1a17;
  --map-shelf: #ebe7e1;
  --map-shelf-line: #cdc6bb;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cjk: "Noto Serif SC", "Songti SC", serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700;
  color: var(--red); margin-bottom: .75rem;
}
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1px solid transparent; border-radius: 999px; padding: .8em 1.4em;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: var(--red-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--red) 30%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--red) 88%, black); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { padding: .5em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--jade) 60%, transparent); outline-offset: 2px; }

/* ---------- Header ----------
   Logo zentriert oben, Menü darunter. Beim Scrollen
   verschwindet die Logo-Zeile, das Menü bleibt oben kleben. */
.site-header {
  position: sticky; top: -108px; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand-row { position: relative; display: flex; align-items: center; justify-content: center; height: 108px; }
.logo { display: block; text-decoration: none; }
.logo img { display: block; height: 78px; width: auto; }
.brand-row .status-pill { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.nav-row { border-top: 1px solid var(--line); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 6px; height: 54px; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2);
  padding: .5em 1em; border-radius: 999px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.status-pill {
  display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
  font-size: .8rem; font-weight: 700; padding: .4em .85em; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-pill.is-open { background: var(--jade-soft); color: var(--jade); }
.status-pill.is-open::before { background: var(--jade); box-shadow: 0 0 0 4px color-mix(in srgb, var(--jade) 25%, transparent); }
.status-pill.is-closed { background: var(--red-soft); color: var(--red); }
.status-pill.is-closed::before { background: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .brand-row .status-pill { display: none; }
}
@media (max-width: 900px) {
  .site-header { top: 0; }
  .brand-row { height: 80px; }
  html { scroll-padding-top: 88px; }
  .logo img { height: 52px; }
  .nav-toggle {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface);
    border-radius: 12px; padding: 0 11px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-row { border-top: 0; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; width: auto; height: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none; text-align: center;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .9em .5em; border-radius: 10px; }
}
@media (max-width: 420px) {
  .logo img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 40px;
  background:
    radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--red) 16%, transparent), transparent 70%),
    radial-gradient(700px 400px at -10% 110%, color-mix(in srgb, var(--jade) 14%, transparent), transparent 70%);
}
.hero::after {
  content: "興隆超級市場"; position: absolute; right: -2vw; bottom: -4vw;
  font-family: var(--font-cjk); font-weight: 700; font-size: clamp(6rem, 18vw, 16rem);
  color: var(--ink); opacity: .035; pointer-events: none; line-height: 1; white-space: nowrap;
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 span { color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg); padding: 10px;
}
.hero-card-row { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; }
.hero-card-row + .hero-card-row { border-top: 1px solid var(--line); border-radius: 0; }
.hero-card-row small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero-card-row strong { display: block; }
.hero-card-row span:not(.hc-icon) { color: var(--ink-2); font-size: .92rem; }
.hc-link { display: inline-block; margin-top: 2px; font-size: .92rem; font-weight: 600; color: var(--red); }
.hc-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--surface-2); font-size: 1.3rem; }
.hero-photo { position: relative; z-index: 1; margin-top: 48px; margin-bottom: 0; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%;
  border-radius: 24px; box-shadow: var(--shadow-lg); background: var(--surface-2);
}
.hero-photo figcaption {
  position: absolute; left: 36px; bottom: 16px; font-size: .88rem; font-weight: 700;
  padding: .5em 1em; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink);
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
@media (max-width: 600px) {
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 18px; }
  .hero-photo figcaption { left: 28px; bottom: 12px; font-size: .78rem; }
}
.hero-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.hero-flags span {
  font-size: .85rem; font-weight: 600; padding: .45em .9em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head p:last-child { color: var(--ink-2); }
.section-head .lead { margin-inline: auto; }

/* ---------- Kategorien ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.category {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.category::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c);
}
.category:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.category .cat-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
  background: color-mix(in srgb, var(--c) 14%, transparent);
}
.category h3 { margin: 6px 0 0; }
.category p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.category .cat-link { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 700; color: var(--c); }

/* ---------- Einkaufsberater ---------- */
.advisor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.advisor-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow); min-width: 0;
}
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--surface-2); border-radius: 999px; margin-bottom: 24px; overflow-x: auto; }
.tab {
  flex: 1; white-space: nowrap; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .9rem;
  padding: .7em 1em; border-radius: 999px; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s;
}
.tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-row button {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: .4em .95em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.filter-row button.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.dish {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px; transition: transform .2s, border-color .2s, background .2s;
}
.dish:hover { transform: translateY(-2px); border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
.dish-emoji { font-size: 2rem; line-height: 1; }
.dish h4 { margin: 4px 0 0; font-size: 1.05rem; }
.dish p { margin: 0; font-size: .85rem; color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge {
  font-size: .72rem; font-weight: 700; padding: .25em .65em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap;
}
.badge.green { background: var(--jade-soft); border-color: transparent; color: var(--jade); }
.badge.red { background: var(--red-soft); border-color: transparent; color: var(--red); }

/* Detail */
.dish-detail { animation: fade .3s ease; }
.back-link { font: inherit; font-weight: 700; font-size: .9rem; border: 0; background: none; color: var(--red); cursor: pointer; padding: 0; margin-bottom: 16px; }
.detail-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.detail-head .dish-emoji { font-size: 3rem; width: 80px; height: 80px; display: grid; place-items: center; background: var(--surface-2); border-radius: 20px; flex: none; }
.detail-head h3 { font-size: 1.6rem; margin: 0 0 4px; }
.detail-head p { margin: 0; color: var(--ink-2); }
.tip { background: var(--jade-soft); color: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: .92rem; margin: 18px 0; }
.tip strong { color: var(--jade); }
.ingredients { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ingredients li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.ingredients li + li { border-top: 1px solid var(--line); }
.ingredients label { display: flex; align-items: center; gap: 12px; flex: 1; cursor: pointer; min-width: 0; }
.ingredients input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.zone-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700;
  padding: .25em .6em; border-radius: 8px; white-space: nowrap; cursor: pointer; border: 0; font-family: inherit;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: color-mix(in srgb, var(--c) 75%, var(--ink));
}
.extra { font-size: .88rem; color: var(--ink-2); margin-top: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Ratgeber */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 16px; padding: 18px;
  display: flex; gap: 14px; align-items: flex-start; transition: transform .2s, border-color .2s, background .2s;
}
.guide-card:hover { transform: translateY(-2px); border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
.guide-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guide-card h4 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.guide-card p { margin: 0; font-size: .85rem; color: var(--ink-2); }
.guide-topic { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--jade); }
.guide-more { font-size: .82rem; font-weight: 700; color: var(--red); margin-top: 4px; }

.dish-detail { scroll-margin-top: 100px; }
.guide h4 { margin: 28px 0 12px; font-size: 1.1rem; }
.guide-intro { color: var(--ink-2); line-height: 1.65; }
.verdict { border-left: 4px solid var(--red); background: var(--red-soft); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 4px 0 16px; }
.verdict strong { color: var(--red); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.verdict p { margin: 4px 0 0; font-weight: 600; line-height: 1.55; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.option { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.option-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.option h5 { margin: 0; font-size: 1rem; }
.option p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.option .pick { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; color: var(--ink); }
.option .pick strong { display: block; font-size: .78rem; color: var(--jade); }
.option-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 420px; }
.compare th, .compare td { padding: 10px 14px; text-align: left; vertical-align: top; }
.compare thead th { background: var(--surface-2); font-size: .8rem; }
.compare tbody th { font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.compare tbody tr + tr > * { border-top: 1px solid var(--line); }
.tip ul { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.guide-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0; font-size: .9rem; }
.guide-links button, .guide-hit button {
  font: inherit; font-weight: 600; cursor: pointer; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .4em .9em;
}
.guide-links button:hover { border-color: var(--jade); color: var(--jade); }
.product-results .guide-hit { padding: 0; background: var(--jade-soft); }
.guide-hit button { flex: 1; display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: none; border-radius: 12px; padding: 10px 14px; }
.guide-hit small { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--jade); }

/* Quiz */
.quiz fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.quiz legend { font-weight: 700; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; cursor: pointer; background: var(--surface); transition: all .15s;
}
.chips input:checked + span { background: var(--red); color: var(--red-ink); border-color: var(--red); }
.chips input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--jade) 60%, transparent); outline-offset: 2px; }
.quiz-results { margin-top: 28px; }
.quiz-results h4 { margin: 0 0 12px; }
.match { display: flex; gap: 14px; align-items: center; }
.match .why { font-size: .8rem; color: var(--jade); font-weight: 600; }

/* Suche */
.search-field input {
  width: 100%; font: inherit; font-size: 1rem; padding: .9em 1.1em .9em 2.8em;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface) no-repeat 1em center / 1.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8279' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  color: var(--ink);
}
.search-field input:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 4px color-mix(in srgb, var(--jade) 18%, transparent); }
.product-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.product-results:empty { display: none; }
.product-results li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px;
  border-radius: 12px; background: var(--surface-2);
}
.product-results .p-name { flex: 1; font-weight: 600; min-width: 0; }
.product-results .no-hit { background: none; color: var(--muted); }
.icon-btn {
  flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 1.1rem; font-weight: 700; cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn.added { background: var(--jade); color: #fff; border-color: var(--jade); }
.product-results.compact li { padding: 8px 10px 8px 12px; font-size: .9rem; }

/* Einkaufsliste */
.cart {
  position: sticky; top: 90px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  box-shadow: var(--shadow);
}
.cart-head h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.cart-count { margin-left: auto; font-size: .8rem; background: var(--red); color: var(--red-ink); border-radius: 999px; padding: .1em .65em; }
.cart-list { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; }
.cart-group { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 0 4px; display: flex; gap: 6px; align-items: center; }
.cart-group .num { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-size: .68rem; letter-spacing: 0; }
.cart-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .92rem; }
.cart-item label { flex: 1; display: flex; gap: 10px; align-items: center; cursor: pointer; }
.cart-item input { accent-color: var(--jade); width: 17px; height: 17px; }
.cart-item.done label span { text-decoration: line-through; color: var(--muted); }
.cart-item button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; padding: 2px 6px; border-radius: 6px; }
.cart-item button:hover { color: var(--red); background: var(--red-soft); }
.cart-empty { color: var(--muted); font-size: .9rem; margin: 0; }
.cart-actions { margin-top: 16px; display: grid; gap: 10px; }
.cart-actions-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cart-actions-row .btn { padding-inline: .4em; }

@media (max-width: 960px) {
  .advisor { grid-template-columns: 1fr; }
  .cart { position: static; }
}
@media (max-width: 520px) {
  .advisor-main { padding: 16px; border-radius: 18px; }
  .tab { font-size: .82rem; padding: .7em .8em; }
  .tab { flex: none; }
}

/* ---------- Lageplan ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 600px) minmax(280px, 1fr); gap: 24px; align-items: start; }
.map-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.store-map { display: block; width: 100%; height: auto; }
.store-map .floor { fill: var(--map-floor); stroke: var(--map-wall); stroke-width: 4; }
.store-map .door { stroke: var(--map-floor); stroke-width: 8; }
.store-map .wall { stroke: var(--map-wall); stroke-width: 2; }
.store-map .door-label { fill: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-anchor: middle; dominant-baseline: middle; }
.store-map .shelf { fill: var(--map-shelf); stroke: var(--map-shelf-line); stroke-width: 1; }
.store-map .shelf-mid { stroke: var(--map-shelf-line); stroke-width: 1; }
.store-map .display { fill: url(#hatch); stroke: var(--map-shelf-line); stroke-width: 1; }
.store-map .hatch-line { stroke: var(--map-shelf-line); stroke-width: 1; }
.store-map .zone { cursor: pointer; outline: none; }
.store-map .zone rect {
  fill: color-mix(in srgb, var(--c) 9%, var(--map-floor));
  stroke: color-mix(in srgb, var(--c) 30%, transparent); stroke-width: 1;
  transition: fill .25s, stroke-width .25s, opacity .25s;
}
.store-map .zone.unit rect { fill: color-mix(in srgb, var(--c) 18%, var(--map-floor)); stroke: color-mix(in srgb, var(--c) 55%, transparent); stroke-width: 1.5; }
.store-map .zone text { fill: var(--map-label); font-weight: 700; font-size: 12.5px; pointer-events: none; text-anchor: middle; dominant-baseline: central; }
.store-map .zone .z-short { display: none; font-size: 20px; font-weight: 800; }
.store-map .zone:hover rect, .store-map .zone:focus-visible rect { fill: color-mix(in srgb, var(--c) 28%, var(--map-floor)); }
.store-map.has-active .zone:not(.is-active) { opacity: .4; }
.store-map .zone.is-active rect { fill: var(--c); stroke: var(--c); stroke-width: 2; }
.store-map .zone.is-active text { fill: #fff; }
.store-map .zone.parts.is-active text { fill: var(--c); }
.store-map .zone.parts .z-label { font-size: 10.5px; }
.store-map .zone.pulse rect { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { stroke-width: 7; } }
.store-map .route { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; animation: march 1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -12; } }
.store-map .stop circle { fill: var(--red); stroke: var(--map-floor); stroke-width: 3; }
.store-map .stop text { fill: #fff; font-size: 11px; font-weight: 800; }
.store-map .you circle:first-child { fill: color-mix(in srgb, var(--jade) 25%, transparent); animation: ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.store-map .you circle:last-child { fill: var(--jade); stroke: var(--map-floor); stroke-width: 3; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px 6px 2px; font-size: .85rem; color: var(--ink-2); }
.map-legend .btn { margin-left: auto; }
.lg { display: inline-block; vertical-align: middle; margin-right: 4px; }
.lg-route { width: 22px; border-top: 3px dotted var(--red); }
.lg-you { width: 12px; height: 12px; border-radius: 50%; background: var(--jade); }

.map-side { display: grid; gap: 16px; }
.zone-info {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.zone-info h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.zone-info p { font-size: .92rem; color: var(--ink-2); margin-bottom: 10px; }
.zone-info .muted { margin: 0; }
.zone-block { padding: 10px 0; border-top: 1px solid var(--line); }
.zone-block p { margin: 6px 0 0; font-size: .88rem; }
.zone-products { display: flex; flex-wrap: wrap; gap: 6px; }
.zone-products span { font-size: .78rem; padding: .25em .65em; border-radius: 8px; background: var(--surface-2); }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.zone-list button {
  width: 100%; text-align: left; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
  display: flex; gap: 6px; align-items: center; padding: .55em .7em; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.zone-list button:hover, .zone-list button.is-active { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); }

@media (max-width: 960px) {
  .map-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .map-wrap { padding: 8px; border-radius: 16px; }
  .store-map .zone .z-label { display: none; }
  .store-map .zone .z-short { display: inline; }
}

/* ---------- Anfahrt ---------- */
.section-head p.route-address {
  display: inline-flex; align-items: center; gap: .4em; margin: 4px 0 0;
  padding: .5em 1.1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 1.25rem; color: var(--ink); box-shadow: var(--shadow);
}
@media (max-width: 520px) { .section-head p.route-address { font-size: 1.05rem; text-align: left; } }
.route-address strong { white-space: nowrap; }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route-card { display: flex; flex-direction: column; align-items: flex-start; }
.route-card .icon-list { flex: 1; align-content: start; }
.route-maps { margin: 28px 0 0; text-align: center; }
@media (max-width: 900px) { .route-grid { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about-stats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.about-stats strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--red); }
.about-stats span { color: var(--ink-2); font-size: .9rem; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-card h3 { margin-top: 0; }
.about-card p { color: var(--ink-2); line-height: 1.7; margin-bottom: 0; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-stats li { padding: 16px 10px; }
  .about-stats strong { font-size: 1.3rem; white-space: nowrap; }
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Infos ---------- */
.info-grid { display: grid; gap: 20px; max-width: 560px; margin: 0 auto; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 800; color: var(--red); }
.icon-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.icon-list li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.faq { margin: 48px auto 0; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-card > span { font-size: 1.5rem; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .88rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-logo { display: block; height: 32px; width: auto; }
.footer-inner nav { display: flex; gap: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--ink); color: var(--bg); padding: .8em 1.3em; border-radius: 999px;
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); transition: transform .3s ease, visibility .3s; z-index: 100;
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Druck: nur Einkaufsliste ---------- */
@media print {
  body * { visibility: hidden; }
  .cart, .cart * { visibility: visible; }
  .cart { position: absolute; inset: 0; box-shadow: none; border: 0; }
  .cart-actions, .cart-item button { display: none !important; }
  .cart-list { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Routenschritte im Lageplan */
.route-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; font-size: .92rem; }
.route-steps li::marker { color: var(--red); font-weight: 800; }
