/* Rosa & Bens Café · Gestaltung „Schäfchen zählen“ (Design-Plan freigegeben 2026-12-06)
   Hafer als Grund, Salbei für Flächen, Kreide für Treuekarte und Text, Rosenholz nur für Stempel und Rose.
   Young Serif (Name, Überschriften, Zahlen), Figtree (Text). Signaturmotiv: die Wollkante (Wolle und Tortenspitze)
   im Logo, unter dem Video und in den Stempelfeldern. Lädt nach baukasten/public/assets/css/tisch.css (Gastro Lite).
   Aufbau: Schriften → Farben → Grundlagen → Kopf → Startseite → Kacheln → Treuekarte → Speisekarte → Fuß → Bewegung */

@font-face { font-family: "Young Serif"; src: url("/assets/fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-variabel.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --hafer: #F4EEE3;        /* Grund */
  --wolle: #FBF7F0;        /* Karten, Wolle */
  --salbei: #AEBDA5;       /* Flächen */
  --salbei-tief: #44574A;  /* Knöpfe, Preise */
  --kreide: #2E3530;       /* Treuekarte, Text */
  --walnuss: #7A5A40;      /* Holz: feine Linien, kleine Überschriften */
  --rose: #C7837F;         /* nur Stempel und Rose */
  --rose-tief: #9E5A58;

  /* Variablen der Tischseite (tisch.css) */
  --grund: var(--hafer);
  --flaeche: var(--wolle);
  --tinte: var(--kreide);
  --akzent: var(--kreide);
  --messing: var(--walnuss);
  --gold: var(--rose);
  --auf-akzent: var(--wolle);
  --icon-grund: color-mix(in oklab, var(--salbei) 34%, var(--wolle));
  --linie: color-mix(in oklab, var(--walnuss) 20%, transparent);
  --schrift: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --logo-schrift: "Young Serif", Georgia, serif;
  --radius: 22px;
  --raus: cubic-bezier(0.23, 1, 0.32, 1);  /* eine Kurve für alles Bewegte */

  /* Stempel (Schäfchen, leeres Wollfeld, Tasse der Prämie) */
  --stempel-schaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cpath d='M0,-25A7.6,7.6 0 0 1 12.2,-21.2A7.6,7.6 0 0 1 21.4,-12.4A7.6,7.6 0 0 1 24.6,0A7.6,7.6 0 0 1 21.4,12.4A7.6,7.6 0 0 1 12.2,21.2A7.6,7.6 0 0 1 0,25A7.6,7.6 0 0 1 -12.2,21.2A7.6,7.6 0 0 1 -21.4,12.4A7.6,7.6 0 0 1 -24.6,0A7.6,7.6 0 0 1 -21.4,-12.4A7.6,7.6 0 0 1 -12.2,-21.2A7.6,7.6 0 0 1 0,-25Z' fill='%23C7837F'/%3E%3Cpath d='M-7.5,-2C-8.5,9 -5,19 0,20C5,19 8.5,9 7.5,-2C5.5,-8 -5.5,-8 -7.5,-2Z' fill='%232E3530'/%3E%3Cpath d='M-7.5,-2A3.75,3.75 0 0 0 0,-2A3.75,3.75 0 0 0 7.5,-2Z' fill='%23C7837F'/%3E%3Cpath d='M-5.5,5.5Q-3.5,8 -1.5,5.5M1.5,5.5Q3.5,8 5.5,5.5' fill='none' stroke='%23C7837F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --stempel-schaf-hell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cpath d='M0,-25A7.6,7.6 0 0 1 12.2,-21.2A7.6,7.6 0 0 1 21.4,-12.4A7.6,7.6 0 0 1 24.6,0A7.6,7.6 0 0 1 21.4,12.4A7.6,7.6 0 0 1 12.2,21.2A7.6,7.6 0 0 1 0,25A7.6,7.6 0 0 1 -12.2,21.2A7.6,7.6 0 0 1 -21.4,12.4A7.6,7.6 0 0 1 -24.6,0A7.6,7.6 0 0 1 -21.4,-12.4A7.6,7.6 0 0 1 -12.2,-21.2A7.6,7.6 0 0 1 0,-25Z' fill='%23C7837F'/%3E%3Cpath d='M-7.5,-2C-8.5,9 -5,19 0,20C5,19 8.5,9 7.5,-2C5.5,-8 -5.5,-8 -7.5,-2Z' fill='%23FBF7F0'/%3E%3Cpath d='M-7.5,-2A3.75,3.75 0 0 0 0,-2A3.75,3.75 0 0 0 7.5,-2Z' fill='%23C7837F'/%3E%3Cpath d='M-5.5,5.5Q-3.5,8 -1.5,5.5M1.5,5.5Q3.5,8 5.5,5.5' fill='none' stroke='%23C7837F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --stempel-leer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cpath d='M0,-25A7.6,7.6 0 0 1 12.2,-21.2A7.6,7.6 0 0 1 21.4,-12.4A7.6,7.6 0 0 1 24.6,0A7.6,7.6 0 0 1 21.4,12.4A7.6,7.6 0 0 1 12.2,21.2A7.6,7.6 0 0 1 0,25A7.6,7.6 0 0 1 -12.2,21.2A7.6,7.6 0 0 1 -21.4,12.4A7.6,7.6 0 0 1 -24.6,0A7.6,7.6 0 0 1 -21.4,-12.4A7.6,7.6 0 0 1 -12.2,-21.2A7.6,7.6 0 0 1 0,-25Z' fill='none' stroke='%23FBF7F0' stroke-width='1.6' stroke-dasharray='3 3.4'/%3E%3C/svg%3E");
  --stempel-leer-dunkel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cpath d='M0,-25A7.6,7.6 0 0 1 12.2,-21.2A7.6,7.6 0 0 1 21.4,-12.4A7.6,7.6 0 0 1 24.6,0A7.6,7.6 0 0 1 21.4,12.4A7.6,7.6 0 0 1 12.2,21.2A7.6,7.6 0 0 1 0,25A7.6,7.6 0 0 1 -12.2,21.2A7.6,7.6 0 0 1 -21.4,12.4A7.6,7.6 0 0 1 -24.6,0A7.6,7.6 0 0 1 -21.4,-12.4A7.6,7.6 0 0 1 -12.2,-21.2A7.6,7.6 0 0 1 0,-25Z' fill='none' stroke='%237A5A40' stroke-width='1.6' stroke-dasharray='3 3.4'/%3E%3C/svg%3E");
  --stempel-tasse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23AEBDA5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 15h20v8a10 10 0 0 1-10 10A10 10 0 0 1 8 23z'/%3E%3Cpath d='M28 18h2.5a4 4 0 0 1 0 8H27'/%3E%3Cpath d='M14 6c-2 2.5 2 3.5 0 6M20 5c-2 2.5 2 3.5 0 6' stroke-width='1.8'/%3E%3C/g%3E%3C/svg%3E");
  --stempel-tasse-voll: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23C7837F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 15h20v8a10 10 0 0 1-10 10A10 10 0 0 1 8 23z'/%3E%3Cpath d='M28 18h2.5a4 4 0 0 1 0 8H27'/%3E%3Cpath d='M14 6c-2 2.5 2 3.5 0 6M20 5c-2 2.5 2 3.5 0 6' stroke-width='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

body { font-size: 16.5px; }
.titel, .gruss-gross, .text-spalte h1, .kontakt h1, .form-titel, .blatt-titel, .frage h2 { font-family: var(--logo-schrift); font-weight: 400; letter-spacing: 0; }
.titel { font-size: 33px; line-height: 1.1; }
.unter-titel { color: color-mix(in oklab, var(--kreide) 72%, var(--hafer)); }

/* Keine Versal-Etiketten: kleine Überschriften in Satzschreibung */
.gruss-klein, .fuss-titel, .treue-praemie-titel, .kachel-weiter .kachel-unter, .logo-ort {
  text-transform: none; letter-spacing: 0;
}

/* Knöpfe: Hauptknopf in Salbei tief (Kreide bleibt der Treuekarte) */
.knopf-haupt, .btn { background: var(--salbei-tief); color: var(--wolle); }
.knopf-zweit { color: var(--salbei-tief); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--salbei-tief) 35%, transparent); }
:focus-visible { outline-color: var(--salbei-tief); }

