/* Fonts – lokal gehostet (keine Verbindung zu Google) */
@font-face {
  font-family: "Alan Sans";
  src: url("../fonts/kiwi/alan-sans-normal-300-900-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alan Sans";
  src: url("../fonts/kiwi/alan-sans-normal-300-900-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/kiwi/inter-normal-100-900-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/kiwi/inter-normal-100-900-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/kiwi/instrument-serif-italic-400-latin-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/kiwi/instrument-serif-italic-400-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Café Kiwi – Stylesheet
   Farben: Weiß · Schwarz · Braun (aus dem Logo)
   ========================================================= */

:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --sand: #f1e8dc;
  --sand-2: #e7d9c6;
  --ink: #17110c;
  --ink-2: #3b322b;
  --muted: #6c6058;
  --brown: #8a5329;
  --brown-2: #a8693a;
  --caramel: #c98b4e;
  --brown-dark: #4a2b15;
  --espresso: #120d09;
  --open: #3c9a62;
  --line: rgba(23, 17, 12, .12);
  --line-2: rgba(23, 17, 12, .22);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --gutter: 20px;
  --max: 1400px;
  --bar-h: 0px;
  --header-h: calc(78px + var(--bar-h));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --shadow-s: 0 1px 2px rgba(23, 17, 12, .05), 0 6px 18px rgba(23, 17, 12, .06);
  --shadow-m: 0 24px 60px -24px rgba(23, 17, 12, .4);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Alan Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
}

@media (max-width: 809px) {
  :root {
    --gutter: 16px;
    --bar-h: 0px;
    --header-h: calc(70px + var(--bar-h));
    --radius-l: 20px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

html:not(.lenis) {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Überstehende Deko (Galerie-Fächer, Badge) darf die Seite auf dem Handy nicht verbreitern.
   „clip“ statt „hidden“, damit position: sticky weiter funktioniert. */
main {
  overflow-x: clip;
}

img,
video,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--brown);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Sprungziele (z. B. <main> beim Skip-Link) bekommen den Fokus nur fürs Weitertabben – ohne Rahmen ums ganze Element */
[tabindex="-1"]:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform .3s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: clamp(84px, 9vw, 150px);
}

.section--tight {
  padding-block: clamp(56px, 6vw, 96px);
}

.section--flush-top {
  padding-top: 0;
}

/* ---------- Typo ---------- */
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
  letter-spacing: -.005em;
  font-size: 1.12em;
  line-height: .9;
  padding-right: .05em;
}

.h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.h2 {
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}

.muted {
  color: var(--muted);
}

.label {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
}

.label-line {
  flex: 1;
  height: 1px;
  background: var(--line-2);
  transform-origin: right center;
}

.label-line + span + .label-line {
  transform-origin: left center;
}

.label--left .label-line:first-child {
  display: none;
}

.label--left .label-line {
  transform-origin: left center;
}

.label--light {
  color: #fff;
}

.label--light .label-line {
  background: rgba(255, 255, 255, .3);
}

.head {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-bottom: clamp(44px, 5vw, 76px);
  text-align: center;
}

.head .h2 {
  max-width: 17ch;
}

.head p.lead {
  max-width: 58ch;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(23, 17, 12, .6), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background-color .35s, color .35s, box-shadow .35s;
  will-change: transform;
}

.btn:hover {
  --btn-bg: var(--brown);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  box-shadow: var(--shadow-s);
}

.btn--light:hover,
.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn-label {
  display: inline-grid;
  overflow: hidden;
  padding-block: .2em;
  margin-block: -.2em;
}

.btn-label > span,
.btn-label::after {
  grid-area: 1 / 1;
  transition: transform .6s var(--ease-out);
}

/* 140 % statt 115 %: sonst lugen Umlautpunkte (Ö, Ü) der versteckten Kopie unten heraus */
.btn-label::after {
  content: attr(data-text);
  transform: translateY(140%);
}

.btn:hover .btn-label > span {
  transform: translateY(-140%);
}

.btn:hover .btn-label::after {
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}

.link-arrow:hover {
  background-size: 100% 1px;
  color: var(--brown);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform .45s var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Status (Öffnungszeiten live) ---------- */
.status-dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a39990;
}

.is-open .status-dot {
  background: var(--open);
}

.is-open .status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--open);
  opacity: 0;
  animation: ping 2s var(--ease-out) infinite;
}

@keyframes ping {
  0% {
    transform: scale(.4);
    opacity: .9;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ---------- Live-Öffnungsstatus (Kaffeering-Uhr) ---------- */
.live-chip {
  --lc: #a39990;
  --p: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 20px 7px 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 17, 12, .05), 0 12px 30px -12px rgba(74, 43, 21, .28), inset 0 0 0 1px var(--line);
  color: var(--ink);
  text-align: left;
  transition: box-shadow .5s, background-color .5s;
}

.live-chip:hover {
  box-shadow: 0 1px 2px rgba(23, 17, 12, .05), 0 22px 44px -16px rgba(74, 43, 21, .45), inset 0 0 0 1px var(--line-2);
}

.live-chip[data-state="open"] {
  --lc: #3fae6f;
}

.live-chip[data-state="soon"],
.live-chip[data-state="closing"],
.live-chip[data-state="holiday"] {
  --lc: #e0962f;
}

.live-chip[data-state="closed"] {
  --lc: #d4604f;
}

.live-ring {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fffaf3, var(--sand));
  color: var(--brown);
}

.lr-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.lr-track,
.lr-fill {
  fill: none;
  stroke-width: 4;
}

.lr-track {
  stroke: rgba(201, 139, 78, .2);
}

.lr-fill {
  stroke: url(#lr-grad);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p));
  transition: stroke-dashoffset 1.8s var(--ease-out), stroke .5s;
}

.live-chip[data-state="closed"] .lr-fill {
  stroke: #d9cbbb;
}

.lr-hand {
  position: absolute;
  inset: 0;
  transform: rotate(calc(var(--p) * 3.6deg));
  transition: transform 1.8s var(--ease-out), opacity .4s;
}

.lr-now {
  position: absolute;
  top: -1.5px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2.5px var(--lc), 0 2px 6px rgba(0, 0, 0, .25);
}

.live-chip[data-state="closed"] .lr-hand,
.live-chip[data-state="unknown"] .lr-hand,
.live-chip[data-state="holiday"] .lr-hand {
  opacity: 0;
}

.lr-icon {
  position: relative;
  display: none;
  width: 24px;
  height: 24px;
  overflow: visible;
}

.live-chip[data-icon="cup"] .lr-cup,
.live-chip[data-icon="moon"] .lr-moon,
.live-chip[data-icon="sun"] .lr-sun,
.live-chip[data-state="unknown"] .lr-cup {
  display: block;
  animation: lr-pop .7s var(--ease-out) both;
}

@keyframes lr-pop {
  from {
    opacity: 0;
    transform: scale(.4) rotate(-20deg);
  }
}

.lr-steam path {
  stroke-dasharray: 6;
  animation: lr-steam 2.2s ease-in-out infinite;
}

.lr-steam path:nth-child(2) {
  animation-delay: .7s;
}

@keyframes lr-steam {
  0% {
    stroke-dashoffset: 6;
    opacity: 0;
    transform: translateY(1.5px);
  }

  45% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -6;
    opacity: 0;
    transform: translateY(-2px);
  }
}

.lr-z path {
  animation: lr-z 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.lr-z path:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes lr-z {
  0% {
    opacity: 0;
    transform: translate(-2px, 3px) scale(.6);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(2px, -4px) scale(1);
  }
}

.lr-rays {
  transform-box: view-box;
  transform-origin: 12px 16.5px;
  animation: lr-rays 3s ease-in-out infinite;
}

@keyframes lr-rays {
  50% {
    opacity: .45;
    transform: scale(1.12);
  }
}

.live-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.live-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lc);
  transition: background-color .5s;
}

.live-chip[data-state="open"] .live-dot::after,
.live-chip[data-state="soon"] .live-dot::after,
.live-chip[data-state="closing"] .live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--lc);
  animation: ping 2s var(--ease-out) infinite;
}

.live-sub {
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--muted);
}

.live-badge {
  align-self: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fbefdc;
  color: var(--brown);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.live-badge:empty {
  display: none;
}

.live-go {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brown);
  transition: transform .5s var(--ease-out);
}

.live-chip:hover .live-go {
  transform: translateX(4px);
}

.page-hero-chip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

@media (max-width: 420px) {
  .live-chip {
    gap: 11px;
    padding-right: 14px;
  }

  .live-ring {
    width: 44px;
    height: 44px;
  }

  .live-title {
    font-size: 15px;
  }

  .live-sub {
    font-size: 12.5px;
  }

  .live-go {
    display: none;
  }
}

