/* Wichtler 3000 – Fundament: Aufbau und Verhalten. Farbe, Schrift und Charakter kommen aus theme-*.css. */

:root {
  --bg: #fff; --ink: #222; --muted: #666;
  --surface: #fff; --surface-2: #f3f3f3; --line: #ddd;
  --accent: #c33; --accent-ink: #fff; --accent-2: #262;
  --ok: #2f7d47; --warn: #b97a12; --fail: #c0392b;
  --radius: 20px; --radius-s: 12px;
  --font-display: system-ui, sans-serif; --font-body: system-ui, sans-serif;
  --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --confetti: #d2402f, #fbf1e3, #2f6b45, #e9a23b;
  --wrap: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.3rem + 3vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 1.2rem + .8vw, 1.7rem); }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; padding: .1em .4em; border-radius: 6px; background: var(--surface-2); white-space: nowrap; }
svg { display: block; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }

/* ---------- Seitengerüst ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 18px 20px 8px; }
.top__nav { display: flex; align-items: center; gap: 4px; }
.top__nav form { display: contents; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.35rem/1 var(--font-display); }
.logo__mark { width: 38px; height: 38px; display: grid; place-items: center; }
.logo__mark svg { width: 100%; height: 100%; }
.navlink { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 0; background: none; border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none; color: inherit; opacity: .85; transition: opacity .2s, background .2s; }
.navlink:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.wrap { flex: 1; width: 100%; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 12px 20px 40px; display: flex; flex-direction: column; gap: 20px; }
.narrow { max-width: 520px; width: 100%; margin: 4vh auto 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; width: 100%; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 10px 20px 32px; font-size: .85rem; opacity: .7; }
.foot__legal { display: flex; gap: 14px; margin-left: auto; font-size: .78rem; }
.foot__legal a { text-decoration: none; opacity: .75; }
.foot__legal a:hover { opacity: 1; text-decoration: underline; }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Karten ---------- */
.card { position: relative; background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 4vw, 30px); display: flex; flex-direction: column; gap: 18px; }
.card__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: center; }
.card__head > :not(.card__num) { grid-column: 2; }
.card__head:not(:has(.card__num)) > * { grid-column: 1 / -1; }
.card__head p { color: var(--muted); font-size: .98rem; }
.card__num { grid-row: 1 / span 2; align-self: start; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-2); color: #fff; font: 700 1.3rem/1 var(--font-display); }
.card__num svg.deco { width: 28px; height: 28px; }
.card.center { align-items: center; }
.badge-art { width: 84px; height: 84px; margin-bottom: 8px; }
.badge-art svg { width: 100%; height: 100%; }
.card.center .badge-art, .narrow .card__head .badge-art { justify-self: center; }
.narrow .card__head { text-align: center; row-gap: 8px; }

details.card--fold > summary { cursor: pointer; list-style: none; }
details.card--fold > summary::-webkit-details-marker { display: none; }
details.card--fold > summary h2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.card--fold > summary h2::after { content: ""; width: .5em; height: .5em; border-right: 3px solid; border-bottom: 3px solid; transform: rotate(45deg) translate(-2px, -2px); transition: transform .35s var(--spring); opacity: .6; flex: none; margin-right: 6px; }
details.card--fold[open] > summary h2::after { transform: rotate(225deg) translate(-2px, -2px); }
details.card--fold:not([open]) { gap: 0; }

