/* =============================================
   OREO.CSS – Oreo Microsite Design System
   B+F Bakery & Food GmbH – Lizenzmarke Oreo
   Stil: Tiefschwarz & Weiss mit Oreo-Blau als Akzent
   ============================================= */

/* ----- CSS Custom Properties ----- */
:root {
  /* Oreo Brand Colors (Blau als Akzent) */
  --oreo-red:          #0067B1;
  --oreo-red-light:    #2E8BD4;
  --oreo-red-dark:     #004A87;
  --oreo-orange:       #3E9BDE;
  --oreo-orange-light: #5FB0E8;
  --oreo-caramel:      #E8E8EA;
  --oreo-caramel-light:#FFFFFF;

  /* Backgrounds */
  --oreo-bg-dark:      #0B0B0E;
  --oreo-bg-medium:    #15151A;
  --oreo-bg-card:      #1D1D24;
  --oreo-bg-card-hover:#27272F;

  /* Text */
  --oreo-text-light:   #F7F7F7;
  --oreo-text-muted:   rgba(247, 247, 247, 0.62);
  --oreo-text-dark:    #0B0B0E;

  /* System */
  --oreo-radius:       0.75rem;
  --oreo-radius-lg:    1.25rem;
  --oreo-radius-xl:    1.75rem;
  --oreo-shadow:       0 4px 24px rgba(0, 0, 0, 0.3);
  --oreo-shadow-lg:    0 12px 40px rgba(0, 0, 0, 0.4);
  --oreo-shadow-glow:  0 0 30px rgba(0, 103, 177, 0.18);

  /* Transitions */
  --ease-out:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:       cubic-bezier(0.4, 0, 0.2, 1);
}


/* ----- Base ----- */
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--oreo-bg-dark);
  color: var(--oreo-text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}


/* ----- Scroll Reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }


/* =============================================
   NAVBAR
   ============================================= */
.navbar-oreo {
  background: rgba(11, 11, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--oreo-red);
  padding: 0.6rem 0;
  transition: background 0.3s ease;
}

.navbar-oreo .navbar-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--oreo-text-light);
  letter-spacing: 0.08em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-oreo .navbar-brand .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oreo-red);
  display: inline-block;
}

.navbar-oreo .back-link {
  color: var(--oreo-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-oreo .back-link:hover {
  color: var(--oreo-red-light);
}

.navbar-oreo .navbar-toggler {
  border: 1px solid rgba(247, 247, 247, 0.2);
  padding: 0.35rem 0.6rem;
}

.navbar-oreo .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}


/* =============================================
   HERO
   ============================================= */
.oreo-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    var(--oreo-bg-dark) 0%,
    #131318 30%,
    var(--oreo-bg-medium) 60%,
    #0A0A0D 100%
  );
}

/* Diagonal accent lines */
.oreo-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 800px;
  background: linear-gradient(
    135deg,
    rgba(0, 103, 177, 0.10) 0%,
    rgba(46, 139, 212, 0.05) 50%,
    transparent 100%
  );
  transform: rotate(-15deg);
  pointer-events: none;
}

.oreo-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(232, 232, 234, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Texture overlay (subtle noise) */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.oreo-hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oreo-red-light);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-kicker::before,
.hero-kicker::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--oreo-red-light);
  opacity: 0.5;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    180deg,
    var(--oreo-text-light) 0%,
    var(--oreo-caramel-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--oreo-orange);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--oreo-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-oreo {
  background: linear-gradient(135deg, var(--oreo-red), var(--oreo-red-dark));
  color: var(--oreo-text-light);
  border: none;
  padding: 0.85rem 2.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 20px rgba(0, 103, 177, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-oreo:hover {
  background: linear-gradient(135deg, var(--oreo-red-light), var(--oreo-red));
  color: var(--oreo-text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 103, 177, 0.4);
}

.btn-oreo-outline {
  background: transparent;
  color: var(--oreo-caramel);
  border: 2px solid var(--oreo-caramel);
  padding: 0.8rem 2.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.35s var(--ease-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-oreo-outline:hover {
  background: var(--oreo-caramel);
  color: var(--oreo-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 232, 234, 0.25);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--oreo-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    180deg,
    var(--oreo-red-light) 0%,
    transparent 100%
  );
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}


/* =============================================
   SECTIONS – General
   ============================================= */
.oreo-section {
  padding: 6rem 0;
  position: relative;
}

.section-kicker-oreo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oreo-red-light);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-kicker-oreo::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--oreo-red-light);
}

