/* =========================================================================
   Flavoria — Fine-Dining Restaurant — Demo-Mockup
   Design tokens first. No ad-hoc colour or spacing values below this block.
   Gold + warm cream + charcoal. Serif display, sans body.
   ========================================================================= */

/* Premium faces: drop the woff2 files into assets/fonts/ and uncomment.
   Display wants an elegant serif (Playfair Display / Cormorant); body a clean sans.
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 700 800; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400 600; font-display: swap;
}
*/

:root {
  /* ---- Colour roles ------------------------------------------------- */
  --color-accent:        #B07D2E;   /* deep gold — buttons/links, AA with white text */
  --color-accent-ink:    #8E6320;   /* hover */
  --color-accent-wash:   #F6ECD6;   /* faint gold tint fills */
  --color-gold:          #C99A4E;   /* brighter decorative gold — rings, large text on dark */
  --color-gold-soft:     #E4C77E;
  --color-primary:       #1E1A14;   /* warm charcoal — the inverted bands, footer, topbar */
  --color-primary-2:     #14110C;
  --color-secondary:     #B79A63;   /* muted gold — eyebrows on dark */
  --color-bg:            #FBF6EC;   /* warm cream, never #FFF */
  --color-surface:       #FFFDF8;
  --color-surface-2:     #F3E9D6;   /* deeper cream section band */
  --color-text:          #241F17;   /* warm near-black, never #000 */
  --color-text-invert:   #FBF6EC;
  --color-muted:         #6E6656;
  --color-muted-invert:  #C9BFA6;
  --color-success:       #2F7A3E;
  --color-warning:       #9A6206;
  --color-error:         #B3261E;
  --color-star:          #D9A73C;   /* rating stars */

  --line:        rgba(30, 26, 20, .12);
  --line-strong: rgba(30, 26, 20, .22);
  --line-invert: rgba(251, 246, 236, .16);

  /* ---- Spacing — 8pt scale ------------------------------------------ */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 24px;
  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;  --s-9: 96px;  --s-10: 128px;

  /* ---- Type — elegant serif display, clean sans body ---------------- */
  --font-display: "Playfair Display", "Cormorant Garamond", "Iowan Old Style",
                  Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-script:  "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;

  --fs-xs:      clamp(0.75rem, 0.73rem + 0.10vw, 0.8125rem);
  --fs-sm:      clamp(0.8125rem, 0.79rem + 0.15vw, 0.9375rem);
  --fs-base:    clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  --fs-md:      clamp(1.0625rem, 1.00rem + 0.32vw, 1.25rem);
  --fs-lg:      clamp(1.3125rem, 1.16rem + 0.70vw, 1.75rem);
  --fs-xl:      clamp(1.625rem, 1.31rem + 1.35vw, 2.5rem);
  --fs-2xl:     clamp(2rem, 1.55rem + 2.10vw, 3.5rem);
  --fs-display: clamp(2.75rem, 1.90rem + 4.30vw, 5.25rem);

  --lh-display: 1.03;
  --lh-head:    1.12;
  --lh-body:    1.6;
  --tr-display: -0.035em;
  --tr-head:    -0.02em;
  --tr-eyebrow: 0.10em;

  /* ---- Radius ------------------------------------------------------- */
  --r-xs: 3px; --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Elevation — layered, low alpha ------------------------------- */
  --sh-1: 0 1px 2px rgba(15, 20, 25, .04);
  --sh-2: 0 1px 2px rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .06);
  --sh-3: 0 1px 2px rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .06),
          0 24px 48px rgba(15, 20, 25, .05);

  /* ---- Motion ------------------------------------------------------- */
  --dur-1: 150ms; --dur-2: 240ms; --dur-3: 420ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- Layout ------------------------------------------------------- */
  --wrap: 1280px;
  --gutter: clamp(var(--s-4), 4vw, var(--s-7));
  --section-y: clamp(56px, 6vw, 104px);
  --header-h: 84px;
}

/* =========================================================================
   Reset & base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-5));
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  /* Never auto-hyphenate a display heading — German words break mid-word and
     look broken. Long compounds get hyphenation only on narrow screens. */
  hyphens: manual;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); font-weight: 800; }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--tr-display); font-weight: 800; }
h3 { font-size: var(--fs-lg); line-height: var(--lh-head); letter-spacing: var(--tr-head); font-weight: 700; }
h4 { font-size: var(--fs-md); line-height: 1.3; letter-spacing: var(--tr-head); font-weight: 700; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--color-accent); color: var(--color-text-invert); }

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4);
  transform: translateY(-200%);
  background: var(--color-primary); color: var(--color-text-invert);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  z-index: 200; text-decoration: none;
}
.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================================
   Layout utilities
   ========================================================================= */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 900px); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--surface { background: var(--color-surface-2); }
.section--hairline { border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
}
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.stack   > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Section header pattern — reused everywhere, never re-invented */
.sec-head { max-width: 62ch; margin-bottom: clamp(var(--s-5), 3.5vw, var(--s-7)); }
.sec-head h1 + .lead, .sec-head h2 + .lead, .sec-head h3 + .lead,
.pagehead__copy h1 + .lead { margin-top: var(--s-5); }
.sec-head--wide { max-width: 80ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  color: var(--color-accent);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: currentColor; flex: none;
}
.eyebrow--invert { color: var(--color-secondary); }

.lead {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 46ch;
  font-weight: 300;
}
.prose-p { color: var(--color-muted); max-width: 68ch; }

.num { font-variant-numeric: tabular-nums; }

/* =========================================================================
   Buttons & links
   ========================================================================= */

.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-text-invert);
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  white-space: nowrap; flex: none;
  transition: transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease),
              background-color var(--dur-1) var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--accent { --btn-bg: var(--color-accent); }
