/* Restaurant Stadion Skarabäus – Hauptstylesheet */

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #C59D5F;
  --text: #444444;
  --bg: #FFFFFF;
  --header-bg: #000000;
  --header-text: #FEFDFD;
  --nav-text: #FFFFFF;
  --section-bg: #F5F5F5;
  --form-text: #666666;
  --form-border: #E3E3E3;
  --btn-bg: #393939;
  --mobile-bg: #393939;
  --mobile-text: #AEAEAE;
  --container: 1170px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--text); }

h1, h2, h3, h4 { color: var(--text); font-weight: 700; line-height: 1.3; margin: 0 0 .8em; }
h1 { font-size: 22px; text-transform: uppercase; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #fff; padding: 8px 14px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------- Header ---------- */
#site-header {
  position: relative;
  background: var(--header-bg);
  color: var(--header-text);
  overflow: hidden;
}
/* Hintergrundfoto mit 50 % Deckkraft auf schwarzem Grund (wie Original) */
#site-header .hero-image {
  position: absolute;
  inset: 0;
  background: url("../images/background.jpg") center / cover no-repeat;
  opacity: .5;
  z-index: 1;
}
.header-bar {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px 15px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.logo { flex: 0 0 100%; }
.logo a { display: inline-block; }
.logo img { width: 425px; max-width: 100%; height: auto; }

#main-nav { flex: 0 0 100%; margin-top: 22px; }
#main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: flex-end; flex-wrap: wrap;
}
#main-nav li { position: relative; }
#main-nav li + li::before {
  content: "";
  position: absolute; left: 15px; top: 50%;
  width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%;
  background: var(--gold);
}
#main-nav a {
  display: block;
  padding: 6px 0 6px 34px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--nav-text);
}
#main-nav li:first-child a { padding-left: 0; }
#main-nav a:hover,
#main-nav a:focus,
#main-nav a.active { color: var(--gold); }

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}
.hamburger:hover, .hamburger:focus { color: var(--gold); }

/* Startseite: grosser Hero */
.home #site-header .header-bar { padding-bottom: 0; }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 15px 140px;
  color: var(--header-text);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}
.hero-content .hero-lettering {
  width: 600px; max-width: 100%;
  margin: 0 auto 50px;
}
.hero-content h1 {
  color: var(--header-text);
  font-size: 20px;
  text-transform: none;
  margin: 0 0 14px;
}
.hero-content .lead { font-size: 18px; font-weight: 700; margin: 0 0 18px; }
.hero-content .hero-note { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.5; }

/* Unterseiten: niedriger Header */
.page-inner #site-header .header-bar { padding-bottom: 40px; }

/* ---------- Mobile Off-Canvas ---------- */
#offcanvas {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px; max-width: 85vw;
  background: var(--mobile-bg);
  color: var(--mobile-text);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
  visibility: hidden;
}
#offcanvas.open { transform: translateX(0); visibility: visible; }
.offcanvas-top { background: #3c3c3c; text-align: right; }
#close-btn {
  background: transparent; border: 0; color: #f8f8f8;
  font-size: 30px; line-height: 1; padding: 8px 14px; cursor: pointer;
}
#close-btn:hover, #close-btn:focus { color: var(--gold); }
.offcanvas-logo { padding: 18px 15px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.offcanvas-logo img { width: 270px; max-width: 100%; }
#offcanvas ul { list-style: none; margin: 0; padding: 0; }
#offcanvas li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
#offcanvas li a {
  display: block; padding: 15px; font-size: 14px;
  text-transform: uppercase; color: #fff;
}
#offcanvas li a:hover, #offcanvas li a.active { color: var(--gold); background: rgba(0, 0, 0, .12); }
.offcanvas-copy { padding: 24px 15px; font-size: 15px; }
#offcanvas-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
}
#offcanvas-overlay.open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* ---------- Inhalte ---------- */
.main-content { padding: 30px 0 60px; }
.text-justify { text-align: justify; }
.page-title { font-size: 20px; margin-bottom: 1.4em; }
.float-right { float: right; margin: 0 0 20px 30px; }
.clearfix::after { content: ""; display: table; clear: both; }
.scarab-logo { width: 133px; }
.image-frame { border: 1px solid #000; }
.kitchen-image { width: 392px; max-width: 45%; }

.main-content h3.sub {
  font-size: 16px; font-style: italic; font-weight: 700; margin: 1.4em 0 .2em;
}

blockquote {
  margin: 50px 0 20px;
  padding: 0 0 0 16px;
  border-left: 5px solid #eee;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.95;
}
blockquote strong { font-weight: 700; }

.section-heading {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 40px;
}
.section-heading::after {
  content: "";
  display: block;
  width: 150px; height: 9px;
  margin: 18px auto 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 40px 0;
  list-style: none;
  padding: 0;
}
.gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--section-bg); }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease, opacity .3s ease;
}
.gallery a:hover img, .gallery a:focus img { transform: scale(1.08); opacity: .9; }

/* ---------- Speisekarte ---------- */
.menu-section {
  position: relative;
  background: var(--section-bg);
  padding: 80px 0 90px;
  overflow: hidden;
}
.menu-section::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 590px; height: 484px; max-width: 100%;
  background: url("../images/spicies.png") top left no-repeat;
  background-size: contain;
  opacity: .3;
  pointer-events: none;
  z-index: 0;
}
.menu-section .container { position: relative; z-index: 1; }

