/* Homepage Speisekarte teaser — preview cards + CTA to menu.html */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

.hw-home-menu-section .rt-tabs,
.hw-home-menu-section .rt-menu-item-image {
  display: none !important;
}

.hw-home-menu-section {
  position: relative;
  overflow: hidden;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.hw-home-menu-intro {
  margin: 0 auto 36px;
  max-width: 34rem;
  text-align: center;
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #515151;
}

.hw-menu-teaser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.hw-menu-teaser-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background: #0e2118;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(14, 33, 24, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hw-menu-teaser-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12% 10% 18%;
  box-sizing: border-box;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hw-menu-teaser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14, 33, 24, 0.78) 100%);
  pointer-events: none;
}

.hw-menu-teaser-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: Oswald, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f1e8;
}

.hw-menu-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14, 33, 24, 0.16);
}

.hw-menu-teaser-card:hover img {
  transform: scale(1.05);
}

.hw-home-menu-cta {
  margin-top: 36px;
  text-align: center;
}

.hw-home-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #0e2118;
  color: #f5f1e8;
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(14, 33, 24, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hw-home-menu-btn:hover {
  background: #ba9a6f;
  color: #0e2118;
  transform: translateY(-2px);
}

/* Legacy hooks (safe if leftover markup/JS) */
.hw-home-floats,
.hw-home-menu,
.hw-home-filters,
.hw-home-list {
  display: none !important;
}

@media (min-width: 768px) {
  .hw-menu-teaser {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .hw-menu-teaser-label {
    font-size: 16px;
    left: 14px;
    bottom: 12px;
  }

  .hw-home-menu-intro {
    margin-bottom: 42px;
  }

  .hw-home-menu-cta {
    margin-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-menu-teaser-card,
  .hw-menu-teaser-card img,
  .hw-home-menu-btn {
    transition: none;
  }
}
