/* =========================
   GLOBAL DARK THEME
   ========================= */
:root {
  --bg: #1e1e1e;
  --header: #000;
  --text: #f3f3f3;
  --muted: #b0b0b0;
  --card: #2a2a2a;
  --border: #3a3a3a;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
.header-wrap {
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.logo-img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.name {
  font-size: 1.05rem;
  font-weight: 650;
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a {
  color: #f3f3f3;
}

.nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-btn {
  border: 1px solid #444;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: #333;
}

.lang-btn:hover {
  background: #555;
}

.order-btn {
  border: 1px solid #0f9f6e;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #071b16;
  background: #21e0a3;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease;
}

.order-btn:hover {
  background: #5ff0c3;
  transform: translateY(-1px);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid #444;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: #222;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.instagram-btn:hover {
  transform: translateY(-1px);
  border-color: #e1306c;
  background: #2d2027;
}

@media (max-width: 820px) {
  .header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .brand {
    display: none;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.75rem 1rem;
  }
  .logo-img {
    height: 32px;
  }
  .nav {
    gap: 1rem;
    font-size: 0.78rem;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .order-btn,
  .lang-btn,
  .instagram-btn {
    padding: 0.43rem 0.72rem;
  }
  .order-btn {
    font-size: 0;
  }
  .order-btn::before {
    content: "Wolt";
    font-size: 0.76rem;
  }
  .lang-btn {
    font-size: 0.76rem;
  }
  .instagram-btn {
    width: 2.28rem;
    height: 2.28rem;
    justify-content: center;
    padding: 0;
  }
  .instagram-btn span {
    display: none;
  }
  main {
    padding: 1.6rem 1rem 5rem;
  }
  h1 {
    font-size: 1.85rem;
  }
  .lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }
}

/* =========================
   HERO SECTION
   ========================= */
.hero-photo {
  position: relative;
  width: 100%;
  height: clamp(300px, 46vw, 560px);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background-color: #1e1e1e;
}

.hero-photo.hero-anim {
  animation: heroZoom 9.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-photo.hero-anim::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: kenburns 9.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: saturate(1.02) contrast(1.05) brightness(0.8);
}

@keyframes kenburns {
  from { transform: scale(1.10) translateY(0px); }
  to { transform: scale(1.18) translateY(-10px); }
}

@keyframes heroZoom {
  from { background-size: 106% auto; }
  to { background-size: 114% auto; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.85));
}

.hero-center {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  background: transparent;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  opacity: 0;
  transform: translateY(0) scale(0.9);
  filter: blur(10px) drop-shadow(0 30px 45px rgba(0,0,0,0.8));
  transition:
    opacity 3.6s ease,
    transform 3.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 3.6s ease;
}

.hero-logo-visible .hero-logo {
  opacity: 1;
  transform: translateY(-18px) scale(1);
  filter: blur(0) drop-shadow(0 30px 45px rgba(0,0,0,0.7));
}

@media (max-width: 768px) {
  .hero-photo {
    min-height: 330px;
    background-image: var(--hero-bg);
    background-size: 112% auto;
    background-position: center;
  }

  .hero-photo.hero-anim::before {
    display: none;
  }

  .hero-photo.hero-anim {
    animation: mobileHeroZoom 9.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-logo {
    opacity: 0;
    transform: translateY(0) scale(0.92);
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.7));
    transition:
      opacity 2.2s ease,
      transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-logo-visible .hero-logo {
    opacity: 1;
    transform: translateY(-10px) scale(1);
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.7));
  }
}

@keyframes mobileHeroZoom {
  from { background-size: 112% auto; }
  to { background-size: 122% auto; }
}

/* =========================
   MAIN CONTENT
   ========================= */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.3rem 1.5rem 2rem;
}

.badge {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #444;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ccc;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

h1 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.12;
  color: #fff;
}

.lead {
  color: #bdbdbd;
  max-width: 52rem;
}

.reserve-note {
  margin-top: 1.2rem;
  padding: 0.95rem 1.05rem;
  border-radius: 1rem;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  color: #f3f3f3;
  box-shadow: var(--shadow);
}

.reserve-note a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.delivery-cta {
  margin-top: 1.4rem;
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(33, 224, 163, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33,224,163,0.14), rgba(255,255,255,0.04));
}

.delivery-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #21e0a3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivery-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.delivery-cta p {
  margin: 0.35rem 0 0;
  color: #c9c9c9;
}

.delivery-btn {
  flex: 0 0 auto;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: #071b16;
  background: #21e0a3;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease;
}

.delivery-btn:hover {
  background: #5ff0c3;
  transform: translateY(-1px);
}

.testimonials-section {
  margin: 0.8rem 0 3.5rem;
}

.testimonials-head {
  margin-bottom: 1.2rem;
  text-align: center;
}

.testimonials-head h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.testimonial-slider {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 82vw);
  min-height: 230px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: #242424;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  transition:
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.95s ease,
    filter 0.95s ease;
  z-index: 1;
  filter: blur(1px) brightness(0.72);
}

