/* ── Self-hosted Fonts ──────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Fraunces-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Fraunces-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Fraunces-600i.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/DMSans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/DMSans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/DMSans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/DMSans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Caveat-600.woff2') format('woff2');
}

/* ── Tokens ─────────────────────────────────────── */
:root {
  --bg:           #3a2418;
  --surface:      #4a2f1e;
  --surface-mid:  #573621;
  --primary:      #78411a;
  --accent:       #b577b4;
  --accent-light: #cf9acc;
  --text:         #fbeadd;
  --text-muted:   #d9b79c;
  --border:       #5c3a24;
  --border-light: #74492b;
  --crema:        #f7b88b;
  --crema-deep:   #e6a274;
  --paper:        #f7ecd9;
  --paper-text:   #3a2113;
  --paper-muted:  #7a5a3e;
  --paper-border: #e2cfa8;

  --radius:     10px;
  --radius-lg:  20px;
  --shadow-warm: 0 4px 24px rgba(181,119,180,0.18);
  --shadow-deep: 0 8px 40px rgba(20,10,4,0.45);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;
  --font-hand:    'Caveat', cursive;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Feiner Grain/Textur-Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ── Typografie ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.15rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }

/* Fokus sichtbar für Tastaturnutzung */
a:focus-visible, button:focus-visible, iframe:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Kaffee-Schlieren (Signature-Element) ─────────── */
.schliere {
  position: relative;
  height: 64px;
  overflow: hidden;
  z-index: 2;
}
.schliere svg { width: 100%; height: 100%; display: block; }

/* ── Header ─────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(58, 36, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Breite Screens: Header-Inhalt bleibt in Leselinie, Leiste selbst voll */
@media (min-width: 1000px) {
  #site-header {
    padding-inline: max(1.25rem, calc((100% - 900px) / 2));
  }
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.01em;
}

.header-logo span {
  color: var(--crema);
}

/* Desktop Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--text); }

.btn-reserve {
  background: var(--accent);
  color: #2a1810;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-reserve:hover { background: var(--accent-light); color: #2a1810; transform: translateY(-1px); }

/* Burger */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  transform-origin: center;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: rgba(42,24,16,0.98);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
#nav-overlay.open { display: flex; }
#nav-overlay a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
#nav-overlay a:hover { color: var(--crema); }
#nav-overlay .btn-reserve {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .burger-btn { display: none; }
  .header-nav { display: flex; }
  #nav-overlay { display: none !important; }
}

/* ── Hero ───────────────────────────────────────── */
#hero {
  position: relative;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30,17,10,0.94) 0%,
    rgba(30,17,10,0.55) 55%,
    rgba(58,36,24,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem 3rem;
  max-width: 640px;
}

/* Breite Screens: Hero-Text bleibt in Leselinie statt am Rand zu kleben */
@media (min-width: 1000px) {
  .hero-content {
    padding-inline: max(1.5rem, calc((100% - 640px) / 2));
    max-width: none;
  }
  .hero-content > * { max-width: 640px; }
}

.hero-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--crema);
  margin-bottom: 0.35rem;
}

.hero-title {
  color: var(--text);
  margin-bottom: 0.9rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-title em {
  font-style: italic;
  color: var(--crema);
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(251,234,221,0.78);
  margin-bottom: 1.75rem;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--crema);
  color: #2a1810;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--crema-deep); color: #2a1810; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(251,234,221,0.35);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--crema);
  color: var(--crema);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(251,234,221,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll-hint span {
  width: 1px;
  height: 20px;
  background: rgba(251,234,221,0.4);
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Scrollytelling: Geschichte (Flip-Cards) ─────── */
#geschichte {
  background: var(--surface);
  padding: 3.5rem 0 3rem;
}

.geschichte-head {
  padding: 0 1.25rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.geschichte-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Erste/letzte Karte lassen sich bis zur Bildschirmmitte scrollen */
  scroll-padding-inline: calc(50% - 105px);
  max-width: 640px;
  margin: 0 auto;
}
.geschichte-scroller::-webkit-scrollbar { display: none; }
.geschichte-scroller::before,
.geschichte-scroller::after {
  content: "";
  flex: 0 0 auto;
  width: calc(50% - 105px);
}

.flip-card {
  flex: 0 0 auto;
  width: 210px;
  height: 260px;
  scroll-snap-align: center;
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.flip-front {
  background: linear-gradient(155deg, var(--primary) 0%, var(--surface-mid) 100%);
  border: 1px solid var(--border-light);
}
.flip-front .flip-year {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  color: var(--crema);
  line-height: 1;
}
.flip-front .flip-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.4rem;
}
.flip-front .flip-hint {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  opacity: 0.7;
}

.flip-back {
  background: var(--crema);
  color: #3a2113;
  transform: rotateY(180deg);
  justify-content: center;
}
.flip-back p {
  font-size: 0.86rem;
  line-height: 1.6;
  font-family: var(--font-ui);
}
.flip-back .flip-year-small {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.geschichte-hint {
  padding: 0 1.25rem;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Bohnen-Herkunftsländer ───────────────────────── */
#herkunft {
  background: var(--bg);
  padding: 3.5rem 0 3rem;
}

.herkunft-head {
  padding: 0 1.25rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.herkunft-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: calc(50% - 87px);
  max-width: 640px;
  margin: 0 auto;
}
.herkunft-scroller::-webkit-scrollbar { display: none; }
.herkunft-scroller::before,
.herkunft-scroller::after {
  content: "";
  flex: 0 0 auto;
  width: calc(50% - 87px);
}

.herkunft-card {
  flex: 0 0 auto;
  width: 175px;
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
}

.herkunft-flag {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}
.herkunft-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.herkunft-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Sections allgemein ─────────────────────────── */
section { padding: 3rem 1.25rem; }

.section-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--crema);
  margin-bottom: 0.15rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-divider {
  width: 44px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem 0 1.5rem;
  border-radius: 2px;
}

/* ── Tagesempfehlung ────────────────────────────── */
#tagesempfehlung {
  padding: 1.5rem 1.25rem;
  background: var(--primary);
}

.tages-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tages-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a1810;
  background: var(--crema);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.tages-text { flex: 1; min-width: 160px; }
.tages-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  display: block;
}
.tages-text span {
  font-size: 0.82rem;
  color: rgba(251,234,221,0.75);
}

