/* Mobile menu and action pill follow the verified Pizzeria Gellert reference. */
.mobile-actions { display: none; }
@media (max-width: 1100px) {
  .nav {
    position: sticky;
    top: 0;
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(16px);
  }
  .nav__inner { flex-wrap: wrap; }
  .nav .nav__toggle {
    gap: 10px;
    padding: 10px 16px;
    border-color: #dedede;
    color: #5f3c3d;
    font-size: 14px;
  }
  .nav .nav__toggle::after { content: "☰"; font: 400 16px/1 var(--font-ui); }
  .nav .nav__links,
  .nav .nav__links.is-open {
    position: static;
    flex: 0 0 100%;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #dedede;
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
  }
  .nav .nav__links > a { justify-content: center; }
}
@media (max-width: 640px) {
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .nav { padding: 10px 16px; }
  .nav__inner { min-height: 66px; }
  .nav .brand img { width: 70px; height: 66px; }
  .nav .nav__mobile-cta { display: none; }
  .nav .nav__links,
  .nav .nav__links.is-open {
    max-height: calc(100dvh - 270px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
  }
  .has-mobile-actions .footer { padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
  .mobile-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    z-index: 110;
    padding: 5px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fffffff0;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px #2927261a;
  }
  .mobile-actions a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font: 600 12px/1.5 var(--font-ui);
    color: #5f3c3d;
  }
  .mobile-actions a:last-child { background: #5f3c3d; color: #fff; }
  .mobile-actions a:focus-visible { outline: 2px solid #5f3c3d; outline-offset: 2px; }
  body:has(dialog[open]) .mobile-actions,
  body:has(.cookie-banner.is-visible) .mobile-actions,
  body:has(form :focus) .mobile-actions { visibility: hidden; }

  /* The mobile photograph belongs to the copy, not the tall information panel. */
  .home-page .hero.hero--photo { background: none; min-height: 0; }
  .home-page .hero--photo .hero__inner { padding: 0; gap: 22px; }
  .home-page .hero__copy {
    padding: 100px 24px 32px;
    border-radius: 22px;
    background:
      linear-gradient(90deg, rgb(16 37 31 / 90%), rgb(16 37 31 / 78%)),
      url("img/fondue-wintergarten.png") center 64% / cover;
  }
  .home-page .hero--photo h1 { font-size: clamp(40px, 11vw, 52px); }
  .home-page .hero--photo .hero__lead { font-size: 16px; margin-bottom: 22px; }
  .home-page .hero__actions { gap: 10px; }
  .home-page .hero__actions .button { min-height: 46px; padding: 12px 15px; font-size: 12px; }
  .home-page .hero--photo .hero__season-link { font-size: 12px; margin-top: 18px; }
  .home-page .hero--photo .hero__info { margin: 0 14px 24px; padding: 24px; box-shadow: none; }
  .home-page .hero--photo .hero__info h2 { font-size: 24px; }
}
@media print { .mobile-actions { display: none; } }
