/* ---------- Schriften (self-hosted) ---------- */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/app/fonts/anton-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/app/fonts/anton-400-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/app/fonts/manrope-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/app/fonts/manrope-var-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/app/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokens (packages/ui/src/tokens.css) ---------- */

:root {
  --rot:     #B23134;
  --coral:   #E8503F;
  --aqua:    #1FA9B4;
  --ink:     #131415;
  --bone:    #F6EBE0;
  --cream:   #FBF6EF;
  --blau:    #A1C5DC;
  --kraft:   #EADBC6;
  --stone:   #E5D8C8;
  --stone2:  #CDBBA2;
  --text2:   #5A524A;
  --text3:   #857A6E;

  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body:    'Manrope', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --wrap:    1120px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 450;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, .disp {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.04;
}

a { color: inherit; }

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

.wrap {
  width: min(var(--wrap), calc(100% - 2.6rem));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 0.8rem 1.2rem;
  z-index: 99;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

/* ---------- Kopf ---------- */

header.hero {
  background: var(--bone);
  border-bottom: 1px solid var(--stone);
  padding-top: clamp(1.6rem, 4vw, 2.6rem);
  padding-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.8rem, 5vw, 3rem);
}

.brandbar a.home {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--rot);
}

.brandbar svg.wordmark {
  width: min(178px, 44vw);
  height: auto;
  display: block;
}

.backlink {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text2);
  text-decoration: none;
  border: 1px solid var(--stone2);
  border-radius: 999px;
  padding: 0.58rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.backlink:hover, .backlink:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rot);
  border: 1px solid rgba(178, 49, 52, 0.4);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--rot);
  flex: none;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  max-width: 15ch;
  hyphens: auto;
}

.hero .lead {
  max-width: 62ch;
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: var(--text2);
}

.stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text3);
}
.stamp b { color: var(--ink); font-weight: 500; }

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(2.4rem, 6vw, 4rem) clamp(3rem, 8vw, 5.5rem);
}

/* ---------- Inhaltsverzeichnis ---------- */

nav.toc {
  position: sticky;
  top: 1.6rem;
}

nav.toc .toc-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text3);
  padding-bottom: 0.9rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--stone);
}

nav.toc ol {
  list-style: none;
  counter-reset: toc;
}

nav.toc li { counter-increment: toc; }

nav.toc a {
  display: flex;
  gap: 0.75em;
  padding: 0.5rem 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
nav.toc a::before {
  content: counter(toc);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--stone2);
  padding-top: 0.28em;
  flex: none;
  min-width: 1.1em;
}
nav.toc a:hover, nav.toc a:focus-visible { color: var(--rot); }
nav.toc a:hover::before, nav.toc a:focus-visible::before { color: var(--rot); }

/* ---------- Abschnitte ---------- */

main { max-width: 74ch; }

section.sec {
  scroll-margin-top: 1.6rem;
  padding-top: clamp(2.2rem, 5vw, 3.2rem);
}
section.sec:first-of-type { padding-top: 0; }

section.sec + section.sec {
  border-top: 1px solid var(--stone);
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
}

h2 {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: clamp(1.45rem, 4.2vw, 2rem);
  margin-bottom: 1.1rem;
}

h2 .n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--coral);
  border: 1px solid rgba(232, 80, 63, 0.45);
  border-radius: 999px;
  padding: 0.35em 0.7em;
  flex: none;
  transform: translateY(-0.18em);
}

h3 {
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  margin: 2rem 0 0.9rem;
  color: var(--ink);
}

p + p, p + ul, p + ol, ul + p, ol + p, p + .note, .note + p, p + .tablewrap, .tablewrap + p {
  margin-top: 1rem;
}

main ul, main ol { padding-left: 1.4rem; }
main li + li { margin-top: 0.55rem; }
main li::marker { color: var(--rot); }

main a:not(.pill):not(.backlink) {
  color: var(--rot);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
}
main a:not(.pill):not(.backlink):hover { color: var(--coral); }

strong, b { font-weight: 750; }

.path {
  font-family: var(--mono);
  font-size: 0.84em;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--bone);
  border: 1px solid var(--stone);
  border-radius: 6px;
  padding: 0.18em 0.45em;
  white-space: normal;
}

/* ---------- Karte / Hinweis ---------- */

.note {
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--stone);
  margin-block: 1.6rem;
}

.note .label {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text2);
}

.note.kraft { background: var(--kraft); border-color: var(--stone2); }
.note.kraft .label { color: #6b5a3c; }

.note.ink { background: var(--ink); color: var(--bone); border-color: transparent; }
.note.ink .label { color: var(--blau); }
.note.ink a { color: var(--blau) !important; }

.note.aqua { background: var(--aqua); color: var(--ink); border-color: transparent; }
.note.aqua .label { color: rgba(19, 20, 21, 0.62); }
.note.aqua .path { background: rgba(255, 255, 255, 0.72); border-color: rgba(19, 20, 21, 0.18); }

/* ---------- Tabellen ---------- */

.tablewrap { margin-block: 1.5rem; }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 18px;
  overflow: hidden;
  font-size: 15px;
}