.oreo-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--oreo-text-light);
  margin-bottom: 1.25rem;
}

.oreo-section .section-text {
  color: var(--oreo-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
}


/* =============================================
   UEBER OREO – About Section
   ============================================= */
.about-section {
  background: var(--oreo-bg-dark);
}

.about-image-wrapper {
  border-radius: var(--oreo-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--oreo-shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

/* Decorative corner accent */
.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(0, 103, 177, 0.2) 100%
  );
  pointer-events: none;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--oreo-bg-card);
  border-radius: var(--oreo-radius);
  border-left: 3px solid var(--oreo-red-light);
}

.about-highlight i {
  font-size: 1.5rem;
  color: var(--oreo-red-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-highlight strong {
  display: block;
  color: var(--oreo-text-light);
  margin-bottom: 0.25rem;
}

.about-highlight p {
  color: var(--oreo-text-muted);
  font-size: 0.9rem;
  margin: 0;
}


/* =============================================
   PRODUKTE – Product Grid
   ============================================= */
.products-section {
  background: linear-gradient(
    180deg,
    var(--oreo-bg-medium) 0%,
    var(--oreo-bg-dark) 100%
  );
}

.product-card-oreo {
  background: var(--oreo-bg-card);
  border-radius: var(--oreo-radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: var(--oreo-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 103, 177, 0.10);
}

.product-card-oreo:hover {
  background: var(--oreo-bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--oreo-shadow-lg), var(--oreo-shadow-glow);
  border-color: rgba(0, 103, 177, 0.3);
}

.product-card-oreo .product-img-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #15151A 0%,
    #1D1D24 100%
  );
  aspect-ratio: 4/3;
}

.product-card-oreo .product-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card-oreo:hover .product-img-area img {
  transform: scale(1.05);
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--oreo-red);
  color: var(--oreo-text-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--oreo-text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.product-card-body .product-desc {
  color: var(--oreo-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

.product-weight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--oreo-red-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 247, 247, 0.08);
}

.product-weight i {
  font-size: 1rem;
}


/* =============================================
   CTA BANNER
   ============================================= */
.oreo-cta {
  background: linear-gradient(
    135deg,
    #003C6E 0%,
    #0067B1 40%,
    #003C6E 100%
  );
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.oreo-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 232, 234, 0.10), transparent 70%);
  pointer-events: none;
}

.oreo-cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.oreo-cta h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.oreo-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}


/* =============================================
   FOOTER
   ============================================= */
.oreo-footer {
  background: var(--oreo-bg-dark);
  border-top: 1px solid rgba(0, 103, 177, 0.20);
  padding: 2.5rem 0;
}

.oreo-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.oreo-footer .footer-copy {
  color: var(--oreo-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.oreo-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oreo-footer .footer-links a {
  color: var(--oreo-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.oreo-footer .footer-links a:hover {
  color: var(--oreo-red-light);
}


/* =============================================
   DIVIDERS
   ============================================= */
.oreo-divider {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--oreo-red) 25%,
    var(--oreo-red-light) 50%,
    var(--oreo-caramel-light) 75%,
    transparent 100%
  );
  opacity: 0.35;
  border: none;
  margin: 0;
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet (768px) */
@media (max-width: 991.98px) {
  .oreo-hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
  }

  .oreo-section {
    padding: 4.5rem 0;
  }

  .about-image-wrapper {
    margin-top: 2.5rem;
  }
}

/* Mobile (575px) */
@media (max-width: 575.98px) {
  .oreo-hero {
    min-height: 85vh;
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-kicker::before,
  .hero-kicker::after {
    width: 20px;
  }

  .oreo-section {
    padding: 3.5rem 0;
  }

  .oreo-section h2 {
    font-size: 2rem;
  }

  .product-card-body {
    padding: 1.25rem;
  }

  .oreo-cta {
    padding: 3.5rem 0;
  }

  .oreo-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}
