/* ════════════════════════════════════════════════════════════
   yourfood.hamburg — Verfeinerungen (additiv, lädt nach style.css)
   1) Logo-Fix  2) edlere Restaurant-Karten (graue Fläche)  3) Intro
   ════════════════════════════════════════════════════════════ */

/* ── 1) Logo: volle Höhe, mit Innenabstand, nichts abgeschnitten ── */
header, .header-top, .logo { overflow: visible; }
.header-top { padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 60px; width: auto; }
body { padding-top: 92px; }
@media (max-width: 640px) {
  .logo img { height: 48px; }
  body { padding-top: 80px; }
}

/* ── 2) Restaurant-Karten: leichte graue Fläche, klar abgegrenzt ── */
.rest-grid { gap: 44px 32px; }
@media (min-width: 1024px) { .rest-grid { gap: 52px 36px; } }

.rest-card {
  background: #f5f4f0;
  border: 1px solid #ebe8e1;
  border-radius: 12px;
  padding: 16px 18px 24px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1),
              box-shadow .45s cubic-bezier(.2,.8,.2,1),
              border-color .3s ease;
}
.rest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(20,18,15,.15);
  border-color: #ddd8cc;
}
.rest-image {
  margin-bottom: 18px;
  border-radius: 7px;
  box-shadow: none;
}
.rest-card:hover .rest-image img { transform: scale(1.05); }

.rest-location { margin-bottom: 9px; }
.rest-name { font-size: 25px; margin-bottom: 13px; }
.rest-meta-line { margin-bottom: 18px; }
.rest-desc { line-height: 1.62; margin-bottom: 24px; }

.rest-info { padding-top: 18px; }
.rest-info dl { gap: 12px 18px; }
.rest-info dd.hours { font-size: 12.5px; line-height: 1.65; }

.award { border-radius: 3px; }
.rest-img-attr { border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; }

/* ── mehr Freiraum oben/unten um die Restaurant-Blöcke ── */
.rest-section { padding-top: 84px; padding-bottom: 112px; }
.picks-section { padding-top: 24px; padding-bottom: 88px; }
@media (max-width: 640px) {
  .rest-section { padding-top: 52px; padding-bottom: 72px; }
}

/* ── 3) Intro-Animation (einmal pro Sitzung) ── */
#yf-intro {
  position: fixed; inset: 0; z-index: 2000;
  background: #faf9f6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: yfIntroOut .85s cubic-bezier(.76,0,.24,1) 1.3s forwards;
  will-change: transform;
}
#yf-intro img {
  height: 104px; width: auto;
  opacity: 0; transform: translateY(18px) scale(.97);
  animation: yfLogoIn 1s cubic-bezier(.2,.8,.2,1) .2s forwards;
}
@media (max-width: 640px) { #yf-intro img { height: 76px; } }
.yf-intro-line {
  width: 0; height: 2px; background: var(--accent, #b71f2c);
  margin-top: 22px; border-radius: 2px;
  animation: yfLineIn .75s cubic-bezier(.2,.8,.2,1) .7s forwards;
}
@keyframes yfLogoIn { to { opacity: 1; transform: none; } }
@keyframes yfLineIn { to { width: 150px; } }
@keyframes yfIntroOut { to { transform: translateY(-100%); } }

html.intro-done #yf-intro { display: none !important; }
@media (prefers-reduced-motion: reduce) { #yf-intro { display: none !important; } }

/* ── feinere, „coole" Scrollbars ── */
/* Menü-Panel: schlank, abgerundet, Akzent beim Hover, keine Pfeile */
.menu-panel { scrollbar-width: thin; scrollbar-color: rgba(20,18,15,.22) transparent; }
.menu-panel::-webkit-scrollbar { width: 10px; }
.menu-panel::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.menu-panel::-webkit-scrollbar-thumb {
  background: rgba(20,18,15,.22);
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: padding-box;
}
.menu-panel::-webkit-scrollbar-thumb:hover {
  background: var(--accent, #b71f2c);
  background-clip: padding-box;
}
.menu-panel::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

/* Gesamte Seite: dezent, einheitlich, ohne Pfeile */
html { scrollbar-width: thin; scrollbar-color: rgba(20,18,15,.18) transparent; }
body::-webkit-scrollbar, html::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-thumb, html::-webkit-scrollbar-thumb {
  background: rgba(20,18,15,.18);
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: padding-box;
}
body::-webkit-scrollbar-thumb:hover, html::-webkit-scrollbar-thumb:hover {
  background: rgba(20,18,15,.34);
  background-clip: padding-box;
}
body::-webkit-scrollbar-button, html::-webkit-scrollbar-button { display: none; }