/* ---------- Formulare ---------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid2--wide { grid-template-columns: 1fr 120px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row > input { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-weight: 700; font-size: .92rem; }
.field__label i { font-style: normal; font-weight: 400; color: var(--muted); font-size: .85em; margin-left: 4px; }
.field__hint, .hint { color: var(--muted); font-size: .88rem; line-height: 1.45; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-s);
  background: var(--field, var(--surface)); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
textarea { resize: vertical; line-height: 1.5; min-height: 8em; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .65; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--focus, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus, var(--accent)) 22%, transparent); }

.switch { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; cursor: pointer; font-size: .95rem; line-height: 1.45; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { position: relative; width: 52px; height: 32px; border-radius: 999px; background: var(--line); transition: background .25s; margin-top: 2px; }
.switch__ui::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .45s var(--spring), border-radius .3s; }
.switch input:checked + .switch__ui { background: var(--ok); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius-s); cursor: pointer; transition: border-color .2s, background .2s; }
.choice label:has(:checked) { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 8%, transparent); }
.choice input { margin-top: 5px; accent-color: var(--accent-2); }
.choice small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- Knöpfe ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.actions--end { justify-content: flex-end; }
.btn { --btn-bg: var(--surface-2); --btn-ink: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; min-height: 48px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  transition: transform .4s var(--spring), box-shadow .2s, background .2s, filter .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn--primary { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); }
.btn--ghost { --btn-bg: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn--quiet { --btn-bg: transparent; }
.btn--danger { --btn-bg: transparent; --btn-ink: var(--fail); box-shadow: inset 0 0 0 2px currentColor; }
.btn--big { padding: 16px 28px; min-height: 58px; font-size: 1.12rem; }
.btn--small { padding: 8px 14px; min-height: 38px; font-size: .9rem; }
.btn--small .ui { width: 16px; height: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.5); }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .ui { animation: spin 1s linear infinite; }
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); transition: background .2s, color .2s, transform .4s var(--spring); }
.iconbtn:hover { background: color-mix(in srgb, var(--fail) 12%, transparent); color: var(--fail); transform: rotate(90deg); }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Stand der Dinge ---------- */
.status { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; padding: clamp(22px, 4.5vw, 36px); border-radius: var(--radius); background: var(--accent-2); color: #fff; }
.status__art { width: clamp(72px, 16vw, 112px); aspect-ratio: 1; display: grid; place-items: center; }
.status__art svg { width: 70%; height: 70%; }
.status__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.status__text p:not(.eyebrow) { opacity: .88; max-width: 46ch; }
.eyebrow, h1.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .82rem; font-weight: 700; opacity: .55; }
.steps li.is-done, .steps li.is-now { opacity: 1; }
.steps__mark { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); font: 700 1.05rem/1 var(--font-display); }
.steps li::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 3px; background: rgba(255, 255, 255, .22); }
.steps li:first-child::before { display: none; }
.confetti { position: absolute; left: 50%; top: 40%; width: 0; height: 0; z-index: 5; pointer-events: none; }
.confetti i { position: absolute; width: 11px; height: 15px; border-radius: 3px; }
.confetti i.is-round { width: 11px; height: 11px; border-radius: 50%; }

/* ---------- Hinweise ---------- */
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-radius: var(--radius-s); background: var(--surface); font-weight: 600; animation: drop .6s var(--spring) both; }
.flash .ui { margin-top: 2px; }
.flash--ok { color: var(--ok); }
.flash--error { color: var(--fail); }
.flash--warn { color: var(--warn); }
.flash span { color: var(--ink); }
.note { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); }
.note__art { width: 52px; height: 52px; }
.note__art svg { width: 100%; height: 100%; }
.note p { color: var(--muted); font-size: .96rem; margin-top: 3px; }
.inline-more { margin-top: 8px; font-size: .92rem; }
.inline-more summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.inline-more .row { margin-top: 10px; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ---------- Wichtel eintragen ---------- */
.people { display: flex; flex-direction: column; gap: 8px; }
.people__head, .person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 40px; gap: 8px; align-items: center; }
.people.has-sub .people__head, .people.has-sub .person { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr) 40px; }
.people:not(.has-sub) .sub-only { display: none; }
.people__head { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 4px; }
.person.is-new { animation: rowin .5s var(--spring) both; }
.person.is-leaving { animation: rowout .3s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes rowout { to { opacity: 0; transform: translateX(30px) scale(.95); } }
.count { font-weight: 700; color: var(--muted); font-size: .92rem; }
.advanced { border-top: 2px dashed var(--line); padding-top: 14px; }
.advanced summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--muted); list-style: none; padding: 4px 0; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary:hover { color: var(--ink); }
.advanced[open] summary { margin-bottom: 14px; color: var(--ink); }

