/* ============================================================
   EAT SENSE — Restaurant Warendorf
   Premium Dark Theme · 2026 Redesign
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/playfair-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/playfair-italic-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-var-latin.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0d0e10;
  --bg-soft: #131518;
  --bg-card: #191c20;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8e4dc;
  --text-dim: #a49e93;
  --gold: #c9a25e;
  --gold-bright: #e3c48a;
  --red: #9e2b25;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-bright); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.eyebrow::before {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

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

.section-title {
  font-size: clamp(34px, 4.6vw, 56px);
  margin: 18px 0 22px;
  color: #f4f0e8;
}
.section-title em { font-style: italic; color: var(--gold-bright); }

.lead { color: var(--text-dim); max-width: 640px; font-size: 18px; }

/* ---------- Layout ---------- */
.container { width: min(1180px, 92vw); margin: 0 auto; }
section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.12s; }
.reveal[data-delay='2'] { transition-delay: 0.24s; }
.reveal[data-delay='3'] { transition-delay: 0.36s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(13, 14, 16, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #f4f0e8;
}
.brand-name span { color: var(--gold); }
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  background: transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn:hover { background: var(--gold); color: #14100a; }
.btn.solid { background: var(--gold); color: #14100a; }
.btn.solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.main-nav .btn { padding: 11px 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
  z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-3.jpg') center 40% / cover no-repeat;
  z-index: -2;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(13, 14, 16, 0.94) 22%, rgba(13, 14, 16, 0.55) 58%, rgba(13, 14, 16, 0.35)),
    linear-gradient(to top, var(--bg) 0%, transparent 28%);
}

.hero-content { max-width: 680px; }
.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 500;
  color: #f7f3ea;
  margin: 26px 0 8px;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero .tagline {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 44px;
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
}
.hero-meta .container {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-meta strong { color: var(--text); font-weight: 400; display: block; letter-spacing: 0.08em; }

/* ---------- Intro / Philosophie ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.intro-media { position: relative; }
.intro-media .frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.intro-media .frame img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.intro-media:hover .frame img { transform: scale(1.05); }
.intro-media::before {
  content: '';
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid rgba(201, 162, 94, 0.35);
  z-index: -1;
}
.intro-media .badge {
  position: absolute;
  right: -18px;
  bottom: 38px;
  background: var(--red);
  color: #f7f0e4;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  padding: 18px 26px;
  line-height: 1.4;
  box-shadow: var(--shadow);
}
.intro-text p { color: var(--text-dim); margin-bottom: 20px; }
.intro-text .drop {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--text);
  line-height: 1.55;
}
.intro-facts {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.intro-facts div strong {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-bright);
  font-weight: 500;
  display: block;
}
.intro-facts div span {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Signature dishes ---------- */
.signature { background: var(--bg-soft); }
.sig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.sig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.dish-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 94, 0.4); }
.dish-card .thumb { overflow: hidden; aspect-ratio: 16 / 11; }
.dish-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.dish-card:hover .thumb img { transform: scale(1.07); }
.dish-card .body { padding: 26px 28px 30px; }
.dish-card h3 { font-size: 23px; color: #f4f0e8; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.dish-card h3 .price { font-size: 19px; color: var(--gold-bright); white-space: nowrap; }
.dish-card p { color: var(--text-dim); font-size: 15.5px; margin-top: 10px; }

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 40px;
}
.menu-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.menu-tabs button:hover { color: var(--gold-bright); border-color: rgba(201, 162, 94, 0.5); }
.menu-tabs button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #14100a;
  font-weight: 500;
}

.menu-panel { display: none; animation: fadeUp 0.6s var(--ease); }
.menu-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.menu-note {
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 26px;
}
.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 60px;
}
.menu-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item .no {
  font-size: 12px;
  color: var(--red);
  background: rgba(158, 43, 37, 0.14);
  border: 1px solid rgba(158, 43, 37, 0.35);
  padding: 2px 8px;
  letter-spacing: 0.05em;
  min-width: 38px;
  text-align: center;
  color: #d98c85;
}
.menu-item .name { font-size: 17px; color: var(--text); font-weight: 400; }
.menu-item .name small {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 300;
  margin-top: 2px;
}
.menu-item .dots { border-bottom: 1px dotted rgba(255,255,255,0.18); align-self: center; margin: 0 4px; }
.menu-item .price { color: var(--gold-bright); font-size: 16.5px; white-space: nowrap; }