.btn--accent:hover { background: var(--color-accent-ink); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--color-text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--color-surface); }

.btn--invert { --btn-bg: var(--color-text-invert); --btn-fg: var(--color-primary); }

.btn--sm { min-height: 40px; padding: var(--s-2) var(--s-5); }
.btn--block { width: 100%; }

/* Secondary action = a plain text link, never a second filled button */
.link-quiet {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm);
  color: var(--color-text); text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.link-quiet:hover { color: var(--color-accent); border-color: var(--color-accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; font-size: var(--fs-sm); color: var(--color-accent);
  text-decoration: none;
}
.link-arrow svg { transition: transform var(--dur-1) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none;
        stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }

/* =========================================================================
   Utility bar + header
   ========================================================================= */

.topbar {
  background: var(--color-primary);
  color: var(--color-secondary);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); min-height: 40px; flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.topbar a { color: var(--color-text-invert); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar a:hover { color: var(--color-secondary); }
.topbar__note { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height var(--dur-2) var(--ease);
}
.site-header.is-condensed { box-shadow: var(--sh-1); }
.site-header.is-condensed .site-header__inner { height: 60px; }
.site-header.is-condensed .brand__logo { height: 30px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 42px; width: auto; transition: height var(--dur-2) var(--ease); }

.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav__list { display: flex; align-items: center; gap: var(--s-5); list-style: none; }
.nav__link {
  position: relative;
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  color: var(--color-text); padding-block: var(--s-2);
  transition: color var(--dur-1) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav__link:hover { color: var(--color-accent); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-accent); }

.header__actions { display: flex; align-items: center; gap: var(--s-4); }

/* Language switcher */
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  overflow: hidden;
}
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.lang__btn[aria-pressed="true"] { background: var(--color-primary); color: var(--color-text-invert); }
.lang--invert { border-color: var(--line-invert); }
.lang--invert .lang__btn { color: var(--color-secondary); }
.lang--invert .lang__btn[aria-pressed="true"] { background: var(--color-text-invert); color: var(--color-primary); }

/* Mobile menu */
.burger {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  cursor: pointer;
}
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: var(--color-bg);
  padding: var(--s-5) var(--gutter) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-6);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease), visibility var(--dur-3);
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__list { list-style: none; display: flex; flex-direction: column; }
.drawer__list a {
  display: block; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700;
  letter-spacing: var(--tr-head); text-decoration: none;
}
.drawer__list a[aria-current="page"] { color: var(--color-accent); }

/* =========================================================================
   Hero — asymmetric 7/5, ≥40% negative space
   ========================================================================= */

.hero { padding-block: clamp(56px, 8vw, 128px) clamp(64px, 8vw, 120px); position: relative; }
.hero__grid { align-items: center; row-gap: var(--s-8); }
.hero__copy { grid-column: span 7; }
.hero__visual { grid-column: span 5; }
.hero h1 { margin-bottom: var(--s-5); max-width: 14ch; }
.hero .lead { max-width: 44ch; }
.hero__actions {
  display: flex; align-items: center; gap: var(--s-6);
  flex-wrap: wrap; margin-top: var(--s-7);
}
.hero__meta {
  display: flex; gap: var(--s-6); flex-wrap: wrap;
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--color-muted);
}
.hero__meta strong { color: var(--color-text); font-weight: 700; display: block; font-size: var(--fs-md); }

/* Signature device: motion arcs echoing the logo mark. The one gradient moment. */
.arcs { position: relative; aspect-ratio: 4 / 5; }
.arcs__svg { width: 100%; height: 100%; }
.arcs__card {
  position: absolute; left: 0; bottom: var(--s-6);
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: var(--s-5);
  max-width: 260px;
}
.arcs__card-label { font-size: var(--fs-xs); letter-spacing: var(--tr-eyebrow); color: var(--color-muted); font-weight: 700; }
.arcs__card-value { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; letter-spacing: var(--tr-head); margin-top: var(--s-1); white-space: nowrap; }
.arcs__card-note { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-2); }

/* =========================================================================
   Quick actions — a hairline row, deliberately not cards
   ========================================================================= */

.quick { border-block: 1px solid var(--line); }
.quick__list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.quick__list li + li { border-left: 1px solid var(--line); }
.quick__item {
  display: flex; align-items: flex-start; gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  text-decoration: none; height: 100%;
  transition: background-color var(--dur-1) var(--ease);
}
.quick__item:hover { background: var(--color-surface); }
.quick__item:hover .quick__title { color: var(--color-accent); }
.quick__item svg { color: var(--color-accent); }
.quick__title { display: block; font-weight: 700; font-size: var(--fs-sm); transition: color var(--dur-1) var(--ease); }
.quick__desc { display: block; font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-2); }

/* =========================================================================
   Beschwerde-Finder — the signature interactive moment
   ========================================================================= */

.finder__grid { align-items: start; row-gap: var(--s-7); }
.finder__figure { grid-column: span 5; position: relative; }
.finder__panel  { grid-column: span 7; }

.bodymap {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--color-surface) 0%, var(--color-surface-2) 70%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-6);
}
/* The stage matches the SVG viewBox ratio (300:400) exactly, so a hotspot at
   left:x/300 top:y/400 lands on the same spot as in the drawing. */
.bodymap__stage { position: relative; aspect-ratio: 3 / 4; }
.bodymap__svg { width: 100%; height: 100%; display: block; color: var(--color-secondary); }

.hot {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--color-surface);
  box-shadow: var(--sh-1);
  cursor: pointer;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);   /* centre the dot on its coordinate */
  transition: transform var(--dur-1) var(--ease),
              background-color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}
