/* ==========================================================================
   Seite «Methode» – seitenspezifische Styles (Präfix .p-methode)
   ========================================================================== */

/* Phasen-Layout: Navigation links (sticky), Inhalte rechts */
.p-methode .phases {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 1024px) {
  .p-methode .phases { grid-template-columns: 1fr; gap: 32px; }
}

.p-methode .phase-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.p-methode .phase-nav a {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: baseline;
  padding: 14px 16px; border-radius: var(--radius-sm);
  color: var(--fg-2); text-decoration: none;
  border: 1px solid transparent;
  transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease-out);
}
.p-methode .phase-nav a .num { font-family: var(--font-display); font-size: 1.25rem; color: var(--accent-2); line-height: 1; }
.p-methode .phase-nav a strong { display: block; font-weight: 600; }
.p-methode .phase-nav a small { display: block; color: var(--fg-3); font-size: .8rem; margin-top: 4px; letter-spacing: .04em; }
.p-methode .phase-nav a:hover { color: inherit; background: var(--surface); border-color: var(--line); }
.p-methode .phase-nav a.is-active { color: inherit; background: var(--surface); border-color: var(--line-strong); transform: translateX(4px); }
.p-methode .phase-nav__note { margin-top: 22px; }
@media (max-width: 1024px) {
  .p-methode .phase-nav { grid-template-columns: repeat(2, 1fr); }
  .p-methode .phase-nav a { padding: 12px 14px; }
  .p-methode .phase-nav a.is-active { transform: none; }
  .p-methode .phase-nav__note { display: none; }
}
@media (max-width: 560px) {
  .p-methode .phase-nav { grid-template-columns: 1fr; }
}

/* Einzelne Phase */
.p-methode .phase {
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.p-methode .phase:first-child { border-top: 0; padding-top: 0; }
.p-methode .phase:last-child { padding-bottom: 0; }
.p-methode .phase h3 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); margin: 14px 0 16px; max-width: 18ch; }
.p-methode .phase__goal { max-width: 60ch; }
.p-methode .phase__label {
  display: block; margin: 30px 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
.p-methode .phase .check-list { max-width: 62ch; }
.p-methode .phase__result { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.p-methode .phase__result .pill { max-width: 100%; white-space: normal; text-align: left; }

/* Reporting-Karten auf Papier: kompakter */
.p-methode .report-card h3 { font-size: 1.15rem; }
.p-methode .report-card p { font-size: .95rem; margin: 0; }

/* «Was Sie bekommen»-Box */
.p-methode .deliver { padding: clamp(28px, 3.5vw, 44px); }
.p-methode .deliver h3 { margin-bottom: 20px; }
.p-methode .deliver .check-list { gap: 14px; }

/* Sechs Schritte: etwas mehr Luft für lange Beschreibungen */
.p-methode .journey .feature-list p { max-width: 58ch; }

/* ==========================================================================
   Bewerben per WhatsApp – Zeitachse (SVG) und stilisierter Chat-Verlauf
   ========================================================================== */
.p-methode .wa {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
@media (max-width: 1024px) {
  .p-methode .wa { grid-template-columns: 1fr; gap: 36px; }
}

/* --- Zeitachse ----------------------------------------------------------- */
.p-methode .wa-rail { width: 100%; max-width: 340px; height: auto; }
@media (max-width: 1024px) {
  .p-methode .wa-rail { max-width: 380px; }
}
.p-methode .wa-rail__track { stroke: var(--line-strong); }
.p-methode .wa-rail__prog {
  stroke: var(--accent);
  transition: none;
}
.p-methode .wa-rail__ring {
  stroke: var(--line-strong); fill: var(--ink-900);
  transition: stroke .45s var(--ease-out);
}
.p-methode .wa-rail__dot { fill: var(--mist-700); transition: fill .45s var(--ease-out); }
.p-methode .wa-rail__t {
  fill: var(--fg); font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  transition: fill .45s var(--ease-out);
}
.p-methode .wa-rail__s { fill: var(--fg-3); font-family: var(--font-sans); font-size: 13px; }
/* Ausgangszustand nur mit JS: gedimmt, bis der Scroll die Station erreicht */
.p-methode .wa-rail.is-armed .wa-rail__ring { stroke: var(--line); }
.p-methode .wa-rail.is-armed .wa-rail__dot { fill: var(--ink-600); }
.p-methode .wa-rail.is-armed .wa-rail__t { fill: var(--fg-3); }
.p-methode .wa-rail.is-armed .wa-rail__st.is-on .wa-rail__ring { stroke: var(--accent); }
.p-methode .wa-rail.is-armed .wa-rail__st.is-on .wa-rail__dot { fill: var(--accent); }
.p-methode .wa-rail.is-armed .wa-rail__st.is-on .wa-rail__t { fill: var(--fg); }
.p-methode .wa__note { margin-top: 26px; max-width: 42ch; }
@media (min-width: 1025px) {
  .p-methode .wa__side { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* --- Chat-Verlauf -------------------------------------------------------- */
.p-methode .wa__chat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  padding: clamp(18px, 2.4vw, 28px);
}
.p-methode .wa-chat__head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.p-methode .wa-chat__ico {
  flex: none; width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--accent-2);
}
.p-methode .wa-chat__ico svg { width: 22px; height: 22px; }
.p-methode .wa-chat__id { display: block; }
.p-methode .wa-chat__name { display: block; font-size: 1rem; line-height: 1.3; }
.p-methode .wa-chat__sub { display: block; font-size: .78rem; color: var(--fg-3); letter-spacing: .04em; }

.p-methode .wa-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.p-methode .wa-msg {
  max-width: 88%; justify-self: start;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.p-methode .wa-msg--me { justify-self: end; }
.p-methode .wa-msg.is-off { opacity: 0; transform: translateY(14px); }
.p-methode .wa-msg__b {
  margin: 0; padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: var(--ink-700);
  font-size: .95rem; line-height: 1.55;
}
.p-methode .wa-msg--me .wa-msg__b {
  border-radius: 18px 18px 6px 18px;
  background: rgba(52, 216, 176, .13);
  border-color: rgba(52, 216, 176, .30);
}
.p-methode .wa-msg__m {
  margin: 6px 4px 0; font-size: .72rem; letter-spacing: .06em;
  color: var(--fg-3); text-transform: uppercase;
}
.p-methode .wa-msg--me .wa-msg__m { text-align: right; }
@media (max-width: 560px) {
  .p-methode .wa-msg { max-width: 94%; }
}

/* --- Vorteile, Handlungsaufruf, Querverweise ----------------------------- */
.p-methode .wa-ben { padding-top: clamp(22px, 2.6vw, 30px); }
.p-methode .wa-ben__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--accent-2);
}
.p-methode .wa-ben__ico svg { width: 26px; height: 26px; }
.p-methode .wa-ben h3 { font-size: 1.15rem; margin-bottom: 10px; }
.p-methode .wa-ben p { font-size: .95rem; margin: 0; }

.p-methode .wa__cta {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
}
.p-methode .wa__cta p { margin: 0; max-width: 46ch; }

.p-methode .wa__links {
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 38px;
}
