/* Kunstauktion – App-Layout (Web-App)
   Handy/Tablet: App-Leiste oben, Tab-Leiste unten, Bieten als Bottom Sheet.
   Desktop (ab 1000px): Seitenleiste links, Bietformular neben dem Bild. */
:root {
  --bg: #f6f3f1;
  --card: #ffffff;
  --ink: #1d1b1a;
  --muted: #6f6863;
  --line: #e7e1dc;
  --accent: #c8102e;        /* Rot aus dem Plakat */
  --accent-dunkel: #9e0c24;
  --accent-hell: #fde8eb;
  --ok: #2f6b3a;
  --ok-hell: #e3f1e5;
  --radius: 16px;
  --schatten: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.06);
  --appbar-h: 56px;
  --tabbar-h: 64px;
  --seitenleiste-b: 248px;
  --oben: env(safe-area-inset-top, 0px);
  --unten: env(safe-area-inset-bottom, 0px);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans);
  -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { line-height: 1.2; }
.serif { font-family: var(--serif); }

/* ---------- App-Leiste oben ---------- */
.appbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 4px;
  height: calc(var(--appbar-h) + var(--oben)); padding: var(--oben) 8px 0;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line); }
.appbar-titel { flex: 1; min-width: 0; font-weight: 650; font-size: 1.05rem; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; padding-left: 4px; }
.icon-knopf { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-knopf:active { background: rgba(0,0,0,.06); }
.icon-knopf svg { width: 24px; height: 24px; }
.appbar-logo { width: 32px; height: 32px; border-radius: 8px; margin: 0 6px 0 8px; flex: none; }
.install-knopf { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border: 0; border-radius: 99px; background: var(--accent-hell); color: var(--accent-dunkel); font: 600 .85rem var(--sans); cursor: pointer; }
.install-knopf svg { width: 18px; height: 18px; }

/* ---------- Tab-Leiste unten (Handy/Tablet) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--tabbar-h) + var(--unten)); padding-bottom: var(--unten);
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-top: 1px solid var(--line); }
.tabbar-marke { display: none; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; user-select: none; }
.tab-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 30px; border-radius: 99px; transition: background .15s; }
.tab svg { width: 22px; height: 22px; }
.tab.aktiv { color: var(--accent); }
.tab.aktiv .tab-icon { background: var(--accent-hell); }

/* ---------- Inhalt ---------- */
main { max-width: 1200px; margin: 0 auto;
  padding: 16px max(16px, env(safe-area-inset-right)) calc(var(--tabbar-h) + var(--unten) + 28px) max(16px, env(safe-area-inset-left)); }
.seitenkopf { margin: 6px 0 18px; }
.seitenkopf h1 { font: 700 clamp(1.7rem, 1.3rem + 2vw, 2.3rem) var(--serif); margin: 0 0 6px; }
.seitenkopf p { margin: 0; color: var(--muted); max-width: 62ch; font-size: .95rem; }

/* ---------- Karten (Übersicht) ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.karte { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
.karte:active { transform: scale(.985); }
@media (hover: hover) { .karte:hover { box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.10); } }
.karte .bild { aspect-ratio: 4/3; background: #ece7e2; display: flex; align-items: center; justify-content: center; }
.karte .bild img { width: 100%; height: 100%; object-fit: contain; }
.karte .text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.karte .nummer { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.karte .technik { font-size: .85rem; color: var(--muted); }
.karte .preis { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 6px 10px; font-size: .9rem; }
.karte .preis strong { font-size: 1.15rem; }

dl.daten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.daten dt { color: var(--muted); }
dl.daten dd { margin: 0; overflow-wrap: anywhere; }
dl.daten.kurz { gap: 2px 12px; font-size: .9rem; }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 3px 10px;
  border-radius: 99px; background: #eee8e3; color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-hell); color: var(--ok); }
.badge.rot { background: var(--accent-hell); color: var(--accent-dunkel); }

.leer { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); background: var(--card);
  border-radius: var(--radius); }

/* ---------- Startseite ---------- */
.plakat-rahmen { margin: -16px calc(-1 * max(16px, env(safe-area-inset-left))) 0; }
.plakat { width: 100%; height: auto; aspect-ratio: 1600 / 1131; background: #d8324f; }
.einstiege { display: grid; gap: 12px; margin-top: 18px; }
.einstieg { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--schatten); color: var(--ink); text-decoration: none; transition: transform .12s; }
.einstieg:active { transform: scale(.985); }
.einstieg-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--accent-hell); color: var(--accent); }
.einstieg-icon svg { width: 26px; height: 26px; }
.einstieg-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.einstieg-titel { font: 700 1.1rem var(--serif); }
.einstieg-text small { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.einstieg-zahl { font-size: .8rem; font-weight: 700; color: var(--accent); margin-top: 3px; }
.einstieg-pfeil { flex: none; color: #b9b1ab; }
.einstieg-pfeil svg { width: 20px; height: 20px; }
.hinweis-karte { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); box-shadow: var(--schatten);
  font-size: .9rem; display: flex; gap: 12px; align-items: flex-start; }
.hinweis-karte p { margin: 0; flex: 1; }

/* ---------- Detailseite ---------- */
.detail { display: grid; gap: 18px; }
.karussell-rahmen { margin: -16px calc(-1 * max(16px, env(safe-area-inset-left))) 0; position: relative; }
.karussell { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #ece7e2; }
.karussell::-webkit-scrollbar { display: none; }
.karussell img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 70vh; object-fit: contain; scroll-snap-align: center; }
.punkte { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.punkte button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cfc6bf; cursor: pointer; }
.punkte button.aktiv { background: var(--accent); width: 20px; border-radius: 99px; }
.info .kuenstler-zeile { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info h1 { font: 700 clamp(1.6rem, 1.2rem + 2vw, 2.2rem) var(--serif); margin: 2px 0 14px; overflow-wrap: anywhere; }
.karte-flach { background: var(--card); border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px; }
.karte-flach h2 { font: 700 1.05rem var(--sans); margin: 0 0 10px; }
.stand-label { font-size: .8rem; color: var(--muted); }
.stand-betrag { font: 700 2rem var(--serif); line-height: 1.1; margin: 2px 0 6px; }
.stand-text { font-size: .88rem; color: var(--muted); margin: 0; }
.verlauf { width: 100%; border-collapse: collapse; font-size: .9rem; }
.verlauf td { padding: 9px 0; border-top: 1px solid var(--line); }
.verlauf tr:first-child td { border-top: 0; }
.verlauf td:nth-child(2) { color: var(--muted); padding: 9px 10px; }
.verlauf td:last-child { text-align: right; font-weight: 600; }

/* Bietformular */
.bietbereich h2 { font: 700 1.25rem var(--serif); margin: 0 0 4px; }
.sheet-griff, .sheet-kopf .icon-knopf { display: none; }
.sheet-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
input { width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 14px; font: inherit; font-size: max(16px, 1em); color: var(--ink);
  background: #fff; border: 1px solid #d9d1ca; border-radius: 12px; }
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.stepper { display: flex; align-items: stretch; gap: 8px; margin-top: 6px; }
.stepper input { margin: 0; text-align: center; font-size: 1.25rem; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { flex: none; width: 52px; border: 1px solid #d9d1ca; border-radius: 12px; background: #fff; font-size: 1.5rem;
  color: var(--ink); cursor: pointer; }
.stepper button:active { background: #f1ece8; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: .88rem; line-height: 1.4; }
label.check input { width: 22px; min-height: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
.knopf-haupt { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 22px;
  border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: 700 1.05rem var(--sans); cursor: pointer; text-decoration: none; }
.knopf-haupt:active { background: var(--accent-dunkel); }
.knopf-haupt:disabled { opacity: .6; }
.meldung { padding: 12px 14px; margin: 0 0 14px; border-radius: 12px; font-size: .9rem; }
.meldung.fehler { background: #fbe3e6; color: #7d1022; }
.meldung.ok { background: var(--ok-hell); color: #1f4d28; }
.klein { font-size: .85rem; color: var(--muted); }

/* Feste Aktionsleiste unten (Handy/Tablet, Detailseite) */
.aktionsleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + var(--unten)) max(16px, env(safe-area-inset-left));
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.aktionsleiste .stand { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.aktionsleiste .stand small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aktionsleiste .stand strong { font-size: 1.25rem; }
.aktionsleiste .knopf-haupt { width: auto; min-width: 128px; }
@media (max-width: 999px) {
  body.mit-aktionsleiste .tabbar { display: none; }
  body.mit-aktionsleiste main { padding-bottom: calc(84px + var(--unten)); }
}

.sheet-hintergrund { position: fixed; inset: 0; z-index: 30; background: rgba(20,14,12,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.sheet-offen .sheet-hintergrund { opacity: 1; pointer-events: auto; }

/* Hinweis-Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--unten) + 16px); z-index: 50; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #1d1b1a; color: #fff; font-size: .92rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.sichtbar { opacity: 1; transform: translate(-50%, 0); }
body.mit-aktionsleiste .toast { bottom: calc(84px + var(--unten)); }

/* ---------- Handy & Tablet: Bietformular als Bottom Sheet ---------- */
@media (max-width: 999px) {
  .bietbereich { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-height: calc(92vh - var(--oben)); overflow-y: auto;
    overscroll-behavior: contain; background: var(--card); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.18);
    padding: 8px max(18px, env(safe-area-inset-right)) calc(20px + var(--unten)) max(18px, env(safe-area-inset-left));
    transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
  body.sheet-offen .bietbereich { transform: translateY(0); visibility: visible; }
  .sheet-griff { display: block; width: 40px; height: 5px; border-radius: 99px; background: #d9d1ca; margin: 0 auto 10px; }
  .sheet-kopf .icon-knopf { display: inline-flex; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .bietbereich { left: 50%; right: auto; width: min(560px, 100%); transform: translate(-50%, 105%); }
  body.sheet-offen .bietbereich { transform: translate(-50%, 0); }
  .raster { gap: 20px; }
  .plakat-rahmen, .karussell-rahmen { margin: 0; }
  .plakat, .karussell { border-radius: var(--radius); overflow: hidden; }
  .einstiege { grid-template-columns: 1fr 1fr; }
}

/* ---------- Desktop: Seitenleiste links ---------- */
@media (min-width: 1000px) {
  body { padding-left: var(--seitenleiste-b); }
  .tabbar { top: 0; right: auto; width: var(--seitenleiste-b); height: auto; display: flex; flex-direction: column; gap: 4px;
    padding: 24px 14px; border-top: 0; border-right: 1px solid var(--line); background: var(--card); }
  .tabbar-marke { display: flex; align-items: center; gap: 10px; padding: 0 10px 22px; color: var(--ink); text-decoration: none;
    font: 700 1.1rem/1.2 var(--serif); }
  .tabbar-marke img { width: 40px; height: 40px; border-radius: 10px; }
  .tab { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: .95rem; }
  .tab-icon { width: auto; height: auto; background: none !important; }
  .tab.aktiv { background: var(--accent-hell); }
  @media (hover: hover) { .tab:not(.aktiv):hover { background: #f4efeb; color: var(--ink); } }
  .appbar-logo { display: none; }
  .appbar { padding-left: 20px; }
  main { padding: 28px 40px 60px; }
  .raster { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
  .plakat-rahmen { margin: 0; }
  .plakat { border-radius: var(--radius); max-height: calc(100vh - 260px); width: auto; max-width: 100%; margin: 0 auto; }
  .einstiege { grid-template-columns: 1fr 1fr; gap: 18px; }
  .detail { grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr); gap: 36px; align-items: start; }
  .detail .galerie-spalte { position: sticky; top: calc(var(--appbar-h) + 24px); }
  .karussell-rahmen { margin: 0; }
  .karussell { border-radius: var(--radius); }
  .karussell { align-items: center; background: transparent; }
  .karussell img { aspect-ratio: auto; height: auto; max-height: min(72vh, 680px); border-radius: var(--radius); }
  .detail .rechts { display: grid; gap: 18px; }
  .aktionsleiste, .sheet-hintergrund { display: none !important; }
  .bietbereich { background: var(--card); border-radius: var(--radius); box-shadow: var(--schatten); padding: 20px; }
  .toast { bottom: 28px; margin-left: calc(var(--seitenleiste-b) / 2); }
  body.mit-aktionsleiste .toast { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-old(root), ::view-transition-new(root) { transition: none !important; animation: none !important; }
}

/* ---------- Auktionsteam (angemeldet) ---------- */
.rolle { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; }
.rolle-name { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px;
  background: #1d1b1a; color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.rolle-name svg { width: 16px; height: 16px; flex: none; }
.team-karte { border: 2px solid #1d1b1a; }
.team-karte h2 { display: flex; align-items: center; gap: 8px; }
.team-karte h2 svg { width: 20px; height: 20px; }
.team-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.team-nav a { font-weight: 600; text-decoration: none; padding: 8px 0; }
.knopf-zweit { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 14px;
  border: 1px solid #d9d1ca; background: #fff; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; }
.knopf-gefahr { background: #fff; color: var(--accent-dunkel); border-color: #e9b9c1; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.warnung { font-size: .82rem; color: #8a5a00; margin-top: 6px; }
.anmelde-karte { max-width: 440px; margin: 24px auto; }
.anmelde-karte h1 { font-size: 1.6rem; margin: 0 0 6px; }
.anmelde-karte .knopf-haupt { margin-top: 6px; }
@media (max-width: 420px) { .rolle-name { max-width: 96px; } }
.knopf-dunkel { width: auto; min-height: 46px; background: #1d1b1a; font-size: .95rem; padding: 0 22px; }
.knopf-dunkel:active { background: #000; }
.badge.warn { background: #fdf1d6; color: #8a5a00; }

/* Interne Häkchen (Auktionsteam) */
.haekchen-gruppe { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.gruppe-titel { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
label.haekchen { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 0; min-height: 44px; color: var(--ink);
  font-weight: 400; font-size: .95rem; cursor: pointer; }
label.haekchen input { width: 24px; height: 24px; min-height: 24px; margin: 0; flex: none; accent-color: #1d1b1a; cursor: pointer; }
label.haekchen span { display: flex; flex-direction: column; line-height: 1.25; }
label.haekchen small { color: var(--muted); font-size: .78rem; }
label.haekchen.gesperrt { cursor: default; }
label.haekchen.gesperrt strong { color: #a39b95; font-weight: 600; }
label.haekchen.gesperrt input { cursor: default; opacity: .45; }
.team-zeile { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* E-Mails (Team) */
textarea { width: 100%; margin-top: 6px; padding: 10px 14px; font: inherit; font-size: max(15px, .95em); line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid #d9d1ca; border-radius: 12px; resize: vertical; min-height: 200px; }
textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.mail-seite { display: grid; gap: 18px; max-width: 860px; }
.mail-seite .karte-flach h2 { font: 700 1.2rem var(--serif); }
.hinweis-warn { border-left: 5px solid #e0a400; }
.hinweis-ok { border-left: 5px solid var(--ok); }
.platzhalter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.platzhalter button { border: 1px solid #d9d1ca; background: #faf7f5; border-radius: 99px; padding: 4px 10px; font: 600 .78rem ui-monospace, monospace;
  color: var(--ink); cursor: pointer; }
.platzhalter button:active { background: var(--accent-hell); }
.testmail input { flex: 1; min-width: 200px; margin: 0; }
.mail-vorschau { margin-top: 14px; border: 1px dashed #cfc6bf; border-radius: 12px; padding: 14px; background: #fcfbfa; }
.mail-betreff { font-weight: 700; margin-bottom: 8px; }
.mail-vorschau pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: .92rem; }
table.versand th { text-align: left; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px 6px 0; }
table.versand td { padding: 9px 10px 9px 0; vertical-align: top; text-align: left; font-weight: 400; }
table.versand td:last-child { text-align: right; }
.tabelle-wrap { overflow-x: auto; }
.mail-zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; font-size: .9rem; flex-wrap: wrap; }
.versand-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.versand-kopf h2 { margin: 0 !important; }
.versand-kopf select { min-height: 42px; padding: 0 12px; border: 1px solid #d9d1ca; border-radius: 12px; background: #fff; font: inherit; font-size: .92rem; max-width: 100%; }

/* Impressum / Datenschutz */
.rechtstext { max-width: 760px; background: var(--card); border-radius: var(--radius); box-shadow: var(--schatten); padding: 22px 24px; }
.rechtstext h1 { font: 700 clamp(1.6rem, 1.2rem + 2vw, 2.1rem) var(--serif); margin: 0 0 12px; }
.rechtstext h2 { font: 700 1.05rem var(--sans); margin: 22px 0 6px; }
.rechtstext p, .rechtstext li { line-height: 1.6; }
.rechtstext ul { padding-left: 1.2em; }
mark.fehlt { background: #fff1b8; color: #6b4e00; padding: 0 3px; border-radius: 4px; }
.rechtliches { margin: 28px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.rechtliches a { color: var(--muted); }
@media (max-width: 600px) { .rechtstext { padding: 18px 16px; } }
