/* =========================================================================
   KEBAB CLUB DORNBIRN – WEBSITE (Version 3)

   Aufgebaut nach dem Design-System der IT-360-Seiten
   (it-360.at, Blaue Lagune, Étoile du Ballet):
   gerahmte Hero-Karte, Überschrift links + Kurztext rechts, abgerundete
   Karten mit feinen Rahmen, Pill-Buttons, Fakten-Zeilen, CTA-Karte,
   mehrspaltiger Footer. Farben aus dem Logo / den TV-Preistafeln.

   01 Design-Tokens      06 Speisekarte (Kacheln + Aufklappen)
   02 Basis              07 Beliebt, Schüler, Über uns
   03 Buttons & Helfer   08 Kontakt, CTA
   04 Header             09 Footer, Einblenden
   05 Hero               10 Responsive
   ========================================================================= */

/* 01 Design-Tokens – Farben, Größen, Abstände an EINER Stelle ------------ */
:root {
  --bg: #0e1013; /* Schiefer (wie TV-Tafeln) */
  --deep: #13171b; /* abgesetzte Sektionen */
  --panel: #181d22; /* Karten */
  --panel-2: #1f252b; /* Karten Hover */
  --line: #283037; /* Rahmen */
  --text: #f3f6f4;
  --muted: #9aa5ab;

  --lime: #9cf04a; /* Markenfarbe aus dem Logo */
  --lime-soft: #c4f78f;
  --mint: #43e5c8;
  --cyan: #02cffe;
  --red: #ff4d5e; /* Aktion / Schüler */
  --verlauf: linear-gradient(100deg, #eeff39, #9cf04a 40%, #43e5c8 75%, #02cffe);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.4rem, 1.7rem + 3vw, 4.4rem);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 28px;
  --wrap: 1200px;
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 70px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--step-0) / 1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * clamp(16px, 4vw, 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--lime);
  color: #000;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* 03 Buttons & Helfer ----------------------------------------------------- */
.i {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* Pill-Buttons wie auf it-360 / Étoile */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.98rem var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--lime);
  color: #0b0d10;
}

.btn-primary:hover {
  background: var(--lime-soft);
  transform: translateY(-1px);
}

.btn-primary .i {
  transition: transform 0.2s ease;
}

.btn-primary:hover .i {
  transform: translateX(3px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Kleine Überschrift über dem Titel */
.kicker,
.eyebrow {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.kicker-red {
  color: var(--red);
}

.muted {
  color: var(--muted);
}

/* Platzhalter, die der Kunde noch liefern muss */
.fehlt {
  background: #fff3a0;
  color: #3a3300;
  padding: 0 5px;
  border-radius: 4px;
}

.section {
  padding: var(--section) 0;
}

.section-tight {
  padding-top: 0;
}

.section-deep {
  background: var(--deep);
}

/* Überschrift links, Kurztext rechts (wie it-360) */
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 380px);
  align-items: end;
  gap: 24px 60px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head > p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Ladebildschirm ---------------------------------------------------------- */
.lader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background: var(--bg);
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.lader.weg {
  opacity: 0;
  visibility: hidden;
}

.lader-spiess {
  position: relative;
  width: 90px;
}

/* Spieß grau, darüber die farbige Version, die von unten „aufgefüllt“ wird */
.lader-spiess img {
  width: 100%;
  filter: grayscale(1) brightness(0.35);
}

.lader-fuellung {
  position: absolute;
  inset: 0;
  background: url("../img/logo-spiess.png") center / contain no-repeat;
  clip-path: inset(100% 0 0 0);
  filter: drop-shadow(0 0 14px rgba(67, 229, 200, 0.7));
}

.lader-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 04 Header -------------------------------------------------------------- */

/* Top-Leiste: Telefon-Bestellung −10 % (ganz oben, anklickbar) */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime);
  color: #0b0d10;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.topbar strong {
  font-weight: 700;
}

.topbar-nr {
  padding: 2px 10px;
  border-radius: 999px;
  background: #0b0d10;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar:hover .topbar-nr {
  background: #000;
}

.site-header {
  position: fixed;
  inset: 50px 0 auto; /* unter der Top-Leiste */
  z-index: 50;
  transition: transform 0.35s var(--ease);
}

/* Kopfleiste beim Scrollen ausblenden – Handy und Desktop (Klasse setzt main.js).
   Die grüne Telefon-Leiste bleibt immer stehen. */
.site-header.is-hidden {
  transform: translateY(calc(-100% - 60px));
}