.hot::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-secondary);
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.hot:hover { transform: translate(-50%, -50%) scale(1.09); box-shadow: var(--sh-2); }
.hot[aria-pressed="true"] {
  background: var(--color-accent); border-color: var(--color-accent);
  box-shadow: var(--sh-2);
}
.hot[aria-pressed="true"]::after { background: var(--color-text-invert); transform: scale(1.2); }

/* Name the region on hover/focus, and permanently for the active one. */
.hot__label {
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  padding: 4px var(--s-3);
  border-radius: var(--r-pill);
  background: var(--color-primary); color: var(--color-text-invert);
  font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-1) var(--ease);
}
.hot:hover .hot__label,
.hot:focus-visible .hot__label { opacity: 1; }
.hot[aria-pressed="true"] .hot__label { opacity: 1; background: var(--color-accent); }

/* Coordinates read straight off the SVG: left = x/300, top = y/400. */
.hot--schulter    { left: 36.0%; top: 24.0%; }   /* 108,  96 */
.hot--ellenbogen  { left: 29.3%; top: 38.0%; }   /*  88, 152 */
.hot--hand        { left: 24.7%; top: 53.0%; }   /*  74, 212 */
.hot--huefte      { left: 59.3%; top: 53.5%; }   /* 178, 214 */
.hot--knie        { left: 56.0%; top: 73.0%; }   /* 168, 292 */
.hot--sprunggelenk{ left: 55.3%; top: 92.0%; }   /* 166, 368 */

.finder__result {
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
}
.finder__result h3 { margin-bottom: var(--s-3); }
.finder__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); list-style: none; }
.tag {
  font-size: var(--fs-xs); font-weight: 700;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  background: var(--color-accent-wash); color: var(--color-accent-ink);
}
.finder__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-top: var(--s-5); }
.finder__col h4 { font-size: var(--fs-sm); letter-spacing: var(--tr-eyebrow); text-transform: none; color: var(--color-muted); margin-bottom: var(--s-3); }
.ticklist { list-style: none; display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.ticklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.ticklist svg { color: var(--color-accent); margin-top: 2px; }
.finder__foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line);
                display: flex; gap: var(--s-5); align-items: center; flex-wrap: wrap; }
.finder__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin-top: var(--s-5); }
.chip {
  background: none; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-xs); font-weight: 700;
  transition: all var(--dur-1) var(--ease);
}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.chip[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-invert); }

/* =========================================================================
   Bento — Fachbereiche (mixed sizes, never a uniform 3-card row)
   ========================================================================= */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.bento__item {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: var(--s-3);
  min-height: 240px;
  padding: var(--s-6);
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.bento__item--wide  { grid-column: span 4; min-height: 280px; }
.bento__item--tall  { grid-column: span 2; grid-row: span 2; }
.bento__item--half  { grid-column: span 2; }
.bento__item--third { grid-column: span 2; }
.bento__item--feature {
  grid-column: span 4;
  background: linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-2) 100%);
  color: var(--color-text-invert);
  border-color: transparent;
}
.bento__item--feature .bento__desc { color: var(--color-muted-invert); }
/* Tiles that carry an illustration go full-bleed: image on top, padded copy below. */
.bento__item--media { padding: 0; overflow: hidden; justify-content: flex-start; }
.bento__media {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-surface-2);
}
.bento__item--media .bento__content {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
}
.bento__item--tall.bento__item--media .bento__media { aspect-ratio: 4 / 3; }

.bento__icon { color: var(--color-accent); margin-bottom: auto; }
.bento__item--feature .bento__icon { color: var(--color-secondary); }
.bento__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; letter-spacing: var(--tr-head); }
.bento__desc { color: var(--color-muted); font-size: var(--fs-sm); max-width: 42ch; }
.bento__more { font-size: var(--fs-xs); font-weight: 700; color: var(--color-accent); display: inline-flex; align-items: center; gap: var(--s-2); }
.bento__item--feature .bento__more { color: var(--color-secondary); }

/* =========================================================================
   Comparison — ambulant vs. stationär (no cards at all)
   ========================================================================= */

.compare { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; }
.compare__row { display: contents; }
.compare__cell {
  padding: var(--s-5) var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.compare__cell--head {
  border-top: 0; border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-md); letter-spacing: var(--tr-head);
  padding-bottom: var(--s-4);
}
.compare__cell--label { font-weight: 700; color: var(--color-text); }
.compare__cell--muted { color: var(--color-muted); }
.compare__cell--own { background: var(--color-accent-wash); }
.compare__pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; color: var(--color-accent-ink);
}

/* =========================================================================
   Stats — big tabular numbers on hairlines
   ========================================================================= */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stat { padding-top: var(--s-5); border-top: 2px solid var(--color-primary); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-xl); font-weight: 800; letter-spacing: var(--tr-display);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-2); }
.stat__note { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-1); }

/* =========================================================================
   Team
   ========================================================================= */

.team { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.team__card {
  grid-column: span 3;
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.team__card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.team__card--lead { grid-column: span 12; }

/* One aspect ratio, one treatment, one radius across every portrait. */
.team__photo {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--r-md);
  background: var(--color-surface-2);
  margin-bottom: var(--s-5);
}
/* The featured card runs the portrait beside the text instead of above it — a
   landscape crop of a portrait just yields a giant head. */
.team__card--lead {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: var(--s-6);
  align-items: start;
}
.team__card--lead .team__photo { margin-bottom: 0; aspect-ratio: 4 / 5; object-position: center 12%; }

.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary); color: var(--color-text-invert);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-5);
}
.avatar--accent { background: var(--color-accent); }
.team__name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; letter-spacing: var(--tr-head); }
.team__role { font-size: var(--fs-sm); color: var(--color-accent); font-weight: 700; margin-top: var(--s-1); }
.team__bio { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-4); }
.team__creds { list-style: none; margin-top: var(--s-4); display: grid; gap: var(--s-2); font-size: var(--fs-xs); color: var(--color-muted); }
.team__creds li { display: flex; gap: var(--s-2); }
.team__creds svg { color: var(--color-secondary); }

