/* Ergänzungen für Landingpage, rechtliche Seiten und Formular */
.skip { position: absolute; left: -999px; top: 0; background: var(--sage); color: var(--petrol-deep); padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
a.brand { color: inherit; text-decoration: none; width: fit-content; }

/* So funktioniert's */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 1px 2px rgba(33,64,75,.06), 0 14px 40px -18px rgba(33,64,75,.28); position: relative; }
.step-card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--petrol); color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.25rem; color: var(--petrol); }
.step-card p { color: var(--muted); margin: 0; }

/* FAQ */
details.faq { background: var(--white); border-radius: 18px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(33,64,75,.06), 0 10px 30px -20px rgba(33,64,75,.3); overflow: hidden; }
details.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 22px; font-weight: 700; color: var(--petrol); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol); transform: rotate(45deg); transition: transform .35s var(--ease); }
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.faq summary:focus-visible { outline: 3px solid var(--sage); outline-offset: -3px; }
details.faq .ans { padding: 0 22px 22px; color: var(--muted); animation: fadeUp .45s var(--ease); }
details.faq .ans p { margin: 0 0 .7em; }

/* Abschluss-CTA und Footer */
.final { background: radial-gradient(120% 100% at 80% 0%, var(--petrol-2), var(--petrol-deep)); color: var(--white); border-radius: 36px; padding: 56px 28px; text-align: center; position: relative; overflow: hidden; }
.final h2 { color: var(--white); font-size: clamp(1.8rem, 5.5vw, 2.7rem); position: relative; }
.final p { color: #d3e2db; max-width: 520px; margin: 0 auto 1.8em; position: relative; }
.final .btn { position: relative; }
.foot { padding: 36px 0 56px; font-size: .88rem; color: var(--muted); }
.foot a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.foot p { margin: 0 0 .6em; }

/* Rechtliche Seiten */
.legal { padding: 8px 0 80px; }
.legal-top { background: var(--petrol); color: var(--white); padding-bottom: 36px; }
.legal-top h1 { font-size: clamp(2rem, 7vw, 3rem); margin: 6px 0 0; }
.legal-body { background: var(--white); border-radius: var(--radius); padding: 32px 28px; margin-top: -18px; position: relative; box-shadow: 0 20px 50px -30px rgba(22,48,58,.5); }
.legal-body h2 { font-size: 1.35rem; color: var(--petrol); margin-top: 1.6em; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: #33484f; }
.legal-body a { color: var(--petrol); }
.ph { background: #fff1b8; border: 1px dashed #c9a400; border-radius: 6px; padding: 0 6px; color: #5a4800; }
.draft { background: #fff1b8; border: 1px solid #c9a400; border-radius: 12px; padding: 14px 18px; margin: 0 0 28px; color: #5a4800; font-size: .95rem; }

/* Quiz-Ergänzungen */
.notice { background: var(--white); border-left: 4px solid var(--sage); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-size: .95rem; color: #33484f; }
.btn[disabled] { opacity: .6; cursor: progress; }
.nojs { max-width: 560px; margin: 20vh auto; padding: 0 20px; text-align: center; }

/* Überschriften-Ebenen im Quiz (h2/h3 statt h1/h2, damit pro Seite genau eine h1 bleibt) */
.result-hero h2 .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordIn .9s var(--ease) forwards; }
.rcard h3 { font-size: 1.4rem; color: var(--petrol); }
.rcard.accent h3 { color: var(--petrol-deep); }
.rcard.step h3 { color: var(--white); }
.cta h3 { color: var(--white); font-size: clamp(1.6rem, 5vw, 2.2rem); position: relative; }

/* Logo */
.brand-logo { display: block; width: min(250px, 64vw); height: auto; }
a.brand { padding: 20px 0; }
.quiz-brand { padding: 18px 0 4px; position: relative; z-index: 5; }
.quiz-brand .brand-logo { width: min(200px, 54vw); }
.foot .brand-logo { width: 200px; margin-bottom: 16px; }
.about { flex-wrap: wrap; gap: 26px; }
.about .brand-logo { width: min(260px, 100%); flex: none; }
.about > div { flex: 1 1 280px; }
.about .btn { margin-top: 14px; }

/* Ergebnisseite nach Guide */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 4vw, 1.75rem); line-height: 1.3; color: var(--petrol-deep); margin: 0; }
.rcard .small { font-size: .92rem; color: #b7cbc3; margin: 16px 0 0; }
.rcard.why { background: var(--petrol-deep); color: #d3e2db; }
.rcard.why h3 { color: #fff; }
.rcard.why p { color: #d3e2db; }
.brow { grid-template-columns: 1fr 84px; }
.brow strong { font-weight: 700; color: var(--petrol); }
.bridge { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--sage) !important; margin-bottom: 1em !important; }
.cta .alt { font-size: .9rem; margin: 16px auto 0; color: #b7cbc3; }
.cta .alt a { color: #fff; }
.q-title.stmt { font-size: clamp(1.35rem, 4.4vw, 1.95rem); }
.btn.ghost { background: transparent; color: var(--petrol); box-shadow: inset 0 0 0 2px var(--petrol); }
.btn.ghost:hover { background: var(--petrol); color: #fff; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; background: radial-gradient(100% 80% at 50% 30%, var(--petrol-2), var(--petrol-deep)); color: var(--white); padding: 24px; }
.nf h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.nf p { color: #d3e2db; margin-bottom: 1.6em; }
