/* ==========================================================================
   Pasam – Redesign "Nahaufnahme"
   Schriften: Bricolage Grotesque (OFL), Inter (OFL) – lokal ausgeliefert
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #14110f;
  --ink-2: #1e1a17;
  --ink-3: #2a2521;
  --cream: #f4eee4;
  --paper: #fbf8f2;
  --paper-2: #f1ebe0;
  --lime: #a6ce39;
  --lime-2: #bfe35a;
  --lime-ink: #182300;
  --ember: #ff6a2b;
  --on-dark: #f4eee4;
  --on-dark-2: rgba(244, 238, 228, .66);
  --on-light: #1b1714;
  --on-light-2: #6b6158;
  --line-dark: rgba(244, 238, 228, .12);
  --line-light: rgba(27, 23, 20, .12);
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: min(1280px, 100% - 2 * var(--gutter));
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font-display: "Bricolage", "Inter", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Basis ---------- */
.nd *, .nd *::before, .nd *::after { box-sizing: border-box; }
html.nd-root { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
html.nd-root.lenis, html.nd-root.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body.nd {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  user-select: auto;
}
.nd img { max-width: 100%; height: auto; display: block; }
.nd a { color: inherit; }
.nd svg { flex: none; }
.nd-wrap { width: var(--wrap); margin-inline: auto; }
.nd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nd-muted { color: var(--on-dark-2); }
.nd-skip {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.nd-skip:focus { top: 16px; }
.nd :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.nd-eyebrow {
  font: 600 13px/1.2 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 18px;
}
.nd-display, .nd-h2, .nd-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .95;
  margin: 0;
  text-wrap: balance;
}
.nd-display { font-size: clamp(3rem, 8.4vw, 8.6rem); }
.nd-h2 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); line-height: 1; }

/* Wort-Animation (nur dekorative Kopie, Original bleibt fuer Screenreader) */
.nd-split__word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.nd-split__inner { display: inline-block; will-change: transform; }

/* ---------- Buttons & Links ---------- */
.nd-btn {
  --bg: var(--ink-3); --fg: var(--on-dark);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; min-height: 48px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--font-ui); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.nd-btn svg { font-size: 1.25em; transition: transform .35s var(--ease); }
.nd-btn:hover svg { transform: translateX(4px); }
.nd-btn:active { transform: scale(.97); }
.nd-btn--lg { padding: 18px 28px; min-height: 58px; font-size: 17px; }
.nd-btn--primary { --bg: var(--lime); --fg: var(--lime-ink); }
.nd-btn--primary:hover { --bg: var(--lime-2); }
.nd-btn--ghost { --bg: rgba(20, 17, 15, .35); --fg: var(--on-dark); border-color: rgba(244, 238, 228, .35); backdrop-filter: blur(6px); }
.nd-btn--ghost:hover { border-color: var(--on-dark); }
.nd-btn--light { --bg: var(--cream); --fg: var(--on-light); }
.nd-btn--light:hover { --bg: #fff; }
.nd-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.nd-link svg { transition: transform .3s var(--ease); }
.nd-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.nd-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(20, 17, 15, .9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: transform .45s var(--ease), background-color .3s;
}
.nd-header.is-hidden { transform: translateY(-100%); }
.nd-header__inner { width: var(--wrap); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 28px; }
.nd-logo img { width: 112px; height: auto; }
.nd-nav { display: flex; gap: 6px; margin-left: auto; }
.nd-nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 15px; text-decoration: none; color: var(--on-dark-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, background-color .2s;
}
.nd-nav a:hover, .nd-nav a[aria-current="page"] { color: var(--on-dark); background: rgba(244, 238, 228, .07); }
.nd-header__actions { display: flex; align-items: center; gap: 12px; }
.nd-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark); color: var(--on-dark-2); white-space: nowrap;
}
.nd-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #8a8178; }
.nd-status.is-open { color: var(--on-dark); }
.nd-status.is-open .nd-status__dot { background: var(--lime); box-shadow: 0 0 0 0 rgba(166, 206, 57, .6); animation: nd-pulse 2.2s infinite; }
@keyframes nd-pulse { 70% { box-shadow: 0 0 0 9px rgba(166, 206, 57, 0); } 100% { box-shadow: 0 0 0 0 rgba(166, 206, 57, 0); } }
.nd-cart {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink); font-size: 22px; text-decoration: none;
  transition: transform .3s var(--ease);
}
.nd-cart:hover { transform: scale(1.06); }
.nd-cart__count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--cream); color: var(--on-light); font: 700 12px/1 var(--font-ui);
  border: 2px solid var(--ink);
}
.nd-cart__count[data-count="0"] { display: none; }
.nd-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font-size: 24px; cursor: pointer; place-items: center; }
.nd-burger__close { display: none; }
.nd-burger[aria-expanded="true"] .nd-burger__open { display: none; }
.nd-burger[aria-expanded="true"] .nd-burger__close { display: inline; }

.nd-closed-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px var(--gutter); text-align: center;
  background: var(--ink-2); color: var(--on-dark-2); font-size: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.nd-closed-bar svg { color: var(--ember); font-size: 18px; }
.nd-closed-bar a { color: var(--on-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.nd-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: grid; grid-template-rows: 1fr auto;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(166, 206, 57, .10), transparent 70%),
    var(--ink);
}
.nd-hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(32px, 5vw, 88px); padding-block: clamp(24px, 4vh, 56px) 24px;
}
.nd-hero__content { order: 1; }
.nd-hero__media {
  order: 2; position: relative; margin: 0;
  aspect-ratio: 5 / 6; max-height: calc(100svh - var(--header-h) - 96px); justify-self: end; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8);
}
.nd-hero__media img { position: relative; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 60%; }
.nd-hero__tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: rgba(20, 17, 15, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; color: var(--on-dark);
}
.nd-hero__tag svg { color: var(--ember); font-size: 18px; }
.nd-hero__title { font-size: clamp(3.2rem, 7.4vw, 8rem); max-width: 10ch; }
.nd-hero__lead { max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--on-dark-2); margin: 28px 0 36px; }
.nd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nd-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 auto clamp(24px, 4vh, 48px); padding: 0;
  border-top: 1px solid var(--line-dark);
}
.nd-facts div { padding: 22px 20px 0 0; }
.nd-facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-2); }
.nd-facts dt svg { color: var(--lime); font-size: 18px; }
.nd-facts dd { margin: 6px 0 0; font: 600 clamp(16px, 1.5vw, 20px)/1.2 var(--font-display); letter-spacing: -.01em; }

/* ---------- Sektionen ---------- */
.nd-section { padding-block: clamp(80px, 12vw, 168px); }
.nd-section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.nd-section__head .nd-h2 { max-width: 14ch; }

/* Kategorien-Schiene */
.nd-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 300px);
  gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px max(var(--gutter), calc((100% - 1280px) / 2)) 24px; scroll-padding-inline: max(var(--gutter), calc((100% - 1280px) / 2)); scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
  cursor: grab;
}
.nd-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.nd-rail.is-dragging a { pointer-events: none; }
.nd-cat {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: end; padding: 22px;
  text-decoration: none; scroll-snap-align: start;
  background: var(--ink-2); border: 1px solid var(--line-dark);
}
.nd-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .8s var(--ease); }
.nd-cat.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 15, .88), rgba(20, 17, 15, 0) 55%); z-index: 1; }
.nd-cat:hover img { transform: scale(1.06); }
.nd-cat__name, .nd-cat__n { position: relative; z-index: 2; }
.nd-cat__name { font: 700 clamp(24px, 2.2vw, 32px)/1 var(--font-display); letter-spacing: -.02em; }
.nd-cat__n { font-size: 14px; color: var(--on-dark-2); margin-top: 6px; }
.nd-cat.no-img { background: var(--ink-2); }
.nd-cat.no-img .nd-cat__name { font-size: clamp(28px, 2.6vw, 38px); }
.nd-cat.no-img::before {
  content: ""; position: absolute; inset: 22px 22px auto auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: radial-gradient(circle, var(--lime) 0 4px, transparent 5px);
}

/* Kueche */
.nd-kitchen { background: var(--paper); color: var(--on-light); }
.nd-kitchen .nd-eyebrow { color: #5f7f12; }
.nd-kitchen__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 28px); align-items: start;
}
.nd-kitchen__copy { grid-column: 1 / span 5; grid-row: 1 / span 2; align-self: center; }
.nd-kitchen__copy p { font-size: 18px; color: var(--on-light-2); max-width: 44ch; margin: 28px 0 32px; }
.nd-kitchen__img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.nd-kitchen__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nd-kitchen__img--a { grid-column: 7 / span 4; grid-row: 1 / span 2; }
.nd-kitchen__img--b { grid-column: 11 / span 2; grid-row: 1; align-self: end; }
.nd-kitchen__img--c { grid-column: 11 / span 2; grid-row: 2; align-self: start; }

