/* ==========================================================================
   Cafe | Conditorei | Restaurant Reichl — Design System
   "Modern Austrian Café Elegance"
   Palette: warm cream · espresso ink · Reichl turquoise · caramel gold
   Type: Cormorant Garamond (display) + Inter (body)
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Colour */
  --cream:        #FBF7F0;   /* page background */
  --cream-2:      #F3ECE0;   /* alt section / cards */
  --cream-3:      #EAE0CF;  /* subtle warm tone */
  --ink:          #2A211C;   /* primary text */
  --ink-soft:     #5C5048;   /* secondary text */
  --espresso:     #1C1614;   /* footer / dark sections */
  --espresso-2:   #2E2521;
  --turquoise:    #52C2ED;   /* brand accent (decoration only) */
  --turquoise-2:  #92CEF2;   /* light brand accent */
  --turquoise-ink:#1E7BA6;   /* darkened turquoise, AA on cream */
  --gold:         #B07A1E;   /* caramel gold, AA text on cream */
  --gold-bright:  #E0A93B;   /* decorative gold */
  --line:         #E4D9C7;   /* hairline borders on cream */
  --line-dark:    rgba(255,255,255,.12);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.25rem);
  --step-3:  clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-4:  clamp(2.8rem, 2rem + 4vw, 5rem);

  /* Layout */
  --container: 1200px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px -20px rgba(42,33,28,.35);
  --shadow-sm: 0 8px 24px -12px rgba(42,33,28,.28);
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--turquoise-ink); outline-offset: 3px; border-radius: 4px; }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { color: var(--ink-soft); max-width: 62ch; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: ""; width: 1.8rem; height: 1px; background: var(--gold); opacity: .6;
}

/* Signature: piped-icing underline under a key word */
.iced { position: relative; white-space: nowrap; }
.iced::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: -.16em;
  height: .42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M2 16 C 30 4, 55 22, 90 12 S 150 2, 198 14' fill='none' stroke='%2352C2ED' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  pointer-events: none;
}
.iced--gold::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M2 16 C 30 4, 55 22, 90 12 S 150 2, 198 14' fill='none' stroke='%23E0A93B' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}