/* ---------- Header / Navigation ---------- */
.progress {
  position: fixed;
  inset: var(--bar-h) 0 auto;
  z-index: 170;
  height: 2px;
  background: linear-gradient(90deg, var(--brown), var(--caramel));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: var(--bar-h) 0 auto;
  z-index: 150;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
  transition: transform .7s var(--ease-out);
  view-transition-name: site-header;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - var(--bar-h) - 10px));
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
}

.nav > * {
  pointer-events: auto;
}

.glass-pill {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, var(--shadow-s);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 18px 5px 5px;
  transition: box-shadow .4s;
}

.brand {
  gap: 0;
  padding: 4px 20px 4px 4px;
}

.brand-ring {
  width: 44px;
  height: 44px;
  transition: transform 1s var(--ease-out);
}

.brand:hover .brand-ring {
  transform: rotate(-160deg);
}

.brand-word {
  width: auto;
  height: 28px;
  margin-left: 10px;
  transform: translateY(-1px);
}

.nav-links {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 5px;
}

.nav-links a {
  position: relative;
  z-index: 1;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color .35s;
}

.nav-links a.is-pill {
  color: #fff;
}

.nav-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  z-index: 0;
  width: 0;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-s);
}

.menu-toggle span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}

.menu-toggle span:first-child {
  top: 21px;
}

.menu-toggle span:last-child {
  top: 29px;
}

.menu-open .menu-toggle span:first-child {
  top: 25px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 25px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
  background: var(--espresso);
  color: #fff;
  clip-path: circle(0 at calc(100% - var(--gutter) - 26px) calc(var(--bar-h) + 40px));
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
  overflow-y: auto;
}

.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - var(--gutter) - 26px) calc(var(--bar-h) + 40px));
  visibility: visible;
  transition: clip-path .8s var(--ease-in-out), visibility 0s;
}

.menu-open .brand {
  box-shadow: none;
}

.mobile-links {
  display: grid;
  gap: 4px;
}

.mobile-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-head);
  font-size: clamp(40px, 11vw, 60px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s, transform .8s var(--ease-out), color .3s;
}

.mobile-links a small {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--caramel);
}

.mobile-links a[aria-current="page"] {
  color: var(--caramel);
}

.menu-open .mobile-links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(.25s + var(--i, 0) * .07s);
}

.mobile-meta {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  opacity: 0;
  transition: opacity .6s .55s;
}

.menu-open .mobile-meta {
  opacity: 1;
}

.mobile-meta a {
  color: #fff;
  font-weight: 600;
}

.mobile-meta .status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

@media (max-width: 959px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }
}

/* ---------- Bilder ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  isolation: isolate;
}

/* <picture> erzeugt keine eigene Box – das Bild verhält sich wie ein direktes Kind */
picture {
  display: contents;
}

.media > img,
.media > video,
.media > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: max(4px, calc(var(--radius) - 8px));
  pointer-events: none;
}

.parallax {
  position: relative;
  overflow: hidden;
}

.parallax > img,
.parallax > picture > img {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 118%;
  object-fit: cover;
}

/* ---------- Bohnen ---------- */
.beans {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bean {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s, 56px);
  rotate: var(--r, 0deg);
  filter: blur(var(--b, 0px)) drop-shadow(0 16px 14px rgba(60, 30, 8, .28));
}

.bean img {
  width: 100%;
}

@media (max-width: 809px) {
  .bean {
    width: calc(var(--s, 56px) * .62);
  }

  .bean:nth-child(n + 5) {
    display: none;
  }

  .hero .bean:nth-child(1) {
    --x: -5% !important;
    --y: 17% !important;
  }

  .hero .bean:nth-child(2) {
    --x: 88% !important;
    --y: 15% !important;
  }

  .hero .bean:nth-child(3) {
    --x: -3% !important;
    --y: 58% !important;
  }

  .hero .bean:nth-child(4) {
    --x: 86% !important;
    --y: 55% !important;
  }

  .page-hero .bean:nth-child(1) {
    --x: -4% !important;
    --y: 12% !important;
  }

  .page-hero .bean:nth-child(2) {
    --x: 88% !important;
    --y: 10% !important;
  }
}

/* Sehr schmale Handys: Bohnen kleiner und weiter an den Rand, damit sie nicht hinter dem Titel liegen */
@media (max-width: 379px) {
  .bean {
    width: calc(var(--s, 56px) * .5);
  }

  .hero .bean:nth-child(1) {
    --x: -7% !important;
  }
}

/* ---------- Hero (Start) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 100px));
  overflow: clip;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 26px;
  padding-bottom: clamp(52px, 6vw, 84px);
  text-align: center;
}

.hero-title {
  max-width: 13ch;
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: .98;
  letter-spacing: -.05em;
}

.hero-title .accent {
  display: inline-block;
  font-size: 1.14em;
  letter-spacing: -.02em;
}

.hero-sub {
  max-width: 540px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-media {
  position: relative;
  height: clamp(440px, 84vh, 900px);
  overflow: hidden;
  background: var(--sand-2);
  clip-path: inset(0 var(--gutter) round var(--radius-l));
}

.hero-media > img,
.hero-media > picture > img,
.hero-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 13, 9, 0) 55%, rgba(18, 13, 9, .45));
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: calc(var(--gutter) + 28px);
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero-caption img {
  width: auto;
  height: 34px;
}

.video-toggle {
  position: absolute;
  right: calc(var(--gutter) + 24px);
  bottom: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .3s, color .3s;
}

.video-toggle:hover {
  background: #fff;
  color: var(--ink);
}

.video-toggle svg {
  width: 18px;
  height: 18px;
}

.video-toggle .i-play,
.video-toggle[data-paused="true"] .i-pause {
  display: none;
}

.video-toggle[data-paused="true"] .i-play {
  display: block;
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 3;
  padding-block: clamp(46px, 6vw, 84px);
  overflow: clip;
}

.ticker-row {
  display: flex;
  width: 106%;
  margin-left: -3%;
  padding-block: 16px;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.7vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.ticker-row--brown {
  position: relative;
  z-index: 2;
  background: var(--brown);
  color: #fff;
  rotate: -2.2deg;
  box-shadow: 0 20px 40px -20px rgba(74, 43, 21, .6);
}

.ticker-row--dark {
  margin-top: -12px;
  background: var(--ink);
  color: var(--sand);
  rotate: 1.6deg;
}

.ticker-track,
.ticker-group {
  display: flex;
  flex: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding-right: .55em;
}

.ticker-item .accent {
  color: inherit;
  font-size: 1.15em;
}

.ticker-item img {
  width: .9em;
  height: auto;
  rotate: 25deg;
}

/* ---------- Highlights (gestapelte Karten) ---------- */
.stack {
  display: grid;
  gap: 28px;
}

.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 18px + var(--i, 0) * 14px);
  height: min(76vh, 740px);
}

.stack-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--espresso);
  transform-origin: 50% 0;
  will-change: transform;
}

.stack-inner > img,
.stack-inner > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 13, 9, .55) 0%, rgba(18, 13, 9, 0) 34%),
    linear-gradient(0deg, rgba(18, 13, 9, .72) 0%, rgba(18, 13, 9, 0) 46%);
}

.stack-inner.frame::after {
  inset: 14px;
  border-radius: calc(var(--radius-l) - 10px);
}

.stack-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: clamp(30px, 4vw, 52px) 24px 0;
  text-align: center;
}

.stack-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(255, 255, 255, .8);
}

.stack-title {
  color: #fff;
  /* min(34px, 9vw): auf sehr schmalen Handys (320 px) passt „Sonntagsfrühstück“ sonst nicht in die Karte */
  font-size: clamp(min(34px, 9vw), 4.4vw, 64px);
  letter-spacing: -.04em;
  line-height: 1;
}

.stack-bottom {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 48px);
  color: #fff;
}

.stack-bottom p {
  max-width: 44ch;
  font-size: clamp(15px, 1.25vw, 18px);
  color: rgba(255, 255, 255, .9);
}

.stack-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
}

.stack-tag svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.stack-tag {
  white-space: nowrap;
}

.stack-shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--espresso);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 809px) {
  .stack-card {
    height: 72vh;
    min-height: 460px;
  }

  .stack-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ---------- Split (Über uns Teaser) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: stretch;
}

.split-media {
  /* Breite fest an die Spalte binden – sonst erzwingt min-height über das Seitenverhältnis
     560 px Mindestbreite und das Foto schiebt sich bei 900–1100 px über den Text */
  width: 100%;
  min-height: 420px;
  aspect-ratio: 4 / 3;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.split-copy .stack-y {
  display: grid;
  justify-items: start;
  gap: 26px;
}

.big-text {
  font-family: var(--font-head);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -.02em;
  color: var(--ink);
}

.big-text .accent {
  font-size: 1.15em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  display: grid;
  gap: 4px;
  padding: 24px 20px 0;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-num small {
  margin-left: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .5em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--brown);
}

.stat p {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 899px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Speisekarten-Teaser ---------- */
.dish-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: box-shadow .5s var(--ease-out);
  will-change: transform;
}

.dish-card:hover {
  box-shadow: var(--shadow-m);
}

.dish-card .media {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) - 6px);
}

