/* ══════════════════════════════════════════════════
   Zak · tag & nacht — Göttingen
   Kneipe mit Kinokarte: Orange auf Schwarz, Leuchtschrift, Plakat-Typo.
   ══════════════════════════════════════════════════ */

@font-face { font-family: "Kaushan Script"; src: url("/assets/fonts/kaushan-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-latin-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/karla-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --orange: #ee5a2f;
  --orange-hot: #ff7448;
  --orange-ink: #b23d18;   /* Orange als Text auf Hell */
  --bulb: #ffd27a;

  --ink: #121010;
  --coal: #1c1917;
  --coal-2: #282320;
  --cream: #f4e9d8;
  --paper: #fbf6ee;
  --white: #fff;
  --surface: #fff;
  --field: #cdbfae;
  --paper-glass: rgba(251, 246, 238, .96);
  --glow: 0;

  --text: #1b1714;
  --muted: #5d534a;
  --on-dark: #f4e9d8;
  --on-dark-muted: #c4b8a9;
  --line: rgba(27, 23, 20, .14);
  --line-dark: rgba(244, 233, 216, .14);
  --ok: #3fb950;
  --focus: #ffb547;
  --error: #b3261e;

  --script: "Kaushan Script", "Brush Script MT", cursive;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 66px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; transition: background-color .8s var(--ease), color .8s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  line-height: .98; margin: 0 0 .45em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h3 { font-size: 1.35rem; letter-spacing: .02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.small { font-size: .95rem; color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Font Awesome: feste Breite, damit vor dem Laden der Schrift nichts springt */
.icon { display: inline-block; width: 1.25em; flex: none; line-height: 1; text-align: center; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--orange); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); margin-inline: auto; }

/* ---------- Logo wie auf den Zelten im Hof ---------- */
.mark { display: inline-flex; align-items: flex-end; gap: 4px; text-decoration: none; line-height: 1; min-height: 44px; }
.mark__logo { display: block; width: auto; height: 46px; max-width: none; }
.mark__sub { font-family: var(--body); font-weight: 800; font-size: .82rem; letter-spacing: .08em; color: var(--white); padding-bottom: 2px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(18, 16, 16, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.nav__inner { width: min(1180px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a { text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: var(--on-dark-muted); padding: 10px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__links .nav__cta { margin-left: 10px; background: var(--orange); color: var(--ink); border-radius: 999px; padding: 10px 18px; box-shadow: none; }
.nav__links .nav__cta:hover { background: var(--orange-hot); color: var(--ink); }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; background: transparent; border: 1px solid var(--line-dark); cursor: pointer; position: relative; }
.nav__toggle i { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark); font-size: 1.25rem; transition: opacity .2s, transform .25s var(--ease); }
.nav__toggle .nav__close, .nav-open .nav__toggle .nav__open { opacity: 0; transform: rotate(-90deg); }
.nav-open .nav__toggle .nav__close { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem; font-weight: 500; line-height: 1.1; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary, .btn--gold { background: var(--orange); color: var(--ink); }
.btn--primary:hover, .btn--gold:hover { background: var(--orange-hot); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--coal-2); }
.btn--outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--danger { border-color: var(--error); color: var(--error); background: transparent; }
.btn--danger:hover { background: var(--error); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row--center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; font: inherit; color: inherit; }

/* ---------- Szenen-Label ---------- */
.scene { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--orange-ink); }
.scene::before { content: ""; width: 26px; height: 16px; border-radius: 3px; background: repeating-linear-gradient(-45deg, currentColor 0 5px, transparent 5px 10px); border: 2px solid currentColor; }
.dark .scene, .hero .scene, .page-hero .scene, .card--dark .scene, .band .scene { color: var(--orange); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.cream { background: var(--cream); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 58ch; color: var(--muted); }
.dark .lead { color: var(--on-dark-muted); }
.note { font-size: .92rem; color: var(--muted); margin-top: 24px; }
.dark .note { color: var(--on-dark-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(90vh, 820px); display: flex; align-items: flex-end; padding: 120px 0 64px; color: var(--white); overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: opacity .6s; }
.hero__img--night { opacity: 0; }
.is-night .hero__img--night { opacity: 1; }
.is-night .hero__img--day { opacity: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 16, 16, .9) 0%, rgba(18, 16, 16, .55) 50%, rgba(18, 16, 16, .1) 100%), linear-gradient(0deg, rgba(18, 16, 16, .85) 0%, transparent 50%); }
.hero__sign { display: inline-flex; flex-direction: column; width: clamp(190px, 30vw, 340px); margin: 24px 0 14px; line-height: 1; }
.hero__zak { display: block; width: 100%; }
.hero__zak img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(238, 90, 47, .35)); }
.hero__sub { display: block; margin: 6px 0 0; text-align: right; font-family: var(--body); font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.5rem); letter-spacing: .08em; text-transform: none; color: var(--white); }
.hero__lead { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 34ch; color: rgba(255, 255, 255, .92); margin-top: 20px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(18, 16, 16, .7); border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: .95rem; }
.status__icon { color: #a99f95; }
.status--open .status__icon { color: var(--ok); }

/* ---------- Heute-Leiste ---------- */
.heute { background: var(--orange); color: var(--ink); }
.heute__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 16px 0; font-weight: 700; }
.heute__day { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 6px; }
.heute__text { font-size: 1.1rem; }

/* ---------- Die Kneipe ---------- */
.kneipe { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.kneipe p { max-width: 58ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-weight: 700; }
.ticks li { display: flex; align-items: baseline; gap: 10px; }
.ticks .icon { color: var(--orange-ink); }
.dark .ticks .icon { color: var(--orange); }
.hours-card { background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.hours-card h3 { color: var(--white); font-size: 1.6rem; }
.hours-card .status { background: var(--coal-2); margin-bottom: 18px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line-dark); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--orange); font-weight: 800; }
.hours-card .small { color: var(--on-dark-muted); margin: 14px 0 0; }
.hours-card .btn { margin-top: 20px; width: 100%; }
.light .hours th, .light .hours td { border-bottom-color: var(--line); }
.light .hours tr.today th, .light .hours tr.today td { color: var(--orange-ink); }

/* ---------- Das Programm (Letterboard) ---------- */
.programm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.board { position: relative; padding: 34px 26px 26px; border-radius: 10px; background: #0b0a0a; border: 10px solid #2b2522; box-shadow: var(--shadow), inset 0 0 0 2px #000; }
.board::before { content: ""; position: absolute; inset: 0; border-radius: 2px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 9px); pointer-events: none; }
.board__bulbs { position: absolute; left: 14px; right: 14px; top: -24px; height: 14px; background: radial-gradient(circle, var(--bulb) 0 4px, rgba(255, 210, 122, .25) 5px 7px, transparent 8px) 0 0 / 26px 14px repeat-x; }
.board__title { position: relative; text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .3em; color: var(--orange); font-size: .9rem; margin: 0 0 14px; }
.board ol { position: relative; list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; color: #f7f2ea; font-size: clamp(1rem, 2vw, 1.25rem); }
.board li:last-child { border-bottom: 0; }
.board li span:first-child { flex: 1; }
.board li small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .9rem; color: #a99d90; margin-top: 2px; }
.board li b { font-weight: 500; color: var(--bulb); white-space: nowrap; }

/* ---------- Galerie ---------- */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(16px, calc((100% - 1180px) / 2)) 24px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.strip button { flex: none; scroll-snap-align: center; border: 0; padding: 0; background: var(--coal); border-radius: var(--r); overflow: hidden; cursor: zoom-in; position: relative; height: clamp(260px, 42vw, 420px); }
.strip img { height: 100%; width: auto; object-fit: cover; transition: transform .5s var(--ease); }
.strip button:hover img { transform: scale(1.03); }
.strip span { position: absolute; left: 14px; bottom: 12px; color: var(--white); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 9, 9, .92); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox p { color: var(--on-dark); text-align: center; margin: 12px 0 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--orange); color: var(--ink); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; display: grid; place-items: center; }

/* ---------- Kritiken ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 8px; }
.review { margin: 0; padding: 30px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.review--big { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stars { display: inline-flex; gap: 3px; color: var(--orange); font-size: 1rem; }
.review blockquote { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.1; letter-spacing: .01em; }
.review figcaption { margin-top: auto; font-size: .92rem; color: var(--muted); }
.review figcaption .icon { margin-right: 4px; }
.review--big figcaption { color: var(--on-dark-muted); }
.review a { color: inherit; font-weight: 700; }
.review__score { font-family: var(--display); font-size: 4.5rem; line-height: .9; color: var(--orange); }

/* ---------- Reservierungs-Band ---------- */
.band { position: relative; isolation: isolate; padding: clamp(84px, 11vw, 150px) 0; color: var(--white); overflow: hidden; background: var(--ink); }
.band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 16, 16, .9), rgba(18, 16, 16, .45)); }
.band .lead { color: rgba(255, 255, 255, .88); }

