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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

/* --- Navigation --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 40px;
}

nav {
  background-color: transparent;
  transition: background-color 0.4s ease;
}

nav .logo {
  color: #ef745a;
}

nav .nav-link {
  position: relative;
  color: #ef745a;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

nav .nav-link:hover {
  opacity: 0.7;
}

nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

nav .nav-kontakt {
  border: 1px solid #ef745a;
  color: #ef745a;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

nav .nav-kontakt:hover {
  background-color: #ef745a;
  color: #ffffff;
}

nav.nav-dark {
  background-color: #ef745a;
}

nav.nav-dark .logo {
  color: #ffffff;
}

nav.nav-dark .nav-link {
  color: #ffffff;
}

nav.nav-dark .nav-kontakt {
  border: 1px solid #ffffff;
  color: #ffffff;
}

nav.nav-dark .nav-kontakt:hover {
  background-color: #ffffff;
  color: #ef745a;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links .nav-link {
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav__contact {
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ef745a;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease;
}

nav.nav-dark .nav__toggle-bar {
  background-color: #ffffff;
}

/* --- Hero --- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 3s cubic-bezier(0.12, 0.23, 0.5, 1) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

@keyframes heroTextIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px);
  }
  80% {
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle-top {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
  animation: heroTextIn 3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
  animation: heroTextIn 3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.hero-subtitle-bottom {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  animation: heroTextIn 3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

/* --- Section Typography --- */

h2,
.section-title,
.gallery-page__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 20px 0;
  padding: 0;
}

p,
.section-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.012em;
  line-height: 1.7;
  color: white;
  margin: 0 0 16px 0;
  padding: 0;
}

p:last-child {
  margin-bottom: 0;
}

.text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px;
  gap: 0;
}

.text-col .btn,
.text-col .btn-row {
  margin-top: 32px;
}

#ueber-uns .text-col {
  justify-content: flex-end;
}

.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 10px 28px;
  min-width: 190px;
  height: 40px;
  background-color: white;
  color: #ef745a;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 20px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.btn-outline {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 10px 28px;
  min-width: 190px;
  height: 40px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-outline:hover {
  background-color: white;
  color: #1a1a1a;
}

.btn-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Öffnungszeiten --- */

#oeffnungszeiten {
  background: #ffffff;
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.oeffnungszeiten-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  padding: 0 40px;
}