thead th {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.85rem 1.1rem;
  white-space: nowrap;
}

tbody td {
  padding: 1rem 1.1rem;
  vertical-align: top;
  border-top: 1px solid var(--stone);
  line-height: 1.5;
}

tbody tr:first-child td { border-top: 0; }

tbody td:first-child {
  font-weight: 700;
  width: 26%;
}

.sub2 {
  display: block;
  font-family: var(--body);
  font-weight: 450;
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text2);
  margin-top: 0.15rem;
}

td.legal {
  width: 26%;
  font-size: 13.5px;
  color: var(--text2);
}
td.legal b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

/* ---------- Fuss ---------- */

footer.site {
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(2.6rem, 6vw, 4rem);
}

footer.site .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
}

footer.site h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--bone);
  margin-bottom: 1.4rem;
}

footer.site .fl {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blau);
  margin-bottom: 0.7rem;
}

footer.site p { color: rgba(246, 235, 224, 0.82); font-size: 15px; }
footer.site a { color: var(--bone); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.6rem, 4vw, 2.2rem);
  border-top: 1px solid #2c2926;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #3a3632;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 235, 224, 0.86);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pill:hover, .pill:focus-visible {
  background: var(--rot);
  border-color: var(--rot);
  color: #fff;
}
.pill.solid { background: var(--rot); border-color: var(--rot); color: #fff; }
.pill.solid:hover, .pill.solid:focus-visible { background: var(--coral); border-color: var(--coral); }

.colophon {
  margin-top: clamp(1.6rem, 4vw, 2.2rem);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f8478;
  line-height: 2;
}

/* ---------- Schmale Viewports ---------- */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  nav.toc {
    position: static;
    background: #fff;
    border: 1px solid var(--stone);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
  }

  nav.toc .toc-title { margin-bottom: 0.2rem; }

  nav.toc ol {
    columns: 2;
    column-gap: 1.4rem;
  }
  nav.toc li { break-inside: avoid; }

  main { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  nav.toc ol { columns: 1; }

  /* Tabellen brechen zu Karten um: jede Zeile wird ein Block,
     die Kopfzeile lebt als Label vor jeder Zelle weiter. */
  table, thead, tbody, tr, td { display: block; width: 100%; }

  thead { display: none; }

  table { border-radius: 18px; }

  tbody tr {
    border-top: 1px solid var(--stone);
    padding: 0.35rem 0;
  }
  tbody tr:first-child { border-top: 0; }

  tbody td {
    border-top: 0;
    padding: 0.55rem 1.1rem;
    width: auto !important;
  }

  tbody td:first-child {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.12rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--rot);
    padding-top: 1rem;
  }

  tbody td[data-label]:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 0.25rem;
  }

  tbody td:last-child { padding-bottom: 1.1rem; }

  td.legal b { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

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

@media print {
  body { background: #fff; font-size: 10.5pt; line-height: 1.45; }
  header.hero { background: #fff; border-bottom: 1.5pt solid #131415; }
  .backlink, nav.toc, .pills, .skip { display: none !important; }
  .layout { display: block; padding-block: 1rem; }
  main { max-width: none; }
  section.sec { break-inside: auto; page-break-inside: auto; }
  h2, h3 { break-after: avoid; page-break-after: avoid; }
  table, .note { break-inside: avoid; page-break-inside: avoid; }
  thead th { background: #131415 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  footer.site { background: #fff; color: #131415; border-top: 1.5pt solid #131415; }
  footer.site p, footer.site .fl, .colophon { color: #131415; }
  main a:not(.pill):not(.backlink) { color: #131415; }
}

/* ================================================================
   Seite: Konto loeschen
   ================================================================ */

.layout--single {
  display: block;
  max-width: 78ch;
}

.layout--single main { max-width: none; }

/* ---------- Zwei Wege ---------- */

.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-block: clamp(1.6rem, 4vw, 2.4rem);
}

.way {
  border-radius: 22px;
  padding: clamp(1.4rem, 3.5vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
}

.way.red {
  background: var(--rot);
  border-color: transparent;
  color: var(--bone);
}

.way .way-label {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.7rem;
}
.way.red .way-label { color: rgba(246, 235, 224, 0.72); }

.way h2 {
  font-size: clamp(1.5rem, 4.5vw, 1.9rem);
  margin-bottom: 0.9rem;
}

.way p { font-size: 15.5px; }
.way.red p { color: rgba(246, 235, 224, 0.88); }
.way.red a { color: var(--bone); }

.way .grow { flex: 1; }

/* ---------- Schrittfolge ---------- */

ol.steps {
  list-style: none;
  counter-reset: step;
  padding-left: 0;
  margin-block: 0.4rem 1.2rem;
}

ol.steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.55rem 0;
  font-size: 16px;
  line-height: 1.45;
}

ol.steps li + li { margin-top: 0; }

ol.steps li::before {
  content: counter(step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  background: var(--bone);
  color: var(--rot);
  margin-top: 0.05em;
}

.way.red ol.steps li::before {
  background: var(--bone);
  color: var(--rot);
}

ol.steps b { font-weight: 750; }

/* ---------- Listen mit Marker ---------- */

ul.ticklist {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.15rem 1.4rem;
  margin-block: 1.2rem;
}

ul.ticklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.52rem 0;
  font-size: 15.5px;
  line-height: 1.4;
  border-bottom: 1px solid var(--stone);
}
ul.ticklist li + li { margin-top: 0; }

ul.ticklist svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.15em;
  color: var(--rot);
}

/* ---------- Aktionsknopf ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 56px;
  padding: 0.6rem 1.6rem;
  border-radius: 14px;
  background: var(--rot);
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  font-weight: 400 !important;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--coral); color: #fff !important; }

.btn.cream {
  background: var(--bone);
  color: var(--rot);
}
.btn.cream:hover, .btn.cream:focus-visible { background: #fff; color: var(--rot) !important; }

.btn.full { width: 100%; }

@media (max-width: 620px) {
  .btn { font-size: 16px; letter-spacing: 0.04em; }
  ul.ticklist { grid-template-columns: 1fr; }
}

@media print {
  .way { border: 1pt solid #cdbba2; break-inside: avoid; page-break-inside: avoid; }
  .way.red { background: #fff !important; color: #131415 !important; border: 1.5pt solid #B23134; }
  .way.red p, .way.red .way-label { color: #131415 !important; }
  .way.red ol.steps li::before { border: 1pt solid #B23134; }
  .btn { display: none; }
  ul.ticklist { display: block; }
}

/* ================================================================
   Seiten: Impressum und Hilfe
   ================================================================ */

/* ---------- Angabenliste (Impressum) ---------- */

dl.deflist {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 18px;
  overflow: hidden;
  margin-block: 1.4rem;
}

dl.deflist dt {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text2);
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--stone);
  background: var(--cream);
}

dl.deflist dd {
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--stone);
  line-height: 1.5;
}

dl.deflist dt:first-of-type, dl.deflist dt:first-of-type + dd { border-top: 0; }

dl.deflist dd b { font-weight: 750; }

@media (max-width: 620px) {
  dl.deflist { grid-template-columns: minmax(0, 1fr); }
  dl.deflist dt { padding-bottom: 0.3rem; background: #fff; }
  dl.deflist dd { padding-top: 0.15rem; border-top: 0; }
  dl.deflist dt:first-of-type + dd { border-top: 0; }
  dl.deflist dd + dt { border-top: 1px solid var(--stone); margin-top: 0.3rem; }
}

/* ---------- Schnellhilfe ---------- */

.quickhelp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.1rem);
  margin-block: clamp(1.4rem, 3.5vw, 2rem);
}