/* =========================================================================
   Timeline — Ablauf am OP-Tag
   ========================================================================= */

.timeline { list-style: none; position: relative; padding-left: var(--s-8); }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line-strong);
}
.timeline__item { position: relative; padding-bottom: var(--s-7); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: calc(var(--s-8) * -1 + 9px); top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--color-bg); border: 2px solid var(--color-secondary);
}
.timeline__item--accent::before { border-color: var(--color-accent); background: var(--color-accent); }
.timeline__time {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--color-accent);
  letter-spacing: 0.04em;
}
.timeline__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; margin-top: var(--s-1); letter-spacing: var(--tr-head); }
.timeline__desc { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-2); max-width: 56ch; }

/* =========================================================================
   Testimonials — one pull-quote, two supporting
   ========================================================================= */

.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); align-items: start; }
.quote {
  grid-column: span 4;
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.quote--lead {
  grid-column: span 6;
  background: var(--color-surface-2);
  border-color: transparent;
  padding: clamp(var(--s-6), 4vw, var(--s-8));
}
.quote__text { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 300; line-height: 1.45; letter-spacing: -0.01em; }
.quote--lead .quote__text { font-size: var(--fs-lg); }
.quote__stars { display: flex; gap: 2px; color: var(--color-accent); margin-bottom: var(--s-4); }
.quote__who { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.quote__avatar { width: 40px; height: 40px; font-size: var(--fs-xs); margin: 0; }
.quote__name { display: block; font-size: var(--fs-sm); font-weight: 700; }
.quote__meta { display: block; font-size: var(--fs-xs); color: var(--color-muted); }

/* =========================================================================
   Accent band — Arbeitsunfälle
   ========================================================================= */

.band { border-top: 4px solid var(--color-accent); background: var(--color-surface); }
.band__grid { align-items: center; row-gap: var(--s-6); }
.band__copy { grid-column: span 7; }
.band__side { grid-column: span 5; }
.band__facts { list-style: none; display: grid; gap: var(--s-4); }
.band__facts li { display: flex; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.band__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.band__facts li > span { flex: 1 1 auto; }
.band__facts .btn { align-self: center; }
.band__facts li > span > span { display: block; }
.band__facts svg { color: var(--color-accent); }
.band__facts strong { display: block; font-size: var(--fs-sm); }
.band__facts span { font-size: var(--fs-xs); color: var(--color-muted); }

/* =========================================================================
   FAQ accordion
   ========================================================================= */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  background: none; border: 0; cursor: pointer;
  padding: var(--s-5) 0;
  text-align: left;
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700;
  letter-spacing: var(--tr-head);
  transition: color var(--dur-1) var(--ease);
}
.faq__btn:hover { color: var(--color-accent); }
.faq__icon { flex: none; transition: transform var(--dur-2) var(--ease); color: var(--color-accent); }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.faq__panel[data-open="true"] { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; }
.faq__inner p { color: var(--color-muted); max-width: 68ch; padding-bottom: var(--s-5); font-size: var(--fs-sm); }

/* =========================================================================
   Location + static map
   ========================================================================= */

.location__grid { row-gap: var(--s-7); align-items: start; }
.location__info { grid-column: span 5; }
.location__map  { grid-column: span 7; }

.mapfig {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: var(--sh-1);
}
/* Only the map itself — not the icons inside the caption. */
.mapfig > svg { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.mapfig__cap {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--color-muted);
  background: var(--color-surface);
  flex-wrap: wrap;
}

.hours { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.hours li { display: flex; justify-content: space-between; gap: var(--s-4);
            padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.hours span:last-child { font-variant-numeric: tabular-nums; color: var(--color-muted); }
.hours li.is-today { color: var(--color-accent); font-weight: 700; }
.hours li.is-today span:last-child { color: var(--color-accent); }

.openflag {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700;
  padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: var(--color-surface-2);
}
.openflag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-muted); }
.openflag.is-open { color: var(--color-success); }
.openflag.is-open .openflag__dot { background: var(--color-success); }

.infolist { list-style: none; display: grid; gap: var(--s-4); }
.infolist li { display: flex; gap: var(--s-4); }
.infolist svg { color: var(--color-accent); }
.infolist strong { display: block; font-size: var(--fs-sm); }
.infolist span { font-size: var(--fs-sm); color: var(--color-muted); }

/* =========================================================================
   Forms — all inert
   ========================================================================= */

.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; color: var(--color-muted); }
.field__control {
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  background: var(--color-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field__control:hover { border-color: var(--color-muted); }
.field__control:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-wash); }
textarea.field__control { min-height: 120px; resize: vertical; }
.field__hint { font-size: var(--fs-xs); color: var(--color-muted); }

.slots { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.slot {
  background: var(--color-surface); cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: all var(--dur-1) var(--ease);
}
.slot:hover { border-color: var(--color-accent); color: var(--color-accent); }
.slot[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text-invert); }

.consent { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-xs); color: var(--color-muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--color-accent); flex: none; margin-top: 2px; }

.formsuccess {
  display: none;
  border: 1px solid var(--color-success);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  background: var(--color-surface);
}
.formsuccess.is-visible { display: block; }
.formsuccess__title { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 800; color: var(--color-success); }
.formsuccess__body { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-3); }