.dish-card .media img {
  transition: transform 1.4s var(--ease-out);
}

.dish-card:hover .media img {
  transform: scale(1.08);
}

.dish-card-body {
  display: grid;
  gap: 6px;
  padding: 16px 10px 10px;
}

.dish-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dish-card h3 {
  font-size: 19px;
  letter-spacing: -.02em;
}

.dish-card p {
  font-size: 14px;
  color: var(--muted);
}

.price {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 4vw, 56px);
}

@media (max-width: 1099px) {
  .dish-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .dish-cards {
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    grid-template-columns: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .dish-cards::-webkit-scrollbar {
    display: none;
  }

  .dish-card {
    scroll-snap-align: start;
  }
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 360px;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: var(--sand);
}

.bento-card h3 {
  font-size: clamp(22px, 1.9vw, 27px);
  letter-spacing: -.025em;
}

.bento-card p {
  margin-top: 12px;
  color: var(--ink-2);
}

.bento-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.bento-meta span,
.bento-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bento-meta a {
  min-height: 32px;
}

.bento-meta a:hover {
  color: var(--brown);
}

.bento-meta svg {
  width: 17px;
  height: 17px;
  color: var(--brown);
}

.bento-media {
  grid-column: span 2;
  min-height: 360px;
}

.bento-card--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
}

.bento-card--dark h3,
.bento-card--dark .bento-meta {
  color: #fff;
}

.bento-card--dark p {
  color: rgba(255, 255, 255, .78);
}

.bento-card--dark .bento-meta svg {
  color: var(--caramel);
}

@media (max-width: 899px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-media {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .bento-card {
    min-height: 0;
  }

  .bento > :nth-child(3) {
    order: 4;
  }
}

/* ---------- Öffnungszeiten ---------- */
.hours-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hours-media {
  min-height: 480px;
}

.hours-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--radius);
  background: var(--sand);
  overflow: hidden;
}

.hours-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.hours-card h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -.03em;
}

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
  font-size: 16px;
}

.hours-table th,
.hours-table td {
  padding: 12px 16px;
  transition: background-color .4s, color .4s;
}

.hours-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}

.hours-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.hours-table tr > * {
  border-bottom: 1px solid var(--line);
}

.hours-table tr.is-today > * {
  background: var(--ink);
  color: #fff;
  border-bottom-color: transparent;
}

.hours-table tr.is-today th {
  border-radius: 12px 0 0 12px;
}

.hours-table tr.is-today td {
  border-radius: 0 12px 12px 0;
}

.hours-table .today-tag {
  display: none;
  margin-left: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--caramel);
}

.hours-table tr.is-today .today-tag {
  display: inline;
}

/* Sehr schmale Handys: Zeiten in einer Zeile – „Uhr“ weglassen, „heute“ unter den Tag */
@media (max-width: 374px) {
  .hours-table {
    font-size: 15px;
  }

  .hours-table th,
  .hours-table td {
    padding: 11px 10px;
  }

  .hours-table td {
    white-space: nowrap;
  }

  .hours-unit {
    display: none;
  }

  .hours-table tr.is-today .today-tag {
    display: block;
    margin-left: 0;
  }
}

.hours-note {
  padding-right: 84px;
  font-size: 14px;
  color: var(--muted);
}

.steam-cup {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 36px);
  width: 64px;
  color: var(--brown);
  opacity: .9;
}

.steam-cup .steam path {
  stroke-dasharray: 26;
  animation: steam 3.2s ease-in-out infinite;
}

.steam-cup .steam path:nth-child(2) {
  animation-delay: .6s;
}

.steam-cup .steam path:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes steam {
  0% {
    stroke-dashoffset: 26;
    opacity: 0;
    transform: translateY(6px);
  }

  40% {
    opacity: .9;
  }

  100% {
    stroke-dashoffset: -26;
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 899px) {
  .hours-wrap {
    grid-template-columns: 1fr;
  }

  .hours-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(580px, 86vh, 820px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-bg img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 13, 9, .15) 0%, rgba(18, 13, 9, .25) 40%, rgba(18, 13, 9, .78) 100%);
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(36px, 5vw, 64px);
}

.cta h2 {
  max-width: 13ch;
  color: #fff;
}

.cta .accent {
  color: #e9b984;
}

.glass {
  padding: 8px;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}

.glass-inner {
  display: grid;
  gap: 18px;
  width: min(470px, 100%);
  padding: 24px;
  border-radius: calc(var(--radius-l) - 8px);
  background: rgba(255, 255, 255, .95);
  color: var(--ink-2);
}

.glass-inner h3 {
  font-size: 22px;
  letter-spacing: -.02em;
}

.glass-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.glass-cols > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.glass-cols strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.glass-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 899px) {
  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  /* Glasrahmen ist hier volle Breite – die weiße Karte muss mitwachsen */
  .glass-inner {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .glass-cols,
  .glass-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .glass-cols > div + div {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Galerie (Fächer) ---------- */
.fan {
  display: grid;
  gap: clamp(34px, 6vw, 90px);
  padding-block: 10px 30px;
}

.fan-row {
  display: flex;
  justify-content: center;
}

.fan-card {
  --fan-w: clamp(150px, 23vw, 340px);
  position: relative;
  display: block;
  width: var(--fan-w);
  aspect-ratio: 4 / 5;
  margin-inline: calc(var(--fan-w) * -.06);
  padding: 7px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(23, 17, 12, .55);
  rotate: var(--r, 0deg);
  translate: 0 var(--y, 0);
  transition: rotate .6s var(--ease-out), translate .6s var(--ease-out), scale .6s var(--ease-out);
}

.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.fan-card:nth-child(1) {
  --r: -9deg;
  --y: 26px;
}

.fan-card:nth-child(2) {
  z-index: 2;
}

.fan-card:nth-child(3) {
  --r: 9deg;
  --y: 26px;
}

.fan-row:nth-child(2) .fan-card:nth-child(1) {
  --r: -6deg;
  --y: 10px;
}

.fan-row:nth-child(2) .fan-card:nth-child(3) {
  --r: 7deg;
  --y: 14px;
}

.fan-card:hover {
  z-index: 5;
  rotate: 0deg;
  translate: 0 -10px;
  scale: 1.06;
}

/* Drei Karten nebeneinander müssen auch auf 320 px passen */
@media (max-width: 599px) {
  .fan-card {
    --fan-w: 31vw;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 8, 5, .9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  transform: scale(.94);
  transition: transform .6s var(--ease-out);
}

.lightbox.is-open img {
  transform: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  color: #fff;
  transform: translateY(-50%);
  transition: background-color .3s, color .3s;
}

.lightbox-nav:hover {
  background: #fff;
  color: var(--ink);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

/* ---------- Instagram ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ig-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.ig-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 43, 21, 0) 30%, rgba(74, 43, 21, .75));
  opacity: 0;
  transition: opacity .5s;
}

.ig-item:hover img {
  transform: scale(1.08);
}

.ig-item:hover::after,
.ig-item:focus-visible::after {
  opacity: 1;
}

.ig-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s, transform .6s var(--ease-out);
}

.ig-meta svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.ig-item:hover .ig-meta,
.ig-item:focus-visible .ig-meta {
  opacity: 1;
  transform: none;
}

/* Schmale Kacheln (2 Spalten auf kleinen Handys): Beschriftung kompakter, lange Wörter dürfen umbrechen */
@media (max-width: 400px) {
  .ig-meta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 6px;
    font-size: 12px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .ig-meta svg {
    width: 15px;
    height: 15px;
  }
}

.ig-video {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(18, 13, 9, .45);
  color: #fff;
}

.ig-video svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 899px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ig-meta {
    opacity: 1;
    transform: none;
  }

  .ig-item::after {
    opacity: .7;
  }
}

/* Insta-Feed: neueste Beiträge, lokal gespiegelt (system/daten/insta.json) */
.ig-item--feed {
  background: var(--ig-farbe, var(--sand));
}

.js .ig-item--feed img {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out);
}

.js .ig-item--feed img.is-geladen {
  opacity: 1;
  transform: none;
}

.ig-item--feed:hover img.is-geladen {
  transform: scale(1.08);
}

.ig-wann {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(250, 247, 243, .86);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  color: var(--brown-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px -10px rgba(74, 43, 21, .55);
}

.ig-wann--neu i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--caramel);
}

.ig-wann--neu i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--caramel);
  animation: ig-ping 2.4s var(--ease-out) infinite;
}

