/* ==================================================
   ECHELONX – WARUM ECHELONX?
   Separater Startseitenabschnitt
================================================== */

.why-section,
.why-section * {
  box-sizing: border-box;
}

.why-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 12% 18%,
      rgba(255, 255, 255, 0.96),
      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%
    );
}

.why-section::before {
  content: "";

  position: absolute;
  z-index: -2;

  top: -310px;
  right: -270px;

  width: 620px;
  height: 620px;

  border: 1px solid rgba(198, 161, 102, 0.12);
  border-radius: 50%;

  pointer-events: none;
}

.why-section::after {
  content: "X";

  position: absolute;
  z-index: -1;

  left: -38px;
  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;
}

/* ==================================================
   HAUPTCONTAINER
================================================== */

.why-shell {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

/* ==================================================
   ÜBERSCHRIFT
================================================== */

.why-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(55px, 6vw, 82px);
}

.why-heading-left {
  min-width: 0;
}

.why-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;
}

.why-heading h2 {
  max-width: 700px;
  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;
}

.why-heading-text {
  max-width: 670px;
  margin: 0 0 7px;

  color: #625d55;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.76;
}

/* ==================================================
   KARTENRASTER
================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 22px;
}

/* ==================================================
   EINZELNE KARTE
================================================== */

.why-card {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 375px;
  padding: 30px;

  border: 1px solid rgba(198, 161, 102, 0.27);
  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.97),
      rgba(255, 252, 247, 0.9)
    );

  box-shadow:
    0 16px 46px rgba(40, 31, 22, 0.08);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.why-card::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(198, 161, 102, 0.18),
      transparent 46%
    );

  transition: opacity 0.35s ease;

  pointer-events: none;
}

.why-card::after {
  content: "";

  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;

  height: 3px;

  background: #c6a166;

  transform: scaleX(0);
  transform-origin: left center;

  transition: transform 0.35s ease;
}

.why-card:hover {
  border-color: rgba(198, 161, 102, 0.58);

  box-shadow:
    0 28px 82px rgba(40, 31, 22, 0.14);

  transform: translateY(-8px);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover::after {
  transform: scaleX(1);
}

/* ==================================================
   KARTENKOPF
================================================== */

.why-card-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  width: 100%;
  margin-bottom: 42px;
}

.why-number {
  color: rgba(43, 43, 43, 0.42);

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;

  overflow: hidden;

  border: 1px solid rgba(198, 161, 102, 0.4);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.62);
  color: #c6a166;

  transition:
    color 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.why-card:hover .why-icon {
  background: #121212;
  color: #dcc59f;

  transform: rotate(4deg) scale(1.04);
}

.why-icon svg {
  display: block;

  width: 33px;
  height: 33px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-icon svg * {
  fill: none;
  stroke: currentColor;

  vector-effect: non-scaling-stroke;
}

/* ==================================================
   KARTENTEXTE
================================================== */

.why-card h3 {
  position: relative;
  z-index: 2;

  min-height: 72px;
  margin: 0 0 18px;

  color: #121212;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 1.85vw, 33px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.why-card p {
  position: relative;
  z-index: 2;

  margin: 0 0 28px;

  color: #625d55;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.72;
}

/* ==================================================
   KLEINER ABSCHLUS IN DER KARTE
================================================== */

.why-card-note {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  margin-top: auto;
  padding-top: 20px;

  border-top: 1px solid rgba(198, 161, 102, 0.25);

  color: #2f2c28;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.why-card-note::before {
  content: "";

  width: 7px;
  height: 7px;
  flex: 0 0 7px;

  border-radius: 50%;

  background: #c6a166;

  box-shadow:
    0 0 0 4px rgba(198, 161, 102, 0.11);
}

/* ==================================================
   VERTRAUENSZEILE UNTEN
================================================== */

.why-trustline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 0;

  margin-top: 36px;

  border: 1px solid rgba(198, 161, 102, 0.24);
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.52);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.why-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  min-height: 72px;
  padding: 18px 24px;

  border-right: 1px solid rgba(198, 161, 102, 0.22);

  color: #302d29;

  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.why-trust-item:last-child {
  border-right: 0;
}

.why-trust-symbol {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  flex: 0 0 30px;

  border: 1px solid rgba(198, 161, 102, 0.38);
  border-radius: 50%;

  color: #c6a166;

  font-size: 13px;
}

/* ==================================================
   MITTLERE BILDSCHIRME
================================================== */

@media (max-width: 1280px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card {
    min-height: 345px;
  }

  .why-card h3 {
    min-height: 42px;
  }
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {
  .why-section {
    padding:
      85px
      5vw
      90px;
  }

  .why-heading {
    grid-template-columns: 1fr;

    gap: 25px;
    margin-bottom: 50px;
  }

  .why-heading-text {
    max-width: 760px;
  }

  .why-trustline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-trust-item:nth-child(2) {
    border-right: 0;
  }

  .why-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(198, 161, 102, 0.22);
  }
}

/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 650px) {
  .why-section {
    padding:
      72px
      22px
      78px;
  }

  .why-section::after {
    left: -55px;
    bottom: -95px;

    font-size: 250px;
  }

  .why-heading {
    margin-bottom: 40px;
  }

  .why-heading h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .why-heading-text {
    font-size: 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 330px;
    padding: 27px;
  }

  .why-card-top {
    margin-bottom: 35px;
  }

  .why-card h3 {
    min-height: 0;
  }

  .why-card::after {
    left: 27px;
    right: 27px;
  }

  .why-trustline {
    grid-template-columns: 1fr;
  }

  .why-trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(198, 161, 102, 0.22);
  }

  .why-trust-item:last-child {
    border-bottom: 0;
  }
}

/* ==================================================
   REDUZIERTE BEWEGUNG
================================================== */

@media (prefers-reduced-motion: reduce) {
  .why-card,
  .why-card::before,
  .why-card::after,
  .why-icon {
    transition: none;
  }
}