/* =====================================================================
   Saman Restaurant – Stylesheet (Nachbau der Divi-Seite ohne WordPress)
   ===================================================================== */
:root {
  --red: #840e0e;
  --red-btn: #910000;
  --yellow: #ffcc00;
  --black: #000;
  --dark: #0a0a0a;
  --grey: #444;
  --card: #333;
  --text: #fff;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-head: "Lato", "Open Sans", Arial, sans-serif;
  --container: 1104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--font-body); font-size: 14px; line-height: 1.7; font-weight: 400;
  padding-top: 95px; /* Topbar 31px + Header 64px (fixed) */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { width: 79%; max-width: var(--container); margin: 0 auto; }
.container.narrow { max-width: 864px; }
.section { position: relative; }

/* ---------- Top bar + Header ---------- */
#top-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: var(--red); font-size: 12px; font-weight: 600; line-height: 31px; height: 31px; white-space: nowrap; overflow: hidden;
}
#top-header .container { max-width: none; width: 90%; }
#main-header {
  position: fixed; top: 31px; left: 0; right: 0; z-index: 1000;
  background: var(--dark); height: 64px; box-shadow: 0 1px 0 rgba(255,255,255,.04);
}
#main-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: none; width: 90%; padding: 0 2%; }
#main-header .logo img { width: 296px; height: 35px; }
#main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
#main-nav a { font-size: 14px; font-weight: 600; color: rgba(173,173,173,.6); transition: color .3s; padding: 10px 0; display: block; }
#main-nav a:hover, #main-nav li.current a { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--red-btn); color: #fff; font-family: var(--font-body);
  font-size: 20px; font-weight: 500; padding: 6px 20px; border-radius: 50px; border: 0; cursor: pointer;
  transition: background .2s, transform .2s; line-height: 1.7;
}
.btn:hover { background: #b00000; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.small { font-size: 15px; padding: 4px 16px; }
.btn.outline { background: transparent; border: 2px solid #fff; }
.btn.outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
  min-height: 785px; display: flex; align-items: center; text-align: center;
  background: #000 url("../img/hero.jpg") center/cover no-repeat; padding: 55px 0 0;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero .container { position: relative; padding: 27px 0; }
.hero-pre { font-family: var(--font-head); font-size: 30px; font-weight: 300; margin: 0 0 17px; }
.hero-title { font-size: 50px; font-weight: 900; margin-bottom: 20px; letter-spacing: -.5px; }
.hero-text { font-family: var(--font-head); font-size: 18px; margin: 0 0 30px; }
.scroll-hint { display: block; margin-top: 90px; font-family: var(--font-head); font-size: 16px; font-weight: 500; opacity: .9; }
.scroll-hint img { margin: 0 auto 8px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Über uns (Bild / Text im Wechsel) ---------- */
.about { background: #000; }
.about-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.about-img { background: center/cover no-repeat; min-height: 300px; }
.about-text {
  display: flex; flex-direction: column; justify-content: center; padding: 40px 80px;
  background: var(--grey) url("../img/backboard.jpg") center/cover no-repeat;
}
.about-row:first-child .about-text { background-color: #000; }
.about-text h2 { font-family: var(--font-body); font-size: 26px; font-weight: 700; color: #f7f7f7; margin-bottom: 18px; }
.about-row:first-child .about-text h2 { font-size: 32px; }
.about-text h2 span { font-size: 18px; display: block; }
.about-text p { font-size: 19px; line-height: 1.7; }

/* ---------- Kacheln ---------- */
.cards { background: #fff url("../img/backboard.jpg") center/cover no-repeat; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; }
.card {
  position: relative; display: block; aspect-ratio: 3 / 2; background: var(--card) center/cover no-repeat;
  overflow: hidden; color: #fff;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%); transition: background .3s; }
.card:hover::before { background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.25) 100%); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 40px; }
.card h3 { font-size: 46px; font-weight: 300; margin-bottom: 10px; }
.card p { font-family: var(--font-head); font-size: 24px; margin: 0; }

/* ---------- Galerie ---------- */
.gallery-section { padding: 55px 0; background: #fff url("../img/backboard.jpg") center/cover no-repeat; }
.promo-title { font-size: 40px; font-weight: 300; text-align: center; margin: 27px 0 40px; position: relative; }
.promo-title::after { content: ""; display: block; width: 100px; height: 1px; background: rgba(255,255,255,.5); margin: 20px auto 0; }
.promo-text { text-align: center; font-family: var(--font-head); font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; }
.gallery-item { display: block; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 400 / 284; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); opacity: .85; }

/* ---------- Spezialitäten ---------- */
.specials { background: #fff url("../img/backboard.jpg") center/cover no-repeat; padding: 55px 0 0; }
.specials-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; background: #000; padding: 0 0 27px; }
.special { display: flex; align-items: center; gap: 30px; padding: 30px 40px; min-height: 283px; }
.special img { width: 180px; height: 154px; object-fit: cover; flex: 0 0 180px; border-radius: 4px; }
.special-body { flex: 1; text-align: center; }
.special h4 { font-size: 18px; font-weight: 300; color: var(--yellow); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.special p { font-family: var(--font-head); font-size: 16px; }
.special .price { font-family: var(--font-head); font-size: 18px; font-weight: 700; }

/* ---------- Besuchen Sie uns / Reservierung ---------- */
.come-on-in {
  background: #000 url("../img/table.jpg") center/cover no-repeat; text-align: center; padding: 126px 0;
}
.come-on-in::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.come-on-in .container { position: relative; }
.come-on-in .promo-text { margin-bottom: 30px; }

/* ---------- Social / Footer ---------- */
.social-section { background: #fff url("../img/backboard.jpg") center/cover no-repeat; padding: 30px 0 31px; text-align: center; }
.social-section .promo-text { font-size: 20px; font-weight: 300; margin-bottom: 24px; }
.social-follow { list-style: none; margin: 0; padding: 0 0 27px; display: flex; justify-content: center; gap: 12px; }
.social-follow a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: opacity .2s; }
.social-follow a:hover { opacity: .8; }
.social-follow .fb { background: #3b5998; }
.social-follow .ig { background: #ea2c59; }
#main-footer { background: rgba(0,0,0,.32); padding: 15px 0; font-size: 12px; color: #666; }
#main-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: none; width: 90%; padding: 0 2%; }
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; order: 2; }
.footer-social a { color: #666; }
.footer-social a:hover { color: #fff; }
#footer-info a { font-weight: 700; }
#footer-info a:hover { color: #fff; }

/* ---------- Modal (Impressum / Lightbox) ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); }
.modal-window { position: relative; background: #1c1c1c; color: #eee; max-width: 700px; width: 100%; max-height: 90vh; overflow: auto; padding: 30px 40px; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.modal-title { font-family: var(--font-head); font-size: 28px; font-weight: 300; margin-bottom: 15px; }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }
.modal-content a { color: var(--yellow); }
.lightbox-img { max-width: 100%; max-height: 90vh; box-shadow: 0 10px 40px rgba(0,0,0,.8); }

/* ---------- Reservierungsseite ---------- */
.reservation-hero { background: #000 url("../img/table.jpg") center/cover no-repeat; padding: 60px 0; min-height: 700px; }
.reservation-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.booking-widget {
  position: relative; background: #1e2430; color: #fff; max-width: 420px; margin: 0 auto; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6); overflow: hidden; font-size: 14px;
}
.booking-widget .bw-head { background: #171c26; padding: 14px 20px; display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .5px; }
.booking-widget .bw-head .flag { font-size: 18px; }
.booking-widget .bw-body { padding: 10px 20px 20px; }
.bw-step { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.bw-step .ico { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #f7b500; flex: 0 0 30px; }
.bw-step .ico svg { width: 22px; height: 22px; }
.bw-step label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #8d94a3; margin-bottom: 2px; }
.bw-step .field { flex: 1; }
.booking-widget select, .booking-widget input, .booking-widget textarea {
  width: 100%; background: #2a3140; border: 1px solid #38405a; color: #fff; font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 4px;
}
.booking-widget select:focus, .booking-widget input:focus, .booking-widget textarea:focus { outline: 2px solid #f7b500; outline-offset: 0; }
.booking-widget textarea { min-height: 70px; resize: vertical; }
.bw-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.bw-slots button { background: #2a3140; border: 1px solid #38405a; color: #fff; padding: 8px 0; border-radius: 4px; cursor: pointer; font: inherit; font-size: 14px; }
.bw-slots button:hover { border-color: #f7b500; }
.bw-slots button.active { background: #f7b500; color: #1e2430; border-color: #f7b500; font-weight: 700; }
.bw-hint { color: #f7b500; font-size: 13px; margin: 8px 0 0; }
.bw-error { background: #4a1a1a; color: #ffb3b3; padding: 10px 12px; border-radius: 4px; margin: 10px 0; }
.bw-submit { margin-top: 18px; width: 100%; font-size: 17px; }
.bw-legal { font-size: 11px; color: #8d94a3; margin: 12px 0 0; }
.bw-legal a { color: #f7b500; }
.booking-success { position: relative; background: #1e2430; max-width: 560px; margin: 0 auto; padding: 40px; border-radius: 6px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.booking-success h2 { font-size: 32px; font-weight: 300; margin-bottom: 15px; }
.booking-success .check { width: 70px; height: 70px; border-radius: 50%; background: #2e7d32; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.booking-success dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; text-align: left; margin: 20px auto; max-width: 340px; }
.booking-success dt { color: #8d94a3; }
.booking-success dd { margin: 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* ---------- Textseiten (Speisekarte, Datenschutz) ---------- */
.page-section { padding: 60px 0; background: #fff url("../img/backboard.jpg") center/cover no-repeat; min-height: 60vh; }
.page-section .content { max-width: 860px; margin: 0 auto; font-size: 16px; }
.page-section h1 { font-size: 40px; font-weight: 300; text-align: center; margin-bottom: 30px; }
.page-section h2 { font-size: 24px; font-weight: 400; margin: 30px 0 10px; }
.page-section a { color: var(--yellow); }
.menu-embed { width: 100%; height: 80vh; border: 0; background: #fff; }
.menu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 30px; }
.menu-card { background: rgba(0,0,0,.5); padding: 20px; text-align: center; }
.menu-card img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; margin-bottom: 12px; }
.menu-card h4 { color: var(--yellow); letter-spacing: 3px; text-transform: uppercase; font-weight: 300; font-size: 16px; margin-bottom: 8px; }
.menu-card .price { font-weight: 700; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .container { width: 90%; }
  .hero-title { font-size: 40px; }
  .about-row { grid-template-columns: 1fr; }
  .about-row .about-img { order: -1; min-height: 260px; }
  .about-text { padding: 30px; }
  .cards-grid, .specials-grid { grid-template-columns: 1fr; }
  .card h3 { font-size: 34px; }
  .card p { font-size: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .special { min-height: 0; }
}
@media (max-width: 767px) {
  body { padding-top: 64px; }
  #top-header { display: none; }
  #main-header { top: 0; }
  #main-header .logo img { width: 200px; height: auto; }
  .nav-toggle { display: block; }
  #main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #0a0a0a; padding: 10px 5%; border-top: 1px solid #222; }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 0; }
  #main-nav a { padding: 12px 0; border-bottom: 1px solid #222; color: #ddd; }
  .hero { min-height: 560px; }
  .hero-title { font-size: 32px; }
  .hero-pre { font-size: 22px; }
  .about-text p { font-size: 16px; }
  .about-text h2, .about-row:first-child .about-text h2 { font-size: 22px; }
  .special { flex-direction: column; text-align: center; padding: 25px 20px; }
  .special img { width: 100%; height: auto; flex: none; aspect-ratio: 7 / 6; }
  .come-on-in { padding: 70px 0; }
  .promo-title { font-size: 30px; }
  #main-footer .container { justify-content: center; text-align: center; }
  .bw-slots { grid-template-columns: repeat(3, 1fr); }
  .modal-window { padding: 25px 20px; }
}