.header-inner {
  width: min(var(--wrap) + 40px, 100% - 24px);
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

/* Nach dem Scrollen: Glas-Leiste */
.site-header.is-scrolled .header-inner,
.site-header.is-open .header-inner {
  background: rgba(14, 16, 19, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
}

.brand span {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(243, 246, 244, 0.8);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.burger span:nth-child(1) {
  top: 15px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 27px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 05 Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
}

/* Abstand oben für Telefon-Leiste + Kopfleiste */
.hero-pin {
  padding: calc(var(--header-h) + 74px) 0 clamp(28px, 5vw, 56px);
}

/* Gerahmte Karte – Grund ist so schwarz wie der Fotohintergrund,
   dadurch geht das Foto nahtlos in die Karte über */
.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "text photo"
    "facts facts";
  border-radius: var(--radius-l);
  border: 1px solid rgba(156, 240, 74, 0.22);
  /* Grünes Glühen nur links unten (reicht nicht bis zum Foto → keine Kante) */
  background: radial-gradient(ellipse 42% 60% at 0% 100%, rgba(156, 240, 74, 0.1), transparent 70%), #050505;
  overflow: hidden;
}

.hero-text {
  grid-area: text;
  align-self: center;
  padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 40px) clamp(28px, 6vw, 80px);
  position: relative;
  z-index: 3; /* über dem Foto-Verlauf */
}

/* Google-Bewertung über der Überschrift */
.rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: rgba(243, 246, 244, 0.8);
}

.stars {
  color: #fbbc04; /* Google-Sternfarbe */
  letter-spacing: 1px;
}

.rating strong {
  color: var(--text);
}

.hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

/* Akzentzeile im Logo-Verlauf */
.accent {
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 440px;
  margin-top: 20px;
  font-size: 1.08rem;
  color: rgba(243, 246, 244, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Hero = Film über die ganze Breite ---------- */

/* Nur für Screenreader/Google sichtbar (Überschrift ohne sichtbaren Text) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  background: #000;
}

/* Desktop: 320vh Scroll-Strecke für den ganzen 8-s-Film */
.hero.ist-scrub {
  height: 320vh;
}

.hero-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
}

.hero.ist-scrub .hero-pin {
  position: sticky;
  top: 0;
}

.hero-film {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.film-video,
.film-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop zeigt das Canvas, Handy das Video */
.hero.ist-scrub .film-video,
.hero:not(.ist-scrub) .film-canvas {
  display: none;
}

/* Unten weich in den Seitenhintergrund auslaufen */
.hero-film::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg), rgba(14, 16, 19, 0));
}

/* Scroll-Hinweis: nur eine kleine Linie, ohne Text */
.film-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 26px;
  height: 42px;
  translate: -50% 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  transition: opacity 0.4s ease;
}

.film-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--lime);
  animation: scroll-punkt 1.8s ease-in-out infinite;
}

@keyframes scroll-punkt {
  60% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero:not(.ist-scrub) .film-hint,
.hero.ist-gestartet .film-hint {
  opacity: 0;
}

/* ---------- Laufband unter dem Hero ---------- */
.rail {
  overflow: hidden;
  padding: 6px 0 0;
  position: relative;
}

/* Seitliches Ausblenden des Laufbands (statt mask-image, siehe oben) */
.rail::before,
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 10%;
  pointer-events: none;
}

.rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.rail::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.rail-track {
  display: flex;
  width: max-content;
  will-change: transform; /* eigene Grafik-Ebene → läuft weich */
  animation: laufen var(--rail-dauer, 60s) linear infinite; /* Dauer setzt main.js */
}

.rail span {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(243, 246, 244, 0.22);
  white-space: nowrap;
}

/* Kleiner Spieß als Trenner */
.rail span::after {
  content: "";
  width: 18px;
  height: 26px;
  background: url("../img/logo-spiess.png") center / contain no-repeat;
  opacity: 0.8;
}

@keyframes laufen {
  to {
    transform: translateX(-50%);
  }
}

/* Fakten-Zeile unten in der Karte */
.hero-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  padding: 20px clamp(20px, 3vw, 40px);
}

.hero-facts li + li {
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-facts span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Text im Hero sanft einblenden */
.hero-text > * {
  animation: hoch 0.8s var(--ease) both;
}

.hero-text > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-text > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-text > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes hoch {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 06 Speisekarte – Kacheln + Aufklappen ----------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Eine Kachel = Button (Tastatur + Screenreader) */
.cat-tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.cat-tile:hover {
  transform: translateY(-3px);
  background: var(--panel-2);
}

.cat-tile[aria-expanded="true"] {
  border-color: var(--lime);
}

/* Bild in Originalform (quadratisch), nur leicht beschnitten */
.cat-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.cat-tile:hover .cat-img img {
  transform: scale(1.04);
}

.cat-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
}

.cat-body h3 {
  font-size: 1.15rem;
}

.cat-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.cat-meta b {
  color: var(--lime);
  font-weight: 600;
}

/* Runder Pfeil rechts, dreht sich beim Öffnen */
.cat-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--lime);
  transition:
    transform 0.3s var(--ease),
    background 0.2s ease;
}

