/* 
   HERO SECTION
    */
.idx-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    url('../Bilder/Web Bilder/pizza_1.jpg') center / cover no-repeat;
}

/* dark overlay */
.idx-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28,18,8,0.72) 0%,
    rgba(44,26,14,0.58) 50%,
    rgba(61,84,32,0.45) 100%
  );
  z-index: 1;
}

/* CSS-only grain texture */
.idx-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

.idx-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 760px;
  width: 100%;
}

.neon-logo {
  width: 300px;
  height: auto;
  filter: drop-shadow(0 0 14px #39ff14) drop-shadow(0 0 28px #f2c94c);
  margin-bottom: 16px;
  animation: neonPulse 3s ease-in-out infinite;
}
@keyframes neonPulse {
  0%, 100% { filter: drop-shadow(0 0 10px #39ff14) drop-shadow(0 0 22px #f2c94c); }
  50%       { filter: drop-shadow(0 0 22px #39ff14) drop-shadow(0 0 42px #f5d550) brightness(1.1); }
}

.idx-hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
  margin-bottom: 18px;
  width: 100%;
}
.idx-hero-headline em {
  font-style: italic;
  color: var(--lemon);
}

.idx-hero-sub {
  font-size: 1.05rem;
  color: rgba(253,246,227,0.82);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 520px;
}

.idx-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}

.idx-scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: bounceDown 2s ease-in-out infinite;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.idx-scroll-arrow:hover { opacity: 1; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* 
   BER UNS STRIP
    */
.idx-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--olive-dark);
}

.idx-about-img {
  overflow: hidden;
  position: relative;
  min-height: 480px;
}
.idx-about-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.idx-about-img:hover img { transform: scale(1.04); }

.idx-about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 60px;
  gap: 18px;
}
.idx-about-text p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(253,246,227,0.82);
}
.idx-about-text .btn-primary {
  align-self: flex-start;
  margin-top: 8px;
}

/* 
   SECTION TAG + HEADLINES
    */
/* .idx-section-tag base style now in components.css */
.idx-section-tag--light {
  color: var(--lemon);
  background: rgba(242,201,76,0.12);
  border-color: rgba(242,201,76,0.3);
}

.idx-section-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
}

/*
   PIZZA MENU SECTION
    */
.idx-pizzen {
  position: relative;
  background: url('../Bilder/Web Bilder/pizza_2.jpg') center / cover no-repeat;
  padding: 80px 0 60px;
}
.idx-pizzen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 0, 0.72);
}
.idx-pizzen-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
}

/* Slider bricht aus dem Container heraus auf volle Breite */
pizza-slider {
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 48px;
  box-sizing: border-box;
}
.idx-pizzen .idx-section-tag {
  color: var(--lemon);
  background: rgba(242,201,76,0.12);
  border-color: rgba(242,201,76,0.3);
}
.idx-pizzen .idx-section-headline { color: var(--cream); }

.idx-signature {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(253,246,227,0.2);
}

.idx-pizzen .sig-name { color: var(--cream); }
.idx-pizzen .sig-ingredients { color: rgba(253,246,227,0.75); }
.idx-pizzen .sig-price { color: var(--lemon); }

/* 
   EVENTS BANNER
    */