/* ---------- Versand ---------- */
.roster { display: flex; flex-direction: column; }
.roster__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) auto auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 2px dashed var(--line); transition: background .3s; }
.roster__name { font-weight: 700; overflow-wrap: anywhere; }
.roster__name small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.roster__mail { padding: 8px 12px !important; font-size: .95rem; }
.roster__error { grid-column: 1 / -1; color: var(--fail); font-size: .85rem; }
.roster__row.is-sending { background: color-mix(in srgb, var(--warn) 10%, transparent); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.chip .ui { width: 15px; height: 15px; stroke-width: 3; }
.chip--ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.chip--fail { background: color-mix(in srgb, var(--fail) 14%, transparent); color: var(--fail); }
.chip--warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.chip.is-pop { animation: pop .55s var(--spring) both; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress__bar { height: 18px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress__bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .5s var(--ease); }
.progress__label { font-weight: 700; font-size: .92rem; }

.assign { display: flex; flex-direction: column; }
.assign li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 2px dashed var(--line); }
.assign__from { font-weight: 700; }
.assign__arrow { font-size: .82rem; color: var(--muted); }
.assign select { padding-top: 8px; padding-bottom: 8px; }

/* ---------- Dezentes ---------- */
.switcher { display: flex; flex-wrap: wrap; gap: 6px; }
.switcher a { padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; opacity: .7; transition: opacity .2s, background .2s; }
.switcher a:hover { opacity: 1; }
.switcher a.is-on { opacity: 1; background: var(--surface); color: var(--ink); }
.more { align-self: center; width: 100%; }
.more > summary { display: flex; width: fit-content; margin: 0 auto; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 700; opacity: .7; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover, .more[open] > summary { opacity: 1; }
.more__body { margin-top: 12px; padding: 8px 22px 18px; border-radius: var(--radius); background: var(--surface); color: var(--ink); animation: drop .5s var(--spring) both; }
.more__item { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 2px dashed var(--line); }
.more__item p { color: var(--muted); font-size: .9rem; }
.more__body > .hint { margin-top: 14px; }

/* ---------- Startseite ---------- */
.hero { display: grid; gap: 26px; padding-top: 2vh; }
.hero__text { display: flex; flex-direction: column; gap: 16px; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 1.4rem + 6vw, 4.6rem); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
h1.eyebrow { font-family: inherit; line-height: inherit; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); max-width: 34em; }
.hero__steps { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: .95rem; }
.hero__steps li { display: flex; align-items: center; gap: 8px; }
.hero__steps b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 .9rem/1 var(--font-display); }
@media (min-width: 900px) {
  .page-start { --wrap: 1080px; }
  .hero { grid-template-columns: 1.15fr .85fr; grid-template-areas: "text art" "form art"; align-items: start; column-gap: 48px; }
  .hero__text { grid-area: text; } .hero__art { grid-area: art; align-self: center; } .card--start { grid-area: form; }
}