@keyframes ig-ping {
  0% { transform: scale(.4); opacity: .9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.ig-titel {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-shadow: 0 1px 12px rgba(18, 13, 9, .45);
}

.ig-grid--feed .ig-meta {
  align-items: flex-end;
}

.ig-grid--feed .ig-item::after {
  background: linear-gradient(180deg, rgba(74, 43, 21, 0) 42%, rgba(40, 22, 10, .55) 70%, rgba(26, 14, 6, .9));
}

.ig-grid--feed .ig-item:hover .ig-wann {
  background: rgba(250, 247, 243, .96);
}

@media (max-width: 899px) {
  .ig-grid--feed .ig-item::after {
    opacity: 1;
  }

  /* am Handy höchstens 6 Kacheln, sonst wird die Startseite zu lang */
  .ig-grid--feed .ig-item:nth-child(n+7) {
    display: none;
  }

  .ig-wann {
    top: 9px;
    left: 9px;
    padding: 5px 9px;
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .ig-wann {
    gap: 5px;
    padding: 4px 8px;
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .ig-item--feed img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ig-wann--neu i::after {
    animation: none;
  }
}

/* ---------- Einblick (Reel) ---------- */
.einblick {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.reel-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 82vh;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 30px;
  background: var(--espresso) center / cover no-repeat;
  box-shadow: 0 50px 90px -40px rgba(23, 17, 12, .7), 0 0 0 8px #fff;
  rotate: -2deg;
  transition: rotate .8s var(--ease-out);
}

.reel-wrap:hover .reel {
  rotate: 0deg;
}

.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 13, 9, .35) 0%, rgba(18, 13, 9, 0) 22%, rgba(18, 13, 9, 0) 70%, rgba(18, 13, 9, .55) 100%);
  pointer-events: none;
}

.reel .video-toggle {
  right: 16px;
  bottom: 16px;
}

.reel-handle {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background-color .3s, color .3s;
}

.reel-handle:hover {
  background: #fff;
  color: var(--ink);
}

.reel-handle svg {
  width: 16px;
  height: 16px;
}

.spin-badge {
  position: absolute;
  right: -46px;
  top: 12%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  box-shadow: 0 20px 40px -18px rgba(74, 43, 21, .8);
}

.spin-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.spin-badge text {
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.spin-badge-core {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff url("../img/brand/logo-ring-132.webp") center / 38px no-repeat;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.einblick-copy {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.einblick-copy .h2 {
  max-width: 15ch;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.chip-list svg {
  width: 17px;
  height: 17px;
  color: var(--brown);
}

@media (max-width: 899px) {
  .einblick {
    grid-template-columns: 1fr;
  }

  .reel-wrap {
    max-width: min(340px, 78vw);
  }

  .spin-badge {
    right: -30px;
    width: 104px;
    height: 104px;
  }

  .spin-badge text {
    font-size: 15px;
  }
}

.hours-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.3;
  color: var(--brown-dark);
  max-width: 30ch;
}

.split-media--square {
  aspect-ratio: 1;
  min-height: 0;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-side {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  gap: 22px;
}

.faq-side .h2 {
  max-width: 12ch;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .4s;
}

.faq-item.is-open {
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-s);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 19px 20px 19px 22px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

.faq-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform .55s var(--ease-out), background-color .3s;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-q:hover .faq-icon,
.faq-item.is-open .faq-icon {
  background: var(--brown);
}

.faq-item.is-open .faq-icon {
  transform: rotate(135deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease-out);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

/* Zugeklappte Antworten auch für Tastatur und Screenreader ausblenden –
   erst nach der Schließ-Animation, damit sie sichtbar zuklappt */
.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s .55s;
}

.faq-item.is-open .faq-a > div {
  visibility: visible;
  transition-delay: 0s;
}

.faq-a p {
  padding: 0 22px 22px;
  color: var(--ink-2);
}

.faq-a a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 899px) {
  .faq {
    grid-template-columns: 1fr;
  }

  .faq-side {
    position: static;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(44px, 5vw, 64px);
  background: var(--espresso);
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
  isolation: isolate;
}

.footer-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-l);
  background: rgba(18, 13, 9, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-links a {
  padding-block: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}

.footer-links a:hover {
  color: var(--caramel);
  background-size: 100% 1px;
}

.social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}

.social:hover {
  background: var(--caramel);
  color: #fff;
  transform: rotate(-12deg) scale(1.06);
}

.social svg {
  width: 20px;
  height: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px;
  line-height: 1.7;
}

.footer-grid h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .02em;
}

/* Größere Tippflächen (mind. 24 px) für die gestapelten Footer-Links */
.footer-grid p a {
  display: inline-block;
  padding-block: 3px;
}

.footer-grid a:hover {
  color: var(--caramel);
}

.footer-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 16px;
}

.footer-hours dt {
  color: rgba(255, 255, 255, .55);
}

.footer-hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  display: inline-block;
  padding-block: 4px;
}

.footer-bottom a:hover {
  color: #fff;
}

.studio-credit a {
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
}

.studio-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-word {
  position: relative;
  /* Höhe aus dem Schriftzug berechnet (Überlappung mit der Karte + Schriftzug + Abstand unten + Luft),
     damit „Café Kiwi“ nicht mehr oben hinter der Footer-Karte verschwindet */
  height: calc(clamp(60px, 8vw, 120px) + min(1240px, 90vw) * .3682 + clamp(44px, 6.5vw, 96px) + clamp(14px, 2vw, 30px));
  margin-top: calc(-1 * clamp(60px, 8vw, 120px));
  overflow: hidden;
}

.footer-word-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.footer-word-bg img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: .42;
}

.footer-word::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, var(--espresso) 0%, rgba(18, 13, 9, .2) 45%, rgba(18, 13, 9, .55) 100%);
}

.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: clamp(44px, 6.5vw, 96px);
  z-index: 1;
  width: min(1240px, 90vw);
  height: auto;
  aspect-ratio: 1600 / 589;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35));
}

.footer-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 2vw, 26px);
  z-index: 2;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 22px);
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
  overflow: clip;
}

.page-hero-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.page-hero-head .label-line {
  transform-origin: right center;
}

.page-hero-head .label-line:last-child {
  transform-origin: left center;
}

.page-hero h1 {
  text-align: center;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.045em;
}

.page-hero-sub {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 20px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
}

.page-hero-media {
  position: relative;
  z-index: 2;
  height: clamp(280px, 38vw, 520px);
  margin-top: clamp(36px, 4.4vw, 60px);
  border-radius: var(--radius-l);
}

@media (max-width: 640px) {
  .page-hero-head {
    grid-template-columns: 1fr;
  }

  .page-hero-head .label-line {
    display: none;
  }
}

/* ---------- Über uns ---------- */
.wide-media {
  height: clamp(320px, 42vw, 600px);
  border-radius: var(--radius-l);
}

.stat-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.stat-box {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.stat-box .stat-num {
  font-size: clamp(30px, 2.8vw, 40px);
}

.stat-box p {
  font-size: 14px;
  color: var(--muted);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}

.duo-media {
  aspect-ratio: 1;
}

.duo-copy {
  display: grid;
  gap: 22px;
}

.duo-copy .duo-thumb {
  aspect-ratio: 16 / 7;
}

.dark-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  background: var(--espresso);
  color: rgba(255, 255, 255, .78);
}

.dark-split .parallax {
  min-height: 420px;
}

.dark-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
}

.dark-split-copy h2 {
  color: #fff;
  max-width: 14ch;
}

.dark-split-copy .accent {
  color: var(--caramel);
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.icon-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-row svg {
  width: 18px;
  height: 18px;
  color: var(--caramel);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}

.thumbs .media {
  aspect-ratio: 1;
  border-radius: 12px;
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 4vw, 56px);
  border-radius: var(--radius-l);
  background: var(--sand);
}

.band h2 {
  max-width: 16ch;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 899px) {
  .stat-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .duo,
  .dark-split {
    grid-template-columns: 1fr;
  }

  .duo-media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Speisekarte ---------- */
.menu-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 5vw, 72px);
  padding: 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-s);
}

.menu-intro h2 {
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -.02em;
}

.menu-intro p {
  margin-top: 6px;
  color: var(--muted);
}

.menu-intro-times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.time-pill svg {
  width: 16px;
  height: 16px;
  color: var(--brown);
}

.menu-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

/* Darf schmaler werden als sein breitester Inhalt – sonst sprengt die Karte auf kleinen Handys den Bildschirm */
.menu-content {
  min-width: 0;
}

/* Inhaltsverzeichnis der Speisekarte */
.menu-nav {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  z-index: 20;
  display: grid;
  gap: 2px;
  padding: 22px 16px 18px;
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: top .6s var(--ease-out);
}

.toc-title {
  margin: 0 0 10px 10px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  line-height: 1;
  color: var(--ink);
}

.menu-nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  transition: background-color .3s, color .3s;
}

