/* ==========================================================================
   QRTasse – Process (2 Spalten, Timeline rechts, Mobile unten)
   Rhythmus CI-konsistent: Eyebrow -> H2 -> Lead -> CTA -> Note -> FAQ
   ========================================================================== */

.process {
  background: var(--warm);
  padding: clamp(2.4rem, 6vw, 4.6rem) 0;
}

.process .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* links schmaler, rechts Timeline breiter */
  gap: clamp(1.6rem, 4vw, 2.4rem);
  align-items: start;
}

/* ---------- Linke Spalte: Kopf, CTA, Hinweis, FAQ ---------- */
.process__left { align-self: start; }

/* Eyebrow im Hero-Stil + definierter Abstand */
.process__left .hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: .25rem .6rem;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff; border-radius: 999px;
  color: var(--muted); font-size: .85rem;
  margin: 0 0 var(--space-2);
}
.process__left .hero-eyebrow i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block;
}

/* Typo-Rhythmus */
.process__left h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15; color: var(--ink);
}
.process__left .lead {
  margin: 0 0 var(--space-3);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 60ch;
}

/* CTA direkt unter der Lead – enger */
.process__cta .btn { margin: 0 0 var(--space-2); }

/* Hinweistext vor dem FAQ */
.process__note {
  margin: var(--space-3) 0 var(--space-2);
  color: var(--muted);
}

/* FAQ-Kacheln */
.process__faq {
  margin-top: var(--space-2);
  display: grid; gap: var(--space-2);
}
.process__faq details {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--r-m);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-soft);
  transition: max-height .6s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  overflow: hidden;
}
.process__faq details:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.12);
}
.process__faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex; align-items: center; gap: var(--space-2);
}
.process__faq summary::-webkit-details-marker { display: none; }
.process__faq summary i { font-size: 1.2rem; color: var(--gold); }
.process__faq p {
  margin: var(--space-2) 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.process__faq details[open]  { max-height: 500px; }
.process__faq details:not([open]) { max-height: 60px; }

/* ---------- Rechte Spalte (Timeline) ---------- */
.process__right { position: relative; }

.process__rail {
  position: absolute; top: 0; bottom: 0; left: 60px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(201,165,72,0) 0%,
    rgba(201,165,72,.85) 10%,
    rgba(201,165,72,.85) 90%,
    rgba(201,165,72,0) 100%
  );
  border-radius: 999px; pointer-events: none;
}

.process__item {
  position: relative;
  margin: 0 0 var(--space-4);
}
.process__item:last-child { margin-bottom: 0; }

.process__badge {
  position: absolute; left: 60px; top: 50%;
  transform: translate(-50%,-50%); z-index: 2;
  height: 38px; min-width: 46px; padding: 0 .85rem;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-500) 100%);
  color: #1c1a14; font-weight: 700; font-size: .92rem;
  border-radius: var(--r-s);
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.process__card {
  margin-left: 120px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--r-l);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-soft);
}
.process__card h3 {
  margin: .12rem 0 var(--space-2);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}
.process__card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Mobile (<980px) ---------- */
@media (max-width: 979.98px) {
  .process .wrap { grid-template-columns: 1fr; }
  .process__right { order: 2; padding-top: var(--space-3); }
  .process__rail  { left: 28px; }
  .process__badge { left: 28px; height: 34px; min-width: 42px; font-size: .9rem; }
  .process__card  { margin-left: 72px; }
  .process__faq details:not([open]) { max-height: 60px; }
}