/* ---------- Wo & wann ---------- */
.where { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.where address { display: flex; gap: 12px; font-style: normal; font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.where address .icon, .where .big .icon { color: var(--orange-ink); margin-top: .2em; }
.where .big { display: inline-flex; align-items: center; gap: 12px; }
.where .big .icon { font-size: .7em; margin: 0; }
.where-links a { display: inline-flex; align-items: center; gap: 6px; }
.where .big { font-family: var(--display); font-size: 2rem; text-decoration: none; letter-spacing: .02em; }
.where .big:hover { color: var(--orange-ink); }
.where-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; }
.where-links a { color: var(--orange-ink); font-weight: 700; }
.map { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); z-index: 0; }
.map__el { position: absolute; inset: 0; }
/* Platzhalter, bis jemand die Karte lädt: angedeutete Straßen statt echter Kacheln */
.map__gate { --street: color-mix(in srgb, var(--text) 11%, transparent); --block: color-mix(in srgb, var(--text) 5%, transparent);
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; color: var(--text);
  background:
    linear-gradient(28deg, transparent 47%, var(--street) 47.5%, var(--street) 52.5%, transparent 53%),
    linear-gradient(-62deg, transparent 46%, var(--street) 46.5%, var(--street) 49.5%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 58px, var(--block) 58px 60px),
    repeating-linear-gradient(0deg, transparent 0 58px, var(--block) 58px 60px),
    var(--cream); }
.map__gate a { color: inherit; }
.map__gate .pin { margin-bottom: 4px; animation: pin-drop .8s var(--ease) both; }
.map__addr { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem; line-height: 1.25; }
.map__gate .small { max-width: 34ch; margin: 0; }
@keyframes pin-drop { from { transform: translateY(-24px) rotate(-45deg); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .map__gate .pin { animation: none; } }
.reviews__note { margin: 22px 0 0; max-width: 70ch; opacity: .75; }
.map .leaflet-control-attribution { font-size: 11px; }
.pin { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); border: 3px solid var(--ink); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); display: grid; place-items: center; }
.pin span { transform: rotate(45deg); font-family: var(--script); color: var(--ink); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: 56px 0 36px; border-top: 4px solid var(--orange); }
.footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer .small { color: var(--on-dark-muted); margin: 10px 0 0; }
.footer a { color: var(--on-dark); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: center; }
.footer__links a, .footer__links .linklike { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--on-dark-muted); font-weight: 600; }
.footer__links a:hover { color: var(--orange); }
.footer__credit { width: 100%; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark-muted); }
.footer__credit a { color: var(--orange); font-weight: 700; text-decoration: none; }

/* ---------- Hinweis-Banner (keine Cookies) ---------- */
.notice { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 640px; display: flex; gap: 16px; align-items: center; padding: 14px 16px 14px 20px; border-radius: 16px; background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark); box-shadow: 0 20px 60px -15px rgba(0, 0, 0, .7); font-size: .94rem; }
.notice[hidden] { display: none; }
.notice a { color: var(--orange); }
.notice .btn { flex: none; min-height: 44px; }

/* ---------- Unterseiten ---------- */
.page-main { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.page-head { margin-bottom: 36px; }
.page-hero { position: relative; isolation: isolate; color: var(--white); padding: clamp(80px, 11vw, 140px) 0 clamp(36px, 5vw, 56px); overflow: hidden; background: var(--ink); }
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 16, 16, .95), rgba(18, 16, 16, .55)); }
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 34px); }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 1.7rem; }
.card--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.card--dark h2 { color: var(--white); }