/* ---- Layout helpers ----------------------------------------------------- */
.container { width: min(var(--container), 100% - 2*var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cream2 { background: var(--cream-2); }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--dark p { color: rgba(251,247,240,.78); }
.stack > * + * { margin-top: 1.1rem; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.measure { max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--espresso); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: #97681a; }
.btn--turq { background: var(--turquoise); color: var(--espresso); box-shadow: var(--shadow-sm); }
.btn--turq:hover { background: var(--turquoise-2); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { border: 1.5px solid rgba(251,247,240,.4); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--turquoise-ink); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,240,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42,33,28,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
/* Wortmarke wie das Original: Cafe | Conditorei — Signet — Restaurant | Reichl.
   In Schrift gesetzt statt als Bild: scharf auf jedem Bildschirm, umbruchfähig
   und auf hellem wie dunklem Grund verwendbar. */
.brand {
  display: grid;
  grid-template-areas: "a bild b";
  grid-template-columns: auto auto auto;
  align-items: center;
  /* Ohne justify-content: start saugen die auto-Spalten den freien Platz auf —
     in der Fußzeile stünde das Signet dann weit weg von der Schrift. */
  justify-content: start;
  gap: clamp(.5rem, 1.3vw, 1rem);
  flex-shrink: 0;
}
.brand svg, .brand img { grid-area: bild; height: 42px; width: auto; display: block; }
.brand__seite {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, .9vw, .7rem);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(.58rem, .46rem + .18vw, .66rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}
.brand__seite--a { grid-area: a; justify-self: end; }
.brand__seite--b { grid-area: b; justify-self: start; }
/* Der Trennstrich ist ein echtes Zeichen, kein gezeichnetes Kästchen: fällt das
   Stylesheet einmal aus, liest die Marke immer noch „Cafe | Conditorei" statt
   „CafeConditorei". Die Leerzeichen daneben stehen aus demselben Grund im
   Markup — im Flex-Kasten werden sie ignoriert, ohne ihn tragen sie. */
.brand__teiler {
  display: inline-block;
  /* Zurücksetzen, falls irgendwo noch eine ältere Regel gleichen Sinns greift:
     der Teiler ist ein Zeichen, kein gezeichnetes Kästchen. Sonst stünden zwei
     Striche nebeneinander — der gemalte und der gesetzte. */
  width: auto;
  height: auto;
  background: none;
  font-weight: 400;
  opacity: .42;
  transform: scaleY(1.4);
  transform-origin: center;
}

/* Dunkler Grund (Fußzeile) */
.brand--dunkel .brand__seite { color: var(--cream); }

/* Gestapelt: Signet links, die beiden Zeilen rechts daneben.
   Greift automatisch, sobald die Breite knapp wird — und in der Fußzeile immer,
   weil die Spalte dort ohnehin schmal ist. */
.brand--gestapelt {
  grid-template-areas: "bild a" "bild b";
  grid-template-columns: auto auto;
  gap: .22rem .7rem;
  justify-items: start;
}
.brand--gestapelt .brand__seite--a,
.brand--gestapelt .brand__seite--b { justify-self: start; }
.brand--gestapelt img, .brand--gestapelt svg { height: 56px; }

/* Zwei getrennte Umbruchpunkte, weil zwei verschiedene Dinge knapp werden:
   ab 1100 px passt das Menü nicht mehr neben die Marke (es klappt ein),
   und die Wortmarke steht erst ab 1280 px nebeneinander — darunter bliebe
   für Menü und Knöpfe zu wenig übrig. */
@media (min-width: 1101px) {
  .nav { gap: 1rem; }
  .nav__link { font-size: .86rem; padding: .5em .55em; }
  .nav__cta .btn { padding: .55em .95em; }
}

@media (max-width: 1279px) {
  .site-header .brand {
    grid-template-areas: "bild a" "bild b";
    grid-template-columns: auto auto;
    gap: .22rem .65rem;
  }
  .site-header .brand__seite--a,
  .site-header .brand__seite--b { justify-self: start; }
  .site-header .brand img, .site-header .brand svg { height: 42px; }
}

.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__link { padding: .5em .8em; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--ink); transition: color .25s, background .25s; position: relative; }
.nav__link:hover { color: var(--turquoise-ink); }
.nav__link.is-active { color: var(--turquoise-ink); }
.nav__link.is-active::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .15em; height: 2px; background: var(--turquoise); border-radius: 2px; }
.nav__cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav__cta .btn { padding: .6em 1.1em; font-size: .85rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__menu, .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { position: fixed; inset: var(--header-height, 76px) 0 0; z-index: 99; background: var(--cream); transform: translateX(100%); transition: transform .4s var(--ease); padding: var(--gutter); display: flex; flex-direction: column; overflow-y: auto; }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a.m-link { font-family: var(--font-display); font-size: 1.7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-nav a.m-link.is-active { color: var(--turquoise-ink); }
  .mobile-nav .btn-row { margin-top: 1.75rem; flex-direction: column; }
  .mobile-nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1101px) { .mobile-nav { display: none; } }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__content { position: relative; z-index: 2; }
.hero h1 { margin: .5rem 0 1.25rem; }
.hero .lead { color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero__media { position: relative; }
.hero__media .ph { aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__media .ph--float { position: absolute; width: 42%; aspect-ratio: 1; bottom: -8%; left: -10%; border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 6px solid var(--cream); }
.hero__watermark { position: absolute; top: 50%; right: -6%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 600; font-size: clamp(20rem, 40vw, 44rem); color: var(--turquoise); opacity: .05; z-index: 0; pointer-events: none; line-height: 1; user-select: none; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .hero__media .ph--float { width: 38%; left: auto; right: -6%; }
}

/* ---- Trust strip -------------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust__item { background: var(--cream); padding: 1.5rem 1.25rem; text-align: center; }
.trust__item svg { margin: 0 auto .6rem; color: var(--turquoise-ink); }
.trust__item .trust__title { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); font-size: 1.35rem; margin: 0; }
.trust__item p { font-size: var(--step--1); margin: .2rem auto 0; }
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* ---- Generic placeholder image ----------------------------------------- */
.ph {
  position: relative;
  background: linear-gradient(135deg, var(--cream-2), #e7dcc8);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(82,194,237,.18), transparent 55%), radial-gradient(circle at 75% 70%, rgba(224,169,59,.18), transparent 55%);
}
.ph__label { position: relative; z-index: 1; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); background: rgba(251,247,240,.7); padding: .35em .8em; border-radius: 99px; backdrop-filter: blur(2px); }
.ph > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph[data-src]::after { content: ""; position:absolute; inset:0; background: var(--src) center/cover; }

/* Image with photo loaded (when real src present) */
.media { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: var(--cream-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--round { border-radius: var(--radius); }

/* ---- Feature / split blocks -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }
.split__media .ph { aspect-ratio: 5/4; }

/* ---- Cards -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cream-2); color: var(--turquoise-ink); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.card p { font-size: var(--step--1); }
.card--media { padding: 0; overflow: hidden; }
.card--media .ph { aspect-ratio: 4/3; border-radius: 0; }
.card--media .card__body { padding: 1.5rem 1.5rem 1.75rem; }

/* ---- Gallery + lightbox ------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { padding: .55em 1.2em; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: all .25s; }
.filter-btn:hover { border-color: var(--turquoise); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gallery { columns: 3 260px; column-gap: 1.25rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.25rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; position: relative; transition: transform .4s var(--ease); }
.gallery__item:hover { transform: scale(1.015); }
.gallery__item .ph { border-radius: 0; }
.gallery__item.ph--tall .ph { aspect-ratio: 3/4; }
.gallery__item.ph--wide .ph { aspect-ratio: 4/3; }
.gallery__item .cap { position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .8rem; background: linear-gradient(transparent, rgba(28,22,20,.72)); color: #fff; font-family: var(--font-display); font-size: 1.15rem; opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.gallery__item:hover .cap { opacity: 1; transform: translateY(0); }
.gallery__item.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,15,13,.92); display: none; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: grid; }
.lightbox__inner { max-width: 880px; width: 100%; text-align: center; }
.lightbox__frame { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, #3a2f28, #241c18); display: grid; place-items: center; box-shadow: var(--shadow); }
.lightbox__cap { color: var(--cream); margin-top: 1rem; font-family: var(--font-display); font-size: 1.4rem; }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 48px; height: 48px; border-radius: 999px; background: rgba(251,247,240,.12); color: #fff; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(251,247,240,.24); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; background: rgba(251,247,240,.12); color: #fff; font-size: 1.5rem; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgba(251,247,240,.24); }
.lightbox__nav--prev { left: 1.25rem; } .lightbox__nav--next { right: 1.25rem; }

/* ---- Tabs (menu) -------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.tab { padding: .6em 1.3em; border-radius: 999px; font-weight: 500; font-size: .92rem; color: var(--ink-soft); border: 1px solid var(--line); transition: all .25s; }
.tab:hover { color: var(--ink); border-color: var(--gold); }
.tab.is-active { background: var(--gold); color: #fff; border-color: var(--gold); }
.tabpanel { display: none; animation: fade .5s var(--ease); }
.tabpanel.is-active { display: block; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 3rem; max-width: 880px; margin-inline: auto; }
@media (max-width: 720px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-item__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.menu-item__desc { font-size: var(--step--1); color: var(--ink-soft); grid-column: 1/-1; margin-top: .15rem; }
.menu-item__price { font-weight: 600; color: var(--gold); white-space: nowrap; font-size: 1.05rem; }

/* ---- Accordion ---------------------------------------------------------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; text-align: left; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.acc-trigger .plus { flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .35s var(--ease), background .25s, color .25s; position: relative; }
.acc-trigger[aria-expanded="true"] .plus { background: var(--turquoise); border-color: var(--turquoise); transform: rotate(135deg); }
.acc-trigger .plus::before, .acc-trigger .plus::after { content: ""; position: absolute; background: currentColor; }
.acc-trigger .plus::before { width: 12px; height: 1.5px; } .acc-trigger .plus::after { width: 1.5px; height: 12px; }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.acc-panel__inner { padding-bottom: 1.6rem; }

/* ---- Forms -------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1/-1; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem;
  padding: .8em 1em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 4px rgba(82,194,237,.18); }
.field--file input { padding: .6em; background: var(--cream-2); }
.checkbox { display: flex; align-items: flex-start; gap: .65rem; font-size: .85rem; color: var(--ink-soft); }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--turquoise-ink); flex-shrink: 0; }
.form-note { font-size: .78rem; color: var(--ink-soft); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: .92rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(82,194,237,.16); color: var(--turquoise-ink); }
.form-status--error { background: rgba(176,58,46,.12); color: #A03227; border: 1px solid rgba(176,58,46,.25); }

/* Honeypot: visually gone, still form-submittable for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Hours / contact info ---------------------------------------------- */
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.hours { display: grid; gap: .55rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--line); }
.hours__row:last-child { border-bottom: none; }
.hours__row.is-closed { color: var(--ink-soft); }
.hours__day { font-weight: 500; }
.hours__time { color: var(--ink-soft); }
.contact-line { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; }
.contact-line svg { color: var(--turquoise-ink); flex-shrink: 0; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---- Menüplan callout --------------------------------------------------- */
/* Das Blatt bekommt die größere Spalte — es ist der Grund, warum der Block da ist. */
.menuplan-cta { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; background: var(--espresso); color: var(--cream); border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); overflow: hidden; position: relative; }
.menuplan-cta h2, .menuplan-cta h3 { color: var(--cream); }
.menuplan-cta p { color: rgba(251,247,240,.8); }
.menuplan-cta .ph { aspect-ratio: 3/4; }
@media (max-width: 760px) { .menuplan-cta { grid-template-columns: 1fr; } }
.menueplan-bild {
  display: block; margin-inline: auto;
  width: 100%; max-width: min(780px, 62vh);
  height: auto;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); background: #fff;
}
.pdf-preview {
  display: block; margin-inline: auto;
  width: 100%; max-width: min(780px, 62vh);   /* A4-Hochformat, passt ganz auf den Schirm */
  aspect-ratio: 210 / 297; height: auto;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--cream-2);
}

/* ---- Quote / motto ------------------------------------------------------ */
.quote { text-align: center; max-width: 780px; margin-inline: auto; }
.quote blockquote { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.18; color: var(--ink); font-weight: 500; }
.quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.section--dark .quote blockquote { color: var(--cream); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--espresso); color: rgba(251,247,240,.75); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 1.15rem; }
.footer-brand p { color: rgba(251,247,240,.65); font-size: var(--step--1); }
.footer-col h3 { color: var(--cream); font-size: 1.15rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.footer-col a, .footer-col li { display: block; padding: .25rem 0; color: rgba(251,247,240,.72); font-size: .92rem; transition: color .25s; }
.footer-col a:hover { color: var(--turquoise); }
.footer-hours .hours__row { border-color: var(--line-dark); }
.footer-hours .hours__time { color: rgba(251,247,240,.6); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--cream); transition: all .25s; }
.socials a:hover { background: var(--turquoise); color: var(--espresso); border-color: var(--turquoise); transform: translateY(-2px); }
.footer-bottom { margin-top: clamp(2.5rem,5vw,4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: rgba(251,247,240,.55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a:hover { color: var(--turquoise); }

/* ---- Page hero (interior pages) ---------------------------------------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin: .8rem auto .9rem; max-width: 16ch; }
.page-hero p { margin-inline: auto; max-width: 56ch; }
.crumbs { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.crumbs a:hover { color: var(--turquoise-ink); }

/* ---- Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Cookie banner ------------------------------------------------------ */
.cookie { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 150; width: min(680px, calc(100% - 2rem)); background: var(--espresso); color: var(--cream); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.cookie.is-hidden { display: none; }
.cookie p { color: rgba(251,247,240,.82); font-size: .85rem; margin: 0; flex: 1 1 300px; }
.cookie .btn { padding: .6em 1.2em; font-size: .85rem; }

/* ---- Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0; } .text-gold { color: var(--gold); } .text-turq { color: var(--turquoise-ink); }
.divider-leaf { display: flex; align-items: center; gap: 1rem; color: var(--gold); justify-content: center; margin: 0 auto; }
.divider-leaf::before, .divider-leaf::after { content: ""; height: 1px; width: 60px; background: var(--line); }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li { background: var(--cream-2); border: 1px solid var(--line); padding: .45em 1em; border-radius: 999px; font-size: .85rem; color: var(--ink); }

/* ============================================================================
   Audit fixes — accessibility, responsive, polish (see README / deep audit)
   ========================================================================== */
:root { --gold-dark: #8A5F18; --header-height: 76px; }

/* Design tokens instead of hardcoded hover */
.btn--gold:hover { background: var(--gold-dark); }

/* Visible keyboard focus on all interactive controls */
.btn:focus-visible { outline: 3px solid var(--turquoise-ink); outline-offset: 3px; }
.section--dark .btn--light:focus-visible, .menuplan-cta .btn--light:focus-visible { outline-color: var(--cream); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--turquoise-ink); outline-offset: 1px; }
.acc-trigger:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.filter-btn:focus-visible, .tab:focus-visible, .nav__link:focus-visible { outline: 3px solid var(--turquoise-ink); outline-offset: 2px; }

/* Larger tap targets (mobile usability) */
.nav__link { display: inline-flex; align-items: center; min-height: 44px; }
.filter-btn, .tab { display: inline-flex; align-items: center; min-height: 44px; }
.socials a { width: 44px; height: 44px; }

/* Eyebrow accent line adapts on dark sections (gold→turquoise) */
.section--dark .eyebrow::before, .menuplan-cta .eyebrow::before { background: var(--turquoise); }

/* Gallery items: keyboard-focusable, caption revealed on focus */
.gallery__item:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }
.gallery__item:focus-visible .cap { opacity: 1; transform: none; }

/* Prevent long-word overflow on narrow screens */
.m-link, .menu-item__name { overflow-wrap: break-word; }

/* Hero watermark must not cause horizontal overflow on small screens */
@media (max-width: 860px) { .hero__watermark { font-size: clamp(10rem, 22vw, 20rem); right: -10%; } }

/* Single-column collapse for remaining grids on small phones */
@media (min-width: 621px) and (max-width: 720px) { .gallery { columns: 2 200px; } }
@media (max-width: 620px) {
  .gallery { columns: 1; column-gap: 0; }
  .menuplan-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__watermark { font-size: clamp(8rem, 18vw, 12rem); right: -12%; }
}

/* ============================================================================
   WOW pass — orchestrated entrance, icing signature, depth & polish
   All motion respects prefers-reduced-motion via the global kill switch.
   ========================================================================== */

/* ---- Typography drama ---- */
:root { --step-4: clamp(2.9rem, 2rem + 4.6vw, 5.6rem); }
.hero h1 { line-height: 1.04; letter-spacing: -0.01em; }
.hero h1 .iced, .page-hero h1 .iced { font-style: italic; font-weight: 500; }
/* Interior page heroes: 16ch measure — kept a step calmer to avoid 3-line wraps at tablet */
.page-hero h1 { font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.4rem); }

/* ---- Entrance choreography (hero + page heroes) ---- */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes icingDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .eyebrow, .page-hero .crumbs   { animation: riseIn .7s var(--ease) .08s backwards; }
.hero h1, .page-hero .eyebrow        { animation: riseIn .8s var(--ease) .22s backwards; }
.hero .lead, .page-hero h1           { animation: riseIn .8s var(--ease) .38s backwards; }
.hero .btn-row, .page-hero .lead     { animation: riseIn .8s var(--ease) .54s backwards; }
.page-hero .btn-row                  { animation: riseIn .8s var(--ease) .68s backwards; }
.hero__media                         { animation: riseIn 1s var(--ease) .45s backwards; }
.hero .iced::after, .page-hero .iced::after { transform-origin: left; animation: icingDraw .9s var(--ease) 1s backwards; }

/* ---- Hero media: turquoise offset frame + grounding gradient ---- */
.hero__media .ph { position: relative; z-index: 1; }
.hero__media::before {
  content: ""; position: absolute; z-index: 0;
  inset: 7% -4.5% -4.5% 7%;
  border: 2px solid var(--turquoise-2);
  border-radius: var(--radius);
  opacity: .55; pointer-events: none;
}
.hero__media .ph:not(.ph--float)::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(28,22,20,.16));
}

/* ---- Image life: slow zoom on hover ---- */
.ph > img, .media img { transition: transform 1.2s var(--ease); }
.card--media:hover .ph > img,
.split__media:hover .ph > img,
.menuplan-cta .ph:hover > img,
.hero__media .ph--float:hover > img { transform: scale(1.05); }

/* ---- Staggered reveals: trust strip & card grids ---- */
.trust .trust__item { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.trust.is-in .trust__item { opacity: 1; transform: none; }
.trust.is-in .trust__item:nth-child(2) { transition-delay: .1s; }
.trust.is-in .trust__item:nth-child(3) { transition-delay: .2s; }
.trust.is-in .trust__item:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .trust .trust__item { opacity: 1; transform: none; } }
.cards .card.reveal:nth-child(2) { transition-delay: .12s; }
.cards .card.reveal:nth-child(3) { transition-delay: .24s; }
.cards .card.reveal:nth-child(4) { transition-delay: .36s; }

/* ---- Piped-icing scallop band (dark motto sections) ---- */
.icing-band { position: relative; }
.icing-band::before, .icing-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; pointer-events: none;
  background-size: 30px 18px; background-repeat: repeat-x;
}
.icing-band::before { top: 0;    background-image: radial-gradient(circle at 15px -5px, var(--cream-2) 14px, transparent 15px); }
.icing-band::after  { bottom: 0; background-image: radial-gradient(circle at 15px 23px,  var(--cream)   14px, transparent 15px); }

/* ---- Marquee: slow, elegant specialities line ---- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; background: var(--cream); }
.marquee__track { display: inline-flex; align-items: baseline; gap: 2.6rem; white-space: nowrap; will-change: transform; animation: marqueeScroll 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--step-2); color: rgba(42,33,28,.32); }
.marquee__track > .marquee__dot { color: var(--gold-bright); font-style: normal; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---- Header: quiet shrink on scroll (desktop only) ---- */
@media (min-width: 1101px) {
  .nav { transition: min-height .35s var(--ease); }
  .brand img { transition: height .35s var(--ease); }
  .site-header.is-scrolled .nav { min-height: 62px; }
  .site-header.is-scrolled .brand img { height: 40px; }
}

/* ---- Footer: monumental wordmark ---- */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "Reichl" / "";
  position: absolute; right: -1%; bottom: -0.32em; z-index: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(7rem, 19vw, 15rem); line-height: 1;
  color: var(--cream); opacity: .045; pointer-events: none; user-select: none;
}
.site-footer .container { position: relative; z-index: 1; }

/* ---- WOW pass: small-screen refinements ---- */
@media (max-width: 620px) {
  .hero__media::before { inset: 7% -2% -2% 7%; }              /* frame overhang halved */
  .marquee { padding-block: .8rem; }
  .marquee__track { gap: 1.3rem; }
  .marquee__track > span { font-size: var(--step-1); }
  .site-footer::before { font-size: clamp(5rem, 16vw, 8rem); right: -3%; }
}

/* ---- Wochenplan ------------------------------------------------------
   Der Menüplan als lesbarer Text. Das Backend schreibt dieses Markup bei
   jeder Veröffentlichung neu; die Gestaltung liegt allein hier.          */
.wochenplan {
  display: grid;
  gap: 1.25rem;
  /* 420px ergibt auf dem Container genau zwei Spalten — drei wären zu schmal
     für Gerichtsnamen und Preis in einer Zeile. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.wtag {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.wtag::before {                       /* türkise Kante wie am Hinweiskasten im PDF */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--turquoise), var(--turquoise-2));
}
.wtag__kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .65rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.wtag__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.1;
  letter-spacing: .01em;
}
.wtag__datum {
  font-size: var(--step--1);
  color: var(--ink-soft);
  white-space: nowrap;
}
.wtag__zusatz {
  margin: -.35rem 0 .9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--gold);
}
.wtag__menues {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.wmenue {
  display: grid;
  grid-template-columns: 1.7rem 1fr auto;
  gap: .2rem .6rem;
  align-items: baseline;
}
.wmenue__nr {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--gold);
}
.wmenue__text { line-height: 1.5; }
.wmenue__preis { font-weight: 600; white-space: nowrap; }
.wochenplan__hinweis {
  max-width: 62ch;
  margin: 1.75rem auto 0;
  padding: 1rem 1.4rem;
  background: var(--cream);
  border-left: 4px solid var(--turquoise);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 560px) {
  .wtag { padding: 1.25rem 1.15rem 1.15rem; }
  .wmenue { grid-template-columns: 1.5rem 1fr; }
  .wmenue__preis {                    /* Preis rutscht unter das Gericht statt zu quetschen */
    grid-column: 2;
    font-size: var(--step--1);
    color: var(--ink-soft);
  }
}

