/* menu.css - Basiert exakt auf style.css */

/* Font */
@font-face {
  font-family: 'Patrick Hand';
  src: url('../fonts/PatrickHand-Regular.ttf') format('truetype');
  font-display: swap;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  font-family: 'Patrick Hand', cursive;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 25%, #1f1f1f 50%, #2a2a2a 75%, #1a1a1a 100%);
  background-size: cover, cover, cover;
  color: white;
  overflow: hidden;
  cursor: none;
}

/* Partikel-Container */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Haupt-Container für Auto-Scaling */
#menu-container {
  position: relative;
  z-index: 2;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  display: flex;
  flex-direction: column;
}

/* Content Area - wie in style.css */
#menu-content {
  flex: 1;
  padding: 5px 50px 20px 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Tabellen - Basis-Styles (wie in style.css) */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 42px;
  table-layout: fixed;
  margin: 0;
}

th, td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ALLE th bekommen handgezeichnete Linie (wie in style.css) */
th {
  font-size: 46px;
  border-bottom: none;
  font-weight: normal;
  position: relative;
  padding-bottom: 20px;
}

/* Handgezeichnete, wellige Linie unter ALLEN Headers */
th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,1.5 Q5,0.5 10,1.5 T20,1.5 T30,1.5 T40,1.5 T50,1.5 T60,1.5 T70,1.5 T80,1.5 T90,1.5 T100,1.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 3px;
  opacity: 0.9;
}

/* Extra große Hauptüberschriften */
th.h1 {
  font-size: 68px;
  text-align: left;
  padding-left: 0;
  padding-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  border-bottom: none;
  position: relative;
}

/* Handgezeichnete, wellige Linie unter Hauptüberschriften (dicker) */
th.h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,2 Q5,1 10,2 T20,2 T30,2 T40,2 T50,2 T60,2 T70,2 T80,2 T90,2 T100,2' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 4px;
  opacity: 0.9;
}

/* Preis-Spalten rechtsbündig */
th:nth-child(2), td:nth-child(2) { 
  text-align: right; 
  width: 140px;
}

th:nth-child(3), td:nth-child(3) { 
  text-align: right; 
  width: 140px;
}

th:nth-child(4), td:nth-child(4) { 
  text-align: right; 
  width: 140px;
}

td {
  padding-top: 15px;
  padding-bottom: 15px;
}

sup {
  font-size: 0.6em;
  vertical-align: super;
}

/* ============================
   LAYOUT 1: Burger (1.html)
   ============================ */

/* Kategorie-Header-Tabelle über beiden Spalten */
.category-header-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  display: block;
}

.category-header-table thead {
  display: block;
  width: 100%;
}

.category-header-table tr {
  display: flex;
  width: 100%;
  align-items: flex-end;
}

.category-header-table th.h1 {
  text-align: left;
  font-size: 1.8em;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 6px;
  vertical-align: bottom;
  white-space: nowrap;
  flex: 0 0 auto;
}

.category-header-table th.description {
  font-size: 0.9em;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-align: right;
  padding-left: 16px;
  padding-right: 4px;
  vertical-align: bottom;
  flex: 1;
}

/* Zwei-Spalten-Grid für Burger Items */
.burger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  flex: 1;
  overflow: hidden;
}

table.burger-table {
  width: 100%;
  border-collapse: collapse;
}

.burger-table td {
  vertical-align: top;
  padding: 4px 0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.burger-table small {
  color: rgba(255,255,255,0.6);
  font-size: 0.9em;
  line-height: 1.3em;
  display: block;
}

/* ====================================================
   LAYOUT 2 & 3: Multi-Category (2.html, 3.html, 4.html)
   ==================================================== */

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  height: 100%;
  overflow: hidden;
}

.col table {
  width: 100%;
  margin-bottom: 40px;
  border-collapse: collapse;
}

/* Kategorie-Header-Stil wie bei den statischen Seiten */
.col th.h1 {
  text-align: left;
  font-size: 1.8em;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 6px;
  vertical-align: bottom;
  white-space: nowrap;
}

/* Varianten-Header (rechts daneben) */
.col th:not(.h1) {
  font-size: 0.9em;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-align: right;
  padding-left: 16px;
  padding-right: 4px;
  vertical-align: bottom;
  white-space: nowrap;
}

.col td {
  vertical-align: top;
  padding: 4px 0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.col small {
  color: rgba(255,255,255,0.6);
  font-size: 0.9em;
  line-height: 1.3em;
}

/* Footer */
footer {
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 150px;
  min-height: 150px;
  flex-shrink: 0;
  overflow: hidden;
}

footer .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

footer .brand img {
  height: 145px;
  width: auto;
  filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.7));
  object-fit: contain;
}

.upgrade-info {
  font-size: 72px;
  font-weight: bold;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0,0,0,0.7);
  white-space: nowrap;
  flex: 1;
  text-align: center;
}

/* Loading State */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 48px;
}

/* Overlay-Effekt */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Saisonale CSS-Klassen */
body.season-winter {}
body.season-spring {}
body.season-summer {}
body.season-autumn {}
body.season-none {}