/* ===========================================================
   Metropol Grill Allersberg
   Eigenes Stylesheet, keine fremden Bibliotheken.
   Farbwelt vom Flyer: Schwarz, Gold, dunkles Rot.
   =========================================================== */

@import url('../fonts/schriften.css');

:root {
  --gold:       #e8b34a;
  --gold-hell:  #ffe9a8;
  --gold-tief:  #8a5610;
  --rot:        #9d1c1c;
  --rot-hell:   #d8452f;

  --grund:      #0b0a0c;
  --flaeche:    #141216;
  --flaeche-2:  #1c191f;
  --text:       #ffffff;
  --leise:      rgba(255, 255, 255, 0.66);
  --linie:      rgba(255, 255, 255, 0.10);

  --kopf-hoehe: 68px;
  --rand:       clamp(16px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--kopf-hoehe); }

body {
  background: var(--grund);
  color: var(--text);
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(16px, 1.1vw + 13px, 20px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Oswald', Impact, 'Arial Black', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------------- Kopfzeile ---------------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--kopf-hoehe);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 var(--rand);
  background: rgba(11, 10, 12, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}

.kopf .marke { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.kopf .marke img { height: 38px; width: auto; }
.kopf .marke b {
  font-family: 'Oswald', Impact, sans-serif; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.kopf .marke b span { color: var(--gold); }

.kopf nav { display: none; gap: 1.5rem; }
.kopf nav a {
  text-decoration: none; letter-spacing: .1em; text-transform: uppercase;
  font-size: .82rem; font-weight: 600; color: var(--leise);
}
.kopf nav a:hover { color: var(--gold); }

.ruf {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em .95em; border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-hell), var(--gold) 55%, var(--gold-tief));
  color: #1a1206; text-decoration: none; white-space: nowrap;
  font-weight: 700; letter-spacing: .04em; font-size: .9rem;
  box-shadow: 0 .4em 1.4em rgba(232, 179, 74, .25);
}

@media (min-width: 900px) {
  .kopf nav { display: flex; }
  .kopf .marke { margin-right: 2rem; }
  .kopf .ruf { margin-left: auto; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 86svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--kopf-hoehe) + 1.6rem) var(--rand) 2rem;
  overflow: hidden;
}

.hero-bilder { position: absolute; inset: 0; z-index: -2; }
.hero-bilder img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.6s ease;
  transform: scale(1.06); animation: langsam 26s ease-in-out infinite alternate;
}
.hero-bilder img.an { opacity: 1; }

@keyframes langsam { from { transform: scale(1.06); } to { transform: scale(1.16); } }

.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(68% 46% at 50% 2%, rgba(232,179,74,.22), transparent 64%),
    radial-gradient(52% 38% at 50% 102%, rgba(157,28,28,.22), transparent 66%),
    linear-gradient(to bottom, #17131a 0%, #0d0b0f 46%, #08070a 100%);
}

.hero .logo { width: min(80vw, 520px); margin: 0 auto 1.2rem; }