.testimonial-card.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
  filter: none;
}

.testimonial-card.prev {
  opacity: 0.34;
  transform: translate(calc(-50% - 460px), -50%) scale(0.86);
  z-index: 2;
}

.testimonial-card.next {
  opacity: 0.34;
  transform: translate(calc(-50% + 460px), -50%) scale(0.86);
  z-index: 2;
}

.stars {
  color: #21e0a3;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.testimonial-card p {
  margin: 0.8rem 0 1rem;
  color: #f3f3f3;
  line-height: 1.55;
}

.testimonial-card span {
  color: #b0b0b0;
  font-size: 0.9rem;
  font-weight: 700;
}

.review-cta {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: #202020;
}

.review-cta p {
  margin: 0;
  color: #d4d4d4;
}

.review-cta a {
  flex: 0 0 auto;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  color: #071b16;
  background: #21e0a3;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.review-cta a:hover {
  background: #5ff0c3;
}

@media (max-width: 680px) {
  .delivery-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .delivery-btn {
    width: 100%;
    text-align: center;
  }
  .testimonial-slider {
    height: 330px;
  }
  .testimonial-card {
    width: min(92vw, 360px);
    min-height: 280px;
    padding: 1rem;
  }
  .testimonial-card.prev {
    transform: translate(calc(-50% - 310px), -50%) scale(0.84);
  }
  .testimonial-card.next {
    transform: translate(calc(-50% + 310px), -50%) scale(0.84);
  }
  .review-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .review-cta a {
    width: 100%;
    text-align: center;
  }
}

.gallery-wrap {
  margin: 4rem 0 2rem;
}

.section-title {
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: 1.35rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #242424;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.2rem 0 4rem;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page h2 {
  margin: 2rem 0 0.55rem;
  color: #fff;
  font-size: 1.18rem;
}

.legal-page p,
.legal-page li {
  color: #c9c9c9;
  line-height: 1.65;
}

.legal-page a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* =========================
   PROFESSIONAL CENTERED CAROUSEL (SPACED & FADED VERSION)
   ========================= */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 5rem auto 4rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition:
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.4s ease;
  z-index: 1;
}

.carousel-item img {
  height: 380px;
  width: auto;
  object-fit: contain;
  border: none;
  background: none;
  box-shadow: none;
  display: block;
}

/* --- aktives (mittleres) Bild --- */
.carousel-item.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
}

/* --- linkes und rechtes Bild (weiter entfernt + blasser) --- */
.carousel-item.prev {
  opacity: 0.35;
  transform: translate(calc(-50% - 420px), -50%) scale(0.75);
  z-index: 2;
  filter: blur(1px) brightness(0.8);
}

.carousel-item.next {
  opacity: 0.35;
  transform: translate(calc(-50% + 420px), -50%) scale(0.75);
  z-index: 2;
  filter: blur(1px) brightness(0.8);
}

/* --- restliche Bilder (unsichtbar) --- */
.carousel-item:not(.active):not(.prev):not(.next) {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  filter: blur(2px) brightness(0.6);
  z-index: 1;
}

/* mobile Anpassung */
@media (max-width: 768px) {
  .carousel {
    height: 270px;
  }

  .carousel-item img {
    height: 205px;
  }

  .carousel-item.prev {
    transform: translate(calc(-50% - 240px), -50%) scale(0.75);
  }

  .carousel-item.next {
    transform: translate(calc(-50% + 240px), -50%) scale(0.75);
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    margin: 3rem auto 2rem;
  }
  .carousel {
    height: 230px;
  }
  .carousel-item img {
    height: 180px;
  }
  .carousel-item.prev {
    transform: translate(calc(-50% - 190px), -50%) scale(0.72);
  }
  .carousel-item.next {
    transform: translate(calc(-50% + 190px), -50%) scale(0.72);
  }
}

.mobile-quick-actions {
  display: none;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background-color: #121212;
  color: #ddd;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.footer-logo {
  padding: 1.2rem 0 0.6rem 0;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  opacity: 0.95;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.footer-logo img:hover {
  transform: scale(1.03);
  opacity: 1;
}

.footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  padding: 0.8rem 2rem 1.8rem;
  text-align: left;
}

.footer-info h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-info p {
  color: #bbb;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0.2rem 0;
}

.footer-info a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.8rem;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f3f3f3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #e1306c;
  transform: translateY(-1px);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: #888;
  background: #0f0f0f;
  text-align: center;
  letter-spacing: 0.3px;
}

.footer-legal a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-logo img {
    max-width: 150px;
  }
}

@media (max-width: 720px) {
  .mobile-quick-actions {
    position: fixed;
    left: 0.9rem;
    right: 0.9rem;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    padding: 0.55rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(18,18,18,0.92);
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
  }

  .mobile-quick-actions a {
    padding: 0.78rem 0.9rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #071b16;
    background: #21e0a3;
  }

  .mobile-quick-actions a:first-child {
    color: #fff;
    background: #333;
  }

  .footer {
    padding-bottom: 5.2rem;
  }
}
