/* GODBYE.DE – statisches Stylesheet
   Keine externen Ressourcen, keine Webfonts, keine Cookies. */

:root {
  color-scheme: light dark;

  /* Grundton ist das Petrol des Logos (#013742), Akzent ein warmes Bernstein.
     Alle Textfarben erreichen mindestens 4,5:1 auf ihrem Untergrund (WCAG AA). */
  --bg:            #f2f6f7;
  --card:          #ffffff;
  --card-soft:     #e3edf0;
  --ink:           #12262b;
  --ink-soft:      #46626a;
  --brand:         #013742;
  --brand-2:       #06515f;
  --on-brand:      #e9f3f5;
  --on-brand-soft: #a9cdd5;
  --accent:        #0b6b7d;
  --accent-hover:  #084f5d;
  --accent-soft:   rgba(11, 107, 125, .12);
  --amber:         #f4b642;
  --amber-ink:     #7a4d00;
  --amber-bg:      #fff1d4;
  --line:          rgba(1, 55, 66, .16);
  --line-strong:   rgba(1, 55, 66, .4);
  --shadow:        0 1px 2px rgba(1, 55, 66, .08), 0 8px 24px rgba(1, 55, 66, .10);
  --ok-ink:        #14532d;
  --ok-bg:         #dcf5e6;
  --err-ink:       #9b1c1c;
  --err-bg:        #fdeaea;
  --header-bg:     rgba(242, 246, 247, .92);
  --focus:         #0b6b7d;

  --wrap:   1120px;
  --radius: 10px;
  --font:   system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Dunkelmodus folgt der Systemeinstellung. Bewusst ohne Umschalter: der
   bräuchte einen Speicher im Browser, und die Datenschutzerklärung sagt zu
   Recht, dass hier nichts gespeichert wird. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #0a191d;
    --card:          #10262c;
    --card-soft:     #17333a;
    --ink:           #e4eef0;
    --ink-soft:      #a4bcc2;
    --brand:         #03242c;
    --brand-2:       #0a3f4a;
    --on-brand:      #e9f3f5;
    --on-brand-soft: #9fc6cf;
    --accent:        #7fd3e3;
    --accent-hover:  #aee6f0;
    --accent-soft:   rgba(127, 211, 227, .16);
    --amber:         #f4b642;
    --amber-ink:     #ffd27a;
    --amber-bg:      #3a2b0a;
    --line:          rgba(228, 238, 240, .16);
    --line-strong:   rgba(228, 238, 240, .42);
    --shadow:        0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .4);
    --ok-ink:        #a9e6c0;
    --ok-bg:         #12331f;
    --err-ink:       #ffb4b4;
    --err-bg:        #3d1717;
    --header-bg:     rgba(10, 25, 29, .92);
    --focus:         #f4b642;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word; /* lange Wörter und Adressen auf schmalen Bildschirmen umbrechen */
}

/* ---------- Grundelemente ---------- */

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); margin: 1.4em 0 .4em; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
small, .hint { font-size: .92rem; color: var(--ink-soft); }
.hint { margin: .4rem 0 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: var(--on-brand); padding: .6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--on-brand); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 72ch); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; white-space: nowrap;
  clip-path: inset(50%); border: 0;
}

.tag { color: var(--accent); font-weight: 800; }