/* Booking dialog */
.modal {
  position: fixed; inset: 0; z-index: 160;
  display: none; place-items: center;
  padding: var(--gutter);
  background: rgba(15, 20, 25, .55);
}
.modal.is-open { display: grid; }
.modal__box {
  width: min(100%, 720px); max-height: 88vh; overflow-y: auto;
  background: var(--color-bg);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  padding: clamp(var(--s-5), 4vw, var(--s-8));
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.modal__close {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer;
}
.modal__close:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================================================
   Demo mode switch — jump between the public site and the staff area.
   A presentation aid for the client meeting; delete it before launch.
   ========================================================================= */

.modeswitch {
  position: fixed; right: 16px; bottom: 16px;
  z-index: 170;
  display: flex; gap: 2px; padding: 4px;
  background: var(--color-primary);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(15, 20, 25, .30);
  transition: bottom var(--dur-2) var(--ease);
}
.modeswitch__btn {
  border: 0; background: none; cursor: pointer; text-decoration: none;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
  color: var(--color-muted-invert);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.modeswitch__btn:hover { color: var(--color-text-invert); }
.modeswitch__btn[aria-current="true"] {
  background: var(--color-surface); color: var(--color-primary);
}
/* Three things want the bottom of the screen: the cookie strip, the mode switch
   and the toast. They stack in that order and never overlap. */
body.has-cookiebar .modeswitch { bottom: 104px; }
body.has-cookiebar .toast      { bottom: 170px; }
@media (max-width: 640px) {
  body.has-cookiebar .modeswitch { bottom: 184px; }
  body.has-cookiebar .toast      { bottom: 250px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 84px;
  transform: translate(-50%, 200%);
  z-index: 190;
  display: flex; align-items: center; gap: var(--s-3);
  background: var(--color-primary); color: var(--color-text-invert);
  padding: var(--s-4) var(--s-6);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-3);
  font-size: var(--fs-sm); font-weight: 600;
  max-width: calc(100% - var(--s-8));
  /* Hide it properly. Moving it off-screen alone is not enough — an empty toast
     still renders as a dark blob wherever the transform happens to land it. */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--dur-3) var(--ease),
              opacity var(--dur-2) var(--ease),
              visibility var(--dur-3);
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

/* =========================================================================
   Final CTA + footer — the ONE inverted zone, contiguous
   ========================================================================= */

.cta-band {
  background: var(--color-primary);
  color: var(--color-text-invert);
  padding-block: clamp(64px, 8vw, 128px);
}
.cta-band__grid { align-items: center; row-gap: var(--s-6); }
.cta-band__copy { grid-column: span 7; }
.cta-band__side { grid-column: span 5; display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; }
.cta-band h2 { max-width: 16ch; }
.cta-band .lead { color: var(--color-muted-invert); }
.cta-band .link-quiet { color: var(--color-text-invert); border-color: var(--line-invert); }
.cta-band .link-quiet:hover { color: var(--color-secondary); border-color: var(--color-secondary); }

.site-footer {
  background: var(--color-primary-2);
  color: var(--color-secondary);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--color-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--color-text-invert); }
.footer__grid { row-gap: var(--s-7); }
.footer__brand { grid-column: span 4; }
.footer__logo { height: 40px; width: auto; margin-bottom: var(--s-5); }
.footer__col { grid-column: span 2; }
.footer__col h3 { font-size: var(--fs-xs); letter-spacing: var(--tr-eyebrow); color: var(--color-text-invert); margin-bottom: var(--s-4); font-weight: 700; }
.footer__list { list-style: none; display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-invert);
  display: grid; place-items: center;
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.footer__social a:hover { border-color: var(--color-secondary); transform: translateY(-2px); }
.footer__bottom {
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line-invert);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-5); flex-wrap: wrap;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; list-style: none; }
.demo-note {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--color-secondary); opacity: .85;
}
.demo-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.to-top { display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }

/* =========================================================================
   Cookie banner — visual only, stores and tracks nothing
   ========================================================================= */

/* A slim bottom strip — it must never cover the hero headline or its CTA. */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 180;
  background: color-mix(in srgb, var(--color-surface) 96%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgba(15, 20, 25, .06);
  padding: var(--s-4) var(--gutter);
  display: none;
  align-items: center; gap: var(--s-5); flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform var(--dur-3) var(--ease);
}
.cookie.is-visible { display: flex; transform: translateY(0); }
.cookie__copy { flex: 1 1 340px; min-width: 0; }
.cookie__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); }
.cookie__text { font-size: var(--fs-xs); color: var(--color-muted); margin-top: 2px; }
.cookie__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

