@font-face {
  font-family: "Argentum Sans FCH";
  src: local("Argentum Sans FCH ExtraLight"), local("Argentum Sans FCH Extralight"), local("Argentum Sans FCH");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Argentum Sans FCH";
  src: local("Argentum Sans FCH"), local("Argentum Sans");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Argentum Sans FCH";
  src: local("Argentum Sans FCH SemiBold"), local("Argentum Sans FCH Semibold"), local("Argentum Sans SemiBold"), local("Argentum Sans Semibold");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Argentum Sans FCH";
  src: local("Argentum Sans FCH ExtraBold"), local("Argentum Sans FCH Extrabold"), local("Argentum Sans ExtraBold"), local("Argentum Sans Extrabold");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --font-fch: "Argentum Sans FCH", "Argentum Sans", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --navy: #0b3470;
  --navy-deep: #082a5c;
  --gold: #ffca28;
  --ink: #14315d;
  --line: #55627a;
  --stripe: #d0d0d0;
  --paper: #ffffff;
  --watermark: rgba(12, 37, 77, 0.12);
  --shadow: rgba(9, 33, 66, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #e9edf4;
  color: var(--ink);
  font-family: var(--font-fch);
}

.page {
  padding: 12px;
}

.sheet {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 24px);
  background: var(--paper);
  border: 2px solid #233a61;
  box-shadow: 0 12px 30px var(--shadow);
}

.sheet::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(11, 52, 112, 0.08);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 8px;
  border-bottom: 2px solid #233a61;
}

.page-title {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(1.35rem, 2.4vw, 2.25rem)/1.05 var(--font-fch);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.season-label {
  color: var(--navy);
  font: 800 clamp(1.4rem, 2.8vw, 2.6rem)/1 var(--font-fch);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.day-navigation {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(11, 52, 112, 0.25);
  background: #f4f7fb;
}

.day-button {
  min-width: 100px;
  padding: 8px 12px;
  border: 2px solid var(--navy);
  background: var(--paper);
  color: var(--navy);
  font: 800 0.95rem/1 var(--font-fch);
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.day-button:hover,
.day-button:focus-visible {
  background: var(--gold);
  color: var(--navy-deep);
}

.day-button:focus-visible {
  outline: 3px solid var(--navy-deep);
  outline-offset: 2px;
}

.day-button--active {
  background: var(--navy);
  color: var(--gold);
}

.schedule-panel {
  position: relative;
  z-index: 1;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.schedule-table thead th {
  padding: 8px 10px 9px;
  background: var(--navy);
  color: var(--gold);
  border: 0;
  text-align: left;
  font: 800 clamp(1.15rem, 2.1vw, 2rem)/1.05 var(--font-fch);
}

.schedule-table tbody td {
  padding: 7px 10px;
  height: 52px;
  border: 0;
  color: var(--navy);
  font: 700 clamp(1.1rem, 1.85vw, 1.7rem)/1.1 var(--font-fch);
  vertical-align: middle;
}

.schedule-table tbody tr.schedule-row--stripe {
  background: var(--stripe);
}

.schedule-table tbody tr.gap-row td {
  padding: 0;
  height: 8px;
  background: linear-gradient(to right, transparent 16px, rgba(0,0,0,0.35) 16px, rgba(0,0,0,0.35) calc(100% - 16px), transparent calc(100% - 16px));
}

.schedule-table .col-time {
  width: 132px;
  white-space: nowrap;
}

.schedule-table .col-icon {
  width: 64px;
}

.schedule-table .col-team {
  width: 44%;
}

.schedule-table .col-garderobe {
  width: 160px;
  text-align: right;
}

.schedule-table .col-platz {
  width: 120px;
  text-align: right;
}

.schedule-table td:nth-child(4),
.schedule-table td:nth-child(5) {
  text-align: right;
}

.sport-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  background-image: url("icons/training.png");
}

.watermark {
  position: absolute;
  left: 50%;
  top: 47%;
  width: min(60vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("FC-Hinwil-Logo.svg") center center / contain no-repeat;
  opacity: 0.16;
  filter: saturate(1.35) contrast(1.15) brightness(1.04) drop-shadow(0 0 10px rgba(11, 52, 112, 0.08));
  z-index: 3;
  pointer-events: none;
}

.watermark__ring,
.watermark__inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.watermark__ring {
  display: none;
}

.watermark__inner {
  display: none;
}

.watermark__text {
  display: none;
}

.watermark__text--top {
  top: 18%;
}

.watermark__text--bottom {
  bottom: 16%;
}

.home-panel {
  position: relative;
  z-index: 1;
  padding: 28px 16px 40px;
}

.home-text {
  margin: 0 0 18px;
  color: var(--navy);
  font: 500 1.05rem/1.4 var(--font-fch);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.day-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  min-height: 120px;
  border: 2px solid rgba(11, 52, 112, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(10, 37, 74, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.day-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 52, 112, 0.45);
  box-shadow: 0 12px 22px rgba(10, 37, 74, 0.12);
}

.day-card__label {
  font: 800 1.45rem/1.05 var(--font-fch);
  text-transform: uppercase;
}

.day-card__meta {
  font: 500 0.98rem/1.4 var(--font-fch);
}

.day-card--muted {
  opacity: 0.68;
}

@media (max-width: 900px) {
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-table .col-time {
    width: 132px;
  }

  .schedule-table .col-icon {
    width: 52px;
  }

  .schedule-table .col-garderobe {
    width: 120px;
    text-align: right;
  }

  .schedule-table .col-platz {
    width: 88px;
    text-align: right;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 0;
  }

  .sheet {
    min-height: 100vh;
    border-left-width: 0;
    border-right-width: 0;
  }

  .page-header {
    padding: 12px 10px 10px;
  }

  .day-navigation {
    gap: 6px;
    padding: 8px 10px;
  }

  .day-button {
    flex: 1 1 100px;
  }

  .schedule-table thead th,
  .schedule-table tbody td {
    padding-left: 8px;
    padding-right: 8px;
  }

  .schedule-table .col-time {
    width: 118px;
  }

  .schedule-table .col-icon {
    width: 44px;
  }

  .schedule-table .col-garderobe {
    width: 92px;
    text-align: right;
  }

  .schedule-table .col-platz {
    width: 72px;
    text-align: right;
  }

  .sport-icon {
    width: 28px;
    height: 28px;
  }

  .watermark {
    width: min(78vw, 420px);
    top: 51%;
  }

  .home-panel {
    padding-top: 20px;
  }

}