@charset "UTF-8";
/* Aus app.scss erzeugt. Änderungen in app.scss und _variables.scss vornehmen. */
:root {
  --bright-red: #dc141c;
  --white: #ffffff;
  --red: #dc141c;
  --ink: #211b1b;
  --muted: #6b6060;
  --line: #e6e0e0;
  --calendar-free: #edf6f0;
  --calendar-booked: #f2d9d5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.55 "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.top {
  min-height: 72px;
  padding: 12px max(20px, (100% - 1160px) / 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bright-red);
  color: white;
}

.brand {
  font-weight: 750;
  text-decoration: none;
  display: flex;
  gap: 10px;
}

.top nav, .top nav form {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top a, .link {
  color: white;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hero, .booking, .dashboard {
  width: min(1160px, 100% - 32px);
  margin: auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
}

.hero h1, .booking h2, .dashboard h1 {
  font-family: "Raleway", "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-weight: 400;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.2;
  margin: 0.15em 0;
}

.hero p {
  font-size: 1.1rem;
  max-width: 470px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 750;
  color: #930d13;
}

.calendar-card, .card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 3px 8px #211b1b26, 0 8px 22px #211b1b33;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-head h2 {
  font-size: 1.25rem;
  text-transform: capitalize;
}

.calendar-head button {
  border: 0;
  background: #f3f3f3;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  cursor: pointer;
}

.week, .calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.week span {
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 12px 0;
}

.calendar button {
  user-select: none;
  aspect-ratio: 1;
  border: 0;
  border-radius: 4px;
  background: #edf6f0;
  color: var(--bright-red);
  font-weight: 700;
  cursor: pointer;
}

.calendar button:hover {
  outline: 2px solid var(--bright-red);
}

.calendar button:disabled {
  cursor: not-allowed;
  background: #f0eeee;
  color: #9b9693;
}

.calendar button.booked, .calendar button.held {
  background: #f2d9d5;
  color: #873d36;
}

.calendar button.selected {
  background: var(--bright-red);
  color: white;
}

.legend {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #edf6f0;
}

.legend .booked {
  background: #f2d9d5;
}

.legend .selected {
  background: var(--bright-red);
}

.booking {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  padding: 70px 0 100px;
}

.booking h2 {
  font-size: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid > * {
  min-width: 0;
}

.form-grid label {
  font-size: 0.9rem;
  font-weight: 700;
  display: grid;
  gap: 6px;
}

.form-grid input, .form-grid select, .form-grid textarea {
  min-width: 0;
  width: 100%;
  padding: 13px;
  border: 1px solid #908484;
  border-radius: 3px;
  font: inherit;
  background: white;
}

.form-grid .wide {
  grid-column: 1/-1;
}

.form-grid input[type=date] {
  -webkit-appearance: none;
  appearance: none;
  max-width: 100%;
  min-height: 44px;
}
.form-grid input[type=date]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}

.consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 400 !important;
}

.consent input {
  width: auto !important;
}

.button, .small-button {
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: var(--bright-red);
  font-weight: 800;
  padding: 14px 20px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.alert {
  background: #f7dfdb;
  color: #7d2e29;
  padding: 13px;
  border-radius: 3px;
  margin: 15px 0;
}

.result, .login {
  width: min(540px, 100% - 32px);
  margin: 80px auto;
  text-align: center;
}

.result .check {
  font-size: 3rem;
  color: var(--bright-red);
}

dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
}

