﻿/* receiVerse: Lesespalte aus der App-Typografie, Auskunft ohne Kasten.
   Papier hell: Markenpapier 25 %, Markenweiß 73 %, Schalengold 2 %.
   Abstände 8/16/24/32/44, Eingaben Radius 16; keine Fremdquellen. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/PlusJakartaSans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/PlusJakartaSans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/PlusJakartaSans-700.woff2") format("woff2"); }
/* TOKENS-HELL (pruefe_site.py liest diesen Block) */
:root {
  color-scheme: light dark;
  --grund: #f9f9f7;
  --schrift: #1d1f2a;
  --leise: #555967;
  --karte: #ffffff;
  --link: #7f6527;
  --akzent: #7f6527;
  --akzent-flaeche: #E1AB23;
  --knopf-schrift: #1d1f2a;
  --knopf-schatten: 0 2px 10px rgb(29 31 42 / 18%);
  --linie: #d5d6d8;
  --feldrand: #858792;
  --offen-grund: #f3e2b3;
  --offen-schrift: #1d1f2a;
  --entwurf-grund: #E1AB23;
  --entwurf-schrift: #1d1f2a;
  --gold: #E1AB23; --rot: #A13B36; --weiss: #E6E6E6; --blau: #336BCC;
  --lesebreite: 704px;
  --seitenrand: 24px;
}
/* /TOKENS-HELL */
/* TOKENS-DUNKEL */
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #1d1f2a;
    --schrift: #e9edf2;
    --leise: #b3b9c6;
    --karte: #2d2f3a;
    --link: #e1ab23;
    --akzent: #e1ab23;
    --knopf-schatten: 0 2px 10px rgb(0 0 0 / 32%), inset 0 1px 0 rgb(233 237 242 / 32%);
    --linie: #454753;
    --feldrand: #898c98;
    --offen-grund: #4a3d17;
    --offen-schrift: #f3e2b3;
    --entwurf-grund: #E1AB23;
    --entwurf-schrift: #1d1f2a;
  }
}
/* /TOKENS-DUNKEL */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--schrift); font: 400 17px/1.8 "Plus Jakarta Sans", system-ui, sans-serif; overflow-wrap: break-word; text-align: left; }
:lang(de), :lang(en) { -webkit-hyphens: manual; hyphens: manual; }
a { color: var(--schrift); text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 4px; }
main a, footer a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--akzent); outline-offset: 5px; border-radius: 2px; }
.rahmen { width: min(100%, calc(var(--lesebreite) + 2 * var(--seitenrand))); margin-inline: auto; padding-inline: var(--seitenrand); }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 12px; background: var(--karte); padding: 8px 12px; z-index: 10; }
.entwurf { background: var(--entwurf-grund); color: var(--entwurf-schrift); font-size: 13px; padding: 12px 24px; text-align: center; }
/* Ein schmales Zitat der vier V-Streifen, mit dem Einschnitt eines Lesebändchens. */
.lesebaendchen { position: absolute; top: 0; right: max(var(--seitenrand), calc(50% - var(--lesebreite) / 2)); width: 22px; height: calc(clamp(100px, 17vh, 160px) + 95.55px + 8px); display: flex; clip-path: polygon(0 0,100% 0,100% 100%,50% calc(100% - 10px),0 100%); }
.lesebaendchen span { flex: 1; }
.s-gold { background: var(--gold); }
.s-weiss { background: var(--weiss); }
.s-rot { background: var(--rot); }
.s-blau { background: var(--blau); }
.leseseite .lesebaendchen { height: 72px; }
.leseseite .kopf nav { margin-right: 38px; }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 20px; }
.kopf .marke { display: flex; align-items: center; min-height: 44px; line-height: 0; }
.kopf .marke img { width: 156px; height: auto; display: block; }
.kopf nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; }
main { padding-top: 88px; padding-bottom: 0; }
h1,h2,h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.22; letter-spacing: -.02em; margin: 0 0 20px; }
h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.01em; margin: 64px 0 20px; scroll-margin-top: 32px; }
h3 { font-size: 17px; line-height: 1.7; margin: 32px 0 12px; }
p,ul,ol { margin: 0 0 24px; }
ul,ol { padding-left: 20px; }
li { margin-block: 10px; padding-left: 0; }
li > ul { margin-top: 12px; margin-bottom: 0; padding-left: 0; }
strong { font-weight: 700; }
.leise,.stand { color: var(--leise); font-size: 13px; line-height: 1.8; }
.stand { margin-bottom: 12px; }
.stand + p:not(.stand) { margin-top: 32px; }
.zus { white-space: nowrap; }
/* Die Gliederung bleibt ein ruhiger Weg; öffnen funktioniert nativ mit Tastatur. */
.gliederung { margin: 32px 0 48px; border-block: 1px solid var(--linie); }
.gliederung summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; cursor: pointer; list-style: none; }
.gliederung summary::-webkit-details-marker { display: none; }
.gliederung summary::after { content: "+"; font-size: 24px; font-weight: 400; }
.gliederung[open] summary::after { content: "−"; }
.gliederung h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; margin: 0; }
.inhalt { padding-bottom: 24px; }
.inhalt ol { columns: 2; column-gap: 40px; margin: 0; padding-left: 24px; font-size: 13px; line-height: 1.6; }
.inhalt li { break-inside: avoid; margin: 0; padding: 0; }
.inhalt li::marker { color: var(--leise); font-size: 13px; }
.inhalt a { display: block; padding-block: 12px; }
.inhalt a { color: var(--schrift); }
.inhalt a:hover { color: var(--link); }
/* Desktop-Gliederung außerhalb der unveränderten Lesespalte, ohne Skript.
   Das native Details bleibt für schmale Ansichten erhalten. */