/* ---------- Kopfbereich ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  padding: .55rem 0;
}
.site-logo {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
}
.site-logo img { width: 44px; height: 44px; border-radius: 10px; }
.site-logo__text { font-weight: 800; letter-spacing: -.01em; font-size: 1.3rem; }
.site-logo__text span { color: var(--accent); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .1rem 1rem; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-block; padding: .35rem .15rem;
  color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent-hover); border-bottom-color: currentColor; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav .is-external::after { content: "↗"; font-size: .8em; margin-left: .2em; }

@media (max-width: 700px) {
  .site-header__inner { justify-content: center; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav ul { justify-content: center; gap: .1rem .8rem; }
  .site-nav a { font-size: .95rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--on-brand);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero__inner { position: relative; z-index: 1; max-width: 62ch; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .tag { color: var(--amber); }
.hero__kicker {
  margin: 0 0 1rem; font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-brand-soft);
}
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.5; max-width: 58ch; }
.hero a { color: #fff; }
.hero a:hover, .hero a:focus-visible { color: var(--on-brand-soft); }
.hero :focus-visible { outline-color: var(--amber); }

.hero__god {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  width: min(38vw, 420px); opacity: .16; pointer-events: none;
}
.hero__god img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero__god { width: 60vw; right: -22%; top: auto; bottom: -12%; transform: none; opacity: .1; }
}

.hero--test { padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero--test .hero__inner { max-width: 70ch; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.chips li {
  margin: 0; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .95rem; font-weight: 600; color: #fff;
}
.chips li::before { content: "✓ "; color: var(--amber); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  min-height: 46px; padding: .6rem 1.2rem; cursor: pointer;
  color: var(--accent); background: var(--card);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  text-decoration: none; transition: background .15s ease, transform .15s ease;
}
.btn:hover, .btn:focus-visible { color: var(--accent-hover); background: var(--card-soft); }
.btn--primary { background: var(--accent); color: #fff; border-color: transparent; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--accent-hover); color: #fff; }
@media (prefers-color-scheme: dark) {
  .btn--primary { color: #06262d; }
  .btn--primary:hover, .btn--primary:focus-visible { color: #06262d; }
}
.hero .btn--primary { background: var(--amber); color: #2b1a00; }
.hero .btn--primary:hover, .hero .btn--primary:focus-visible { background: #ffca66; color: #2b1a00; }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn--ghost:hover, .hero .btn--ghost:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--big { font-size: 1.1rem; min-height: 54px; padding: .8rem 1.6rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn svg { flex: 0 0 auto; }

/* ---------- Inhalt ---------- */

.content { padding: clamp(2rem, 5vw, 4rem) 0; }
.section { padding: clamp(2rem, 5vw, 4rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--soft { background: var(--card-soft); }
.section__head { max-width: 62ch; margin-bottom: 1.5rem; }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }
.section__head p:last-child { margin-bottom: 0; }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.35rem; margin: 0 0 1.5rem; box-shadow: var(--shadow);
}
.panel--ok { background: var(--ok-bg); color: var(--ok-ink); border-color: transparent; box-shadow: none; }
.panel--error { background: var(--err-bg); color: var(--err-ink); border-color: transparent; box-shadow: none; }
.panel p:last-child { margin-bottom: 0; }
.panel--ok a { color: inherit; }

/* ---------- Die zwei Tests (Startseite) ---------- */

.tests { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (max-width: 800px) { .tests { grid-template-columns: 1fr; } }
.test-card {
  margin: 0; position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.9rem); box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.test-card:hover, .test-card:focus-within { border-color: var(--accent); transform: translateY(-2px); }
.test-card__num {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink);
  background: var(--amber-bg); border-radius: 999px; padding: .3rem .8rem; margin-bottom: 1rem; align-self: flex-start;
}
.test-card h3 { margin: 0 0 .5rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.test-card h3 a { color: inherit; text-decoration: none; }
.test-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.test-card p { color: var(--ink-soft); }
.test-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .92rem; color: var(--ink-soft); }
.test-card__meta li { margin: 0; }
.test-card__meta li::before { content: "·"; margin-right: .4rem; opacity: .6; }
.test-card__meta li:first-child::before { content: none; }
.test-card .btn { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; }
.test-card__gods { display: flex; gap: .35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.test-card__gods li { margin: 0; }
.test-card__gods img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--card); box-shadow: var(--shadow); }
.test-card__gods li + li { margin-left: -.9rem; }
.test-card__gods li:last-child span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-soft); border: 2px solid var(--card); font-size: .8rem; font-weight: 800; color: var(--ink-soft);
}
/* ---------- Worum geht es ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr); gap: 2rem 3rem; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about figure { margin: 0; }
.about figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about figcaption { margin-top: .6rem; font-size: .92rem; color: var(--ink-soft); }
.about blockquote { margin: 1.25rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 4px solid var(--amber); font-size: 1.1rem; font-weight: 600; }
.about blockquote p { margin: 0; }

/* ---------- Test-Seiten ---------- */

.progress {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem;
  counter-reset: p;
}
.progress li {
  counter-increment: p; margin: 0; position: relative;
  padding: .6rem 0 0; font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  border-top: 4px solid var(--line); transition: border-color .2s ease, color .2s ease;
}
.progress li::before { content: counter(p) ". "; }
.progress li.is-done { border-top-color: var(--accent); color: var(--accent); }
.progress li[aria-current="step"] { border-top-color: var(--amber); color: var(--ink); }
@media (max-width: 600px) { .progress li { font-size: .78rem; } }