/* Beliebte Gerichte */
.nd-pop { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.nd-pop li { border-bottom: 1px solid var(--line-dark); }
.nd-pop__item {
  display: grid; grid-template-columns: 56px 88px 1fr auto 48px; align-items: center; gap: 24px;
  padding: 20px 8px; text-decoration: none;
  transition: background-color .3s, padding .4s var(--ease);
}
.nd-pop__item:hover { background: var(--ink-2); padding-inline: 20px; }
.nd-pop__rank { font: 600 14px/1 var(--font-ui); color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.nd-pop__img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; }
.nd-pop__img--empty { display: grid; place-items: center; background: var(--ink-2); color: var(--lime); font-size: 32px; }
.nd-pop__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nd-pop__name { font: 600 clamp(20px, 2.2vw, 30px)/1.1 var(--font-display); letter-spacing: -.02em; }
.nd-pop__cat { font-size: 14px; color: var(--on-dark-2); }
.nd-pop__price { font: 600 20px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.nd-pop__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--lime); font-size: 30px; transition: transform .35s var(--ease); }
.nd-pop__item:hover .nd-pop__go { transform: rotate(90deg); }

/* Schritte */
.nd-steps { background: var(--ink-2); }
.nd-steps__list { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nd-steps__list li { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: var(--ink); }
.nd-steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font: 700 20px/1 var(--font-display); margin-bottom: 48px; }
.nd-steps__list h3 { font: 700 28px/1.1 var(--font-display); letter-spacing: -.02em; margin: 0 0 10px; }
.nd-steps__list p { margin: 0; color: var(--on-dark-2); }

/* Liefergebiet */
.nd-areas { background: var(--paper); color: var(--on-light); }
.nd-areas .nd-eyebrow { color: #5f7f12; }
.nd-areas .nd-muted { color: var(--on-light-2); margin-top: 24px; max-width: 40ch; }
.nd-areas__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.nd-areas__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.nd-areas__list li {
  break-inside: avoid; display: flex; justify-content: space-between; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 17px;
}
.nd-areas__list li span:first-child { font-weight: 600; }
.nd-areas__list li span:last-child { color: var(--on-light-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Bewertungen */
.nd-rating { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--on-dark-2); }
.nd-rating__stars, .nd-review__stars { display: inline-flex; gap: 2px; color: var(--lime); font-size: 18px; }
.nd-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nd-review { margin: 0; padding: 32px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 20px; }
.nd-review blockquote { margin: 0; font: 500 clamp(20px, 1.8vw, 26px)/1.3 var(--font-display); letter-spacing: -.01em; }
.nd-review blockquote p { margin: 0; }
.nd-review figcaption { margin-top: auto; color: var(--on-dark-2); font-size: 14px; }

/* Abschluss */
.nd-final { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 16vw, 220px); background: var(--ink); }
.nd-final__media { position: absolute; inset: 0 0 0 auto; width: min(46%, 640px); z-index: -1; }
.nd-final__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.nd-final__content .nd-display { max-width: 10ch; }
.nd-final__content p { color: var(--on-dark-2); font-size: 19px; margin: 28px 0 36px; }

/* ---------- Footer ---------- */
.nd-footer { background: var(--lime); color: var(--lime-ink); padding-block: clamp(64px, 9vw, 120px) 32px; }
.nd-footer a { color: inherit; }
.nd-footer__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 7vw, 96px); border-bottom: 1px solid rgba(24, 35, 0, .2); }
.nd-footer__claim { margin: 0; max-width: 14ch; font: 700 clamp(2.4rem, 5.6vw, 5.6rem)/.95 var(--font-display); letter-spacing: -.035em; }
.nd-footer .nd-btn--light { --bg: var(--lime-ink); --fg: var(--lime); }
.nd-footer .nd-btn--light:hover { --bg: #000; }
.nd-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 48px; }
.nd-footer__h { font: 600 13px/1.2 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; opacity: .7; }
.nd-footer address, .nd-footer p { font-style: normal; margin: 0 0 8px; }
.nd-footer p a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.nd-footer p a:hover, .nd-footer__links a:hover { text-decoration: underline; }
.nd-footer .nd-muted { color: rgba(24, 35, 0, .7); font-size: 14px; }
.nd-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nd-footer__links a { text-decoration: none; }
.nd-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(24, 35, 0, .2); font-size: 14px; }
.nd-page-home .nd-footer__top { display: none; }

.nd-floating-cart {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px 14px 20px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35); transition: transform .3s var(--ease);
}
.nd-floating-cart:hover { transform: translateY(-2px); }
.nd-floating-cart svg { font-size: 20px; }
.nd-floating-cart__n { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: var(--lime-ink); color: var(--lime); font-size: 13px; }

/* ---------- Speisekarte ---------- */
body.nd.nd-page-products { background: var(--paper); color: var(--on-light); }
.nd-page-products .nd-muted { color: var(--on-light-2); }
.nd-menu-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(64px, 10vw, 140px) clamp(40px, 6vw, 72px); }
.nd-menu-hero .nd-display { max-width: 12ch; }
.nd-search {
  position: relative; margin-top: clamp(32px, 5vw, 56px); max-width: 620px;
  display: flex; align-items: center;
}
.nd-search svg { position: absolute; left: 20px; font-size: 22px; color: var(--on-dark-2); pointer-events: none; }
.nd-search input {
  width: 100%; height: 60px; padding: 0 22px 0 56px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: var(--ink-2); color: var(--on-dark);
  font: 500 17px var(--font-ui);
}
.nd-search input::placeholder { color: rgba(244, 238, 228, .45); }
.nd-search input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(166, 206, 57, .2); }