@media (max-width: 640px) {
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

/* =========================================================================
   Sub-page hero + prose
   ========================================================================= */

.pagehead { padding-block: clamp(48px, 6vw, 96px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.pagehead__grid { align-items: end; row-gap: var(--s-5); }
.pagehead__copy { grid-column: span 8; }
.pagehead__side { grid-column: span 4; }
.breadcrumb { display: flex; gap: var(--s-2); font-size: var(--fs-xs); color: var(--color-muted); list-style: none; margin-bottom: var(--s-4); flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: var(--s-4); color: var(--color-muted); font-size: var(--fs-sm); }
.prose ul, .prose ol { padding-left: var(--s-5); display: grid; gap: var(--s-2); }
.prose li { padding-left: var(--s-1); }
.prose strong { color: var(--color-text); }
/* Label/value rows (Impressum-style lists): keep the pair on two lines. */
.prose li > strong { display: block; }
.prose li > strong + span { display: block; color: var(--color-muted); }
.prose a { color: var(--color-accent); }

.toc { list-style: none; display: grid; gap: var(--s-3); position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.toc a { font-size: var(--fs-sm); text-decoration: none; color: var(--color-muted); border-left: 2px solid var(--line); padding-left: var(--s-4); display: block; }
.toc a:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* Generic feature list used on the lighter pages */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.feature {
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feature__icon { color: var(--color-accent); margin-bottom: var(--s-5); }
.feature h3 { font-size: var(--fs-md); }
.feature p { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-3); }

.notice {
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-wash);
  padding: var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-sm);
}
.notice strong { display: block; margin-bottom: var(--s-2); }

/* 404 */
.notfound { display: grid; place-items: center; text-align: left; padding-block: clamp(72px, 12vw, 180px); }
.notfound__code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 18vw, 12rem); line-height: 1;
  letter-spacing: var(--tr-display);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Scroll reveal — only when JS is on, so no-JS still shows everything
   ========================================================================= */

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.js .reveal.is-in:nth-child(2) { transition-delay: 60ms; }
.js .reveal.is-in:nth-child(3) { transition-delay: 120ms; }
.js .reveal.is-in:nth-child(4) { transition-delay: 180ms; }
.js .reveal.is-in:nth-child(5) { transition-delay: 240ms; }

/* Placeholders reserve space so injected chrome does not shift layout */
#site-header { min-height: calc(var(--header-h) + 40px); display: block; }
#site-footer { display: block; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__item--wide, .bento__item--feature { grid-column: span 4; }
  .bento__item--tall { grid-column: span 2; grid-row: span 1; }
  .team__card { grid-column: span 6; }
  .team__card--lead { grid-column: span 12; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  /* Every multi-column split becomes a single column. */
  .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  /* The CTA lives in the drawer on small screens — keeping it in the bar
     overflows the header, because buttons must not shrink. */
  .site-header__inner .header__actions .btn { display: none; }
  .hero__copy, .hero__visual,
  .finder__figure, .finder__panel,
  .band__copy, .band__side,
  .location__info, .location__map,
  .cta-band__copy, .cta-band__side,
  .pagehead__copy, .pagehead__side { grid-column: span 12; }
  .quotes .quote, .quotes .quote--lead { grid-column: span 12; }
  .quick__list { grid-template-columns: repeat(2, 1fr); }
  .quick__list li:nth-child(odd) { border-left: 0; }
  .quick__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 12; }
  .footer__col { grid-column: span 6; }
  .toc { position: static; }
  .arcs { aspect-ratio: 4 / 3; }
  .compare { grid-template-columns: 1fr; }
  .compare__cell { padding: var(--s-3) 0; }
  .compare__cell--head { padding-top: var(--s-5); }
  .compare__cell--own { background: none; }
}

@media (max-width: 640px) {
  h1, h2, h3 { hyphens: auto; }
  .bento, .team { grid-template-columns: repeat(2, 1fr); }
  .team__card--lead { grid-template-columns: 1fr; }
  .team__card--lead .team__photo { margin-bottom: var(--s-5); }
  .bento__item, .bento__item--wide, .bento__item--feature,
  .bento__item--tall, .bento__item--half, .bento__item--third { grid-column: span 2; min-height: 0; }
  .team__card { grid-column: span 1; min-height: 0; }
  .team__card--lead { grid-column: span 2; }
  .quick__list { grid-template-columns: 1fr; }
  .quick__list li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .quick__list li:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr; }
  .finder__cols, .form__row { grid-template-columns: 1fr; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  /* Rows that pair long German labels with a nowrap control must wrap here. */
  .band__facts li, .hours li { flex-wrap: wrap; }
  .band__facts .btn { align-self: flex-start; }
  .footer__col { grid-column: span 12; }
  .arcs__card { position: static; max-width: none; margin-top: var(--s-5); }
}

/* =========================================================================
   Motion preferences & print
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .cookie, .toast, .modal, .to-top, .cart, .cart-scrim { display: none !important; }
  body { background: #fff; }
}

/* =========================================================================
   RESTAURANT COMPONENTS — Flavoria
   Everything below is specific to the restaurant template.
   ========================================================================= */

/* ---- Script accent (the "Welcome to Flavoria" flourish) ------------- */
.script {
  font-family: var(--font-script);
  font-size: var(--fs-lg);
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0;
}
.eyebrow--gold { color: var(--color-accent); }
.eyebrow--gold::before { background: var(--color-accent); }
.text-gold { color: var(--color-accent); }
h1 .text-gold, h2 .text-gold { color: var(--color-accent); }

/* Ornamental centred divider under headings */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-3); color: var(--color-accent); margin-top: var(--s-3);
}
.ornament::before, .ornament::after {
  content: ""; width: 46px; height: 1px; background: currentColor; opacity: .5;
}
.section__head { text-align: center; max-width: 60ch; margin-inline: auto; margin-bottom: var(--s-8); }
.section__head .lead { margin-inline: auto; }

/* ---- Hero — fine dining ------------------------------------------- */
.hero--dining { padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 112px); }
.hero__visual .hero__plate {
  position: relative; width: 100%; max-width: 560px; margin-inline: auto;
}
.hero__plate img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; display: block;
  position: relative; z-index: 2; box-shadow: 0 30px 50px rgba(30, 26, 20, .28); border-radius: 50%; }
.hero__ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 1px solid var(--color-gold); opacity: .5; z-index: 1;
}
.hero__ring--2 { inset: -2%; border-style: dashed; opacity: .3; }
.hero__leaf { position: absolute; z-index: 3; color: var(--color-accent); opacity: .8; }
.hero__dots { display: flex; gap: var(--s-2); margin-top: var(--s-7); }
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--color-accent);
  background: transparent; cursor: pointer; padding: 0;
}
.hero__dot[aria-pressed="true"] { background: var(--color-accent); }

/* ---- Category thumbnails row -------------------------------------- */
.cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr);
  gap: var(--s-5); overflow-x: auto; padding-bottom: var(--s-3);
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.cat {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
  text-decoration: none; color: var(--color-text); scroll-snap-align: start;
  padding: var(--s-2); border-radius: var(--r-md); transition: transform var(--dur-2) var(--ease);
}
.cat:hover { transform: translateY(-4px); }
.cat__img {
  width: 108px; height: 108px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--color-gold); background: var(--color-surface);
  box-shadow: var(--sh-2);
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__name { font-weight: 600; font-size: var(--fs-sm); text-align: center; }

