/* ========================================================
   EISCAFÉ MICHELANGELO — Design System & Styles
   ======================================================== */

/* --- Design Tokens --- */
:root {
  --red: #C51A1B;
  --red-dark: #9E1516;
  --red-light: #F2D5D5;
  --cream: #FFF9F5;
  --cream-dark: #F5EDE6;
  --charcoal: #1A1A1A;
  --text: #2D2A26;
  --text-muted: #6B6560;
  --gold: #C8A96E;
  --gold-light: #E8D5AE;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

address {
  font-style: normal;
}

/* --- Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center;
}

.section {
  padding: 120px 0;
}

.section-label {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
  color: var(--charcoal);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}


/* ========================================================
   NAVBAR — Floating Glass Pill
   ======================================================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 100;
  padding: 0 32px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  top: 12px;
  left: 32px;
  right: 32px;
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-inner {
  height: 62px;
}

.navbar-logo img {
  height: 52px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-logo img {
  height: 44px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  transition: color var(--transition);
}

.navbar-links a:hover {
  color: var(--red);
}

/* Underline animation */
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition), left var(--transition);
  border-radius: 1px;
}

.navbar-links a:hover::after,
.navbar-links a:focus-visible::after {
  width: 100%;
  left: 0;
}

/* CTA Button */
.nav-cta {
  background: var(--red) !important;
  border: none !important;
  border-radius: 100px;
  padding: 10px 26px !important;
  font-size: 14px !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(197, 26, 27, 0.3);
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(197, 26, 27, 0.45);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.navbar.scrolled .nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ========================================================
   HERO — Sticky animation (left) + sticky text panel (right)
   ======================================================== */
.hero {
  position: relative;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.hero-scroll-space {
  height: 600vh;
  grid-column: 1;
  grid-row: 1;
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--white);
}

.hero-left {
  position: relative;
  overflow: hidden;
  background: var(--white);
  width: 100%;
  height: 100%;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.hero-right {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 60px;
}

.hero-content {
  text-align: center;
  color: var(--charcoal);
  pointer-events: auto;
  position: relative;
  z-index: 2;
  max-width: 440px;
  opacity: 1;
}

/* Logo in hero instead of text title */
.hero-logo {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto 32px;
}

/* ── Scroll Keywords floating over animation ── */
.hero-keywords {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.hero-keyword {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  color: var(--charcoal);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
  text-shadow: 0 2px 12px rgba(255,255,255,0.6);
  white-space: nowrap;
}

.hero-keyword.active {
  opacity: 0.85;
  transform: translateY(0);
}

.hero-keyword.kw-left {
  left: 6%;
}

.hero-keyword.kw-right {
  right: 6%;
  text-align: right;
}

/* Size variants */
.hero-keyword.kw-lg {
  font-size: clamp(28px, 4vw, 52px);
}

.hero-keyword.kw-md {
  font-size: clamp(22px, 3vw, 40px);
}

.hero-keyword.kw-sm {
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 400;
  color: var(--red);
}

.hero-tagline {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 0.2px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  padding: 16px 42px;
  background: var(--red);
  color: var(--white);
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(197, 26, 27, 0.4);
}

.hero-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 26, 27, 0.5);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--cream-dark);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 3px;
  height: 12px;
  background: var(--red);
  border-radius: 2px;
  position: absolute;
  left: -1px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 0; }
  50% { top: 36px; }
}


/* ========================================================
   ABOUT
   ======================================================== */
.section-about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}

.about-img-main img {
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  border: 6px solid var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-secondary img {
  aspect-ratio: 4/3;
}

.about-description {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ========================================================
   EISSORTEN (Flavors)
   ======================================================== */
.section-eissorten {
  background: var(--cream);
}

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.flavor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.flavor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.flavor-img {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.flavor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flavor-card:hover .flavor-img img {
  transform: scale(1.08);
}

.flavor-info {
  padding: 24px;
}

.flavor-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.flavor-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.flavors-note {
  text-align: center;
  margin-top: 48px;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
}

/* Signature flavor badge */
.flavor-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Karla', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 8px;
}

/* Quality / Transparency badges */
.quality-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 36px;
  margin-top: 40px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
}

.quality-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.quality-badge svg {
  flex-shrink: 0;
  color: var(--red);
}

.quality-badge:last-child {
  color: var(--text-muted);
  font-size: 13px;
}

.quality-badge:last-child svg {
  color: var(--gold);
}


/* ========================================================
   ANGEBOT (Menu Highlights)
   ======================================================== */
.section-angebot {
  background: var(--white);
}

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.angebot-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.angebot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.angebot-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.angebot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.angebot-card:hover .angebot-img img {
  transform: scale(1.06);
}

.angebot-content {
  padding: 28px;
}

.angebot-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.angebot-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ========================================================
   AMBIENTE (Gallery)
   ======================================================== */
.section-ambiente {
  background: var(--charcoal);
  color: var(--white);
}

.section-ambiente .section-label {
  color: var(--gold);
}

.section-ambiente .section-title {
  color: var(--white);
}

.ambiente-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 60px;
}

.ambiente-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.ambiente-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.6s ease;
}

.ambiente-item:hover img {
  transform: scale(1.05);
}

.ambiente-large {
  grid-column: span 2;
  grid-row: span 2;
}

.ambiente-large img {
  aspect-ratio: auto;
  min-height: 100%;
}


/* ========================================================
   INSTAGRAM CTA
   ======================================================== */
.section-social {
  padding: 48px 0;
  background: var(--cream);
}

.social-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.social-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.social-cta--instagram {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
}

