/* === Global === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  font-weight: normal;
  background: url("../img/diner.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #111;
  text-align: center;
}

/* Hauptcontainer */
.container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px;
  background: rgba(255,255,255,0.8);
  border: 5px solid #000;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

/* Überschriften */
h1 {
  font-size: 3.2em;
  margin-bottom: 25px;
  color: #7d0000;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
  font-weight: bold;
}

h2 {
  font-size: 2.2em;
  margin: 20px 0;
  color: #000;
  font-weight: bold;
}

h3 {
  font-size: 1.8em;
  margin: 20px 0 10px;
  color: #7d0000;
  font-weight: bold;
}

/* Textabsätze */
p {
  font-size: 1.2em;
  line-height: 1.6;
  margin: 15px 0;
  color: #222;
  font-weight: normal;
}

/* Header + Navigation */
header {
  background: #7d0000;
  color: #fff;
  padding: 20px 0;
  border-bottom: 5px solid #000;
  position: relative;
}

nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  font-size: 1.1em;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #000;
}

/* Sprachwahl */
.language-switch {
  position: absolute;
  top: 20px;
  right: 30px;
}

.language-switch select {
  padding: 6px 12px;
  border: 2px solid #000;
  border-radius: 8px;
  background: #fff;
  color: #7d0000;
  font-weight: bold;
  cursor: pointer;
}

/* Burger Button */
.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #7d0000;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1000;
  }

  nav.open { display: flex; }
  .burger { display: block; }
  .language-switch { top: 20px; right: 20px; }
}

/* Buttons */
.btn {
  display: inline-block;
  margin: 10px auto;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #7d0000;
  border: 3px solid #000;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
  cursor: pointer;
}

.btn:hover { background: #5a0000; transform: scale(1.05); }
.btn.delete { background: #b71c1c; }
.btn.delete:hover { background: #900; }

/* Öffnungszeiten */
.opening-hours {
  max-width: 600px;
  margin: 30px auto;
  padding: 25px;
  background: rgba(255,255,255,0.9);
  border: 4px solid #000;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.opening-hours .day {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 2px dashed #7d0000;
  font-size: 1.1em;
}
.opening-hours .day:last-child { border-bottom: none; }
.opening-hours .day-name { font-weight: bold; color: #7d0000; }
.opening-hours .hours { font-style: italic; color: #000; }

/* Footer */
footer {
  margin-top: 50px;
  padding: 20px;
  background: #111;
  color: #fff;
  border-top: 5px solid #7d0000;
  text-align: center;
  font-size: 0.9em;
}

/* ==============================
   Dashboard
   ============================== */
.container.dashboard { text-align: center; }
.dashboard h1 { font-size: 2.5em; color: #7d0000; text-shadow: 2px 2px 5px rgba(0,0,0,0.5); margin-bottom: 10px; }
.dashboard h2 { font-size: 1.8em; margin-top: 30px; margin-bottom: 15px; color: #000; }
.dashboard p { font-size: 1.2em; margin-bottom: 20px; }
.dashboard .role { font-weight: bold; color: #7d0000; }

.dash-links {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px;
}
.dash-card {
  flex: 1 1 200px; max-width: 220px;
  background: rgba(255,255,255,0.9);
  border: 3px solid #000;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background 0.3s ease;
}
.dash-card a {
  display: block; padding: 20px;
  font-size: 1.1em; font-weight: bold;
  color: #7d0000; text-decoration: none;
}
.dash-card:hover { transform: scale(1.08); background: rgba(255,255,255,1); }

/* ==============================
   Events, Admin & Galerie
   ============================== */
.textverwaltung, .event-form, .event {
  border-radius: 12px; background: rgba(255,255,255,0.95);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

/* ==========================================================
   CADILLAC DINER – MENÜ IM ZEITUNGSSTIL (Flipbook)
   ========================================================== */

body.menue-page {
  background: #e9e3d4 url('../img/paper-texture.jpg') repeat;
  font-family: "Times New Roman", serif;
  color: #111;
  overflow-x: hidden;
}

/* Hauptcontainer */
body.menue-page main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 100vh;
}

/* Überschrift */
body.menue-page main h1 {
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 2.8em;
  color: #7d0000;
  border-bottom: 3px double #7d0000;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #fffdf8cc;
  padding: 10px 35px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Buttons */
body.menue-page .buttons {
  margin-bottom: 25px;
}
body.menue-page .buttons button {
  background: #7d0000;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 6px;
  margin: 0 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}
body.menue-page .buttons button:hover { background: #fd0000; }

/* Flipbook Container */
body.menue-page #magazine {
  width: 1200px;
  height: 800px;
  background-color: #fffdf8;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  border: 1px solid #bfbfbf;
  margin: 0 auto;
  display: block;
  position: relative;
}

/* Mittelfalz-Schatten */
body.menue-page #magazine::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.25), rgba(0,0,0,0.05), transparent);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
}

/* Seiten */
body.menue-page .page {
  background-color: #fffdf8;
  background-image: url('../img/newspaper-bg.jpg');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
  padding: 50px 45px;
  font-size: 20px;
  line-height: 1.8;
  column-count: 2;
  column-gap: 60px;
  text-align: justify;
  color: #111;
  opacity: 1;
}

body.menue-page .page h2 {
  font-size: 2em;
  color: #7d0000;
  border-bottom: 2px solid #7d0000;
  column-span: all;
  margin-top: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  body.menue-page #magazine {
    width: 95%;
    height: auto;
  }
  body.menue-page .page {
    font-size: 17px;
    column-count: 1;
    padding: 25px;
  }
  body.menue-page main h1 {
    font-size: 2em;
  }
}
