/* Anleitung „formbar einrichten“ (/anleitung) – nutzt Tokens aus base.css und Karten/Buttons aus portal.css */
.guide-page .wrap { max-width: 860px; }
.gp-hero { margin-bottom: 28px; }
.gp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 8px !important; }
.gp-hero h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.035em; }
.gp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gp-toc a { font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--muted); padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--card-ring); transition: color 0.2s, box-shadow 0.2s; }
.gp-toc a:hover, .gp-toc a:focus-visible { color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-soft-2), var(--shadow-sm); }

.gp-card { padding: clamp(20px, 3.4vw, 30px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--card-ring); margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
.gp-card h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.gp-card p { color: var(--muted); line-height: 1.6; margin: 0 0 12px !important; }
.gp-card p:last-child { margin-bottom: 0 !important; }
.gp-card code { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--text); overflow-wrap: anywhere; }
.gp-card a:not(.btn) { color: var(--accent-text); font-weight: 600; }
.gp-card b { color: var(--text); }

.gp-check, .gp-bullets { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 12px; }
.gp-check li, .gp-bullets li { position: relative; padding-left: 30px; color: var(--muted); line-height: 1.55; }
.gp-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft-2);
  -webkit-mask: none; }
.gp-check li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.gp-bullets li { padding-left: 22px; }
.gp-bullets li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

.gp-tip { margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); color: var(--muted); line-height: 1.55; font-size: 14.5px; }

.gp-steps { list-style: none; margin: 0; padding: 0; }
.gp-step { display: flex; gap: 18px; align-items: flex-start; }
.gp-step > div { min-width: 0; flex: 1; }
.gp-num { flex: none; width: 40px; height: 40px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(228, 74, 216, 0.6); }
.gp-note { font-size: 14px; color: var(--faint) !important; }

.gp-mini { margin: 6px 0 14px; padding-left: 22px; display: grid; gap: 8px; color: var(--muted); line-height: 1.55; }
.gp-mini li::marker { color: var(--accent-text); font-weight: 700; }

.gp-more { border-top: 1px solid var(--line); padding: 2px 0; }
.gp-more:last-of-type { border-bottom: 1px solid var(--line); }
.gp-card > .gp-more:first-of-type { margin-top: 6px; }
.gp-step .gp-more { margin-bottom: 0; }
.gp-step .gp-more + p, .gp-step .gp-more + .gp-more { margin-top: 0; }
.gp-more summary { cursor: pointer; list-style: none; padding: 12px 28px 12px 0; position: relative; font-weight: 600; color: var(--text); font-size: 15px; }
.gp-more summary::-webkit-details-marker { display: none; }
.gp-more summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.gp-more[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.gp-more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.gp-more > p, .gp-more > .gp-mini { margin-top: 0; padding-bottom: 6px; }

.gp-help { margin-top: 8px; }

@media (max-width: 560px) {
  .gp-step { flex-direction: column; gap: 12px; }
  .gp-num { width: 34px; height: 34px; border-radius: 12px; font-size: 16px; }
  .gp-toc a { font-size: 13px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .gp-more summary::after, .gp-toc a { transition: none; } }
