/* -----------------------------------------------------
   FONT IMPORTS
----------------------------------------------------- */

/* Herr Von Muellerhoff – für H1 */
@font-face {
  font-family: "Herr Von Muellerhoff";
  src: url("fonts/herr-von-muellerhoff-v9-latin-regular.eot");
  src: url("fonts/herr-von-muellerhoff-v9-latin-regular.eot?#iefix") format("embedded-opentype"),
       url("fonts/herr-von-muellerhoff-v9-latin-regular.woff2") format("woff2"),
       url("fonts/herr-von-muellerhoff-v9-latin-regular.woff") format("woff"),
       url("fonts/herr-von-muellerhoff-v9-latin-regular.ttf") format("truetype"),
       url("fonts/herr-von-muellerhoff-v9-latin-regular.svg#HerrVonMuellerhoff") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Libre Baskerville – für H2–H6 */
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/libre-baskerville-v7-latin-regular.eot");
  src: url("fonts/libre-baskerville-v7-latin-regular.eot?#iefix") format("embedded-opentype"),
       url("fonts/libre-baskerville-v7-latin-regular.woff2") format("woff2"),
       url("fonts/libre-baskerville-v7-latin-regular.woff") format("woff"),
       url("fonts/libre-baskerville-v7-latin-regular.ttf") format("truetype"),
       url("fonts/libre-baskerville-v7-latin-regular.svg#LibreBaskerville") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* raleway-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/raleway-v37-latin-regular.woff2') format('woff2');
}

/* raleway-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/raleway-v37-latin-500.woff2') format('woff2');
}

/* raleway-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/raleway-v37-latin-600.woff2') format('woff2');
}

/* raleway-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/raleway-v37-latin-700.woff2') format('woff2');
}

/* raleway-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/raleway-v37-latin-800.woff2') format('woff2');
}


/* -----------------------------------------------------
   TYPOGRAPHY – Überschriften
----------------------------------------------------- */


/* Alle anderen Überschriften = Libre Baskerville */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
}

/* Grund-Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #222;
  background-color: #faf7f4;
  line-height: 1.6;
}

/* Layout Helpers */
.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: #A78963;
  color: #fff;
  border-color: #A78963;
}

.btn-primary:hover {
  background: #8F6E47;
  border-color: #8F6E47;
}

.btn-outline {
  background: transparent;
  color: #A78963;
  border-color: #A78963;
}

.btn-outline:hover {
  background: rgba(167, 137, 99, 0.07);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0c0e0f;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.85;
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #A78963;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-btn {
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
}

/* HERO */
.hero {
  position: relative;
  min-height: 70vh;
  background-image: url("images/slider02.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.35)
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3.5rem;
}

.hero-kicker {
  font-family: "Herr Von Muellerhoff", serif;
  font-size: 100px;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
  color: #A78963;
}


.hero-subtitle {
  max-width: 32rem;
  font-size: 0.98rem;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(250, 247, 244, 0.96);
  border-radius: 1.4rem;
  padding: 1.4rem 1.6rem;
  color: #222;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.hero-open-label {
  font-weight: 600;
  color: #A78963;
}

.hero-card p {
  font-size: 0.9rem;
}

.hero-closed {
  margin-top: 0.5rem;
  font-weight: 500;
}

.hero-phone {
  margin-top: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.7rem;
  font-size: 0.9rem;
}

.hero-phone span {
  display: block;
  opacity: 0.75;
}

.hero-phone a {
  color: #A78963;
  font-weight: 600;
  text-decoration: none;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f2ebe5;
}

.section-heading {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.2rem;
}

.section-kicker {
  font-family: "Herr Von Muellerhoff", "Times New Roman", serif;
  font-size: 100px !IMPORTANT;
  color: #A78963 !IMPORTANT;
  margin-bottom: 0.4rem;
}

/* H2 in Section-Heading: jetzt Libre Baskerville */
.section-heading h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.section-heading p {
  font-size: 0.95rem;
  color: #555;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.section-grid-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

/* H2 in Textbereich: ebenfalls Libre Baskerville */
.section-text h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.section-text p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.75rem;
}

.section-media {
  display: flex;
  justify-content: center;
}

/* ABOUT */
.section-about {
  background: #faf7f4;
}

.image-card {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.15);
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* ABOUT TAGS / HIGHLIGHTS (optional if used) */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 1.2rem 0 1.4rem;
}