/* ---------- Kopf (ab Ebene 1): kleines Logo mittig ---------- */
.kopf { border-bottom-color: var(--linie); }
.rb-marke { display: block; line-height: 0; }
.rb-marke svg { display: block; height: 100%; width: auto; stroke: none; }
.kopf .logo.rb-klein { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: visible; }
.kopf .rb-klein .rb-marke { height: 38px; }
.zurueck { color: var(--salbei-tief); font-weight: 500; }

/* Textseiten (Kontakt, Recht, Allergene, 404): Abstand unter dem festen Kopf wie .innen */
main > .raster {
  width: 100%; max-width: 34rem; margin-inline: auto;
  padding: calc(var(--kopf) + env(safe-area-inset-top) + 18px) max(calc(var(--rand) + 4px), env(safe-area-inset-right)) 28px max(calc(var(--rand) + 4px), env(safe-area-inset-left));
}

/* Allergene: am Handy je Gericht eine kleine Karte statt der breiten Tabelle */
a.tel, a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 599.98px) {
  .tabelle-scroll { overflow: visible; margin: 0; padding: 0; }
  .allergen-tabelle { min-width: 0; width: 100%; display: block; }
  .allergen-tabelle caption { display: block; }
  .allergen-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .allergen-tabelle tbody { display: grid; gap: 8px; }
  .allergen-tabelle tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 12px 14px; border-radius: 16px; background: var(--wolle); box-shadow: inset 0 0 0 1px var(--linie); }
  .allergen-tabelle th, .allergen-tabelle td { display: block; padding: 0; border: 0; }
  .allergen-tabelle tr > td:first-child { color: var(--walnuss); font-variant-numeric: tabular-nums; }
  .allergen-tabelle th[scope="row"] { font-weight: 600; }
  .allergen-tabelle th .klein { font-weight: 400; color: color-mix(in oklab, var(--kreide) 72%, var(--wolle)); }
  .allergen-tabelle tr > td:nth-of-type(2), .allergen-tabelle tr > td:nth-of-type(3) { grid-column: 1 / -1; color: color-mix(in oklab, var(--kreide) 78%, var(--wolle)); }
  .allergen-tabelle tr > td:nth-of-type(2)::before { content: "Allergene: "; font-weight: 600; color: var(--kreide); }
  .allergen-tabelle tr > td:nth-of-type(3)::before { content: "Zusatzstoffe: "; font-weight: 600; color: var(--kreide); }
}
.rb-zeichen.rb-404 { margin: 0 0 8px; justify-content: flex-start; }
.rb-404 .rb-marke { height: 72px; }

