:root {
  --color-bg: #f4f4f4;
  --color-surface: #ffffff;
  --color-header: #050505;
  --color-primary: #ff9f1c;
  --color-primary-dark: #e68900;
  --color-text: #222222;
  --color-muted: #777777;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.17);
}

/* RESET / GLOBAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
}

/* HEADER / NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  display: none;
}

.logo-text {
  font-weight: 600;
  font-size: 1.05rem;
}

.logo-image {
  height: 38px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  opacity: 0.9;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.phone-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.phone-button:hover {
  background: var(--color-primary-dark);
}

.phone-icon {
  font-size: 1.05rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out, color 0.15s ease-out;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

/* GLOBAL SECTION TITLES */

.section-title {
  font-size: 2rem;
  margin: 0 0 0.4rem;
  text-align: center;
}

.section-subtitle {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  color: var(--color-muted);
}

.section-title-light {
  color: #fff;
}

.section-subtitle-light {
  color: rgba(255, 255, 255, 0.85);
}

/* HERO (INDEX) */

.hero {
  position: relative;
  min-height: 540px;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: left-center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
}

.hero-content {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  max-width: 620px;
}

.hero-pill-row {
  margin-bottom: 1.1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
}

.pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-primary);
}

.hero-title {
  font-size: clamp(2.3rem, 3.1vw, 3.3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 460px;
  margin: 0 0 1.7rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.meta-icon {
  font-size: 1rem;
}

/* FEATURED DISHES (INDEX) */

.featured-dishes {
  padding: 3rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.dish-card {
  background: var(--color-surface);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;              /* wichtig: Bild + Inhalt gemeinsam runden */
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}


.dish-image {
 width: 100%;
  height: 220px;
  overflow: hidden;
  object-fit: cover;
  display: block;
}

.dish-image-1 {
  background-image: url("assets/fav-burger.webp");
}

.dish-image-2 {
  background-image: url("assets/fav-pizza.webp");
}

.dish-image-3 {
  background-image: url("assets/fav-doener.webp");
}

.dish-content {
  padding: 1.1rem 1.4rem 1.4rem;
}

.dish-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.dish-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.dish-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.dish-rating span:first-child {
  color: #ffc107;   /* Stern gelb */
}

.dish-tag-row {
  margin: 0.45rem 0 0.4rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 159, 28, 0.18);
  color: #b86b00;
  font-weight: 500;
}

.dish-desc {
  margin: 0.5rem 0 1rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dish-price {
  font-size: 1rem;
  font-weight: 700;
}

.dish-footer .btn-primary {
  border-radius: 999px;
  padding-inline: 1.6rem;
}


/* BENEFITS / VORTEILE */

.benefits {
  padding: 3rem 0 3.5rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.benefit-grid-small {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 159, 28, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.benefit-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.benefit-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* TESTIMONIALS */

.testimonials {
  padding: 3rem 0 3.5rem;
  background: #f1f1f1;
}

.testimonials-rating {
  text-align: center;
  margin-top: 0.3rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.rating-stars {
  color: #ffc107;
  margin-right: 0.4rem;
}

.rating-score {
  font-weight: 600;
  margin-right: 0.3rem;
}

.rating-count {
  color: var(--color-muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 159, 28, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-name {
  margin: 0;
  font-size: 0.98rem;
}

.testimonial-stars {
  font-size: 0.85rem;
}

.testimonial-meta {
  margin: 0.1rem 0 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.testimonial-text {
  margin: 0;
  font-size: 0.9rem;
}

/* ABOUT (UEBER UNS) */

.about {
  padding: 3rem 0 3.5rem;
}

.about-image-wrapper {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

/* Karte fuer das grosse Ueber-uns-Bild */
.about-image {
  width: 100%;
  max-width: 1080px;             /* damit es nicht ganz bis zum Rand geht */
  border-radius: var(--radius-xl);
  overflow: hidden;              /* runde Ecken wirken auch auf das Bild */
  box-shadow: var(--shadow-soft);
  background: #ffffff;           /* weisser Karten-Hintergrund */
}

/* Das eigentliche Bild */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}


.story-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.7rem;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
  max-width: 900px;
  margin: 0 auto;
}

.story-title {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.story-card p {
  margin: 0 0 0.7rem;
  font-size: 0.94rem;
  color: var(--color-muted);
}

/* KONTAKT */

.contact {
  padding: 3rem 0 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr);
  gap: 1.8rem;
  margin-top: 2.2rem;
}

.contact-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.7rem 1.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.contact-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info-item {
  display: flex;
  gap: 0.8rem;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 159, 28, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-label {
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-text {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.contact-text a {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid #dedede;
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.25);
}

.form-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.map-wrapper {
  margin-top: 1.8rem;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 350px;           /* oder 400, wie du es willst */
  border: 0;
}

/* SPEISEKARTE HERO */

/* HERO OHNE BILD – nur moderner Verlauf */
.menu-hero {
  position: relative;
  background: linear-gradient(90deg, #1a1a1a 0%, #3c3c3c 100%);
  padding: 4rem 0 6rem;
  overflow: hidden;
  color: #fff;
}

/* Overlay + BG ENTFERNT */
.menu-hero-bg {
  display: none;
}

.menu-hero-overlay {
  display: none;
}


/* Inhalt vor Overlay */
.menu-hero-content {
  position: relative;
  z-index: 2;
}


/* KATEGORIEN-CHIPS */

.category-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
}

.category-label {
  font-size: 0.9rem;
  white-space: nowrap;
}

.category-bar {
  display: flex;
  overflow-x: auto;
  gap: 0.6rem;
  padding-bottom: 0.2rem;
}

.category-bar::-webkit-scrollbar {
  height: 4px;
}

.category-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.12);
}

.category-bar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.category-chip {
  border-radius: 999px;
  border: none;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  white-space: nowrap;
}

.category-chip.active {
  background: var(--color-primary);
  color: #000;
}

.products-count {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
}

/* SPEISEKARTE LISTE */

.menu-list {
  padding: 2.5rem 0 3rem;
}

.menu-category-card {
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 2rem;
}

.menu-category-hero {
  position: relative;
  height: 260px;
  background-image: url("img/burger-category.jpg");
  background-size: cover;
  background-position: center;
}

.menu-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.05)
  );
}

.menu-category-label {
  position: absolute;
  left: 2.5rem;
  bottom: 2.1rem;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
}

.menu-category-hint {
  padding: 0.6rem 1.8rem 0.2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.menu-items {
  padding: 1.2rem 1.8rem 1.8rem;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: #fafafa;
  margin-bottom: 0.7rem;
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item-text {
  flex: 1;
}

.menu-item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.menu-item-desc {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.menu-item-price {
  font-weight: 700;
  white-space: nowrap;
  margin-left: 1.5rem;
}

/* SPEISEKARTE KATEGORIE-HINTERGRUENDE (KEYS AUS menu.json) */

.category-bg-burger-master {
  background-image: url("img/burger-category.jpg");
}

.category-bg-burger-master-menues {
  background-image: url("img/burger-menu-category.jpg");
}

.category-bg-salate {
  background-image: url("img/salat-category.jpg");
}

.category-bg-pizza-32 {
  background-image: url("img/pizza32-category.jpg");
}

.category-bg-pizza-50 {
  background-image: url("img/pizza50-category.jpg");
}

.category-bg-spezial-pizza-32 {
  background-image: url("img/pizza-special-category.jpg");
}

.category-bg-pide {
  background-image: url("img/pide-category.jpg");
}

.category-bg-kebabgerichte {
  background-image: url("img/kebab-category.jpg");
}

.category-bg-sandwiches {
  background-image: url("img/sandwich-category.jpg");
}

.category-bg-tellergerichte {
  background-image: url("img/teller-category.jpg");
}

.category-bg-snacks {
  background-image: url("img/snacks-category.jpg");
}

.category-bg-saucen {
  background-image: url("img/saucen-category.jpg");
}

.category-bg-desserts {
  background-image: url("img/dessert-category.jpg");
}

/* FOOTER */

.site-footer {
  background: #050505;
  color: #fff;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.7fr 1.2fr;
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-title {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.footer-text {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .phone-button {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 480px;
  }

  .hero-content {
    padding-top: 3.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .benefit-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .benefit-grid-small {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
  }

  .menu-category-label {
    font-size: 1.7rem;
    left: 1.6rem;
    bottom: 1.7rem;
  }

  .menu-items {
    padding: 1rem 1.1rem 1.4rem;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-item-price {
    margin-left: 0;
  }
}