/* ---------- Reservierung ---------- */
.res-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.res-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.step { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.4rem; margin-bottom: 14px; padding: 0; }
.step__no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 1rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .admin-bar input, .admin-bar select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--field); background: var(--surface); font: inherit; font-size: 1rem; color: var(--text); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus, .admin-bar input:focus, .admin-bar select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 181, 71, .45); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hint { color: var(--muted); margin: 0; }
.hint--full { grid-column: 1 / -1; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; min-height: 48px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 48px; border-radius: 10px; border: 1.5px solid var(--field); background: var(--surface); font-weight: 700; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, color .15s; }
.slot input:hover + span { border-color: var(--ink); }
.slot input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--orange); }
.slot input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.slot--taken span { color: #a69a8c; text-decoration: line-through; background: #f2eadf; border-style: dashed; }
.slot--taken input { cursor: not-allowed; }
.privacy-note { font-size: .92rem; color: var(--muted); }
.privacy-note a { color: var(--orange-ink); }
.alert { padding: 14px 16px; border-radius: 10px; margin: 0 0 16px; font-weight: 600; }
.alert--error { background: #fbe9e7; color: #8c1d18; border: 1px solid #f1b9b3; }
.alert a { color: inherit; }
/* hCaptcha-Ergebnis (erst nach Klick auf „Reservieren“ sichtbar) */
.verify[hidden] { display: none; }
.verify { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.verify__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--coal-2); color: var(--on-dark); font-size: 1.2rem; }
.verify__body { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; color: var(--muted); }
.verify__body strong { color: var(--text); font-size: 1.05rem; }
.verify--ok { border-color: rgba(63, 185, 80, .5); background: rgba(63, 185, 80, .08); }
.verify--ok .verify__icon { background: var(--ok); color: #fff; animation: verify-pop .4s var(--ease); }
.verify--fail { border-color: #f1b9b3; background: #fbe9e7; }
.verify--fail .verify__icon { background: var(--error); color: #fff; }
@keyframes verify-pop { from { transform: scale(.6); } 70% { transform: scale(1.12); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .verify__icon, .verify__icon i { animation: none !important; } }
.success { text-align: center; padding: 16px 0; outline: none; }
.success__icon { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); }
.success__icon .icon { font-size: 34px; width: auto; }
.summary-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; text-align: left; max-width: 420px; margin: 24px auto; padding: 20px 24px; background: var(--cream); border-radius: var(--r); }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--on-dark-muted); }
.checklist .icon { color: var(--orange); margin-top: 3px; }
.big-link { font-family: var(--display); font-size: 1.9rem; text-decoration: none; color: inherit; }
.big-link:hover { color: var(--orange-ink); }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal h3 { font-family: var(--body); text-transform: none; font-size: 1.05rem; font-weight: 800; margin-top: 1.4em; letter-spacing: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .3em 0; }
.legal a { color: var(--orange-ink); }
.toc { background: var(--cream); border-radius: var(--r); padding: 20px 28px; margin-bottom: 24px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc a { text-decoration: none; }
.callout { background: var(--cream); border-left: 4px solid var(--orange-ink); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1em 0; }
.callout p { margin: 0; }
.table-wrap { overflow-x: auto; }
.data-table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1em 0; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--cream); }
code { font-size: .9em; background: var(--cream); padding: 2px 6px; border-radius: 6px; }
mark.ph { background: #ffe58f; color: #4a3800; padding: 1px 4px; border-radius: 4px; }

/* ---------- Speisekarte ---------- */
.menu-tools { position: sticky; top: var(--nav-h); z-index: 40; background: var(--paper-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.menu-tools__row { display: flex; gap: 10px; align-items: center; padding: 12px 0; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 18px; border-radius: 999px; text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }
.seg a[aria-current="true"] { background: var(--ink); color: var(--white); }
.seg a[aria-current="true"] .icon { color: var(--orange); }
.search { position: relative; flex: 1 1 220px; max-width: 360px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 42px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--surface); font: inherit; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 181, 71, .45); }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--surface); cursor: pointer; font-weight: 700; }
.filter input { accent-color: #2f7a4b; width: 18px; height: 18px; margin: 0; }
.filter .icon { color: #2f7a4b; }
.chips-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.chips-nav::-webkit-scrollbar { display: none; }
.chips-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; background: var(--surface); }
.chips-nav a:hover { border-color: var(--ink); }
.chips-nav a.is-active { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.menu-section { padding-top: 40px; scroll-margin-top: calc(var(--nav-h) + 128px); }
.page-main > p + p + .menu-section { padding-top: 0; }
.menu-section > h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.menu-section > h2 .icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--orange); font-size: 20px; }
.menu-cat { padding: 32px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 128px); }
.menu-cat:first-of-type { border-top: 0; }
.menu-cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 18px; }
.menu-cat__head h3 { font-size: 1.9rem; margin: 0; }
.menu-cat__note { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--orange); font-weight: 700; font-size: .9rem; }
.menu-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; margin: 0; padding: 0; }
.mi { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mi__row { display: flex; align-items: baseline; gap: 10px; }
.mi__name { font-weight: 800; font-size: 1.08rem; }
.mi__dots { flex: 1; border-bottom: 2px dotted #cbbfb1; transform: translateY(-4px); min-width: 16px; }
.mi__price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi__desc { margin: 4px 0 0; color: var(--muted); font-size: .96rem; }
.mi__sizes { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .94rem; font-variant-numeric: tabular-nums; }
.mi__sizes li span { color: var(--muted); margin-right: 6px; }
.mi__tags { display: inline-flex; gap: 6px; margin-left: 6px; vertical-align: 2px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.tag .icon { width: auto; font-size: 10px; }
.tag--vegan { background: #d9efe0; color: #1d5534; }
.tag--vegetarisch { background: #eaf2d7; color: #3d5216; }
.tag--info { background: var(--cream); color: var(--muted); }
.menu-pending { padding: 16px 20px; border-radius: var(--r); background: var(--cream); color: var(--muted); margin: 8px 0 0; }
.menu-specials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.menu-special { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r); background: var(--orange); color: var(--ink); }
.menu-special .special__day { font-size: .88rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.menu-special strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; font-weight: 600; }
.menu-special__price { font-family: var(--display); font-size: 2rem; white-space: nowrap; }
.menu-empty { padding: 32px; text-align: center; color: var(--muted); }
.menu-footer { margin-top: 48px; }
.is-hidden { display: none !important; }

/* ---------- Verwaltung ---------- */
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.admin-bar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-bar input, .admin-bar select { width: auto; min-height: 40px; padding: 6px 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--ink); color: var(--on-dark); padding: 16px 18px; border-radius: var(--r); }
.stat strong { display: block; font-family: var(--display); font-size: 2.1rem; color: var(--orange); line-height: 1.1; font-weight: 500; }
.stat span { font-size: .9rem; color: var(--on-dark-muted); }
.res-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.res-table th, .res-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.res-table th { background: var(--cream); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.res-table td.strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.res-table small { color: var(--muted); }
.res-table a { color: var(--orange-ink); word-break: break-all; }
.res-table .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.res-table .empty { text-align: center; color: var(--muted); padding: 32px; }
.res-table tr.status-storniert td { color: #9a8f83; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .88rem; font-weight: 800; }
.badge--bestaetigt { background: #d9efe0; color: #1d5534; }
.badge--angefragt { background: #fff1c7; color: #6b4e00; }
.badge--storniert { background: #f1e4e2; color: #8c1d18; }
.badge--unbestaetigt { background: #e9e4dc; color: #5d534a; }
/* Ablauf: ausgefüllt → per Mail bestätigt → Zak sagt zu */
.steps { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.steps span { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--text); font-weight: 800; }
.steps .is-done span { background: var(--ok); color: #fff; }
.steps .is-now { border-color: var(--orange); color: var(--text); }
.steps .is-now span { background: var(--orange); color: var(--ink); }
.add-card { margin-top: 24px; }
.add-card summary { cursor: pointer; font-weight: 800; min-height: 44px; display: flex; align-items: center; }
.add-card form { margin-top: 16px; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 16px 24px; border-bottom: 1px solid var(--line-dark); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 15px 8px; border-bottom: 1px solid var(--line-dark); font-size: 1.15rem; border-radius: 0; }
  .nav__links a[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .nav__links .nav__cta { margin: 16px 0 0; justify-content: center; text-align: center; border: 0; border-radius: 999px; }
  .kneipe, .programm, .where, .res-layout { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .res-aside { position: static; }
  .menu-items { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; padding: 100px 0 48px; }
  .hero::before { background: linear-gradient(0deg, rgba(18, 16, 16, .95) 25%, rgba(18, 16, 16, .5) 100%); }
  .board { padding: 28px 16px 18px; border-width: 7px; }
  .field-row, .field-row--3, .menu-specials { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .map { min-height: 340px; }
  .menu-tools { position: static; }
  .menu-cat, .menu-section { scroll-margin-top: calc(var(--nav-h) + 12px); }
  .search { max-width: none; flex-basis: 100%; order: 3; }
  .filter { flex: 1 1 0; justify-content: center; }
  .notice { flex-direction: column; align-items: stretch; text-align: left; }
  .lb-btn { top: auto; bottom: 20px; transform: none; }
  .page-hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .legal h2 { font-size: 1.45rem; }
}

@media print {
  .nav, .footer, .notice, .no-print, .menu-tools, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section, .page-main { padding: 0; }
  .mi { break-inside: avoid; }
}
.ticks--info { margin-top: 20px; font-weight: 600; font-size: .98rem; }

/* ══════════════════════════════════════════════════
   TAGESZEITEN — Morgen · Mittag · Abend · Nacht
   ══════════════════════════════════════════════════ */
html[data-daypart="morgen"] { --paper: #fdf8f0; --cream: #f7ecdb; --paper-glass: rgba(253, 248, 240, .95); }
html[data-daypart="abend"]  { --paper: #f7e9d4; --cream: #efd6b2; --paper-glass: rgba(247, 233, 212, .95); --field: #c9b08f; }
html[data-daypart="nacht"]  {
  --paper: #0f0d0d; --surface: #1b1816; --cream: #171413; --text: #f4e9d8; --muted: #bcae9f;
  --line: rgba(244, 233, 216, .14); --orange-ink: #ff8a5c; --field: #4a403a; --paper-glass: rgba(15, 13, 13, .94);
  color-scheme: dark;
}
html[data-daypart="nacht"] .dark { background: #070606; border-block: 1px solid var(--line-dark); }
html[data-daypart="nacht"] .hours-card, html[data-daypart="nacht"] .stat, html[data-daypart="nacht"] .review--big { border: 1px solid var(--line-dark); }
html[data-daypart="nacht"] .btn--dark, html[data-daypart="nacht"] .slot input:checked + span { background: var(--orange); color: var(--ink); border-color: var(--orange); }
html[data-daypart="nacht"] .btn--outline:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
html[data-daypart="nacht"] .menu-cat__note { background: var(--orange); color: var(--ink); }
html[data-daypart="nacht"] .mi__dots { border-color: var(--line); }
html[data-daypart="nacht"] .map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.6); }
html[data-daypart="nacht"] .tag--vegan, html[data-daypart="nacht"] .tag--vegetarisch { background: #1f3527; color: #a8e2bb; }
html[data-daypart="nacht"] .alert--error { background: #3a1512; color: #ffb4a9; border-color: #6b2620; }
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }

/* Inhalte je Tageszeit */
[data-dp] { display: none !important; }
html[data-daypart="morgen"] [data-dp~="morgen"],
html[data-daypart="mittag"] [data-dp~="mittag"],
html[data-daypart="abend"]  [data-dp~="abend"],
html[data-daypart="nacht"]  [data-dp~="nacht"] { display: revert !important; }

/* ---------- Hero je Tageszeit ---------- */
.hero__img { opacity: 0; transition: opacity 1.2s var(--ease); animation: kenburns 28s ease-in-out infinite alternate; will-change: transform; }
html[data-daypart="morgen"] .hero__img[data-for="morgen"],
html[data-daypart="mittag"] .hero__img[data-for="mittag"],
html[data-daypart="abend"]  .hero__img[data-for="abend"],
html[data-daypart="nacht"]  .hero__img[data-for="nacht"] { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: background .9s var(--ease); }
html[data-daypart="morgen"] .hero::after { background: radial-gradient(120% 80% at 85% 0%, rgba(255, 196, 120, .35), transparent 60%); }
html[data-daypart="mittag"] .hero::after { background: radial-gradient(120% 80% at 80% 0%, rgba(255, 240, 200, .18), transparent 60%); }
html[data-daypart="abend"]  .hero::after { background: linear-gradient(0deg, rgba(238, 90, 47, .28), transparent 60%), radial-gradient(100% 70% at 80% 10%, rgba(255, 150, 60, .3), transparent 60%); }
html[data-daypart="nacht"]  .hero::after { background: radial-gradient(90% 70% at 75% 20%, rgba(40, 60, 140, .28), transparent 65%); }

/* Neon-Schild */
.hero__zak img { transition: filter .6s; }
html[data-daypart="abend"] .hero__zak img, html[data-daypart="nacht"] .hero__zak img {
  filter: drop-shadow(0 0 4px rgba(255, 120, 70, .9)) drop-shadow(0 0 16px rgba(255, 90, 47, .7)) drop-shadow(0 0 48px rgba(238, 90, 47, .5));
}
html[data-daypart="abend"] .hero__zak, html[data-daypart="nacht"] .hero__zak {
  animation: neon-on 1.6s steps(1) 1, neon-buzz 9s 3s infinite;
}
@keyframes neon-on { 0%, 12%, 22%, 30% { opacity: .2; } 8%, 18%, 26%, 100% { opacity: 1; } }
@keyframes neon-buzz { 0%, 93%, 95%, 100% { opacity: 1; } 94% { opacity: .55; } }

/* Lichterkette */
.lights { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1s; }
html[data-daypart="abend"] .lights, html[data-daypart="nacht"] .lights { opacity: 1; }
.lights svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lights path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.lights i { position: absolute; width: 9px; height: 9px; margin: -2px 0 0 -4px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 10px 3px rgba(255, 210, 122, .65); animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--n) * -0.37s); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Zeitreise */
.timeswitch { display: inline-flex; gap: 4px; padding: 4px; margin-top: 22px; border-radius: 999px; background: rgba(18, 16, 16, .6); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.timeswitch__label { align-self: center; padding: 0 10px 0 12px; font-size: .88rem; font-weight: 700; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .1em; }
.timeswitch button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--on-dark); cursor: pointer; font-weight: 700; font-size: .92rem; transition: background .2s, color .2s; position: relative; }
.timeswitch button:hover { background: rgba(255, 255, 255, .1); }
.timeswitch button[aria-pressed="true"] { background: var(--orange); color: var(--ink); }
.timeswitch button.is-now { box-shadow: inset 0 0 0 2px var(--orange); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.weather { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(18, 16, 16, .7); border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: .95rem; }
.weather[hidden] { display: none; }
.weather b { color: var(--bulb); }

/* ---------- Ticker ---------- */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: inline-flex; align-items: center; gap: 14px; padding: 14px 0 14px 28px; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; white-space: nowrap; }
.ticker li::after { content: "✦"; margin-left: 14px; font-size: .8em; }
.ticker li .icon { opacity: .85; }
.ticker li.is-today { background: var(--ink); color: var(--orange); padding-right: 0; border-radius: 6px; padding-left: 16px; margin-left: 12px; }
.ticker li.is-today::after { color: var(--orange); margin-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Letterboard (Animation) ---------- */
.board__bulbs { animation: chase 1.4s steps(2) infinite; }
@keyframes chase { to { background-position: 13px 0; } }
.board li { transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s, color .3s; transition-delay: calc(var(--i, 0) * 70ms); }
.board.is-swapping li { opacity: 0; transform: translateY(-8px) rotateX(60deg); }
.board li.is-picked { background: rgba(238, 90, 47, .18); box-shadow: inset 4px 0 0 var(--orange); padding-left: 10px; margin-left: -10px; padding-right: 6px; }
.board li.is-flash { color: var(--orange); }
.board__foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.board__foot .small { color: #a99d90; margin: 0; }
.board__foot .btn { min-height: 44px; }

/* ---------- Die Woche ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.week__day { position: relative; padding: 18px 16px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-height: 190px; transition: transform .25s var(--ease), border-color .25s; }
.week__day:hover { transform: translateY(-4px); border-color: var(--orange); }
.week__day h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0; letter-spacing: .08em; color: var(--muted); }
.week__day h3 .icon { color: var(--orange-ink); }
.week__day strong { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 1.35rem; line-height: 1.05; }
.week__day p { margin: 0; font-size: .92rem; color: var(--muted); }
.week__day .week__time { margin-top: auto; font-weight: 800; font-size: .92rem; font-variant-numeric: tabular-nums; }
.week__day.today { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); }
.week__day.today h3, .week__day.today p { color: var(--ink); }
.week__day.today::before { content: "Heute"; position: absolute; top: -11px; right: 12px; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--orange); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Gruppen ---------- */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.groups__img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.groups__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.groups__img:hover img { transform: scale(1.04); }
.groups__img figcaption { position: absolute; left: 16px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(18, 16, 16, .75); color: var(--on-dark); font-size: .9rem; font-weight: 700; }

/* ---------- Toast (Easter Egg) ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: var(--orange); font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 1.2rem; box-shadow: 0 20px 60px -15px rgba(0, 0, 0, .8); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.hasta .hero__zak { animation: neon-on 1.2s steps(1) 1 !important; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.count { font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 2px 10px; }
  .week__day { flex: 0 0 62%; scroll-snap-align: start; min-height: 170px; }
  .groups { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .timeswitch { display: flex; width: 100%; overflow-x: auto; }
  .timeswitch__label { display: none; }
  .timeswitch button { flex: 1; justify-content: center; padding: 6px 8px; }
  .timeswitch button span { display: none; }
  .ticker li { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__img, .board__bulbs, .lights i, .ticker__track { animation: none !important; }
  .ticker__track { width: auto; flex-wrap: wrap; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; }
}
.board li span:first-child { min-width: 0; }
.board li small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); margin-top: 28px; padding: 14px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); text-decoration: none; box-shadow: var(--shadow); }
.insta img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); transition: transform .6s var(--ease); }
.insta:hover img { transform: scale(1.02); }
.insta__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px clamp(4px, 2vw, 24px) 8px 0; }
.insta .scene { color: var(--orange); margin: 0; }
.insta__handle { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.1; color: var(--white); overflow-wrap: anywhere; }
.insta__handle .icon { color: var(--orange); margin-right: 8px; }
.insta__text { font-size: 1.1rem; max-width: 36ch; color: var(--on-dark-muted); }
.insta:hover .btn--primary { background: var(--orange-hot); }
@media (max-width: 700px) {
  .insta { grid-template-columns: 38% minmax(0, 1fr); gap: 14px; padding: 10px; }
  .insta__body { gap: 8px; padding: 4px 4px 4px 0; }
  .insta .scene { font-size: .82rem; letter-spacing: .1em; }
  .insta__handle { font-size: 1.05rem; }
  .insta__handle .icon { margin-right: 4px; }
  .insta__text { font-size: .9rem; line-height: 1.4; }
  .insta .btn { min-height: 40px; padding: 8px 14px; font-size: .9rem; gap: 6px; }
}
@media (max-width: 380px) { .insta__text { display: none; } }
/* ---------- Fotos außerhalb der Galerie ---------- */
/* Drei Eindrücke unter „Die Kneipe“ */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.mosaic figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; height: clamp(240px, 30vw, 380px); box-shadow: var(--shadow); background: var(--coal); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption, .res-photo figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(18, 16, 16, .75); color: var(--on-dark); font-size: .9rem; font-weight: 700; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mosaic__big { grid-column: 1 / -1; }
  .mosaic figure { height: 220px; }
}

/* Dunkle Sektion mit gedimmtem Foto dahinter */
.section--photo { position: relative; isolation: isolate; overflow: hidden; }
.section__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.section--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 16, 16, .92) 0%, rgba(18, 16, 16, .7) 55%, rgba(18, 16, 16, .5) 100%); }

/* Karten-Platzhalter: Eingang statt angedeuteter Straßen */
.map__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.map__gate:has(.map__photo) { isolation: isolate; background: var(--ink); color: var(--white); }
.map__gate:has(.map__photo)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(18, 16, 16, .88), rgba(18, 16, 16, .55) 80%), rgba(18, 16, 16, .2); }
.map__gate:has(.map__photo) .small { color: rgba(255, 255, 255, .82); }

/* Speisekarte: Fotostreifen je Kategorie */
.menu-cat__photo { margin: 0 0 22px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 7 / 2; background: var(--coal); box-shadow: var(--shadow); }
.menu-cat__photo img { width: 100%; height: 100%; object-fit: cover; }
#fruehstueck .menu-cat__photo img { object-position: 50% 55%; }
#heisse-getraenke .menu-cat__photo img { object-position: 50% 40%; }
#bier .menu-cat__photo img { object-position: 50% 45%; }
#wein-sekt .menu-cat__photo img { object-position: 50% 50%; }
#cocktails .menu-cat__photo img { object-position: 50% 62%; }
@media (max-width: 640px) { .menu-cat__photo { aspect-ratio: 16 / 8; } }
@media print { .menu-cat__photo { display: none; } }

/* Reservierung: Foto über den Hinweisen */
.res-photo { position: relative; margin: 0 0 18px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--coal); }
.res-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 960px) { .res-photo { display: none; } }

/* ---------- Schrift größer (Knopf in der Navigation) ---------- */
html.text-lg { font-size: 118.75%; }
.nav__text { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); font: 600 .9rem/1 var(--body); cursor: pointer; transition: background .15s, border-color .15s; }
.nav__text:hover { border-color: var(--on-dark-muted); background: rgba(255, 255, 255, .06); }
.nav__text[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.nav__text .icon { font-size: 1.05rem; }
@media (max-width: 1240px) { .nav__text span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .nav__text { width: 48px; justify-content: center; padding: 0; } }
@media (max-width: 960px) { .nav__text { order: 1; margin-left: auto; height: 48px; } .nav__toggle { order: 2; margin-left: 8px; } }

/* ---------- Nachspann: Wer diese Seite baut ---------- */
.maker { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.maker p { max-width: 60ch; }
.maker__links { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.maker__links a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.maker__links a:hover { border-color: var(--orange); transform: translateY(-1px); }
.maker__links .icon { color: var(--orange-ink); font-size: 1.2rem; }
.maker__links span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.maker__links strong { overflow-wrap: anywhere; }
.maker__links small { color: var(--muted); font-size: .9rem; }
.maker__card { text-align: center; padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow); }
.maker__avatar { width: 140px; height: 140px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; border: 4px solid var(--orange); }
.maker__quote { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; color: var(--white); margin: 0 auto 14px; max-width: 22ch; }
.maker__meta { margin: 0; color: var(--orange); font-weight: 700; letter-spacing: .04em; }
@media (max-width: 960px) { .maker { grid-template-columns: minmax(0, 1fr); } .maker__card { order: -1; } }

/* „Made by“-Fenster */
.maker-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; padding: 22px; border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.maker-dialog::backdrop { background: rgba(10, 9, 9, .7); }
.maker-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.maker-dialog__head h2 { margin: 0; font-size: 1.6rem; }
.maker-dialog__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 1.1rem; }
.maker-dialog__profile { display: flex; gap: 16px; align-items: flex-start; }
.maker-dialog__profile img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.maker-dialog__profile p { margin: 0; font-size: .98rem; }
.maker__links--compact { grid-template-columns: 1fr; margin: 18px 0; gap: 8px; }
.maker__links--compact a { min-height: 50px; }
@media (max-width: 480px) { .maker-dialog__profile { flex-direction: column; align-items: center; text-align: center; } }

.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging button { pointer-events: none; }
.band > img { will-change: transform; }
.programm > *, .kneipe > *, .groups > *, .where > * { min-width: 0; }
@media (max-width: 960px) { .kneipe, .programm, .where, .groups { grid-template-columns: minmax(0, 1fr); } }

/* ---------- News-Banner (alle Seiten) ---------- */
.site-banner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 52px 10px 16px; position: relative; text-align: center; font-weight: 700; font-size: .98rem; background: var(--coal-2); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.site-banner a { color: inherit; text-decoration-thickness: 2px; }
.site-banner--wichtig { background: var(--orange); color: var(--ink); }
.site-banner--feier { background: linear-gradient(90deg, #e7b04b, #ffd27a, #e7b04b); color: var(--ink); }
.site-banner__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.site-banner__close:hover { background: rgba(0, 0, 0, .12); }
.site-banner { animation: drop .5s var(--ease); }
@keyframes drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Angebot des Tages (Hero) ---------- */
.offer { position: absolute; right: max(16px, calc((100% - 1180px) / 2)); bottom: 64px; z-index: 2; width: min(320px, calc(100% - 32px)); padding: 22px 22px 20px; border-radius: 18px; background: var(--bulb); color: var(--ink); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8); transform: rotate(2.5deg); animation: offer-in .9s .4s var(--ease) both; }
.offer[hidden] { display: none; }
.offer::before { content: "Angebot des Tages"; display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--bulb); font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.offer strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.7rem; line-height: 1; font-weight: 600; }
.offer p { margin: 6px 0 0; font-size: .95rem; }
.offer b { display: block; margin-top: 10px; font-family: var(--display); font-size: 2.2rem; line-height: 1; font-weight: 600; }
@keyframes offer-in { from { opacity: 0; transform: translateY(30px) rotate(-4deg); } to { opacity: 1; transform: rotate(2.5deg); } }
.ticker li.is-offer { background: var(--bulb); color: var(--ink); border-radius: 6px; padding-left: 16px; margin-left: 12px; }
@media (max-width: 960px) { .offer { position: relative; right: auto; bottom: auto; margin: 26px 0 0; transform: rotate(-1.5deg); } @keyframes offer-in { from { opacity: 0; } to { opacity: 1; } } }

/* ---------- Verwaltung: Tabs, Einstellungen, Sicherheit ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs [role="tab"] { min-height: 48px; padding: 10px 18px; border: 0; background: transparent; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--orange); }
.tabs__logout { margin-left: auto; }
.alert--warn { background: #fff3cd; color: #6b4e00; border: 1px solid #f2d27a; }
.settings { display: grid; gap: 16px; }
.settings fieldset.card { margin: 0; min-width: 0; }
.settings legend { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .03em; padding: 0 6px; margin-left: -6px; }
.switch-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.switch-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.switch-row small { color: var(--muted); }
.field__label { font-weight: 700; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--field); border-radius: 999px; cursor: pointer; font-weight: 600; }
.radio-row input { accent-color: var(--orange); width: 18px; height: 18px; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--orange); background: rgba(238, 90, 47, .1); }
.field-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field[hidden] { display: none; }
.preview { display: grid; gap: 6px; }
.preview .site-banner { border-radius: 10px; animation: none; padding-right: 16px; }
.row-actions { display: flex; gap: 8px; }
.save-bar { position: sticky; bottom: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--paper-glass); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 5; }
.save-bar .alert { margin: 0; flex: 1 1 260px; }
.save-ok { font-weight: 800; color: #2f7a4b; }
html[data-daypart="nacht"] .save-ok { color: #7fdc9b; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.sec-grid .card + .card { margin-top: 0; }
.steps-list { padding-left: 1.2em; color: var(--muted); }
.qr { display: grid; justify-items: start; gap: 8px; margin: 12px 0; }
.qr svg { width: 220px; height: 220px; background: #fff; border-radius: 12px; padding: 6px; }
.secret code { font-size: 1.05rem; letter-spacing: .08em; word-break: break-all; }
@media (max-width: 960px) { .sec-grid { grid-template-columns: 1fr; } .field-row--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .field-row--4 { grid-template-columns: 1fr; } }

/* ---------- Font-Awesome-Feinschliff ---------- */
.hours-card h3 { display: flex; align-items: center; gap: 10px; }
.hours-card h3 .icon { color: var(--orange); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; }
.site-banner .icon { flex: none; }
.weather .icon { color: var(--bulb); }
p.small > .icon:first-child { margin-right: 6px; color: var(--orange-ink); }
a > .icon + * , a > .icon { vertical-align: -0.05em; }
.footer__info { display: grid; gap: 4px; }
.footer__info span { display: inline-flex; align-items: center; gap: 8px; }
.footer__info .icon { color: var(--orange); }
label > .icon:first-child { margin-right: 6px; color: var(--orange-ink); font-size: .9em; }
.card h2 > .icon:first-child, .res-aside h2 > .icon:first-child { margin-right: 10px; color: var(--orange); font-size: .8em; }
.privacy-note .icon { color: var(--ok); margin-right: 4px; }
.menu-cat__head h3 { display: inline-flex; align-items: center; gap: 12px; }
.menu-cat__head h3 .icon { color: var(--orange-ink); font-size: .75em; }
.tabs [role="tab"] .icon { margin-right: 6px; }
.big-icon { font-size: 3.4rem; color: var(--orange-ink); margin: 6px 0 4px; }
.week__day.today h3 .icon { color: var(--ink); }
.badge--abgelaufen { background: #f6d9a8; color: #6b4300; }
.inbox { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--r); background: #fff8e6; border: 1px solid #f0d58c; color: #3b2f12; }
.inbox h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.3rem; }
.inbox__count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .9rem; }
.inbox__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.inbox__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-top: 1px solid #f0d58c; }
.inbox__list li > span:first-child { font-weight: 700; flex: 1 1 220px; }

/* ---------- Reservierung in Schritten ---------- */
.wizard-progress { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.wizard-progress[hidden] { display: none; }
.wizard-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .88rem; text-align: center; }
.wizard-progress li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.wizard-progress li:first-child::before { display: none; }
.wizard-progress li.is-done::before, .wizard-progress li.is-now::before { background: var(--orange); }
.wizard-progress__no { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--field); background: var(--surface); color: var(--muted); font-family: var(--display); font-size: 1rem; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s; }
.wizard-progress li.is-now { color: var(--text); }
.wizard-progress li.is-now .wizard-progress__no { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.wizard-progress li.is-done { cursor: pointer; color: var(--text); }
.wizard-progress li.is-done .wizard-progress__no { border-color: var(--ink); background: var(--ink); color: var(--orange); }
.wizard-sum { min-height: 1.5em; margin: 0 0 22px; text-align: center; font-weight: 700; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.wizard-sum[hidden] { display: none; }

.wstep { animation: wstep-in .35s var(--ease); }
.wstep[hidden] { display: none; }
.wstep h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 4.5vw, 2.1rem); outline: none; }
.wstep__sub { margin: 28px 0 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.15rem; }
.wstep__lead { margin: -8px 0 18px; font-weight: 700; }
@keyframes wstep-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wstep { animation: none; } }

.quick-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin-bottom: 18px; }
.chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--field); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.chip strong { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 500; font-size: 1.1rem; }
.chip small { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.98); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--orange); }
.chip[aria-pressed="true"] small { color: var(--on-dark-muted); }
.chip:focus-visible, .stepper__btn:focus-visible, .res-review__edit:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field--date { max-width: 320px; }