.menu-cta { margin-top: 46px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.menu-cta .hint { font-size: 14px; color: var(--text-dim); }

/* ---------- Parallax band ---------- */
.band {
  padding: clamp(110px, 14vw, 190px) 0;
  background: url('../img/pekingente.jpg') center / cover fixed no-repeat;
  text-align: center;
  isolation: isolate;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.72);
  z-index: -1;
}
.band h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  color: #f7f3ea;
  max-width: 760px;
  margin: 18px auto 30px;
}
.band h2 em { font-style: italic; color: var(--gold-bright); }

/* ---------- Partyservice ---------- */
.party-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.party-media { position: relative; overflow: hidden; box-shadow: var(--shadow); }
.party-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.party-media:hover img { transform: scale(1.05); }
.party-list { margin: 28px 0 34px; display: grid; gap: 16px; }
.party-list li {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--text-dim);
}
.party-list li::before {
  content: '◆';
  color: var(--gold);
  font-size: 10px;
  margin-top: 8px;
}
.party-list strong { color: var(--text); font-weight: 400; }

/* ---------- Reservation ---------- */
.reservation { background: var(--bg-soft); }
.res-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.res-info .times { margin: 30px 0; display: grid; gap: 0; border: 1px solid var(--line); }
.res-info .times div {
  display: flex;
  justify-content: space-between;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.res-info .times div:last-child { border-bottom: 0; }
.res-info .times span:first-child { color: var(--text-dim); letter-spacing: 0.06em; }
.res-info .times .closed span:last-child { color: #d98c85; font-style: italic; }
.res-phone {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.res-phone .icon { font-size: 26px; color: var(--gold); }
.res-phone a { font-family: var(--serif); font-size: 24px; color: #f4f0e8; }
.res-phone a:hover { color: var(--gold-bright); }
.res-phone small { display: block; color: var(--text-dim); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

.res-widget {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.res-widget h3 { font-size: 26px; margin-bottom: 6px; color: #f4f0e8; }
.res-widget .sub { color: var(--text-dim); font-size: 15px; margin-bottom: 28px; }
#resmio-container iframe { width: 100%; min-height: 620px; border: 0; }

/* Fallback form */
.res-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.res-form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 90px; }
.res-form .btn { justify-self: start; margin-top: 6px; }
.res-form .note { font-size: 13px; color: var(--text-dim); }
input::-webkit-calendar-picker-indicator { filter: invert(0.7); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 38px 34px;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.contact-card:hover { border-color: rgba(201, 162, 94, 0.4); transform: translateY(-6px); }
.contact-card .icon { font-size: 28px; color: var(--gold); margin-bottom: 18px; }
.contact-card h3 { font-size: 21px; margin-bottom: 12px; color: #f4f0e8; }
.contact-card p { color: var(--text-dim); font-size: 15.5px; }
.contact-card a.big { font-size: 19px; }

.map-link {
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.map-link p { color: var(--text-dim); font-size: 15px; }
.map-link strong { color: var(--text); font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: #0a0b0c;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold-bright); }
.copyright { font-size: 13px; color: rgba(164, 158, 147, 0.6); width: 100%; margin-top: 26px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 9, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 82vh;
  max-width: 92vw;
  box-shadow: var(--shadow);
}
.lightbox .lb-bar {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.lightbox button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 46px; height: 46px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}
.lightbox button:hover { border-color: var(--gold); color: var(--gold-bright); }
.lightbox .lb-close { position: absolute; top: 24px; right: 28px; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 180px 0 100px; min-height: 70vh; }
.legal-page h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 40px; color: #f4f0e8; }
.legal-page h2 { font-size: 26px; margin: 44px 0 14px; color: var(--gold-bright); }
.legal-page p, .legal-page li { color: var(--text-dim); margin-bottom: 12px; max-width: 760px; }
.legal-page ul { padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sig-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .menu-cols { grid-template-columns: 1fr; gap: 0 0; }
}

/* Vereinfachte Navigation auf Impressum/Datenschutz: immer sichtbar */
.site-header.simple .main-nav {
  position: static;
  flex-direction: row;
  opacity: 1;
  pointer-events: auto;
  background: none;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(13, 14, 16, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 17px; }
  .nav-toggle { display: block; }

  .site-header.simple .main-nav { gap: 18px; }
  .site-header.simple .main-nav a:not(.btn) { display: none; }
  .site-header.simple .main-nav .btn { padding: 9px 16px; font-size: 11px; }

  .intro-grid, .party-grid, .res-grid { grid-template-columns: 1fr; }
  .party-grid .party-media { order: -1; }
  .sig-grid { grid-template-columns: 1fr; }
  .intro-media::before { display: none; }
  .intro-media .badge { right: 10px; }
  .band { background-attachment: scroll; }
  .hero-meta { display: none; }
  .res-form { grid-template-columns: 1fr; }
}