.cat-tile[aria-expanded="true"] .cat-arrow {
  transform: rotate(180deg);
  background: var(--lime);
  border-color: var(--lime);
  color: #0b0d10;
}

/* Aufgeklappter Bereich – nimmt die ganze Zeile unter den Kacheln ein */
.cat-panel {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--deep);
  padding: clamp(18px, 3vw, 30px);
  animation: aufklappen 0.35s var(--ease);
}

@keyframes aufklappen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.panel-head h3 {
  font-size: var(--step-2);
}

.panel-close {
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 0.9rem var(--font);
  cursor: pointer;
}

.panel-close:hover {
  color: var(--text);
}

.items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Gericht-Zeile: Bild · Name + Beschreibung · Preis */
.item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.item img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-s);
  object-fit: cover;
}

.item-name {
  font-weight: 600;
  line-height: 1.3;
}

.item-desc {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  vertical-align: 2px;
  background: rgba(156, 240, 74, 0.14);
  color: var(--lime);
}

.tag-wochenende {
  background: rgba(2, 207, 254, 0.14);
  color: var(--cyan);
}

.item-price {
  font-weight: 700;
  font-size: 1.05rem;
  text-align: right;
  white-space: nowrap;
}

.item-price s {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.item.is-deal .item-price {
  color: var(--red);
}

.item.is-soldout {
  opacity: 0.45;
}

.menu-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 07 Beliebt, Schüler, Über uns ------------------------------------------- */
.fav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fav {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.fav img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.fav-body {
  padding: 14px 16px 16px;
}

.fav-body p {
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.fav-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--lime);
}

/* Durchgestrichener alter Preis in Rot = sofort als Rabatt erkennbar */
.fav-price s {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--red);
  text-decoration-thickness: 2px;
}

/* Schüler – CTA-Karte */
.student-card {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-l);
  border: 1px solid rgba(255, 77, 94, 0.3);
  background: radial-gradient(ellipse 50% 80% at 0% 0%, rgba(255, 77, 94, 0.12), transparent 70%), var(--panel);
}

.student-head p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.student-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-list li {
  padding: 14px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.student-list img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.student-list strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
}

.student-list span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.student-list b {
  display: block;
  margin-top: 8px;
  font-size: 1.15rem;
  color: var(--red);
}

/* Über uns */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* Karte mit dem Logo wie auf TV-Bildschirm 1 */
.logo-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0;
  border-radius: var(--radius-l);
  border: 1px solid rgba(156, 240, 74, 0.22);
  background: #0b0d10;
  overflow: hidden;
}

/* Weicher, pulsierender Schein hinter dem Logo */
.licht {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 229, 200, 0.35), transparent 65%);
  animation: pulsieren 6s ease-in-out infinite;
}

.tv-logo {
  position: relative;
  width: 64%;
  aspect-ratio: 1;
  animation: atmen 9s ease-in-out infinite;
}

/* Rotierender Neon-Ring im Logo-Verlauf */
.tv-ring {
  position: absolute;
  inset: -2.6%;
  border-radius: 50%;
  background: conic-gradient(#eeff39, #9cf04a, #43e5c8, #02cffe, #43e5c8, #eeff39);
  box-shadow: 0 0 60px rgba(67, 229, 200, 0.5);
  animation: ring-drehen 40s linear infinite; /* sehr ruhig */ /* ruhiger als am TV */
}

/* Logo-Grundbild ohne Spieß */
.tv-logo > img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0e1013;
}

/* Spieß-Ebene genau an der Stelle des ausgeschnittenen Spießes */
.tv-spiess {
  position: absolute;
  left: 32.81%;
  top: 10.94%;
  width: 34.38%;
  height: 49.06%;
  perspective: 900px;
}

/* Spieß dreht sich um die senkrechte Achse */
.tv-spiess-dreh {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spiess-wiegen 9s ease-in-out infinite;
}

.tv-spiess-dreh img {
  width: 100%;
  height: 100%;
}

/* Glanzstreifen nur auf der Spieß-Form */
.tv-glanz {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../img/logo-spiess.png") center / 100% 100% no-repeat;
  mask: url("../img/logo-spiess.png") center / 100% 100% no-repeat;
  overflow: hidden;
  opacity: 0.7;
}