.stepper { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--surface); }
.stepper__btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--cream); color: var(--text); font-size: 1.1rem; cursor: pointer; transition: background .15s, transform .15s; }
.stepper__btn:hover:not(:disabled) { background: var(--ink); color: var(--orange); }
.stepper__btn:active:not(:disabled) { transform: scale(.94); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__value { min-width: 9.5ch; text-align: center; font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
#group-hint { margin-top: 10px; }
#group-hint a { color: var(--orange-ink); font-weight: 700; }

.slots { display: block; min-height: 48px; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-group__title { margin: 0 0 8px; font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot span { min-height: 52px; font-size: 1.05rem; }

.field__error { margin: 6px 0 0; color: var(--error); font-weight: 700; font-size: .92rem; }
.field__error[hidden] { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); }

.res-review { margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.res-review__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 14px 16px; }
.res-review__row + .res-review__row { border-top: 1px solid var(--line); }
.res-review dt { color: var(--muted); font-weight: 700; }
.res-review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.res-review__edit { border: 0; background: none; padding: 4px 2px; color: var(--orange-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.next-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.next-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.next-steps .icon { color: var(--orange-ink); margin-top: 3px; }
.next-steps strong { color: var(--text); }

.wizard-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.wizard-nav .btn[hidden] { display: none; }
.wizard-nav .btn { white-space: nowrap; }
.wizard-nav #next, .wizard-nav #submit { min-width: 12rem; }
html[data-daypart="nacht"] .chip[aria-pressed="true"], html[data-daypart="nacht"] .wizard-progress li.is-done .wizard-progress__no { background: var(--orange); border-color: var(--orange); color: var(--ink); }
html[data-daypart="nacht"] .chip[aria-pressed="true"] small { color: var(--ink); }

@media (max-width: 640px) {
  .res-card { padding: 20px 16px 0; }
  .wizard-progress__label { font-size: .8rem; }
  /* Weiter/Zurück immer in Daumennähe */
  .wizard-nav { position: sticky; bottom: 0; z-index: 5; margin: 22px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper-glass); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .wizard-nav .btn { flex: 1; min-width: 0; padding: 12px 14px; gap: 8px; }
  .res-card form { scroll-padding-bottom: 96px; }
  .wstep[data-step="3"] { padding-bottom: 8px; }
  .wizard-nav #next, .wizard-nav #submit { flex: 2; min-width: 0; }
  .res-review__row { grid-template-columns: minmax(0, 1fr) auto; }
  .res-review dt { grid-column: 1 / -1; font-size: .85rem; }
  .field--date { max-width: none; }
  .quick-days { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .summary-list { grid-template-columns: 1fr; gap: 0; padding: 16px 18px; } .summary-list dd { margin-bottom: 10px; } }

/* ---------- Verwaltung: Tabs, Tag, Anfragen, Kalender, Eintragen ---------- */
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.admin-head h1 { margin: 0; }
.admin-head .btn[hidden] { display: none; }
.tabs { position: sticky; top: var(--nav-h); z-index: 20; display: flex; flex-wrap: nowrap; gap: 4px; margin: 0 0 20px; padding: 6px 0 0; background: var(--paper); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; white-space: nowrap; }
.tabs [role="tab"]:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 8px; }
.tabs [role="tab"] .icon { margin: 0; }
.tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--ink); font-family: var(--body); font-weight: 800; font-size: .78rem; letter-spacing: 0; }
.tab-count[hidden] { display: none; }

.day-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.day-nav { display: flex; align-items: center; gap: 8px; }
.btn--icon { width: 48px; min-height: 48px; padding: 0; }
.day-nav__date { position: relative; display: grid; min-width: 15rem; }
.day-nav__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.3rem, 3.5vw, 1.7rem); letter-spacing: .02em; text-align: center; line-height: 1.1; pointer-events: none; }
.day-nav__date input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.day-nav__date:focus-within .day-nav__title { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.day-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

.day-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.day-stats .stat { padding: 12px 16px; }
.day-stats .stat strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.stat--alert { box-shadow: inset 0 0 0 2px var(--orange); }

.rlist { display: grid; gap: 10px; }
.ritem { display: grid; grid-template-columns: 5.5rem minmax(0, 1.4fr) minmax(0, 1.1fr) auto; grid-template-areas: "when who contact status" "when actions actions actions"; gap: 8px 18px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ritem__when { grid-area: when; display: flex; flex-direction: column; gap: 2px; }
.ritem__date { font-weight: 800; font-size: .85rem; color: var(--muted); }
.ritem__time { font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ritem__persons { font-weight: 800; color: var(--orange-ink); }
.ritem__who { grid-area: who; min-width: 0; }
.ritem__name { display: block; font-size: 1.08rem; }
.ritem__meta { color: var(--muted); font-variant-numeric: tabular-nums; }
.ritem__notes { display: flex; gap: 8px; margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--cream); font-size: .95rem; }
.ritem__notes .icon { color: var(--orange-ink); margin-top: 3px; }
.ritem__contact { grid-area: contact; display: grid; gap: 4px; min-width: 0; }
.ritem__link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--orange-ink); font-weight: 700; overflow-wrap: anywhere; }
.ritem__status { grid-area: status; justify-self: end; text-align: right; }
.ritem__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; }
.ritem__actions .btn { gap: 6px; }
.ritem.status-storniert { opacity: .6; }
.ritem.status-angefragt, .ritem.is-expired { border-color: #f0d58c; background: color-mix(in srgb, var(--surface) 88%, #ffd27a); }
.btn--ghost-danger { margin-left: auto; border-color: transparent; background: transparent; color: var(--error); }
.btn--ghost-danger:hover { border-color: var(--error); }
.rlist__empty { display: grid; justify-items: center; gap: 10px; padding: 48px 16px; border: 1.5px dashed var(--field); border-radius: var(--r); color: var(--muted); text-align: center; }
.rlist__empty .icon { font-size: 2rem; width: auto; color: var(--orange-ink); }
.rlist__empty p { margin: 0; font-weight: 700; }

.panel-head { margin-bottom: 16px; }
.panel-head h2 { margin: 0 0 4px; }
.panel-head p { margin: 0; max-width: 65ch; }
.panel-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--cream); }
.seg__btn { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font-weight: 800; cursor: pointer; }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--orange); }
.seg__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Kalender: Monat mit Auslastungsbalken + gewählter Tag */
.plan { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) {
  .plan { grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 32px; }
  .month { position: sticky; top: calc(var(--nav-h) + 76px); }
}
.month { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.month__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.month__title { margin: 0; font-size: clamp(1.3rem, 3.5vw, 1.6rem); text-align: center; }
.month__wd, .month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month__wd span { padding: 4px 0; text-align: center; font-weight: 800; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mday { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; aspect-ratio: 1 / 1.05; min-height: 48px; padding: 6px 6px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.mday:hover { border-color: var(--ink); }
.mday:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; z-index: 1; }
.mday__no { font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.mday__guests { font-size: .72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1; }
.mday__bar { display: block; width: 100%; height: 6px; margin-top: auto; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); overflow: hidden; }
.mday__fill, .tl__fill { display: block; border-radius: inherit; background: var(--ok); }
.mday__fill { height: 100%; width: var(--w, 0%); transition: width .4s var(--ease); }
.is-busy.mday__fill, .is-busy.tl__fill { background: #e7a12f; }
.is-full.mday__fill, .is-full.tl__fill { background: var(--error); }
.mday.is-out { opacity: .4; }
.mday.is-past:not([aria-pressed="true"]) { background: color-mix(in srgb, var(--paper) 60%, var(--surface)); border-color: transparent; }
.mday__bar:empty { visibility: hidden; }
.mday.is-past .mday__no { color: var(--muted); }
.mday.is-today .mday__no { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; margin: -3px 0 0 -3px; border-radius: 999px; background: var(--orange); color: var(--ink); }
.mday[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.mday[aria-pressed="true"] .mday__guests { color: var(--on-dark-muted); }
.mday[aria-pressed="true"] .mday__bar { background: rgba(255, 255, 255, .18); }
.mdot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--surface); }
.month__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); }
.month__legend li { display: inline-flex; align-items: center; gap: 6px; }
.month__legend .mdot { position: static; box-shadow: none; }
.mleg { display: inline-block; width: 18px; height: 6px; border-radius: 999px; background: var(--ok); }
.mleg--busy { background: #e7a12f; }
.mleg--full { background: var(--error); }
.dayview { min-width: 0; }

/* Belegung über den Tag */
.tl { margin: 0 0 16px; padding: 14px 16px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tl[hidden] { display: none; }
.tl__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; font-weight: 800; }
.tl__peak { font-weight: 700; color: var(--muted); }
.tl__bars, .tl__axis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.tl__bars { height: 72px; align-items: end; border-bottom: 1px solid var(--line); }
.tl__col { display: flex; align-items: flex-end; height: 100%; }
.tl__fill { width: 100%; height: var(--h, 0%); border-radius: 4px 4px 0 0; transition: height .4s var(--ease); }
.tl__axis span { padding-top: 4px; font-size: .72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: visible; }

.add-form { max-width: 820px; }
.add-form h2 { margin-top: 0; }
.alert--ok { background: #e3f3e8; color: #1d5534; border: 1px solid #b5dcc2; }
.alert--ok[hidden], .alert--error[hidden] { display: none; }
.link-btn { margin-left: 8px; border: 0; background: none; padding: 0; color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

html[data-daypart="nacht"] .ritem.status-angefragt, html[data-daypart="nacht"] .ritem.is-expired { background: #2a2214; border-color: #5c4a1e; }
html[data-daypart="nacht"] .alert--ok { background: #12301d; color: #9fe0b4; border-color: #22543a; }

@media (max-width: 760px) {
  .admin-head h1 { font-size: 2.2rem; }
  .tabs { margin-left: -16px; margin-right: -16px; padding-left: 12px; padding-right: 12px; }
  .tabs [role="tab"] { padding: 10px 12px; font-size: .92rem; }
  .day-head { flex-direction: column; align-items: stretch; }
  .day-nav { justify-content: space-between; }
  .day-nav__date { min-width: 0; flex: 1; }
  .day-tools { justify-content: space-between; }
  .day-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ritem { grid-template-columns: 4.6rem minmax(0, 1fr); grid-template-areas: "when who" "when status" "contact contact" "actions actions"; }
  .ritem__status { justify-self: start; text-align: left; }
  .ritem__contact { grid-template-columns: 1fr; padding-top: 6px; border-top: 1px solid var(--line); }
  .ritem__actions .btn { flex: 1 1 auto; min-height: 44px; }
  .btn--ghost-danger { margin-left: 0; flex: 0 0 auto !important; }
  .month { padding: 12px 10px; margin: 0 -6px; }
  .month__wd, .month__grid { gap: 3px; }
  .mday { padding: 5px 4px 6px; border-radius: 8px; }
  .mday__guests { font-size: .66rem; }
  .mdot { top: 5px; right: 5px; width: 8px; height: 8px; }
}
@media print {
  .admin-head .btn, .tabs, .day-tools, .btn--icon, .day-stats, .month { display: none !important; }
  .plan { display: block; }
  .ritem { grid-template-columns: 4.5rem 1.4fr 1.2fr auto; grid-template-areas: "when who contact status"; break-inside: avoid; padding: 8px 10px; border-color: #999; background: #fff !important; }
  .ritem__actions { display: none !important; }
}
.panel-head h2, .add-form h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
@media (max-width: 760px) {
  /* Tab-Leiste: Verlauf rechts zeigt, dass es weitergeht */
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs:has([role="tab"]:last-child[aria-selected="true"]) { -webkit-mask-image: none; mask-image: none; }
  .day-tools { flex-wrap: nowrap; justify-content: flex-start; gap: 10px; }
  .day-tools #print { display: none; }
  .day-tools .check { margin-left: auto; }
}

/* ---------- Schritt 5: Mail bestätigen ---------- */
.wizard-progress { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wizard-progress__no .fa-solid { font-size: .85rem; }
.wizard-progress li[data-step="5"].is-now .wizard-progress__no { animation: none; box-shadow: 0 6px 18px -6px rgba(238, 90, 47, .7); }
.confirm { outline: none; animation: wstep-in .35s var(--ease); }
.confirm[hidden] { display: none; }
.confirm__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.confirm__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--orange); color: var(--ink); font-size: 1.7rem; transform: rotate(-4deg); }
.confirm h2 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.05; }
.confirm__text { font-size: 1.08rem; margin: 0 0 10px; }
.confirm__text strong { overflow-wrap: anywhere; }
.confirm__timer { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: #fff1c7; color: #6b4e00; font-weight: 700; font-variant-numeric: tabular-nums; }
.confirm__timer:empty { display: none; }
.confirm__open { width: 100%; min-height: 60px; font-size: 1.15rem; }
.confirm__open[hidden] { display: none; }
.confirm__search { margin: 12px 0 18px; color: var(--muted); }
.confirm__search strong { color: var(--text); overflow-wrap: anywhere; }
.confirm__wait { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border: 1.5px dashed var(--field); border-radius: 12px; color: var(--muted); font-weight: 700; }
.confirm__wait[hidden] { display: none; }
.confirm__wait .icon { color: var(--orange-ink); }
.confirm__help { display: flex; flex-wrap: wrap; gap: 8px; }
.confirm__help .btn[hidden] { display: none; }
.confirm__help .btn:disabled { opacity: .45; cursor: not-allowed; }
#resend-msg { margin-top: 10px; font-weight: 700; color: var(--text); }
.email-suggest { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff1c7; color: #6b4e00; font-weight: 700; }
.email-suggest[hidden] { display: none; }
.email-suggest .link-btn { margin: 0 2px; color: inherit; }
html[data-daypart="nacht"] .confirm__timer, html[data-daypart="nacht"] .email-suggest { background: #3a2f12; color: #ffd27a; }
@media (max-width: 640px) {
  .wizard-progress__label { font-size: .72rem; }
  .wizard-progress__no { width: 32px; height: 32px; }
  .wizard-progress li::before { top: 15px; }
  .confirm { padding-bottom: 20px; }
  .confirm__icon { width: 52px; height: 52px; font-size: 1.35rem; }
  .confirm__help .btn { flex: 1 1 auto; }
}
.res-card, .confirm, #success { scroll-margin-top: calc(var(--nav-h) + 16px); }
.verify-cta { min-height: 60px; padding: 14px 30px; font-size: 1.15rem; } @media (max-width: 640px) { #verify-actions .btn { width: 100%; } }

/* ---------- Meine Reservierung ---------- */
.mres__head { margin-bottom: 22px; }
.mres__head .lead { font-weight: 700; font-variant-numeric: tabular-nums; }
.mres-status { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; padding: clamp(18px, 4vw, 28px); border-radius: var(--r-lg); border: 2px solid var(--line); background: var(--surface); }
.mres-status[hidden] { display: none; }
.mres-status__icon { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--cream); color: var(--text); font-size: 1.6rem; }
.mres-status__icon .icon { width: auto; }
.mres-status h2 { margin: 2px 0 6px; font-size: clamp(1.6rem, 4.5vw, 2.1rem); line-height: 1.05; }
.mres-status p { margin: 0; font-size: 1.05rem; }
.mres-status__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mres-status__actions:empty { display: none; }
.mres-status.is-ok { border-color: #9fd3b0; background: color-mix(in srgb, var(--surface) 90%, #3fb950); }
.mres-status.is-ok .mres-status__icon { background: var(--ok); color: #fff; }
.mres-status.is-todo { border-color: var(--orange); }
.mres-status.is-todo .mres-status__icon { background: var(--orange); color: var(--ink); transform: rotate(-4deg); }
.mres-status.is-wait .mres-status__icon { background: #fff1c7; color: #6b4e00; }
.mres-status.is-bad { border-color: #f1b9b3; background: color-mix(in srgb, var(--surface) 92%, #b3261e); }
.mres-status.is-bad .mres-status__icon { background: var(--error); color: #fff; }
.mres-status.is-off { opacity: .9; }
.mres-cta { min-height: 58px; font-size: 1.1rem; padding: 14px 28px; }

.mres-change, .mres-messages { margin-bottom: 18px; padding: 18px 20px; border-radius: var(--r); }
.mres-change[hidden], .mres-messages[hidden], .mres-grid[hidden], .mres-cancel[hidden] { display: none; }
.mres-change h2, .mres-messages h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.3rem; }
.mres-change { background: #fff1c7; border: 1px solid #f0d58c; color: #3b2f12; }
.mres-change ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mres-change li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 1.05rem; }
.mres-change__label { min-width: 5.5rem; font-weight: 700; color: #6b4e00; }
.mres-change s { color: #8a7440; }
.mres-messages { background: var(--surface); border: 2px solid var(--orange); }
.mres-messages h2 .icon { color: var(--orange-ink); }
.mres-messages ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mres-messages li { padding: 12px 14px; border-radius: 12px; background: var(--cream); }
.mres-msg__text { margin: 0 0 6px; white-space: pre-line; font-size: 1.05rem; }
.mres-msg__time { color: var(--muted); font-size: .88rem; font-weight: 700; }

.mres-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 18px; }
.mres-grid .card + .card { margin-top: 0; }
.mres-grid h2 { margin: 0 0 14px; font-size: 1.4rem; }
.mres-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0 0 18px; }
.mres-dl dt { color: var(--muted); }
.mres-dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mres-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.mres-tools .btn { gap: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.timeline__dot { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--orange); font-size: .85rem; }
.timeline__dot .icon { width: auto; }
.timeline li div { display: flex; flex-direction: column; padding-top: 4px; }
.timeline li div span { color: var(--muted); font-size: .9rem; }
.timeline li.is-next .timeline__dot { background: transparent; border: 2px dashed var(--field); color: var(--muted); }
.timeline li.is-next strong { color: var(--muted); }

.mres-cancel { margin-bottom: 18px; padding: 18px 20px; border: 1.5px dashed var(--field); border-radius: var(--r); }
.mres-cancel h2 { margin: 0 0 4px; font-size: 1.3rem; }
.mres-cancel p { margin: 0 0 12px; }
.mres-cancel .hint { margin: 10px 0 0; }
.mres-foot { display: flex; gap: 8px; align-items: baseline; color: var(--muted); }
html[data-daypart="nacht"] .mres-change { background: #2a2214; border-color: #5c4a1e; color: var(--text); }
html[data-daypart="nacht"] .mres-change__label, html[data-daypart="nacht"] .mres-change s { color: #e6c27a; }
@media (max-width: 760px) {
  .mres-grid { grid-template-columns: 1fr; }
  .mres-status { flex-direction: column; gap: 12px; }
  .mres-status__actions .btn { flex: 1 1 auto; }
}
.ritem__edit { grid-column: 1 / -1; margin-top: 6px; padding: 16px; border-radius: 12px; background: var(--cream); display: grid; gap: 12px; }
.ritem__edit .field { margin: 0; }
.ritem__edit .alert[hidden] { display: none; }
.ritem__edit .alert { margin: 0; }
.ritem__edit .hint { margin: 0; }
.ritem__edit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ritem__edit-actions .btn { gap: 6px; }
@media (max-width: 760px) { .ritem__edit .field-row--3 { grid-template-columns: 1fr 1fr; } .ritem__edit .field-row--3 .field:first-child { grid-column: 1 / -1; } .ritem__edit-actions .btn { flex: 1 1 auto; min-height: 44px; } }
.confirm__text a { color: var(--orange-ink); font-weight: 700; white-space: nowrap; }
.confirm__how { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--cream); font-weight: 600; }
