:root {
  --ink: #fff7ec;
  --muted: #d7c6ad;
  --paper: #f3eadb;
  --charcoal: #11100e;
  --charcoal-2: #1b1713;
  --rust: #8d4730;
  --gold: #d2a052;
  --line: rgba(255, 247, 236, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--charcoal);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: linear-gradient(rgba(17, 16, 14, 0.78), rgba(17, 16, 14, 0));
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a,
.button,
.text-link,
.site-footer a,
.booking-links a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover,
.site-footer a:hover,
.booking-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero__photo,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__photo {
  z-index: -3;
  background-image: url("hero-photo-v4.jpg");
  background-position: center 35%;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.34) 0%, rgba(17, 16, 14, 0.10) 44%, rgba(17, 16, 14, 0.02) 100%),
    linear-gradient(0deg, rgba(17, 16, 14, 0.38) 0%, rgba(17, 16, 14, 0.03) 46%, rgba(17, 16, 14, 0) 100%);
}

.hero__wall-logo {
  position: absolute;
  z-index: -1;
  top: clamp(96px, 13vw, 178px);
  right: clamp(14px, 4vw, 64px);
  width: clamp(170px, 23vw, 360px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.46));
}

.hero__content {
  width: min(720px, calc(100% - 40px));
  margin: 0 0 clamp(42px, 8vw, 92px) clamp(20px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 7.3rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.lead {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  font-weight: 650;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.54);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
}

.button--primary {
  color: #17110b;
  background: var(--gold);
}

.button--ghost {
  border-color: rgba(255, 247, 236, 0.46);
  color: var(--ink);
  background: rgba(17, 16, 14, 0.34);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.section--musicians {
  background: #151311;
}

.musician-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.musician-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-items: start;
  margin: 0;
}

.musician-card + .musician-card {
  margin-top: 0;
  padding-top: 0;
}

.musician-card + .musician-card::before {
  content: none;
}

.musician-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.musician-copy h3 {
  margin: 0 0 6px;
  color: var(--ink);
}

.musician-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.section--dates {
  background: var(--paper);
  color: #17110b;
}

.section--audio {
  background: #151311;
}

.section--booking {
  background:
    linear-gradient(135deg, rgba(141, 71, 48, 0.48), rgba(17, 16, 14, 0.08)),
    var(--charcoal-2);
}

.legal-main {
  min-height: calc(100vh - 80px);
  padding-top: 76px;
  background: var(--charcoal);
}

.section--legal {
  min-height: calc(100vh - 156px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(141, 71, 48, 0.34), rgba(17, 16, 14, 0.08)),
    #151311;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.legal-block {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.legal-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.date-list {
  border-top: 1px solid rgba(23, 17, 11, 0.18);
}

.date-item {
  display: grid;
  grid-template-columns: minmax(100px, 0.2fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(23, 17, 11, 0.18);
}

.date-item time {
  color: var(--rust);
  font-weight: 900;
}

.date-item p,
.section-copy,
.player-panel p {
  color: #6a5848;
}

.date-item p {
  margin: 8px 0 0;
}

.text-link {
  color: var(--rust);
  font-weight: 900;
}

.audio-layout,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.section--audio .section-copy,
.section--audio .player-panel p,
.section--booking .section-copy {
  color: var(--muted);
}

.player-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 247, 236, 0.045);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.track-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.track-meta span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-meta strong {
  font-size: 1.18rem;
}

audio {
  display: block;
  width: 100%;
}

.booking-layout {
  align-items: center;
}

.booking-links {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.booking-links strong,
.booking-links span,
.booking-links a {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 800;
  line-height: 1.28;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #0a0908;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 0;
    padding: 10px 16px;
    background: rgba(17, 16, 14, 0.9);
    border-bottom: 1px solid rgba(255, 247, 236, 0.16);
    backdrop-filter: blur(8px);
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: clamp(12px, 4vw, 22px);
  }

  .hero {
    min-height: 88vh;
  }

  .hero__photo {
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    transform: none;
  }

  .hero__shade {
    background: none;
  }

  .hero__wall-logo {
    top: auto;
    right: 8px;
    bottom: calc(100% - min(100vw * 0.6667, 560px) + 6px);
    width: min(30vw, 136px);
  }

  .hero__content {
    width: calc(100% - 40px);
    margin: -18px 20px 36px;
  }

  .date-item,
  .musician-grid,
  .audio-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .musician-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .musician-card img {
    order: 2;
  }

  .musician-copy {
    order: 1;
  }

  .musician-card + .musician-card {
    margin-top: 34px;
    padding-top: 38px;
  }

  .musician-card + .musician-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    width: min(130px, 41%);
    height: 23px;
    transform: translateX(-50%);
    background-image: url("kanzler-logo-divider.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
  }

  .musician-card img {
    width: min(100%, 320px);
    justify-self: center;
  }

  .date-item {
    align-items: start;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero__photo {
    background-position: center top;
  }

  .hero__wall-logo {
    top: auto;
    right: 6px;
    bottom: calc(100% - 66.67vw + 4px);
    width: min(32vw, 112px);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
