/* ═══════════════════════════════════════════
   Winkelhaus Sticky Feature Section
   assets/style.css
═══════════════════════════════════════════ */

/* ── WOOD TEXTURES ────────────────────────── */
.wk-wood-eiche {
  background:
    repeating-linear-gradient(88deg,
      transparent 0px, transparent 4px,
      rgba(180,130,60,.09) 4px, rgba(180,130,60,.09) 5px,
      transparent 5px, transparent 14px,
      rgba(140,90,30,.13) 14px, rgba(140,90,30,.13) 15px,
      transparent 15px, transparent 26px,
      rgba(160,110,50,.06) 26px, rgba(160,110,50,.06) 28px),
    repeating-linear-gradient(92deg,
      transparent 0px, transparent 70px,
      rgba(180,130,60,.04) 70px, rgba(180,130,60,.04) 72px),
    linear-gradient(175deg,
      #d4a04a 0%, #b87828 14%, #d09040 26%,
      #9e6820 40%, #bc7c30 54%,
      #daa848 64%, #9e6c20 76%,
      #c48438 87%, #ae7030 100%);
  filter: contrast(1.08) saturate(1.12) brightness(1.08);
}
.wk-wood-nussbaum {
  background:
    repeating-linear-gradient(86deg,
      transparent 0px, transparent 7px,
      rgba(80,50,20,.11) 7px, rgba(80,50,20,.11) 8px,
      transparent 8px, transparent 18px,
      rgba(60,35,12,.15) 18px, rgba(60,35,12,.15) 20px,
      transparent 20px, transparent 32px),
    linear-gradient(170deg,
      #7a4828 0%, #623818 16%, #8a5430 30%,
      #522e10 46%, #784428 58%, #5c3418 70%,
      #8a5632 82%, #6a4028 100%);
  filter: contrast(1.12) saturate(1.08) brightness(1.05);
}
.wk-wood-buche {
  background:
    repeating-linear-gradient(89deg,
      transparent 0px, transparent 9px,
      rgba(200,165,100,.08) 9px, rgba(200,165,100,.08) 10px,
      transparent 10px, transparent 24px,
      rgba(210,175,110,.1) 24px, rgba(210,175,110,.1) 25px,
      transparent 25px, transparent 40px),
    linear-gradient(168deg,
      #dcc080 0%, #ccaa68 16%, #e4c888 28%,
      #bea058 44%, #d6b878 56%, #c6a870 68%,
      #dfc688 80%, #c8a878 100%);
  filter: contrast(1.06) saturate(1.04) brightness(1.06);
}
/* custom image wood */
.wk-wood-custom {
  background-size: cover;
  background-position: center;
}

/* sheen animation */
@keyframes wk-sheen {
  from { transform: translateX(-12%); }
  to   { transform: translateX(12%);  }
}

/* ── LAYOUT ───────────────────────────────── */
.wk-sf-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

/* ── LEFT ─────────────────────────────────── */
.wk-sf-left {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background-color: #f5f5f7;
}

/* Wood card */
.wk-wood-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 2px 0 rgba(255,255,255,.8) inset,
    0 24px 80px rgba(180,130,60,.14),
    0 4px 16px rgba(0,0,0,.07);
}
.wk-wood-fill {
  width: 100%;
  height: 100%;
  transition: opacity .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wk-wood-sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg,
    transparent 18%,
    rgba(255,255,255,.11) 40%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.11) 60%,
    transparent 82%);
  animation: wk-sheen 7s ease-in-out infinite alternate;
}
.wk-wood-vig {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 38%, rgba(0,0,0,.13) 100%);
}

/* Floating chip */
.wk-wood-chip {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 980px;
  padding: 6px 14px;
  border: .5px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.wk-wc-name {
  font-size: .72rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -.01em;
  display: block;
}
.wk-wc-origin {
  font-size: .62rem;
  font-weight: 400;
  color: #6e6e73;
}

/* Step dots */
.wk-step-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.wk-step-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  transition: background .3s, transform .3s;
}
.wk-step-dot.on {
  background: #1d1d1f;
  transform: scale(1.35);
}

/* ── RIGHT ────────────────────────────────── */
.wk-sf-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  background-color: #ffffff;
}

/* Feature block */
.wk-feature {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  .85s cubic-bezier(0.16, 1, 0.3, 1),
    transform .85s cubic-bezier(0.16, 1, 0.3, 1);
}
.wk-feature.wk-on { opacity: 1; transform: none; }

/* divider between features */
.wk-feature + .wk-feature { border-top: .5px solid #e8e8ed; }

/* Step label */
.wk-feat-step {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b0b0b7;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wk-feat-step::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: #cc1b1b;
  flex-shrink: 0;
}

/* Headline */
.wk-feat-h {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
  color: #1d1d1f;
  margin-bottom: 20px;
}
/* Accent span inside headline */
.wk-acc { color: #cc1b1b; }

/* Body */
.wk-feat-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.72;
  color: #6e6e73;
  max-width: 400px;
  margin-bottom: 32px;
}

/* Pill tag */
.wk-feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 500;
  color: #424245;
  padding: 9px 18px;
  background: #f5f5f7;
  border-radius: 980px;
  border: .5px solid #e8e8ed;
  width: fit-content;
  transition: background .2s;
}
.wk-feat-tag:hover { background: #e8e8ed; }
.wk-feat-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #cc1b1b;
  flex-shrink: 0;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 860px) {
  .wk-sf-wrap { grid-template-columns: 1fr; }

  .wk-sf-left {
    position: relative;
    height: auto;
    padding: 40px 24px;
  }
  .wk-sf-right {
    padding: 40px 24px;
  }

  .wk-feature {
    height: auto;
    min-height: 70vh;
  }
  .wk-feature + .wk-feature { border-top: none; }

  .wk-wood-card { max-width: 100%; }
}

/* Elementor editor: make sticky work inside preview */
.elementor-editor-active .wk-sf-left { position: relative; height: auto; }
.elementor-editor-active .wk-feature { opacity: 1; transform: none; height: auto; min-height: auto; padding: 48px 0; }
