/* ============================================
   Werkwijze Page — Stylesheet
   ============================================ */

.page-werkwijze {
  background: var(--dark);
  color: var(--white);
}

/* --- Shared --- */
.wk-section {
  padding: 100px 0;
  position: relative;
}

.wk-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.wk-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}

.wk-section-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ============================================
   Section 1: Hero
   ============================================ */
.wk-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.wk-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wk-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.wk-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(13, 13, 13, 0.88) 0%,
      rgba(13, 13, 13, 0.7) 40%,
      rgba(13, 13, 13, 0.55) 60%,
      rgba(13, 13, 13, 0.65) 100%
    ),
    linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.5) 0%,
      transparent 30%,
      transparent 70%,
      rgba(13, 13, 13, 0.95) 100%
    ),
    radial-gradient(
      ellipse at 20% 50%,
      rgba(27, 60, 45, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 30%,
      rgba(196, 165, 90, 0.06) 0%,
      transparent 50%
    );
}

.wk-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.wk-hero-content .wk-tag {
  opacity: 0;
  transform: translateY(15px);
  animation: wkReveal 0.7s ease-out 0.2s forwards;
}

.wk-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: wkReveal 0.7s ease-out 0.4s forwards;
}

.wk-hero-content > p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  animation: wkReveal 0.7s ease-out 0.6s forwards;
}

.wk-hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: wkReveal 0.7s ease-out 0.8s forwards;
}

.wk-hero-scroll span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wk-scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  animation: wkBounce 2s ease-in-out infinite;
}

.wk-scroll-arrow svg { width: 16px; height: 16px; }

@keyframes wkBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

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

/* ============================================
   Section 2: Timeline
   ============================================ */
.wk-timeline-section {
  background: var(--dark);
}

.wk-timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.wk-timeline-line {
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.06);
}

.wk-timeline-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  transition: height 0.1s linear;
}

/* Step */
.wk-step {
  display: flex;
  gap: 32px;
  padding-bottom: 56px;
  position: relative;
}

.wk-step:last-child { padding-bottom: 0; }

.wk-step-marker {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.wk-step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wk-step-dot span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  transition: color 0.4s ease;
}

.wk-step.visible .wk-step-dot {
  border-color: var(--gold);
  background: rgba(196, 165, 90, 0.08);
  box-shadow: 0 0 20px rgba(196, 165, 90, 0.15);
}

.wk-step.visible .wk-step-dot span {
  color: var(--gold);
}

/* Step content */
.wk-step-content {
  padding-top: 6px;
}

.wk-step-icon {
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.15);
  margin-bottom: 16px;
  transition: color 0.5s ease;
}

.wk-step.visible .wk-step-icon {
  color: var(--gold);
}

.wk-step-content h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.wk-step-content > p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 16px;
}

.wk-step-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-step-detail svg { width: 12px; height: 12px; flex-shrink: 0; }

.wk-step-detail span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3px;
}

/* ============================================
   Section 3: Promises
   ============================================ */
.wk-promises {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.wk-promises-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.wk-promise {
  padding: 44px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.4s ease;
}

.wk-promise:hover {
  background: rgba(255,255,255,0.02);
}

.wk-promise-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(196, 165, 90, 0.15);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.4s ease;
}

.wk-promise:hover .wk-promise-number {
  color: rgba(196, 165, 90, 0.35);
}

.wk-promise-content h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.wk-promise-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* ============================================
   Section 4: Materials
   ============================================ */
.wk-materials {
  background: var(--dark);
}

.wk-materials-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.wk-materials-content h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.wk-materials-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 36px;
}

.wk-material-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wk-material-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.wk-material-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.wk-material-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 4px;
}

.wk-material-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

/* Color swatches */
.wk-materials-visual {
  display: flex;
  justify-content: center;
}

.wk-color-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 280px;
}

.wk-color-swatch {
  aspect-ratio: 1;
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.wk-color-swatch:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.wk-color-swatch:nth-child(even):hover {
  transform: scale(1.08) rotate(2deg);
}

/* Stagger animation */
.wk-materials-visual.visible .wk-color-swatch {
  animation: swatchPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.wk-color-swatch:nth-child(1) { animation-delay: 0.1s; }
.wk-color-swatch:nth-child(2) { animation-delay: 0.2s; }
.wk-color-swatch:nth-child(3) { animation-delay: 0.3s; }
.wk-color-swatch:nth-child(4) { animation-delay: 0.4s; }
.wk-color-swatch:nth-child(5) { animation-delay: 0.5s; }
.wk-color-swatch:nth-child(6) { animation-delay: 0.6s; }

@keyframes swatchPop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================
   Section 5: FAQ
   ============================================ */
.wk-faq {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.wk-faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.wk-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wk-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.wk-faq-question span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.wk-faq-question:hover span {
  color: var(--white);
}

/* Animated plus/minus icon */
.wk-faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.wk-faq-icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wk-faq-icon span:first-child {
  transform: translate(-50%, -50%);
}

.wk-faq-icon span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.wk-faq-item.open .wk-faq-icon span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Answer */
.wk-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wk-faq-item.open .wk-faq-answer {
  max-height: 200px;
}

.wk-faq-answer p {
  padding-bottom: 24px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 580px;
}

/* ============================================
   Section 6: CTA
   ============================================ */
.wk-cta {
  padding: 80px 0 100px;
}

.wk-cta-box {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green) 0%, #0f2a1e 100%);
  overflow: hidden;
}

.wk-cta-glow {
  position: absolute;
  top: -60%;
  right: -20%;
  width: 60%;
  height: 220%;
  background: radial-gradient(ellipse, rgba(196, 165, 90, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: wkCtaGlow 8s ease-in-out infinite;
}

@keyframes wkCtaGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.wk-cta-box .wk-tag { position: relative; }

.wk-cta-box h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  position: relative;
}

.wk-cta-box p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 36px;
  position: relative;
}

.wk-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.wk-cta-actions .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.wk-cta-actions .btn-outline:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .wk-materials-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wk-color-stack { width: 240px; }
}

@media (max-width: 768px) {
  .wk-section { padding: 72px 0; }

  .wk-hero { min-height: 70vh; }

  .wk-promises-grid { grid-template-columns: 1fr; }

  .wk-promise { padding: 32px 24px; }

  .wk-step { gap: 20px; }
  .wk-step-dot { width: 40px; height: 40px; }
  .wk-step-dot span { font-size: 0.75rem; }
  .wk-timeline-line { left: 19px; }

  .wk-cta-box { padding: 56px 24px; }
  .wk-cta-actions { flex-direction: column; align-items: center; }
  .wk-cta-actions .btn { width: 260px; }
}

@media (max-width: 480px) {
  .wk-hero-content h1 { font-size: 2rem; }
  .wk-color-stack { width: 200px; gap: 12px; }
}
