/* ── Google Fonts ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Base ────────────────────────────────────────────────────────────────────── */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8f9fa;
}

/* ── Header ──────────────────────────────────────────────────────────────────── */
header {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6b1a 100%);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.25);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Logo ────────────────────────────────────────────────────────────────────── */
a.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

a.logo img {
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

a.logo img:hover {
  transform: scale(1.05);
}

a.logo span {
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  white-space: nowrap;       /* verhindert Zeilenumbruch */
}

/* ── Hamburger Button ────────────────────────────────────────────────────────── */
#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

#hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

#hamburger.active span:nth-child(2) {
  opacity: 0;
}

#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ── Navigation ──────────────────────────────────────────────────────────────── */
#nav {
  display: flex;
  gap: 0.3rem;
}

#nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

#nav a:hover,
#nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ── Main ────────────────────────────────────────────────────────────────────── */
main {
  min-height: calc(100vh - 80px);
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

main h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 80px);
  padding: 2rem 0;
}

.hero-text {
  flex: 0 0 280px;
  text-align: left;
  padding: 1rem 0;
}

.hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.hero-text p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6b1a 100%);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.45);
}

/* ── 3D Coverflow Carousel ───────────────────────────────────────────────────── */
.carousel {
  flex: 1;
  padding: 0;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  height: calc(100vh - 120px);
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.carousel-container img {
  position: absolute;
  width: 35%;
  max-width: 320px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity  0.7s ease,
              z-index  0s;
  will-change: transform, opacity;
  cursor: default;
  user-select: none;
}

/* ── Speisekarte ─────────────────────────────────────────────────────────────── */
.menu-category {
  margin-bottom: 2.5rem;
}

.menu-category > h2 {
  color: #fff;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6b1a 100%);
  font-size: 1.2rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
  margin-bottom: 1rem;
}

.menu-subcategory {
  margin-bottom: 1.2rem;
}

.menu-subcategory > h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ff8c00;
  margin: 1rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #ff8c00;
  font-family: 'Poppins', sans-serif;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: 0.8rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 3px solid #ff8c00;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.12);
}

.menu-item-info h4 {
  color: #ff8c00;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.menu-item-info p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.3;
}

.menu-item .price {
  color: #27ae60;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

.category-note {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6b1a 100%);
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-style: italic;
  color: #fff;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}

/* ── Infos & Impressum ───────────────────────────────────────────────────────── */
.info-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.info-block h2 {
  color: #ff8c00;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.info-block p {
  color: #555;
  line-height: 1.7;
}

.info-block address {
  font-style: normal;
  line-height: 1.8;
  color: #555;
}

.info-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-block ul li {
  color: #555;
}

.info-block ul a {
  color: #ff8c00;
  font-weight: 600;
  text-decoration: none;
}

.info-block ul a:hover {
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.4rem 0.8rem 0.4rem 0;
  color: #555;
}

.hours-table td:first-child {
  font-weight: 600;
  color: #2c3e50;
  width: 120px;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  font-weight: 500;
}

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive: Tablet ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  header {
    padding: 0.8rem 1rem;
  }

  #hamburger {
    display: flex;
  }

  #nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b1a 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  #nav.active {
    display: flex;
  }

  #nav a {
    padding: 0.8rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  main {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .hero-text {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .carousel {
    width: 100%;
    flex: none;
  }

  .carousel-container {
    height: 420px;
    max-height: none;
  }

  .carousel-container img {
    width: 50%;
  }

  a.logo span {
    font-size: 1rem;   /* etwas kleiner auf Tablet */
  }
}

/* ── Responsive: Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 500px) {
  a.logo span {
    font-size: 0.85rem;  /* noch etwas kleiner aber sichtbar */
  }

  a.logo img {
    height: 38px;        /* Logo auch leicht verkleinern */
  }

  .carousel {
    width: 100%;
    flex: none;
  }

  .carousel-container {
    height: 320px;
  }

  .carousel-container img {
    width: 70%;
  }
}