/* =============================================
   THOKS.CSS – Thoks Microsite Design System
   B+F Bakery & Food GmbH – Eigenmarke Thoks (Standort Issum)
   CI aus Logo: Sonnen-Gelb + Tiefrot-Ribbon + Dunkelbraun
   Stil: Warm, traditionell, handwerklich, appetitlich
   ============================================= */

/* ----- CSS Custom Properties ----- */
:root {
  /* Thoks Brand Colors – abgeleitet aus thoks.png */
  --thoks-red:          #A6262C;   /* Ribbon-Rot */
  --thoks-red-light:    #C43037;
  --thoks-red-dark:     #7E1C21;
  --thoks-red-deep:     #5C1217;

  --thoks-yellow:       #F4BA3A;   /* Sonnen-Gelb */
  --thoks-yellow-light: #F8CE64;
  --thoks-yellow-soft:  #FCE6A6;
  --thoks-yellow-dark:  #D99A1F;

  --thoks-brown:        #2B1510;   /* Outline-Braun */
  --thoks-brown-light:  #4A2A20;

  /* Backgrounds */
  --thoks-cream:        #FFF7E6;
  --thoks-cream-soft:   #FFFCF3;
  --thoks-paper:        #FAF2DC;
  --thoks-bg-dark:      #2B1510;

  /* Text */
  --thoks-text:         #2B1510;
  --thoks-text-muted:   #6B4A3D;
  --thoks-text-light:   #FFF7E6;

  /* System */
  --thoks-radius:       0.75rem;
  --thoks-radius-lg:    1.25rem;
  --thoks-radius-xl:    1.75rem;
  --thoks-shadow-sm:    0 2px 8px rgba(43, 21, 16, 0.08);
  --thoks-shadow:       0 6px 24px rgba(43, 21, 16, 0.12);
  --thoks-shadow-lg:    0 14px 42px rgba(43, 21, 16, 0.18);
  --thoks-shadow-red:   0 8px 24px rgba(166, 38, 44, 0.25);

  /* 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(--thoks-cream);
  color: var(--thoks-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--thoks-brown);
}


/* ----- 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; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }


/* =============================================
   NAVBAR
   ============================================= */
.navbar-thoks {
  background: rgba(255, 247, 230, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--thoks-red);
  padding: 0.6rem 0;
  box-shadow: var(--thoks-shadow-sm);
}

.navbar-thoks .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--thoks-brown);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-thoks .brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.navbar-thoks .back-link {
  color: var(--thoks-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.navbar-thoks .back-link:hover {
  color: var(--thoks-red);
}

.navbar-thoks .navbar-toggler {
  border: 1px solid rgba(43, 21, 16, 0.18);
  padding: 0.35rem 0.6rem;
}


/* =============================================
   HERO
   ============================================= */
.thoks-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(244, 186, 58, 0.45) 0%, transparent 55%),
    linear-gradient(165deg, var(--thoks-cream) 0%, var(--thoks-paper) 60%, var(--thoks-yellow-soft) 100%);
}

/* Ribbon-Akzent oben links */
.thoks-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg,
    var(--thoks-red) 0%,
    var(--thoks-red-dark) 30%,
    var(--thoks-yellow) 55%,
    var(--thoks-yellow-dark) 80%,
    var(--thoks-red) 100%);
}

/* Dekorative Sonne rechts */
.thoks-hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--thoks-yellow) 0%,
    var(--thoks-yellow-light) 40%,
    transparent 72%);
  opacity: 0.45;
  pointer-events: none;
  filter: blur(8px);
}

.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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.thoks-hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 220px;
  width: 55%;
  height: auto;
  margin: 0 auto 1.75rem;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(43, 21, 16, 0.22));
}