.idx-events-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../Bilder/Web Bilder/Wagen_von_aussen.jpg') center / cover no-repeat;
  overflow: hidden;
}
.idx-events-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,18,8,0.6) 0%,
    rgba(44,26,14,0.78) 100%
  );
  z-index: 1;
}
.idx-events-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 32px;
  max-width: 640px;
}
.idx-events-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.idx-events-sub {
  font-size: 1rem;
  color: rgba(253,246,227,0.82);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* 
   BENTO BOOKING + CONTACT GRID
    */
.idx-bento {
  background: var(--cream);
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.idx-bento-card {
  background: #fff;
  border: 1.5px solid var(--sand);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44,26,14,0.08);
}
.idx-bento-header {
  background: var(--olive-dark);
  color: var(--cream);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.idx-bento-header span { font-size: 1.3rem; }
.idx-bento-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.idx-bento-body { padding: 22px; }

/* 
   FOOTER
    */
.idx-footer {
  background: var(--brown);
  color: var(--sand);
  padding: 44px 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 3px solid var(--olive-dark);
}
.idx-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.idx-footer-brand strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--cream);
}
.idx-footer-brand span {
  font-size: 0.82rem;
  color: rgba(232,213,163,0.7);
}
.idx-footer-legal {
  font-size: 0.73rem;
  color: rgba(232,213,163,0.55);
  text-align: center;
}
.idx-footer-legal a {
  color: rgba(232,213,163,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.idx-footer-legal a:hover { color: var(--lemon); }

/* 
   RESPONSIVE
    */

/* tablet */
@media (max-width: 900px) {
  .idx-nav {
    padding: 0 20px;
    gap: 12px;
  }
  .idx-nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(44,26,14,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    z-index: 199;
    border-bottom: 1px solid rgba(232,213,163,0.15);
  }
  .idx-nav-links.open { display: flex; }
  .idx-nav-links a {
    flex-direction: row;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(232,213,163,0.1);
    justify-content: flex-start;
    width: 100%;
  }
  .idx-phone { display: none; }
  .login-btn { display: none; }
  .nav-login-item { display: flex !important; }
  .nav-toggle { display: flex; }

  /* Sticky nav (subpages): dropdown must be absolute, not fixed */
  .idx-nav--sub,
  .idx-nav--dash,
  .idx-nav--admin { position: sticky; }
  .idx-nav--sub .idx-nav-links,
  .idx-nav--dash .idx-nav-links,
  .idx-nav--admin .idx-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .idx-about {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .idx-about-img { min-height: 280px; }
  .idx-about-text { padding: 44px 32px 52px; }

  .idx-bento {
    grid-template-columns: 1fr;
    padding: 48px 20px;
  }

  .idx-hero-content { padding: 100px 20px 52px; }
  .neon-logo { width: 220px; }

  .idx-signature {
    flex-direction: column;
    align-items: center;
  }
  .signature-card { width: 100%; }

  .form-row { grid-template-columns: 1fr; }
}

/* mobile */
@media (max-width: 520px) {
  .idx-hero-headline { font-size: 2.2rem; }
  .idx-hero-sub { font-size: 0.92rem; }
  .neon-logo { width: 180px; }
  .idx-about-text { padding: 36px 22px 44px; }
  .idx-pizzen-inner { padding: 0 18px; }
  .idx-events-content { padding: 56px 20px; }
  .idx-footer { padding: 36px 20px 22px; }
  .idx-hero-ctas { flex-direction: column; align-items: center; }
}

/* ── Index-specific overrides for section modules ── */
body.page-index .about-section {
  min-height: 480px;
  background: var(--olive-dark);
}
body.page-index .about-section.reverse {
  background: var(--brown);
}
body.page-index .about-img {
  min-height: 480px;
}
body.page-index .about-img img {
  transition: transform 0.6s ease;
}
body.page-index .about-img:hover img {
  transform: scale(1.04);
}
body.page-index .about-text {
  background: transparent;
  padding: 64px 60px;
  gap: 18px;
  color: rgba(253,246,227,0.82);
}
body.page-index .about-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 0;
}
body.page-index .about-text p {
  color: rgba(253,246,227,0.82);
  line-height: 1.65;
  margin-bottom: 0;
}
body.page-index .about-text .idx-section-tag {
  color: rgba(253,246,227,0.7);
  background: rgba(253,246,227,0.08);
  border-color: rgba(253,246,227,0.2);
}
body.page-index .about-text .btn-primary {
  align-self: flex-start;
  margin-top: 8px;
}
/* about-banner: kein Override, bleibt olive wie auf Unterseiten */
body.page-index .cta-banner {
  background: var(--olive-dark);
  border-top: none;
}
body.page-index .cta-banner h2 {
  color: var(--cream);
}
body.page-index .cta-banner p {
  color: rgba(253,246,227,0.82);
}
body.page-index .cta-banner .btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(253,246,227,0.6);
}
body.page-index .cta-banner .btn-secondary:hover {
  background: rgba(253,246,227,0.12);
  color: var(--cream);
  border-color: var(--cream);
}
@media (max-width: 680px) {
  body.page-index .about-text { padding: 36px 22px 44px; }
  body.page-index .about-img { min-height: 280px; }
}