.menu-tabs {
  list-style: none; margin: 0 0 50px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.menu-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  padding: 14px 24px;
  margin: 0 0 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.menu-tabs button:hover,
.menu-tabs button:focus-visible { color: var(--gold); }
.menu-tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.menu-group { margin-bottom: 50px; }
.menu-group > h3 {
  text-align: center; font-size: 20px; text-transform: uppercase; margin: 0 0 35px;
}
.menu-intro { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.menu-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 60px;
}
.menu-item h4 { font-size: 16px; text-transform: uppercase; margin: 0 0 2px; }
.menu-item p { font-size: 14px; color: #777777; line-height: 1.6; margin: 0; }
.menu-item .num { color: var(--gold); margin-right: 4px; }
.menu-note { text-align: center; font-style: italic; margin: 30px 0 0; }

/* ---------- Kontakt ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 30px;
}
.map-embed { width: 100%; height: 290px; border: 0; display: block; margin-bottom: 30px; }
.home-map { height: 300px; margin: 0; }

.contact-form {
  background: #f9f9f9;
  padding: 10px 10px 30px;
  font-family: Arial, Helvetica, sans-serif;
}
.form-row { margin-bottom: 26px; }
.contact-form label,
.contact-form .label {
  display: block; font-size: 12px; font-weight: 700; color: #333; margin-bottom: 6px;
}
.contact-form .req { color: #d00; margin-left: 3px; }
.name-fields { display: flex; gap: 6px; flex-wrap: wrap; }
.name-fields input { flex: 1 1 180px; max-width: 190px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 305px;
  height: 68px;
  padding: 10px;
  font: 16px Arial, Helvetica, sans-serif;
  color: var(--form-text);
  background: #fff;
  border: 1px solid var(--form-border);
  border-radius: 2px;
  transition: border-color .2s ease;
}
.contact-form textarea { max-width: 535px; height: 104px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.form-actions { text-align: center; margin-top: 20px; }
.btn,
.contact-form button[type="submit"] {
  display: inline-block;
  background: var(--btn-bg);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 12px 24px;
  font: 700 12px "Lato", Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.btn:hover, .btn:focus,
.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus { background: var(--gold); color: #fff; }
.form-hint { font-size: 12px; color: var(--form-text); margin-top: 12px; text-align: center; }

.sidebar h2 { font-size: 20px; margin-top: 10px; }
.sidebar h3 { font-size: 18px; margin-top: 40px; }

/* ---------- Kontaktblöcke / Social ---------- */
.contact-block h3 { font-size: 16px; margin-bottom: 1em; }
.hours strong { display: block; }
.hours p { margin-bottom: 1.2em; }
.hours .highlight { font-weight: 700; color: #000; font-size: 14px; }
.social-links { list-style: none; margin: 18px 0; padding: 0; }
.social-links li { margin-bottom: 12px; }
.social-links a {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  font-weight: 700; font-size: 14px; text-transform: uppercase; line-height: 1.5;
}
.social-links a.no-upper { text-transform: none; }
.social-links img { flex: 0 0 auto; }
.social-links .stack { flex-direction: column; align-items: flex-start; }

/* ---------- Footer ---------- */
.footer-main {
  border-top: 1px solid var(--form-border);
  padding: 30px 0 30px;
  font-size: 14.5px;
  background: var(--bg);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer-main h2 { font-size: 16px; margin-bottom: 1em; }
.footer-main h2.hours-title { font-size: 18px; }
.legal-nav { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; }
.legal-nav a {
  display: block; padding: 6px 15px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; color: var(--text);
}
.legal-nav a:hover, .legal-nav a.active { color: var(--gold); }
.footer-legal-only { border-top: 1px solid var(--form-border); padding: 20px 0; }
.footer-legal-only .legal-nav { margin: 0; }

.credit-bar {
  border-top: 1px solid var(--form-border);
  padding: 25px 0;
  font-size: 14.5px;
  text-transform: uppercase;
}
.credit-bar .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.credit-bar .copy { text-transform: none; }
.credit-bar .copy a { text-transform: uppercase; }
.page-inner .credit-bar { border-top: 0; }

/* ---------- Rechtstexte ---------- */
.legal-text h2 { font-size: 18px; margin: 2em 0 .5em; }
.legal-text h3 { font-size: 16px; margin: 1.5em 0 .4em; }
.legal-text ul { padding-left: 20px; margin: 0 0 1em; }
.legal-text li { margin-bottom: .25em; }
.legal-text { overflow-wrap: anywhere; }
.legal-text dl { margin: 0 0 1em; }
.legal-text dt { font-weight: 700; margin-top: 1em; }
.legal-text dd { margin: 0; }



/* ═══════════════════════════════════════════════════════
   CSS-ONLY LIGHTBOX  (kein JavaScript erforderlich)
   Technik: :target-Pseudoklasse  – ein Klick auf ein
   Galeriebild setzt den URL-Anker; CSS blendet das
   passende Overlay ein. Schliessen per × oder Klick
   auf den dunklen Hintergrund.
   ═══════════════════════════════════════════════════════ */

/* Overlay – standardmässig versteckt */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

/* Overlay sichtbar, wenn dieser Anker aktiv ist */
.lightbox:target {
  display: flex;
}

/* Dunkler halbtransparenter Hintergrund (klickbar zum Schliessen) */
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
  z-index: 1;
  display: block;
}

/* Bild zentriert, max. 90 % des Viewports */
.lightbox figure {
  position: relative;
  z-index: 3;
  margin: 0;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox figure img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

/* Schliessen-Button oben rechts */
.lb-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  z-index: 4;
  color: #fff;
  font-size: 2.8rem;
  line-height: 1;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.45);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color .15s, background .15s;
}
.lb-close:hover,
.lb-close:focus {
  color: var(--gold);
  background: rgba(0, 0, 0, 0.75);
  outline: none;
}

/* Galerie-Thumbnails: Cursor zeigt an, dass man klicken kann */
.gallery li a { cursor: zoom-in; }
