@font-face {
  font-family: "Merriweather Variable";
  src: url("../fonts/Merriweather-VariableFont_opsz,wdth,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f1ea;
  --dark: #1b1612;
  --accent: #b3794b;
  --muted: #6d6259;
  --card: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Merriweather Variable", "Times New Roman", serif;
  color: var(--dark);
  background: url("../images/background.webp") center/cover no-repeat fixed;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 6rem));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: #fac819;
  color: #1b1612;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #e5b400;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #fac819;
  color: #1b1612;
}

.btn--center {
  display: inline-flex;
  margin: 2rem auto 0;
}

.link {
  display: inline-flex;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: url("../images/background.webp") center/cover no-repeat;
  backdrop-filter: blur(14px);
  border-bottom: 2.5px solid #fac819;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 21;
  background: #fac819;
  border-bottom: 1px solid rgba(27, 22, 18, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.announcement-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.announcement-bar .nav {
  padding: 0.5rem 0;
  justify-content: center;
}

.announcement-center {
  display: inline-flex;
  align-items: center;
  gap: 6rem;
}

.announcement-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.announcement-social img {
  width: 24px;
  height: 24px;
}

.announcement-bar .brand img {
  width: 48px;
  height: 48px;
}

.announcement-bar .brand--center {
  font-size: 1rem;
}

.announcement-subline {
  white-space: nowrap;
}

.announcement-break {
  display: inline;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.nav--center {
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand--center {
  font-size: 1.2rem;
  margin: 0 auto;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.phone {
  font-weight: 600;
  color: var(--muted);
}

.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
  min-height: 80vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero.webp") center/cover no-repeat;
  opacity: 0.5;
  transform: scale(1.08);
  transition: transform 0.2s ease;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: start;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin: 0.6rem 0 1rem;
}

.hero-subline {
  white-space: nowrap;
}

.hero-tagline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin: 0 0 1rem;
  font-weight: 700;
}

.title-sub {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-style: italic;
  margin-top: -0.2rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(250, 200, 25, 0.7);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 500px;
  justify-self: end;
  margin-top: 8rem;
}

.hero-card h2 {
  margin-top: 0;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
}

.opening-hours-notice {
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-bottom: none;
  font-weight: 700;
  color: var(--dark);
}

.section {
  padding: 5.5rem 0;
  margin: 2.5rem;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.section--cream {
  background: #f3ede4;
}

.section--light {
  background: #ffffff;
}

.section--accent {
  background: #182843;
}

.hero.section {
  margin-top: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4.5rem;
  align-items: center;
}

.about-stack {
  display: grid;
  gap: 2.5rem;
}

.about-stack .media {
  width: 100%;
  justify-self: stretch;
  margin-bottom: -0.8rem;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.about-column p {
  margin-top: 0;
}

.about-cta {
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .about-columns {
    grid-template-columns: 1fr;
  }
}

.about .stack {
  display: grid;
  gap: 1rem;
}

.about .card {
  background: var(--dark);
  color: #fff;
  padding: 2rem;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.about-image {
  border-radius: 24px;
  box-shadow: var(--shadow);
  width: 100%;
  justify-self: end;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

.menu .section-head--center h2 {
  font-size: 2.6rem;
  color: #fac819;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product {
  background: var(--card);
  padding: 1.8rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.product-image {
  margin: 1rem 0 0.8rem;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.product h3 {
  margin-top: 0;
  text-align: center;
}

.product p {
  text-align: center;
}

.product-meta {
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
  color: var(--dark);
}

.product-character {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.product span {
  font-weight: 700;
  color: var(--accent);
}

.shop-cards {
  display: grid;
  gap: 1rem;
}

.shop .tile {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

/* Speisekarte – horizontales manuelles Scrollen */
.speisekarte.section {
  padding-bottom: 2rem;
  overflow: visible;
}

.speisekarte .container {
  margin-bottom: 1.5rem;
}

.speisekarte-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0 2.5rem 1rem;
}

.speisekarte-scroll::-webkit-scrollbar {
  height: 8px;
}

.speisekarte-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.speisekarte-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.speisekarte-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.25rem 0.5rem 1rem;
  align-items: stretch;
}

.menu-card {
  flex: 0 0 min(320px, 85vw);
  min-width: 280px;
  max-width: 360px;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: var(--card);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-card__title {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  color: var(--dark);
}

.menu-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.menu-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-card__list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.menu-card__list .name {
  font-weight: 600;
  text-align: left;
  flex: 1 1 0%;
  min-width: 0;
}

.menu-card__list .price {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .speisekarte-scroll {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .menu-card {
    min-width: 260px;
  }
}

.reviews.section {
  margin: 1.2rem;
  padding: 2.5rem 0;
}

.reviews-carousel {
  --review-gap: 1.5rem;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: var(--review-gap);
  width: max-content;
  animation: reviews-scroll var(--reviews-duration, 36s) linear infinite;
  align-items: center;
  will-change: transform;
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

.review-card {
  background: var(--card);
  padding: 1.6rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 0 0 clamp(240px, 28vw, 360px);
}

.review-stars {
  display: inline-flex;
  justify-content: center;
  gap: 0.35rem;
  color: #fac819;
}

.review-stars svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.review-author {
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.review-text {
  color: var(--muted);
  margin: 0;
  text-align: left;
}


@keyframes reviews-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translate3d(
      calc(-1 * var(--reviews-scroll-distance, 50%)),
      0,
      0
    );
  }
}

@media (max-width: 900px) {
  .review-card {
    flex-basis: clamp(220px, 42vw, 320px);
  }
}

@media (max-width: 640px) {
  .review-card {
    flex-basis: clamp(240px, 85vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
}

.gallery .section-head--center h2 {
  font-size: 2.4rem;
}

.gallery .container {
  width: 100%;
}

.masonry {
  column-count: 3;
  column-gap: 0.6rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 0.6rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  content-visibility: auto;
  contain-intrinsic-size: 420px 630px;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.masonry-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.site-footer {
  background: #fac819;
  color: #1b1612;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-grid a {
  display: block;
  color: #1b1612;
  margin: 0.3rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(27, 22, 18, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(27, 22, 18, 0.7);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.masonry-item[data-reveal] {
  transform: translateY(30px) scale(0.98);
}

.masonry-item[data-reveal].is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
  .nav {
    padding: 0.8rem 0;
  }

  .nav-cta {
    gap: 0.6rem;
  }

  .hero-card {
    margin-top: 11rem;
  }

  .masonry {
    column-count: 2;
  }

  .masonry-item {
    contain-intrinsic-size: 360px 540px;
  }
}

@media (max-width: 1024px) {
  .hero-card {
    margin-top: 12.5rem;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand--center {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .nav-cta {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5.5rem;
  }

  .container {
    width: min(1200px, calc(100% - 2.5rem));
  }

  .hero-text h1 {
    white-space: normal;
  }

  .hero-subline {
    white-space: normal;
  }

  .hero-text {
    text-align: center;
  }

  .title-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-card {
    padding: 1.5rem;
    margin-top: 2.5rem;
  }

  .section {
    margin: 1rem;
    padding: 1.5rem 0;
  }

  .announcement-center {
    gap: 2rem;
  }

  .announcement-social img {
    width: 20px;
    height: auto;
  }

  .nav-cta .btn {
    display: none;
  }

  .announcement-break {
    display: block;
    font-size: 0;
  }

  .announcement-subline {
    white-space: normal;
  }

  .masonry {
    column-count: 1;
  }

  .masonry-item {
    contain-intrinsic-size: 320px 480px;
  }
}
