@font-face {
  font-family: "Source Sans 3";
  src: url("source-sans-3.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #3f3f3f;
  --gold: #9c641e;
  --line: #e6dfd4;
  --paper: #fff;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --side: clamp(1rem, 3.2vw, 2.5rem);
  --content-width: 1200px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
}

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

a {
  color: var(--gold);
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

a:hover {
  color: #704512;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--side);
}

.brand img {
  width: 320px;
  max-width: min(80vw, 320px);
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  padding: 0.85rem 0 1.35rem;
}

.main-nav a {
  padding: 0.15rem 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.menu-toggle {
  display: none;
}

.site-banner {
  position: relative;
  isolation: isolate;
  min-height: clamp(13.8rem, 36svh, 19rem);
  padding-top: 1rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background: linear-gradient(#0005, #0005), #444 url("rk-banner.webp") center / cover no-repeat;
  color: #fff;
}

.site-banner-home {
  min-height: clamp(19rem, 60svh, 38rem);
  padding-top: clamp(3.1rem, 14svh, 8.5rem);
  background-image: linear-gradient(#0005, #0005), url("hesborn-ort.webp");
}

.banner-inner {
  width: min(var(--content-width), 100% - 2 * var(--side));
  margin-inline: auto;
  text-align: right;
}

.banner-title {
  color: inherit;
  font: 750 clamp(1.8rem, 4vw, 2.7rem)/1.12 var(--sans);
  letter-spacing: -0.025em;
  text-shadow: 0 2px 8px #000a;
  text-decoration: none;
}

.banner-title:hover {
  color: inherit;
  text-decoration: underline;
}

.banner-subtitle {
  margin: 0.15rem 0 0;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 5px #000b;
}

.banner-wave {
  position: absolute;
  z-index: -1;
  inset: auto 0 -1px;
  display: block;
  width: 100%;
  height: clamp(3.5rem, 10vw, 9rem);
  fill: var(--paper);
  pointer-events: none;
}

.content-wrap,
.footer-main {
  width: min(var(--content-width), 100% - 2 * var(--side));
  margin-inline: auto;
}

.content-wrap {
  min-height: 13rem;
  padding: 0.85rem 0 3.5rem;
}

.content-wrap h1 {
  margin: 0 0 1.3rem;
  color: var(--gold);
  font: 750 clamp(1.6rem, 3vw, 2.25rem)/1.14 var(--sans);
  letter-spacing: -0.025em;
}

.content-wrap h2 {
  margin: 1.35em 0 0.35em;
  font-size: 1.43rem;
  line-height: 1.2;
}

.content-wrap h3 {
  font-size: 1.18rem;
}

.content-wrap p {
  margin: 0 0 0.85em;
}

.concert-flyer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #211c19;
  color: #fff8ec;
  border-top: 4px solid #c08b42;
  overflow: hidden;
}

.concert-copy {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.concert-copy h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.concert-copy .concert-label {
  margin-bottom: 1.2rem;
  color: #efc783;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.concert-copy .concert-orchestra {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
}

.concert-copy .concert-date {
  margin: 1.6rem 0 0.25rem;
}

.concert-date time {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.85rem;
  color: #efc783;
  font-size: 1.2rem;
  font-weight: 750;
}

.concert-venue {
  font-weight: 700;
}

.concert-copy a {
  display: inline-block;
  color: #efc783;
}

.concert-copy a:hover {
  color: #fff8ec;
}

.concert-picture {
  position: relative;
  min-height: 14rem;
  margin: 0;
  background: #382c23;
}

.concert-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concert-picture figcaption {
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  padding: 0.1rem 0.45rem;
  background: #211c19;
  color: #fff8ec;
  font-size: 0.8rem;
}

.content-wrap .calendar-link {
  margin-top: 1.25rem;
}

.calendar-feature {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: #f8f5ef;
}

.calendar-feature h2 {
  margin-top: 0;
}

.calendar-feature p:last-child {
  margin-bottom: 0;
}

.calendar-table {
  width: min(100%, 54rem);
  border-collapse: collapse;
  text-align: left;
}

.calendar-table caption {
  padding: 0.5rem 0;
  text-align: left;
  color: var(--gold);
  font-weight: 700;
}

.calendar-table th,
.calendar-table td {
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

.calendar-table td:nth-child(-n + 2) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calendar-table td:last-child {
  overflow-wrap: anywhere;
}

.calendar-month th {
  background: #f8f5ef;
  color: var(--gold);
}

.callout,
.legal-note {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  background: #f8f5ef;
}

.callout p,
.legal-note p {
  margin: 0;
}

.content-wrap address,
.footer-main address {
  font-style: normal;
}

.timeline {
  margin-block: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

.timeline-item + .timeline-item,
.person-card + .person-card {
  padding-top: 0.75rem;
}

.person-card h2 {
  margin-top: 0.75em;
  font-size: 1.2rem;
}

.person-card p {
  margin-bottom: 0.2em;
}

.site-footer {
  padding: 1.65rem 0 2rem;
  background: #1b1a1a;
  color: #cdcccc;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
}

.footer-main h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.18rem;
}

.footer-main a {
  display: block;
  width: fit-content;
  color: #e6c47e;
}

.footer-main a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .concert-flyer {
    grid-template-columns: 1fr;
  }

  .concert-picture {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .calendar-table {
    font-size: 0.95rem;
  }

  .calendar-table th,
  .calendar-table td {
    padding: 0.4rem 0.25rem;
    vertical-align: top;
  }

  .header-inner {
    padding-block: 0.25rem;
  }

  .brand img {
    width: 260px;
  }

  .menu-toggle:not([hidden]) {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.25rem 0 0.5rem;
    min-height: 44px;
    padding: 0.25rem 0.8rem;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    cursor: pointer;
  }

  .menu-toggle:not([hidden])[aria-expanded="false"] + .main-nav {
    display: none;
  }

  .main-nav {
    padding: 0 0 0.5rem;
  }

  .main-nav a {
    padding: 0.55rem 0;
  }

  .banner-inner {
    text-align: center;
    text-shadow: 0 1px 5px #000b;
  }

  .site-banner-home {
    min-height: 19rem;
    padding-top: 4.25rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

