/* =============================================
   DAIM.CSS – Daim Microsite Design System
   B+F Bakery & Food GmbH – Lizenzmarke Daim
   Stil: Dunkel, satt, kraftvoll – Schokoladen-Atmosphaere
   ============================================= */

/* ----- CSS Custom Properties ----- */
:root {
  /* Daim Brand Colors */
  --daim-red:          #C8111A;
  --daim-red-light:    #E0242D;
  --daim-red-dark:     #9E0D14;
  --daim-orange:       #E8630A;
  --daim-orange-light: #F07D2E;
  --daim-caramel:      #C8993F;
  --daim-caramel-light:#E2B964;

  /* Backgrounds */
  --daim-bg-dark:      #1A0500;
  --daim-bg-medium:    #2D0A00;
  --daim-bg-card:      #3A1205;
  --daim-bg-card-hover:#4A1A08;

  /* Text */
  --daim-text-light:   #FFF5E6;
  --daim-text-muted:   rgba(255, 245, 230, 0.65);
  --daim-text-dark:    #120200;

  /* System */
  --daim-radius:       0.75rem;
  --daim-radius-lg:    1.25rem;
  --daim-radius-xl:    1.75rem;
  --daim-shadow:       0 4px 24px rgba(0, 0, 0, 0.3);
  --daim-shadow-lg:    0 12px 40px rgba(0, 0, 0, 0.4);
  --daim-shadow-glow:  0 0 30px rgba(200, 17, 26, 0.15);

  /* 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(--daim-bg-dark);
  color: var(--daim-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-daim {
  background: rgba(26, 5, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--daim-red);
  padding: 0.6rem 0;
  transition: background 0.3s ease;
}

.navbar-daim .navbar-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--daim-text-light);
  letter-spacing: 0.08em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-daim .navbar-brand .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--daim-red);
  display: inline-block;
}

.navbar-daim .back-link {
  color: var(--daim-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-daim .back-link:hover {
  color: var(--daim-caramel);
}

.navbar-daim .navbar-toggler {
  border: 1px solid rgba(255, 245, 230, 0.2);
  padding: 0.35rem 0.6rem;
}

.navbar-daim .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}


/* =============================================
   HERO
   ============================================= */
.daim-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    var(--daim-bg-dark) 0%,
    #2A0800 30%,
    var(--daim-bg-medium) 60%,
    #1A0300 100%
  );
}

/* Diagonal accent lines */
.daim-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 800px;
  background: linear-gradient(
    135deg,
    rgba(200, 17, 26, 0.08) 0%,
    rgba(232, 99, 10, 0.04) 50%,
    transparent 100%
  );
  transform: rotate(-15deg);
  pointer-events: none;
}

.daim-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(200, 153, 63, 0.06) 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;
}

.daim-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(--daim-caramel);
  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(--daim-caramel);
  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(--daim-text-light) 0%,
    var(--daim-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(--daim-orange);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--daim-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-daim {
  background: linear-gradient(135deg, var(--daim-red), var(--daim-red-dark));
  color: var(--daim-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(200, 17, 26, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-daim:hover {
  background: linear-gradient(135deg, var(--daim-red-light), var(--daim-red));
  color: var(--daim-text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 17, 26, 0.4);
}

.btn-daim-outline {
  background: transparent;
  color: var(--daim-caramel);
  border: 2px solid var(--daim-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-daim-outline:hover {
  background: var(--daim-caramel);
  color: var(--daim-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 153, 63, 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(--daim-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(--daim-caramel) 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
   ============================================= */
.daim-section {
  padding: 6rem 0;
  position: relative;
}

.section-kicker-daim {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--daim-caramel);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-kicker-daim::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--daim-caramel);
}

.daim-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--daim-text-light);
  margin-bottom: 1.25rem;
}

.daim-section .section-text {
  color: var(--daim-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
}


/* =============================================
   UEBER DAIM – About Section
   ============================================= */
.about-section {
  background: var(--daim-bg-dark);
}

.about-image-wrapper {
  border-radius: var(--daim-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--daim-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(200, 17, 26, 0.2) 100%
  );
  pointer-events: none;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--daim-bg-card);
  border-radius: var(--daim-radius);
  border-left: 3px solid var(--daim-caramel);
}

.about-highlight i {
  font-size: 1.5rem;
  color: var(--daim-caramel);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-highlight strong {
  display: block;
  color: var(--daim-text-light);
  margin-bottom: 0.25rem;
}

.about-highlight p {
  color: var(--daim-text-muted);
  font-size: 0.9rem;
  margin: 0;
}


/* =============================================
   PRODUKTE – Product Grid
   ============================================= */
.products-section {
  background: linear-gradient(
    180deg,
    var(--daim-bg-medium) 0%,
    var(--daim-bg-dark) 100%
  );
}

.product-card-daim {
  background: var(--daim-bg-card);
  border-radius: var(--daim-radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: var(--daim-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200, 17, 26, 0.08);
}

.product-card-daim:hover {
  background: var(--daim-bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--daim-shadow-lg), var(--daim-shadow-glow);
  border-color: rgba(200, 17, 26, 0.2);
}

.product-card-daim .product-img-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #2D0A00 0%,
    #3A1205 100%
  );
  aspect-ratio: 4/3;
}

.product-card-daim .product-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card-daim:hover .product-img-area img {
  transform: scale(1.05);
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--daim-red);
  color: var(--daim-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(--daim-text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.product-card-body .product-desc {
  color: var(--daim-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(--daim-caramel);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 245, 230, 0.08);
}

.product-weight i {
  font-size: 1rem;
}


/* =============================================
   CTA BANNER
   ============================================= */
.daim-cta {
  background: linear-gradient(
    135deg,
    #0F2640 0%,
    #1B3A5C 40%,
    #0F2640 100%
  );
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.daim-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 153, 63, 0.08), transparent 70%);
  pointer-events: none;
}

.daim-cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 17, 26, 0.06), transparent 70%);
  pointer-events: none;
}

.daim-cta h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.daim-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}


/* =============================================
   FOOTER
   ============================================= */
.daim-footer {
  background: var(--daim-bg-dark);
  border-top: 1px solid rgba(200, 17, 26, 0.15);
  padding: 2.5rem 0;
}

.daim-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.daim-footer .footer-copy {
  color: var(--daim-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.daim-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.daim-footer .footer-links a {
  color: var(--daim-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.daim-footer .footer-links a:hover {
  color: var(--daim-caramel);
}


/* =============================================
   DIVIDERS
   ============================================= */
.daim-divider {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--daim-red) 20%,
    var(--daim-orange) 50%,
    var(--daim-caramel) 80%,
    transparent 100%
  );
  opacity: 0.3;
  border: none;
  margin: 0;
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet (768px) */
@media (max-width: 991.98px) {
  .daim-hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
  }

  .daim-section {
    padding: 4.5rem 0;
  }

  .about-image-wrapper {
    margin-top: 2.5rem;
  }
}

/* Mobile (575px) */
@media (max-width: 575.98px) {
  .daim-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;
  }

  .daim-section {
    padding: 3.5rem 0;
  }

  .daim-section h2 {
    font-size: 2rem;
  }

  .product-card-body {
    padding: 1.25rem;
  }

  .daim-cta {
    padding: 3.5rem 0;
  }

  .daim-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}
