/* Flagship offer / decision-tree page. Loaded only on /angebot. */

/* ---------- Backbone legend ---------- */
.offer-backbone {
  margin-top: clamp(28px, 5vw, 48px); padding: 20px 24px;
  border: 1px solid var(--line); border-radius: 16px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: color-mix(in oklab, var(--bg-base) 50%, transparent);
}
.bb-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.bb-steps { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.bb-steps li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--fg-2); }
.bb-steps li:not(:last-child)::after { content: "→"; color: var(--fg-3); margin-left: 6px; }
.bb-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.7rem; color: var(--accent); border: 1px solid var(--line-2); }
.bb-hint { width: 100%; margin: 2px 0 0; font-size: 0.85rem; color: var(--fg-3); }

/* ---------- Paths grid ---------- */
.offer-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; align-items: stretch; }
@media (max-width: 900px) { .offer-paths { grid-template-columns: 1fr; } }

.offer-path { position: relative; padding: 28px; border-radius: 18px; display: flex; flex-direction: column; }
.offer-path.featured {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 28%, transparent), 0 30px 70px -42px var(--accent);
}
.op-badge {
  position: absolute; top: -11px; left: 28px; background: var(--accent); color: #04122e;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
html[data-theme="light"] .op-badge { color: #fff; }
.op-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.op-head h2 { font-size: 1.5rem; font-weight: 500; margin: 8px 0 0; letter-spacing: -0.01em; }
.op-for { color: var(--fg-2); margin: 8px 0 0; line-height: 1.5; font-size: 0.95rem; }

/* Included-steps rail */
.op-rail { list-style: none; margin: 22px 0 0; padding: 0; }
.op-rail li { position: relative; padding: 0 0 16px 26px; font-size: 0.95rem; color: var(--fg); line-height: 1.3; }
.op-rail li:last-child { padding-bottom: 0; }
.op-rail li .rd { position: absolute; left: 0; top: 2px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--accent); background: var(--accent); }
.op-rail li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 15px; bottom: 0; width: 1.5px; background: var(--line-2); }
.op-rail li em { font-style: normal; color: var(--fg-3); font-size: 0.85em; }
.op-rail li.off { color: var(--fg-3); }
.op-rail li.off .rd { background: transparent; border-color: var(--line-2); }
.op-rail li.off:not(:last-child)::before { background: repeating-linear-gradient(var(--line-2) 0 3px, transparent 3px 6px); }
.op-rail li.opt { color: var(--fg-2); }
.op-rail li.opt .rd { background: transparent; border-color: var(--accent); }

.op-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.op-result-label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.op-result p { margin: 8px 0 0; color: var(--fg-2); line-height: 1.6; font-size: 0.95rem; }
.op-result strong { color: var(--fg); font-weight: 500; }

.op-guarantee { margin: 18px 0 0; display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--fg-2); line-height: 1.5; }
.op-shield { color: var(--accent); font-weight: 700; flex-shrink: 0; }

.op-cta { margin-top: auto; align-self: flex-start; }
.op-cta:not(.btn-primary) { padding-top: 22px; }
.offer-path .op-cta { margin-top: 24px; }
.offer-path { } /* equal-height cards via grid stretch; CTA flows after guarantee */

/* ---------- Guarantee bar ---------- */
.offer-guarantee {
  margin-top: clamp(44px, 6vw, 76px); padding: clamp(28px, 4vw, 46px); border-radius: 20px;
  display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(24px, 4vw, 48px); align-items: start;
}
@media (max-width: 820px) { .offer-guarantee { grid-template-columns: 1fr; } }
.og-head .headline { margin-top: 14px; }
.og-points { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; align-self: center; }
.og-points li { position: relative; padding-left: 28px; color: var(--fg-2); line-height: 1.6; }
.og-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.og-points strong { color: var(--fg); font-weight: 600; }

/* ---------- Long-term note ---------- */
.offer-after { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.oa-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); display: block; margin-bottom: 12px; }
.offer-after p { color: var(--fg-2); line-height: 1.65; max-width: 72ch; margin: 0; }
.offer-after strong { color: var(--fg); }
