/* OIKANIA: „So wirst du Partner“, „Das hast du davon“ und die Willkommens-Checkliste.
   Eigene Klassen mit pw-Präfix, damit nichts anderes auf der Seite verändert wird. */
.pw { --pw-card: var(--card, #fff); --pw-ink: var(--ink, #171b34); --pw-muted: var(--muted, #4f5470);
  --pw-line: var(--line, #d9dcea); --pw-gold: var(--brass, #b9822c); --pw-gold-soft: var(--brass-soft, #f3e6cf);
  --pw-stage: var(--stage, #1a1f41); color: var(--pw-ink); font-family: "Figtree", "Segoe UI", system-ui, sans-serif; }
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw h2, .pw h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--pw-ink); margin: 0; }
.pw .pw-label { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-gold); }
.pw .pw-lead { color: var(--pw-muted); font-size: 18px; line-height: 1.55; max-width: 640px; margin: 12px 0 0; }

/* Drei Schritte */
.pw-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: pw; }
.pw-steps li { background: var(--pw-card); border: 1px solid var(--pw-line); border-radius: 18px; padding: 20px 20px 18px; position: relative; }
.pw-steps .pw-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pw-stage); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.pw-steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.pw-steps span.pw-t { color: var(--pw-muted); font-size: 15px; line-height: 1.5; }
.pw-steps li:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--pw-gold); border-right: 2px solid var(--pw-gold); transform: rotate(45deg); }

/* Vorteile-Kacheln */
.pw-head2 { margin-top: 44px; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pw-head2 h3 { font-size: clamp(28px, 3.4vw, 40px); }
.pw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 18px; }
.pw-tiles:has(details[open]) { align-items: start; }
.pw-tile { background: var(--pw-card); border: 1px solid var(--pw-line); border-radius: 18px; padding: 18px 18px 14px; display: flex; flex-direction: column; }
.pw-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--pw-gold-soft); color: var(--pw-gold); display: grid; place-items: center; margin-bottom: 12px; }
.pw-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-tile h4 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; }
.pw-tile p { margin: 0; color: var(--pw-muted); font-size: 15px; line-height: 1.5; flex: 1; }
.pw-tile details { margin-top: 12px; border-top: 1px solid var(--pw-line); padding-top: 10px; }
.pw-tile summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--pw-gold); list-style: none; display: flex; align-items: center; gap: 6px; min-height: 32px; }
.pw-tile summary::-webkit-details-marker { display: none; }
.pw-tile summary::after { content: "+"; font-size: 18px; line-height: 1; }
.pw-tile details[open] summary::after { content: "–"; }
.pw-tile ul { list-style: none; margin: 6px 0 0; padding: 0; }
.pw-tile li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; margin: 7px 0; color: var(--pw-ink); }
.pw-tile li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--pw-gold); border-bottom: 2px solid var(--pw-gold); transform: rotate(-45deg); }
.pw-cta { margin-top: 28px; display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.pw-cta small { color: var(--pw-muted); font-size: 15px; }
.pw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--pw-gold); color: #1a1407 !important; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.pw-btn:hover { filter: brightness(1.08); }
.pw-btn.pw-ghost { background: transparent; color: var(--pw-ink) !important; border: 1.5px solid var(--pw-line); }
.pw-claim { margin-top: 18px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 20px; color: var(--pw-muted); }

@media (max-width: 760px) {
  .pw-steps { grid-template-columns: 1fr; gap: 10px; }
  .pw-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 16px; }
  .pw-steps .pw-n { margin: 0; grid-row: span 2; }
  .pw-steps li::after { display: none; }
  .pw-tiles { grid-template-columns: 1fr; }
  .pw-cta .pw-btn { width: 100%; }
}

/* Kompakte Fassung im Tab „Registrieren“ */
.pw-kompakt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pw-line); }
.pw-kompakt h3 { font-size: 22px; margin-bottom: 10px; }
.pw-kompakt .pw-steps { grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
.pw-kompakt .pw-steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 10px 12px; border-radius: 12px; }
.pw-kompakt .pw-steps .pw-n { width: 28px; height: 28px; font-size: 13px; margin: 0; grid-row: span 2; }
.pw-kompakt .pw-steps b { font-size: 15px; margin: 0; }
.pw-kompakt .pw-steps span.pw-t { font-size: 13.5px; }
.pw-kompakt .pw-steps li::after { display: none; }
.pw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.pw-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--pw-gold-soft); color: var(--pw-ink); }
.pw-chips svg { width: 16px; height: 16px; fill: none; stroke: var(--pw-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-mehr { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--pw-gold) !important; }

/* Willkommens-Karte in „Mein Profil“ */
.pw-willkommen { background: var(--pw-card); border: 1px solid var(--pw-line); border-radius: 20px; padding: 22px; margin: 0 0 22px; box-shadow: 0 8px 30px rgba(26, 31, 65, .07); }
.pw-willkommen .pw-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.pw-willkommen h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.pw-willkommen .pw-zu { background: none; border: 0; color: var(--pw-muted); font-size: 14px; cursor: pointer; padding: 6px 8px; font-family: inherit; white-space: nowrap; }
.pw-willkommen .pw-zu:hover { color: var(--pw-ink); text-decoration: underline; }
.pw-willkommen > p { margin: 6px 0 0; color: var(--pw-muted); }
.pw-fort { margin: 16px 0 6px; display: flex; align-items: center; gap: 12px; }
.pw-balken { flex: 1; height: 10px; border-radius: 99px; background: var(--pw-gold-soft); overflow: hidden; }
.pw-balken i { display: block; height: 100%; width: 0; background: var(--pw-gold); border-radius: 99px; transition: width .5s ease; }
.pw-fort b { font-size: 14px; min-width: 92px; text-align: right; }
.pw-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pw-liste li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--pw-line); border-radius: 14px; }
.pw-liste .pw-haken { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--pw-line); display: grid; place-items: center; }
.pw-liste li.ok .pw-haken { background: var(--pw-gold); border-color: var(--pw-gold); }
.pw-liste li.ok .pw-haken::after { content: ""; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translate(0, -1px) rotate(-45deg); }
.pw-liste li.ok { background: rgba(185, 130, 44, .06); }
.pw-liste li.ok .pw-txt b { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.pw-liste .pw-txt b { display: block; font-size: 15.5px; }
.pw-liste .pw-txt span { display: block; font-size: 13.5px; color: var(--pw-muted); line-height: 1.4; }
.pw-liste a.pw-los, .pw-liste button.pw-los { font-size: 14px; font-weight: 700; color: var(--pw-gold) !important; text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 8px 4px; }
.pw-liste li.ok .pw-los { color: var(--pw-muted) !important; font-weight: 500; }
.pw-fertig { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--pw-gold-soft); font-weight: 600; }
@media (max-width: 560px) {
  .pw-willkommen { padding: 16px; border-radius: 16px; }
  .pw-liste li { grid-template-columns: 26px 1fr; row-gap: 2px; padding: 10px 12px 8px; }
  .pw-liste li.ok .pw-los { display: none; }
  .pw-liste .pw-los { grid-column: 2; justify-self: start; padding: 2px 0 0; }
  .pw-fort b { min-width: 0; }
}

/* Kurze Hervorhebung des Abschnitts, zu dem die Checkliste springt */
@keyframes pw-ziel { 0%, 60% { box-shadow: 0 0 0 3px var(--brass, #b9822c); } 100% { box-shadow: 0 0 0 0 rgba(185, 130, 44, 0); } }
.pw-ziel { animation: pw-ziel 2.2s ease-out; }
