/* ==================================================
   ECHELONX – SO ARBEITEN WIR
================================================== */

.process-section,
.process-section * {
  box-sizing: border-box;
}

.process-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;

  padding:
    clamp(90px, 9vw, 140px)
    5.8vw
    clamp(95px, 9vw, 140px);

  border-top: 1px solid rgba(198, 161, 102, 0.18);

  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(255, 255, 255, 0.95),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(198, 161, 102, 0.1),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #fffefa 0%,
      #f8f4ed 48%,
      #f1ebe2 100%
    );
}

.process-section::before {
  content: "";
  position: absolute;
  z-index: -2;

  top: -290px;
  right: -250px;

  width: 590px;
  height: 590px;

  border: 1px solid rgba(198, 161, 102, 0.12);
  border-radius: 50%;

  pointer-events: none;
}

.process-section::after {
  content: "X";
  position: absolute;
  z-index: -1;

  left: -45px;
  bottom: -175px;

  color: rgba(198, 161, 102, 0.045);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 430px;
  font-weight: 700;
  line-height: 1;

  pointer-events: none;
}

/* ==================================================
   CONTAINER
================================================== */

.process-shell {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

/* ==================================================
   ÜBERSCHRIFT
================================================== */

.process-heading {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.9fr)
    minmax(440px, 1.1fr);
  align-items: end;

  gap: clamp(40px, 7vw, 110px);

  margin-bottom: clamp(58px, 6vw, 84px);
}

.process-heading-left {
  min-width: 0;
}

.process-kicker {
  margin: 0 0 20px;

  color: #c6a166;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.process-heading h2 {
  max-width: 720px;
  margin: 0;

  color: #121212;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.7vw, 74px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.process-heading-text {
  max-width: 680px;
  margin: 0 0 7px;

  color: #625d55;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.76;
}

/* ==================================================
   PROZESSLINIE
================================================== */

.process-timeline {
  position: relative;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 0;

  width: 100%;
}

.process-timeline::before {
  content: "";
  position: absolute;
  z-index: 0;

  top: 38px;
  left: calc(100% / 12);
  right: calc(100% / 12);

  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(198, 161, 102, 0.18),
    rgba(198, 161, 102, 0.7),
    rgba(198, 161, 102, 0.18)
  );
}

/* ==================================================
   EINZELNER SCHRITT
================================================== */

.process-step {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  padding: 0 14px;

  text-align: center;
}

.process-marker {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 76px;
  height: 76px;
  margin-bottom: 26px;

  border: 1px solid rgba(198, 161, 102, 0.42);
  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 250, 242, 0.93)
    );

  color: #c6a166;

  box-shadow:
    0 12px 32px rgba(40, 31, 22, 0.08);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.process-step:hover .process-marker {
  background: #121212;
  color: #dcc59f;

  box-shadow:
    0 20px 46px rgba(40, 31, 22, 0.16);

  transform: translateY(-5px) scale(1.04);
}

.process-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.process-content {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  min-height: 250px;
  padding: 28px 22px 24px;

  border: 1px solid rgba(198, 161, 102, 0.24);
  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.97),
      rgba(255, 252, 247, 0.9)
    );

  box-shadow:
    0 14px 40px rgba(40, 31, 22, 0.07);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.process-content::before {
  content: "";

  position: absolute;
  top: -10px;
  left: 50%;

  width: 18px;
  height: 18px;

  border-top: 1px solid rgba(198, 161, 102, 0.24);
  border-left: 1px solid rgba(198, 161, 102, 0.24);

  background: rgba(255, 253, 249, 0.96);

  transform: translateX(-50%) rotate(45deg);
}

.process-step:hover .process-content {
  border-color: rgba(198, 161, 102, 0.55);

  box-shadow:
    0 24px 68px rgba(40, 31, 22, 0.13);

  transform: translateY(-4px);
}

.process-content h3 {
  margin: 0 0 14px;

  color: #121212;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 1.55vw, 29px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.process-content p {
  margin: 0;

  color: #625d55;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.72;
}

.process-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: auto;
  padding-top: 18px;

  color: #302d29;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.process-note::before {
  content: "";

  width: 6px;
  height: 6px;
  flex: 0 0 6px;

  border-radius: 50%;

  background: #c6a166;

  box-shadow:
    0 0 0 4px rgba(198, 161, 102, 0.1);
}

/* ==================================================
   ABSCHLUSSBOX
================================================== */

.process-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;

  gap: 30px;

  margin-top: 48px;
  padding: 34px 38px;

  border: 1px solid rgba(198, 161, 102, 0.28);
  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(248, 243, 235, 0.9)
    );

  box-shadow:
    0 18px 54px rgba(40, 31, 22, 0.08);
}

.process-cta-copy h3 {
  margin: 0 0 8px;

  color: #121212;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}

.process-cta-copy p {
  max-width: 720px;
  margin: 0;

  color: #625d55;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.process-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  min-height: 58px;
  padding: 0 26px;

  border: 1px solid #121212;
  border-radius: 3px;

  background: #121212;
  color: #dcc59f;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.process-cta-button:hover {
  background: #2a241d;

  box-shadow:
    0 14px 34px rgba(18, 18, 18, 0.14);

  transform: translateY(-2px);
}

.process-cta-button span {
  color: #c6a166;
  font-size: 18px;
}

/* ==================================================
   MITTLERE BILDSCHIRME
================================================== */

@media (max-width: 1280px) {
  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 22px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-content {
    min-height: 230px;
  }
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {
  .process-section {
    padding:
      85px
      5vw
      90px;
  }

  .process-heading {
    grid-template-columns: 1fr;

    gap: 25px;
    margin-bottom: 52px;
  }

  .process-heading-text {
    max-width: 760px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-cta {
    grid-template-columns: 1fr;
  }

  .process-cta-button {
    justify-self: start;
  }
}

/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 650px) {
  .process-section {
    padding:
      72px
      22px
      78px;
  }

  .process-section::after {
    left: -55px;
    bottom: -95px;

    font-size: 250px;
  }

  .process-heading {
    margin-bottom: 42px;
  }

  .process-heading h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .process-heading-text {
    font-size: 16px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: start;

    gap: 16px;

    padding: 0;
    text-align: left;
  }

  .process-marker {
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .process-content {
    min-height: 0;
    padding: 24px 22px;
  }

  .process-content::before {
    top: 24px;
    left: -9px;

    transform: rotate(-45deg);
  }

  .process-note {
    justify-content: flex-start;
  }

  .process-cta {
    padding: 28px 24px;
  }

  .process-cta-button {
    width: 100%;
  }
}

/* ==================================================
   REDUZIERTE BEWEGUNG
================================================== */

@media (prefers-reduced-motion: reduce) {
  .process-marker,
  .process-content,
  .process-cta-button {
    transition: none;
  }
}