.menu-nav a:hover {
  background: var(--bg);
  color: var(--ink);
}

.toc-no {
  flex: none;
  width: 24px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
}

.menu-nav a.is-active .toc-no {
  color: var(--caramel);
}

.menu-nav a small {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.menu-nav a.toc-sub {
  padding: 6px 10px 6px 46px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.menu-nav a.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-nav a.is-active small {
  color: rgba(255, 255, 255, .65);
}

/* Unterpunkt (Kiwi Brote, Bowls, Waffeln), in dem man gerade liest */
.menu-nav a.toc-sub.is-current {
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
}

.menu-cat {
  padding-bottom: clamp(56px, 6vw, 96px);
}

.menu-cat:last-child {
  padding-bottom: 0;
}






.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 3vw, 48px);
}

.dish {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line-2);
  transition: background-color .35s;
}

.dish-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.dish-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
}

.dish-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--brown-dark);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 3px;
}

.dish-fill {
  flex: 1;
  min-width: 18px;
  border-bottom: 2px dotted var(--line-2);
  transform: translateY(-5px);
  transform-origin: left center;
}

.dish-price {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dish-desc {
  max-width: 56ch;
  font-size: 14.5px;
  color: var(--muted);
}

.dishes--compact .dish {
  padding: 12px 0;
}

.dishes--compact .dish-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
}

.dishes--compact .dish-price {
  font-size: 16px;
}

.menu-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--ink-2);
  font-size: 15px;
}

.menu-note svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brown);
}

.menu-legal {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}

.menu-legal a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.time-pill--link {
  transition: background-color .3s, color .3s;
}

.time-pill--link:hover {
  background: var(--ink);
  color: #fff;
}

.time-pill--link:hover svg {
  color: var(--caramel);
}

/* Sonntag: Ankreuzen wie auf dem Bestellzettel */
.tick {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--brown);
  border-radius: 50%;
  color: #fff;
  transform: translateY(4px);
  transition: background-color .3s, transform .4s var(--ease-out);
}

.tick svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s, transform .45s var(--ease-out);
}

.tick:hover {
  transform: translateY(4px) scale(1.1);
}

.tick[aria-pressed="true"] {
  background: var(--brown);
}

.tick[aria-pressed="true"] svg {
  opacity: 1;
  transform: none;
}

.dish.is-picked .dish-name {
  color: var(--brown-dark);
}

.picker {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100% - 2 * var(--gutter));
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px -16px rgba(23, 17, 12, .6);
  font-size: 15px;
  transform: translate(-50%, 160%);
  /* versteckt wirklich unsichtbar (nicht per Tab erreichbar) – erst nach dem Wegfahren */
  visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s .7s;
}

.picker.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform .7s var(--ease-out), visibility 0s;
}

.picker > span:first-child {
  white-space: nowrap;
}

.picker strong {
  color: var(--caramel);
  font-family: var(--font-head);
  font-size: 18px;
}

.picker button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 14px;
  font-weight: 600;
}

.picker button:hover {
  background: rgba(255, 255, 255, .22);
}

.picker small {
  color: rgba(255, 255, 255, .6);
}

/* Sehr schmale Handys: „Zurücksetzen“ als kompaktes × (muss nach den Grundregeln stehen) */
@media (max-width: 400px) {
  .picker {
    gap: 10px;
    padding-left: 16px;
    font-size: 14px;
  }

  .picker button {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .picker button::before {
    content: "×";
    font-size: 22px;
    line-height: 1;
  }
}

@media (max-width: 1099px) {
  .dishes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 959px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .menu-nav {
    top: var(--header-h);
    display: flex;
    gap: 8px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 10px var(--gutter);
    overflow-x: auto;
    background: rgba(250, 247, 243, .9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
  }

  .menu-nav::-webkit-scrollbar {
    display: none;
  }

  .header-hidden .menu-nav {
    top: var(--bar-h);
  }

  .menu-nav {
    border-radius: 0;
    box-shadow: none;
  }

  .toc-title,
  .menu-nav a small {
    display: none;
  }

  .menu-nav a,
  .menu-nav a.toc-sub {
    flex: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
  }

  .menu-nav a.toc-sub.is-current {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--caramel);
    color: var(--ink);
  }

  .toc-no {
    width: auto;
    font-size: 15px;
  }

  /* Platz für die mitlaufende Kapitel-Leiste (zusätzlich zum scroll-padding der Seite) */
  .menu-cat,
  .slip-sec {
    scroll-margin-top: 64px;
  }

  .picker small {
    display: none;
  }
}

/* =========================================================
   Speisekarte – „so wie bei uns im Café“
   Kapitel · Frühstückskarte · Bestellzettel · Theke · Kaffeebar · Kreidetafel
   ========================================================= */

/* Kapitelkopf */
.chapter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px 22px;
  margin-bottom: clamp(26px, 3vw, 40px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}

.chapter-no {
  font-family: var(--font-serif);
  font-size: clamp(66px, 7vw, 108px);
  font-style: italic;
  line-height: .78;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--caramel);
}

.chapter-text h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.chapter-text p {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 20px);
  font-style: italic;
  color: var(--muted);
}

.chapter .time-pill {
  align-self: center;
}

/* 01 · Frühstückskarte, die auf dem Foto liegt */
.breakfast-photo {
  aspect-ratio: 21 / 8;
  border-radius: var(--radius-l);
}

.menu-card {
  position: relative;
  z-index: 2;
  width: min(840px, calc(100% - 48px));
  margin: clamp(-130px, -9vw, -60px) auto 0;
  padding: clamp(30px, 4vw, 54px) clamp(22px, 4vw, 58px) clamp(28px, 3vw, 44px);
  border-radius: 6px;
  background: #fffdf9;
  box-shadow: 0 2px 4px rgba(23, 17, 12, .06), 0 44px 70px -38px rgba(23, 17, 12, .6);
  outline: 1px solid rgba(138, 83, 41, .35);
  outline-offset: -12px;
}

.menu-card-head {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 14px;
  text-align: center;
}

.menu-card-logo {
  width: 150px;
  height: auto;
}

.menu-card-title {
  margin-right: -.32em;
  font-family: var(--font-head);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 600;
  letter-spacing: .32em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--brown);
}

.menu-card-when,
.menu-card-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-card-note {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  text-align: center;
  color: var(--ink-2);
}

.menu-card-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 2px;
  color: var(--brown);
}

.menu-card-sub::before,
.menu-card-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(138, 83, 41, .3);
}

/* 02 · Bestellzettel zum Ankreuzen */
.slip-wrap {
  position: relative;
  padding-top: 26px;
  filter: drop-shadow(0 24px 30px rgba(23, 17, 12, .16)) drop-shadow(0 2px 3px rgba(23, 17, 12, .08));
}

.slip {
  position: relative;
  padding: clamp(30px, 4vw, 50px) clamp(20px, 4vw, 50px) clamp(30px, 4vw, 46px);
  background-color: #fffdf6;
  background-image: radial-gradient(rgba(138, 83, 41, .06) 1px, transparent 1.2px);
  background-size: 7px 7px;
  rotate: -.4deg;
}

/* Abriss-Kante unten */
.slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 12px;
  background:
    linear-gradient(45deg, transparent 33.333%, #fffdf6 33.333%, #fffdf6 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, #fffdf6 33.333%, #fffdf6 66.667%, transparent 66.667%);
  background-size: 16px 32px;
  background-position: 0 -16px;
}

.slip-clip {
  position: absolute;
  top: -30px;
  left: clamp(26px, 5vw, 60px);
  z-index: 3;
  width: 24px;
  height: auto;
  color: #8f979b;
}

.slip-head {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 0 clamp(120px, 18vw, 190px) 18px 0;
  border-bottom: 2px solid var(--ink);
}

.slip-logo {
  width: 118px;
  height: auto;
}

.slip-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.slip-title span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.slip-table {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.slip-table span {
  position: relative;
  width: 64px;
  height: 22px;
  border-bottom: 1.5px solid var(--ink-2);
}

/* „handschriftliche“ Tischnummer */
.slip-table span::after {
  content: "2";
  position: absolute;
  left: 22px;
  bottom: -2px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-style: italic;
  line-height: 1;
  color: var(--brown);
  rotate: -6deg;
}

.slip-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 4px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.slip-hint svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brown);
}

.slip-cols {
  columns: 2;
  column-gap: clamp(28px, 4vw, 60px);
}

.slip-sec {
  padding-top: 24px;
  break-inside: avoid;
}

.slip-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown);
}

.slip-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.slip .dishes {
  grid-template-columns: 1fr;
}

.slip .dish {
  padding: 12px 0;
  border-bottom-style: dashed;
}

.slip .dish-name {
  font-size: 17px;
}

.slip .dishes--compact .dish-name {
  font-size: 15.5px;
}

.slip .dish-desc {
  padding-left: 40px;
  font-size: 13.5px;
}