/* ---------- Verwaltung ---------- */
.page-admin { --wrap: 920px; }
.adminbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .25s, color .25s; }
.tabs a.is-on { background: var(--accent-2); color: #fff; }
.tabs .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--radius); background: var(--surface); }
.stat b { font: 700 2.4rem/1 var(--font-display); }
.stat span { font-weight: 700; }
.stat small { color: var(--muted); font-size: .8rem; }
.grid2--cards { align-items: stretch; gap: 20px; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bars li { display: grid; grid-template-columns: 11em 1fr 2em; gap: 10px; align-items: center; font-size: .92rem; }
.bars b { text-align: right; }
.bars__track { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bars__fill { display: block; height: 100%; border-radius: inherit; background: var(--accent-2); min-width: 0; }
.bars__fill--draft { background: var(--muted); } .bars__fill--drawn, .bars__fill--sending { background: var(--warn); } .bars__fill--done { background: var(--ok); }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 150px; }
.months li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: .8rem; color: var(--muted); }
.months i { width: 100%; max-width: 44px; border-radius: 8px 8px 3px 3px; background: var(--accent); }
.months b { color: var(--ink); }
.grouplist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 6px 14px; align-items: center; padding: 12px 0; border-top: 2px dashed var(--line); }
.grouplist__main { display: flex; flex-direction: column; min-width: 0; }
.grouplist__main span, .grouplist__meta { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.loglist li { display: flex; flex-direction: column; padding: 8px 0; border-top: 2px dashed var(--line); font-size: .9rem; }
.loglist small { color: var(--fail); }
.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checks .is-ok .ui { color: var(--ok); } .checks .is-bad { color: var(--fail); }

/* ---------- Schnee ---------- */
.snow { position: absolute; inset: 0; }
.snow i { position: absolute; top: -12px; border-radius: 50%; background: #fff; animation: snow linear infinite; }
@keyframes snow { to { transform: translate(var(--drift, 0), 105vh); } }

/* ---------- Schmal ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .navlink span { display: none; }
  .grid2, .choice { grid-template-columns: 1fr; }
  .grid2--wide { grid-template-columns: 1fr 96px; }
  .status { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .status__text { align-items: center; }
  .steps li { font-size: .72rem; }
  .people__head { display: none; }
  .person, .people.has-sub .person { grid-template-columns: 1fr 40px; padding: 10px; border-radius: var(--radius-s); background: var(--surface-2); }
  .person input { grid-column: 1; }
  .person .iconbtn { grid-column: 2; grid-row: 1; }
  .roster__row { grid-template-columns: 1fr auto; }
  .roster__mail { grid-column: 1 / -1; grid-row: 2; }
  .roster__name { grid-column: 1; } .roster__row .chip { grid-column: 1; grid-row: 3; justify-self: start; } .roster__row .btn { grid-column: 2; grid-row: 3; }
  .assign li { grid-template-columns: 1fr; gap: 4px; }
  .more__item { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .grouplist li { grid-template-columns: 1fr auto; }
  .grouplist__meta { grid-column: 1; }
  .bars li { grid-template-columns: 8.5em 1fr 2em; }
  .btn--big { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Motive: die Designs färben über --d-a/--d-b/--d-c ein ---------- */
svg.deco .a { fill: var(--d-a, currentColor); }
svg.deco .b { fill: var(--d-b, currentColor); }
svg.deco .c { fill: var(--d-c, currentColor); }
svg.deco .c[fill=none] { fill: none; stroke: var(--d-c, currentColor); }
svg.deco .sa { stroke: var(--d-a, currentColor); }
svg.deco .sb { stroke: var(--d-b, currentColor); }

:root { --scallop: polygon(100% 50%,99.8% 52.6%,99.3% 55.2%,98.5% 57.7%,97.2% 60%,95.6% 62.2%,92.8% 63.9%,94.1% 66.9%,94.1% 69.6%,93.7% 72.3%,92.9% 74.8%,91.8% 77.2%,90.5% 79.4%,88.8% 81.4%,86.9% 83.2%,84.7% 84.7%,82.3% 85.9%,79.7% 86.7%,76.5% 86.4%,75.7% 89.6%,74.1% 91.8%,72.3% 93.7%,70.2% 95.3%,67.9% 96.6%,65.5% 97.6%,62.9% 98.2%,60.3% 98.5%,57.7% 98.5%,55% 98%,52.5% 97.2%,50% 95%,47.5% 97.2%,45% 98%,42.3% 98.5%,39.7% 98.5%,37.1% 98.2%,34.5% 97.6%,32.1% 96.6%,29.8% 95.3%,27.7% 93.7%,25.9% 91.8%,24.3% 89.6%,23.5% 86.4%,20.3% 86.7%,17.7% 85.9%,15.3% 84.7%,13.1% 83.2%,11.2% 81.4%,9.5% 79.4%,8.2% 77.2%,7.1% 74.8%,6.3% 72.3%,5.9% 69.6%,5.9% 66.9%,7.2% 63.9%,4.4% 62.2%,2.8% 60%,1.5% 57.7%,0.7% 55.2%,0.2% 52.6%,0% 50%,0.2% 47.4%,0.7% 44.8%,1.5% 42.3%,2.8% 40%,4.4% 37.8%,7.2% 36.1%,5.9% 33.1%,5.9% 30.4%,6.3% 27.7%,7.1% 25.2%,8.2% 22.8%,9.5% 20.6%,11.2% 18.6%,13.1% 16.8%,15.3% 15.3%,17.7% 14.1%,20.3% 13.3%,23.5% 13.6%,24.3% 10.4%,25.9% 8.2%,27.7% 6.3%,29.8% 4.7%,32.1% 3.4%,34.5% 2.4%,37.1% 1.8%,39.7% 1.5%,42.3% 1.5%,45% 2%,47.5% 2.8%,50% 5%,52.5% 2.8%,55% 2%,57.7% 1.5%,60.3% 1.5%,62.9% 1.8%,65.5% 2.4%,67.9% 3.4%,70.2% 4.7%,72.3% 6.3%,74.1% 8.2%,75.7% 10.4%,76.5% 13.6%,79.7% 13.3%,82.3% 14.1%,84.7% 15.3%,86.9% 16.8%,88.8% 18.6%,90.5% 20.6%,91.8% 22.8%,92.9% 25.2%,93.7% 27.7%,94.1% 30.4%,94.1% 33.1%,92.8% 36.1%,95.6% 37.8%,97.2% 40%,98.5% 42.3%,99.3% 44.8%,99.8% 47.4%); }
#act { display: none; }
.mainform { display: contents; }
@media (max-width: 640px) { .card__head > p { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .roster__row { grid-template-columns: minmax(0, 1fr) auto; }
  .roster__row .chip { white-space: normal; min-width: 0; }
}

/* ---------- Landingpage & Texte ---------- */
.section-title { text-align: center; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin-bottom: 22px; }
.how, .perks { margin-top: clamp(28px, 6vw, 64px); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how__card { align-items: flex-start; gap: 10px; }
.how__card h3 { font: 600 1.25rem/1.15 var(--font-display); margin: 6px 0 0; }
.how__card p { color: var(--muted); font-size: .98rem; }
.how__card .z-tile { width: 76px; }
.perks__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; margin-bottom: 34px; }
.perks__list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .98rem; line-height: 1.45; }
.perks__list .ui { margin-top: 2px; }
.prose { gap: 14px; max-width: 720px; width: 100%; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.prose a { overflow-wrap: anywhere; }
@media (max-width: 800px) { .how__grid, .perks__list { grid-template-columns: 1fr; } .how__card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; } .how__card .z-tile { grid-row: 1 / span 2; width: 64px; } .how__card h3 { margin: 0; align-self: end; } }

/* E-Mail-Adressen: «@» und «.» stehen nicht im Quelltext (Schutz vor Adress-Sammlern) */
.mail i { font-style: normal; }
.mail__at::before { content: "@"; }
.mail__dot::before { content: "."; }
