@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/schrift/Poppins-Regular.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(/schrift/Poppins-Medium.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/schrift/Poppins-SemiBold.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/schrift/Poppins-Bold.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/schrift/Poppins-ExtraBold.ttf) format('truetype'); }

:root {
  --rot: #D31A07; --rot-hell: #e8321f;
  --grund: #0b0b0d; --flaeche: #151518; --feld: #1d1d21; --linie: #2c2c32;
  --text: #f5f5f7; --leise: #9a9aa2; --fehler: #ff6b5a;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html, body { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--grund); color: var(--text); font: 16px/1.55 Poppins, 'Helvetica Neue', Arial, sans-serif; min-height: 100vh; }
a { color: inherit; }
[hidden] { display: none !important; }

.kopf { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: max(16px, env(safe-area-inset-top)) 20px 0; max-width: 1080px; margin: 0 auto; }
.logo img { height: 22px; display: block; }
.sprachen { display: flex; gap: 2px; }
.sprachen button { font: 500 13px Poppins, sans-serif; letter-spacing: .5px; color: var(--leise); background: none; border: 0;
  padding: 6px 7px; border-radius: 6px; cursor: pointer; text-transform: uppercase; }
.sprachen button[aria-current="true"] { color: var(--text); background: rgba(255,255,255,.08); }

main { max-width: 560px; margin: 0 auto; padding: 0 16px; }

.held { position: relative; padding-top: 70px; text-align: center; overflow-x: clip; }
.held .bild { display: block; width: 100%; height: auto; opacity: .85; mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
          mask-composite: intersect; }
.held-text { position: relative; margin-top: -40px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--rot); }
.marke { font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-top: 4px; }
.marke span { color: var(--rot); }
h1 { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.3px; margin-top: 6px; }
h1 .undmehr { display: block; color: var(--leise); font-weight: 600; font-size: .7em; margin-top: 4px; }
.sub { color: var(--leise); margin: 12px auto 0; max-width: 440px; }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 20px; padding: 26px 20px 22px; margin-top: 30px; }
.karte h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.feld { display: block; margin-bottom: 14px; border: 0; padding: 0; min-width: 0; }
.feld > span, .feld legend { display: block; font-size: 13px; font-weight: 500; color: var(--leise); margin-bottom: 6px; padding: 0; }
.feld legend small { font-weight: 400; opacity: .8; }
input:not([type="checkbox"]), select {
  width: 100%; font: 16px Poppins, sans-serif; color: var(--text); background: var(--feld); border: 1px solid var(--linie);
  border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s; appearance: none; -webkit-appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--leise) 50%), linear-gradient(-45deg, transparent 50%, var(--leise) 50%);
  background-position: right 19px center, right 14px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select:invalid, select option[value=""] { color: var(--leise); }
select option { color: var(--text); }
input:focus, select:focus { border-color: #5a5a63; }
[aria-invalid="true"] input:not([type="checkbox"]), [aria-invalid="true"] select { border-color: var(--fehler); }
.feld em { display: block; font-style: normal; font-size: 13px; color: var(--fehler); min-height: 0; }
.feld em:not(:empty) { margin-top: 5px; }

.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kachel { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; cursor: pointer;
  background: var(--feld); border: 1px solid var(--linie); border-radius: 12px; font-size: 14px; font-weight: 500; line-height: 1.25; transition: border-color .15s, background .15s; }
.kachel input { position: absolute; opacity: 0; pointer-events: none; }
.kachel::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #55555e; transition: all .15s; }
.kachel:has(input:checked) { border-color: var(--rot); background: rgba(211,26,7,.1); }
.kachel:has(input:checked)::before { background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--rot); }
.kachel:has(input:focus-visible) { outline: 2px solid var(--rot-hell); outline-offset: 2px; }
/* TRINITY 2 ueber die ganze Breite, Pan-Modul als Schalter rechts darin: immer sichtbar, nichts springt */
.trinity { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-right: 8px;
  background: var(--feld); border: 1px solid var(--linie); border-radius: 12px; transition: border-color .15s, background .15s; }
.trinity:has(input[value="trinity2"]:checked) { border-color: var(--rot); background: rgba(211,26,7,.1); }
.trinity .kachel { flex: 1; min-width: 0; white-space: nowrap; padding-right: 0; border: 0; background: none !important; }
.pan { flex: none; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--linie); background: var(--grund);
  font-size: 13px; font-weight: 500; color: var(--leise); cursor: pointer; white-space: nowrap; transition: all .15s; }
.pan input { position: absolute; opacity: 0; pointer-events: none; }
.pan i { position: relative; flex: none; width: 30px; height: 18px; border-radius: 9px; background: #3a3a41; transition: background .15s; }
.pan i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #c9c9cf; transition: transform .15s, background .15s; }
.pan:has(input:checked) { color: var(--text); border-color: var(--rot); }
.pan:has(input:checked) i { background: var(--rot); }
.pan:has(input:checked) i::after { transform: translateX(12px); background: #fff; }
.pan:has(input:focus-visible) { outline: 2px solid var(--rot-hell); outline-offset: 2px; }
.sonstiges { grid-column: 1 / -1; }

.einwilligung { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 18px 0 18px; cursor: pointer; }
.einwilligung input { position: absolute; opacity: 0; width: 22px; height: 22px; }
.einwilligung .haken { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #55555e; margin-top: 1px; transition: all .15s; }
.einwilligung input:checked + .haken { background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--rot); }
.einwilligung input:focus-visible + .haken { outline: 2px solid var(--rot-hell); outline-offset: 2px; }
.einwilligung[aria-invalid="true"] .haken { border-color: var(--fehler); }
.einwilligung-text { font-size: 13px; line-height: 1.55; color: #c9c9cf; }
.einwilligung-text a { color: var(--text); }
.einwilligung em { grid-column: 2; }

.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button[type="submit"] { width: 100%; font: 600 17px Poppins, sans-serif; color: #fff; background: var(--rot); border: 0; border-radius: 14px;
  padding: 15px 20px; cursor: pointer; transition: background .15s, transform .1s; }
button[type="submit"]:hover { background: var(--rot-hell); }
button[type="submit"]:active { transform: scale(.99); }
button[type="submit"]:disabled { opacity: .6; cursor: default; }
.fehler-allgemein { color: var(--fehler); font-size: 14px; text-align: center; }
.fehler-allgemein:not(:empty) { margin-top: 10px; }
.klein { font-size: 13px; margin-top: 12px; text-align: center; color: #c9c9cf; }
.leise { color: var(--leise); }

.status { text-align: center; padding: 34px 22px; }
.status h2 { font-size: 24px; margin-bottom: 10px; }
.status p { color: #c9c9cf; }
.zeichen { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--rot);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D31A07' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E") center/26px no-repeat; }
.zeichen.ok { background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/28px no-repeat; }

.fuss { max-width: 560px; margin: 0 auto; padding: 40px 16px max(32px, env(safe-area-inset-bottom)); text-align: center; font-size: 12px; color: var(--leise); }
.fuss-logo { height: 30px; margin-bottom: 14px; opacity: .9; }
.fuss p + p { margin-top: 8px; }
.fuss a { text-decoration: none; } .fuss a:hover { color: var(--text); }

@media (min-width: 700px) {
  .held { padding-top: 90px; }
  .marke { font-size: 84px; }
  h1 { font-size: 34px; }
  .karte { padding: 32px 30px 26px; }
}
@media (max-width: 360px) { .zwei, .kacheln { grid-template-columns: 1fr; } }
