/* Sapori-App – Auftritt von ristorum.de (Espresso, Jura, Sapori-Rot, Gold fuer Preise),
   bedient wie eine iPhone-App: grosse Titel, durchscheinende Leisten, gruppierte Listen.
   Handy zuerst. Farben und Masse wie im Website-Theme (style.css). */

@font-face { font-family: "Jura"; src: url("/static/fonts/jura-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --grund: #141210;
  --flaeche: #211f1c;
  --flaeche-hoch: #2a2723;
  --rand: rgba(255, 255, 255, .11);
  --trenner: rgba(255, 255, 255, .09);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .74);
  --text-3: rgba(255, 255, 255, .52);
  --rot: #c8303a;
  --rot-dunkel: #a9242d;
  --rot-hell: #f0646d;
  --gold: #e2b552;
  --gruen: #6fd05b;
  --jura: "Jura", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --oben: env(safe-area-inset-top, 0px);
  --unten: env(safe-area-inset-bottom, 0px);
  --leiste: 56px;
  --kopf: 44px;
  --glas: rgba(20, 18, 16, .78);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--grund); color-scheme: dark; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 400 17px/1.5 var(--jura); -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--unten) + 100px);
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none;
}
body.ohne-leiste { padding-bottom: calc(var(--unten) + 28px); }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
p { margin: 0 0 .7em; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.seite { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.leise { color: var(--text-3); }
.klein { font-size: 14px; }
.test-band { position: fixed; top: var(--oben); left: 50%; transform: translateX(-50%); z-index: 60; padding: 2px 10px; border-radius: 0 0 8px 8px; background: var(--gold); color: #141210; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- Navigationsleiste oben (erscheint beim Scrollen, wie iOS) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: calc(var(--kopf) + var(--oben)); padding-top: var(--oben);
  display: flex; align-items: center; justify-content: center;
  background: transparent; border-bottom: .5px solid transparent; transition: background .25s, border-color .25s; }
.nav__titel { font-size: 17px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.nav__links { position: absolute; left: 12px; bottom: 0; height: var(--kopf); display: flex; align-items: center; color: var(--rot-hell); text-decoration: none; font-size: 17px; }
.nav__rechts { position: absolute; right: 12px; bottom: 0; height: var(--kopf); display: flex; align-items: center; }
.nav--fest, body.gescrollt .nav { background: var(--glas); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--rand); }
body.gescrollt .nav__titel, .nav--fest .nav__titel { opacity: 1; transform: none; }

/* ---------- Grosser Titel ---------- */
.titel { padding-top: calc(var(--kopf) + var(--oben) + 6px); margin-bottom: 18px; }
.dach { margin: 0 0 6px; color: var(--rot-hell); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.titel h1 { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: .5px; }
.titel h1 em, .held h1 em { display: block; margin-top: 4px; color: var(--rot-hell); font-size: .66em; font-weight: 300; }
.titel__text { margin: 10px 0 0; color: var(--text-2); font-size: 16px; }

/* ---------- Startseite: Bild wie auf der Website ---------- */
.held { position: relative; isolation: isolate; margin: 0 -16px; padding: calc(var(--oben) + 150px) 16px 4px; overflow: hidden; }
.held__bild { position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: calc(var(--oben) + 300px); object-fit: cover; object-position: 50% 45%; }
.held::after { content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--oben) + 300px); z-index: -1; background: linear-gradient(180deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,.05) 30%, rgba(20,18,16,.85) 70%, #141210 100%); }
.held__logo { position: absolute; top: calc(var(--oben) + 14px); left: 16px; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: .5px; text-decoration: none; }
.held__gruss { margin: 0 0 4px; color: var(--text-2); font-size: 15px; }
.held h1 { margin: 0; font-size: 36px; font-weight: 600; line-height: 1.06; letter-spacing: .5px; }
.offen { display: inline-flex; align-items: center; gap: 9px; margin: 14px 0 0; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 700; }
.offen::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #d6a53a; }
.offen--ja::before { background: var(--gruen); animation: puls 2s infinite; }
.offen--nein::before { background: var(--rot-hell); }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(111, 208, 91, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(111, 208, 91, 0); } }

/* Zeitstrahl heute */
.zeitstrahl { margin: 16px 0 0; }
.zeitstrahl svg { width: 100%; height: auto; overflow: visible; }
.zeitstrahl__achse { display: flex; justify-content: space-between; margin-top: 5px; color: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.zs-grund { fill: rgba(255, 255, 255, .12); }
.zs-offen { fill: rgba(255, 255, 255, .85); }
.zs-jetzt { fill: var(--rot-hell); }

/* ---------- Knoepfe wie auf der Website ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .34); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff;
  font: 700 15px/1.2 var(--jura); letter-spacing: .5px; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .12s, background .15s, opacity .15s; }
.knopf:active { transform: scale(.97); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf--rot { border-color: var(--rot); background: var(--rot); }
.knopf--rot:active { background: var(--rot-dunkel); }
.knopf--breit { width: 100%; }
.knopf--wallet { border-color: rgba(255,255,255,.5); background: #000; }
.wallet .block__fuss { display: block; text-align: center; }
.knopf[disabled] { opacity: .4; cursor: default; transform: none; }
.textknopf { background: none; border: 0; padding: 10px 0; color: var(--rot-hell); font-size: 17px; cursor: pointer; }
.knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; }
.knoepfe .knopf { flex-direction: column; gap: 6px; min-height: 74px; padding: 12px 6px; font-size: 14px; }
.knoepfe .knopf svg { width: 24px; height: 24px; }

/* ---------- Gruppierte Listen (iOS) ---------- */
.block { margin-top: 30px; }
.block__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 8px; }
.block__titel { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .3px; }
.block__dach { margin: 0 4px 6px; color: var(--text-3); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.block__mehr { color: var(--rot-hell); font-size: 16px; text-decoration: none; white-space: nowrap; }
.block__fuss { margin: 8px 16px 0; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.gruppe { margin: 0; padding: 0; list-style: none; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); overflow: hidden; }
.gruppe > li { position: relative; }
.gruppe > li + li::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--trenner); }
.gruppe--bild > li + li::before { left: 84px; }
.zeile { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 16px; color: var(--text); text-decoration: none; }
a.zeile:active, button.zeile:active, label.zeile:active { background: rgba(255, 255, 255, .06); }
button.zeile { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.zeile__haupt { flex: 1; min-width: 0; }
.zeile__titel { display: block; font-weight: 700; line-height: 1.3; }
.zeile__unter { display: block; margin-top: 2px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.zeile__wert { flex: none; color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; }
.zeile--heute .zeile__titel, .zeile--heute .zeile__wert { color: #fff; font-weight: 700; }
.zeile--abweichend .zeile__wert { color: var(--rot-hell); font-weight: 700; }
.zeile--pfeil::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 2px; border-top: 2px solid var(--text-3); border-right: 2px solid var(--text-3); transform: rotate(45deg); }
.zeile__symbol { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--rot); }
.zeile__symbol svg { width: 18px; height: 18px; }
.zeile__symbol--grau { background: #4a4540; }
.zeile__symbol--gruen { background: #3d7a2e; }
.zeile__symbol--gold { background: #a07a24; }
.zeile__bild { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--flaeche-hoch); }

/* Schalter wie iOS (Checkbox) */
.schalter { position: relative; flex: none; width: 51px; height: 31px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 999px; background: rgba(255,255,255,.18); cursor: pointer; transition: background .2s; }
.schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .2s; }
.schalter:checked { background: var(--gruen); }
.schalter:checked::after { transform: translateX(20px); }
.schalter:disabled { opacity: .45; }

/* Hinweise */
.hinweis { margin: 16px 0 0; padding: 14px 16px; border: 1px solid rgba(240, 100, 109, .35); border-radius: 12px; background: rgba(200, 48, 58, .12); }
.hinweis__titel { margin: 0 0 2px; font-weight: 700; }
.hinweis p:last-child { margin-bottom: 0; }
.meldung { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(111, 208, 91, .14); border: 1px solid rgba(111, 208, 91, .35); }
.meldung--fehler { background: rgba(200, 48, 58, .14); border-color: rgba(240, 100, 109, .4); }

/* Empfehlungen: waagerecht wischen */
.wisch { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.wisch::-webkit-scrollbar { display: none; }
.wisch__eintrag { flex: none; width: 72%; max-width: 280px; scroll-snap-align: start; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); overflow: hidden; color: inherit; text-decoration: none; }
.wisch__eintrag img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.wisch__text { padding: 12px 14px 14px; }
.wisch__name { display: block; font-weight: 700; line-height: 1.3; }
.wisch__fuss { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; }
.wisch__unter { color: var(--text-2); font-size: 14px; }

/* Preise */
.preis { flex: none; color: var(--gold); font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preis small { color: var(--text-3); font-size: 12px; font-weight: 600; margin-right: 5px; }

/* Termin wie im Kalender */
.datum { flex: none; width: 46px; text-align: center; line-height: 1; }
.datum__monat { display: block; color: var(--rot-hell); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.datum__tag { display: block; margin-top: 3px; font-size: 26px; font-weight: 600; }
.lage { display: inline-block; margin-top: 4px; color: var(--rot-hell); font-size: 13px; font-weight: 700; }
.lage--frei { color: var(--gruen); }

/* Stempel-Fortschritt klein */
.punkte { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.punkte span { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); }
.punkte span.voll { background: var(--rot-hell); border-color: var(--rot-hell); }

/* ---------- Karte ---------- */
.reiter { position: sticky; top: calc(var(--kopf) + var(--oben)); z-index: 20; display: flex; gap: 22px; margin: 0 -16px; padding: 0 16px; overflow-x: auto;
  background: var(--glas); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid var(--rand); scrollbar-width: none; }
.reiter::-webkit-scrollbar { display: none; }
.reiter a { flex: none; display: flex; align-items: center; min-height: 46px; border-bottom: 3px solid transparent; color: var(--text-2); font-size: 16px; font-weight: 700; text-decoration: none; }
.reiter a.aktiv { color: #fff; border-bottom-color: var(--rot); }
.filter { display: flex; gap: 8px; margin: 14px -16px 0; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter__wahl { flex: none; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: var(--text-2); font: 700 14px/1 var(--jura); cursor: pointer; }
.filter__wahl[aria-pressed="true"] { border-color: var(--rot); background: var(--rot); color: #fff; }
.filter__leer { margin: 18px 4px; color: var(--text-3); }
.gang { scroll-margin-top: calc(var(--kopf) + var(--oben) + 56px); }
.gericht { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; }
.gericht__haupt { flex: 1; min-width: 0; }
.gericht__kopf { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.gericht__name { font-weight: 700; line-height: 1.3; }
.gericht__text { margin: 3px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.marken { display: flex; gap: 4px; margin-top: 7px; }
.marke { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); color: var(--text-2); font-size: 11px; font-weight: 700; }
.marke--pflanzlich { border-color: rgba(105,140,69,.5); color: #b9db86; }
.marke--vegetarisch { border-color: rgba(214,165,58,.5); color: #efc55c; }
.marke--scharf { border-color: rgba(240,100,109,.5); color: var(--rot-hell); }
.gericht__preis { text-align: right; }
.gericht__preis .preis { display: block; }

/* ---------- Stempelkarte als Wallet-Karte ---------- */
.pass { position: relative; margin-top: 4px; padding: 18px 18px 20px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #d6404a 0%, #a3222b 45%, #6d1219 100%); box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18); }
.pass__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pass__marke { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.pass__marke small { display: block; margin-top: 2px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.pass__stand { text-align: right; line-height: 1.1; }
.pass__stand b { display: block; font-size: 28px; font-weight: 700; }
.pass__stand span { color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.stempelfeld { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 0; }
.stempel { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1.5px dashed rgba(255,255,255,.45); border-radius: 50%; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 700; }
.stempel svg { width: 56%; height: 56%; }
.stempel--voll { border: 0; background: #fff; color: var(--rot); box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.stempel--ziel { border-style: solid; border-color: #fff; color: #fff; font-size: 12px; text-align: center; line-height: 1.1; }
.stempel--ziel.stempel--voll { color: var(--rot); }
.pass__qr { margin: 20px auto 0; max-width: 230px; padding: 12px 12px 8px; border-radius: 12px; background: #fff; color: #141210; text-align: center; }
.pass__qr svg { width: 100%; height: auto; }
.pass__nummer { margin: 4px 0 0; font-size: 17px; font-weight: 700; letter-spacing: 3px; }
.pass__fuss { margin: 14px 0 0; color: rgba(255,255,255,.85); font-size: 14px; text-align: center; }
.praemie { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.16); font-weight: 700; text-align: center; }

/* ---------- Formulare ---------- */
.feld { margin: 12px 0 0; }
.feld label { display: block; margin: 0 4px 6px; color: var(--text-3); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.eingabe { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); color: #fff; font: 400 17px var(--jura); }
.eingabe::placeholder { color: var(--text-3); }
.eingabe:focus { outline: 2px solid var(--rot-hell); outline-offset: 0; }
.eingabe--pin { font-size: 30px; letter-spacing: .4em; text-align: center; }
.eingabe--code { letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.code-gross { margin: 2px 0 10px; font-size: 34px; font-weight: 700; letter-spacing: .18em; }
.schritte { margin: 6px 0 0; padding-left: 22px; color: var(--text-2); }
.schritte li { margin: 4px 0; }
.recht { padding-top: calc(var(--kopf) + var(--oben) + 6px); color: var(--text-2); }
.recht h1 { color: #fff; font-size: 30px; font-weight: 600; margin: 0 0 12px; }
.recht h2 { color: #fff; font-size: 18px; font-weight: 700; margin: 24px 0 6px; }
.recht p, .recht li { font-size: 15px; }
.recht a { color: var(--rot-hell); }

/* ---------- Tab-Leiste unten: schwebendes Glas (Liquid Glass wie iOS 26) ----------
   Kapsel mit starkem Weichzeichner, Glanzkante oben, heller Lichtkante unten und
   einer Glaslinse hinter dem aktiven Reiter. Nur CSS, laeuft auf iPhone und Android. */
.leiste { position: fixed; z-index: 40; left: 50%; bottom: calc(var(--unten) + 10px); transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 460px; padding: 5px; border-radius: 34px; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 45%, rgba(255,255,255,.08) 100%), rgba(28, 25, 22, .42);
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08); backdrop-filter: blur(22px) saturate(200%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(255, 255, 255, .1), inset 0 0 18px rgba(255, 255, 255, .04); }
/* Glanzlicht: schmale Spiegelung am oberen Rand */
.leiste::before { content: ""; position: absolute; z-index: -1; inset: 1px 18px auto; height: 45%; border-radius: 30px 30px 50% 50% / 30px 30px 14px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0)); pointer-events: none; }
.leiste ul { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.leiste a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 28px;
  color: rgba(255, 255, 255, .78); font-size: 10px; font-weight: 700; letter-spacing: .3px; text-decoration: none; transition: color .2s, transform .15s; }
.leiste svg { width: 24px; height: 24px; }
/* Glaslinse hinter dem aktiven Reiter */
.leiste a[aria-current="page"] { color: #ff7d85; }
.leiste a[aria-current="page"]::before { content: ""; position: absolute; z-index: -1; inset: 0 2px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(255,255,255,.08), 0 2px 10px rgba(0,0,0,.25); }
.leiste a:active { transform: scale(.92); }
/* Ohne Weichzeichner (aeltere Browser): dichter, damit Text lesbar bleibt */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .leiste { background: rgba(33, 30, 27, .96); }
}

/* ---------- Giovanni: kleiner Italiener, laeuft beim Runterscrollen einmal durchs Bild ---------- */
.giovanni { position: fixed; z-index: 39; left: 0; bottom: calc(var(--unten) + 74px); width: 58px; height: 76px;
  transform: translateX(-90px); opacity: 0; pointer-events: none; }
.giovanni.laeuft { opacity: 1; pointer-events: auto; cursor: pointer; animation: giovanni-weg 7.5s linear forwards; }
.giovanni.laeuft.halt { animation-play-state: paused; }
.giovanni__figur { display: block; overflow: visible; }
.giovanni__schatten { fill: rgba(0, 0, 0, .45); }
.giovanni__koerper { transform-box: fill-box; transform-origin: 50% 100%; }
.giovanni.laeuft .giovanni__koerper { animation: giovanni-wippen .38s ease-in-out infinite alternate; }
.giovanni__bein { transform-box: fill-box; transform-origin: 50% 0; }
.giovanni.laeuft .giovanni__bein--vorn { animation: giovanni-schritt .38s ease-in-out infinite alternate; }
.giovanni.laeuft .giovanni__bein--hinten { animation: giovanni-schritt .38s ease-in-out infinite alternate-reverse; }
.giovanni.laeuft .giovanni__pizza { transform-box: fill-box; transform-origin: 50% 100%; animation: giovanni-pizza .76s ease-in-out infinite alternate; }
.giovanni.halt .giovanni__koerper, .giovanni.halt .giovanni__bein, .giovanni.halt .giovanni__pizza { animation-play-state: paused; }
.giovanni__blase { position: absolute; left: 50%; bottom: 100%; margin-bottom: 4px; padding: 5px 10px; border-radius: 12px; background: #fff; color: #141210;
  font: 700 13px/1.2 var(--jura); white-space: nowrap; transform: translateX(-30%) scale(.6); opacity: 0; transition: opacity .2s, transform .2s; }
.giovanni__blase::after { content: ""; position: absolute; left: 30%; top: 100%; border: 6px solid transparent; border-top-color: #fff; }
.giovanni.spricht .giovanni__blase { opacity: 1; transform: translateX(-30%) scale(1); }
@keyframes giovanni-weg { from { transform: translateX(-90px); } to { transform: translateX(calc(100vw + 30px)); } }
@keyframes giovanni-wippen { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-2.5px) rotate(2deg); } }
@keyframes giovanni-schritt { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
@keyframes giovanni-pizza { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .giovanni { display: none; } }

/* ---------- Fuss ---------- */
.fuss { margin-top: 36px; color: var(--text-3); font-size: 13px; text-align: center; line-height: 1.7; }
.fuss a { color: var(--text-2); }

/* ---------- Personal ---------- */
.stempel-zeile { display: flex; gap: 8px; }
.stempel-zeile .knopf { flex: 1; }
.mehr-knopf { flex: none; width: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--text-3); font: 400 22px/1 var(--jura); cursor: pointer; }
.mehr-knopf:active { color: #fff; background: rgba(255,255,255,.06); }
.scanner { position: relative; margin: 12px 0 0; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: #000; }
.scanner video { width: 100%; height: 100%; object-fit: cover; }
.scanner__rahmen { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; }
.personal-stand { margin: 6px 0 4px; font-size: 64px; font-weight: 700; line-height: 1; }
.personal-stand small { color: var(--text-3); font-size: 22px; font-weight: 600; }
.knopf-reihe { display: grid; gap: 12px; margin-top: 20px; }
.knopf-reihe .knopf { min-height: 58px; font-size: 17px; }

@media (min-width: 700px) {
  .held__bild, .held::after { height: calc(var(--oben) + 380px); }
  .held { padding-top: calc(var(--oben) + 220px); }
}
@media (prefers-reduced-motion: reduce) {
  .offen--ja::before { animation: none; }
  .knopf, .nav, .nav__titel { transition: none; }
}

/* ---------- Umschalter (iOS-Segment) und Essensfinder ---------- */
.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0 0 14px; padding: 2px; border-radius: 10px; background: rgba(118, 118, 128, .24); }
.segment button { min-height: 34px; border: 0; border-radius: 8px; background: transparent; color: #fff; font: 700 14px/1 var(--jura); cursor: pointer; transition: background .2s; }
.segment button[aria-selected="true"] { background: #636366; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.segment button:disabled { opacity: .4; cursor: default; }
.finder__spur { height: 4px; margin: 4px 0 18px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.finder__spur span { display: block; width: 0; height: 100%; background: var(--rot); transition: width .3s; }
.finder__frage { margin: 0 0 4px; font-size: 26px; font-weight: 600; line-height: 1.15; }
.finder__unter { margin: 0 0 16px; color: var(--text-2); }
.finder__zurueck { margin-top: 10px; }
.finder__grund { display: block; margin-top: 6px; color: var(--rot-hell); font-size: 14px; }
.finder__aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