.oeffnungszeiten-logo {
  height: 480px;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.oeffnungszeiten-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hours__title {
  font-size: 52px;
  font-weight: 600;
  color: #ef745a;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

.hours__title--right {
  text-align: right;
}

.hours__opening-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.hours__kitchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.hours__label {
  font-size: 16px;
  font-weight: 600;
  color: #ef745a;
  margin-bottom: 8px;
}

.hours__time {
  font-size: 16px;
  font-weight: 400;
  color: #ef745a;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Über uns --- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about__text {
  align-items: flex-start;
  min-height: 100vh;
  background-color: #ef745a;
}

.about__image {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.about__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Mittagstisch --- */

.lunch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.lunch__image {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.lunch__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lunch__content {
  min-height: 100vh;
  background-color: #ef745a;
}

/* --- Gutschein --- */

.voucher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.voucher__content {
  min-height: 100vh;
  background-color: #ef745a;
}

.voucher__image {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.voucher__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Bestellen & Abholen --- */

.bestellen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.bestellen__image {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.bestellen__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bestellen__content {
  min-height: 100vh;
  background-color: #ef745a;
}

.bestellen__content .btn {
  align-self: flex-start;
}

/* --- Reservierung --- */

.reservation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background-image: url('../images/reservierung.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reservation__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.reservation__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 40px;
  max-width: 720px;
}

.reservation__text {
  margin-bottom: 16px;
}

.reservation__content .btn-outline {
  margin-top: 32px;
}

/* --- Galerie --- */

.gallery {
  background-color: #ef745a;
  padding: 60px 80px;
}

.gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.gallery__header .gallery__title {
  margin-bottom: 0;
}

.gallery__header .btn {
  flex-shrink: 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.gallery__item:hover img {
  transform: scale(1.02);
}

.gallery__item:hover::after {
  background-color: rgba(0, 0, 0, 0.15);
}

/* --- Galerie Seite --- */

.gallery-page {
  background-color: #ef745a;
}

.gallery-page__header {
  padding: 120px 80px 60px;
  text-align: center;
}

.gallery-page__intro {
  max-width: 760px;
  margin: 0 auto 60px;
}

.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 80px 80px;
}

/* --- Reservierung Seite --- */

.reservierung-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reservierung-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/reservierung.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.reservierung-overlay-global {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.reservierung-box {
  position: relative;
  z-index: 2;
  background: rgba(15, 10, 8, 0.75);
  backdrop-filter: blur(2px);
  padding: 64px 80px;
  max-width: 680px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.reservierung-box h1 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 52px;
  letter-spacing: -0.02em;
  margin: 0;
}

.reservierung-box p {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.reservierung-box .telefon {
  font-weight: 600;
  font-size: 18px;
}

.reservierung-box .btn-outline {
  margin-top: 12px;
}

/* --- 404 Fehlerseite --- */

.error-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.error-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.error-box {
  position: relative;
  z-index: 2;
  background: rgba(15, 10, 8, 0.75);
  padding: 64px 80px;
  max-width: 640px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.error-code {
  font-family: 'Inter', sans-serif;
  font-size: 96px;
  font-weight: 600;
  line-height: 1;
  color: #ef745a;
  letter-spacing: -0.03em;
  margin: 0;
}

.error-box p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: white;
  margin: 0;
}

.error-box .btn-outline {
  margin-top: 16px;
}

/* --- Impressum Seite --- */

.impressum-page {
  background-color: #ef745a;
  padding: 120px 80px 80px;
}

.impressum-page__content {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.impressum-page__title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
}

.impressum-page__subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 12px;
}

.impressum-page__text {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.8;
}

.impressum-page__link {
  color: #ffffff;
  text-decoration: underline;
}

.impressum-page__link:hover {
  text-decoration: none;
}

/* --- Kontakt --- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact__map {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.karte-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  line-height: 0;
}

.karte-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.karte-link:hover .karte-img {
  transform: scale(1.03);
}

.contact__content {
  min-height: 100vh;
  background-color: #ef745a;
}

.contact__block {
  margin-bottom: 32px;
}

.contact__block:last-child {
  margin-bottom: 0;
}

.contact__icon {
  display: block;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1;
}

.contact__label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.contact__link,
.contact__address {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
}

.contact__link {
  text-decoration: none;
}

.contact__link:hover {
  text-decoration: underline;
}

/* --- Footer --- */

footer {
  background-color: #ef745a;
  padding: 28px 80px;
  width: 100%;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left,
.footer-middle,
.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-right {
  align-items: flex-end;
}

.footer-logo {
  color: white;
  font-weight: 700;
  font-size: 16px;
  font-family: Inter, sans-serif;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer-link {
  color: white;
  font-size: 15px;
  font-family: Inter, sans-serif;
  text-decoration: none;
  line-height: 1;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-copy {
  color: white;
  font-size: 15px;
  font-family: Inter, sans-serif;
  line-height: 1;
}

.footer-managed {
  font-size: 11px;
  color: white;
  opacity: 0.45;
  text-decoration: none;
  margin-top: 6px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: block;
}

.footer-managed:hover {
  opacity: 0.7;
}

/* --- Mobile --- */

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #ef745a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav__menu .nav-link {
    color: #ffffff;
  }

  .nav__menu .nav-link:hover {
    opacity: 0.85;
  }

  .nav__menu .nav-kontakt {
    border: 1px solid #ffffff;
    color: #ffffff;
  }

  .nav__menu .nav-kontakt:hover {
    background-color: #ffffff;
    color: #ef745a;
  }

  .nav__menu.is-open {
    max-height: 100vh;
    overflow-y: auto;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
  }

  .nav__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__links a {
    display: block;
    padding: 14px 24px;
  }

  .nav__contact {
    margin: 16px 24px 24px;
    text-align: center;
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle-bottom {
    font-size: 16px;
  }

  .oeffnungszeiten-logo {
    display: none;
  }

  .oeffnungszeiten-inner {
    padding: 0 20px;
  }

  .oeffnungszeiten-content {
    gap: 48px;
  }

  .hours__title {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .hours__title--right {
    text-align: left;
  }

  .hours__opening-grid,
  .hours__kitchen-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hours__kitchen-grid {
    text-align: left;
  }

  #ueber-uns,
  #mittagstisch,
  #gutschein,
  #bestellen {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }

  #ueber-uns > div,
  #mittagstisch > div,
  #gutschein > div,
  #bestellen > div {
    width: 100%;
    min-width: 100%;
    min-height: unset;
  }

  #ueber-uns .about__image,
  #gutschein .voucher__image {
    order: -1;
  }

  #ueber-uns img,
  #mittagstisch img,
  #gutschein img,
  #bestellen img {
    width: 100%;
    height: 60vw;
    object-fit: cover;
    display: block;
  }

  #ueber-uns .text-col,
  #mittagstisch .text-col,
  #gutschein .text-col,
  #bestellen .text-col,
  #kontakt .text-col {
    width: 100%;
    min-height: unset;
  }

  .text-col {
    padding: 40px 24px;
  }

  #ueber-uns .text-col {
    justify-content: center;
  }

  .btn,
  .btn-outline {
    width: 100%;
    min-width: unset;
  }

  .btn-row {
    flex-direction: column;
    gap: 12px;
  }

  .btn-row .btn,
  .btn-row .btn-outline {
    margin-top: 0;
  }

  .lunch__title,
  .voucher__title,
  .bestellen__title {
    font-size: 36px;
  }

  .reservation__content {
    padding: 0 20px;
  }

  .reservation__title {
    font-size: 36px;
  }

  .reservation__text {
    font-size: 16px;
  }

  .gallery {
    padding: 40px 20px;
  }

  .gallery__title {
    font-size: 36px;
  }

  .gallery__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gallery__header .btn {
    width: 100%;
  }

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

  .gallery-page__header {
    padding: 100px 20px 40px;
  }

  .gallery-page__title {
    font-size: 40px;
  }

  .gallery-page__intro {
    margin-bottom: 40px;
  }

  .gallery-page__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px 40px;
  }

  .reservierung-box {
    padding: 40px 28px;
  }

  .reservierung-box h1 {
    font-size: 36px;
  }

  .impressum-page {
    padding: 100px 20px 60px;
  }

  .contact {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .contact__map {
    position: relative;
    width: 100%;
    height: 60vw;
    min-height: unset;
    overflow: hidden;
  }

  .karte-link {
    position: absolute;
    inset: 0;
    display: block;
    min-height: 0;
    overflow: hidden;
  }

  #kontakt .karte-img {
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.35);
  }

  #kontakt .karte-link:hover .karte-img {
    transform: scale(1.4);
  }

  .contact__content {
    min-height: auto;
  }

  .contact__title {
    font-size: 36px;
  }

  footer {
    padding: 36px 20px 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-top-row,
  .footer-bottom-row {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-managed {
    display: block;
    margin-top: 24px;
    text-align: center;
    font-size: 11px;
    opacity: 0.45;
  }

  .error-box {
    padding: 40px 24px;
  }

  .error-code {
    font-size: 64px;
  }
}
