/* ------------------------------------------------------------------ Basis */

:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-sunken: #e9ebef;
  --border: #c6ccd4;
  --border-strong: #8b949f;
  --text: #14171c;
  --text-muted: #525a65;
  --accent: #13528c;
  --accent-strong: #0e3f6d;
  --accent-soft: #e3edf8;
  --danger: #9d2a20;
  --danger-soft: #fae9e7;
  --radius: 8px;
  --radius-sm: 6px;
  --touch: 48px;
  --gap: 16px;
  --shadow: 0 1px 2px rgba(16, 20, 26, 0.08), 0 1px 1px rgba(16, 20, 26, 0.04);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

/* Muss vor allen display-Regeln stehen, damit hidden immer greift. */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.01em;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------- Struktur */

.app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.view {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.view[hidden] {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 12px clamp(16px, 3vw, 28px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar-main {
  min-width: 0;
  flex: 1;
}

.topbar-title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.topbar-sub {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* -------------------------------------------------------------- Bedienung */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--touch);
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  background: var(--surface-sunken);
}

.btn:active {
  background: var(--border);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: default;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-primary:active {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: var(--border);
  background: transparent;
}

.btn-danger {
  border-color: var(--border);
  color: var(--danger);
  background: transparent;
}

.btn-danger:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.btn-lg {
  min-height: 52px;
  padding: 0 20px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  min-width: var(--touch);
  padding: 0 10px;
}

.input {
  width: 100%;
  min-height: var(--touch);
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.input:focus {
  border-color: var(--accent);
}

.input-lg {
  min-height: 52px;
  font-size: 1.0625rem;
}

.field {
  display: block;
  min-width: 0;
}

.field-grow {
  flex: 1;
  min-width: 180px;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.field-hint {
  font-weight: 400;
  text-transform: none;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  color: var(--text-muted);
  pointer-events: none;
}

.input-search {
  padding-left: 42px;
}

.form-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--danger);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.9375rem;
}

.empty {
  margin: 24px 0;
  padding: 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
}

/* -------------------------------------------------------------- Anmeldung */

.view-login {
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-title {
  font-size: 1.25rem;
  line-height: 1.25;
}

.login-subtitle {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.login-form {
  display: block;
}

.login-form .btn {
  margin-top: 18px;
}

/* -------------------------------------------------------- Stationsauswahl */

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
  padding: clamp(16px, 3vw, 28px);
}

.station-tile {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-family: inherit;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
  hyphens: auto;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.station-tile:hover {
  background: var(--accent-soft);
}

.station-tile:active {
  background: var(--accent-soft);
  border-left-color: var(--accent-strong);
}

/* -------------------------------------------------------- Stationsansicht */

.station-body {
  padding: clamp(16px, 3vw, 28px);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar .btn {
  flex: none;
}

.new-person {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.new-person[hidden] {
  display: none;
}

.new-person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.new-person-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 8px;
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.person-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.person-row[hidden] {
  display: none;
}

.person-row.is-saving {
  border-color: var(--accent);
}

/* Eine Aenderung von einem anderen Tablet blitzt kurz auf. */
.person-row.is-live {
  animation: live-flash 1.2s ease-out;
}

@keyframes live-flash {
  0% {
    background: var(--accent-soft);
    border-color: var(--accent);
  }
  100% {
    background: var(--surface);
    border-color: var(--border);
  }
}

@media (prefers-reduced-motion: reduce) {
  .person-row.is-live {
    animation: none;
    border-color: var(--accent);
  }
}

.person-info {
  flex: 1;
  min-width: 0;
}

.person-name {
  font-size: 1.0625rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.person-notes {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.person-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.person-edit {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.person-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.person-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.person-row.is-editing {
  flex-direction: column;
  align-items: stretch;
  border-color: var(--accent);
}

.icon-btn {
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: var(--surface-sunken);
  color: var(--text);
}

.icon-btn-danger {
  color: var(--danger);
}

.icon-btn-danger:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
}

.person-danger {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--danger);
}

.person-danger-text {
  margin: 0;
  color: var(--danger);
  font-size: 0.9375rem;
}

.person-danger-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.person-row.is-removing {
  flex-direction: column;
  align-items: stretch;
  border-color: var(--danger);
  background: var(--danger-soft);
}

.points {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.points-btn {
  width: var(--touch);
  height: var(--touch);
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.points-btn:hover {
  background: var(--surface-sunken);
}

.points-btn:active {
  background: var(--border);
}

.points-input {
  width: 72px;
  height: var(--touch);
  padding: 0 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.points-input:focus {
  border-color: var(--accent);
}

/* ------------------------------------------------------------- Adminteil */

.tabs {
  display: flex;
  gap: 4px;
  padding: 0 clamp(16px, 3vw, 28px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  min-height: var(--touch);
  padding: 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.tab[aria-selected='true'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin-body {
  padding: clamp(16px, 3vw, 28px);
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.panel[hidden] {
  display: none;
}

.panel-note {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-title {
  margin: 32px 0 12px;
  font-size: 1.0625rem;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-station {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  flex-wrap: wrap;
}

.admin-station.is-archived {
  background: var(--surface-sunken);
}

.admin-station .input {
  flex: 1;
  min-width: 160px;
}

.admin-station-meta {
  color: var(--text-muted);
  font-size: 0.8125rem;
  min-width: 96px;
}

.admin-station-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table thead th {
  position: sticky;
  top: 0;
  background: var(--surface-sunken);
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--text-muted);
  white-space: nowrap;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table .input {
  min-height: 40px;
  min-width: 120px;
}

.table-rank td:first-child {
  width: 72px;
  font-variant-numeric: tabular-nums;
}

.table-matrix th:first-child,
.table-matrix td:first-child {
  position: sticky;
  left: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  min-width: 160px;
}

.table-matrix thead th:first-child {
  background: var(--surface-sunken);
  z-index: 1;
}

.table-matrix td {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.table-matrix td:first-child {
  text-align: left;
}

.station-reports {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.station-report {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.station-report h3 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-sunken);
  font-size: 0.9375rem;
}

.station-report ol {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.station-report li {
  display: flex;
  gap: 10px;
  padding: 7px 14px;
  font-size: 0.9375rem;
}

.station-report .rank {
  width: 28px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.station-report .name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.station-report .pts {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  flex: none;
}

/* ------------------------------------------------------------------ Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(16, 20, 26, 0.18);
  translate: -50% 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.toast[hidden] {
  display: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------ Siegerehrung */

.ceremony {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #0e1116;
  color: #f2f4f7;
  overflow: hidden;
}

.ceremony[hidden] {
  display: none;
}

.ceremony-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.ceremony-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(20px, 3vh, 44px) clamp(20px, 4vw, 64px);
  gap: clamp(12px, 2vh, 28px);
}

.ceremony-head {
  text-align: center;
}

.ceremony-kicker {
  margin: 0;
  color: #8e99a8;
  font-size: clamp(0.8125rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ceremony-title {
  margin-top: 6px;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  letter-spacing: -0.015em;
}

.ceremony-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

/* Einzelne Platzeinblendung */

.reveal {
  text-align: center;
  max-width: 1100px;
}

.reveal[hidden] {
  display: none;
}

.reveal-rank {
  margin: 0 0 clamp(10px, 2vh, 24px);
  color: var(--reveal-color, #c9d2de);
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reveal-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.6vh, 18px);
}

.reveal-names li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  flex-wrap: wrap;
}

.reveal-name {
  font-size: clamp(2rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.reveal-points {
  color: #aab4c2;
  font-size: clamp(1.125rem, 2.4vw, 2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

/* Podest */

.podium-wrap {
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.5vh, 36px);
  height: 100%;
  min-height: 0;
}

.podium-wrap[hidden] {
  display: none;
}

.podium {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  align-items: end;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  min-height: 0;
  height: min(52vh, 440px);
  align-self: end;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.podium-col {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: end;
  min-width: 0;
  height: 100%;
}

.podium-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Gleiche Hoehe fuer alle Spalten, damit die Balken auf einer Linie starten. */
  min-height: clamp(56px, 9vh, 104px);
  text-align: center;
  padding-bottom: 10px;
  min-width: 0;
}

.podium-name {
  font-size: clamp(0.9375rem, 1.6vw, 1.375rem);
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.podium-points {
  margin-top: 2px;
  color: #aab4c2;
  font-size: clamp(0.875rem, 1.4vw, 1.125rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.podium-bar {
  position: relative;
  align-self: end;
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: #243041;
  border-top: 3px solid #3d5a80;
  transform: scaleY(0);
  transform-origin: bottom center;
  will-change: transform;
}

.podium-col[data-place='1'] .podium-bar {
  background: #2b4668;
  border-top-color: #7fa8d8;
}

.podium-col[data-place='2'] .podium-bar {
  background: #253748;
  border-top-color: #5c7f9e;
}

.podium-place {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  text-align: center;
  color: #c6d2e2;
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Vollstaendige Liste */

.full-list {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.full-list-title {
  margin: 0 0 8px;
  color: #8e99a8;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.full-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px 20px;
  max-height: clamp(120px, 26vh, 280px);
}

.full-list-items li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 2px;
  border-bottom: 1px solid #1c232d;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  opacity: 0;
}

.full-list-items .rank {
  width: 30px;
  flex: none;
  color: #8e99a8;
  font-variant-numeric: tabular-nums;
}

.full-list-items .name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.full-list-items .pts {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* Animationen: ausschliesslich transform und opacity */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.anim-rise {
  animation: rise 0.52s cubic-bezier(0.16, 0.84, 0.24, 1) both;
}

.anim-fade {
  animation: fade-in 0.4s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }

  .podium-bar {
    transform: scaleY(1);
  }

  .full-list-items li {
    opacity: 1;
  }
}

/* ------------------------------------------------------------ Breakpoints */

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .person-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .person-info {
    flex-basis: 100%;
  }

  .points {
    width: 100%;
    justify-content: space-between;
  }

  .points-input {
    flex: 1;
    max-width: 120px;
  }

  .list-head-points {
    display: none;
  }
}

@media (max-width: 420px) {
  .station-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 620px) {
  .full-list-items {
    max-height: 20vh;
  }
}

/* ------------------------------------------------------------ Statikseiten */

.page {
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 32px) 64px;
}

.page-kicker {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-title {
  margin: 6px 0 24px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}

.page h2 {
  margin: 32px 0 8px;
  font-size: 1.0625rem;
}

.page p,
.page li {
  color: var(--text);
}

.page ul {
  margin: 8px 0;
  padding-left: 22px;
}

.page li {
  margin-bottom: 6px;
}

.placeholder {
  display: inline-block;
  padding: 1px 6px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-back {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
