:root {
  --navy-950: #071827;
  --navy-900: #0b2038;
  --navy-800: #113454;
  --navy-700: #1d496d;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cyan-600: #0786a6;
  --cyan-400: #22b8d4;
  --gold-600: #997939;
  --gold-500: #b8964f;
  --gold-300: #dcc78f;
  --ink: #132238;
  --muted: #627086;
  --muted-light: #8794a6;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --surface-blue: #edf6fc;
  --line: #dce5ed;
  --line-strong: #c8d5e1;
  --success: #168751;
  --warning: #d26424;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 28px rgba(8, 29, 49, 0.06);
  --shadow-md: 0 22px 62px rgba(8, 29, 49, 0.1);
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #f8fafc;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

address {
  font-style: normal;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-900);
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-glow {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 850px;
  overflow: hidden;
  pointer-events: none;
}

.page-glow::before,
.page-glow::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(1px);
}

.page-glow::before {
  top: -360px;
  right: -270px;
  width: 760px;
  height: 760px;
  border: 150px solid rgba(37, 99, 235, 0.06);
}

.page-glow::after {
  top: 80px;
  left: -270px;
  width: 520px;
  height: 520px;
  background: rgba(34, 184, 212, 0.055);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(200, 213, 225, 0.72);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(20px) saturate(145%);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(63.7%) sepia(99.5%)
    saturate(3900%) hue-rotate(192deg) brightness(22.5%) contrast(101.5%)
    drop-shadow(0 7px 14px rgba(7, 24, 39, 0.14));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.brand small {
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-navigation a {
  padding: 9px 11px;
  border-radius: 10px;
  color: #526278;
  font-size: 13px;
  font-weight: 700;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.site-navigation a:hover,
.site-navigation a.is-current {
  color: var(--navy-900);
  background: #fff;
}

.site-navigation .nav-cta {
  margin-left: 7px;
  padding-inline: 16px;
  color: #fff;
  background: var(--navy-900);
}

.site-navigation .nav-cta:hover {
  color: #fff;
  background: var(--navy-800);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.menu-toggle-lines {
  display: grid;
  width: 18px;
  gap: 4px;
}

.menu-toggle-lines i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: clamp(68px, 8vw, 116px) 38px;
}

.eyebrow {
  display: flex;
  margin: 0 0 14px;
  align-items: center;
  gap: 9px;
  color: var(--cyan-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-500);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(46px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--blue-600);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  box-shadow: 0 14px 34px rgba(11, 32, 56, 0.2);
}

.button-primary:hover {
  box-shadow:
    0 18px 42px rgba(11, 32, 56, 0.26),
    inset 0 -2px 0 var(--gold-500);
}

.button-secondary {
  border-color: var(--line);
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.button-light {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points li > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--cyan-600);
  background: #e6f5f8;
  font-size: 10px;
}

.hero-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  color: var(--ink);
  background: linear-gradient(145deg, #ffffff, #f1f8fd);
  box-shadow:
    0 26px 72px rgba(8, 29, 49, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.84);
}

.hero-panel::before {
  position: absolute;
  top: -80px;
  right: -75px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  content: "";
  background: rgba(37, 99, 235, 0.07);
}

.hero-panel::after {
  position: absolute;
  right: 28px;
  bottom: 20px;
  width: 78px;
  height: 3px;
  border-radius: 99px;
  content: "";
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
}

.hero-panel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #d6e3ec;
  border-radius: 999px;
  color: var(--navy-700);
  background: var(--surface-blue);
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(22, 135, 81, 0.1);
}

.sport-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 224px;
  height: 224px;
  margin: 18px auto 16px;
  place-items: center;
}

.sport-mark::before {
  display: none;
}

.sport-mark img {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(63.7%) sepia(99.5%)
    saturate(3900%) hue-rotate(192deg) brightness(22.5%) contrast(101.5%)
    drop-shadow(0 13px 22px rgba(8, 29, 49, 0.14));
}

.featured-match {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: grid;
  gap: 4px;
  padding: 18px 19px;
  border: 1px solid #dbe7f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.featured-match small {
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-match strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.35;
}

.featured-match span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.stats-strip article {
  min-width: 0;
  padding: 21px 23px;
  border-right: 1px solid var(--line);
}

.stats-strip article:last-child {
  border-right: 0;
}

.stats-strip b,
.stats-strip span {
  display: block;
}

.stats-strip b {
  color: var(--navy-900);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.stats-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.section {
  padding-block: clamp(44px, 4vw, 58px);
}

.section-surface {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-surface::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.7;
  background: linear-gradient(
    110deg,
    rgba(37, 99, 235, 0.025),
    transparent 42%,
    rgba(34, 184, 212, 0.03)
  );
}

.section-surface > .wrap {
  position: relative;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 27px;
}

.section-heading h2,
.club-copy h2,
.gallery-callout h2,
.sponsor h2,
.contact-band h2,
.subpage-hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(36px, 4.1vw, 56px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p,
.section-action p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-action {
  display: grid;
  gap: 9px;
}

.section-action > a {
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
}

.results-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
}

.skeleton-card {
  min-height: 235px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, #edf1f5 20%, #f8fafc 40%, #edf1f5 60%);
  background-size: 300% 100%;
  animation: skeleton 1.3s ease infinite;
}

.skeleton-tall {
  min-height: 330px;
}

@keyframes skeleton {
  to {
    background-position: -150% 0;
  }
}

.result-card,
.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.result-card:hover,
.team-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(8, 29, 49, 0.1);
  transform: translateY(-3px);
}

.result-card {
  display: flex;
  min-height: 242px;
  flex-direction: column;
  padding: 21px;
}

.result-card::before,
.team-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue-600) 0 75%, var(--gold-500));
}