/* Einträge ohne Kästchen (z. B. Brötchen) bündig mit den anderen */
.slip .dish-row:not(:has(.tick)) {
  padding-left: 36px;
}

/* Gewählte Gerichte wie mit Textmarker */
.slip .dish.is-picked .dish-name {
  background: linear-gradient(transparent 58%, rgba(201, 139, 78, .32) 58%, rgba(201, 139, 78, .32) 92%, transparent 92%);
}

.slip-note {
  margin-top: 10px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
}

.slip-mini {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Kästchen mit „handgezeichnetem“ Haken */
.slip .tick {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: none;
  color: var(--brown);
  transform: translateY(5px);
}

.slip .tick svg {
  width: 34px;
  height: 34px;
  margin: -12px 0 0 2px;
  opacity: 1;
  transform: none;
  overflow: visible;
}

.slip .tick svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .35s var(--ease-out);
}

.slip .tick:hover {
  transform: translateY(5px) rotate(-4deg);
}

.slip .tick[aria-pressed="true"] {
  background: none;
}

.slip .tick[aria-pressed="true"] svg path {
  stroke-dashoffset: 0;
}

.slip-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.slip-total > span:first-child {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}

.slip-sum {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-style: italic;
  line-height: 1;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}

.slip-sum::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C20 2 38 9 58 5 S96 2 118 6' fill='none' stroke='%23c98b4e' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Polaroid, an den Zettel geklebt */
.polaroid {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 8px 8px 30px;
  background: #fff;
  box-shadow: 0 12px 24px -12px rgba(23, 17, 12, .5);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  text-align: center;
  color: var(--ink-2);
}

/* Klebestreifen */
.polaroid::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 1;
  width: 66px;
  height: 22px;
  background: rgba(236, 219, 186, .78);
  box-shadow: 0 1px 2px rgba(23, 17, 12, .1);
  translate: -50% 0;
  rotate: -4deg;
}

.slip-photo {
  top: -16px;
  right: clamp(14px, 3vw, 40px);
  width: clamp(108px, 14vw, 160px);
  rotate: 5deg;
}

/* 03 · Preisschilder wie an der Theke */
.theke-photo {
  aspect-ratio: 21 / 8;
  border-radius: var(--radius-l);
}

.tags-label {
  margin: 30px 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
}

.tags {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px 18px;
  padding-top: 30px;
}

/* Stange, an der die Schilder hängen */
.tags::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #b9a48c 6%, #8f7a64 50%, #b9a48c 94%, transparent);
}

.tag-card {
  position: relative;
  height: 100%;
  padding: 38px 20px 22px;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 18px 30px -18px rgba(23, 17, 12, .45), inset 0 0 0 1px var(--line);
  text-align: center;
  rotate: var(--r, 0deg);
  transform-origin: 50% -30px;
  transition: rotate .7s var(--ease-out);
}

.tag:hover .tag-card {
  rotate: 0deg;
}

/* Faden zur Stange */
.tag-card::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1.5px;
  height: 46px;
  background: rgba(23, 17, 12, .35);
  translate: -50% 0;
}

.tag-hole {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 1px 2px rgba(23, 17, 12, .35), 0 0 0 3px rgba(201, 139, 78, .28);
  translate: -50% 0;
}

.tag-price {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-style: italic;
  line-height: 1;
  color: var(--brown);
}

.tag-card h4 {
  font-size: 17px;
  letter-spacing: -.01em;
}

.tag-card p:not(.tag-price) {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.theke .menu-note {
  margin-top: 30px;
}

/* 04 · Kaffeebar mit gezeichneten Tassen */
.cups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
}

.cup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 12px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-s);
  text-align: center;
}

.cup {
  width: 112px;
  height: auto;
  margin-bottom: 8px;
  overflow: visible;
  transform-origin: 50% 85%;
  transition: rotate .7s var(--ease-out);
}

.cup-card:hover .cup {
  rotate: -6deg;
}

.cup-card h3 {
  font-size: 16.5px;
  letter-spacing: -.01em;
}

.cup-size {
  font-size: 12.5px;
  color: var(--muted);
}

.cup-price {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}

.cup-body,
.cup-saucer {
  fill: #fff;
}

.cup-body--clear {
  fill: rgba(255, 255, 255, .6);
}

.cup-line,
.cup-saucer,
.cup-cream,
.cup-tag {
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cup-line {
  fill: none;
}

.cup-cream {
  fill: #fffaf2;
}

.cup-straw {
  fill: none;
  stroke: var(--caramel);
  stroke-width: 4.5;
  stroke-linecap: round;
}

.cup-string {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.4;
}

.cup-tag {
  fill: var(--caramel);
  stroke-width: 1.6;
}

.cup-steam path {
  fill: none;
  stroke: rgba(108, 96, 88, .55);
  stroke-width: 2;
  stroke-linecap: round;
  animation: cup-steam 3.2s ease-in-out infinite;
}

.cup-steam path:nth-child(2) {
  animation-delay: .5s;
}

.cup-steam path:nth-child(3) {
  animation-delay: 1s;
}

@keyframes cup-steam {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  40% {
    opacity: .9;
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* 05 · Kreidetafel im Holzrahmen */
.board-wrap {
  position: relative;
  padding-top: 18px;
}

.board {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #a0703f, #6b4224 45%, #8a5a33);
  box-shadow: 0 30px 60px -30px rgba(23, 17, 12, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.board-inner {
  padding: clamp(26px, 4vw, 50px) clamp(20px, 4vw, 50px);
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 18% 14%, rgba(255, 255, 255, .08), transparent 45%),
    radial-gradient(ellipse at 82% 72%, rgba(255, 255, 255, .06), transparent 50%),
    radial-gradient(ellipse at 52% 42%, rgba(255, 255, 255, .04), transparent 60%),
    #1f2622;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), inset 0 0 44px rgba(0, 0, 0, .45);
  color: #efeae0;
}

.board-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  margin-bottom: clamp(10px, 2vw, 20px);
  padding-right: 190px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 66px);
  font-style: italic;
  line-height: 1;
  color: #f4efe6;
  text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px rgba(255, 255, 255, .14);
}

.board-title svg {
  flex: none;
  width: 40px;
  color: #eaa79f;
}

.board-cols {
  columns: 2 260px;
  column-gap: clamp(28px, 4vw, 60px);
}

.board-group {
  margin-bottom: 24px;
  break-inside: avoid;
}

.board-group h3 {
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f3d9b5;
}

.board .dishes {
  grid-template-columns: 1fr;
}

.board .dish {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
}

.board .dishes--compact .dish-name {
  color: #efeae0;
}

.board .dish-name .muted {
  color: rgba(239, 234, 224, .62);
}

.board .dish-fill {
  border-bottom-color: rgba(255, 255, 255, .28);
}

.board .dish-price {
  color: #f3d9b5;
}

.polaroid--board {
  top: 0;
  right: clamp(26px, 4vw, 56px);
  width: 156px;
  rotate: 4deg;
}

@media (max-width: 1099px) {
  .slip-cols {
    columns: 1;
  }
}

@media (max-width: 760px) {
  .polaroid--board {
    display: none;
  }

  .board-title {
    min-height: 0;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .chapter {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .chapter .time-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .menu-card {
    width: auto;
    margin: -36px 10px 0;
    outline-offset: -8px;
  }

  .slip {
    rotate: none;
  }

  .slip-head {
    padding-right: 118px;
  }

  .slip-photo {
    top: -6px;
    right: 10px;
    width: 104px;
    padding: 6px 6px 24px;
  }

  .slip-photo figcaption {
    font-size: 12px;
  }

  .tags::before,
  .tag-card::before {
    display: none;
  }

  .tags {
    padding-top: 6px;
  }
}

/* Sehr schmale Handys (320–374 px): Überschriften, Schriftzug und Polaroid etwas kleiner, damit alles hineinpasst */
@media (max-width: 374px) {
  .chapter-no {
    font-size: 56px;
  }

  .chapter-text h2 {
    font-size: 26px;
  }

  .menu-card-title {
    margin-right: -.24em;
    font-size: 26px;
    letter-spacing: .24em;
  }

  .slip-head {
    padding-right: 92px;
  }

  .slip-title {
    font-size: 26px;
  }

  .slip-photo {
    width: 84px;
  }
}

/* ---------- Kontakt ---------- */
/* Kontaktleiste: vier Felder in einer Karte, Trennlinien über den 1-px-Abstand */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--line);
  box-shadow: var(--shadow-s), 0 0 0 1px var(--line);
}

.info-box {
  display: flex;
  gap: 14px;
  padding: clamp(20px, 2vw, 28px);
  background: #fff;
  color: var(--ink-2);
  transition: background-color .3s;
}

a.info-box:hover {
  background: #fdfaf6;
}

.info-box .ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brown);
  transition: background-color .3s, color .3s;
}