.leserahmen { position: relative; }
.randspalte { display: none; }
@media (min-width: 1200px) {
  .leseseite .gliederung { display: none; }
  .randspalte { display: block; position: absolute; top: 88px; bottom: 0; right: calc(50% + var(--lesebreite) / 2 + 32px); width: min(224px, calc((100vw - var(--lesebreite)) / 2 - 56px)); }
  .randspalte .inhalt { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding-bottom: 0; }
  .randspalte h2 { font-size: 13px; letter-spacing: 0; margin: 0 0 12px; }
  .randspalte ol { columns: 1; column-gap: 0; padding-left: 22px; }
  .randspalte a { padding-block: 4px; text-decoration-line: none; }
  .randspalte a:hover { text-decoration-line: underline; }
}
/* Auskunft steht auf dem Grund, keine unechten antippbaren Karten. */
.karte { margin-block: 32px; }
.karte h2,.karte h3 { margin-top: 0; }
mark.offen { background: var(--offen-grund); color: var(--offen-schrift); border-radius: 4px; padding: 1px 5px; font-size: 13px; box-decoration-break: clone; }
table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 13px; line-height: 1.8; }
th,td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--linie); }
th { font-weight: 600; }
th:first-child,td:first-child { padding-left: 0; }
th:last-child,td:last-child { padding-right: 0; }
/* Start: eine Marke, ein Hauptsatz, zwei Sprachwege auf einer Flucht. */
.startseite .kopf { display: none; }
.startseite main { padding-top: clamp(100px, 17vh, 160px); }
.start { margin: 0; }
.start picture { display: block; line-height: 0; margin-bottom: 36px; }
.start .marke-gross { width: 336px; max-width: 90%; height: auto; display: block; }
.start .kern { text-wrap: balance; font-size: 40px; line-height: 1.3; letter-spacing: -.02em; font-weight: 400; margin: 0; }
.start .kern:lang(en) { font-size: 21px; line-height: 1.6; letter-spacing: -.02em; color: var(--leise); margin-top: 16px; }
.sprachen { display: grid; gap: 24px; margin-top: 44px; }
.sprachblock h2 { position: relative; font-size: 13px; color: var(--leise); font-weight: 600; letter-spacing: 0; margin: 0 0 8px; }
.sprachblock h2 .sprachwechsel { position: absolute; top: -12px; right: 0; }
.sprachblock p { font-size: 15px; line-height: 1.8; margin-bottom: 4px; }
.sprachblock ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; padding: 0; margin: 0; }
.sprachblock li { margin: 0; padding: 0; }
.sprachblock a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.fuss { margin-top: 96px; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--linie); font-size: 13px; line-height: 1.8; color: var(--leise); }
.fuss h2 { font-size: 13px; margin: 0 0 8px; font-weight: 600; letter-spacing: 0; }
.fuss p { margin: 0 0 16px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }
.startseite .fuss { margin-top: 44px; border: 0; padding-top: 0; padding-bottom: 24px; }
.startseite .fuss nav { display: none; }
.startseite .fuss h2 { position: absolute; left: -9999px; }
.startseite .fuss p { margin: 0; }
/* Formularvertrag unverändert: POST und Ergebnis über :target. */
.formular { margin-top: 32px; }
.formular label { display: block; font-weight: 600; margin-bottom: 8px; }
.formular input[type="text"],.formular input[type="email"],.formular textarea { display: block; width: 100%; font: inherit; color: var(--schrift); background: var(--karte); border: 1px solid var(--feldrand); border-radius: 16px; padding: 14px 16px; }
.formular textarea { resize: vertical; min-height: 180px; }
.formular input:focus-visible,.formular textarea:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.formular .wahl { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; padding-block: 8px; }
.formular .wahl input { margin-top: .35em; width: 20px; height: 20px; flex: none; accent-color: var(--schrift); }
.formular button { width: 100%; min-height: 56px; font: 600 17px/1.5 "Plus Jakarta Sans",sans-serif; color: var(--knopf-schrift); background: var(--akzent-flaeche); border: 0; border-radius: 28px; padding: 14px 24px; cursor: pointer; box-shadow: var(--knopf-schatten); }
.formular button:active { opacity: .76; }
.formular .falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hinweis { display: none; padding-block: 24px; margin-block: 24px; border-block: 1px solid var(--linie); }
.hinweis:target { display: block; }
.hinweis > :last-child { margin-bottom: 0; }
.hinweis.fehler strong { color: var(--schrift); }
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.8; }
  h2 { font-size: 22px; margin-top: 48px; }
  h3 { font-size: 16px; }
  .formular button { font-size: 16px; padding-inline: 16px; }
  main { padding-top: 80px; }
  .inhalt ol { columns: 1; }
  table,thead,tbody,tr,th,td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { border-bottom: 1px solid var(--linie); padding-block: 20px; }
  td { border: 0; padding: 4px 0; }
  td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--leise); }
  td:first-child { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
  td:first-child::before { content: none; }
  .startseite main { padding-top: 88px; }
  .lesebaendchen { height: calc(88px + min(260px, (100vw - 48px) * .9) * 91 / 320 + 8px); width: 16px; }
  .leseseite .lesebaendchen { height: 48px; }
  .leseseite .kopf nav { margin-right: 32px; }
  .start picture { margin-bottom: 24px; }
  .start .marke-gross { width: 260px; }
  .start .kern { font-size: 28px; line-height: 1.35; letter-spacing: -.02em; }
  .start .kern:lang(en) { font-size: 16px; line-height: 1.6; margin-top: 12px; }
  .sprachen { margin-top: 28px; gap: 20px; }
  .sprachblock p { font-size: 15px; line-height: 1.8; margin-bottom: 4px; }
  .sprachblock h2 { margin-bottom: 4px; }
  .sprachblock ul { gap: 0 16px; }
  .startseite .fuss { margin-top: 16px; }
  .fuss { margin-top: 64px; }
}
@media (max-width: 375px) { h2 { font-size: 20px; } }
/* Die weitere H2-Laufweite erzeugt bei 320 px sonst eine Einwortzeile. */
@media (max-width: 340px) { #dispute-resolution { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after, *::marker { scroll-behavior: auto !important; transition-duration: 0s !important; } }