/* ---- Filter pills row --------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-bottom: var(--s-7); }

/* ---- Dish cards ---------------------------------------------------- */
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-5);
}
.dish {
  background: var(--color-surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-1); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.dish__media { position: relative; aspect-ratio: 5 / 4; background: var(--color-surface-2); overflow: hidden; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish__badge {
  position: absolute; top: var(--s-3); left: var(--s-3);
  background: var(--color-accent); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: .04em; text-transform: uppercase;
}
.dish__badge--new { background: var(--color-success); }
.dish__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.dish__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); }
.dish__tags { font-size: var(--fs-xs); color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }
.dish__desc { font-size: var(--fs-sm); color: var(--color-muted); line-height: 1.5; }
.dish__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-2); }
.dish__price { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); color: var(--color-accent); }
.dish__add {
  display: inline-flex; align-items: center; gap: var(--s-2); border: 0; cursor: pointer;
  background: var(--color-primary); color: var(--color-text-invert);
  font-weight: 600; font-size: var(--fs-sm); padding: 8px 14px; border-radius: var(--r-pill);
  font-family: var(--font-body); transition: background var(--dur-1), transform var(--dur-1);
}
.dish__add:hover { background: var(--color-accent); transform: translateY(-2px); }
.dish__add .icon { width: 18px; height: 18px; }

/* Rating stars */
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--color-star); }
.stars .icon { width: 15px; height: 15px; }
.stars__num { color: var(--color-muted); font-size: var(--fs-xs); margin-left: var(--s-1); }

/* ---- Section: our menu categories header row ---------------------- */
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 5;
  background: var(--color-bg); border-block: 1px solid var(--line);
  display: flex; gap: var(--s-4); overflow-x: auto; padding: var(--s-3) 0;
  scrollbar-width: thin;
}
.menu-nav a {
  white-space: nowrap; text-decoration: none; color: var(--color-muted);
  font-weight: 600; font-size: var(--fs-sm); padding: 6px 14px; border-radius: var(--r-pill);
}
.menu-nav a:hover { color: var(--color-accent); }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 72px); }
.menu-cat__head { display: flex; align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-5); }
.menu-cat__head h2 { font-size: var(--fs-xl); }
.menu-cat__head .rule { flex: 1; height: 1px; background: var(--line); }

/* Compact menu list rows (leaders between name and price) */
.menu-list { display: grid; gap: var(--s-4); }
.menu-row { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-4); align-items: center; }
.menu-row__thumb { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; background: var(--color-surface-2); }
.menu-row__main { min-width: 0; }
.menu-row__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.menu-row__desc { font-size: var(--fs-sm); color: var(--color-muted); }
.menu-row__end { display: flex; align-items: center; gap: var(--s-4); }
.menu-row__price { font-family: var(--font-display); font-weight: 700; color: var(--color-accent); white-space: nowrap; }

.diet { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--color-muted); text-transform: uppercase; letter-spacing: .04em; }
.diet--v { color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 45%, transparent); }
.diet--spicy { color: var(--color-error); border-color: color-mix(in srgb, var(--color-error) 45%, transparent); }

/* ---- Icon-add button (round, for menu list rows) ------------------ */
.add-round {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: #fff; box-shadow: var(--sh-1);
  transition: transform var(--dur-1), background var(--dur-1);
}
.add-round:hover { transform: scale(1.08); background: var(--color-accent-ink); }
.add-round .icon { width: 20px; height: 20px; }

/* ---- Features strip ----------------------------------------------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.feat { display: flex; gap: var(--s-4); align-items: flex-start; }
.feat__icon {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-accent-wash); color: var(--color-accent);
}
.feat__icon .icon { width: 26px; height: 26px; }
.feat h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.feat p { font-size: var(--fs-sm); color: var(--color-muted); }

/* ---- Story block --------------------------------------------------- */
.story__grid { align-items: center; row-gap: var(--s-7); }
.story__media { grid-column: span 6; position: relative; }
.story__media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--sh-3); display: block; }
.story__body { grid-column: span 6; }
.badge-years {
  position: absolute; right: -14px; bottom: -14px; width: 128px; height: 128px;
  border-radius: 50%; background: var(--color-surface); border: 1px solid var(--color-gold);
  display: grid; place-items: center; text-align: center; box-shadow: var(--sh-2); padding: var(--s-3);
}
.badge-years strong { font-family: var(--font-display); font-size: 2rem; color: var(--color-accent); line-height: 1; }
.badge-years span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--color-muted); }

/* ---- Offer band (dark, candlelit) --------------------------------- */
.offer {
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(201,154,78,.22), transparent 60%),
    var(--color-primary);
  color: var(--color-text-invert); text-align: center;
  border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px) var(--s-6);
  border: 1px solid var(--line-invert);
}
.offer .eyebrow { color: var(--color-gold); }
.offer h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.offer h2 .text-gold { color: var(--color-gold); }
.offer .lead { color: var(--color-muted-invert); max-width: 52ch; margin-inline: auto; }
.offer__actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; margin-top: var(--s-6); }

/* ---- Book-a-table band -------------------------------------------- */
.booktable {
  background: var(--color-surface-2); border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
}
.booktable__body { padding: clamp(28px, 4vw, 56px); }
.booktable__media { align-self: stretch; }
.booktable__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Steps (how delivery / reservation works) --------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); counter-reset: step; }
.step { position: relative; padding-top: var(--s-6); }
.step__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--color-gold); line-height: 1; margin-bottom: var(--s-3);
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.step p { font-size: var(--fs-sm); color: var(--color-muted); }