/* Gerade geöffnet: Uhr wird grün */
.info-box.is-open .ico {
  background: #e3f2e8;
  color: #2f7d4f;
}

.info-box .ico svg {
  width: 20px;
  height: 20px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.info-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}

.info-box strong {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.info-note {
  font-size: 14px;
  color: var(--muted);
}

.info-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}

.info-go svg {
  width: 15px;
  height: 15px;
  transition: transform .4s var(--ease-out);
}

a.info-box:hover .info-go svg {
  transform: translateX(4px);
}

a.info-box[href="#zeiten"]:hover .info-go svg {
  transform: translateY(3px);
}

@media (max-width: 1099px) {
  .info-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .info-boxes {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-grid .media {
  min-height: 520px;
}

.map {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 360px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(138, 83, 41, .12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(23, 17, 12, .05) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(23, 17, 12, .05) 46px 47px),
    var(--sand);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.map-pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50% 50% 50% 0;
  background: var(--brown);
  color: #fff;
  rotate: -45deg;
  box-shadow: 0 16px 30px -12px rgba(74, 43, 21, .7);
  animation: pin-bounce 2.4s var(--ease-out) infinite;
}

.map-pin svg {
  width: 26px;
  height: 26px;
  rotate: 45deg;
}

@keyframes pin-bounce {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

.map-consent p {
  max-width: 46ch;
  font-size: 14px;
  color: var(--muted);
}

.map-consent .map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 899px) {
  .info-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid .media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .map {
    aspect-ratio: 4 / 5;
  }
}

/* Unter 600 px einspaltig – zweispaltig bricht „Länderöschstraße“ und „Friedrichshafen“ mitten im Wort um */
@media (max-width: 599px) {
  .info-boxes {
    grid-template-columns: 1fr;
  }
}

/* ---------- Rechtstexte ---------- */
.legal {
  max-width: 820px;
  margin-inline: auto;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: clamp(22px, 2vw, 27px);
  letter-spacing: -.02em;
}

/* Lange Wörter („Verbraucherstreitbeilegung“) auf schmalen Handys trennen statt überlaufen lassen */
.legal h2,
.legal h3,
.legal p,
.legal li {
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.legal p,
.legal li {
  line-height: 1.75;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 10px 0;
  padding-left: 20px;
  list-style: disc;
}

.legal a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-s);
}

.legal-card > :first-child {
  margin-top: 0;
}

/* ---------- Allergene & Zusatzstoffe ---------- */
.al-wrap {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  max-width: 980px;
  margin-inline: auto;
}

/* Solange keine bestätigten Angaben eingetragen sind (data-stand=""),
   nur den Hinweis zeigen – Filter und Liste erscheinen mit dem Stand-Datum */
.al-wrap[data-stand=""] .al-filter,
.al-wrap[data-stand=""] .al-list,
.al-wrap[data-stand=""] .al-stand,
.al-wrap:not([data-stand=""]) .al-pending {
  display: none;
}

.al-pending,
.al-filter,
.al-legend > div {
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-s);
}

.al-pending {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.al-pending h2,
.al-legend h2 {
  font-size: clamp(22px, 2vw, 27px);
  letter-spacing: -.02em;
}

.al-pending p {
  max-width: 62ch;
}

.al-filter h2 {
  margin-bottom: 14px;
  font-size: 17px;
  letter-spacing: -.01em;
}

.al-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.al-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px 0 13px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .3s, color .3s, box-shadow .3s;
}

.al-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.al-chip:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.al-chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.al-chip[aria-pressed="true"]::before {
  background: var(--caramel);
  box-shadow: none;
}

.al-filter-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.al-filter-foot:has(.al-result:empty):has(.al-reset[hidden]) {
  display: none;
}

.al-reset {
  padding-block: 4px;
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.al-cat + .al-cat {
  margin-top: clamp(30px, 3.4vw, 44px);
}

.al-cat h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 6px;
  font-size: clamp(22px, 2vw, 27px);
  letter-spacing: -.02em;
}

.al-cat h2 small {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.al-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.al-name {
  color: var(--ink);
  font-weight: 600;
}

.al-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.al,
.zs {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.al {
  background: var(--sand);
  color: var(--brown-dark);
}

.zs {
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
}

.al-none,
.al-open {
  font-size: 13.5px;
  color: var(--muted);
}

.al-open {
  font-style: italic;
}

.al-note {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--muted);
}

/* Filter aktiv: Treffer durchstreichen, passendes Allergen hervorheben */
.al-item.is-hit .al-name {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.al.is-match {
  background: #9b2c1c;
  color: #fff;
}

.al-item.is-trace .al-name::after {
  content: " · kann Spuren enthalten";
  font-weight: 500;
  color: #9b2c1c;
}

.al-item.is-trace [data-spuren] {
  color: #9b2c1c;
}

.al-item.is-unclear .al-name::after {
  content: " · bitte nachfragen";
  font-weight: 500;
  color: var(--muted);
}

.al-stand {
  font-size: 14px;
  color: var(--muted);
}

.al-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  max-width: 980px;
  margin-inline: auto;
}

.al-legend dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.al-legend dt {
  color: var(--ink);
  font-weight: 700;
}

.al-legend dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

.al-hints {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: clamp(20px, 2.4vw, 28px) auto 0;
}

.al-hints .menu-note {
  margin-top: 0;
}

@media (max-width: 760px) {
  .al-item {
    grid-template-columns: 1fr;
  }

  .al-tags {
    justify-content: flex-start;
  }

  .al-legend {
    grid-template-columns: 1fr;
  }
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
  text-align: center;
}

.notfound-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.notfound .steam-cup {
  position: static;
  width: 120px;
}

.notfound-code {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(110px, 20vw, 220px);
  line-height: .8;
  color: var(--brown-2);
}

/* ---------- Preloader ---------- */
.preloader {
  display: none;
}

html.preload body {
  overflow: hidden;
}

html.preload .preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: preloader-failsafe .6s 4.5s forwards;
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.preloader-mark {
  position: relative;
  width: min(320px, 66vw);
  aspect-ratio: 1;
  will-change: transform;
}

.preloader-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pl-ring {
  --p: 100%;
  -webkit-mask: conic-gradient(#000 calc(var(--p) - 6%), transparent var(--p));
  mask: conic-gradient(#000 calc(var(--p) - 6%), transparent var(--p));
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid var(--brown);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .35s, border-color .35s, opacity .3s;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-link {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: rgba(138, 83, 41, .1);
}

.cursor.is-view {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  background: var(--brown);
  border-color: var(--brown);
}

.cursor-label {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .25s;
}

.cursor.is-view .cursor-label {
  opacity: 1;
}

.cursor.is-hidden {
  opacity: 0;
}

/* ---------- Animations-Vorbereitung ---------- */
html.js:not(.anim-ready):not(.no-anim) [data-reveal],
html.js:not(.anim-ready):not(.no-anim) [data-reveal-group] > *,
html.js:not(.anim-ready):not(.no-anim) [data-split],
html.js:not(.anim-ready):not(.no-anim) .hero-inner > *,
html.js:not(.anim-ready):not(.no-anim) .bean,
html.js:not(.anim-ready):not(.no-anim) .page-hero-sub,
html.js:not(.anim-ready):not(.no-anim) .page-hero-chip,
html.js:not(.anim-ready):not(.no-anim) .page-hero h1 {
  opacity: 0;
}

html.js:not(.anim-ready):not(.no-anim) .label-line {
  transform: scaleX(0);
}

/* Titelbilder nur verschieben, nicht ausblenden – so werden sie sofort gezeichnet
   und zählen früh als „Largest Contentful Paint“ */
html.js:not(.anim-ready):not(.no-anim) .hero-media {
  transform: translateY(70px);
}

html.js:not(.anim-ready):not(.no-anim) .page-hero-media {
  transform: translateY(60px);
}

.no-anim [data-reveal],
.no-anim [data-reveal-group] > *,
.no-anim [data-split],
.no-anim .hero-inner > *,
.no-anim .bean,
.no-anim .page-hero-sub,
.no-anim .page-hero-chip,
.no-anim .page-hero h1,
.no-anim .page-hero-media {
  opacity: 1 !important;
}

/* Seitenwechsel (View Transitions) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-out .35s var(--ease-in-out) both;
}

::view-transition-new(root) {
  animation: vt-in .65s var(--ease-out) both;
}

@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* Windows-Kontrastmodus (forced colors): Buttons behalten eine Kontur, schwarze Schriftzüge bleiben sichtbar */
@media (forced-colors: active) {
  .btn,
  .chip-list li,
  .time-pill,
  .menu-nav a,
  .picker button {
    border: 1px solid ButtonText;
  }

  /* Logo-Pille in der Navigation behält ihre helle Fläche – sonst steht der schwarze Schriftzug auf Schwarz */
  .brand {
    forced-color-adjust: none;
  }
}

@media (forced-colors: active) and (prefers-color-scheme: dark) {
  .menu-card-logo,
  .slip-logo {
    filter: invert(1);
  }
}

/* ---------- Footer: „Made with ♥ by 7evenStudios“ – Herz dreht sich und schlägt, daneben Instagram und Website ---------- */
.studio-credit {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.made-with {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.spin-heart {
  display: inline-block;
  width: 17px;
  height: 17px;
  perspective: 80px;
}

.spin-heart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(240, 69, 90, .55));
  transform-origin: 50% 55%;
  animation: heart-spin 3.4s cubic-bezier(.65, 0, .35, 1) infinite;
}

/* Einmal um die eigene Achse drehen, dann ein doppelter Herzschlag, kurze Pause */
@keyframes heart-spin {
  0% { transform: rotateY(0deg) scale(1); }
  38% { transform: rotateY(360deg) scale(1); }
  48% { transform: rotateY(360deg) scale(1.24); }
  56% { transform: rotateY(360deg) scale(1); }
  64% { transform: rotateY(360deg) scale(1.14); }
  74%, 100% { transform: rotateY(360deg) scale(1); }
}

.studio-icons {
  display: inline-flex;
  gap: 8px;
}

.footer-bottom .studio-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .85);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}

.footer-bottom .studio-icon:hover {
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.studio-icon svg {
  width: 15px;
  height: 15px;
}

/* ---------- Kopfzeilen-Knopf Freitag bis Sonntag: „Frühstück bestellen“ in Karamell, mit leisem Puls ---------- */
.nav-cta--order {
  --btn-bg: var(--caramel);
  --btn-fg: var(--ink);
  position: relative;
}

.nav-cta--order:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}

.nav-cta--order::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--caramel);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: cta-ping 3.2s var(--ease-out) infinite;
}