.social-cta--tiktok {
  background: linear-gradient(135deg, #25F4EE 0%, #000 50%, #FE2C55 100%);
}

.social-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.social-cta--instagram:hover {
  box-shadow: 0 12px 40px rgba(225, 48, 108, 0.3);
}

.social-cta--tiktok:hover {
  box-shadow: 0 12px 40px rgba(254, 44, 85, 0.3);
}

.social-cta-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.social-cta-text {
  flex: 1;
  min-width: 0;
}

.social-cta-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.social-cta-handle {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.social-cta-arrow {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 200ms ease;
}

.social-cta:hover .social-cta-arrow {
  transform: translateX(6px);
  opacity: 1;
}

/* Footer social links — Instagram + TikTok */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.footer-social svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .social-cta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-cta {
    padding: 22px 22px;
    gap: 16px;
  }

  .social-cta-icon {
    width: 32px;
    height: 32px;
  }

  .social-cta-arrow {
    display: none;
  }
}


/* ========================================================
   FOOTER / KONTAKT
   ======================================================== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: 100px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top-text {
  text-align: center;
  margin-bottom: 60px;
}

.footer-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  font-family: 'Karla', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer address p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.footer address svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--red);
}

.footer a:hover {
  color: var(--red);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hours-table td {
  padding: 8px 0;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 500;
}

.map-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-extras {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.parking-locations {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parking-item strong {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.parking-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-legal a:hover {
  color: var(--white);
}


/* ========================================================
   SCROLL-REVEAL ANIMATIONS (Directional)
   ======================================================== */

/* Base reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0) scale(1) rotate(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Rotate in */
.reveal-rotate {
  opacity: 0;
  transform: translateY(40px) rotate(3deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-rotate.revealed {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* Stagger children with scale */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.30s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Parallax layer (driven by JS) ── */
.parallax {
  will-change: transform;
  /* Override any transition (e.g. .reveal's 0.9s transform transition).
     Parallax updates run every frame from scroll; smoothing them with a
     transition causes the element to lag behind and visibly wobble. */
  transition: none !important;
}

/* ── Continuous float for ambiente images ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ambiente-item.revealed {
  animation: float 6s ease-in-out infinite;
}

.ambiente-item:nth-child(2).revealed { animation-delay: 0.8s; }
.ambiente-item:nth-child(3).revealed { animation-delay: 1.6s; }
.ambiente-item:nth-child(4).revealed { animation-delay: 2.4s; }
.ambiente-item:nth-child(5).revealed { animation-delay: 3.2s; }

/* ── Counter animation for stats ── */
.stat-number {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Section divider decoration ── */
.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
}

.section-label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-left: 12px;
}

.section-ambiente .section-label::before,
.section-ambiente .section-label::after {
  background: var(--gold);
}


/* ========================================================
   REDUCED MOTION
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .parallax {
    transform: none !important;
  }

  .ambiente-item.revealed {
    animation: none;
  }
}


/* ========================================================
   RESPONSIVE
   ======================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }

  .flavors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .angebot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .ambiente-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  /* Mobile hero: stack animation (sticky) on top, text panel below.
     Scroll-space drives the animation; text appears after it completes. */
  .hero {
    display: block;
    padding-top: 90px; /* clear the fixed navbar pill */
  }

  .hero-scroll-space {
    height: 250vh; /* sticky 100vh + 150vh of scrub = full 198-frame play */
    grid-column: auto;
    grid-row: auto;
  }

  .hero-sticky {
    height: 100vh;
    height: 100dvh;
  }

  .hero-left {
    aspect-ratio: auto;
    height: 100%;
  }

  .hero-right {
    position: static;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    padding: 48px 24px 56px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-tagline {
    margin-bottom: 16px;
  }

  .hero-logo {
    max-width: 240px;
    margin: 0 auto 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .hero-btn {
    padding: 14px 32px;
    font-size: 14px;
  }

  .hero-keywords {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  /* Mobile nav */
  .navbar-toggle {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    flex-direction: column;
    background: var(--cream);
    padding: 100px 40px 40px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar-links.open {
    right: 0;
  }

  .navbar-links a {
    font-size: 20px;
    color: var(--charcoal) !important;
  }

  .nav-cta {
    border-color: var(--red) !important;
    color: var(--red) !important;
    text-align: center;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 60%;
    margin-top: -60px;
    margin-left: auto;
  }

  .about-stats {
    gap: 24px;
  }

  /* Flavors */
  .flavors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .flavor-info {
    padding: 16px;
  }

  .flavor-info h3 {
    font-size: 18px;
  }

  /* Angebot */
  .angebot-grid {
    grid-template-columns: 1fr;
  }

  .angebot-card {
    display: grid;
    grid-template-columns: 140px 1fr;
  }

  .angebot-img {
    aspect-ratio: 1;
  }

  .angebot-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Ambiente */
  .ambiente-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ambiente-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-extras {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quality-badges {
    gap: 16px 24px;
    padding: 24px 20px;
  }

  /* ── Center all text on mobile ── */
  .about-text,
  .about-description,
  .flavor-info,
  .angebot-content,
  .footer-brand,
  .footer-info,
  .footer-hours,
  .footer-parking,
  .footer-tagline,
  .footer h3,
  .parking-item,
  .parking-item p,
  .social-cta-text {
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .stat {
    align-items: center;
  }

  .footer address p {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .hours-table {
    margin: 0 auto;
  }

  /* Center the logo and any inline social link inside the brand block */
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .flavors-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-logo {
    max-width: 220px;
  }

  .angebot-card {
    grid-template-columns: 1fr;
  }

  .angebot-img {
    aspect-ratio: 16/9;
  }
}
