/* Platzlicht – Funktionsseiten (17.10.2026): /funktionen/reservierungsbuch, /funktionen/tischplan, /funktionen/tisch-finden
 * Baut auf shared/tokens.css, app/views/floor.css und landing/landing.css auf (Kopfzeile, Knöpfe, Nachbauten, FAQ, Fußzeile).
 * Eigene Klassen nur mit Vorsilbe fx-, damit Startseite und Quandoo-Seite unverändert bleiben.
 * Farben: Weiß, Grau #F4F3F3, Fast-Schwarz, Braun #6F4628 als einziger Akzent. Farbige Flächen nur mit weißer Schrift (≥ 4,5:1).
 */

/* ---------- Hero ---------- */
.fx-hero { padding-top: clamp(20px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 64px); }
.fx-hero-grid { display: grid; gap: 22px; align-items: center; }
.fx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 18px; font-size: 0.875rem; color: var(--lp-ink-2); }
.fx-crumbs a { color: var(--lp-ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.fx-crumbs a:focus-visible { outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .fx-crumbs a:hover { color: var(--lp-ink); text-decoration: underline; text-underline-offset: 3px; } }
.fx-crumbs .ic { width: 14px; height: 14px; color: var(--lp-line-2); stroke-width: 2; }
.fx-crumbs [aria-current] { color: var(--lp-ink); font-weight: 600; }
.fx-hero h1 { font-size: clamp(2.25rem, 1.2rem + 3.7vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.fx-hero .hero-sub { margin-top: 20px; max-width: 34rem; text-wrap: pretty; }
.fx-hero .cta-row { justify-content: flex-start; margin-top: 28px; }
.fx-hero .hero-note { margin-top: 16px; flex-wrap: wrap; row-gap: 4px; }

/* Symbol der Funktion: am Handy klein über der Überschrift, am Computer groß rechts (Doppelrand wie die Geräterahmen) */
.fx-mark { order: -1; width: 76px; height: 76px; margin: 0; padding: 5px; border-radius: 22px; background: var(--lp-sand); }
.fx-mark-in { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 17px; background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line); }
.fx-mark img { width: 74%; height: auto; }
@media (min-width: 1024px) {
  .fx-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); }
  .fx-mark { order: 0; justify-self: end; width: min(100%, 420px); height: auto; aspect-ratio: 1; padding: 12px; border-radius: 40px; }
  .fx-mark-in { position: relative; border-radius: 30px; box-shadow: inset 0 0 0 1px var(--lp-line), 0 1px 2px rgba(29,29,27,.04), 0 24px 56px rgba(29,29,27,.08); overflow: hidden; }
  .fx-mark img { width: 58%; position: relative; }
  /* feines Raster wie im Tischplan-Editor, nur Kulisse */
  .fx-mark-in::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #D6D5D5 1.2px, transparent 1.6px); background-size: 24px 24px; opacity: .55; -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 75%); mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 75%); }
}
@media (max-width: 559px) {
  .fx-hero .cta-row { flex-direction: column; align-items: stretch; width: 100%; gap: 8px; }
  .fx-hero .cta-row .lp-btn { flex: none; }
  .fx-hero .hero-note { justify-content: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .fx-mark { animation: riseShot 900ms var(--lp-ease) 120ms both; }
}
@media (max-width: 1023px) { .js .fx-hero .hero-copy > *, .js .fx-mark { animation: none; } }

/* ---------- Keine Provision pro Gast (dunkle Leiste, weiße Schrift) ---------- */
.fx-fee { margin-inline: var(--lp-inset); border-radius: var(--lp-sec-r); background: var(--lp-esp); color: #fff; }
.fx-fee-in { display: grid; gap: 18px; padding-block: clamp(28px, 4vw, 44px); }
.fx-fee-h { display: flex; align-items: center; gap: 14px; font-family: var(--lp-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.fx-fee-h .ic { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--lp-caramel); flex: none; }
.fx-fee p { color: var(--lp-on-dark-2); max-width: 40rem; }
.fx-fee a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--lp-caramel); font-family: var(--lp-display); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(232,214,197,.45); white-space: nowrap; }
.fx-fee a .ic { transition: transform 200ms var(--lp-ease); }
.fx-fee a:focus-visible { outline-color: var(--lp-caramel); }
@media (hover: hover) and (pointer: fine) { .fx-fee a:hover { text-decoration-color: currentColor; } .fx-fee a:hover .ic { transform: translateX(3px); } }
@media (min-width: 900px) { .fx-fee-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 48px; } .fx-fee-txt { display: grid; gap: 8px; } }

/* ---------- Drei Vorteile ---------- */
.fx-bens-sec { padding-block: clamp(64px, 8vw, 112px); }
.fx-bens-sec h2 { max-width: 18ch; }
.fx-bens { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.fx-ben { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: var(--lp-sand); }
.fx-ben .ic { width: 44px; height: 44px; padding: 10px; margin-bottom: 8px; border-radius: 14px; background: #fff; color: var(--lp-brand); box-shadow: inset 0 0 0 1px var(--lp-line); }
.fx-ben h3 { font-size: 1.3125rem; }
.fx-ben p { color: var(--lp-ink-2); }
@media (min-width: 820px) { .fx-bens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* ---------- So funktioniert es ---------- */
.fx-how { padding-top: 0; }
.fx-how-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.fx-steps { display: grid; gap: clamp(48px, 7vw, 96px); counter-reset: fx; }
.fx-step { display: grid; gap: 22px; align-items: start; }
.fx-step-copy { max-width: 32rem; }
.fx-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--lp-ink); color: #fff; font-family: var(--lp-display); font-weight: 700; font-size: 1.0625rem; }
.fx-step h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); letter-spacing: -0.03em; }
.fx-step-copy > p { margin-top: 10px; color: var(--lp-ink-2); font-size: 1.0625rem; }
.fx-step .ticks { margin-top: 18px; }
.fx-step .ticks li { font-size: 0.96875rem; }
.fx-vis { display: grid; gap: 12px; justify-items: center; min-width: 0; margin: 0; padding: clamp(14px, 3vw, 36px); border-radius: var(--lp-sec-r); background: var(--lp-sand); }
.fx-vis > * { width: 100%; max-width: 560px; }
.fx-vis > .shot { max-width: 760px; }
.fx-vis figcaption { font-size: 0.875rem; color: var(--lp-ink-2); text-align: center; max-width: 40rem; }
@media (min-width: 1024px) {
  .fx-step { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(40px, 5vw, 80px); }
  .fx-step-copy { position: sticky; top: 96px; padding-top: 12px; }
}

/* ---------- Nachbauten: gemeinsame Teile ---------- */
.fx-card { background: #fff; border-radius: 20px; padding: 18px; border: 1px solid var(--lp-line); box-shadow: 0 1px 2px rgba(29,29,27,.05), 0 12px 32px rgba(29,29,27,.07); font-size: 13.5px; line-height: 1.45; text-align: left; color: var(--lp-ink); }
.fx-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fx-card-h b { font-family: var(--lp-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.fx-card-h span { font-size: 12.5px; color: var(--lp-ink-2); }
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--lp-ink); color: #fff; font: inherit; font-weight: 600; font-size: 13px; white-space: nowrap; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform 140ms var(--lp-ease), background-color 160ms ease; }
.fx-btn .ic { width: 16px; height: 16px; }
.fx-btn:active { transform: scale(0.97); }
.fx-btn-line { background: #EDEDED; color: var(--lp-ink); }
.fx-btn-warn { background: #FDECEA; color: #B0001A; }
.fx-btn-quiet { background: transparent; color: var(--lp-ink-2); box-shadow: inset 0 0 0 1px var(--lp-line-2); }
@media (hover: hover) and (pointer: fine) {
  .fx-btn:hover { background: #3A3A37; color: #fff; }
  .fx-btn-line:hover { background: #E2E2E2; color: var(--lp-ink); }
  .fx-btn-warn:hover { background: #F9D9D5; color: #9A0016; }
  .fx-btn-quiet:hover { background: var(--lp-hover); color: var(--lp-ink); }
}
.fx-btn:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 2px; }
.fx-link-btn { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--lp-brand); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Meldung unten im Nachbau (wie in der App, mit Rückgängig) */
.fx-toast { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--lp-ink); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 200ms var(--lp-ease), transform 260ms var(--lp-ease); pointer-events: none; }
.fx-toast.is-in { opacity: 1; transform: none; pointer-events: auto; }
.fx-toast span { flex: 1; min-width: 0; }
.fx-toast button { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) { .fx-toast button:hover { background: rgba(255,255,255,.22); color: #fff; } }
.fx-toast button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fx-toast-slot { min-height: 48px; }
@media (prefers-reduced-motion: reduce) { .fx-toast { transform: none; transition: opacity 160ms ease; } }

/* ---------- Reservierungsbuch: „Heute“ (Bausteine .app/.hx-* aus landing.css) ---------- */
.fx-heute .shot-in { overflow: hidden; }
.fx-heute .app { font-size: 13px; }
.fx-heute .hx-row { min-height: 60px; }
.fx-heute .hx-acts .fx-btn { min-height: 36px; padding: 0 11px; font-size: 12.5px; }
.fx-heute .hx-acts .fx-btn .ic { width: 15px; height: 15px; }
.fx-res[data-state="sitzt"] { background: var(--lp-hover); }
.fx-res[data-state="noshow"] .hx-l1 b { color: var(--lp-ink-2); text-decoration: line-through; text-decoration-color: rgba(99,99,106,.5); text-decoration-thickness: 1.5px; }
.fx-res[data-state="noshow"] { background: var(--lp-hover); }
.fx-heute .app { grid-template-columns: minmax(0, 1fr); }
.fx-heute .app-side, .fx-heute .app-search { display: none !important; }
.fx-heute .day:nth-child(n+4) { display: none !important; }
@media (min-width: 640px) { .fx-heute .days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-heute .fx-toast-slot { padding: 0 16px 16px; }
@media (max-width: 759px) { .fx-heute .hx-acts .fx-btn { padding: 0 6px; } }
@media (max-width: 479px) { .fx-heute .hx-acts .fx-btn .ic { display: none; } }
.p-online { color: var(--lp-ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line-2); }
.p-online::before { display: none; }

/* Neue Reservierung, Schritt „Um wie viel Uhr?“ */
.fx-new-steps { display: flex; gap: 4px; margin-bottom: 14px; }
.fx-new-steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--lp-line); }
.fx-new-steps i.done { background: var(--lp-ink); }
.fx-new-steps i.cur { background: var(--lp-brand); }
.fx-new-q { font-family: var(--lp-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.fx-new-meta { margin-top: 2px; color: var(--lp-ink-2); }
.fx-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.fx-times span { display: grid; place-items: center; gap: 0; min-height: 46px; padding: 4px; border-radius: 10px; border: 1px solid var(--lp-line-2); font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; line-height: 1.15; }
.fx-times small { font-size: 10.5px; font-weight: 600; color: var(--lp-ink-2); }
.fx-times .off { color: var(--lp-ink-2); background: var(--lp-hover); border-style: dashed; }
.fx-times .move small { color: var(--lp-brand); }
.fx-times .on { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }
.fx-times .on small { color: #D6D5D5; }
.fx-suggest { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--lp-free-bg); color: var(--lp-free); }
.fx-suggest .ic { width: 20px; height: 20px; stroke-width: 2.25; }
.fx-suggest b { color: var(--lp-ink); }
.fx-suggest span { color: var(--lp-ink-2); }
@media (max-width: 379px) { .fx-times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Anfragen (gelber Kasten in Heute) */
.fx-req-box { padding: 14px; border-radius: 14px; background: #FFF6E5; border: 1px solid #F1D9A6; }
.fx-req-box > p { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #7A4B00; }
.fx-req-box > p .ic { width: 18px; height: 18px; }
.fx-req-list { display: grid; gap: 8px; margin-top: 10px; }
.fx-req { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--lp-line); }
.fx-req-main { flex: 1 1 180px; min-width: 0; }
.fx-req-main b { font-size: 14.5px; }
.fx-req-main small { display: block; color: var(--lp-ink-2); font-size: 12.5px; }
.fx-req-main .fx-allergy { color: #B0001A; font-weight: 600; }
.fx-req-acts { display: flex; gap: 6px; }
.fx-req[data-state="ok"] { background: var(--lp-free-bg); border-color: rgba(27,116,50,.25); }
.fx-req[data-state="no"] { background: var(--lp-hover); }
.fx-req-done { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--lp-free); font-size: 13px; }
.fx-req-done.is-no { color: var(--lp-ink-2); }
.fx-req-done .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.fx-res [hidden], .fx-req [hidden] { display: none !important; }

/* Mails an den Gast */
.fx-mails { display: grid; gap: 8px; }
.fx-mail-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lp-line); background: #fff; }
.fx-mail-row .ic { width: 18px; height: 18px; flex: none; color: var(--lp-ink-2); }
.fx-mail-row b { font-size: 14px; }
.fx-mail-row small { display: block; color: var(--lp-ink-2); font-size: 12.5px; }
.fx-mail-row .fx-sent { color: var(--lp-free); }
.fx-mail-row.is-sent .ic { color: var(--lp-free); }

/* ---------- Tischplan ---------- */
.fx-floor { position: relative; border-radius: 14px; background: #fff; border: 1px solid var(--lp-line); overflow: hidden; }
.fx-floor-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.fx-floor-scroll .fl-svg { min-width: 560px; }
@media (min-width: 640px) { .fx-floor-scroll .fl-svg { min-width: 0; } }
.fx-plan-card { display: grid; gap: 10px; padding: 14px; }
.fx-plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.fx-rooms { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--lp-sand); }
.fx-rooms span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--lp-ink-2); }
.fx-rooms .is-on { background: #fff; color: var(--lp-ink); box-shadow: 0 1px 3px rgba(0,0,0,.10); }
.fx-live { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--lp-free-bg); color: var(--lp-free); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fx-live.is-preview { background: var(--lp-sand); color: var(--lp-ink-2); }
.fx-time { display: grid; gap: 6px; }
.fx-time-lab { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; }
.fx-time-lab output { font-family: var(--lp-display); font-size: 15px; font-variant-numeric: tabular-nums; }
.fx-range { --p: 30%; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.fx-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lp-brand) var(--p), #E2E1E1 var(--p)); }
.fx-range::-moz-range-track { height: 6px; border-radius: 3px; background: #E2E1E1; }
.fx-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--lp-brand); }
.fx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--lp-ink); box-shadow: 0 2px 6px rgba(0,0,0,.16); }
.fx-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--lp-ink); }
.fx-range:focus-visible { outline: none; }
.fx-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--lp-brand); }
.fx-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--lp-brand); }
.fx-time-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--lp-ink-2); font-variant-numeric: tabular-nums; }
.fx-plan-card .legend { margin-top: 0; }
.fx-hint { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--lp-sand); font-size: 13px; font-weight: 600; color: var(--lp-ink); }
.fx-hint .ic { width: 18px; height: 18px; flex: none; color: var(--lp-brand); }
.fx-hint.is-bad { background: #FDECEA; color: #9A0016; }
.fx-hint.is-bad .ic { color: #9A0016; }
.fx-floor .fl-table.is-selected .fl-body { stroke-width: 5; }

/* Editor: Tische neutral wie im Editor statt in Statusfarben */
.fx-editor { --fl-free-fill: #FFFFFF; --fl-free-edge: #85858C; --st-free: #63636A; }

/* Editor: Werkzeuge und Eigenschaften */
.fx-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-tools span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--lp-line); font-size: 12px; font-weight: 600; color: var(--lp-ink); }
.fx-tools .ic { width: 15px; height: 15px; }
.fx-tools .is-on { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }
.fx-tools .fx-saved { margin-left: auto; border: 0; background: transparent; color: var(--lp-free); padding: 0 4px; }
.fx-props { display: grid; gap: 0; padding: 4px 16px; }
.fx-props > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--lp-line); }
.fx-props > div:last-child { border-bottom: 0; }
.fx-props dt { font-size: 13px; color: var(--lp-ink-2); }
.fx-props dd { margin: 0; font-weight: 600; text-align: right; }
.fx-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--lp-sand); }
.fx-seg span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--lp-ink-2); }
.fx-seg .is-on { background: #fff; color: var(--lp-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.fx-switch { position: relative; display: inline-block; width: 40px; height: 24px; border-radius: 12px; background: var(--lp-free); }
.fx-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.fx-props-h { padding: 14px 16px 6px; font-family: var(--lp-display); font-weight: 700; font-size: 15px; }
.fx-props-sub { padding: 0 16px; color: var(--lp-ink-2); font-size: 12.5px; }
.fx-chipset { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fx-chipset i { font-style: normal; padding: 3px 9px; border-radius: 999px; background: var(--lp-sand); font-size: 12px; font-weight: 600; }
.fx-chipset i.on { background: var(--lp-ink); color: #fff; }
.fx-duo { display: grid; gap: 12px; }
@media (min-width: 720px) { .fx-duo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; } }

/* Kombination für große Gruppen */
.fx-combo-out { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.fx-combo-out b { font-family: var(--lp-display); font-size: 17px; letter-spacing: -0.02em; }
.fx-combo-out span { color: var(--lp-ink-2); }

/* Regeln für die automatische Vergabe */
.fx-rules { display: grid; gap: 8px; }
.fx-rule { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lp-line); background: #fff; }
.fx-rule b { display: block; font-size: 14px; }
.fx-rule small { display: block; margin-top: 2px; color: var(--lp-ink-2); font-size: 12.5px; }
.fx-rule em { font-style: normal; flex: none; padding: 3px 10px; border-radius: 999px; background: var(--lp-sand); font-size: 12px; font-weight: 700; }

/* ---------- Tisch finden ---------- */
.fx-ft { max-width: 640px !important; }
.fx-ft .ft { max-width: none; }
.fx-opts { display: grid; gap: 8px; }
.fx-opt { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lp-line); background: #fff; }
.fx-opt.is-best { padding: 11px 13px; border: 2px solid var(--lp-ink); }
.fx-opt-l1 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fx-opt-l1 b { font-family: var(--lp-display); font-size: 16px; letter-spacing: -0.015em; }
.fx-badge { padding: 2px 9px; border-radius: 999px; background: var(--lp-free); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; }
.fx-opt small { color: var(--lp-ink-2); font-size: 12.5px; }
.fx-until { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--lp-free); font-variant-numeric: tabular-nums; }
.fx-until .ic { width: 16px; height: 16px; stroke-width: 2.25; }
.fx-opt.is-short .fx-until { color: var(--lp-soon); }
.fx-group-h { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--lp-ink-2); }
.fx-why { padding: 12px 14px; border-radius: 12px; background: var(--lp-sand); color: var(--lp-ink); }
.fx-why b { display: block; margin-bottom: 2px; }
.fx-push { display: grid; gap: 10px; padding: 14px; border-radius: 12px; border: 2px solid var(--lp-ink); background: #fff; }
.fx-push-step { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.fx-push-step .ic { width: 18px; height: 18px; color: var(--lp-brand); flex: none; }
.fx-note { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--lp-sand-2); color: var(--lp-ink); font-size: 12.5px; }
.fx-note .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--lp-brand); }
.fx-moves { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--lp-sand); }
.fx-moves strong { font-size: 13px; }
.fx-moves li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.fx-moves .mv i { background: #fff; }
.fx-alt { color: var(--lp-ink-2); font-size: 12.5px; }
.fx-alt b { color: var(--lp-ink); }
.fx-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-acts .fx-btn { flex: 1 1 auto; min-height: 46px; }
.fx-wait { display: grid; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--lp-sand-2); }
.fx-wait p { display: flex; gap: 8px; color: var(--lp-ink); }
.fx-wait p .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--lp-brand); }
.fx-wait .fx-btn { justify-self: start; background: #fff; color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-brand); }
@media (hover: hover) and (pointer: fine) { .fx-wait .fx-btn:hover { background: #fff; color: var(--lp-ink); box-shadow: inset 0 0 0 2px var(--lp-ink); } }
.fx-seated { display: none; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lp-line); background: var(--lp-hover); }
.fx-seated.is-in { display: flex; }
.fx-seated b { font-size: 14px; }
.fx-seated small { display: block; color: var(--lp-ink-2); font-size: 12.5px; }
.fx-seated .pill { margin-left: auto; }

/* ---------- FAQ und Schluss ---------- */
.fx-faq { padding-top: 0; }
.fx-faq .faq-grid { align-items: start; }
.fx-end { margin-inline: var(--lp-inset); margin-bottom: var(--lp-inset); border-radius: var(--lp-sec-r); background: var(--lp-sand); }
.fx-end-in { display: grid; justify-items: center; gap: 22px; text-align: center; }
.fx-end h2 { font-size: clamp(2.25rem, 1.2rem + 3.8vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; max-width: 15ch; }
.fx-end .cta-row { margin-top: 0; }
.fx-end-note { margin-top: -6px; font-size: 0.875rem; color: var(--lp-ink-2); }
@media (max-width: 479px) { .fx-end .cta-row { width: 100%; } .fx-end .cta-row .lp-btn { width: 100%; } }

/* ---------- Querverweise ---------- */
.fx-more-sec { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.fx-more-sec h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
.fx-more { display: grid; gap: 12px; margin-top: 24px; }
.fx-more a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--lp-line); color: var(--lp-ink); text-decoration: none; transition: border-color 160ms ease, transform 160ms var(--lp-ease); }
.fx-more a:active { transform: scale(0.99); }
.fx-more img { width: 64px; height: 64px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--lp-line); }
.fx-more b { display: block; font-family: var(--lp-display); font-size: 1.1875rem; letter-spacing: -0.02em; }
.fx-more small { display: block; margin-top: 2px; color: var(--lp-ink-2); font-size: 0.9375rem; }
.fx-more .ic { color: var(--lp-brand); transition: transform 200ms var(--lp-ease); }
@media (hover: hover) and (pointer: fine) { .fx-more a:hover { border-color: var(--lp-ink); } .fx-more a:hover .ic { transform: translateX(3px); } }
@media (min-width: 820px) { .fx-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 379px) { .fx-more a { grid-template-columns: 52px minmax(0, 1fr); } .fx-more img { width: 52px; height: 52px; } .fx-more a > .ic { display: none; } }

/* ---------- Anpassungen an Bausteine der Startseite ---------- */
.fx-hero .hero-copy { text-align: left; align-items: flex-start; }
.fx-vis .bk-mail { position: relative; inset: auto; width: 100%; max-width: 560px; }
.fx-allergy-dd { color: #B0001A; }
.fx-vis .guest-card { margin: 0; padding: 0; background: transparent; }
.fx-vis .wl-sheet .opt-act { margin-top: 14px; }
.fx-vis .fx-toast-slot { margin-top: 10px; }
.fx-plan-card .fx-toast-slot { margin-top: 0; }
/* Meldung schwebt unten im Nachbau, statt Platz freizuhalten */
.fx-card, .fx-vis .ui-card, .fx-heute .app-col { position: relative; }
.fx-toast-slot, .fx-vis .fx-toast-slot, .fx-heute .fx-toast-slot { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 0; margin: 0; padding: 0; z-index: 3; pointer-events: none; }
.fx-toast { box-shadow: 0 8px 24px rgba(29,29,27,.22); }
[data-fx-combo] .fl-table.fl-dim .fl-body, [data-fx-combo] .fl-table.fl-dim .fl-seats, [data-fx-move] .fl-table.fl-dim .fl-body { opacity: .28; }
.fx-card:has(> .fx-toast-slot), .fx-vis .ui-card:has(> .fx-toast-slot) { padding-bottom: 72px; }
.fx-heute .app-main { padding-bottom: 76px; }
.fx-card-h { flex-wrap: wrap; }
.fx-card-h span { white-space: nowrap; }