/* ---------- Startseite: Video oben, darüber Logo und Gruß; das Blatt mit Wollkante schiebt sich darüber ---------- */
.hintergrund { background: var(--kreide); }
/* Video ruhiger und dunkler (Felix 2026-12-06: Schrift soll klar vor dem Bild stehen) */
.standbild, .video { filter: saturate(.55) sepia(.16) brightness(.7) contrast(.96); }
.schleier { background: linear-gradient(180deg, rgb(30 35 32 / .62) 0%, rgb(30 35 32 / .2) 38%, rgb(30 35 32 / .45) 72%, rgb(30 35 32 / .7) 100%); }
body.mit-video { background: var(--kreide); }
.video-pause { position: absolute; background: rgb(30 35 32 / .45); color: var(--wolle); } /* scrollt mit dem Video weg, liegt nie über den Kacheln */

.kopf.kopf-start {
  position: absolute; height: auto; display: block; text-align: center;
  padding: calc(env(safe-area-inset-top) + 26px) var(--rand) 0;
  background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: var(--wolle); view-transition-name: none;
}
.kopf-start .logo { display: inline-flex; flex-direction: column; align-items: center; white-space: normal; overflow: visible; text-decoration: none; }
.kopf-start .rb-marke { height: clamp(92px, 26vw, 112px); filter: drop-shadow(0 4px 14px rgb(0 0 0 / .28)); }
.rb-wort { margin-top: 10px; font-family: var(--logo-schrift); font-size: clamp(25px, 7.4vw, 30px); line-height: 1.05; }
.rb-claim { margin-top: 7px; font-family: var(--schrift); font-size: 14px; font-weight: 500; letter-spacing: .01em; opacity: .9; }

.rb-start { padding-top: 0; padding-bottom: 0; }
.rb-start .gruss {
  min-height: clamp(400px, 60svh, 560px); padding: 0 4px 58px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--wolle);
}
.rb-start .gruss-klein { color: rgb(251 247 240 / .88); font-size: 15.5px; font-weight: 500; margin-bottom: 6px; }
.rb-start .gruss-gross { font-size: clamp(34px, 10vw, 42px); line-height: 1.07; max-width: 12ch; text-wrap: balance; text-shadow: 0 2px 18px rgb(0 0 0 / .25); }