.hero-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--thoks-red);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-kicker::before,
.hero-kicker::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--thoks-red);
  opacity: 0.55;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--thoks-brown);
}
.hero-title em {
  font-style: italic;
  color: var(--thoks-red);
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--thoks-red-dark);
  margin-bottom: 1.75rem;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--thoks-text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-thoks {
  background: linear-gradient(135deg, var(--thoks-red), var(--thoks-red-dark));
  color: var(--thoks-text-light);
  border: none;
  padding: 0.9rem 2.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: var(--thoks-shadow-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-thoks:hover {
  background: linear-gradient(135deg, var(--thoks-red-light), var(--thoks-red));
  color: var(--thoks-text-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(166, 38, 44, 0.35);
}

.btn-thoks-yellow {
  background: linear-gradient(135deg, var(--thoks-yellow), var(--thoks-yellow-dark));
  color: var(--thoks-brown);
  border: none;
  padding: 0.9rem 2.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 6px 20px rgba(217, 154, 31, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-thoks-yellow:hover {
  background: linear-gradient(135deg, var(--thoks-yellow-light), var(--thoks-yellow));
  color: var(--thoks-brown);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 154, 31, 0.42);
}

.btn-thoks-outline {
  background: transparent;
  color: var(--thoks-red);
  border: 2px solid var(--thoks-red);
  padding: 0.85rem 2.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: all 0.35s var(--ease-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-thoks-outline:hover {
  background: var(--thoks-red);
  color: var(--thoks-text-light);
  transform: translateY(-2px);
  box-shadow: var(--thoks-shadow-red);
}

.hero-buttons {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--thoks-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.scroll-indicator .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--thoks-red) 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
   ============================================= */
.thoks-section {
  padding: 6rem 0;
  position: relative;
}

.section-kicker-thoks {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--thoks-red);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section-kicker-thoks::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--thoks-red);
}

.thoks-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.thoks-section .section-text {
  color: var(--thoks-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 620px;
}


/* =============================================
   UEBER THOKS
   ============================================= */
.about-section {
  background: var(--thoks-cream);
}

.about-image-wrapper {
  border-radius: var(--thoks-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--thoks-shadow-lg);
  background: var(--thoks-yellow-soft);
}
.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}
.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, transparent 50%, rgba(166, 38, 44, 0.25) 100%);
  pointer-events: none;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border-radius: var(--thoks-radius);
  border-left: 4px solid var(--thoks-yellow);
  box-shadow: var(--thoks-shadow-sm);
}
.about-highlight i {
  font-size: 1.6rem;
  color: var(--thoks-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.about-highlight strong {
  display: block;
  color: var(--thoks-brown);
  margin-bottom: 0.25rem;
  font-size: 1.02rem;
}
.about-highlight p {
  color: var(--thoks-text-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}


/* =============================================
   HERITAGE-STREIFEN (Tradition)
   ============================================= */
.heritage-strip {
  background: linear-gradient(90deg, var(--thoks-red-deep) 0%, var(--thoks-red) 50%, var(--thoks-red-dark) 100%);
  padding: 3rem 0;
  color: var(--thoks-text-light);
  position: relative;
  overflow: hidden;
}
.heritage-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(244, 186, 58, 0.18), transparent 55%);
  pointer-events: none;
}
.heritage-strip .container {
  position: relative;
  z-index: 1;
}
.heritage-item {
  text-align: center;
}
.heritage-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--thoks-yellow);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.heritage-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 247, 230, 0.85);
}


/* =============================================
   PRODUKTE
   ============================================= */
.products-section {
  background: linear-gradient(180deg, var(--thoks-cream-soft) 0%, var(--thoks-paper) 100%);
}

.product-card-thoks {
  background: #fff;
  border-radius: var(--thoks-radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: var(--thoks-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(43, 21, 16, 0.06);
  position: relative;
}
.product-card-thoks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--thoks-yellow), var(--thoks-red));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}
.product-card-thoks:hover {
  transform: translateY(-8px);
  box-shadow: var(--thoks-shadow-lg);
  border-color: rgba(166, 38, 44, 0.25);
}
.product-card-thoks:hover::before {
  opacity: 1;
}

.product-img-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--thoks-yellow-soft) 0%, var(--thoks-yellow-light) 100%);
  aspect-ratio: 4/3;
}
.product-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card-thoks:hover .product-img-area img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--thoks-red);
  color: var(--thoks-text-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  box-shadow: var(--thoks-shadow-red);
}
.product-badge.yellow {
  background: var(--thoks-yellow);
  color: var(--thoks-brown);
  box-shadow: 0 6px 18px rgba(217, 154, 31, 0.35);
}

.product-card-body {
  padding: 1.6rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--thoks-brown);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.product-card-body .product-desc {
  color: var(--thoks-text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  flex: 1;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(43, 21, 16, 0.15);
}
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--thoks-yellow-soft);
  color: var(--thoks-brown);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.product-tag i {
  font-size: 0.9rem;
  color: var(--thoks-red);
}


