/* ============================================================
   Restaurant – Professional Website CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --burgundy:    #7B1D1D;
  --burgundy-lt: #9E2626;
  --gold:        #C9A84C;
  --gold-lt:     #E8C870;
  --dark:        #111111;
  --dark2:       #1A1A1A;
  --dark3:       #242424;
  --cream:       #F7F3EC;
  --cream2:      #EDE8DF;
  --text:        #333333;
  --text-light:  #777777;
  --white:       #FFFFFF;
  --nav-h:       75px;
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--white);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}
.section-divider.left { margin-left: 0; }

/* ── Navigation ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(17,17,17,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-brand img {
  height: 50px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a:hover::after {
  color: var(--gold);
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 3px;
  font-size: 0.82rem !important;
  letter-spacing: 0.5px !important;
  transition: background var(--transition) !important;
}

.nav-phone:hover { background: var(--burgundy-lt) !important; }
.nav-phone::after { display: none !important; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 7s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14); }
}

/* Dunkler Verlauf über der Diashow – hält den Text lesbar */
.hero-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(10,5,5,0.7) 60%,
    rgba(17,17,17,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-logo {
  height: 100px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
}

.hero-name {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-type {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hero-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hero-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.hero-info-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-info-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover {
  background: var(--burgundy-lt);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg { opacity: 0.5; }

/* ── Badge Banner ───────────────────────────────────────── */
.badge-bar {
  background: var(--burgundy);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}

.badge-item svg { color: var(--gold); flex-shrink: 0; }

/* ── Sections general ───────────────────────────────────── */
section { padding: 5rem 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* ── Willkommen ─────────────────────────────────────────── */
#willkommen { background: var(--cream); }
#willkommen .section-title { color: var(--dark2); }
#willkommen .section-subtitle { color: var(--burgundy); }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-img {
  position: relative;
}

.welcome-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.welcome-img::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px;
  right: 15px; bottom: 15px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: 0;
}

.welcome-img img { position: relative; z-index: 1; }

.welcome-text { padding-right: 1rem; }
.welcome-text .section-divider { margin-left: 0; }

.welcome-text p {
  color: #555;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.welcome-hours {
  background: var(--cream2);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-top: 1.5rem;
}

.welcome-hours h4 {
  color: var(--dark2);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #555;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--dark2); }
.hours-row .closed { color: var(--burgundy); font-weight: 600; }

/* ── Tagesmenu ──────────────────────────────────────────── */
#tagesmenu {
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}

#tagesmenu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/holz.png');
  background-size: cover;
  opacity: 0.04;
}

.tagesmenu-inner { position: relative; z-index: 1; }

.tagesmenu-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tagesmenu-date {
  display: inline-block;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.menu-card {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.5);
}

.menu-card-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.menu-card-desc {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.menu-card-price {
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-weight: 600;
}

.menu-card-price span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.menu-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.menu-extra-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  text-align: center;
}

.menu-extra-item .label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.menu-extra-item .value {
  font-size: 0.95rem;
  color: var(--white);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.menu-note {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* No menu state */
.menu-unavailable {
  text-align: center;
  padding: 3rem;
  color: rgba(255,255,255,0.5);
}
.menu-unavailable svg { margin: 0 auto 1rem; opacity: 0.3; }
.menu-unavailable p { font-size: 1rem; }

/* ── Speisekarte ────────────────────────────────────────── */
#speisekarte { background: var(--cream); }
#speisekarte .section-title { color: var(--dark2); }
#speisekarte .section-subtitle { color: var(--burgundy); }

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.pdf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--burgundy);
}

.pdf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.pdf-icon {
  width: 60px; height: 60px;
  background: rgba(123,29,29,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--burgundy);
}

.pdf-card h3 {
  color: var(--dark2);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.pdf-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 0.65rem 1.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition);
}

.btn-pdf:hover { background: var(--burgundy-lt); }

/* ── Getränke ───────────────────────────────────────────── */
#getraenke {
  background: var(--dark2);
  position: relative;
}

#getraenke .section-title { color: var(--white); }

.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.drink-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.drink-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.drink-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.drink-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.drink-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-drink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.btn-drink:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ── Bestellung ─────────────────────────────────────────── */
#bestellung { background: var(--cream); }
#bestellung .section-title { color: var(--dark2); }
#bestellung .section-subtitle { color: var(--burgundy); }

.order-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.order-text h3 {
  color: var(--dark2);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.order-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.order-badge {
  display: inline-block;
  background: rgba(123,29,29,0.1);
  color: var(--burgundy);
  border: 1px solid rgba(123,29,29,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.btn-order {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 1.5rem 2.5rem;
  border-radius: 6px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-order:hover {
  background: var(--burgundy-lt);
  transform: translateY(-2px);
}

.btn-order svg { margin-bottom: 0.2rem; }
.btn-order span { font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.btn-order small { font-size: 0.7rem; opacity: 0.7; }

/* ── Kontakt ────────────────────────────────────────────── */
#kontakt { background: var(--dark); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.kontakt-info { }

.kontakt-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.kontakt-item-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.kontakt-item-body h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.kontakt-item-body p,
.kontakt-item-body a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.kontakt-item-body a:hover { color: var(--gold); }

.kontakt-hours-table {
  width: 100%;
  margin-top: 0.5rem;
}

.kontakt-hours-table tr td {
  padding: 0.2rem 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.kontakt-hours-table td:first-child {
  color: rgba(255,255,255,0.5);
  padding-right: 1rem;
  white-space: nowrap;
}

.closed-day { color: var(--burgundy-lt) !important; }

.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  height: 380px;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.1);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: #0A0A0A;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

footer a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

footer a:hover { color: var(--gold); }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .welcome-img { order: -1; }
  .welcome-img img { height: 280px; }
  .welcome-img::before { display: none; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .order-box { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  :root { --nav-h: 65px; }
  section { padding: 3.5rem 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a {
    padding: 1rem 2rem;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
  }
  .nav-links a::after { display: none; }
  .nav-phone {
    margin: 0.5rem 2rem 1rem;
    justify-content: center;
  }
  .hamburger { display: flex; }

  .hero-info { gap: 1.2rem; }
  .badge-bar { gap: 1rem; flex-direction: column; align-items: flex-start; padding: 1rem 1.5rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .pdf-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .pdf-grid { grid-template-columns: 1fr; }
  .drinks-grid { grid-template-columns: 1fr; }
  .hero-name { font-size: 1.8rem; }
}

/* ── Galerie ────────────────────────────────────────────── */
#galerie {
  padding: 6rem 0;
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  background: var(--cream2);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.35), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 768px) {
  #galerie { padding: 4rem 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
