/* =========================================================
   SYAANA Fastrestaurant – Styles (Mobil + Desktop optimiert)
   ========================================================= */

/* -------------------------------
   1) Variablen
   ------------------------------- */
:root {
  --bg: #0b0b0c;
  --bg-soft: #121316;
  --card: #15161a;
  --text: #f7f7f8;
  --muted: #a8acb8;

  --brand: #d4af37;
  --brand-2: #b8860b;
  --brand-3: #f0e68c;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --maxw: 1200px;

  --focus: 2px solid rgba(212,175,55,.7);
}

/* -------------------------------
   2) Reset
   ------------------------------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

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

a { text-decoration: none; color: inherit; }

/* Fokus sichtbar */
:where(a, button, .btn):focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 10px;
}

/* -------------------------------
   3) Body
   ------------------------------- */
body {
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(212,175,55,.15), transparent 60%),
    radial-gradient(800px 600px at 90% -20%, rgba(184,134,11,.15), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------
   4) Header + Navigation
   ------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px) saturate(140%);
  background: rgba(10,10,12,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img {
  height: 40px;
  border-radius: 10px;
}
.brand h1 {
  font-size: 17px;
  margin: 0;
  white-space: nowrap;
}

/* Navigation initial versteckt (Mobile) */
header nav {
  display: none;
}

/* Navigation */
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}
.nav a:hover { color: var(--brand); }

/* -------------------------------
   4a) Burger-Button
   ------------------------------- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: .2s ease;
}

/* Burger -> X Animation */
header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------
   4b) Telefon-Buttons
   ------------------------------- */
.phone-cta {
  white-space: nowrap;
  font-size: 14px;
}

.phone-cta--desktop { display: none; }
.phone-cta--mobile { display: none; }

/* -------------------------------
   4c) Mobile Navigation Layout
   ------------------------------- */
@media (max-width: 859px) {
  header.nav-open nav {
    display: block;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,10,12,.98);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
  }

  /* Handy: Call-Button im Menü */
  .phone-cta--mobile {
    display: inline-flex;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }
}

/* -------------------------------
   4d) Desktop Navigation Layout
   ------------------------------- */
@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  header nav {
    display: block;
    position: static;
    background: none;
    padding: 0;
  }

  header nav ul {
    flex-direction: row;
    gap: 20px;
  }

  /* Desktop: Call rechts */
  .phone-cta--desktop {
    display: inline-flex;
  }
}

/* -------------------------------
   5) Buttons
   ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--text);
}

.btn--brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

/* -------------------------------
   6) Hero
   ------------------------------- */
.hero {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: var(--muted);
}

.headline {
  font-size: clamp(26px, 5vw, 56px);
  margin: 10px 0;
  line-height: 1.1;
}

.sub {
  max-width: 60ch;
  color: #d7d7db;
}

.hero-img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
}

/* -------------------------------
   7) Sektionen
   ------------------------------- */
.section {
  padding: 40px 0;
}

.section h2 {
  font-size: clamp(22px, 4vw, 36px);
  margin: 0 0 10px;
}

.section .lead {
  color: var(--muted);
  margin-bottom: 20px;
}

/* -------------------------------
   8) Produktkarten
   ------------------------------- */
.cards {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 18px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.badge {
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  color: #000;
  border-radius: 1000px;
  padding: 6px 10px;
  font-size: 12px;
}

.card h3 {
  margin: 0;
}

.card p {
  color: #dadce2;
  margin: 0;
}

.actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* -------------------------------
   9) Galerie
   ------------------------------- */
.gallery {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
}

/* -------------------------------
   10) Features
   ------------------------------- */
.features {
  display: grid;
  gap: 12px;
}
@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  padding: 16px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
}

.feature h4 {
  margin: 6px 0;
}

.feature p {
  margin: 0;
  color: #d6d8df;
}

/* -------------------------------
   11) Kontakt / Öffnungszeiten
   ------------------------------- */
.info-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.hours {
  padding: 16px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
}

.hours table {
  width: 100%;
  border-collapse: collapse;
}
.hours td {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
}
.hours td:last-child {
  text-align: right;
}

.map {
  height: 180px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
}

/* CTA-Bar */
.cta-bar {
  margin-top: 28px;
  padding: 18px;
  background: rgba(255,255,255,.05);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* -------------------------------
   12) Footer
   ------------------------------- */
footer {
  background: var(--bg-soft);
  padding: 20px 0;
  margin-top: 40px;
}

.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #d6d8df;
}
.foot a {
  color: var(--brand);
}

/* -------------------------------
   13) Motion reduction
   ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