.tages-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--crema);
  font-weight: 700;
  white-space: nowrap;
}

/* ── Speisekarte ────────────────────────────────── */
#speisekarte {
  background: var(--surface);
}

.menu-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

/* Tab-Nav */
.tab-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.tab-nav[hidden] { display: none; }
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  scroll-snap-align: center;
}
.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #2a1810;
}

/* ── Kategorie-Swipe-Header (ersetzt Tab-Klicks) ── */
.menu-swipe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.menu-cat-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  flex: 1;
}

.menu-arrow {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}
.menu-arrow:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.menu-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.menu-arrow:disabled:hover {
  border-color: var(--border-light);
  color: var(--text-muted);
}

/* Punkt-Indikatoren, zeigen Position + sind zusätzliche Sprungmarke */
.menu-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.menu-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.menu-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Swipe-Container für Kategorien */
#menu-container {
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0.5rem 2.5rem;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nicht-aktive Zettel unsichtbar machen, damit sie nicht seitlich
   aus dem beschnittenen Container herausschauen (wegen der Rotation
   und unterschiedlicher Karten-Höhen je Kategorie). Bleiben aber im
   Layout, damit die Swipe-Transform weiterhin korrekt greift. */
.menu-list { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.menu-list.is-active { opacity: 1; pointer-events: auto; }
/* Während eines aktiven Touch-Drags (kein Transition) beide sichtbar,
   damit der Stapel-Effekt beim Ziehen sichtbar bleibt */
.menu-track.dragging .menu-list { opacity: 1; pointer-events: auto; }

/* Allergen Infobox */
.allergen-infobox {
  background: rgba(181,119,180,0.09);
  border: 1px solid rgba(181,119,180,0.22);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Menüliste als echter Notizzettel ──────────────── */
.menu-list {
  flex: 0 0 calc(100% - 1.5rem);
  min-width: 0;
  box-sizing: border-box;
  padding: 1.75rem 1.5rem 1.5rem;
  margin: 0 0.75rem;

  /* Papierton, kein Theme-Dunkel mehr auf dem Zettel */
  background: var(--paper);
  color: var(--paper-text);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 14px 26px -10px rgba(20,10,4,0.55),
    0 3px 8px rgba(20,10,4,0.3);

  /* leicht schräg, als läge der Zettel hingeworfen da – echtes
     Rechteck, daher bleiben obere und untere Kante parallel */
  transform: rotate(var(--tilt, -1.4deg));
  position: relative;
}

/* Papierstruktur (feines Rauschen) */
.menu-list::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Abwechselnde Neigung je nach Position, wirkt weniger maschinell */
.menu-list:nth-child(5n+1) { --tilt: -1.3deg; }
.menu-list:nth-child(5n+2) { --tilt: 0.9deg; }
.menu-list:nth-child(5n+3) { --tilt: -0.6deg; }
.menu-list:nth-child(5n+4) { --tilt: 1.2deg; }
.menu-list:nth-child(5n+5) { --tilt: -0.9deg; }

/* Eine kleine "Heftzwecke"/Klebepunkt oben, verstärkt den Zettel-Charakter */
.menu-list::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(calc(var(--tilt, 0deg) * -1));
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--crema-deep), var(--primary) 70%);
  box-shadow: 0 2px 4px rgba(20,10,4,0.4);
}