.quickhelp .qh {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
}

.quickhelp .qh b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.quickhelp .qh p { font-size: 14.5px; color: var(--text2); }

/* ---------- Themengruppen und Fragen ---------- */

.group-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text3);
  margin: clamp(2rem, 5vw, 2.8rem) 0 0.9rem;
}
.group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--stone);
}

details.q {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 14px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

details.q > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  position: relative;
  transition: color 0.15s var(--ease);
}
details.q > summary::-webkit-details-marker { display: none; }
details.q > summary:hover { color: var(--rot); }

details.q > summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1.45rem;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--rot);
  border-bottom: 2px solid var(--rot);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
details.q[open] > summary::after { transform: rotate(-135deg); top: 1.7rem; }

details.q[open] > summary { color: var(--rot); padding-bottom: 0.35rem; }

details.q .a {
  padding: 0 1.2rem 1.2rem;
  color: var(--text2);
}
details.q .a p + p, details.q .a p + ul { margin-top: 0.7rem; }
details.q .a ul { padding-left: 1.2rem; }
details.q .a li + li { margin-top: 0.35rem; }
details.q .a strong { color: var(--ink); }

@media print {
  details.q { break-inside: avoid; page-break-inside: avoid; border: 1pt solid #cdbba2; }
  details.q > summary::after { display: none; }
  details.q .a { display: block !important; }
  dl.deflist { break-inside: avoid; page-break-inside: avoid; }
}
