/* ════════════════════════════════════════
   GESCHICHTE.CSS — Vom Feuer zum Genuss
   Eigenständiges Stylesheet für die History-Seite,
   passend zum bestehenden Design-System (Barlow / Metallic-Gold #D0A852 / Dunkel)
   ════════════════════════════════════════ */

/* ── NAV (spiegelt menu-nav / hero-nav) ── */
.menu-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 24px 48px;
}

.menu-nav__logo {
  width: 33.333%;
  display: flex;
  justify-content: center;
}

.menu-nav__logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.nav__menu-trigger {
  width: 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  letter-spacing: .25em;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.nav__menu-trigger .nav-menu__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav__menu-trigger .nav-menu__lines span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
}

/* ── METALLIC GOLD TEXT (statisch, ohne Shimmer) ── */
.gold-metallic-text {
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ── HERO ── */
.history-hero {
  position: relative;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
  background: #0a0a0a;
}

.history-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.history-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  animation: heroZoom 28s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.history-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,.95) 0%, rgba(8,8,8,.35) 55%, rgba(8,8,8,.55) 100%);
}

.history-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 32px 64px;
}

.history-hero__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp .9s cubic-bezier(0.76,0,0.24,1) .2s forwards;
}

.history-hero__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -.03em;
  line-height: .98;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .9s cubic-bezier(0.76,0,0.24,1) .35s forwards;
}

.history-hero__sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp .9s cubic-bezier(0.76,0,0.24,1) .5s forwards;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .history-hero__video { animation: none; }
  .history-hero__eyebrow,
  .history-hero__title,
  .history-hero__sub { animation: none; opacity: 1; transform: none; }
}

/* ── REVEAL-ON-SCROLL UTILITIES ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.76,0,0.24,1);
}

.reveal--left  { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Gestaffeltes Einblenden für Gruppen (Prozess-Schritte, Stats, Galerie) */
.reveal-group > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s cubic-bezier(0.76,0,0.24,1);
}

.reveal-group.visible > * {
  opacity: 1;
  transform: none;
}

.reveal-group.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: .36s; }

/* ── STORY (Split: Bild / Text) ── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: #0d0d0d;
}

.story__media {
  height: 100%;
  min-height: 460px;
  overflow: hidden;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story__content {
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.story__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.story__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: #fff;
}

.story__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.story__text p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}

.story__text strong {
  font-weight: 600;
  font-style: italic;
  color: #fff;
}

/* ── MEINE GESCHICHTE (persönliche Story) ── */
.journey {
  position: relative;
  background: #0a0a0a;
  padding: 140px 32px;
  overflow: hidden;
}

/* Fliegende Zutaten-Bilder (Deko, animiert) */
.journey__ingredients {
  position: absolute;
  inset: 0;
  z-index: 2; /* über dem Text */
  pointer-events: none;
}

.journey__ingredient {
  position: absolute;
  width: clamp(120px, 14vw, 230px);
  mix-blend-mode: screen;
  opacity: 0;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.7));
  transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1),
              transform 1.2s cubic-bezier(0.16,1,0.3,1);
}

/* nah an die journey__body (max-width 680px, zentriert) heranrücken,
   sodass die Bilder die Textspalte oben links/rechts leicht überlappen */
.journey__ingredient--1 { top: 12%;  left: 30%;  transform: translate(-120px,-70px) rotate(-22deg) scale(.8); }
.journey__ingredient--2 { top: 30%;   right: 35%; transform: translate(130px,-50px)  rotate(16deg)  scale(.8); }
.journey__ingredient--3 { bottom: 15%; left: 30%;  transform: translate(-130px,60px)  rotate(18deg)  scale(.8); }
.journey__ingredient--4 { bottom: 4%; right: 30%; transform: translate(120px,70px)  rotate(-14deg) scale(.8); }

.journey__ingredients.visible .journey__ingredient--1 { opacity: .85; transform: rotate(-9deg) scale(1); transition-delay: 0s; }
.journey__ingredients.visible .journey__ingredient--2 { opacity: .85; transform: rotate(7deg)  scale(1); transition-delay: .15s; }
.journey__ingredients.visible .journey__ingredient--3 { opacity: .85; transform: rotate(8deg)  scale(1); transition-delay: .3s; }
.journey__ingredients.visible .journey__ingredient--4 { opacity: .85; transform: rotate(-7deg) scale(1); transition-delay: .45s; }

.journey__header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.journey__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.journey__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
}