.nd-catnav {
  position: sticky; top: var(--header-h); z-index: 80;
  background: rgba(251, 248, 242, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  transition: top .45s var(--ease);
}
.nd-header.is-hidden ~ .nd-catnav, body.nd-header-hidden .nd-catnav { top: 0; }
.nd-catnav__inner { width: var(--wrap); margin-inline: auto; display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.nd-catnav__inner::-webkit-scrollbar { display: none; }
.nd-catnav a {
  flex: none; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--on-light-2); border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.nd-catnav a:hover { color: var(--on-light); border-color: var(--line-light); }
.nd-catnav a.is-active { background: var(--on-light); color: var(--paper); }

.nd-menu { padding-block: clamp(32px, 5vw, 64px) clamp(80px, 10vw, 140px); }
.nd-menu__cat { padding-top: clamp(40px, 6vw, 80px); }
.nd-menu__cat[hidden] { display: none; }
.nd-menu__cathead { display: flex; align-items: end; gap: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--on-light); }
.nd-menu__cathead img { width: clamp(88px, 12vw, 140px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.nd-menu__cathead .nd-h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.nd-menu__cathead p { margin: 8px 0 0; }
.nd-dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); }
.nd-dish { border-bottom: 1px solid var(--line-light); }
.nd-dish[hidden] { display: none; }
.nd-dish__link {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 16px;
  padding: 22px 4px; text-decoration: none; color: inherit;
  transition: background-color .25s, padding .35s var(--ease);
  border-radius: 12px;
}
.nd-dish__link:hover { background: var(--paper-2); padding-inline: 14px; }
.nd-dish__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nd-dish__name { font: 600 19px/1.25 var(--font-display); letter-spacing: -.01em; }
.nd-dish__text { color: var(--on-light-2); font-size: 15px; }
.nd-dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.nd-dish__codes { font-size: 12px; color: #8a8076; }
.nd-tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(166, 206, 57, .22); color: #3e5400; }
.nd-dish__img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.nd-dish__price { font: 600 18px/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nd-dish__add { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #4f6b0a; font-size: 30px; transition: transform .35s var(--ease), color .2s; }
.nd-dish__link:hover .nd-dish__add { transform: rotate(90deg); color: var(--on-light); }
.nd-menu__empty { padding: 48px 0; font-size: 18px; }
.nd-menu__note { margin-top: 64px; font-size: 14px; max-width: 70ch; }
.nd-page-products .nd-footer__top { display: flex; }

/* ---------- Bestehende Seiten (Produkt, Warenkorb, Kasse, Konto) ---------- */
body.nd-legacy { background: var(--paper); color: var(--on-light); }
body.nd-legacy .nd-main { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 120px); min-height: 50vh; }
body.nd-legacy .nd-main > *:not(script):not(style) { max-width: var(--wrap); margin-inline: auto; }
body.nd-legacy .nd-main h1, body.nd-legacy .nd-main h2 { font-family: var(--font-display); letter-spacing: -.02em; color: var(--on-light); }
body.nd-legacy .nd-main, body.nd-legacy .nd-main p, body.nd-legacy .nd-main label, body.nd-legacy .nd-main td, body.nd-legacy .nd-main th { font-family: var(--font-ui); color: var(--on-light); }
body.nd-legacy .nd-main input[type="text"], body.nd-legacy .nd-main input[type="email"], body.nd-legacy .nd-main input[type="tel"],
body.nd-legacy .nd-main input[type="password"], body.nd-legacy .nd-main input[type="number"], body.nd-legacy .nd-main select, body.nd-legacy .nd-main textarea {
  font: 500 16px var(--font-ui); color: var(--on-light); background: #fff;
  border: 1px solid var(--line-light); border-radius: 12px; min-height: 48px; padding: 10px 14px;
}
body.nd-legacy .nd-main input:focus, body.nd-legacy .nd-main select:focus, body.nd-legacy .nd-main textarea:focus { outline: none; border-color: #5f7f12; box-shadow: 0 0 0 4px rgba(166, 206, 57, .25); }
body.nd-legacy .nd-main input[type="submit"], body.nd-legacy .nd-main button:not(.nd-burger):not(.nd-btn), body.nd-legacy .nd-main .btn {
  font: 600 16px/1 var(--font-ui); border-radius: 999px; min-height: 48px; padding: 14px 22px;
  background: var(--lime); color: var(--lime-ink); border: 0; cursor: pointer; box-shadow: none;
  transition: background-color .2s, transform .2s;
}
body.nd-legacy .nd-main input[type="submit"]:hover, body.nd-legacy .nd-main button:not(.nd-burger):not(.nd-btn):hover, body.nd-legacy .nd-main .btn:hover { background: var(--lime-2); }
body.nd-legacy .nd-main input[type="submit"]:disabled, body.nd-legacy .nd-main button:disabled { opacity: .5; cursor: not-allowed; }
body.nd-legacy .nd-main a:not(.btn):not(.nd-btn) { color: #3e5400; }
body.nd-legacy .nd-main table { border-collapse: collapse; width: 100%; }
body.nd-legacy .nd-main td, body.nd-legacy .nd-main th { border-bottom: 1px solid var(--line-light); }
/* Geschlossen-Hinweis der Shop-Seiten: blockiert die Bestellung wie bisher, im neuen Stil */
body.nd-legacy #myModal { display: none !important; } /* Hinweis kommt erst beim Bestellen (nd-dialog) */
body.nd-legacy .back-to-top { display: none !important; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .nd-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nd-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
  .nd-nav a { font: 600 26px/1.1 var(--font-display); padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
  .nd-nav a:hover, .nd-nav a[aria-current="page"] { background: none; color: var(--lime); }
  .nd-burger { display: grid; }
  .nd-header__actions { margin-left: auto; }
  .nd-facts { grid-template-columns: repeat(2, 1fr); }
  .nd-hero__grid { grid-template-columns: 1fr; padding-top: 24px; }
  .nd-hero__media { order: 0; aspect-ratio: 4 / 3; max-height: 46svh; justify-self: stretch; }
  .nd-hero__title { max-width: 12ch; }
  .nd-kitchen__copy { grid-column: 1 / -1; grid-row: auto; margin-bottom: 24px; }
  .nd-kitchen__img--a { grid-column: 1 / span 7; grid-row: auto; }
  .nd-kitchen__img--b { grid-column: 8 / span 5; grid-row: auto; margin-top: 30%; }
  .nd-kitchen__img--c { display: none; }
  .nd-areas__grid { grid-template-columns: 1fr; }
  .nd-dishes { grid-template-columns: 1fr; }
  .nd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body.nd { font-size: 16px; }
  .nd-logo img { width: 92px; }
  .nd-status { display: none; }
  .nd-hero { min-height: calc(100svh - var(--header-h)); }
  .nd-hero__cta .nd-btn { flex: 1 1 100%; justify-content: center; }
  .nd-facts div { padding: 16px 12px 0 0; }
  .nd-pop__item { grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; }
  .nd-pop__item:hover { padding-inline: 0; }
  .nd-pop__rank, .nd-pop__go { display: none; }
  .nd-pop__img { width: 64px; height: 64px; }
  .nd-steps__list, .nd-reviews__grid { grid-template-columns: 1fr; }
  .nd-steps__n { margin-bottom: 24px; }
  .nd-areas__list { columns: 1; }
  .nd-final__media { width: 100%; opacity: .5; }
  .nd-final__media img { mask-image: linear-gradient(0deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(0deg, transparent, #000 70%); }
  .nd-dish__link { grid-template-columns: 1fr auto auto; gap: 12px; padding: 18px 0; }
  .nd-dish__link:hover { padding-inline: 0; background: none; }
  .nd-dish__add { display: none; }
  .nd-dish__img { width: 64px; height: 64px; }
  .nd-footer__grid { grid-template-columns: 1fr; }
  .nd-floating-cart span:not(.nd-floating-cart__n) { display: none; }
  .nd-floating-cart span.nd-floating-cart__n { display: grid; }
}

@media (hover: none) {
  .nd-cat:hover img, .nd-btn:hover svg { transform: none; }
}

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

/* Erstes Bild ohne Aufblitzen: Intro-Elemente warten kurz auf die Animation (max. 3 s, ohne JS sofort sichtbar) */
.nd-js:not(.nd-ready) .nd-hero__title,
.nd-js:not(.nd-ready) .nd-menu-hero .nd-display,
.nd-js:not(.nd-ready) [data-nd-intro] { visibility: hidden; }

/* ---------- Alte style.css im neuen Design neutralisieren ---------- */
body.nd::before { content: none !important; display: none !important; }
body.nd { padding-bottom: 0 !important; min-height: 0; }
.nd .nd-header img, .nd .nd-logo img { padding: 0; margin: 0; max-width: none; flex: none; display: block; }
.nd .nd-footer, .nd .nd-footer p, .nd .nd-footer a, .nd .nd-footer address, .nd .nd-footer h2, .nd .nd-footer h3 { color: var(--lime-ink); background-color: transparent; }
.nd .nd-footer { background-color: var(--lime); }
.nd .nd-footer .nd-btn--light { color: var(--lime); }
.nd .nd-footer__h, .nd .nd-footer__claim { font-family: var(--font-display); }
.nd .nd-footer__h { font-family: var(--font-ui); }
.nd h1, .nd h2, .nd h3 { font-family: var(--font-display); }
.nd-own h1, .nd-own h2, .nd-own h3 { color: inherit; }
body.nd-legacy .nd-main .content-wrapper, body.nd-legacy .nd-main .container { width: auto; max-width: var(--wrap); }

/* ---------- Hinweis beim Bestellen, wenn geschlossen ---------- */
.nd-dialog { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px;
  background: rgba(20, 17, 15, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nd-dialog[hidden] { display: none; }
.nd-dialog__card { max-width: 520px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8); outline: none; }
.nd-dialog__dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--ember);
  box-shadow: 0 0 0 6px rgba(255, 106, 43, .18); margin-bottom: 20px; }
.nd .nd-dialog__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; color: var(--on-dark); margin: 0 0 16px; }
.nd-dialog p { color: var(--on-dark-2); font-size: 16px; line-height: 1.55; margin: 0 0 12px; }
.nd-dialog p a { color: var(--lime); }
.nd-dialog__note { font-size: 14px !important; }
.nd-dialog .nd-btn { margin-top: 12px; }
.nd-dialog:not([hidden]) .nd-dialog__card { animation: nd-dialog-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes nd-dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .nd-dialog:not([hidden]) .nd-dialog__card { animation: none; } }
/* ---------- Einheitliche Schrift auf den alten Shop-Seiten (Icon-Schriften ausgenommen) ---------- */
body.nd-legacy .nd-main *:not(i):not([class*="fa-"]):not([class~="bx"]):not([class*=" bx-"]):not([class^="bx-"]) { font-family: var(--font-ui); }
body.nd-legacy .nd-main :is(h1, h2, h3, h4):not(i) { font-family: var(--font-display); }
body.nd-legacy #share-link.bx { font-family: var(--font-ui) !important; display: inline-flex; align-items: center; gap: 6px; }
body.nd-legacy #share-link.bx::before { font-family: boxicons !important; }

/* ---------- Hinweis auf Google-Bewertungen ---------- */
.nd-google {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 22px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark);
  background: linear-gradient(120deg, rgba(166, 206, 57, .10), rgba(166, 206, 57, 0) 60%), var(--ink-2);
  color: var(--on-dark); text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
.nd-google:hover { border-color: var(--lime); transform: translateY(-2px); }
.nd-google:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.nd-google__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 24px; }
.nd-google__text { display: grid; gap: 4px; }
.nd-google__text strong { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.nd-google__text span { color: var(--on-dark-2); font-size: 15px; }
.nd-google__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) {
  .nd-google { grid-template-columns: auto 1fr; padding: 20px; }
  .nd-google__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .nd-google, .nd-google:hover { transition: none; transform: none; } }

/* ---------- Logo: Vergroesserung beim Ueberfahren ---------- */
.nd-logo { display: inline-block; border-radius: 8px; }
.nd .nd-logo img { transform-origin: left center; transition: transform .35s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .nd .nd-logo:hover img { transform: scale(1.18); }
}
.nd .nd-logo:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }
.nd .nd-logo:focus-visible img { transform: scale(1.18); }
@media (prefers-reduced-motion: reduce) { .nd .nd-logo img { transition: none; } }

/* ---------- Rechtstexte ---------- */
.nd-legal { background: var(--paper); color: var(--on-light); padding-block: clamp(48px, 8vw, 112px); }
.nd-legal__wrap { max-width: 780px; }
.nd .nd-legal__title { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.02em; margin: 8px 0 24px; color: var(--ink); hyphens: manual; }
.nd-legal__lead { font-size: clamp(17px, 1.4vw, 20px); color: rgba(20, 17, 15, .72); max-width: 60ch; margin: 0 0 32px; }
.nd-legal section { padding-top: 32px; margin-top: 32px; border-top: 1px solid rgba(20, 17, 15, .12); scroll-margin-top: 120px; }
.nd .nd-legal h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.15; color: var(--ink); margin: 0 0 14px; }
.nd-legal p, .nd-legal li { font-size: 16px; line-height: 1.65; color: rgba(20, 17, 15, .82); }
.nd-legal p { margin: 0 0 14px; }
.nd-legal ul { margin: 0 0 14px; padding-left: 1.2em; }
.nd-legal li { margin-bottom: 6px; }
.nd-legal a { color: #3f5a00; text-decoration: underline; text-underline-offset: 3px; }
.nd-legal a:hover { color: var(--ink); }
.nd-legal code { font-size: .92em; background: rgba(20, 17, 15, .06); padding: 2px 6px; border-radius: 6px; }
.nd-legal__toc { background: #fff; border: 1px solid rgba(20, 17, 15, .1); border-radius: var(--radius-md, 18px); padding: 20px 24px; }
.nd-legal__toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.2em; }
.nd-legal__toc li { break-inside: avoid; margin-bottom: 6px; }
.nd-legal__toc a { text-decoration: none; color: var(--ink); }
.nd-legal__toc a:hover { text-decoration: underline; }
.nd-legal__table { overflow-x: auto; margin: 8px 0 18px; }
.nd-legal table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
.nd-legal th, .nd-legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(20, 17, 15, .08); color: rgba(20, 17, 15, .85); }
.nd-legal th { font-weight: 600; background: rgba(166, 206, 57, .18); color: var(--ink); }
.nd-legal__stand { margin-top: 40px !important; font-size: 14px !important; color: rgba(20, 17, 15, .55) !important; }
@media (max-width: 720px) { .nd-legal__toc ol { columns: 1; } }

/* ---------- Bewertungsformular ---------- */
body.nd-legacy .reviews .write_review input.rating { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); }
body.nd-legacy .reviews .write_review .stars .star { font-size: 28px; color: #d9d4ca; transition: color .15s ease; }
body.nd-legacy .reviews .write_review .stars .star.selected { color: #f5a624; }
body.nd-legacy .reviews .review_msg { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: rgba(166, 206, 57, .2); color: var(--ink); font-weight: 600; }
body.nd-legacy .reviews .review_msg.is-error { background: rgba(255, 106, 43, .14); color: #8a2c00; }

/* Sterne und Anzahl fuehren zum Bewertungsformular */
body.nd-legacy .overall_rating .rate_stars { display: inline-flex; align-items: center; }
body.nd-legacy .overall_rating .rate_stars a { display: inline-flex; padding: 2px 1px; color: inherit; text-decoration: none; border-radius: 4px; }
body.nd-legacy .overall_rating .rate_stars a i { transition: color .15s ease, transform .15s ease; }
body.nd-legacy .overall_rating .rate_stars a:focus-visible { outline: 2px solid #5f7f12; outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) {
  body.nd-legacy .overall_rating .rate_stars:hover a i { color: #f5a624; }
  body.nd-legacy .overall_rating .rate_stars a:hover ~ a i { color: #d9d4ca; }
  body.nd-legacy .overall_rating .rate_stars a:hover i { transform: scale(1.25); }
}
body.nd-legacy .overall_rating .rate_stars:focus-within a i { color: #f5a624; }
body.nd-legacy .overall_rating .rate_stars a:focus-visible ~ a i { color: #d9d4ca; }
@media (prefers-reduced-motion: reduce) { body.nd-legacy .overall_rating .rate_stars a i { transition: none; transform: none !important; } }
body.nd-legacy .nd-optional { font-weight: 400; color: #8a8378; }
body.nd-legacy input.option.text::placeholder { color: #a39c90; }

/* ---------- Extras als Auswahl-Kacheln ---------- */
body.nd-legacy .product form .nd-opt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-width: 480px; margin: 6px 0 10px; }
body.nd-legacy .product form .nd-opt-title { font-weight: 700; font-size: 15px; }
body.nd-legacy .product form .nd-opt-hint { font-size: 13px; color: #8a8378; }
body.nd-legacy .product form .radio-checkbox.nd-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; max-width: 480px; margin-bottom: 18px; }
body.nd-legacy .product form .nd-chip { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; width: auto; padding: 8px 12px; margin: 0; border: 1.5px solid #e4ded3; border-radius: 12px; background: #fff; cursor: pointer; user-select: none; line-height: 1.2; transition: border-color .15s ease, background-color .15s ease, transform .1s ease; }
body.nd-legacy .product form .nd-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
body.nd-legacy .product form .nd-chip__tick { flex: none; width: 20px; height: 20px; border: 1.5px solid #c9c2b5; border-radius: 6px; background: #fff; display: grid; place-items: center; transition: background-color .15s ease, border-color .15s ease; }
body.nd-legacy .product form .nd-chip__tick::after { content: ""; width: 10px; height: 6px; border: solid #14110f; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .15s ease; }
body.nd-legacy .product form .nd-chip__name { flex: 1; font-size: 14px; font-weight: 500; color: #14110f; }
body.nd-legacy .product form .nd-chip__price { flex: none; font-size: 12px; font-weight: 600; color: #6b655b; white-space: nowrap; }
body.nd-legacy .product form .nd-chip:hover { border-color: #a6ce39; }
body.nd-legacy .product form .nd-chip:active { transform: scale(.98); }
body.nd-legacy .product form .nd-chip:has(input:checked) { border-color: #a6ce39; background: rgba(166, 206, 57, .14); }
body.nd-legacy .product form .nd-chip:has(input:checked) .nd-chip__tick { background: #a6ce39; border-color: #a6ce39; }
body.nd-legacy .product form .nd-chip:has(input:checked) .nd-chip__tick::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
body.nd-legacy .product form .nd-chip:has(input:focus-visible) { outline: 2px solid #5f7f12; outline-offset: 2px; }
@media (max-width: 480px) { body.nd-legacy .product form .radio-checkbox.nd-chips { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { body.nd-legacy .product form .nd-chip, body.nd-legacy .product form .nd-chip__tick::after { transition: none; } }
body.nd-legacy .product form .radio-checkbox.nd-chips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-width: 500px; }
body.nd-legacy .product form .nd-opt-head { max-width: 500px; }
body.nd-legacy .product form .nd-chip__name { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
body.nd-legacy .product form .nd-chip__price { margin-left: auto; }

/* Testmodus-Hinweis fuer den Admin-Testzugang */
.nd-closed-bar.nd-test-bar { background: #f5a623; color: #2b1d00; }
.nd-closed-bar.nd-test-bar svg { color: #2b1d00; }

/* ==========================================================================
   Kasse (theme/checkout.php)
   ========================================================================== */
.nd-co { --co-r: 16px; color: var(--on-light); }
.nd-co .nd-co-head { margin: 0 0 clamp(24px, 4vw, 40px); }
.nd-co .nd-co-back { display: inline-block; margin-bottom: 14px; font: 500 14px var(--font-ui); color: var(--on-light-2) !important; text-decoration: none; }
.nd-co .nd-co-back:hover { color: var(--on-light) !important; }
body.nd-legacy .nd-main .nd-co h1 { font: 700 clamp(40px, 6vw, 72px)/1 var(--font-display); letter-spacing: -.035em; margin: 0; text-align: left; }
.nd-co .nd-co-lead { margin: 14px 0 0; color: var(--on-light-2); font-size: 16px; }

.nd-co .nd-co-errors { margin: 0 0 28px; padding: 18px 22px; border-radius: var(--co-r); background: #fff1ea; border: 1px solid #f3b79b; color: #6a2306; }
.nd-co .nd-co-errors:focus { outline: none; }
.nd-co .nd-co-errors ul { margin: 8px 0 0; padding-left: 20px; }
.nd-co .nd-co-errors li { color: #6a2306; }

.nd-co .nd-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.nd-co .nd-co-steps { display: grid; gap: 18px; }
.nd-co .nd-co-step { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
body.nd-legacy .nd-main .nd-co h2 { display: flex; align-items: center; gap: 12px; font: 650 22px/1.2 var(--font-display); letter-spacing: -.015em; margin: 0 0 20px; padding: 0; border: 0; }
.nd-co .nd-co-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 700 14px var(--font-ui); flex: none; }

/* Auswahl-Kacheln (Lieferung, Zahlung) */
.nd-co .nd-co-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.nd-co .nd-co-tile { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; min-height: 76px; border: 1.5px solid var(--line-light); border-radius: 14px; background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.nd-co .nd-co-tile:hover { border-color: rgba(27, 23, 20, .3); }
.nd-co .nd-co-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nd-co .nd-co-tile:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.nd-co .nd-co-tile:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.nd-co .nd-co-tile::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(27, 23, 20, .25); background: #fff; }
.nd-co .nd-co-tile:has(input:checked)::after { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6ce39' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.nd-co .nd-co-tile__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper-2); font-size: 22px; color: var(--on-light); flex: none; }
.nd-co .nd-co-tile__icon--txt { font: 700 20px var(--font-display); }
.nd-co .nd-co-tile__icon--pp { font: 800 italic 22px var(--font-ui); color: #fff; background: #003087; }
.nd-co .nd-co-tile__text { display: grid; gap: 2px; padding-right: 22px; }
.nd-co .nd-co-tile__text strong { font: 650 16px var(--font-ui); }
.nd-co .nd-co-tile__text small { font-size: 13px; color: var(--on-light-2); }
.nd-co .nd-co-note { margin: 0; color: var(--on-light-2); }

/* Felder */
.nd-co .nd-co-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.nd-co .nd-co-field { grid-column: span 3; display: grid; gap: 6px; min-width: 0; }
.nd-co .nd-co-field--full { grid-column: 1 / -1; }
.nd-co .nd-co-field--wide { grid-column: span 4; }
.nd-co .nd-co-field--wide + .nd-co-field { grid-column: span 2; }
body.nd-legacy .nd-main .nd-co label { font: 600 14px var(--font-ui); margin: 0; padding: 0; }
.nd-co .nd-co-hint { font-weight: 400; color: var(--on-light-2); font-size: 13px; }
body.nd-legacy .nd-main .nd-co .nd-co-field input, body.nd-legacy .nd-main .nd-co .nd-co-field select { width: 100%; margin: 0; background: var(--paper); }
body.nd-legacy .nd-main .nd-co .nd-co-field input:focus, body.nd-legacy .nd-main .nd-co .nd-co-field select:focus { background: #fff; }
.nd-co .nd-co-field input:user-invalid { border-color: #d2521c; }
.nd-co .nd-co-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.nd-co .nd-co-check { display: flex !important; align-items: flex-start; gap: 12px; margin: 20px 0 0 !important; cursor: pointer; font-weight: 500 !important; }
.nd-co .nd-co-check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid rgba(27, 23, 20, .35); border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.nd-co .nd-co-check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6ce39' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--ink); }
.nd-co .nd-co-check input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.nd-co .nd-co-check span { padding-top: 1px; }
.nd-co .nd-co-check--sm { font-size: 14px; margin-top: 18px !important; }

.nd-co .nd-co-billing { margin: 20px 0 0; padding: 20px 0 0; border: 0; border-top: 1px dashed var(--line-light); }
.nd-co .nd-co-billing[hidden] { display: none; }
.nd-co .nd-co-billing legend { font: 650 16px var(--font-display); padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.nd-co .nd-co-billing .nd-co-fields { clear: both; }

.nd-co details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font: 600 15px var(--font-ui); }
.nd-co details > summary::-webkit-details-marker { display: none; }
.nd-co details > summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); font-weight: 700; flex: none; transition: transform .2s; }
.nd-co details[open] > summary::before { content: "−"; }
.nd-co .nd-co-account { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.nd-co .nd-co-account summary { flex-wrap: wrap; }
.nd-co .nd-co-account .nd-co-fields { margin-top: 16px; }

/* Zusammenfassung */
.nd-co .nd-co-side { position: sticky; top: calc(var(--header-h) + 20px); }
.nd-co .nd-co-card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.nd-co .nd-co-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
body.nd-legacy .nd-main .nd-co .nd-co-card h2 { color: var(--on-dark); margin: 0; }
body.nd-legacy .nd-main .nd-co .nd-co-card a { color: var(--lime); }
.nd-co .nd-co-card__head a { font: 500 14px var(--font-ui); }
.nd-co .nd-co-items { list-style: none; margin: 8px 0 0; padding: 0; max-height: 46vh; overflow: auto; }
.nd-co .nd-co-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.nd-co .nd-co-item img, .nd-co .nd-co-item__ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--ink-3); }
.nd-co .nd-co-item__body { display: grid; gap: 3px; min-width: 0; }
.nd-co .nd-co-item__name { font: 600 15px/1.35 var(--font-ui); overflow-wrap: anywhere; }
.nd-co .nd-co-item__qty { color: var(--lime); }
.nd-co .nd-co-item__opt { font-size: 13px; line-height: 1.4; color: var(--on-dark-2); }
.nd-co .nd-co-item__opt.is-wish { color: #ffd0a8; }
.nd-co .nd-co-item__price { font: 600 15px var(--font-ui); white-space: nowrap; font-variant-numeric: tabular-nums; }

.nd-co .nd-co-code { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.nd-co .nd-co-code summary { color: var(--on-dark); font-size: 14px; }
.nd-co .nd-co-code summary::before { background: var(--ink-3); color: var(--on-dark); }
.nd-co .nd-co-code__row { display: flex; gap: 8px; margin-top: 12px; }
body.nd-legacy .nd-main .nd-co .nd-co-code__row input { flex: 1; min-width: 0; margin: 0; background: var(--ink-2); color: var(--on-dark); border-color: var(--line-dark); text-transform: uppercase; }
body.nd-legacy .nd-main .nd-co .nd-co-btn-2 { background: var(--ink-3); color: var(--on-dark); border: 1px solid var(--line-dark); flex: none; }
body.nd-legacy .nd-main .nd-co .nd-co-btn-2:hover { background: #3a332d; }
.nd-co .nd-co-code__msg { margin: 8px 0 0; font-size: 13px; color: #ffb38f !important; min-height: 0; }
.nd-co .nd-co-code__msg.is-ok { color: var(--lime) !important; }
.nd-co .nd-co-code__msg:empty { display: none; }

.nd-co .nd-co-sum { margin: 0; padding: 16px 0 0; display: grid; gap: 8px; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.nd-co .nd-co-sum > div { display: flex; justify-content: space-between; gap: 12px; }
.nd-co .nd-co-sum dt, .nd-co .nd-co-sum dd { margin: 0; font-size: 15px; color: var(--on-dark-2); }
.nd-co .nd-co-sum .is-discount dd { color: var(--lime); }
.nd-co .nd-co-sum__total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-dark); align-items: baseline; }
.nd-co .nd-co-sum__total dt { color: var(--on-dark) !important; font: 650 18px var(--font-display) !important; }
.nd-co .nd-co-sum__total dd { color: var(--on-dark) !important; font: 700 clamp(26px, 3vw, 32px) var(--font-display) !important; letter-spacing: -.02em; }
.nd-co .nd-co-sum__tax dt, .nd-co .nd-co-sum__tax dd { font-size: 13px !important; }
.nd-co .nd-co-sum__min { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(166, 206, 57, .12); }
.nd-co .nd-co-sum__min dt { font-size: 13px !important; color: var(--lime) !important; }
.nd-co .nd-co-sum__min.is-short { background: rgba(255, 106, 43, .14); }
.nd-co .nd-co-sum__min.is-short dt { color: #ffb38f !important; }
.nd-co.is-loading .nd-co-sum, .nd-co.is-loading .nd-co-submit__sum { opacity: .45; }

body.nd-legacy .nd-main .nd-co .nd-co-card label, body.nd-legacy .nd-main .nd-co .nd-co-card .nd-co-check span { color: var(--on-dark-2); font-weight: 400 !important; }
.nd-co .nd-co-card .nd-co-check input { background: transparent; border-color: rgba(244, 238, 228, .4); }
.nd-co .nd-co-card .nd-co-check input:checked { background-color: var(--lime); border-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182300' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

body.nd-legacy .nd-main .nd-co .nd-co-submit { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; min-height: 60px; padding: 16px 24px; font: 650 16px var(--font-ui); border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
body.nd-legacy .nd-main .nd-co .nd-co-submit:hover { background: var(--lime-2); }
body.nd-legacy .nd-main .nd-co .nd-co-submit:active { transform: scale(.985); }
.nd-co .nd-co-submit__sum { font: 700 17px var(--font-display); font-variant-numeric: tabular-nums; transition: opacity .2s; }
.nd-co .nd-co-submit.is-busy { opacity: .7; cursor: progress; }
.nd-co .nd-co-fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--on-dark-2) !important; text-align: center; }

@media (max-width: 960px) {
  .nd-co .nd-co-grid { grid-template-columns: 1fr; }
  .nd-co .nd-co-side { position: static; }
  .nd-co .nd-co-items { max-height: none; }
}
@media (max-width: 560px) {
  .nd-co .nd-co-field, .nd-co .nd-co-field--wide { grid-column: 1 / -1; }
  .nd-co .nd-co-field--wide + .nd-co-field { grid-column: 1 / -1; }
  .nd-co .nd-co-tiles { grid-template-columns: 1fr; }
}
.nd-co .nd-co-tile__icon svg { width: 24px; height: 24px; }
body.nd-legacy .nd-main .nd-co h1 { border: 0; padding: 0; }
body.nd-legacy .nd-main > .nd-co { width: var(--wrap); max-width: 1120px; }

/* ==========================================================================
   Mein Konto (theme/account.php) – nutzt Felder/Karten der Kasse (.nd-co)
   ========================================================================== */
.nd-acc .nd-acc-head { margin-bottom: clamp(24px, 4vw, 40px); }
.nd-acc .nd-acc-eyebrow { margin: 0 0 8px; font: 600 13px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-2) !important; }
.nd-acc .nd-acc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
body.nd-legacy .nd-main .nd-acc .nd-acc-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-light); background: #fff; color: var(--on-light); text-decoration: none; font: 600 15px var(--font-ui); transition: background-color .2s, border-color .2s; }
body.nd-legacy .nd-main .nd-acc .nd-acc-tabs a:hover { border-color: rgba(27, 23, 20, .3); }
body.nd-legacy .nd-main .nd-acc .nd-acc-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.nd-acc .nd-acc-tabs a span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--paper-2); color: var(--on-light); font-size: 12px; }
.nd-acc .nd-acc-tabs a[aria-current="page"] span { background: var(--lime); color: var(--lime-ink); }
body.nd-legacy .nd-main .nd-acc .nd-acc-tabs .nd-acc-tabs__out { margin-left: auto; background: transparent; border-color: transparent; color: var(--on-light-2); }

.nd-acc .nd-acc-sub { margin: -12px 0 20px; color: var(--on-light-2) !important; font-size: 15px; }
.nd-acc .nd-acc-form { display: grid; gap: 18px; max-width: 760px; }
.nd-acc .nd-acc-actions { display: flex; justify-content: flex-end; }
.nd-acc .nd-acc-ok { margin: 0 0 24px; max-width: 760px; padding: 16px 20px; border-radius: 16px; background: #eef6d9; border: 1px solid #c5de7d; color: #2f4300; font-weight: 600; }
.nd-acc .nd-co-errors { max-width: 760px; }

.nd-acc .nd-acc-empty { padding: clamp(28px, 5vw, 48px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); text-align: center; }
.nd-acc .nd-acc-empty p { margin: 0 0 18px; font-size: 17px; }
.nd-acc .nd-acc-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 16px; align-items: start; }
.nd-acc .nd-acc-order { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 22px 24px; }
.nd-acc .nd-acc-order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
body.nd-legacy .nd-main .nd-acc .nd-acc-order h2 { margin: 0; font-size: 19px; }
.nd-acc .nd-acc-order__head p { margin: 4px 0 0; font-size: 14px; color: var(--on-light-2) !important; }
.nd-acc .nd-acc-status { flex: none; padding: 6px 12px; border-radius: 999px; font: 600 13px var(--font-ui); white-space: nowrap; background: var(--paper-2); color: var(--on-light); }
.nd-acc .nd-acc-status.is-done { background: #eef6d9; color: #3e5400; }
.nd-acc .nd-acc-status.is-live { background: #fff0e6; color: #a2400f; }
.nd-acc .nd-acc-status.is-cancel { background: #f3efe9; color: #8a8378; text-decoration: line-through; }
.nd-acc .nd-acc-order__items { list-style: none; margin: 0; padding: 6px 0; }
.nd-acc .nd-acc-order__items li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; }
.nd-acc .nd-acc-order__name { display: grid; gap: 2px; font: 500 15px/1.4 var(--font-ui); min-width: 0; overflow-wrap: anywhere; }
.nd-acc .nd-acc-order__name small { font-size: 13px; color: var(--on-light-2); }
.nd-acc .nd-acc-order__name small.is-wish { color: #a2400f; }
.nd-acc .nd-acc-order__qty { color: #5f7f12; font-weight: 700; }
.nd-acc .nd-acc-order__price { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.nd-acc .nd-acc-order__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: 14px; color: var(--on-light-2); font-variant-numeric: tabular-nums; }
.nd-acc .nd-acc-order__foot strong { font: 700 18px var(--font-display); color: var(--on-light); }

@media (max-width: 560px) {
  body.nd-legacy .nd-main .nd-acc .nd-acc-tabs .nd-acc-tabs__out { margin-left: 0; }
}

/* Nochmal bestellen */
.nd-acc .nd-acc-reorder { margin: 16px 0 0; }
body.nd-legacy .nd-main .nd-reorder-note { margin: 0 0 24px; padding: 16px 20px; border-radius: 16px; background: #eef6d9; border: 1px solid #c5de7d; color: #2f4300; line-height: 1.5; }

/* Dock unten rechts: "Wie letztes Mal" + Warenkorb */
.nd-dock { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.nd-dock > * { pointer-events: auto; }
.nd-dock .nd-floating-cart { position: static; }

/* "Wie letztes Mal" mit Liste der letzten Bestellungen */
.nd-again { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.nd-again[hidden], .nd-again__panel[hidden] { display: none; }
.nd-again__bar { display: flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--on-dark); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); border: 1px solid rgba(244, 238, 228, .14); }
.nd-again__main { margin: 0; }
.nd .nd-again button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; min-height: 0; box-shadow: none; }
.nd .nd-again__main button { display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 18px; border-radius: 999px 0 0 999px; text-align: left; }
.nd .nd-again__main button svg { color: var(--lime); flex: none; }
.nd-again__txt { display: grid; line-height: 1.2; }
.nd-again__txt strong { font: 650 15px var(--font-ui); color: var(--on-dark); }
.nd-again__txt small { font-size: 12px; color: var(--on-dark-2); max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd .nd-again__main button:hover strong { color: var(--lime); }
.nd .nd-again .nd-again__more, .nd .nd-again .nd-again__x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: var(--on-dark-2); flex: none; }
.nd .nd-again .nd-again__x { margin-right: 6px; font-size: 20px; line-height: 1; }
.nd .nd-again .nd-again__more svg { transition: transform .25s var(--ease); }
.nd .nd-again.is-open .nd-again__more svg { transform: rotate(180deg); }
.nd .nd-again .nd-again__more:hover, .nd .nd-again .nd-again__x:hover, .nd .nd-again.is-open .nd-again__more { color: var(--on-dark); background: var(--ink-3); }

.nd-again__panel { width: min(340px, calc(100vw - 32px)); margin-bottom: 10px; padding: 16px; border-radius: 22px; background: var(--ink); color: var(--on-dark); border: 1px solid rgba(244, 238, 228, .14); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.nd-again__head { margin: 2px 4px 10px; font: 650 15px var(--font-display); color: var(--on-dark) !important; }
.nd-again__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nd-again__panel li form { margin: 0; display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.nd-again__meta { font: 600 13px var(--font-ui); color: var(--lime); font-variant-numeric: tabular-nums; }
.nd-again__items { font-size: 14px; line-height: 1.4; color: var(--on-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nd .nd-again__panel li button { justify-self: start; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 600 13px var(--font-ui); }
.nd .nd-again__panel li button:hover { background: var(--lime-2); }
.nd-again__all { display: block; margin: 12px 4px 2px; font-size: 13px; color: var(--on-dark-2) !important; text-decoration: none; }
.nd-again__all:hover { color: var(--on-dark) !important; }
@media (max-width: 760px) {
  .nd-again__txt small { max-width: 150px; }
}

/* Konto: Knöpfe wie auf der Startseite (.nd-btn) */
.nd-btn--dark { --bg: var(--ink); --fg: var(--on-dark); }
.nd-btn--dark:hover { --bg: var(--ink-3); }
.nd-acc .nd-acc-reorder .nd-btn { width: 100%; justify-content: center; }
.nd-acc .nd-acc-actions .nd-btn { min-width: 200px; justify-content: center; }
body.nd-legacy .nd-main .nd-btn--primary, body.nd-legacy .nd-main .nd-btn--primary:hover { color: var(--lime-ink); }
body.nd-legacy .nd-main .nd-btn--dark, body.nd-legacy .nd-main .nd-btn--dark:hover { color: var(--on-dark); }
@media (max-width: 560px) { .nd-acc .nd-acc-actions .nd-btn { width: 100%; } }

/* Unterseiten (body.nd-legacy) laden noch die alte style.css. Deren Regeln für *, header, header nav a,
   header img und footer greifen sonst in Header, Footer und Dock: andere Schrift, Abstände und ein
   grauer Strich beim Darüberfahren. Hier auf den Stand der Startseite zurücksetzen. */
body.nd-legacy .nd-header, body.nd-legacy .nd-footer, body.nd-legacy .nd-dock, body.nd-legacy .nd-dialog { font-family: var(--font-ui); font-size: 17px; font-weight: 400; line-height: 1.55; }
body.nd-legacy .nd-header { color: var(--on-dark); }
:where(body.nd-legacy) :where(.nd-header, .nd-footer, .nd-dock, .nd-dialog) * { font-family: inherit; font-size: inherit; font-weight: inherit; }
.nd-header :where(nav) { flex-grow: 0; flex-basis: auto; }
.nd-header :where(nav a) { margin: 0; white-space: normal; }
.nd-header :where(img) { display: block; flex: none; font-size: inherit; padding: 0; }
.nd-header .nd-nav a:hover { border-bottom: 0; }
@media (max-width: 1080px) { .nd-header .nd-nav a:hover { border-bottom: 1px solid var(--line-dark); } }
body.nd-legacy .nd-footer address { line-height: 1.55; }
body.nd-legacy .nd-footer .nd-footer__base a { text-decoration: underline; }

/* Anmelden / Registrieren (theme/login.php) */
.nd-login .nd-acc-head h1 { margin-bottom: 0; }
body.nd-legacy .nd-main .nd-login .nd-login__lead { margin: 14px 0 0; max-width: 56ch; font-size: 18px; color: var(--on-light-2); }
.nd-login .nd-login__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.nd-login .nd-login__grid > .nd-co-step:last-child { background: var(--paper-2); }
body.nd-legacy .nd-main .nd-login .nd-co-errors { margin: 0 0 20px; }
.nd-login .nd-login__perks { list-style: none; margin: -6px 0 22px; padding: 0; display: grid; gap: 8px; }
body.nd-legacy .nd-main .nd-login .nd-login__perks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--on-light); }
.nd-login .nd-login__perks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182300' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.nd-login .nd-login__btn { width: 100%; justify-content: center; margin-top: 22px; }
.nd-login .nd-co-hint { font-weight: 400; color: var(--on-light-2); margin-left: 4px; }
.nd-login .nd-login__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.nd-legacy .nd-main .nd-login .nd-login__legal { margin: 14px 0 0; font-size: 13px; color: var(--on-light-2); text-align: center; }
body.nd-legacy .nd-main .nd-login .nd-login__legal a { color: inherit; text-decoration: underline; }
@media (max-width: 860px) { .nd-login .nd-login__grid { grid-template-columns: minmax(0, 1fr); } }

/* Produktseite neu (theme/product.php) */
body.nd-legacy .nd-main > .nd-pd-wrap { max-width: var(--wrap); }
.nd-pd { padding-top: 4px; }
body.nd-legacy .nd-main .nd-pd .nd-pd__crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; font-size: 14px; color: var(--on-light-2); }
body.nd-legacy .nd-main .nd-pd .nd-pd__crumbs a { color: var(--on-light-2); text-decoration: none; }
body.nd-legacy .nd-main .nd-pd .nd-pd__crumbs a:hover { color: var(--on-light); text-decoration: underline; }
.nd-pd .nd-pd__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nd-pd .nd-pd__media { position: sticky; top: calc(var(--header-h) + 24px); }
.nd-pd .nd-pd__hero { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.nd-pd .nd-pd__hero img, .nd-pd .nd-pd__hero video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd-pd .nd-pd__noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 64px; color: rgba(27, 23, 20, .2); }
.nd-pd .nd-pd__badge { position: absolute; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 700 15px var(--font-ui); }
.nd-pd .nd-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
body.nd-legacy .nd-main .nd-pd button.nd-pd__thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: none; cursor: pointer; min-height: 0; }
body.nd-legacy .nd-main .nd-pd button.nd-pd__thumb.is-active { border-color: var(--ink); }
.nd-pd .nd-pd__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

body.nd-legacy .nd-main .nd-pd .nd-pd__eyebrow { margin: 0 0 10px; font: 600 13px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-2); }
body.nd-legacy .nd-main .nd-pd h1.nd-pd__title { font: 700 clamp(36px, 4.6vw, 60px)/1.02 var(--font-display); letter-spacing: -.03em; margin: 0; padding: 0; border: 0; text-align: left; color: var(--on-light); }
body.nd-legacy .nd-main .nd-pd .nd-pd__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--on-light-2); text-decoration: none; }
.nd-pd .nd-pd__stars { --pct: calc(var(--r) / 5 * 100%); width: 80px; height: 15px; background: linear-gradient(90deg, #f2a600 var(--pct), rgba(27, 23, 20, .18) var(--pct)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cg%3E%3Cpath id='s' d='M8 .8l2.2 4.7 5.1.6-3.8 3.5 1 5.1L8 12.2l-4.5 2.5 1-5.1L.7 6.1l5.1-.6z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cg%3E%3Cpath id='s' d='M8 .8l2.2 4.7 5.1.6-3.8 3.5 1 5.1L8 12.2l-4.5 2.5 1-5.1L.7 6.1l5.1-.6z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; }
body.nd-legacy .nd-main .nd-pd .nd-pd__desc { margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: var(--on-light-2); max-width: 46ch; }
.nd-pd .nd-pd__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 26px 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line-light); }
body.nd-legacy .nd-main .nd-pd .nd-pd__price { font: 700 34px/1 var(--font-display); letter-spacing: -.02em; color: var(--on-light); }
.nd-pd .nd-pd__rrp { font-size: 18px; color: var(--on-light-2); }
.nd-pd .nd-pd__cdnote { flex-basis: 100%; font-size: 14px; font-weight: 600; color: #8f3a00; }

.nd-pd .nd-pd__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin: 0; }
body.nd-legacy .nd-main .nd-pd fieldset.nd-pd__opt { border: 0; margin: 0; padding: 0; min-width: 0; }
body.nd-legacy .nd-main .nd-pd .nd-pd__opt legend { display: flex; flex-wrap: wrap; width: 100%; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0; margin: 0 0 10px; font: 700 16px var(--font-ui); color: var(--on-light); }
body.nd-legacy .nd-main .nd-pd .nd-pd__opt legend small { font-size: 13px; font-weight: 500; color: var(--on-light-2); }
body.nd-legacy .nd-pd .product form .radio-checkbox.nd-chips, body.nd-legacy .nd-pd form .radio-checkbox.nd-chips { max-width: none; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
body.nd-legacy .nd-pd form .nd-chip__tick--round { border-radius: 50%; }
.nd-pd .nd-pd__field { display: grid; gap: 8px; }
body.nd-legacy .nd-main .nd-pd .nd-pd__field label { font: 700 16px var(--font-ui); margin: 0; padding: 0; color: var(--on-light); }
body.nd-legacy .nd-main .nd-pd .nd-pd__field input, body.nd-legacy .nd-main .nd-pd .nd-pd__field select { width: 100%; max-width: none; margin: 0; min-height: 52px; background: #fff; }

.nd-pd .nd-pd__buy { display: flex; gap: 12px; align-items: stretch; margin-top: 4px; }
.nd-pd .nd-qty { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--line-light); border-radius: 999px; background: #fff; padding: 4px; }
body.nd-legacy .nd-main .nd-pd .nd-qty button.nd-qty__b { width: 46px; height: 46px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; color: var(--on-light); font: 600 22px/1 var(--font-ui); cursor: pointer; display: grid; place-items: center; }
body.nd-legacy .nd-main .nd-pd .nd-qty button.nd-qty__b:hover { background: var(--paper-2); }
body.nd-legacy .nd-main .nd-pd .nd-qty input { width: 44px; min-height: 0; height: 46px; padding: 0; margin: 0; border: 0; background: transparent; text-align: center; font: 700 18px var(--font-ui); -moz-appearance: textfield; box-shadow: none; }
.nd-pd .nd-qty input::-webkit-outer-spin-button, .nd-pd .nd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.nd-legacy .nd-main .nd-pd .nd-pd__add { flex: 1; justify-content: space-between; min-height: 56px; }
.nd-pd .nd-pd__add strong { font-variant-numeric: tabular-nums; font-weight: 700; }
.nd-pd .nd-pd__add[disabled] { background: var(--paper-2); color: var(--on-light-2); cursor: not-allowed; justify-content: center; }
body.nd-legacy .nd-main .nd-pd .nd-pd__closed { margin: -8px 0 0; font-size: 14px; color: #8f3a00; }
.nd-pd .nd-pd__closed span { font-size: 10px; vertical-align: 2px; margin-right: 4px; }

.nd-pd .nd-pd__facts { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 8px; }
body.nd-legacy .nd-main .nd-pd .nd-pd__facts li { font-size: 14px; color: var(--on-light-2); }
body.nd-legacy .nd-main .nd-pd .nd-pd__facts strong { color: var(--on-light); font-weight: 600; }
body.nd-legacy .nd-main .nd-pd .nd-pd__facts a { color: var(--on-light); text-decoration: underline; }
body.nd-legacy .nd-main .nd-pd button.nd-pd__share { margin-top: 16px; padding: 0; min-height: 0; border: 0; background: none; color: var(--on-light-2); font: 600 14px var(--font-ui); text-decoration: underline; cursor: pointer; }
body.nd-legacy .nd-main .nd-pd button.nd-pd__share[hidden] { display: none; }

.nd-pd .nd-pd__reviews { margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-light); }
body.nd-legacy .nd-main .nd-pd .nd-pd__reviews .content { margin: 0; padding: 0; width: auto; max-width: 760px; }
body.nd-legacy .nd-main .nd-pd .nd-pd__reviews h2 { font: 700 clamp(28px, 3vw, 36px)/1.1 var(--font-display); letter-spacing: -.02em; margin: 0 0 20px; text-align: left; }

@media (max-width: 900px) {
  .nd-pd .nd-pd__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .nd-pd .nd-pd__media { position: static; }
  .nd-pd .nd-pd__hero { aspect-ratio: 4 / 3; border-radius: var(--radius); }
}
@media (max-width: 560px) {
  .nd-pd .nd-pd__buy { position: sticky; bottom: 12px; z-index: 5; padding: 6px; margin: 0; border-radius: 999px; background: rgba(250, 247, 241, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  body.nd-legacy .nd-main .nd-pd .nd-qty button.nd-qty__b { width: 36px; height: 40px; }
  .nd-pd .nd-pd__buy { gap: 8px; }
  body.nd-legacy .nd-main .nd-pd .nd-qty input { width: 28px; height: 40px; }
  body.nd-legacy .nd-main .nd-pd .nd-pd__add { min-width: 0; min-height: 50px; padding: 0 16px; gap: 8px; font-size: 15px; white-space: nowrap; }
  .nd-pd .nd-pd__add span { overflow: hidden; text-overflow: ellipsis; }
}
.nd-pd .nd-pd__lbl-s { display: none; }
@media (max-width: 400px) { .nd-pd .nd-pd__lbl-l { display: none; } .nd-pd .nd-pd__lbl-s { display: inline; } }
.nd-pd .nd-pd__illu { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 17, 15, .55); color: #fff; font: 600 12px var(--font-ui); letter-spacing: .02em; }
/* ---- Nach "In den Warenkorb": Bestätigung + zurück zur Speisekarte ---- */
.nd-dish[id] { scroll-margin-top: 150px; }
.nd-dish.is-added { animation: nd-added-flash 2.6s ease-out; }
@keyframes nd-added-flash { 0%, 35% { background: rgba(166, 206, 57, .28); } 100% { background: transparent; } }
.nd-added { position: fixed; z-index: 80; top: 88px; left: 50%; transform: translateX(-50%); width: min(660px, calc(100vw - 24px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #14110f; color: #fff; box-shadow: 0 18px 40px -12px rgba(20, 17, 15, .45); font: 400 15px/1.35 var(--font-ui); animation: nd-added-in .35s cubic-bezier(.2, .8, .2, 1); transition: opacity .3s, transform .3s; }
.nd-added.is-out { opacity: 0; transform: translate(-50%, -12px); }
@keyframes nd-added-in { from { opacity: 0; transform: translate(-50%, -14px); } }
.nd-added__tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #a6ce39; color: #14110f; }
.nd-added__txt { min-width: 0; }
.nd-added__txt strong { display: block; font-weight: 600; }
.nd-added__txt small { display: block; color: rgba(255, 255, 255, .7); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-added .nd-added__cart { padding: 9px 14px; border-radius: 999px; background: #a6ce39; color: #14110f; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.nd-added .nd-added__cart:hover { background: #b9de4c; }
.nd-added .nd-added__x { width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7); font-size: 22px; line-height: 1; cursor: pointer; }
.nd-added .nd-added__x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 560px) {
  .nd-added { top: 72px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .nd-added__cart { grid-column: 1 / -1; text-align: center; }
  .nd-added__x { grid-row: 1; grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) { .nd-added, .nd-dish.is-added { animation: none; } }
.nd-pd .nd-pd__next { margin: 10px 0 0; color: var(--muted, #6b645c); font-size: 14px; line-height: 1.5; }
body.nd-legacy .nd-main .nd-pd .nd-pd__next button.nd-pd__tocart { display: inline; min-height: 0; box-shadow: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.nd-legacy .nd-main .nd-pd .nd-pd__next button.nd-pd__tocart:hover { background: none; color: #14110f; }
/* Checkout-Knopf neben "In den Warenkorb" */
body.nd-legacy .nd-main .nd-pd .nd-pd__checkout { flex: 0 0 auto; min-height: 56px; padding: 0 22px; gap: 8px; background: #4f6b0a; color: #fff; border: 0; white-space: nowrap; }
body.nd-legacy .nd-main .nd-pd .nd-pd__checkout:hover { background: #3e5507; color: #fff; }
body.nd-legacy .nd-main .nd-pd .nd-pd__checkout svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .nd-pd .nd-pd__buy { flex-wrap: wrap; border-radius: 26px; }
  body.nd-legacy .nd-main .nd-pd .nd-pd__checkout { flex: 1 0 100%; min-height: 48px; justify-content: center; }
}
@media (max-width: 400px) { body.nd-legacy .nd-main .nd-pd .nd-pd__add { padding: 0 12px; gap: 6px; font-size: 14px; } }
@media (max-width: 400px) { body.nd-legacy .nd-main .nd-pd .nd-pd__add span, body.nd-legacy .nd-main .nd-pd .nd-pd__add strong { font-size: 14px; } }
