.nav-link, .edit-links a { min-height: 44px; display: inline-flex; align-items: center; }
.field { margin: 22px 0; }
.field label, .field-label { display: block; margin-bottom: 8px; font-weight: 700; }
.field input, .field select, .field textarea, .filters input, .filters select {
  width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--ink);
  border-radius: 0; background: var(--paper); color: var(--ink);
}
/* Gemeinsame Auswahlfelder, auch in Profil und Anmeldung. Maße bleiben im jeweiligen Layout. */
body.anmeldung select {
  -webkit-appearance: none; appearance: none; border: 1px solid var(--ink); border-radius: 0;
  background-color: var(--paper); color: var(--ink); font: 15px/1.4 'Bricolage Grotesque', sans-serif;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1012' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
  padding-right: 34px;
}
body.anmeldung select:hover { border-color: var(--petrol); }
fieldset.rounds, fieldset.consents { border: 0; border-top: 2px solid var(--ink); margin: 30px 0; padding: 20px 0 0; min-width: 0; }
.rounds legend, .consents legend { font-weight: 700; padding: 0 8px 0 0; }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; min-height: 48px; cursor: pointer; }
.check-row input { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--petrol); margin: 0; }
.check-row small { display: block; margin-top: 4px; }
.field-error { margin: 5px 0; color: #a50036; font-size: 14px; }
.field-error:empty { display: none; }
[aria-invalid="true"] { outline: 2px solid #a50036; outline-offset: 2px; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border: 1px solid var(--petrol); background: var(--petrol); color: var(--cream) !important; font-weight: 700; text-decoration: none; }
.action:hover { background: var(--ink); }
.action.secondary { min-height: 44px; background: transparent; color: var(--petrol) !important; }
.action.secondary:hover { background: var(--paper); }
.google-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px; border: 1px solid var(--ink); background: var(--paper);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; line-height: 20px; }
.google-button img { flex: 0 0 20px; }
.google-button:hover { outline: 1px solid var(--ink); }
.google-button:active { transform: translateY(1px); }
.login-divider { display: flex; align-items: center; gap: 12px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; border-top: 1px solid var(--ink); }
button:disabled { opacity: .55; cursor: wait; }
button:active, .action:active { transform: translateY(1px); }
#next-step { gap: 10px; min-width: 140px; }
#back-step { margin: 0 0 3px; }
#crop-canvas { display: block; width: 100%; max-width: 400px; aspect-ratio: 4/5; touch-action: none; cursor: move; background: var(--ink); }
#crop-zoom { width: 100%; min-height: 44px; accent-color: var(--petrol); }
.photo-preview { width: 160px; max-width: 100%; margin: 18px 0; aspect-ratio: 4/5; object-fit: cover; }
.payment, .notice { margin: 24px 0; padding: 18px; border: 1px solid var(--ink); background: var(--sun); }
#payment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.edit-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.edit-links button { min-height: 44px; border: 1px solid var(--ink); background: transparent; }
#personal-summary { overflow-wrap: anywhere; }
.login-page main, .legal-page main { padding-bottom: 35px; }
.login-page .phone-page, .legal-page .phone-page { padding-bottom: 0; min-height: 100vh; }
.profile { --role: var(--petrol); padding-bottom: 35px; }
.riso-cerise { --role: var(--cerise-d); }
.riso-tomato { --role: var(--tomato); }
.riso-grape { --role: var(--grape-d); }
.riso-sun { --role: var(--sun); }
.riso-ink { --role: var(--ink); }
.riso-cream { --role: var(--cream); }
.role-band { background: var(--role); color: var(--cream); font-size: 24px; padding: 16px; margin: 20px 0 0; font-weight: 700; }
.riso-tomato .role-band, .riso-sun .role-band, .riso-cream .role-band { color: var(--ink); }
.riso-cream .role-band { border: 1px solid var(--ink); }
.portrait { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.initials { display: grid; place-items: center; aspect-ratio: 4/5; font: italic 700 120px 'Sansita'; border: 1px solid var(--ink); color: var(--ink); background: var(--role); }
.riso-petrol .initials, .riso-cerise .initials, .riso-grape .initials, .riso-ink .initials { color: var(--cream); }
.profile h1 { font: italic 700 clamp(36px, 10vw, 64px)/1.03 'Sansita'; overflow-wrap: anywhere; margin: 24px 0; }
.profile h2 { font: italic 700 30px/1.1 'Sansita'; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-page { max-width: 1200px; margin: auto; padding: 0 22px 50px; }
.admin-page .registration-header { padding-left: 0; padding-right: 0; }
.admin-page main { padding: 0; }
.admin-page h1 { font: italic 700 48px/1.1 'Sansita'; color: var(--petrol); }
.admin-page h2 { font: italic 700 32px/1.1 'Sansita'; margin-top: 32px; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin: 24px 0; }
.filters label { display: block; font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink); padding: 12px 10px; }
th { background: var(--ink); color: var(--cream); }
td button, td a { min-height: 44px; display: inline-flex; align-items: center; }
.payment-buttons { display: flex; gap: 5px; flex-wrap: wrap; }
.payment-buttons button { background: transparent; padding: 8px; border: 1px solid var(--ink); }
.payment-buttons [aria-pressed="true"] { background: var(--petrol); color: var(--cream); }
.detail-panel { border-block: 2px solid var(--ink); margin: 25px 0; padding-bottom: 25px; }
#helpdesk img { width: 240px; height: 240px; background: white; max-width: 100%; }
#helpdesk a { overflow-wrap: anywhere; }
.inline-confirm { padding: 18px; border: 2px solid var(--cerise-d); margin: 16px 0; }
.settings-form { max-width: 640px; }
.empty { padding: 20px 0; }
@media (max-width: 600px) {
  .admin-page { padding-inline: 16px; }
  .people-table thead { display: none; }
  .people-table tr { display: block; padding: 14px 0; border-bottom: 2px solid var(--ink); }
  .people-table td { display: block; border: 0; padding: 6px 0; overflow-wrap: anywhere; }
  .people-table td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 12px; }
  .admin-page .table-scroll { overflow: visible; }
  .admin-page h1 { font-size: 40px; }
}
/* Eingaben bleiben für Tastatur und Screenreader erreichbar. */
.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link:focus-visible {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  width: auto; height: auto; padding: 12px; margin: 0; overflow: visible;
  clip: auto; clip-path: none; white-space: normal; transform: none;
}
.file-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.file-picker label { cursor: pointer; }
.file-picker input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 4px; }
#foto-filename { overflow-wrap: anywhere; min-width: 0; }
.person-link { font: inherit; color: var(--petrol); background: transparent; border: 0; padding: 4px 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.person-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.payment-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.checkout-button { width: 100%; white-space: normal; font: inherit; font-weight: 700; cursor: pointer; }
.bank-transfer { margin-top: 12px; }
.bank-transfer summary { display: list-item; min-height: 44px; padding: 12px 0; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#payment-overview { display: flex; flex-wrap: wrap; gap: 16px 32px; border-block: 1px solid var(--ink); padding: 16px 0; }
#payment-overview p { margin: 0; }
#payment-overview strong { display: block; }
.payout { border-top: 2px solid var(--ink); padding: 20px 0; }
.payout summary { min-height: 44px; cursor: pointer; font-weight: 700; overflow-wrap: anywhere; }
.payout .unmatched { color: #a50036; background: #fff0e9; }
.payout .mismatch { color: #a50036; font-weight: 700; }
.payout td { overflow-wrap: anywhere; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
