/* ═══════════════════════════════════════════════════════════
   Juicy Buns Burger – Unterseiten (Allergene, Impressum,
   Datenschutz, 404). Nutzt dieselbe Formensprache wie die
   Startseite: scharfe Kanten, 2px-Rahmen, harte Schlagschatten,
   Finger Paint für Headlines, Saira Condensed für Fließtext.
   ═══════════════════════════════════════════════════════════ */

@keyframes flicker {
  0%,100%{opacity:1} 4%{opacity:.84} 6%{opacity:1}
  42%{opacity:1} 44%{opacity:.88} 46%{opacity:1}
  78%{opacity:1} 80%{opacity:.82} 82%{opacity:1}
}
@keyframes stickerIn {
  0%{opacity:0;transform:rotate(var(--r,-2deg)) scale(.3)}
  60%{opacity:1;transform:rotate(var(--r,-2deg)) scale(1.06)}
  100%{opacity:1;transform:rotate(var(--r,-2deg)) scale(1)}
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pink: #da0073;
  --mag: #ff2d92;
  --dpurp: #2a0845;
  --mpurp: #4a1068;
  --bpurp: #1a0a3e;
  --dk: #0a0514;
  --dkr: #06030e;
  --cream: #f5f0e8;
  --f-display: 'Finger Paint', cursive;
  --f-body: 'Saira Condensed', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dkr);
  color: var(--cream);
  font-family: var(--f-body);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Farbschleier wie im Hero */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 45% at 80% 0%, rgba(218,0,115,.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 5% 85%, rgba(74,16,104,.28) 0%, transparent 60%);
}
/* Körnung wie auf der Startseite */
body::after {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: .3;
  mix-blend-mode: overlay;
}

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

/* ═══ NAV (identisch zur Startseite) ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(6,3,14,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--pink);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 36px; width: auto;
  filter: brightness(10);
  animation: flicker 5s infinite;
}
.nav-back {
  font-family: var(--f-body); font-weight: 700;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.nav-back:hover { color: var(--mag); }
.nav-back::before { content: '←'; font-size: 16px; }

/* ═══ LAYOUT ═══ */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 28px 100px;
  position: relative; z-index: 1;
}

/* Sticker-Label wie im Hero */
.page-label {
  display: inline-block;
  background: var(--pink); color: #fff;
  font-family: var(--f-body); font-weight: 800;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 8px 22px;
  margin-bottom: 26px;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
  animation: stickerIn .5s cubic-bezier(.23,1,.32,1) both;
}

h1 {
  font-family: var(--f-display);
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1.08;
  color: var(--cream);
  text-shadow: 4px 4px 0 rgba(0,0,0,.45);
  margin-bottom: 20px;
}
h1 .hl { color: var(--mag); text-shadow: 0 0 30px rgba(218,0,115,.3), 3px 3px 0 rgba(0,0,0,.4); }

.intro {
  font-size: 16px; line-height: 1.8;
  color: rgba(255,255,255,.5);
  margin-bottom: 48px;
  max-width: 620px;
}

/* ═══ KARTEN ═══ */
.card {
  background: rgba(42,8,69,.35);
  border: 2px solid rgba(218,0,115,.12);
  border-left: 4px solid var(--pink);
  padding: 28px 30px;
  margin-bottom: 14px;
  transition: border-color .3s, background .3s;
}
.card:hover { border-color: var(--mag); background: rgba(42,8,69,.5); }

h2 {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--mag);
  margin-bottom: 14px;
  text-shadow: 0 0 14px rgba(218,0,115,.2);
}

p {
  font-size: 15px; line-height: 1.8;
  color: rgba(255,255,255,.55);
}
p + p { margin-top: 12px; }

strong { color: rgba(255,255,255,.85); font-weight: 700; }

a { color: var(--mag); }
a:hover { color: #fff; }

/* ═══ TABELLE (Allergene) ═══ */
h2 + table { margin-top: 4px; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 44px;
  background: rgba(42,8,69,.25);
  border: 2px solid rgba(218,0,115,.12);
}
thead th {
  font-family: var(--f-body); font-weight: 800;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mag);
  text-align: left;
  padding: 14px 18px;
  background: rgba(218,0,115,.1);
  border-bottom: 2px solid rgba(218,0,115,.25);
}
tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(218,0,115,.1);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(218,0,115,.05); }
tbody td:first-child {
  font-weight: 700; font-size: 16px;
  color: var(--cream);
  white-space: nowrap;
}