@keyframes cta-ping {
  0% {
    opacity: .8;
    transform: scale(.92);
  }

  55%,
  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

.mobile-meta .mobile-order {
  --btn-bg: var(--caramel);
  --btn-fg: var(--ink);
  justify-self: start;
  margin-bottom: 4px;
  color: var(--ink);
}

/* ---------- Hinweis: sonntags nur Frühstückscafé, Backshop geschlossen ---------- */
.sunday-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.sunday-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--brown);
}

.sunday-note strong,
.menu-note--sunday strong {
  color: var(--ink);
}

.menu-note--sunday {
  margin-top: 12px;
}

/* ---------- Summenleiste: „Bestellen“ springt zum Formular ---------- */
.picker .picker-go {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--caramel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .3s;
}

.picker .picker-go:hover {
  background: #dca36b;
}

/* ---------- Wochenend-Frühstück online vorbestellen ---------- */
.order {
  margin-top: clamp(48px, 6vw, 72px);
}

.order [hidden] {
  display: none !important;
}

.order-head {
  max-width: 640px;
  margin-bottom: 22px;
}

.order-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown);
}

.order-title {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.order-lead {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-2);
}

/* Die wichtigsten Regeln auf einen Blick – vorneweg: nur vor Ort, nicht zum Mitnehmen */
.order-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.order-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.order-fact svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--brown);
}

.order-fact--key {
  background: var(--ink);
  color: var(--sand);
  font-weight: 500;
}

.order-fact--key strong {
  color: #fff;
  font-weight: 700;
}

.order-fact--key svg {
  color: var(--caramel);
}

.order-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-s), 0 0 0 1px var(--line);
}

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background-color: #fffdf6;
  background-image: radial-gradient(rgba(138, 83, 41, .06) 1px, transparent 1.2px);
  background-size: 7px 7px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.order-empty {
  font-size: 15px;
  color: var(--muted);
}

.order-items {
  display: grid;
}

.order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 15px;
  animation: order-in .45s var(--ease-out);
}

@keyframes order-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.order-item-name {
  font-weight: 600;
  color: var(--ink);
}

.order-item-price {
  min-width: 72px;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brown);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--sand);
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(23, 17, 12, .14);
  transition: background-color .3s, color .3s;
}

.qty-btn:hover {
  background: var(--ink);
  color: #fff;
}

.qty output {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.order-sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.order-sum span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

.order-sum strong {
  font-family: var(--font-serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--brown);
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.field--wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  /* 16 px: iOS zoomt sonst beim Antippen ins Feld */
  font-size: 16px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}

.field select {
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5329' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.field textarea {
  min-height: 96px;
  line-height: 1.5;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brown);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(201, 139, 78, .22);
}

/* Spam-Falle: für Menschen unsichtbar */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-legal {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 18px;
}

.order-actions .btn[disabled] {
  opacity: .6;
  cursor: progress;
}

.order-status {
  font-size: 14.5px;
  color: var(--ink-2);
}

.order-status.is-error {
  color: #a1342a;
}

.order-status .link-arrow {
  color: inherit;
}

.order-done {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(16px, 4vw, 40px) 10px;
  text-align: center;
}

.order-done:focus {
  outline: none;
}

.order-done-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e3f2e8;
  color: #2f7d4f;
}

.order-done-icon svg {
  width: 30px;
  height: 30px;
}

.order-done p {
  max-width: 520px;
  color: var(--ink-2);
}

@media (max-width: 899px) {
  .order-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }

  .order-item .qty {
    grid-row: 2;
    justify-self: start;
  }

  .order-item-price {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
}

/* Endlos-Animationen außerhalb des Bildschirms anhalten (main.js setzt .is-offscreen) */
.is-offscreen,
.is-offscreen *,
.is-offscreen::before,
.is-offscreen::after,
.is-offscreen *::before,
.is-offscreen *::after {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    /* 0s statt .01ms: sonst wird jede geerbte Sichtbarkeitsänderung zur Mini-Animation,
       und z. B. der Schließen-Button der Lightbox lässt sich im Klick-Moment nicht fokussieren */
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }

  @view-transition {
    navigation: none;
  }
}

/* ---------- Druck (z. B. Speisekarte) ----------
   Animierte Elemente, die noch nicht ins Bild gescrollt wurden, sind per Inline-Style unsichtbar –
   beim Drucken alles zeigen, Deko und Navigation weglassen, dunkle Flächen hell drucken. */
@media print {
  .skip-link,
  .preloader,
  .progress,
  .site-header,
  .mobile-menu,
  .beans,
  .live-chip,
  .page-hero-chip,
  .page-hero-media,
  .breakfast-photo,
  .theke-photo,
  .polaroid,
  .slip-clip,
  .cup-steam,
  .menu-nav,
  .menu-intro-times,
  .picker,
  .tick,
  .slip-hint,
  .ticker,
  .hero-actions,
  .band-actions,
  .center-cta,
  .video-toggle,
  .spin-badge,
  .map-actions,
  .footer-top,
  .footer-word,
  .studio-credit,
  .cursor,
  .lightbox {
    display: none !important;
  }

  /* SVG-Grafiken (z. B. Tassen) behalten ihren Zuschnitt und ihre Deckkraft */
  :not(svg, svg *),
  ::before,
  ::after {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .cup-fill {
    transform: none !important;
  }

  body,
  body * {
    color: #111 !important;
    background: transparent !important;
  }

  .section,
  .section--tight {
    padding-block: 18px;
  }

  .page-hero {
    padding-top: 0;
  }

  .menu-layout {
    display: block;
  }

  .dish,
  .al-item,
  .faq-item {
    break-inside: avoid;
  }

  .stack-card {
    position: static;
    height: auto;
  }

  .slip-wrap {
    filter: none;
  }

  .slip,
  .tag-card {
    rotate: none;
  }

  .menu-card {
    margin-top: 0;
  }

  .site-footer .footer-panel {
    padding: 16px 0 0;
    border-top: 1px solid #999;
  }
}

/* ---------- Hinweis-Leiste (aus dem Admin-Bereich, z. B. „Heute wegen Krankheit geschlossen“) ---------- */
:root.has-notice {
  --bar-h: 40px;
}

.notice-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--bar-h);
  padding: 0 var(--gutter);
  background: var(--espresso);
  color: var(--cream, #fbf6ee);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.notice-bar p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notice-bar::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--caramel);
}

@media (max-width: 809px) {
  :root.has-notice {
    --bar-h: 48px;
  }

  .notice-bar {
    font-size: 13px;
  }
}

/* ---------- Abweichende Öffnungszeiten unter der Tabelle ---------- */
.hours-special {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.hours-special-title {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
}

.hours-special li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  padding: 4px 0;
}

.hours-special li + li {
  border-top: 1px dashed var(--line);
}

.hours-special strong {
  min-width: 82px;
  color: var(--ink);
}

.hours-special small {
  flex-basis: 100%;
  padding-left: 92px;
  font-size: 13px;
  color: var(--muted);
}