.hero h1 {
  font-size: clamp(1.15rem, 4.4vw, 1.75rem);
  letter-spacing: .04em; margin: .2rem 0 .5rem;
  background: linear-gradient(160deg, #fff 25%, var(--gold-hell) 62%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero p.unter {
  color: var(--leise); letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; font-size: .82rem; margin-bottom: 1.5rem;
}

.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.7em; border-radius: 999px; text-decoration: none;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .88rem;
  border: 2px solid transparent; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(160deg, var(--gold-hell), var(--gold) 55%, var(--gold-tief)); color: #1a1206; }
.btn-rand { border-color: rgba(255,255,255,.35); color: #fff; }

/* Neueröffnungs-Banderole */
.aktion {
  margin-top: 1.5rem; display: inline-flex; flex-direction: column; align-items: center;
  gap: .15rem; padding: .9rem 1.8rem; border-radius: 14px;
  background: linear-gradient(150deg, var(--rot-hell), var(--rot) 60%, #5e0d0d);
  box-shadow: 0 1em 2.4em rgba(0,0,0,.5), inset 0 .08em 0 rgba(255,255,255,.3);
}
.aktion small { letter-spacing: .26em; text-transform: uppercase; font-weight: 700; font-size: .72rem; }
.aktion strong { font-family: 'Oswald', Impact, sans-serif; font-size: 1.9rem; line-height: 1; }

/* ---------------- Abschnitte ---------------- */
/* Gilt fuer <section> und <main> gleichermassen - die Rechtstexte
   benutzen <main class="block">, dort fehlte sonst der Seitenabstand. */
.block { padding: clamp(3.5rem, 9vw, 6.5rem) var(--rand); }

/* Die Speisekarte folgt direkt auf den Hero - dort reicht weniger Luft,
   sonst steht ueber der Karte ein grosses leeres Feld. */
#karte { padding-top: clamp(1.8rem, 5vw, 3rem); }
.mitte { max-width: 1100px; margin: 0 auto; }

.titel { text-align: center; margin-bottom: 1.6rem; }
.titel h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
.titel h2 span { color: var(--gold); }
.titel .strich {
  width: 170px; height: 3px; margin: .9rem auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-tief), var(--gold), var(--gold-tief), transparent);
}

/* ---------------- Speisekarte ---------------- */
.karte-rahmen { max-width: 440px; margin: 0 auto; }

.karte-bahn {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}
.karte-bahn::-webkit-scrollbar { display: none; }

.karte-bahn figure {
  flex: 0 0 100%; scroll-snap-align: center;
  border-radius: 16px; overflow: hidden; background: var(--flaeche);
  border: 1px solid var(--linie); box-shadow: 0 1.2em 3rem rgba(0,0,0,.5);
}
.karte-bahn img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

.karte-steuer { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }

.karte-steuer button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--flaeche-2); color: var(--gold);
  border: 1px solid rgba(232,179,74,.4); font-size: 1.2rem; line-height: 1;
}
.karte-steuer button:hover { background: var(--gold); color: #1a1206; }

.punkte { display: flex; gap: .45rem; }
.punkte span {
  width: 9px; height: 9px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.22); transition: background .2s, width .2s;
}
.punkte span.an { background: var(--gold); width: 24px; border-radius: 999px; }

/* ---------------- Galerie ---------------- */
.galerie { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(3, 1fr); } }
.galerie figure {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--linie);
  box-shadow: 0 .8em 2rem rgba(0,0,0,.45);
}
.galerie img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------- Infokarten ---------------- */
.infos { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .infos { grid-template-columns: repeat(3, 1fr); } }

.info {
  padding: 1.6rem; border-radius: 14px; text-align: center;
  background: var(--flaeche); border: 1px solid var(--linie);
}
.info .zeichen { font-size: 1.7rem; color: var(--gold); line-height: 1; }
.info h3 { font-size: 1.05rem; letter-spacing: .14em; margin: .7rem 0 .5rem; color: var(--gold); }
.info p { color: var(--leise); }
.info a { color: #fff; text-decoration: none; font-weight: 600; }
.info a:hover { color: var(--gold); }

/* ---------------- Fußzeile ---------------- */
.fuss {
  padding: 3rem var(--rand) 2rem; border-top: 1px solid var(--linie);
  background: #08080a; text-align: center;
}
.fuss img { height: 86px; margin: 0 auto 1.2rem; width: auto; }
.fuss p { color: var(--leise); margin-bottom: .3rem; }
.fuss .reihe { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 1.4rem; }
.fuss .reihe a { color: var(--leise); text-decoration: none; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.fuss .reihe a:hover { color: var(--gold); }

/* ---------------- Rechtstexte ---------------- */
.rechtstext { max-width: 860px; margin: 0 auto; }
.rechtstext h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; color: var(--gold); }
.rechtstext h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin-bottom: 1.4rem; }
.rechtstext p { color: var(--leise); margin-bottom: .8rem; }
.rechtstext a { color: var(--gold); }
.platzhalter {
  display: inline-block; padding: .05em .5em; border-radius: 4px;
  background: rgba(216, 69, 47, .18); border: 1px dashed var(--rot-hell); color: #ffb199;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* ---------------- Hinweisleiste ---------------- */
.hinweisleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .7rem 1.2rem;
  padding: .9rem clamp(14px, 4vw, 32px);
  background: rgba(13, 11, 15, .97);
  border-top: 1px solid rgba(232, 179, 74, .35);
  box-shadow: 0 -.6em 2rem rgba(0, 0, 0, .5);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.hinweisleiste.sichtbar { transform: translateY(0); }
.hinweisleiste p { color: var(--leise); font-size: .92rem; max-width: 62ch; text-align: center; }
.hinweisleiste p a { color: var(--gold); }
.hinweisleiste button {
  flex: 0 0 auto; cursor: pointer; border: 0;
  padding: .55em 1.5em; border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-hell), var(--gold) 55%, var(--gold-tief));
  color: #1a1206; font-family: inherit; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; font-size: .84rem;
}