/* Der eigentliche Lichtstreifen – wandert per transform über den Spieß */
.tv-glanz::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 100%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.6) 48%,
    rgba(255, 255, 255, 0.12) 58%,
    transparent 80%
  );
  will-change: transform;
  animation: glanz 9s ease-in-out infinite;
}

/* Effekt „Zerreißen“: Logo zerfällt kurz in Streifen (Streifen baut main.js) */
.tv-riss {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.tv-riss span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url("../logo.png") center / cover;
  clip-path: inset(var(--oben) 0 var(--unten) 0);
}

.tv-logo.reisst .tv-riss {
  visibility: visible;
}

.tv-logo.reisst > img,
.tv-logo.reisst .tv-spiess {
  visibility: hidden;
}

.tv-logo.reisst .tv-riss span {
  animation: zerreissen 1.1s cubic-bezier(0.5, 0, 0.2, 1) both;
  animation-delay: var(--verz);
}

/* Effekt „Münze“: ganzes Logo dreht sich einmal */
.tv-logo.flip {
  animation: muenze 1.6s cubic-bezier(0.6, 0, 0.3, 1);
}

@keyframes ring-drehen {
  to {
    transform: rotate(360deg);
  }
}

/* Sanftes Hin- und Herdrehen (statt ganzer Umdrehung) */
@keyframes spiess-wiegen {
  0%,
  100% {
    transform: rotateY(-28deg);
  }
  50% {
    transform: rotateY(28deg);
  }
}

@keyframes glanz {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(200%);
  }
}

@keyframes zerreissen {
  0% {
    transform: none;
  }
  18% {
    transform: translateX(var(--weg)) skewX(-8deg);
  }
  45% {
    transform: translateX(calc(var(--weg) * -0.4));
    opacity: 0.85;
  }
  70% {
    transform: translateX(calc(var(--weg) * 0.12));
  }
  100% {
    transform: none;
  }
}

@keyframes muenze {
  from {
    transform: perspective(1400px) rotateY(0deg);
  }
  to {
    transform: perspective(1400px) rotateY(360deg);
  }
}

