@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --red: #F5921E;
  --red-dark: #d97d10;
  --dark: #1a1a1a;
  --warm-bg: #f7f4f0;
  --text: #333;
  --muted: #777;
  --radius: 8px;
  --max-width: 960px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
  background: #fff;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

/* ============================================
   HEADER
   ============================================ */
header {
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  background: var(--red);
  padding: 0.4rem 0;
}

.header-top-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.header-top span {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

.tel-btn {
  color: var(--red);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid var(--red);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  background: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.tel-btn:hover {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}

nav { display: flex; gap: 1.5rem; margin-left: auto; }

nav a {
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav a:hover { color: var(--red); text-decoration: none; }

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 0.5rem 1rem 1rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--red); text-decoration: none; }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  padding: 0;
  position: relative;
  height: 520px;
  overflow: hidden;
}

.slider { position: relative; width: 100%; height: 100%; }

.slides {
  display: flex;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.slides li {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slides li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slides li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  background: #fff;
  color: var(--red);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--dark); color: #fff; text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  margin-bottom: 2rem;
}

.btn-outline:hover { background: var(--red); color: #fff; }

/* ============================================
   SPEISEKARTE KACHELN
   ============================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.menu-tile {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.menu-tile.active { outline: 3px solid var(--red); }

.menu-tile img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.menu-tile-label {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.65rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   AUFKLAPPBARE TABELLEN
   ============================================ */
.menu-table-wrap {
  display: none;
  margin-top: 1.5rem;
  border-top: 3px solid var(--red);
  padding-top: 1.5rem;
}

.menu-table-wrap.open { display: block; }

.menu-table-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 1rem;
}

table { width: 100%; border-collapse: collapse; }

th, td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

th {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

td:not(:first-child), th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

tbody tr:hover { background: #fafafa; }

/* ============================================
   ÖFFNUNGSZEITEN
   ============================================ */
.bg-warm { background: var(--warm-bg); }

.hours-table { max-width: 420px; }

.hours-table th {
  text-align: left;
  color: var(--text);
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  width: 55%;
}

.hours-table td { text-align: left; font-size: 0.95rem; }

/* ============================================
   KONTAKT
   ============================================ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.kontakt-info p { margin-bottom: 1rem; font-size: 0.95rem; }
.kontakt-info strong { display: block; margin-bottom: 0.25rem; }

.map-placeholder iframe { border-radius: var(--radius); display: block; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: #fff; }

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s;
}

#cookie-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 640px;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

#cookie-box p { margin-bottom: 1rem; }

#cookie-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

#cookie-accept {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

#cookie-accept:hover { background: var(--red-dark); }

#cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 2px solid #ddd;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}

#cookie-decline:hover { border-color: var(--muted); color: var(--dark); }

#map-placeholder-text {
  background: var(--warm-bg);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  gap: 0.5rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  position: relative;
  margin: auto;
}

.modal-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.modal-box h3 {
  font-size: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-box p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0.25rem 0.5rem;
}

.modal-close:hover { color: var(--dark); }

/* ============================================
   RESPONSIVE – MOBILE
   ============================================ */
@media (max-width: 700px) {

  /* Header */
  nav { display: none; }
  .hamburger { display: flex; }
  .tel-btn { font-size: 0.82rem; padding: 0.35rem 0.65rem; }
  .logo { font-size: 1.1rem; }
  .header-top span { font-size: 0.72rem; }
  .header-inner { padding: 0.7rem 1rem; gap: 0.6rem; }

  /* Hero */
  .hero { height: 260px; }
  .hero-content { padding: 1rem; }

  /* Sections */
  section { padding: 2.25rem 0; }
  section h2 { font-size: 1.55rem; margin-bottom: 0.9rem; }
  .container { padding: 0 1rem; }

  /* Speisekarte – 2 Spalten */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .menu-tile img { height: 110px; }
  .menu-tile-label { font-size: 0.78rem; padding: 0.45rem; }

  /* Tabellen scrollbar */
  .menu-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 300px; }
  th, td { padding: 0.45rem 0.55rem; font-size: 0.85rem; }

  /* Öffnungszeiten */
  .hours-table { width: 100%; max-width: 100%; }
  .hours-table th, .hours-table td { font-size: 0.85rem; padding: 0.45rem 0.3rem; }

  /* Kontakt */
  .kontakt-grid { grid-template-columns: 1fr; gap: 1rem; }
  .kontakt-info p { font-size: 0.88rem; }

  /* Maps Platzhalter */
  #map-placeholder-text { height: 200px; font-size: 0.82rem; }

  /* Cookie Banner */
  #cookie-box { padding: 1.1rem; font-size: 0.83rem; }
  #cookie-buttons { flex-direction: column; }
  #cookie-accept, #cookie-decline { width: 100%; text-align: center; padding: 0.7rem; }

  /* Modal */
  .modal { padding: 0.5rem; }
  .modal-box { padding: 1.25rem 1rem; }
  .modal-box h2 { font-size: 1.25rem; }
  .modal-box p { font-size: 0.85rem; }

  /* PDF Button */
  .btn-outline { display: block; text-align: center; }
}

/* ============================================
   ÖFFNUNGSZEITEN GRID (Sommer/Winter)
   ============================================ */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hours-season {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* ============================================
   ALLERGENE & ZUSATZSTOFFE
   ============================================ */
.allergen-box {
  margin-top: 2.5rem;
  background: var(--warm-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.allergen-box h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.allergen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.allergen-grid strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.allergen-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.allergen-grid li {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.2rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.allergen-grid li span {
  font-weight: 700;
  color: var(--dark);
  min-width: 14px;
  font-size: 0.8rem;
}

/* ============================================
   FOOTER DREI SPALTEN
   ============================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.footer-col p {
  line-height: 1.7;
  font-size: 0.85rem;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   RESPONSIVE ERGÄNZUNGEN
   ============================================ */
@media (max-width: 700px) {
  .hours-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .allergen-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.75rem; }
}