/* ---- Reviews ------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.review {
  background: var(--color-surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-1);
}
.review__quote { font-size: var(--fs-md); line-height: 1.55; margin: var(--s-4) 0; }
.review__who { display: flex; align-items: center; gap: var(--s-3); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-accent-wash); color: var(--color-accent); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.review__name { font-weight: 700; }
.review__role { font-size: var(--fs-sm); color: var(--color-muted); }

/* ---- Gallery ------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }

/* ---- Newsletter ---------------------------------------------------- */
.newsletter { display: flex; gap: var(--s-3); max-width: 480px; margin-top: var(--s-5); flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; }

/* =========================================================================
   CART DRAWER + CHECKOUT
   ========================================================================= */
.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--r-pill); background: var(--color-accent); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--font-body);
}
.cart-btn__count[hidden] { display: none; }

.cart-scrim {
  position: fixed; inset: 0; background: rgba(20,17,12,.5); opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2), visibility var(--dur-2); z-index: 60;
}
.cart-scrim.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--color-bg); z-index: 61; transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease); display: flex; flex-direction: column;
  box-shadow: -20px 0 50px rgba(20,17,12,.2);
}
.cart.is-open { transform: translateX(0); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-5); border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: var(--fs-lg); }
.cart__body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5); }
.cart__empty { text-align: center; color: var(--color-muted); padding: var(--s-9) var(--s-4); }
.cart__empty .icon { width: 48px; height: 48px; color: var(--line-strong); margin-bottom: var(--s-3); }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.cart-line__thumb { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: var(--color-surface-2); }
.cart-line__name { font-weight: 600; font-size: var(--fs-sm); }
.cart-line__price { font-size: var(--fs-xs); color: var(--color-muted); }
.cart-line__end { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); }
.qty button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--color-text); display: grid; place-items: center; }
.qty button:hover { color: var(--color-accent); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: var(--fs-sm); }
.cart-line__sum { font-weight: 700; font-size: var(--fs-sm); color: var(--color-accent); }
.cart__foot { border-top: 1px solid var(--line); padding: var(--s-5); background: var(--color-surface); }
.cart__row { display: flex; justify-content: space-between; font-size: var(--fs-sm); margin-bottom: var(--s-2); color: var(--color-muted); }
.cart__row--total { color: var(--color-text); font-weight: 700; font-size: var(--fs-md); font-family: var(--font-display); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.cart__note { font-size: var(--fs-xs); color: var(--color-muted); margin: var(--s-3) 0; display: flex; gap: var(--s-2); align-items: flex-start; }
.cart__note .icon { flex: none; width: 16px; height: 16px; color: var(--color-accent); margin-top: 1px; }

/* Payment method — cash on delivery, the only option */
.paymethod {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4);
  border: 1.5px solid var(--color-accent); border-radius: var(--r-md); background: var(--color-accent-wash);
}
.paymethod__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-surface); display: grid; place-items: center; color: var(--color-accent); }
.paymethod__t { font-weight: 700; }
.paymethod__d { font-size: var(--fs-sm); color: var(--color-muted); }
.paymethod__check { margin-left: auto; color: var(--color-accent); }
.paymethod--soon { border-color: var(--line-strong); background: transparent; opacity: .6; }
.paymethod--soon .paymethod__icon { color: var(--color-muted); }

/* Checkout layout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: start; }
.checkout__summary { position: sticky; top: calc(var(--header-h) + var(--s-4)); background: var(--color-surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-1); }
.checkout__summary h3 { margin-bottom: var(--s-4); }
.zone-tag { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--color-success); }

/* =========================================================================
   Restaurant responsive
   ========================================================================= */
@media (max-width: 980px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .booktable { grid-template-columns: 1fr; }
  .booktable__media { min-height: 220px; }
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; }
  .story__media, .story__body { grid-column: span 12; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .feats { grid-template-columns: 1fr; }
  .reviews-grid, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .menu-row { grid-template-columns: 52px 1fr auto; }
  .menu-row__thumb { width: 52px; height: 52px; }
}

/* ---- Small restaurant utilities ----------------------------------- */
.topbar__hours { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.prose-p { margin-bottom: var(--s-4); color: var(--color-muted); }
.story__body .prose-p { color: var(--color-text); }
.openflag__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-error); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-error) 20%, transparent); }
.openflag.is-open .openflag__dot { background: var(--color-success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 20%, transparent); }
.openflag.is-open [data-openflag-label] { color: var(--color-success); }
.footer__hours li { display: flex; justify-content: space-between; gap: var(--s-4); }
.btn--disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn--disabled:hover { transform: none; box-shadow: none; }
.cart-btn.is-pulse .cart-btn__count { animation: cartPulse 420ms var(--ease); }
@keyframes cartPulse { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.hero__leaf--tl { top: -8px; left: 4%; }
.hero__leaf--br { bottom: 6%; right: -6px; }
@media (max-width: 720px) { .topbar__hours { display: none; } }
@media (max-width: 900px) { .menu-nav { top: 0; } }

/* Sold-out state (driven by the admin availability toggle via the store) */
.dish__badge--out { background: var(--color-error); color: #fff; }
.dish.is-soldout .dish__media img,
.menu-row.is-soldout .menu-row__thumb { filter: grayscale(1); opacity: .7; }
.dish__add--out {
  border: 1px solid var(--line-strong); background: var(--color-surface-2);
  color: var(--color-muted); cursor: not-allowed;
}
.menu-row__out {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-error); white-space: nowrap;
}

/* Keep the demo mode switch above the cookie bar (z 180) so it is never hidden,
   and give it an accent ring so it is easy to find. */
.modeswitch {
  z-index: 185;
  box-shadow: 0 10px 30px rgba(15, 20, 25, .30),
              0 0 0 3px color-mix(in srgb, var(--color-accent) 55%, transparent);
}