@keyframes atmen {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes pulsieren {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.about-text > p:not(.kicker) {
  margin-top: 16px;
  color: rgba(243, 246, 244, 0.78);
  max-width: 520px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.facts strong {
  font-size: 1.2rem;
  color: var(--lime);
}

.facts span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* 08 Kontakt, CTA ------------------------------------------------------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 18px;
  align-items: start;
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(156, 240, 74, 0.1);
  color: var(--lime);
  font-size: 1.2rem;
}

.card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.card p {
  color: rgba(243, 246, 244, 0.85);
  margin-bottom: 8px;
}

/* Social-Icons: Original-Logos in Markenfarben */
.follow {
  margin: 18px 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.social {
  display: flex;
  gap: 10px;
}

.soc {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s ease;
}

.soc svg {
  width: 20px;
  height: 20px;
}

.soc:hover {
  transform: translateY(-2px);
}

/* Original-Logos, einheitlich im Kebab-Club-Grün */
.soc {
  background: rgba(156, 240, 74, 0.1);
  border: 1px solid rgba(156, 240, 74, 0.35);
  color: var(--lime);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.soc:hover {
  background: var(--lime);
  color: #0b0d10;
}

.footer .social {
  margin-top: 18px;
}

/* Abschnitt „Besuch uns“ mittig ausgerichtet */
.section-head-center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

/* Karten gleich hoch, Inhalt vertikal mittig */
.visit-center {
  align-items: stretch;
}

.visit-center .card {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.visit-center .card h3 {
  justify-content: center;
  flex-wrap: wrap;
}

.visit-center .social {
  justify-content: center;
}

/* Öffnungszeiten-Liste über die volle Kartenbreite (Tag links, Zeit rechts) */
.visit-center .hours {
  align-self: stretch;
  text-align: left;
}

.phone-big {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.phone-big:hover {
  color: var(--lime);
}

.deal {
  font-size: 0.92rem;
}

.deal strong {
  color: var(--lime);
}

.status {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.status.is-open {
  color: var(--lime);
}

.note {
  font-size: 0.78rem;
}

.hours {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.hours li:last-child {
  border-bottom: 0;
}

.hours li.is-today {
  color: var(--lime);
  font-weight: 600;
}

.cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 56px);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse 40% 100% at 0% 50%, rgba(156, 240, 74, 0.12), transparent 70%), var(--panel);
}

.cta-logo {
  width: 56px;
  height: auto;
}

.cta p {
  margin-top: 6px;
  color: var(--muted);
}

/* 09 Footer, Einblenden -------------------------------------------------- */
.footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--line);
  background: #0a0c0e;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid .footer-brand .brand {
  display: flex;
  margin: 0;
  color: var(--text);
}

.footer-brand p {
  max-width: 280px;
  margin-top: 14px;
  color: var(--muted);
}

.footer h4 {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-grid > div > a,
.footer-grid > div > p {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--lime);
  text-decoration: none;
}

/* Bereiche außerhalb des Bildschirms: Animationen pausieren (Klasse setzt main.js) */
.ist-aus *,
.ist-aus *::before,
.ist-aus *::after {
  animation-play-state: paused !important;
}

/* Cookie-Hinweis unten (wie Étoile / Blaue Lagune) */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  width: min(640px, 100% - 24px);
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px 16px 22px;
  border-radius: 20px;
  border: 1px solid rgba(156, 240, 74, 0.3);
  background: rgba(20, 24, 28, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  animation: hoch 0.5s var(--ease) both;
}

.cookie[hidden] {
  display: none;
}

.cookie-text {
  flex: 1;
}

.cookie strong {
  display: block;
  font-size: 0.95rem;
}

.cookie p {
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie a {
  color: var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 10 Responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(14, 16, 19, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    padding: 13px 16px;
    font-size: 1.05rem;
  }

  .burger {
    display: block;
  }

  .header-cta {
    margin-left: auto;
  }

  .fav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .student-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .visit {
    grid-template-columns: 1fr 1fr;
  }

  .card-hours {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Hero: Foto oben, Text darunter */
  .hero-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "text"
      "facts";
  }

  /* Handy: Video unter Telefon-Leiste + Kopfleiste, Format 4:3
     (16:9 wäre zu flach, Hochformat würde den Dürüm abschneiden) */
  .hero {
    padding-top: 112px;
  }

  .hero-pin {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-text {
    padding: 0 22px 26px;
    margin-top: -24px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  /* Adresse in der Bewertungs-Zeile am Handy weglassen */
  .rating-addr {
    display: none;
  }

  .hero-facts li {
    padding: 14px 12px;
  }

  .hero-facts strong {
    font-size: 0.95rem;
  }

  .hero-facts span {
    font-size: 0.74rem;
  }

  /* Kacheln: 2 Spalten, kompakt */
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cat-img {
    aspect-ratio: 1;
  }

  .cat-body {
    padding: 12px;
    gap: 8px;
  }

  .cat-body h3 {
    font-size: 0.98rem;
  }

  .cat-meta {
    font-size: 0.8rem;
  }

  /* Anzahl der Gerichte am Handy weglassen – Platz */
  .cat-count {
    display: none;
  }

  .cat-arrow {
    width: 30px;
    height: 30px;
  }

  .items {
    grid-template-columns: 1fr;
  }

  .item {
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
  }

  .item img {
    width: 52px;
    height: 52px;
  }

  .item-name {
    font-size: 0.95rem;
  }

  .fav-grid {
    gap: 12px;
  }

  .fav-body {
    padding: 12px;
  }

  .fav-body h3 {
    font-size: 0.98rem;
  }

  .student-list {
    grid-template-columns: 1fr 1fr;
  }

  .about,
  .visit {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }

  .topbar {
    font-size: 0.8rem;
    gap: 8px;
  }

  .topbar .i {
    display: none;
  }

  .header-cta {
    padding: 9px 14px;
  }

  .header-cta .i {
    display: none;
  }

  .brand small {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* „Weniger Bewegung“ (z. B. Windows: Animationseffekte AUS)
   FEHLER bis v13: Hier wurde nur die Dauer auf 0,01 ms gesetzt, die
   Wiederholung aber nicht gestoppt → Endlos-Animationen liefen rasend schnell.
   Jetzt: alle Animationen einmalig und sofort fertig (iteration-count: 1) –
   nur die ruhigen Dauer-Animationen (Laufband, Logo) laufen langsam weiter. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  /* Ruhige Dauer-Animationen bleiben – gleiche Werte wie oben */
  .rail-track {
    animation-duration: var(--rail-dauer, 120s) !important;
    animation-iteration-count: infinite !important;
  }

  .tv-ring {
    animation-duration: 40s !important;
    animation-iteration-count: infinite !important;
  }

  .tv-spiess-dreh,
  .tv-glanz::before,
  .tv-logo {
    animation-duration: 9s !important;
    animation-iteration-count: infinite !important;
  }

  .licht {
    animation-duration: 6s !important;
    animation-iteration-count: infinite !important;
  }
}