dt, dd {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.login form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.login label {
  display: grid;
  gap: 6px;
}

.login input {
  padding: 13px;
  border: 1px solid #908484;
  border-radius: 3px;
}

.admin {
  min-height: 80vh;
}

.dashboard {
  padding: 50px 0;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard h1 {
  font-size: 3.3rem;
}

.role, .badge {
  font-size: 0.72rem;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3eeee;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.stat {
  border: solid var(--bright-red) 3px;
  color: var(--ink);
  border-radius: 16px;
  padding: 20px;
}

.stat strong {
  display: block;
  font-size: 2rem;
}

.table-wrap {
  overflow: auto;
}

@media (min-width: 761px) {
  .booking-number {
    width: 1%;
    white-space: nowrap;
    padding-inline: 6px;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

td small {
  display: block;
  color: var(--muted);
}

.badge.paid {
  background: #ddefe2;
  color: #22613b;
}

.badge.cancelled, .badge.refunded {
  background: #f3dcda;
  color: #8b342e;
}

dialog {
  border: 0;
  border-radius: 18px;
  width: min(700px, 100% - 24px);
  box-shadow: 0 30px 80px #0004;
}

dialog::backdrop {
  background: #211b1baa;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.ghost {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px 18px;
}

.button, .small-button, .ghost, .calendar-head button {
  transition: filter 160ms ease;
}
.button:hover:not(:disabled):not([aria-disabled=true]), .button:focus-visible:not(:disabled):not([aria-disabled=true]), .small-button:hover:not(:disabled):not([aria-disabled=true]), .small-button:focus-visible:not(:disabled):not([aria-disabled=true]), .ghost:hover:not(:disabled):not([aria-disabled=true]), .ghost:focus-visible:not(:disabled):not([aria-disabled=true]), .calendar-head button:hover:not(:disabled):not([aria-disabled=true]), .calendar-head button:focus-visible:not(:disabled):not([aria-disabled=true]) {
  filter: brightness(0.9);
}
.button:focus-visible, .small-button:focus-visible, .ghost:focus-visible, .calendar-head button:focus-visible {
  outline: 3px solid var(--bright-red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .button, .small-button, .ghost, .calendar-head button {
    transition: none;
  }
}
footer {
  padding: 30px;
  text-align: center;
  background: #211b1b;
  color: #e6e0e0;
}
footer a {
  color: #e6e0e0;
}
footer a:hover {
  text-decoration: none;
}

@media (max-width: 760px) {
  .top .brand span {
    display: none;
  }

  .top nav {
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero, .booking {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 45px 0;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .calendar-card {
    padding: 15px;
  }

  .calendar, .week {
    gap: 4px;
  }

  .calendar button {
    border-radius: 8px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid input[type=date] {
    font-size: 16px;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .booking h2 {
    font-size: 2.35rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .table-wrap {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  table, tbody, tr, td {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  thead:focus-within {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  tr {
    background: white;
    box-shadow: 0 3px 8px #211b1b26, 0 8px 22px #211b1b33;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
  }

  td {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 8px;
    border: 0;
  }

  td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.8rem;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard h1 {
    font-size: 2.7rem;
  }
}
.settings-form {
  margin-top: 24px;
  grid-template-columns: 1fr;
}

.settings-form h2 {
  margin: 0;
  font-size: 1.3rem;
}

.settings-form input {
  font-size: 1.1rem;
  min-height: 48px;
}

.settings-form .button {
  min-height: 48px;
  font: inherit;
  font-weight: 750;
}

.settings-help {
  margin: 0;
  color: var(--muted);
}

.settings-success {
  padding: 14px 18px;
  border-radius: 4px;
  background: #ddefe2;
  color: #22613b;
}

.settings-form .alert {
  margin: 0;
}

.settings-form input:focus-visible, .settings-form button:focus-visible {
  outline: 3px solid var(--bright-red);
  outline-offset: 3px;
}

.top nav {
  flex-wrap: wrap;
}

.top nav a, .top nav .link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.top a, .top nav .link {
  border-radius: 4px;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
.top a:hover, .top a:focus-visible, .top nav .link:hover, .top nav .link:focus-visible {
  background-color: #0002;
  box-shadow: 0 0 0 6px #0002;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.top a:focus-visible, .top nav .link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .top a, .top nav .link {
    transition: none;
  }
}
.top nav a[aria-current=page] {
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

@media (max-width: 760px) {
  .top {
    gap: 12px;
    align-items: flex-start;
  }

  .top nav {
    justify-content: flex-end;
    column-gap: 12px;
    row-gap: 0;
    min-width: 0;
  }

  .settings-page {
    padding: 28px 0;
  }

  .settings-page h1 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .settings-form {
    padding: 20px;
  }
}
.calendar button.split-day {
  background: linear-gradient(to bottom, var(--morning) 0%, var(--morning) 48%, white 48%, white 52%, var(--afternoon) 52%, var(--afternoon) 100%);
  color: #000;
  text-shadow: none;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
}

.calendar button.split-day.past {
  opacity: 0.5;
}

.calendar-half-help {
  font-size: 0.85rem;
  color: var(--muted);
}

.legend .selected {
  background: var(--red);
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.dashboard > article.card {
  margin-bottom: 20px;
}
.dashboard > article.card > h2 {
  margin-top: 0;
}
.dashboard > article.card .dashboard-actions {
  margin-top: 20px;
}
.dashboard > article.card .dashboard-actions > button {
  font: inherit;
  line-height: 1.35;
  overflow-wrap: normal;
  border-radius: 12px;
}
.dashboard > article.card .dashboard-actions > .button {
  font-weight: 800;
}

.badge.blocked {
  background: #f2d9d5;
  color: #873d36;
}

@media (max-width: 760px) {
  .dashboard-actions {
    margin-top: 16px;
    width: 100%;
  }

  .dashboard-actions .button {
    flex: 1;
  }

  .dashboard > article.card .dashboard-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard > article.card .dashboard-actions > button {
    flex: none;
    width: 100%;
    min-height: 44px;
  }
}
.booking-review {
  width: min(720px, 100% - 32px);
}

.booking-review dl {
  grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr);
}

.booking-review dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.review-actions button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.review-actions button:focus-visible {
  outline: 3px solid var(--bright-red);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .booking-review {
    padding: 18px;
    margin: 32px auto;
  }

  .review-actions button {
    width: 100%;
  }

  .booking-review dt, .booking-review dd {
    padding: 10px 5px;
  }
}
.booking-filters {
  margin: 24px 0 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#booking-table {
  scroll-margin-top: 24px;
}

.booking-sort {
  color: var(--bright-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}
.booking-sort span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #f3f3f3;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.booking-sort:hover span, .booking-sort:focus-visible span {
  outline: 2px solid var(--bright-red);
  outline-offset: 2px;
}

th[aria-sort=ascending] .booking-sort span,
th[aria-sort=descending] .booking-sort span {
  background: var(--bright-red);
  color: white;
}

.booking-empty {
  padding: 28px;
  color: var(--muted);
}

.booking-filters :focus-visible, .booking-sort:focus-visible {
  outline: 3px solid var(--bright-red);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .booking-filters {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .booking-empty {
    display: block;
  }

  .booking-empty:before {
    content: none;
  }
}
.booking-filter-panel {
  margin: 24px 0 18px;
}

.booking-filter-panel summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--bright-red);
  padding: 8px 0;
}

.booking-filter-panel summary:focus-visible {
  outline: 3px solid var(--bright-red);
  outline-offset: 3px;
}

.booking-filter-panel .booking-filters {
  margin: 18px 0 0;
  padding: 0;
}

.booking-period > span {
  display: block;
}

.reports-page .reports-table-wrap {
  box-shadow: 0 3px 8px #211b1b26, 0 8px 22px #211b1b33;
  overflow-x: auto;
  margin: 16px 0;
  background: white;
  border: 1px solid #e6e0e0;
  border-radius: 3px;
}
.reports-page .reports-table {
  display: table;
  width: 100%;
  font-size: 0.85rem;
  line-height: 1.35;
}
.reports-page .reports-table thead {
  display: table-header-group;
}
.reports-page .reports-table tbody {
  display: table-row-group;
}
.reports-page .reports-table tr {
  display: table-row;
  padding: 0;
  background: transparent;
}
.reports-page .reports-table th, .reports-page .reports-table td {
  display: table-cell;
  padding: 5px 10px;
  white-space: nowrap;
  border-bottom: 1px solid #e6e0e0;
  vertical-align: middle;
}
.reports-page .reports-table td::before {
  content: none;
}
.reports-page .reports-table th {
  color: #6b6060;
}
.reports-page .reports-table tbody tr {
  cursor: pointer;
}
.reports-page .reports-table tbody tr:hover, .reports-page .reports-table tbody tr:focus-within {
  background: #edf6f0;
}
.reports-page .reports-table tbody tr:last-child td {
  border-bottom: 0;
}
.reports-page .reports-table .badge {
  padding: 2px 7px;
}
.reports-page .reports-table .report-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.reports-page .reports-table .report-note-cell {
  text-align: center;
}
.reports-page .report-open {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #dc141c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.reports-page .report-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #930d13;
  border-radius: 50%;
  background: #dc141c;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.reports-page button:focus-visible, .reports-page .reports-table-wrap:focus-visible {
  outline: 3px solid #dc141c;
  outline-offset: 3px;
}
.reports-page .report-dialog {
  padding: 28px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  color: #211b1b;
  background: white;
}
.reports-page .report-dialog .report-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reports-page .report-dialog h2 {
  margin: 0;
}
.reports-page .report-dialog dl {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}
.reports-page .report-dialog dt, .reports-page .report-dialog dd {
  margin: 0;
  padding: 6px 0;
  overflow-wrap: anywhere;
}
.reports-page .report-dialog dd {
  padding-left: 12px;
}

.tippy-box[data-theme~=report-note] {
  background: #dc141c;
  color: white;
  font-size: 0.85rem;
}
.tippy-box[data-theme~=report-note] .tippy-arrow {
  color: #dc141c;
}
.tippy-box[data-theme~=report-note] .tippy-content {
  padding: 10px 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: min(320px, 60vh);
  overflow-y: auto;
}

@media (max-width: 760px) {
  .admin-layout .top {
    padding: 8px 16px;
    flex-wrap: wrap;
  }
  .admin-layout .top nav {
    flex: 1;
    gap: 4px 12px;
  }
  .admin-layout .top nav a, .admin-layout .top nav .link {
    min-height: 44px;
  }
  .admin-layout .brand {
    min-height: 44px;
    align-items: center;
  }
  .admin-layout .dashboard {
    padding: 24px 0;
    overflow-wrap: anywhere;
  }
  .admin-layout .dashboard h1 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }
  .admin-layout .dashboard-head {
    gap: 12px;
  }
  .admin-layout .dashboard-head > *, .admin-layout .form-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .admin-layout .card {
    padding: 16px;
  }
  .admin-layout .table-wrap {
    padding: 0;
    overflow: visible;
  }
  .admin-layout .table-wrap td {
    grid-template-columns: minmax(72px, 0.65fr) minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0;
  }
  .admin-layout .table-wrap td > * {
    min-width: 0;
  }
  .admin-layout .table-wrap td:not([data-label]) {
    display: block;
  }
  .admin-layout .table-wrap td:not([data-label])::before {
    content: none;
  }
  .admin-layout .table-wrap .small-button {
    width: 100%;
  }
  .admin-layout .dashboard:has(> #new-user) > .table-wrap {
    margin-top: 24px;
  }
  .admin-layout #booking-table tbody > tr, .admin-layout .dashboard:has(> #new-user) > .table-wrap tbody > tr {
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
  }
  .admin-layout #booking-table td, .admin-layout .dashboard:has(> #new-user) > .table-wrap td {
    display: block;
    padding: 10px 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .admin-layout #booking-table td[data-label]::before, .admin-layout .dashboard:has(> #new-user) > .table-wrap td[data-label]::before {
    display: block;
    margin-bottom: 3px;
    font-size: 0.75rem;
  }
  .admin-layout #booking-table .booking-number, .admin-layout .dashboard:has(> #new-user) > .table-wrap .booking-number {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: -16px -16px 6px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 4px 4px 0 0;
    background: #f3f3f3;
    font-weight: 700;
  }
  .admin-layout #booking-table .booking-number::before, .admin-layout .dashboard:has(> #new-user) > .table-wrap .booking-number::before {
    margin: 0;
    font-weight: 400;
  }
  .admin-layout #booking-table td[data-label=Termin], .admin-layout .dashboard:has(> #new-user) > .table-wrap td[data-label=Termin] {
    font-variant-numeric: tabular-nums;
  }
  .admin-layout #booking-table td small, .admin-layout .dashboard:has(> #new-user) > .table-wrap td small {
    margin-top: 3px;
  }
  .admin-layout #booking-table td:last-child, .admin-layout .dashboard:has(> #new-user) > .table-wrap td:last-child {
    padding-bottom: 0;
  }
  .admin-layout .stats {
    gap: 8px;
  }
  .admin-layout .stat {
    min-width: 0;
    padding: 12px;
  }
  .admin-layout .stat strong {
    font-size: 1.5rem;
  }
  .admin-layout .badge {
    display: inline-block;
    white-space: normal;
  }
  .admin-layout .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-layout .form-grid input, .admin-layout .form-grid select, .admin-layout .form-grid textarea {
    font-size: max(16px, 16px);
    min-height: 44px;
  }
  .admin-layout .form-grid input[type=checkbox] {
    min-height: 24px;
    width: 24px;
    height: 24px;
  }
  .admin-layout button, .admin-layout .button, .admin-layout .ghost {
    min-height: 44px;
  }
  .admin-layout .dialog-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .admin-layout .dialog-actions > * {
    flex: 1 1 120px;
    text-align: center;
  }
  .admin-layout dialog {
    width: calc(100% - 24px);
    max-width: none;
    max-height: calc(100dvh - 24px);
    padding: 16px;
    overflow-y: auto;
    overflow-wrap: anywhere;
  }
  .admin-layout dialog h2 {
    font-size: 1.35rem;
  }
  .admin-layout .reports-page .report-dialog {
    padding: 16px;
  }
  .admin-layout .reports-page .report-dialog .report-dialog-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .admin-layout .reports-page .report-dialog dl {
    font-size: 0.9rem;
  }
  .admin-layout nav[aria-label=Berichtsseiten] {
    display: flex;
    gap: 12px;
  }
  .admin-layout nav[aria-label=Berichtsseiten] a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
  }

  .reports-page .reports-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .reports-page .reports-table {
    display: block;
  }
  .reports-page .reports-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .reports-page .reports-table thead:focus-within {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }
  .reports-page .reports-table tbody {
    display: block;
  }
  .reports-page .reports-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px;
    grid-template-areas: "number status note" "start end end" "amount archived archived";
    gap: 8px 12px;
    margin-bottom: 10px;
    padding: 10px 14px 14px;
    border: 1px solid #e6e0e0;
    border-radius: 3px;
    background: white;
  }
  .reports-page .reports-table td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .reports-page .reports-table td::before {
    display: block;
    content: attr(data-label);
    font-size: 0.72rem;
    color: #6b6060;
  }
  .reports-page .reports-table .report-number {
    grid-area: number;
    align-self: center;
  }
  .reports-page .reports-table .report-status {
    grid-area: status;
    align-self: center;
    text-align: right;
  }
  .reports-page .reports-table tr:has(.report-note-empty) .report-status {
    grid-column: 2/-1;
  }
  .reports-page .reports-table .report-number::before, .reports-page .reports-table .report-status::before {
    content: none;
  }
  .reports-page .reports-table .report-start {
    grid-area: start;
  }
  .reports-page .reports-table .report-end {
    grid-area: end;
  }
  .reports-page .reports-table .report-amount {
    grid-area: amount;
    text-align: left;
    font-weight: 700;
  }
  .reports-page .reports-table .report-amount::before {
    font-weight: 400;
  }
  .reports-page .reports-table .report-archived {
    grid-area: archived;
  }
  .reports-page .reports-table .report-note-cell {
    grid-area: note;
    align-self: center;
    text-align: right;
  }
  .reports-page .reports-table .report-note-cell::before {
    content: none;
  }
  .reports-page .reports-table .report-note-empty {
    display: none;
  }
  .reports-page .reports-table .report-start, .reports-page .reports-table .report-end {
    border-top: 1px solid #e6e0e0;
    padding-top: 10px;
  }
  .reports-page .reports-table .report-number, .reports-page .reports-table .report-status, .reports-page .reports-table .report-note-cell {
    min-height: 32px;
    display: flex;
    align-items: center;
  }
  .reports-page .reports-table .report-status, .reports-page .reports-table .report-note-cell {
    justify-content: flex-end;
  }
  .reports-page .reports-table .report-note-empty {
    display: none;
  }
  .reports-page .reports-table td::before {
    margin-bottom: 2px;
  }
  .reports-page .reports-table .report-open {
    min-width: 44px;
    min-height: 44px;
    margin: -6px 0;
    text-align: left;
  }
  .reports-page .reports-table .report-note {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: -6px -8px;
    background: transparent;
    border: 0;
  }
  .reports-page .reports-table .report-note .report-note-symbol {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc141c;
    color: white;
    font-size: 0.78rem;
  }
}
.club-header {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
  padding: 24px 0 20px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  column-gap: 32px;
  align-items: center;
}

.club-crest {
  grid-row: 1/3;
  display: block;
  width: 100px;
  border-radius: 4px;
}
.club-crest img {
  display: block;
  width: 100%;
  height: auto;
}
.club-crest:focus-visible {
  outline: 3px solid var(--bright-red);
  outline-offset: 6px;
}

.club-skyline {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: center bottom;
}

.club-name {
  margin: 10px 0 0;
  text-align: center;
  font-family: "Raleway", "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.club-name span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.top {
  gap: 16px;
}

.top .brand {
  font-weight: 400;
  letter-spacing: 0.025em;
}

.button, .small-button {
  color: white;
}

.hero {
  align-items: start;
}

.hero > div:first-child {
  padding-top: 20px;
}

.booking {
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .club-header {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    padding: 8px 0;
  }

  .club-crest {
    width: 32px;
    grid-row: auto;
  }

  .club-skyline {
    display: none;
  }

  .club-name {
    margin: 0;
    text-align: left;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }

  .club-name span {
    font-size: 0.7rem;
  }

  .top {
    align-items: center;
    flex-wrap: wrap;
  }

  .top .brand {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero > div:first-child {
    padding-top: 0;
  }
}
@media (max-width: 760px) {
  .admin-layout .top {
    gap: 0;
    padding: 4px 16px;
  }
  .admin-layout .top .brand {
    min-height: 28px;
    width: 100%;
    font-size: 0.85rem;
  }
  .admin-layout .top nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 0 12px;
    font-size: 0.8rem;
  }
  .admin-layout .top nav form {
    margin: 0;
  }
  .admin-layout .top nav .link {
    padding: 0;
  }
  .admin-layout .dashboard {
    padding: 12px 0;
  }
  .admin-layout .dashboard-head {
    gap: 8px;
  }
  .admin-layout .dashboard-head .eyebrow {
    margin: 0 0 2px;
    font-size: 0.65rem;
  }
  .admin-layout .dashboard-head h1 {
    margin: 0;
    font-size: 1.65rem;
  }
  .admin-layout .dashboard-head .dashboard-actions {
    margin-top: 0;
    gap: 8px;
  }
  .admin-layout .dashboard-head .button {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .admin-layout .dashboard-head .role {
    padding: 4px 8px;
    font-size: 0.65rem;
  }
  .admin-layout .booking-filter-panel {
    margin: 10px 0 8px;
    padding: 0 12px;
  }
  .admin-layout .booking-filter-panel summary {
    min-height: 44px;
    padding: 10px 0;
    font-size: 0.85rem;
  }
  .admin-layout .booking-filter-panel[open] {
    padding-bottom: 12px;
  }
  .admin-layout .dashboard > .settings-help {
    font-size: 0.75rem;
  }
  .admin-layout .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 6px 0 12px;
  }
  .admin-layout .stat {
    padding: 6px 10px;
    border-width: 2px;
    border-radius: 10px;
  }
  .admin-layout .stat strong {
    font-size: 1.25rem;
    line-height: 1.2;
  }
  .admin-layout .stat span {
    font-size: 0.75rem;
  }
  .admin-layout .dashboard > article.card {
    padding: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
  }
  .admin-layout .dashboard > article.card > h2 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .admin-layout .dashboard > article.card > p {
    margin: 8px 0;
  }
  .admin-layout .dashboard > article.card .dashboard-actions {
    margin-top: 10px;
    gap: 8px;
  }
}
.top {
  flex-wrap: wrap;
}
.top .header-identity {
  min-width: 0;
}
.top .account-greeting {
  margin: 2px 0 0;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.top .nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .top, .admin-layout .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
    align-content: start;
    padding: 8px 16px;
  }
  .top .header-identity, .admin-layout .top .header-identity {
    grid-column: 1;
    grid-row: 1;
  }
  .top .brand, .admin-layout .top .brand {
    width: auto;
    min-width: 0;
  }
  .top .account-greeting, .admin-layout .top .account-greeting {
    font-size: 0.8rem;
  }
  .top .nav-toggle, .admin-layout .top .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffff80;
    border-radius: 3px;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
  .top .nav-toggle > span, .admin-layout .top .nav-toggle > span {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    font-size: 0;
    line-height: 0;
    transition: transform 320ms ease, background-color 200ms ease;
  }
  .top .nav-toggle > span::before, .top .nav-toggle > span::after, .admin-layout .top .nav-toggle > span::before, .admin-layout .top .nav-toggle > span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    transition: transform 320ms ease;
  }
  .top .nav-toggle > span::before, .admin-layout .top .nav-toggle > span::before {
    transform: translateY(-6px);
  }
  .top .nav-toggle > span::after, .admin-layout .top .nav-toggle > span::after {
    transform: translateY(6px);
  }
  .top .nav-toggle[aria-expanded=true] > span, .admin-layout .top .nav-toggle[aria-expanded=true] > span {
    transform: rotate(180deg);
    background: transparent;
  }
  .top .nav-toggle[aria-expanded=true] > span::before, .admin-layout .top .nav-toggle[aria-expanded=true] > span::before {
    transform: rotate(45deg);
  }
  .top .nav-toggle[aria-expanded=true] > span::after, .admin-layout .top .nav-toggle[aria-expanded=true] > span::after {
    transform: rotate(-45deg);
  }
  .top .nav-toggle:focus-visible, .admin-layout .top .nav-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
  }
  .top.navigation-ready .nav-toggle, .admin-layout .top.navigation-ready .nav-toggle {
    display: inline-flex;
  }
  .top .navigation-panel, .admin-layout .top .navigation-panel {
    grid-column: 1/-1;
    display: grid;
    grid-template-rows: 1fr;
    min-width: 0;
    transition: grid-template-rows 280ms ease, opacity 200ms ease, visibility 280ms;
  }
  .top .navigation-content, .admin-layout .top .navigation-content {
    min-height: 0;
    overflow: hidden;
  }
  .top.navigation-ready .nav-toggle[aria-expanded=false] + .navigation-panel, .admin-layout .top.navigation-ready .nav-toggle[aria-expanded=false] + .navigation-panel {
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
  }
  .top nav, .admin-layout .top nav {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid #ffffff60;
    font-size: 0.95rem;
  }
  .top nav a, .top nav .link, .admin-layout .top nav a, .admin-layout .top nav .link {
    width: 100%;
    padding: 10px 8px;
  }
  .top nav form, .admin-layout .top nav form {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .top .navigation-panel, .top .nav-toggle > span,
.top .nav-toggle > span::before, .top .nav-toggle > span::after {
    transition: none;
  }
}
#booking-table > .form-grid {
  grid-template-columns: minmax(0, 200px) minmax(0, 240px) auto;
  justify-content: center;
  align-items: end;
  gap: 16px;
  max-width: 840px;
  margin: 24px auto 0;
}
#booking-table > .form-grid > .wide {
  grid-column: auto;
  margin: 0;
  width: auto;
}
#booking-table > .form-grid input, #booking-table > .form-grid select, #booking-table > .form-grid .button {
  min-height: 48px;
}
#booking-table > .form-grid input[type=month], #booking-table > .form-grid input[type=number], #booking-table > .form-grid select {
  height: 48px;
  padding-block: 0;
}
#booking-table > .form-grid .button {
  white-space: nowrap;
}
#booking-table > .form-grid > [data-period-month] {
  width: 100%;
  max-width: 240px;
}
#booking-table > .form-grid [hidden] {
  display: none;
}
#booking-table > .form-grid .booking-quarter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 0.7fr);
  align-items: end;
  gap: 12px;
}
#booking-table > .form-grid .booking-quarter-fields[hidden] {
  display: none;
}
#booking-table > .booking-period-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e6e0e0;
}
#booking-table > .booking-period-navigation > strong {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
}
#booking-table > .booking-period-navigation > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #e6e0e0;
  border-radius: 12px;
  color: #211b1b;
  background: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  grid-row: 1;
}
#booking-table > .booking-period-navigation > a:hover {
  color: #dc141c;
  border-color: #dc141c;
  background: #f3f3f3;
}
#booking-table > .booking-period-navigation > a:has(+ strong) {
  grid-column: 1;
  justify-self: start;
}
#booking-table > .booking-period-navigation > strong + a {
  grid-column: 3;
  justify-self: end;
}
#booking-table > .form-grid :focus-visible, #booking-table > .booking-period-navigation :focus-visible {
  outline: 3px solid #dc141c;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  #booking-table > .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 16px;
    margin-top: 4px;
    background: white;
    border: 1px solid #e6e0e0;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
  }
  #booking-table > .form-grid > .wide {
    grid-column: 1/-1;
  }
  #booking-table > .booking-period-navigation {
    gap: 12px;
    margin-top: 0;
    padding: 16px;
    background: white;
    border: 1px solid #e6e0e0;
    border-radius: 0 0 4px 4px;
  }
}
@media (max-width: 480px) {
  #booking-table > .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #booking-table > .booking-period-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #booking-table > .booking-period-navigation > strong {
    grid-column: 1/-1;
  }
  #booking-table > .booking-period-navigation > a {
    grid-row: 2;
    width: 100%;
    padding-inline: 8px;
  }
  #booking-table > .booking-period-navigation > strong + a {
    grid-column: 2;
  }
}

/*# sourceMappingURL=app.css.map */