/* Beilagen gegen Aufpreis — eine Zeile unter den Tageskarten. */
.wochenplan__dazu {
  max-width: 62ch;
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.wochenplan__dazu-titel {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .55rem;
}
.wochenplan__dazu-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.4rem;
}
.wochenplan__dazu-liste li {
  max-width: 100%;
  /* KEIN white-space: nowrap. Eine lange Bezeichnung liefe sonst über den
     Rand und würde von body{overflow-x:hidden} stumm abgeschnitten — samt
     dem Preis, wegen dem die Zeile überhaupt da steht. Zusammengehalten
     wird stattdessen nur der Betrag selbst, über das <b> und ein
     geschütztes Leerzeichen davor. */
}
.wochenplan__dazu-liste b { white-space: nowrap; }

/* ---- Das Menüplan-Blatt ----------------------------------------------
   Die Hauptsache auf der Menüplan-Seite. Gäste sollen das gesetzte Blatt
   sehen; der Text darunter ist nur die Rückfallebene fürs Handy.        */
.planblatt__bild {
  display: block;
  position: relative;
  max-width: min(820px, 92vh);
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.planblatt__bild img { display: block; width: 100%; height: auto; }
.planblatt__bild:hover,
.planblatt__bild:focus-visible { transform: translateY(-5px); box-shadow: 0 28px 64px -24px rgba(42,33,28,.45); }

.planblatt__lupe {
  position: absolute;
  right: .85rem;
  top: .85rem;          /* oben über dem Markenband — unten verdeckte es die Adresse */
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5em 1em;
  border-radius: 999px;
  background: rgba(28,22,20,.82);
  color: var(--cream);
  font-size: .78rem;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Fehlt das Bild noch, tritt der Hinweis an seine Stelle. */
.planblatt__fehlt { display: none; text-align: center; color: var(--ink-soft); padding: 3rem 1rem; }
.planblatt--leer .planblatt__bild { display: none; }
.planblatt--leer .planblatt__fehlt { display: block; }

/* ---- Textfassung, zugeklappt ----------------------------------------- */
.wplan { max-width: 900px; margin-inline: auto; }
.wplan__auf {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .3rem .7rem;
  padding: .85em 1.4em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  text-align: center;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.wplan__auf::-webkit-details-marker { display: none; }
.wplan__auf:hover { border-color: var(--turquoise); }
.wplan__auf b { font-weight: 600; }
.wplan__auf small { color: var(--ink-soft); font-size: var(--step--1); }
.wplan__auf::after {
  content: "";
  width: .5rem; height: .5rem;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.wplan[open] .wplan__auf::after { transform: rotate(-135deg) translateY(-2px); }
.wplan[open] .wplan__auf { margin-bottom: 1.75rem; }

/* ---- Menüplan-Blatt auf der Startseite --------------------------------
   Der Gast soll sehen, dass es einen Plan gibt und was darauf steht —
   nicht ein graues Kästchen mit dem Wort „Vorschau".                    */
.startblatt {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.75);
  transform: rotate(-1.1deg);          /* liegt da wie ein ausgedrucktes Blatt */
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.startblatt img { display: block; width: 100%; height: auto; }
.startblatt:hover,
.startblatt:focus-visible {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 38px 84px -28px rgba(0,0,0,.8);
}
.startblatt__fehlt {
  display: none;
  aspect-ratio: 210 / 297;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  background: var(--cream-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
}
.startblatt--leer { transform: none; box-shadow: var(--shadow-sm); }
.startblatt--leer img { display: none; }
.startblatt--leer .startblatt__fehlt { display: grid; }

/* Die Woche über dem Fließtext — vom Backend geschrieben. */
.menuplan-cta__woche {
  margin: -.35rem 0 .9rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--turquoise-2);
  line-height: 1.2;
}
@media (max-width: 760px) {
  .startblatt { transform: none; max-width: 420px; margin-inline: auto; }
}

/* ======================================================================
   Speisekarte — Inhalt schreibt quellen/speisekarte_bauen.py.
   Gesetzt wie eine gedruckte Karte: Name, Punktlinie, Preis.
   ====================================================================== */

/* Empfehlung vom Küchenchef */
.chef__karten {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.chef__karte {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid rgba(224,169,59,.35);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  text-align: center;
}
.chef__karte::before {                 /* goldene Marke oben, wie ein Siegel */
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  width: 56px; height: 3px;
  transform: translateX(-50%);
  background: var(--gold-bright);
  border-radius: 0 0 3px 3px;
}
.chef__name {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.1;
  color: var(--cream);
}
.chef__karte .chef__text { flex: 1; margin: 0 0 1.25rem; color: rgba(251,247,240,.75); }
/* .chef__karte davor: sonst gewinnt „.section--dark p“ und der Preis wird hell statt gold */
.chef__karte .chef__preis {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-bright);
}

/* Sprungleiste über der Karte */
.karte__sprung {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin: 0 auto 2.5rem;
  max-width: 900px;
}
.karte__sprung a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .45em 1.05em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color .25s, color .25s;
}
.karte__sprung a:hover,
.karte__sprung a:focus-visible { border-color: var(--turquoise); color: var(--turquoise-ink); }

/* Die Karte selbst: zwei Spalten wie ein aufgeschlagenes Heft */
.karte {
  columns: 2 420px;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1080px;
  margin-inline: auto;
}
.karte__gruppe {
  break-inside: avoid;
  margin: 0 0 2.5rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.karte__titel {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
}
.karte__titel::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.karte__liste { list-style: none; margin: 0; padding: 0; }
.gericht { padding: .7rem 0; }
.gericht + .gericht { border-top: 1px dashed rgba(92,80,72,.14); }
.gericht__kopf {
  display: flex;
  align-items: baseline;
  gap: .45rem;
}
.gericht__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.gericht__linie {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted rgba(92,80,72,.45);
  transform: translateY(-.25em);
}
.gericht__preis {
  font-weight: 600;
  white-space: nowrap;
  color: var(--gold);
}
.gericht__text {
  margin: .2rem 0 0;
  max-width: 46ch;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-soft);
}
.gericht__allergene {
  font-size: .72em;
  letter-spacing: .08em;
  color: rgba(92,80,72,.7);
  text-decoration: none;
  cursor: help;
}
.gericht__veg {
  align-self: center;
  padding: .12em .55em;
  border-radius: 999px;
  background: rgba(82,194,237,.16);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--turquoise-ink);
}
.karte__fussnote {
  margin: .6rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
}

/* Allergene — Pflichtangabe, gut auffindbar */
.allergene {
  max-width: 900px;
  margin: .5rem auto 0;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.allergene summary { cursor: pointer; font-weight: 600; }
.allergene__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .35rem 1.5rem;
  margin: 1rem 0;
}
.allergene__liste div { display: flex; gap: .6rem; font-size: var(--step--1); }
.allergene__liste dt { font-weight: 700; min-width: 1.1rem; color: var(--ink); }
.allergene__liste dd { margin: 0; color: var(--ink-soft); }
.allergene p { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }

@media (max-width: 560px) {
  .gericht__name { font-size: 1.12rem; }
  .gericht__linie { min-width: .75rem; }
}