.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.2rem, 3vw, 2rem); margin: 0 0 1.5rem; box-shadow: var(--shadow);
  scroll-margin-top: 5rem;
}
.step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 .35rem; }
.step__title .n { color: var(--amber-ink); margin-right: .3rem; }
.step__lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 66ch; }
.step__lead strong { color: var(--ink); }
.step__cta { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.25rem; }
html.js .step.is-later:not(.is-open) { display: none; }
.step.is-open { animation: step-in .35s ease-out both; }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Aufforderung: die Götter-Kacheln erscheinen nacheinander, Text zeigt nach unten. */
.invite { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .8rem; font-weight: 700; color: var(--accent); }
.invite svg { width: 1.4rem; height: 1.4rem; flex: 0 0 auto; animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Götter-Auswahl ---------- */

.gods {
  display: grid; gap: .8rem; list-style: none; padding: 0; margin: 0;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (max-width: 420px) { .gods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } }
.god { margin: 0; position: relative; }
.god input {
  position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none;
}
.god label {
  display: block; position: relative; cursor: pointer; overflow: hidden;
  background: var(--card-soft); border: 2px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.god label:hover { transform: translateY(-3px); border-color: var(--accent); }
.god img, .god__art {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--card-soft);
  transition: transform .25s ease;
}
.god label:hover img { transform: scale(1.05); }
.god__art { display: grid; place-items: center; color: var(--accent); padding: 18%; }
.god__art svg { width: 100%; height: 100%; }
.god__name {
  display: block; padding: .55rem .5rem; text-align: center;
  font-weight: 700; font-size: .96rem; line-height: 1.25; background: var(--card);
}
.god input:checked + label { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.god input:checked + label::after {
  content: "✓"; position: absolute; top: .5rem; right: .5rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
  background: var(--accent); color: #fff;
}
@media (prefers-color-scheme: dark) { .god input:checked + label::after { color: #06262d; } }
.god input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.god input:disabled + label { opacity: .35; filter: grayscale(1); cursor: not-allowed; transform: none; box-shadow: none; }

/* Einladung beim ersten Anzeigen: Kacheln blenden nacheinander ein. */
.gods.is-inviting .god { animation: tile-in .5s ease-out both; }
.gods.is-inviting .god:nth-child(2)  { animation-delay: .05s; }
.gods.is-inviting .god:nth-child(3)  { animation-delay: .1s; }
.gods.is-inviting .god:nth-child(4)  { animation-delay: .15s; }
.gods.is-inviting .god:nth-child(5)  { animation-delay: .2s; }
.gods.is-inviting .god:nth-child(6)  { animation-delay: .25s; }
.gods.is-inviting .god:nth-child(7)  { animation-delay: .3s; }
.gods.is-inviting .god:nth-child(8)  { animation-delay: .35s; }
.gods.is-inviting .god:nth-child(9)  { animation-delay: .4s; }
.gods.is-inviting .god:nth-child(10) { animation-delay: .45s; }
.gods.is-inviting .god:nth-child(11) { animation-delay: .5s; }
.gods.is-inviting .god:nth-child(12) { animation-delay: .55s; }
.gods.is-inviting .god:nth-child(13) { animation-delay: .6s; }
@keyframes tile-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* Freitext für „ein anderer Gott“: ohne JavaScript über :has, mit JavaScript per Klasse. */
.god-other { display: none; margin-top: 1rem; }
.god-other.is-visible { display: block; }
html.no-js .gods:has(input[value="other"]:checked) + .god-other { display: block; }
html.no-js .god-other { display: block; }

.chosen { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.chosen img { width: 2rem; height: 2rem; border-radius: 50%; }

/* ---------- Formularfelder ---------- */

.field { display: block; min-width: 0; margin-bottom: 1rem; }
.field label, .field .label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 46px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .55rem .75rem;
}
.field textarea { resize: vertical; min-height: 4.2rem; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--err-ink); }
.field__error { display: none; font-size: .9rem; color: var(--err-ink); margin-top: .3rem; font-weight: 600; }
.field__error:not(:empty) { display: block; }
.reasons { counter-reset: r; display: grid; gap: .25rem; }
.reasons .field { margin-bottom: .6rem; }

.choices { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.choices li { margin: 0; }
.choice {
  display: flex; gap: .8rem; align-items: flex-start; cursor: pointer;
  padding: .85rem 1rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--card-soft);
  transition: border-color .15s ease;
}
.choice:hover { border-color: var(--accent); }
.choice input { width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice span { font-weight: 600; }

.privacy-note {
  font-size: .92rem; color: var(--ink-soft);
  background: var(--card-soft); border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0;
}
.privacy-note p { margin: 0; }

.form-status { margin-top: 1rem; min-height: 1.5em; }
.form-status:empty { display: none; }

/* Das Feld „website“ ist ein Honigtopf für Bots. Nicht display:none, sonst
   lassen manche Bots es aus; für Menschen und Screenreader trotzdem unsichtbar. */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Ergebnis ---------- */

.result { border-color: var(--accent); }
.result__reasons { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .7rem; }
.result__reasons li {
  margin: 0; padding: .9rem 1rem; border-radius: var(--radius);
  background: var(--card-soft); border-left: 4px solid var(--amber);
}
.result__reasons blockquote { margin: 0 0 .35rem; font-style: italic; }
.result__reasons blockquote::before { content: "„"; }
.result__reasons blockquote::after { content: "“"; }
.result__reasons p { margin: 0; font-weight: 700; color: var(--accent); }
.result__points { padding-left: 1.3em; }
.result__points li { margin-bottom: .6em; font-weight: 600; }
.result__points em { color: var(--amber-ink); font-style: normal; font-weight: 800; }
.result__note { padding: .9rem 1rem; border-radius: var(--radius); background: var(--amber-bg); color: var(--amber-ink); font-weight: 600; }
.result__note p { margin: 0; }
.result__note:empty { display: none; }
.result h3 { margin-top: 1.6em; }

.next-test {
  display: grid; gap: .5rem; padding: 1.2rem 1.35rem; margin-top: 1.5rem;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%); color: var(--on-brand);
  border-radius: 16px;
}
.next-test p { margin: 0; }
.next-test strong { color: #fff; }
.next-test .btn { justify-self: start; background: var(--amber); color: #2b1a00; border-color: transparent; }
.next-test .btn:hover, .next-test .btn:focus-visible { background: #ffca66; color: #2b1a00; }
.next-test :focus-visible { outline-color: var(--amber); }

/* ---------- FAQ ---------- */

.faq { max-width: 78ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: .9rem .25rem; font-weight: 700; font-size: 1.05rem;
  list-style: none; display: flex; gap: .75rem; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--accent); font-weight: 800; font-size: 1.2em; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::before { content: "–"; }
.faq summary:hover { color: var(--accent-hover); }
.faq .answer { padding: 0 .25rem 1rem 1.7rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Weiterlesen / Banner ---------- */

.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.linklist li { margin: 0; }
.linklist a {
  display: block; height: 100%; padding: .9rem 1.1rem; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); box-shadow: var(--shadow);
}
.linklist a:hover, .linklist a:focus-visible { border-color: var(--accent); }
.linklist strong { display: block; color: var(--accent); }
.linklist span { font-size: .92rem; color: var(--ink-soft); }

.banners {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  list-style: none; margin: 2rem 0 0; padding: 0;
}
.banners li { margin: 0; }
/* Der weiße Grund bleibt auch im Dunkelmodus: die Banner sind auf hellen
   Untergrund gezeichnet und wären sonst unleserlich. */
.banners a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.banners img { width: 240px; height: 54px; }
.banners a:hover, .banners a:focus-visible { filter: brightness(1.06); }

/* ---------- Fußbereich ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem; font-size: .92rem; color: var(--ink-soft);
}
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.site-footer p { margin: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .8rem; list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; display: flex; align-items: center; }
.site-footer li + li::before { content: "·"; margin-right: .8rem; opacity: .6; }
@media (max-width: 560px) {
  .site-footer li + li::before { display: none; }
  .site-footer ul { gap: .3rem 1rem; }
}

/* ---------- Rechtstexte ---------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; }

/* ---------- Druck ---------- */

@media print {
  .site-header, .site-footer, .hero__god, .banners, .skip-link, .invite, .next-test, .step__cta { display: none; }
  body { background: #fff; color: #000; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1 { color: #000; }
  html.js .step.is-later:not(.is-open) { display: block; }
  .step, .god label { box-shadow: none; }
}