.menu-item {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--paper-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.menu-item:last-child { border-bottom: none; }

.menu-item-info { flex: 1; }

.menu-item-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.menu-item-info h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--paper-text);
}

.menu-item-info p {
  font-size: 0.82rem;
  color: var(--paper-muted);
  margin-top: 0.2rem;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Diet badges */
.diet-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.52rem;
  font-weight: 800;
  font-family: var(--font-ui);
  line-height: 1;
  width: 16px;
  height: 16px;
  letter-spacing: -0.02em;
}
.diet-badge.vegan   { color: #3f8f4f; }
.diet-badge.veggie  { color: var(--accent); }

/* Allergen btn */
.allergen-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--paper-muted);
  font-size: 0.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  flex-shrink: 0;
  font-family: var(--font-ui);
}
.allergen-btn:hover,
.allergen-btn.active { opacity: 1; color: var(--primary); }

/* Allergen row */
.allergen-row {
  margin-top: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(120,65,26,0.08);
  border-radius: var(--radius);
  border-left: 2px solid rgba(120,65,26,0.35);
  font-size: 0.78rem;
  font-family: var(--font-ui);
  color: var(--paper-muted);
  line-height: 1.8;
}
.allergen-row .allergen-code {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.72rem;
}
.allergen-row .allergen-none { font-style: italic; }
.allergen-code {
  background: rgba(120,65,26,0.1);
  border: 1px solid rgba(120,65,26,0.25);
  border-radius: 3px;
  padding: 0.1rem 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-ui);
}

/* ── Galerie ─────────────────────────────────────── */
#galerie {
  padding: 2rem 0;
  background: var(--bg);
  overflow: hidden;
}

.galerie-title-wrap {
  padding: 0 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── Galerie Slideshow ──────────────────────────── */
.galerie-slideshow-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.galerie-slideshow {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  border-radius: var(--radius-lg);
}

.galerie-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.galerie-slide {
  flex: 0 0 100%;
  height: 100%;
}

.galerie-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.galerie-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(42,24,16,0.55);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s;
  padding: 0;
}
.galerie-arrow:hover { background: rgba(181,119,180,0.7); }
.galerie-arrow.prev { left: 12px; }
.galerie-arrow.next { right: 12px; }

@media (min-width: 768px) {
  .galerie-slideshow { height: 340px; }
  .galerie-slideshow-wrap { padding: 0 2rem; }
}

/* ── Öffnungszeiten + Anfahrt im Footer-Bereich ─── */
#info {
  background: var(--surface);
  padding: 3rem 1.25rem;
}

.info-grid {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 560px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.45rem 0.25rem; color: var(--text-muted); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { color: var(--crema); font-weight: 700; }
.hours-table tr.today { background: rgba(181,119,180,0.08); }

.address-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.maps-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 0.75rem;
}
.maps-embed iframe {
  width: 100%;
  height: 180px;
  border: none;
  display: block;
  filter: sepia(15%) saturate(85%) brightness(0.85);
}

.btn-maps {
  display: inline-block;
  margin-top: 0.75rem;
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-maps:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Footer ─────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: var(--text); }

footer p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────── */
@media (min-width: 768px) {
  section { padding: 4rem 2rem; }
  #tagesempfehlung { padding: 1.5rem 2rem; }
  #info { padding: 4rem 2rem; }
  #geschichte, #herkunft { padding: 4.5rem 0 3.5rem; }
  .geschichte-head, .herkunft-head { padding: 0 2rem; }

}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-img { transform: none !important; }
}

/* ── WhatsApp Float Button ──────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-warm);
  text-decoration: none;
  font-size: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #fff;
}

/* ── Maps Consent ── */
.maps-consent-wrap { position: relative; }
.maps-consent-overlay {
  position: absolute; inset: 0;
  background: var(--surface-mid);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; z-index: 10;
  border-radius: inherit;
  padding: 1rem;
}
.maps-consent-overlay p {
  font-size: 0.82rem; color: var(--text-muted);
  text-align: center; max-width: 240px; line-height: 1.5;
}
.maps-consent-btn {
  background: var(--accent); color: #2a1810;
  border: none; border-radius: 999px;
  padding: 0.5rem 1.25rem; font-size: 0.82rem;
  font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.maps-consent-btn:hover { background: var(--accent-light); }

.footer-reset {
  display: block;
  font-size: 0.72rem;
  opacity: 0.5;
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
  transition: opacity 0.15s;
  text-decoration: underline;
}
.footer-reset:hover { opacity: 0.8; }