.about-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.about-item p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.about-number {
  font-weight: 600;
  font-size: 1.2rem;
  color: #A78963;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.about-tags li {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #f2ebe5;
}

/* CARDS */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dish-card {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.section-alt .dish-card {
  background: #faf7f4;
}

.dish-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.dish-body {
  padding: 1rem 1.1rem 1.1rem;
}

.dish-body h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.dish-price {
  color: #A78963;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.dish-desc {
  font-size: 0.88rem;
  color: #555;
}

/* GALLERY */
.gallery-full {
  width: 100%;
  margin-bottom: 1.5rem;
}

.gallery-full img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.06),
    rgba(0, 0, 0, 0.3)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* RESERVATION */
.section-reservation {
  position: relative;
  color: #f6f0e8;
  padding: 4rem 0;
  overflow: hidden;
  z-index: 1;

  background-image: url("images/bg-image-01.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 120%; /* etwas größer als „cover“ */
  animation: reservation-bg-zoom-desktop 30s ease-in-out infinite;
}

.section-reservation::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}


@keyframes reservation-bg-zoom-desktop {
  0% {
    background-size: 120%;
    background-position: center center;
  }
  50% {
    background-size: 130%; /* leichter Zoom */
    background-position: center center;
  }
  100% {
    background-size: 120%;
    background-position: center center;
  }
}

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


.section-reservation .section-kicker {
  color: #f0c087;
}

.section-reservation h2 {
  color: #fff;
}

.reservation-list {
  list-style: none;
  margin: 1rem 0;
  padding-left: 1.1rem;
}

.reservation-list li {
  position: relative;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.reservation-list li::before {
  content: "•";
  position: absolute;
  left: -1.1rem;
  color: #f0c087;
}

.reservation-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.reservation-contact span {
  display: block;
  opacity: 0.8;
}

.reservation-contact a {
  color: #f0c087;
  text-decoration: none;
  font-weight: 500;
}

.opening-card {
  background: #25201d;
  border-radius: 1.4rem;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.opening-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.opening-day {
  font-weight: 600;
  color: #f0c087;
}

.opening-closed {
  margin-top: 0.5rem;
  font-weight: 500;
}

.opening-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* FOOTER */
.site-footer {
  background: #141111;
  color: #eee4d8;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer h3,
.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #f0c087;
  text-decoration: none;
}

.footer-meta {
  grid-column: span 4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.2rem;
  padding-top: 0.7rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-links a {
  margin-right: 0.4rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 360px;
    margin-top: 1.5rem;
  }

  .section-grid,
  .section-grid-reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid.three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-meta {
    grid-column: span 2;
  }
  
  .section-reservation {
    background-size: 500%; /* Start größer, damit genug Höhe da ist */
    background-position: center center; /* oder center top, wenn Motiv oben ist */
    animation: reservation-bg-zoom-mobile 22s ease-in-out infinite;
  }
}

@keyframes reservation-bg-zoom-mobile {
  0% {
    background-size: 500%;
    background-position: center center;
  }
  50% {
    background-size: 700%; /* sanfter Zoom */
    background-position: center center;
  }
  100% {
    background-size: 560%;
    background-position: center center;
  }
}

  


@media (max-width: 700px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 60px;
    background: #0c0e0f;
    flex-direction: column;
    padding: 0.7rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .header-btn {
    display: none;
  }

  .card-grid.three-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-meta {
    grid-column: span 1;
  }
}

/* Popup Overlay */
.popup-overlay {
	cursor: pointer; /* zeigt an: klickbar */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility .3s ease;
}

/* Wenn deaktiviert */
.popup-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.popup-box {
	cursor: auto; /* Inhalt bleibt normal */
  background: #faf7f4;
  padding: 2rem;
  border-radius: 1.2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.popup-box h2 {
  color: #A78963;
  margin-bottom: 0.8rem;
}

.popup-box p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.popup-close {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  border: none;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}