.result-card-head,
.team-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.team-badge,
.team-card-index {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: var(--gold-300);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(11, 32, 56, 0.14);
}

.result-card time {
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 700;
}

.result-card h3 {
  margin: 23px 0 4px;
  color: var(--navy-900);
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.result-opponent {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.result-score-row {
  display: flex;
  margin-top: auto;
  padding-top: 23px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.result-score-row strong {
  color: var(--navy-950);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.outcome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.outcome::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--muted-light);
}

.outcome.sieg::before {
  background: var(--success);
}
.outcome.niederlage::before {
  background: var(--warning);
}
.outcome.unentschieden::before {
  background: var(--blue-600);
}

.result-card .text-link {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.team-card {
  display: flex;
  min-height: 345px;
  flex-direction: column;
  padding: 22px;
}

.team-position {
  text-align: right;
}

.team-position b,
.team-position span {
  display: block;
}

.team-position b {
  color: var(--navy-900);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.team-position span {
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 23px 0 5px;
  color: var(--navy-900);
  font-size: 15px;
  letter-spacing: -0.04em;
  line-height: 1.25;
  white-space: nowrap;
}

.team-league {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.team-stats div {
  padding: 10px 7px;
  border: 1px solid #e3ebf2;
  border-radius: 12px;
  background: var(--surface-soft);
  text-align: center;
}

.team-stats b,
.team-stats span {
  display: block;
}

.team-stats b {
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.team-stats span {
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card .text-link {
  margin-top: auto;
  padding-top: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue-600);
}

.text-link.light {
  color: #fff;
}

.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.team-filter,
.view-btn {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.team-filter:hover,
.view-btn:hover {
  border-color: var(--line-strong);
  color: var(--navy-900);
}

.team-filter.is-active,
.view-btn.is-active {
  border-color: var(--navy-900);
  color: var(--gold-300);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  box-shadow: 0 8px 22px rgba(11, 32, 56, 0.16);
}

.calendar-toolbar {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.view-switch {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.view-switch .view-btn {
  min-height: 34px;
  border: 0;
  background: transparent;
}

.view-switch .view-btn.is-active {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 4px 14px rgba(8, 29, 49, 0.1);
}

.calendar-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 650;
}

.calendar-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calendar-legend i {
  display: grid;
  width: 21px;
  height: 21px;
  margin-left: 4px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-700);
  background: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.calendar-panel {
  min-height: 150px;
}

.match-grid {
  display: grid;
  gap: 10px;
}

.match-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  min-height: 106px;
  align-items: center;
  gap: 22px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.match-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 38px rgba(8, 29, 49, 0.09);
  transform: translateY(-2px);
}

.match-date-block {
  display: grid;
  min-height: 74px;
  align-content: center;
  padding: 11px 13px;
  border: 1px solid #dfe9f1;
  border-radius: 13px;
  background: var(--surface-soft);
}

.match-date-block b,
.match-date-block span {
  display: block;
}

.match-date-block b {
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-date-block span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.match-info {
  min-width: 0;
}

.match-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.match-meta small {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-info h3 {
  margin: 8px 0 2px;
  color: var(--navy-900);
  font-size: 16px;
  letter-spacing: -0.022em;
  line-height: 1.35;
}

.match-info p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.home-away {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d6e3ec;
  border-radius: 50%;
  color: var(--navy-700);
  background: var(--surface-blue);
  font-size: 11px;
  font-weight: 900;
}

.month-view {
  display: grid;
}

.month-card {
  overflow: hidden;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.month-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.month-head-copy {
  text-align: center;
}

.month-head-copy .eyebrow {
  justify-content: center;
  margin-bottom: 4px;
}

.month-head h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: capitalize;
}

.month-head p {
  margin: 1px 0 0;
  color: var(--muted-light);
  font-size: 11px;
}

.month-nav {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy-900);
  background: #fff;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
}

.month-nav:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.month-nav:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.calendar-scroll {
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-color: var(--line-strong) transparent;
}

.calendar-mini-head,
.calendar-mini-grid {
  display: grid;
  min-width: 720px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-mini-head {
  margin-bottom: 8px;
}

.calendar-mini-head span {
  padding-inline: 7px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 116px;
  padding: 9px;
  border: 1px solid #e3ebf2;
  border-radius: 13px;
  background: #fcfdfe;
}

.calendar-day.is-outside {
  opacity: 0.35;
  background: var(--surface-soft);
}

.calendar-day.has-match {
  border-color: #cbdce9;
  background: #fff;
  box-shadow: 0 7px 20px rgba(37, 99, 235, 0.065);
}

.calendar-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.calendar-day-top b {
  color: #43546a;
  font-size: 12px;
}

.calendar-day-top span {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  place-items: center;
  border-radius: 999px;
  color: var(--navy-700);
  background: var(--surface-blue);
  font-size: 8px;
  font-weight: 800;
}

.calendar-dot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.calendar-dot {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 3px 6px;
  border: 0;
  border-radius: 999px;
  color: var(--gold-300);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(11, 32, 56, 0.12);
}

.calendar-more {
  padding: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.empty-state,
.error-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 13px;
}

.error-state {
  border-color: #edc6b2;
  color: #925126;
  background: #fff8f3;
}

.training-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 14px;
}

.training-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.training-card-featured {
  overflow: hidden;
  border-color: var(--navy-800);
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-950));
}

.training-card-featured::after {
  position: absolute;
  right: -70px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.card-number {
  position: absolute;
  top: 23px;
  right: 24px;
  color: var(--gold-500);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.card-label {
  margin: 0 0 22px;
  color: var(--cyan-600);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.training-card-featured .card-label {
  color: var(--gold-300);
}

.training-card h3 {
  margin: 0 0 13px;
  color: var(--navy-900);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.training-card-featured h3 {
  color: #fff;
}

.training-card p:not(.card-label),
.training-card address {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.training-card-featured p:not(.card-label) {
  color: #b9c8d6;
}

.training-card .text-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 24px;
}

.time-list {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
}

.time-list div {
  display: flex;
  padding-block: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.time-list div:last-child {
  border-bottom: 0;
}

.time-list dt {
  color: var(--navy-900);
  font-weight: 800;
}

.time-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.club-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
}

.club-copy > p:not(.eyebrow),
.gallery-callout-copy > p,
.sponsor-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.club-copy .text-link {
  margin-top: 27px;
}

.club-facts {
  display: grid;
  gap: 10px;
}

.club-facts article {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 98px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.club-facts small {
  color: var(--cyan-600);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.club-facts b {
  color: var(--navy-900);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.club-facts span {
  color: var(--muted-light);
  font-size: 10px;
  text-align: right;
}

.gallery-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(46px, 7vw, 88px);
  margin-block: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-blue);
  box-shadow: var(--shadow-md);
}

.gallery-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 150px 150px;
  gap: 9px;
}

.gallery-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  background: var(--line);
}

.gallery-collage img:first-child {
  grid-row: 1 / 3;
}

.gallery-callout-copy .button {
  margin-top: 26px;
}

.sponsor {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
}

.sponsor-options {
  display: grid;
  gap: 8px;
}

.sponsor-options article {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sponsor-options article > span {
  color: var(--gold-600);
  font-size: 9px;
  font-weight: 900;
}

.sponsor-options b,
.sponsor-options small {
  display: block;
}

.sponsor-options b {
  color: var(--navy-900);
  font-size: 13px;
}

.sponsor-options small {
  margin-top: 1px;
  color: var(--muted-light);
  font-size: 10px;
}

.sponsor-options strong {
  color: var(--gold-600);
  font-size: 14px;
  white-space: nowrap;
}

.contact-band {
  position: relative;
  display: flex;
  overflow: hidden;
  margin-block: 0 64px;
  padding: clamp(34px, 5vw, 58px);
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  box-shadow: 0 30px 76px rgba(7, 24, 39, 0.2);
}

.contact-band::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 54px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.contact-band > * {
  position: relative;
  z-index: 1;
}

.contact-band .eyebrow {
  color: var(--gold-300);
}

.contact-band h2 {
  color: #fff;
}

.contact-band p:not(.eyebrow) {
  margin: 11px 0 0;
  color: #b9c8d6;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid #d7e1e9;
  background: #eef3f7;
}

.footer-main {
  display: flex;
  padding-block: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-footer img {
  width: 44px;
  height: 44px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 19px;
}

.footer-main nav a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.footer-main nav a:hover {
  color: var(--navy-900);
}

.footer-bottom {
  display: flex;
  padding-block: 15px 25px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #d7e1e9;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Subpages */
.subpage-hero {
  padding-block: 72px 45px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.breadcrumb:hover {
  color: var(--navy-900);
}

.subpage-hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 6vw, 72px);
}

.subpage-lead {
  max-width: 650px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.subpage-content {
  padding-block: 10px 100px;
}

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

.album-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.album-card:hover {
  box-shadow: 0 22px 54px rgba(8, 29, 49, 0.12);
  transform: translateY(-3px);
}

.album-cover {
  position: relative;
  overflow: hidden;
  background: var(--surface-blue);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.album-card:hover .album-cover img {
  transform: scale(1.035);
}

.album-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 24, 39, 0.75);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
}

.album-card-copy {
  display: flex;
  padding: 24px;
  flex-direction: column;
}

.album-card-copy time {
  color: var(--gold-600);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.album-card-copy h2 {
  margin: 12px 0 8px;
  color: var(--navy-900);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.album-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.album-card-copy .text-link {
  margin-top: auto;
  padding-top: 20px;
}

.album-placeholder {
  display: grid;
  min-height: 250px;
  padding: 26px;
  place-content: center;
  border: 1px dashed var(--line-strong);
  border-radius: 23px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.album-placeholder b {
  color: var(--navy-900);
  font-size: 18px;
}

.album-placeholder p {
  margin: 4px 0 0;
  font-size: 12px;
}

.album-header {
  display: flex;
  margin-bottom: 28px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.album-header h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(39px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.album-header p {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.album-meta {
  min-width: max-content;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 215px;
  gap: 10px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--line);
  cursor: zoom-in;
}

.photo-card:nth-child(9n + 1),
.photo-card:nth-child(9n + 6) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.photo-card:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.photo-card.is-error::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  content: "Bild nicht verfügbar";
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.photo-number {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  min-width: 27px;
  height: 27px;
  padding-inline: 5px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 24, 39, 0.68);
  font-size: 9px;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: none;
  grid-template-columns: 72px 1fr 72px;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 74px 24px 26px;
  color: #fff;
  background: rgba(5, 15, 25, 0.96);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image-wrap {
  display: grid;
  min-width: 0;
  height: 100%;
  max-height: calc(100vh - 140px);
  place-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transition: opacity 0.16s ease;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  font-size: 17px;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  justify-self: center;
  font-size: 28px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  grid-column: 1 / -1;
  color: #b9c8d6;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.33);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 46px;
  }

  .site-navigation a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .results-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-grid,
  .sponsor {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .gallery-callout {
    grid-template-columns: 1fr 0.9fr;
  }

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

  .album-card {
    grid-template-columns: 180px 1fr;
  }
}

@media (max-width: 840px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-navigation {
    position: fixed;
    z-index: 99;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    border-bottom: 1px solid transparent;
    background: rgba(248, 250, 252, 0.98);
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.25s ease,
      opacity 0.2s ease,
      padding 0.25s ease,
      visibility 0.2s ease;
  }

  .site-navigation.is-open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding-block: 12px 20px;
    border-color: var(--line);
    opacity: 1;
    visibility: visible;
  }

  .site-navigation a,
  .site-navigation .nav-cta {
    margin: 0;
    padding: 12px 13px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 14px;
  }

  .site-navigation .nav-cta {
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-panel {
    min-height: 450px;
  }

  .sport-mark {
    width: 240px;
    height: 240px;
    margin-top: 22px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip article:nth-child(2) {
    border-right: 0;
  }

  .stats-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .stats-strip article:last-child {
    grid-column: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .training-card-featured {
    grid-column: 1 / -1;
    min-height: 290px;
  }

  .club-grid,
  .gallery-callout,
  .sponsor {
    grid-template-columns: 1fr;
  }

  .club-facts {
    max-width: 680px;
  }

  .gallery-callout-copy {
    padding: 8px 8px 18px;
  }

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

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

  .photo-card:nth-child(9n + 1),
  .photo-card:nth-child(9n + 6) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 580px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 20px));
  }

  html {
    scroll-padding-top: 78px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 9px;
  }

  .menu-toggle > span:last-child {
    display: none;
  }

  .hero {
    gap: 34px;
    padding-block: 44px 28px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 9px;
  }

  .hero-panel {
    min-height: 410px;
    padding: 20px;
    border-radius: 28px;
  }

  .sport-mark {
    width: 206px;
    height: 206px;
    margin-top: 18px;
  }

  .sport-mark img {
    width: 158px;
    height: 158px;
  }

  .featured-match {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .featured-match strong {
    font-size: 15px;
  }

  .stats-strip {
    border-radius: 17px;
  }

  .stats-strip article {
    padding: 16px;
  }

  .stats-strip b {
    font-size: 22px;
  }

  .stats-strip span {
    font-size: 9px;
  }

  .section {
    padding-block: 40px;
  }

  .section-heading {
    margin-bottom: 21px;
  }

  .section-heading h2,
  .club-copy h2,
  .gallery-callout h2,
  .sponsor h2,
  .contact-band h2 {
    font-size: 35px;
  }

  .results-grid,
  .team-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .training-card-featured {
    grid-column: auto;
  }

  .calendar-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-status {
    justify-content: flex-start;
  }

  .view-switch {
    width: 100%;
  }

  .view-switch .view-btn {
    flex: 1;
  }

  .match-card {
    grid-template-columns: 1fr auto;
    gap: 13px;
    padding: 13px;
  }

  .match-date-block {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .month-card {
    padding: 12px;
  }

  .month-head {
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
  }

  .month-nav {
    width: 36px;
    height: 36px;
  }

  .month-head h3 {
    font-size: 20px;
  }

  .calendar-scroll {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .calendar-mini-head,
  .calendar-mini-grid {
    width: 100%;
    min-width: 0;
    gap: 3px;
  }

  .calendar-mini-head {
    margin-bottom: 4px;
  }

  .calendar-mini-head span {
    padding: 0;
    font-size: 8px;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .calendar-day {
    min-width: 0;
    min-height: 70px;
    padding: 5px 4px;
    border-radius: 9px;
  }

  .calendar-day-top {
    gap: 2px;
  }

  .calendar-day-top b {
    font-size: 10px;
  }

  .calendar-day-top span {
    min-width: 15px;
    height: 15px;
    padding-inline: 2px;
    font-size: 7px;
  }

  .calendar-dot-list {
    display: grid;
    gap: 3px;
    margin-top: 5px;
  }

  .calendar-dot {
    width: 100%;
    min-width: 0;
    min-height: 17px;
    justify-content: center;
    padding: 2px;
    font-size: 7px;
    white-space: nowrap;
  }

  .club-facts article {
    grid-template-columns: 1fr auto;
    gap: 3px 15px;
  }

  .club-facts small {
    grid-column: 1;
  }

  .club-facts b {
    grid-column: 1;
  }

  .club-facts span {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .gallery-callout {
    margin-bottom: 0;
    padding: 12px;
    border-radius: 23px;
  }

  .gallery-collage {
    grid-template-rows: 110px 110px;
  }

  .gallery-callout-copy {
    padding: 17px 10px 21px;
  }

  .sponsor-options article {
    grid-template-columns: 24px 1fr;
  }

  .sponsor-options strong {
    grid-column: 2;
  }

  .contact-band {
    margin-bottom: 44px;
    padding: 31px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-band .button {
    width: auto;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main nav {
    justify-content: flex-start;
  }

  .subpage-hero {
    padding-block: 46px 34px;
  }

  .subpage-hero h1 {
    font-size: 43px;
  }

  .subpage-content {
    padding-bottom: 70px;
  }

  .album-card {
    grid-template-columns: 1fr;
  }

  .album-cover {
    min-height: 220px;
  }

  .album-placeholder {
    min-height: 210px;
  }

  .album-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-grid {
    grid-auto-rows: 160px;
  }

  .lightbox {
    grid-template-columns: 44px 1fr 44px;
    gap: 6px;
    padding: 65px 8px 18px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