/* =============================================
   STANDORT ISSUM
   ============================================= */
.location-section {
  background: var(--thoks-bg-dark);
  color: var(--thoks-text-light);
  position: relative;
  overflow: hidden;
}
.location-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 186, 58, 0.18), transparent 70%);
  pointer-events: none;
}
.location-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 38, 44, 0.2), transparent 70%);
  pointer-events: none;
}
.location-section .container {
  position: relative;
  z-index: 1;
}
.location-section .section-kicker-thoks {
  color: var(--thoks-yellow);
}
.location-section .section-kicker-thoks::before {
  background: var(--thoks-yellow);
}
.location-section h2 {
  color: var(--thoks-text-light);
}
.location-section .section-text {
  color: rgba(255, 247, 230, 0.72);
}

.location-card {
  background: rgba(255, 247, 230, 0.06);
  border: 1px solid rgba(244, 186, 58, 0.2);
  border-radius: var(--thoks-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  height: 100%;
}
.location-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--thoks-yellow);
  margin-bottom: 0.4rem;
}
.location-card .location-role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 247, 230, 0.6);
  margin-bottom: 1.25rem;
}
.location-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.location-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 247, 230, 0.08);
  color: rgba(255, 247, 230, 0.88);
  font-size: 0.95rem;
}
.location-facts li:last-child { border-bottom: none; }
.location-facts i {
  color: var(--thoks-yellow);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.location-map {
  border-radius: var(--thoks-radius-lg);
  overflow: hidden;
  box-shadow: var(--thoks-shadow-lg);
  border: 1px solid rgba(244, 186, 58, 0.2);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}


/* =============================================
   CTA BANNER
   ============================================= */
.thoks-cta {
  background:
    radial-gradient(circle at 20% 30%, rgba(244, 186, 58, 0.35), transparent 55%),
    linear-gradient(135deg, var(--thoks-red-deep) 0%, var(--thoks-red) 55%, var(--thoks-red-dark) 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--thoks-text-light);
}
.thoks-cta::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 186, 58, 0.28), transparent 70%);
  pointer-events: none;
}
.thoks-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.thoks-cta p {
  color: rgba(255, 247, 230, 0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.thoks-cta .container {
  position: relative;
  z-index: 1;
}


/* =============================================
   FOOTER
   ============================================= */
.thoks-footer {
  background: var(--thoks-bg-dark);
  border-top: 4px solid var(--thoks-yellow);
  padding: 2.5rem 0;
}
.thoks-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.thoks-footer .footer-copy {
  color: rgba(255, 247, 230, 0.7);
  font-size: 0.88rem;
  margin: 0;
}
.thoks-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.thoks-footer .footer-links a {
  color: rgba(255, 247, 230, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.thoks-footer .footer-links a:hover {
  color: var(--thoks-yellow);
}


/* =============================================
   DIVIDERS
   ============================================= */
.thoks-divider {
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--thoks-red) 22%,
    var(--thoks-yellow-dark) 50%,
    var(--thoks-red-dark) 78%,
    transparent 100%);
  opacity: 0.4;
  border: none;
  margin: 0;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .thoks-hero { min-height: 92vh; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 4rem); }
  .thoks-section { padding: 4.5rem 0; }
  .about-image-wrapper { margin-top: 2.5rem; }
  .location-map iframe { height: 340px; }
  .location-card { margin-top: 2rem; }
}

@media (max-width: 575.98px) {
  .thoks-hero { min-height: 85vh; padding: 3rem 0; }
  .hero-logo { max-width: 170px; width: 50%; margin-bottom: 1.25rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-text { font-size: 0.95rem; }
  .hero-kicker::before, .hero-kicker::after { width: 18px; }

  .thoks-section { padding: 3.5rem 0; }
  .thoks-section h2 { font-size: 1.8rem; }

  .heritage-strip { padding: 2rem 0; }
  .heritage-item { margin: 0.6rem 0; }

  .product-card-body { padding: 1.25rem; }

  .location-card { padding: 1.5rem; }
  .location-card h3 { font-size: 1.4rem; }

  .thoks-cta { padding: 3.5rem 0; }
  .thoks-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .scroll-indicator { display: none; }
}
