/* ============================================================================
   DATEI: css/mobil-und-logo.css  –  Logo, Infokästen und iPhone-Feinschliff
   ============================================================================
   Diese Datei wird als LETZTE der allgemeinen CSS-Dateien geladen.
   Bei gleichen Regeln gewinnt sie also gegen grundlagen/layout/komponenten/
   responsive.css. Darum stehen hier die "letzten Korrekturen".

   HÄUFIGE ÄNDERUNGEN:
     Logo größer/kleiner          -> .logo-mit-bild (width) und img (height)
     Farbe der Tagesangebote-Box  -> .angebote (background, border)
     Farbe des Adress-Kastens     -> .betrieb-info
   ============================================================================ */

/* ---------- LOGO ----------
   WENN DU das Logo größer willst: z. B. width 128px -> 150px UND height 108px -> 128px.
   Achtung: Ein sehr großes Logo nimmt dem Menü Platz weg. */
.logo-mit-bild {
  display: flex; align-items: center;
  width: 128px; min-width: 128px;
  flex-shrink: 0;            /* Logo wird nie zusammengedrückt */
}
/* object-fit: contain = Logo komplett sichtbar, nicht verzerrt, nicht abgeschnitten. */
.logo-mit-bild img { display: block; width: 100%; height: 108px; object-fit: contain; object-position: center; }

/* ---------- TAGESANGEBOTE (Speisekarte) ---------- */
.angebote {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;   /* gap: senkrecht waagerecht */
  padding: 16px 20px; margin: 20px 0 18px;
  border: 1px solid #9b7a42; border-radius: 14px;
  background: #211b14;
}
.angebote strong { color: #f1bd66; margin-right: 12px; }
.angebote span { font-size: 14px; }
/* Das Angebot von heute: hervorgehoben mit kleinem "Heute"-Etikett.
   WENN DU eine andere Farbe willst: background/color hier ändern. */
.angebote span.heute { background: var(--farbe-rot); color: #fff; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.angebote span.heute em { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; opacity: .9; }

/* ---------- Kategorie-Leiste mit Pfeilen (Speisekarte) ----------
   Die Pfeile liegen ÜBER den Rändern der Leiste. Ein Farbverlauf deutet an,
   dass es dort weitergeht. js/speisekarte.js blendet sie nur ein, wenn
   nicht alle Kategorien in eine Zeile passen. */
.leiste-rahmen { position: relative; }
.kategorie-leiste { position: relative; scroll-behavior: smooth; }
.leiste-pfeil {
  position: absolute; top: 1px; bottom: 1px; z-index: 2; width: 52px; border: 0;
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.leiste-pfeil.links { left: 1px; border-radius: 15px 0 0 15px; background: linear-gradient(90deg, #131516 55%, rgba(19,21,22,0)); justify-content: start; padding-left: 12px; }
.leiste-pfeil.rechts { right: 1px; border-radius: 0 15px 15px 0; background: linear-gradient(270deg, #131516 55%, rgba(19,21,22,0)); justify-content: end; padding-right: 12px; }
.leiste-pfeil:hover { color: var(--farbe-gold); }
.leiste-pfeil[hidden] { display: none; }

/* ---------- ADRESSE & ÖFFNUNGSZEITEN ---------- */
.betrieb-info { margin: 42px auto; padding: 24px; border: 1px solid #655137; border-radius: 16px; background: #161717; }
.betrieb-info h2 { color: #e9b45d; margin-top: 0; }
.betrieb-info a { color: #f2c477; }

/* ---------- TOUCH-FREUNDLICH ----------
   Apple empfiehlt mindestens 44px große Tippflächen. */
.kategorie-tab, .hauptnavigation a, .menuknopf { min-height: 44px; }

/* Kategorie-Knöpfe behalten ihre natürliche Breite; die Leiste wird wischbar. */
.kategorie-leiste { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.kategorie-tab { flex: 0 0 auto; }

/* Tablets / kleine Laptops: kompakteres Logo. */
@media (max-width: 900px) {
  .logo-mit-bild { width: 84px; min-width: 84px; }
  .logo-mit-bild img { height: 76px; }
}

/* Handys bis 600px: Karten einspaltig, etwas größere Schrift zum Lesen. */
@media (max-width: 600px) {
  .produkt-raster { grid-template-columns: 1fr; gap: 16px; }
  .produktname { font-size: 17px; }
  .produktpreis { font-size: 17px; }
  .produktbeschreibung { font-size: 14px; }
  .produktinfo { padding: 16px; }
  .angebote { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero h1 { overflow-wrap: anywhere; }   /* lange Wörter dürfen umbrechen */
  /* Die Kategorie-Leiste klebt beim Scrollen oben (wie die Kopfzeile).
     WENN DU das nicht willst: diese Zeile löschen. */
  .leiste-rahmen { position: sticky; top: 0; z-index: 15; }
  .kategorie-tab { padding: 12px 16px; }
}