/* ═══ BADGES (eckig, wie die Tags auf der Startseite) ═══ */
.badge {
  display: inline-block;
  font-family: var(--f-body); font-weight: 700;
  font-size: 12px; letter-spacing: .06em;
  padding: 5px 11px;
  margin: 0 5px 5px 0;
  border: 2px solid;
  white-space: nowrap;
}
.badge-allergen {
  color: var(--mag);
  border-color: rgba(218,0,115,.35);
  background: rgba(218,0,115,.06);
}
.badge-zusatz {
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
}

/* Überschrift der Menü-Abschnitte */
main > h2 {
  font-size: 26px;
  margin: 44px 0 16px;
  color: var(--cream);
  text-shadow: 3px 3px 0 rgba(0,0,0,.4);
}
main > h2::after {
  content: '';
  display: block;
  height: 3px; margin-top: 12px;
  background: repeating-linear-gradient(90deg, var(--pink) 0, var(--pink) 20px, transparent 20px, transparent 30px);
}

/* ═══ FOOTER (identisch zur Startseite) ═══ */
footer {
  background: var(--dkr);
  border-top: 3px solid var(--pink);
  text-align: center;
  padding: 40px 28px;
  position: relative; z-index: 1;
}
.f-logo {
  height: 48px; margin: 0 auto 10px;
  filter: brightness(10);
  animation: flicker 6s infinite;
}
.f-copy {
  font-size: 12px; color: rgba(255,255,255,.28);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.f-privacy { margin-bottom: 14px; }
.f-privacy a {
  display: inline-block;
  font-size: 12px; letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  border: 1px solid rgba(218,0,115,.3);
  padding: 6px 16px;
  transition: color .2s, border-color .2s, background .2s;
}
.f-privacy a:hover { color: var(--mag); border-color: var(--mag); background: rgba(218,0,115,.08); }
.f-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.f-links a {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.28); text-decoration: none;
  transition: color .2s;
}
.f-links a:hover { color: var(--mag); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 700px) {
  nav { padding: 14px 16px; }
  .nav-logo img { height: 28px; }
  main { padding: 100px 16px 70px; }
  .card { padding: 22px 20px; }

  /* Tabelle als Kartenliste umbrechen */
  table, thead, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr {
    border-bottom: 2px solid rgba(218,0,115,.15);
    padding: 6px 0 10px;
  }
  tbody tr:last-child { border-bottom: none; }
  tbody td { border-bottom: none; padding: 8px 16px; }
  tbody td:first-child {
    font-family: var(--f-display);
    font-size: 18px; color: var(--mag);
    white-space: normal;
    padding-top: 14px;
  }
  tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ═══ EINWILLIGUNGS-BANNER ═══ */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
  padding: 16px;
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.23,1,.32,1);
}
.consent-banner.is-sichtbar { transform: translateY(0); }
.consent-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
  background: #0a0514;
  border: 2px solid #da0073;
  box-shadow: 5px 5px 0 rgba(0,0,0,.6);
  padding: 20px 22px;
}
.consent-kopf { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 340px; }
.consent-icon { font-size: 24px; line-height: 1.2; flex-shrink: 0; }
.consent-titel {
  font-family: "Finger Paint", cursive;
  font-size: 17px; color: #ff2d92; margin-bottom: 6px;
}
.consent-text {
  font-family: "Saira Condensed", sans-serif;
  font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.6);
}
.consent-text a { color: #ff2d92; }
.consent-aktionen { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
/* Beide Schaltflächen bewusst gleich groß – Ablehnen darf nicht
   schwerer erreichbar sein als Zustimmen (Vorgabe der Aufsichtsbehörden). */
.consent-btn {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 22px; min-width: 168px;
  border: 2px solid; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.consent-btn:hover { transform: translateY(-1px); box-shadow: 4px 4px 0 rgba(0,0,0,.45); }
.consent-btn--annehmen { background: #da0073; border-color: #da0073; color: #fff; }
.consent-btn--annehmen:hover { background: #ff2d92; border-color: #ff2d92; }
.consent-btn--ablehnen { background: transparent; border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.consent-btn--ablehnen:hover { border-color: #ff2d92; color: #fff; }
@media (max-width: 700px) {
  .consent-inner { padding: 18px; gap: 16px; }
  .consent-aktionen { width: 100%; }
  .consent-btn { flex: 1 1 140px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-banner { transition: none; }
}