/* Das Blatt: volle Breite, oben die Wollkante (Bögen wie Wolle und Tortenspitze) */
.rb-blatt {
  position: relative; isolation: isolate; flex: 1 0 auto; padding: 6px 0 30px;
}
.rb-blatt::after, .mit-video .fuss::after { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw) -1px; background: var(--hafer); }
.rb-blatt::before {
  content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); top: -25px; height: 26px;
  background: radial-gradient(circle at 13px 26px, var(--hafer) 12.6px, transparent 13.2px) 50% 0 / 26px 26px repeat-x;
}
.mit-video .fuss { position: relative; isolation: isolate; color: color-mix(in oklab, var(--kreide) 70%, var(--hafer)); }
.mit-video .fuss-links a, .mit-video .fuss-marke a { color: color-mix(in oklab, var(--kreide) 70%, var(--hafer)); }
.mit-video .fuss-block { background: var(--wolle); color: var(--kreide); box-shadow: inset 0 0 0 1px var(--linie); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mit-video .fuss-titel { color: var(--walnuss); }
.mit-video .zeiten td { color: color-mix(in oklab, var(--kreide) 70%, var(--wolle)); }
.mit-video .zeiten tr.heute th, .mit-video .zeiten tr.heute td { color: var(--kreide); }
.rb-zeichen { display: flex; justify-content: center; margin-top: 30px; }
.rb-zeichen .rb-marke { height: 58px; }

/* ---------- Kacheln: Treuekarte breit, darunter zwei nebeneinander ---------- */
.rb-start .kacheln, .mit-gruss.rb-start .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
.rb-start .kachel { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 150px; padding: 18px 18px 16px; }
.rb-start .kachel-treue { grid-column: 1 / -1; min-height: 0; gap: 10px; }
.rb-start .kachel .kachel-pfeil { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgb(46 53 48 / .08); color: var(--kreide); }
.rb-start .kachel .kachel-text { gap: 4px; padding-right: 26px; }
.rb-start .kachel .kachel-titel { text-wrap: balance; font-family: var(--logo-schrift); font-weight: 400; font-size: clamp(18px, 5.4vw, 22px); line-height: 1.12; letter-spacing: 0; }
.rb-start .kachel .kachel-unter { font-size: 14.5px; text-wrap: pretty; }
.rb-start .kachel .kachel-icon { width: 46px; height: 46px; border-radius: 15px; }
.rb-start .kachel-treue .kachel-icon { display: none; } /* die Schäfchen sind hier das Bild */

.mit-video .kachel:not(.kachel-treue), .kachel { background: var(--wolle); color: var(--kreide); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1.5px var(--linie); }
.mit-video .kachel:not(.kachel-treue) .kachel-unter, .kachel .kachel-unter { color: color-mix(in oklab, var(--kreide) 72%, var(--wolle)); }
.mit-video .kachel:not(.kachel-treue) .kachel-icon, .kachel .kachel-icon { background: var(--icon-grund); color: var(--salbei-tief); }
.mit-video .kachel:not(.kachel-treue) .kachel-pfeil { color: var(--kreide); }
/* Sehr schmale Handys: Kacheln untereinander, sonst passen die Titel nicht */
@media (max-width: 359.98px) {
  .rb-start .kacheln, .mit-gruss.rb-start .kacheln { grid-template-columns: minmax(0, 1fr); }
  .rb-start .kachel { min-height: 0; }
  .mini-stempel { gap: 4px; }
}
/* Speisekarte in Salbei */
.rb-start .kachel[href="/speisekarte/"] { background: var(--salbei); box-shadow: none; }
.rb-start .kachel[href="/speisekarte/"] .kachel-unter { color: color-mix(in oklab, var(--kreide) 80%, var(--salbei)); }
.rb-start .kachel[href="/speisekarte/"] .kachel-icon { background: rgb(251 247 240 / .45); color: var(--kreide); }

/* Treuekarte: Kreidetafel mit Schäfchen */
.kachel-treue, .mit-video .kachel-treue { background: var(--kreide); color: var(--wolle); box-shadow: 0 14px 30px -18px rgb(30 35 32 / .7); }
.kachel-treue .kachel-unter, .mit-video .kachel-treue .kachel-unter { color: rgb(251 247 240 / .8); }
.kachel-treue .kachel-icon, .mit-video .kachel-treue .kachel-icon { background: rgb(251 247 240 / .08); color: var(--salbei); }
.rb-start .kachel-treue .kachel-pfeil { background: rgb(251 247 240 / .12); color: var(--wolle); }
.kachel-treue:active, .mit-video .kachel-treue:active { background: color-mix(in oklab, var(--kreide) 90%, #000); }
.mini-stempel { gap: 4px; margin-top: 12px; flex-wrap: nowrap; }
.mini-stempel i, .mini-stempel.viele i, .mit-video .kachel-treue .mini-stempel i {
  width: clamp(16px, 5.2vw, 24px); height: clamp(16px, 5.2vw, 24px); border: 0; border-radius: 0;
  background: var(--stempel-leer) center / contain no-repeat; opacity: .5;
}
.mini-stempel i.voll, .mit-video .kachel-treue .mini-stempel i.voll { background: var(--stempel-schaf) center / contain no-repeat; border: 0; opacity: 1; }

/* ---------- Treuekarte /karte/: „Schäfchen zählen“ ---------- */
.stempelkarte {
  color: var(--wolle); border-radius: 26px;
  background: repeating-linear-gradient(115deg, rgb(255 255 255 / .028) 0 1px, transparent 1px 7px), var(--kreide);
  box-shadow: 0 18px 40px -22px rgb(30 35 32 / .75);
}
.stempelkarte::after { border-color: rgb(251 247 240 / .08); }
.karte-logo { font-size: 0; }
.karte-logo > * { display: none; }
.karte-logo::before { content: "Schäfchen zählen"; white-space: nowrap; font-size: clamp(18px, 5.4vw, 21px); font-family: var(--logo-schrift); }
.karte-zahl { color: var(--salbei); font-size: 19px; }
.karte-zahl b { color: var(--wolle); }
.stempel-felder, .stempel-felder.viele { gap: 10px 8px; }
.stempel-feld, .stempelkarte.vorschau .stempel-feld {
  border: 0; border-radius: 0; color: transparent;
  background: var(--stempel-leer) center / contain no-repeat;
}
.stempel-feld:not(.voll) { opacity: .6; }
.stempel-feld svg { display: none; }
.stempel-feld.voll { background: var(--stempel-schaf) center / contain no-repeat; box-shadow: none; opacity: 1; }
.stempel-feld.voll::before { content: none; }
.stempel-feld.praemie-feld, .stempelkarte.vorschau .stempel-feld.praemie-feld { background: var(--stempel-tasse) center / 70% no-repeat; opacity: 1; }
.stempel-feld.praemie-feld.voll { background: var(--stempel-tasse-voll) center / 70% no-repeat, radial-gradient(circle, rgb(199 131 127 / .18) 60%, transparent 62%); rotate: 0deg; }
.stempelkarte.vorschau .stempel-feld::after { content: none; }
.stempel-feld.neu { animation: rb-stempeln 520ms var(--raus) both; }
@keyframes rb-stempeln { 0% { opacity: 0; transform: scale(1.7) rotate(-16deg); } 60% { opacity: 1; transform: scale(.94); } 100% { opacity: 1; transform: none; } }
.karte-fuss { color: rgb(251 247 240 / .85); }
.treue-praemie { box-shadow: 0 0 0 1.5px var(--rose), 0 10px 26px -16px rgb(46 53 48 / .4); }
.treue-praemie-titel { color: var(--rose-tief); font-weight: 700; }
.leiste { background: linear-gradient(to top, var(--hafer) 72%, transparent); }

/* ---------- Speisekarte ---------- */
.kachel-flach .kachel-titel { font-family: var(--logo-schrift); font-weight: 400; font-size: 21px; letter-spacing: 0; }
.gerichte { background: var(--wolle); box-shadow: inset 0 0 0 1px var(--linie); }
.gericht + .gericht { border-top: 1px dashed color-mix(in oklab, var(--walnuss) 32%, transparent); margin-right: 20px; padding-right: 0; }
.gericht-name { font-family: var(--logo-schrift); font-weight: 400; font-size: 19px; letter-spacing: 0; line-height: 1.2; }
.gericht-preis { font-family: var(--logo-schrift); font-size: 18px; color: var(--salbei-tief); }
.gericht-text { color: color-mix(in oklab, var(--kreide) 74%, var(--wolle)); }
.allergene span { color: var(--salbei-tief); }
.allergene[aria-expanded="true"] span { background: var(--salbei-tief); }
/* Torte des Tages: das Werk des Konditormeisters, mit Schäfchen und Rosenrand */
.gericht.rb-hervor { position: relative; margin: 8px; padding: 16px 14px 16px 16px; border-radius: 18px; background: var(--hafer); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--rose) 60%, transparent); }
.gericht.rb-hervor + .gericht { border-top: 0; }
.gericht.rb-hervor .gericht-name { background: var(--stempel-schaf-hell) left center / 26px no-repeat; padding-left: 32px; }

/* ---------- Fuß ---------- */
.fuss-block a { display: inline-block; padding-block: 11px; margin-block: -6px; }
.fuss-titel { font-family: var(--logo-schrift); font-weight: 400; font-size: 18px; color: var(--walnuss); }
.fuss-status.offen::before { background: #4E7D55; }
.zeiten th { width: 6.6em; padding-right: 10px; }
.zeiten td { text-align: left; text-wrap: balance; }

/* ---------- Bewegung (Regler lebendig): ein Auftritt beim Laden der Startseite ---------- */
/* Schafe nicken nacheinander, dann Name, Gruß, Blatt; die Mini-Schäfchen werden einzeln gestempelt */
@media (prefers-reduced-motion: no-preference) {
  .kopf-start .rb-marke svg > g { transform-box: fill-box; transform-origin: 50% 85%; }
  .kopf-start .rb-marke svg > g:nth-of-type(2) { animation: rb-nicken 900ms 250ms var(--raus) both; }
  .kopf-start .rb-marke svg > g:nth-of-type(1) { animation: rb-nicken 900ms 520ms var(--raus) both; }
  .kopf-start .rb-marke { animation: rb-auf 700ms var(--raus) both; }
  .rb-wort { animation: rb-auf 700ms 120ms var(--raus) both; }
  .rb-claim { animation: rb-auf 700ms 200ms var(--raus) both; }
  .rb-start .gruss-klein { animation: rb-auf 700ms 380ms var(--raus) both; }
  .rb-start .gruss-gross { animation: rb-auf 760ms 460ms var(--raus) both; }
  .rb-blatt { animation: rb-blatt 900ms 520ms var(--raus) both; }
  .rb-start .kachel { animation: rb-auf 700ms var(--raus) both; }
  .rb-start .kachel:nth-child(1) { animation-delay: 640ms; }
  .rb-start .kachel:nth-child(2) { animation-delay: 720ms; }
  .rb-start .kachel:nth-child(3) { animation-delay: 790ms; }
  .rb-start .kachel:nth-child(n+4) { animation-delay: 850ms; }
  .mini-stempel i.voll { animation: rb-stempeln 460ms var(--raus) both; }
  .mini-stempel i:nth-child(1) { animation-delay: 950ms; }
  .mini-stempel i:nth-child(2) { animation-delay: 1030ms; }
  .mini-stempel i:nth-child(3) { animation-delay: 1110ms; }
  .mini-stempel i:nth-child(4) { animation-delay: 1190ms; }
  .mini-stempel i:nth-child(5) { animation-delay: 1270ms; }
  .mini-stempel i:nth-child(6) { animation-delay: 1350ms; }
  .mini-stempel i:nth-child(7) { animation-delay: 1430ms; }
  .mini-stempel i:nth-child(8) { animation-delay: 1510ms; }
  .mini-stempel i:nth-child(9) { animation-delay: 1590ms; }
  .mini-stempel i:nth-child(n+10) { animation-delay: 1670ms; }
}
@keyframes rb-nicken { 0% { rotate: 0deg; } 35% { rotate: 7deg; } 70% { rotate: -2deg; } 100% { rotate: 0deg; } }
@keyframes rb-auf { from { opacity: 0; transform: translateY(12px); } }
@keyframes rb-blatt { from { transform: translateY(56px); } }

@media (hover: hover) and (pointer: fine) {
  .kachel:hover { background: color-mix(in oklab, var(--wolle) 94%, var(--kreide)); }
  .rb-start .kachel[href="/speisekarte/"]:hover { background: color-mix(in oklab, var(--salbei) 92%, var(--kreide)); }
  .kachel-treue:hover, .mit-video .kachel-treue:hover { background: color-mix(in oklab, var(--kreide) 92%, #fff); }
}

/* Breiter als das Handy: gleiche Spalte, Gruß etwas größer */
@media (min-width: 48rem) {
  .rb-start .gruss { align-items: center; text-align: center; }
  .rb-start .gruss-gross { font-size: 48px; max-width: none; }
  .titel { font-size: 40px; }
}