.journey__body {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.journey__body p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.95;
  color: rgba(255,255,255,.78);
  text-align: left;
  letter-spacing: .01em;
}

.journey__year {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.7em;
  line-height: 1;
  background: linear-gradient(100deg, #8A6C2C 0%, #D0A852 35%, #F7ECC0 55%, #D0A852 75%, #8A6C2C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: 0 2px;
}

.journey__highlight {
  font-family: 'Barlow', sans-serif !important;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem) !important;
  line-height: 1.35 !important;
  letter-spacing: -.01em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  margin: 10px 0;
  text-align: center;
}

.journey__quote {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
  color: rgba(255,255,255,.85) !important;
  text-align: center;
  padding: 28px 32px;
  border-top: 1px solid rgba(208,168,82,.25);
  border-bottom: 1px solid rgba(208,168,82,.25);
}

/* ── WELTMEISTERSCHAFT ── */
.championship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: #0d0d0d;
}

.championship__media {
  height: 100%;
  min-height: 460px;
  overflow: hidden;
}

.championship__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.championship__content {
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.championship__badge {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.championship__badge-num {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #8A6C2C 0%, #D0A852 30%, #F7ECC0 52%, #D0A852 74%, #8A6C2C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.championship__badge-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
}

/* ── PROZESS: "Vom Feuer zum Genuss" ── */
.process {
  background: #080808;
  padding: 110px 64px;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(208,168,82,.2), transparent);
}

.process__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.process__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.process__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -.02em;
  color: #fff;
}

.process__grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process__step {
  position: relative;
  padding: 0 36px;
  border-left: 1px solid rgba(255,255,255,.08);
}

.process__step:first-child {
  border-left: none;
  padding-left: 0;
}

.process__num {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(208,168,82,.5);
  margin-bottom: 24px;
}

.process__step-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 12px;
}

.process__step-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
}

/* ── STATS ── */
.stats {
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 64px;
}

.stats__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,.06);
}

.stat:first-child {
  border-left: none;
}

.stat__value {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #8A6C2C 0%, #D0A852 30%, #F7ECC0 52%, #D0A852 74%, #8A6C2C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ── GALERIE ── */
.gallery {
  background: #080808;
  padding: 110px 64px;
}

.gallery__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.gallery__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.gallery__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -.02em;
  color: #fff;
}

.gallery__grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 55%);
  pointer-events: none;
}

/* ── CTA ── */
.cta {
  background: #0a0a0a;
  padding: 120px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(208,168,82,.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta__eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #7A5F26 0%, #C79B3B 20%, #F7ECC0 38%, #D0A852 55%, #8A6C2C 75%, #C79B3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.cta__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  color: #fff;
}

.cta__text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  max-width: 520px;
}

.cta__actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 36px;
  }

  .process__step {
    border-left: none;
    padding: 0;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: 32px;
  }
}

@media (max-width: 900px) {
  .story,
  .championship {
    grid-template-columns: 1fr;
  }

  .story__media,
  .championship__media {
    min-height: 320px;
    order: -1;
  }

  .story__content,
  .championship__content {
    padding: 56px 32px;
  }

  .journey {
    padding: 100px 24px;
  }

  .journey__quote {
    padding: 24px 16px;
  }

  .journey__ingredient { width: clamp(80px, 22vw, 140px); }
  .journey__ingredient--1 { top: -2%;  left: 2%; }
  .journey__ingredient--2 { top: 6%;   right: 2%; }
  .journey__ingredient--3 { bottom: 4%; left: 2%; }
  .journey__ingredient--4 { bottom: -2%; right: 2%; }

  .process,
  .gallery,
  .cta {
    padding: 80px 32px;
  }

  .stats {
    padding: 48px 32px;
  }
}

@media (max-width: 760px) {
  .menu-nav {
    position: fixed;
    background: rgba(6, 6, 6, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 24px;
  }

  .menu-nav__logo-img {
    height: 48px;
  }

  .nav__menu-trigger {
    font-size: .68rem;
  }

  .history-hero {
    height: 70vh;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .cta__actions {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .process__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }

  .stat {
    border-left: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: 24px;
  }

  .stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item {
    aspect-ratio: 4 / 3;
  }

  .journey__ingredients {
    display: none;
  }
}

@media (max-width: 480px) {
  .menu-nav {
    padding: 14px 20px;
  }

  .menu-nav__logo-img {
    height: 40px;
  }

  .story__content {
    padding: 48px 24px;
    gap: 20px;
  }
}