/* ============================================================
   La Diva Bochum — Stylesheet
   Farben: Pizzeria-Rot (aus Logo) · Creme · Anthrazit · Gold
   ============================================================ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-700.woff2') format('woff2');
}

:root {
  --red: #C8102E;
  --red-dark: #9E0B22;
  --gold: #C9A15A;
  --cream: #FAF6EF;
  --cream-2: #F1EADC;
  --ink: #221F1B;
  --ink-2: #2E2A25;
  --ink-soft: #6A6259;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 31, 27, 0.10);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; }

section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.section-kicker.light { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 8px 22px rgba(200, 16, 46, 0.34); }

.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 31, 27, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(34, 31, 27, 0.10); }

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

.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--red);
  letter-spacing: 0.02em;
}
.brand-sub { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.btn-nav { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/la-diva-terrasse-hero.jpg') 62% 48% / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 16, 12, 0.82) 0%, rgba(20, 16, 12, 0.55) 48%, rgba(20, 16, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(20, 16, 12, 0.15) 55%, rgba(20, 16, 12, 0.55) 100%);
}
.hero-content { position: relative; z-index: 1; text-align: left; max-width: 660px; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero-content > * { animation: heroIn 0.65s ease-out backwards; }
.hero-content > :nth-child(2) { animation-delay: 0.08s; }
.hero-content > :nth-child(3) { animation-delay: 0.16s; }
.hero-content > :nth-child(4) { animation-delay: 0.24s; }
.hero-content > :nth-child(5) { animation-delay: 0.32s; }

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero-text { font-size: clamp(1rem, 2.2vw, 1.25rem); opacity: 0.95; margin-bottom: 2rem; }

.hero-actions { display: flex; gap: 0.9rem; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 2rem; }
.hero .btn-ghost { color: var(--white); }

.hero-meta {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.open-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.open-badge.open::before { content: '● '; color: #6BCB77; }
.open-badge.closed::before { content: '● '; color: #FF6B6B; }
.hero-phone { color: var(--white); text-decoration: none; font-weight: 600; }
.hero-phone:hover { color: var(--gold); }

/* ---------- Features ---------- */

.features { background: var(--white); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature { text-align: center; }
.feature svg {
  width: 64px;
  height: 64px;
  padding: 15px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.07);
  color: var(--red);
  margin: 0 auto 0.9rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Speisekarte ---------- */

.menu-section { background: var(--cream); }

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.menu-head h2 { margin-bottom: 0; }

.menu-search {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  padding: 0.75rem 1.2rem;
  border: 2px solid rgba(34, 31, 27, 0.15);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.menu-search:focus { outline: none; border-color: var(--red); }

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  margin-bottom: 1.6rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.menu-tab {
  flex: 0 0 auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 2px solid rgba(34, 31, 27, 0.15);
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.menu-tab:hover { border-color: var(--red); color: var(--red); }
.menu-tab.active { background: var(--red); border-color: var(--red); color: var(--white); }

.menu-cat-desc {
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2.5rem;
}

.menu-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: 0 2px 10px rgba(34, 31, 27, 0.05);
}
.item-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.item-name { font-weight: 600; }
.item-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(34, 31, 27, 0.25);
  transform: translateY(-4px);
}
.item-price { font-weight: 700; color: var(--red); white-space: nowrap; }
.item-desc { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.25rem; }

.menu-group-title {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 1rem;
  color: var(--red-dark);
}
.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 2rem 0;
}

.menu-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}
.menu-note a { color: var(--red); }

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

.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-text p { margin-bottom: 1.1rem; color: var(--ink-2); }
.about-text .btn { margin-top: 0.5rem; }
.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.gallery { background: var(--cream-2); }
.gallery-sub { color: var(--ink-soft); margin: -0.6rem 0 1.8rem; max-width: 560px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 1rem;
}
.gallery-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(34, 31, 27, 0.08);
  cursor: zoom-in;
}
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(15, 12, 10, 0.72));
  color: var(--cream);
  font-size: 0.86rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-grid figure:hover figcaption,
.gallery-grid figure:focus-visible figcaption { opacity: 1; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 12, 10, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.2rem 3.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 1.1rem;
  text-align: center;
  color: var(--cream);
  font-size: 0.95rem;
  padding: 0 1rem;
}
.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  padding: 0.4rem;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--gold); }

/* ---------- Scroll-Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .features-grid .reveal:nth-child(2),
.js .gallery-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .features-grid .reveal:nth-child(3),
.js .gallery-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .features-grid .reveal:nth-child(4),
.js .gallery-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .gallery-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

/* ---------- Kontakt ---------- */

.contact { background: var(--ink); color: var(--cream); }
.contact h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.contact-card h3 { color: var(--gold); font-size: 1.15rem; margin-bottom: 1rem; }

.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 0.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child td { border-bottom: none; }
.hours tr.today td { color: var(--gold); font-weight: 700; }

.addr { margin-bottom: 1rem; }
.big-phone {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.big-phone:hover { color: var(--gold); }
.order-links { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.2rem; }
.order-links .btn { text-align: center; }
.contact .btn-ghost { color: var(--cream); }

.map-card { display: flex; flex-direction: column; }
.map-box {
  flex: 1;
  min-height: 240px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(250, 246, 239, 0.8);
  padding: 1rem;
}
.map-box iframe { width: 100%; height: 100%; min-height: 240px; border: 0; border-radius: 10px; }
.map-box.loaded { padding: 0; border: none; background: none; }

/* ---------- Footer ---------- */

.site-footer { background: #171512; color: rgba(250, 246, 239, 0.75); padding: 2rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: rgba(250, 246, 239, 0.75); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }

/* ---------- Rechtliches (Impressum / Datenschutz) ---------- */

.legal { background: var(--white); min-height: 60vh; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.8rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.4rem; }
.legal a { color: var(--red); }
.placeholder { background: #FFF3CD; padding: 0.1rem 0.4rem; border-radius: 4px; }

/* ---------- Responsive ---------- */

.only-desktop { display: inline; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-items { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-img img { aspect-ratio: 16 / 10; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; }
  .contact-grid { grid-template-columns: 1fr; }
  .only-desktop { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(34, 31, 27, 0.1);
    padding: 0.5rem 4%;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 0.9rem 0; width: 100%; }
  .btn-nav { margin: 0.8rem 0; }
  .hero { min-height: 70vh; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-auto-rows: 135px; gap: 0.7rem; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
