/* ── Fonts ──────────────────────────────────────────────────── */
@font-face {
  font-family: "Nimbus Sans";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url('../assets/fonts/nimbus-sans_normal_400.woff') format('woff');
}
@font-face {
  font-family: "Nimbus Sans";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url('../assets/fonts/nimbus-sans_normal_700.woff') format('woff');
}
@font-face {
  font-family: "Nimbus Sans";
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: url('../assets/fonts/nimbus-sans_italic_400.woff') format('woff');
}
@font-face {
  font-family: "Nimbus Sans";
  font-style: italic;
  font-weight: 700;
  font-display: fallback;
  src: url('../assets/fonts/nimbus-sans_italic_700.woff') format('woff');
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-text: #212121;
  --font: "Nimbus Sans", sans-serif;
  --content-size: 520px;
  --wide-size: 1000px;
  --gap: 1.5rem;
  --nav-height: 44px;
  --fs-small: clamp(0.833rem, 0.833rem + ((1vw - 0.2rem) * 0.393), 1rem);
  --fs-xsmall: 0.833rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a:where(:not(.wp-element-button)) {
  color: var(--color-text);
  text-decoration: underline;
}
a:hover { text-decoration: none; }

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
  height: var(--nav-height);
  border-bottom: 1px solid var(--color-text);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
}

.site-nav__title {
  font-weight: 700;
  font-size: var(--fs-small);
  text-decoration: none;
}
.site-nav__title:hover { text-decoration: underline; }

.site-nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav__links a {
  text-decoration: none;
  font-size: var(--fs-xsmall);
}
.site-nav__links a:hover { text-decoration: underline; }
.site-nav__links a.active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 480px) {
  .site-nav { flex-wrap: wrap; height: auto; padding: 0.5rem var(--gap); gap: 0.4rem; }
  .site-nav__links { gap: 1.25rem; }
}

/* ── Site Blocks Wrapper ────────────────────────────────────── */
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }

/* ── Alignfull helper ───────────────────────────────────────── */
.alignfull {
  margin-left: calc(var(--gap) * -1);
  margin-right: calc(var(--gap) * -1);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2em 0;
}

.hero-img-col {
  flex-basis: 100%;
  padding: 0;
}

.hero-img-col img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title-col {
  flex-basis: 100%;
  padding: var(--gap);
  display: flex;
  align-items: flex-end;
}

.hero-title-col h1 {
  font-family: var(--font);
  font-size: max(48px, 10vw);
  font-style: normal;
  font-weight: 700;
  line-height: 0.9;
}

@media (min-width: 782px) {
  .hero-columns { flex-wrap: nowrap; gap: 2em 0; }
  .hero-img-col  { flex: 0 0 66.5%; min-width: 0; }
  .hero-title-col { flex: 0 0 33.5%; min-width: 0; padding: var(--gap); }
  .hero-title-col h1 { font-size: max(48px, 5.5vw); }
}

/* ── Content Text Section ───────────────────────────────────── */
.content-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2em 0;
  margin-top: 1.5rem;
}

.content-col-left {
  flex-basis: 100%;
  padding: var(--gap);
}

.content-col-left-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-col-right { display: none; }

@media (min-width: 782px) {
  .content-columns { flex-wrap: nowrap; }
  .content-col-left  { flex: 0 0 67%; display: flex; justify-content: flex-end; padding-right: var(--gap); }
  .content-col-left-inner { max-width: var(--content-size); width: 100%; }
  .content-col-right { flex: 0 0 33%; display: block; }
}

/* ── Audio Player ───────────────────────────────────────────── */
.audio-section {
  padding: 0 var(--gap);
  margin-top: 0;
}

@media (min-width: 782px) {
  .audio-section { padding: 0; }
  .audio-section-inner {
    margin-left: max(var(--gap), calc(67% - var(--content-size) - var(--gap)));
    max-width: var(--content-size);
  }
}

.audio-player {
  border: 1px solid var(--color-text);
  padding: 1.25rem;
  max-width: var(--content-size);
  position: relative;
}

.note-particle {
  position: absolute;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  animation: noteFloat var(--dur, 2.5s) ease-out forwards;
}

@keyframes noteFloat {
  0%   { opacity: 0;   transform: translateY(0)        translateX(0)                rotate(-8deg); }
  12%  { opacity: 1; }
  85%  { opacity: 0.8; }
  100% { opacity: 0;   transform: translateY(-240px)   translateX(var(--sway, 0px)) rotate(12deg); }
}

.audio-track-info {
  margin-bottom: 0.85rem;
}

.audio-track-title {
  font-weight: 700;
  font-size: var(--fs-small);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-track-num {
  font-size: var(--fs-xsmall);
  color: #757575;
  margin-top: 0.15rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.audio-btn {
  background: none;
  border: 1px solid var(--color-text);
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-family: var(--font);
  line-height: 1;
  transition: background 0.12s, color 0.12s;
}
.audio-btn:hover,
.audio-btn.is-playing { background: var(--color-text); color: var(--color-bg); }

.progress-wrap {
  height: 4px;
  background: #e0e0e0;
  cursor: pointer;
  margin-bottom: 0.5rem;
  position: relative;
}
.progress-bar {
  height: 100%;
  background: var(--color-text);
  width: 0%;
  pointer-events: none;
}

.audio-time {
  font-size: var(--fs-xsmall);
  color: #757575;
}

/* ── Contact Section ────────────────────────────────────────── */
.contact-section {
  padding: 0 var(--gap);
  margin-top: 2rem;
}

@media (min-width: 782px) {
  .contact-section { padding: 0; }
  .contact-section-inner {
    margin-left: max(var(--gap), calc(67% - var(--content-size) - var(--gap)));
    max-width: var(--content-size);
  }
}

.contact-toggle {
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  padding: 0.7rem 1.75rem;
  font-family: var(--font);
  font-size: var(--fs-xsmall);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.12s;
}
.contact-toggle:hover { background: #5d588e; }

.contact-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.contact-wrap.is-open { max-height: 700px; }

.contact-form {
  padding-top: 1.5rem;
  max-width: var(--content-size);
}

/* Honeypot */
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: var(--fs-xsmall);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field textarea {
  border: 1px solid var(--color-text);
  padding: 0.5rem 0.65rem;
  font-family: var(--font);
  font-size: var(--fs-small);
  background: var(--color-bg);
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus { box-shadow: 0 0 0 2px var(--color-text); }
.form-field textarea { resize: vertical; }

.btn-submit {
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  padding: 0.7rem 1.75rem;
  font-family: var(--font);
  font-size: var(--fs-xsmall);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.12s;
}
.btn-submit:hover { background: #5d588e; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-feedback {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  min-height: 1.4em;
}
.form-feedback.success { color: #2d6a2d; }
.form-feedback.error   { color: #b00000; }

/* ── Spacer ─────────────────────────────────────────────────── */
.spacer-2rem { height: 2rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  padding-top: 4rem;
  padding-right: var(--gap);
  padding-left: var(--gap);
  padding-bottom: 0;
}

.footer-booking {
  font-size: var(--fs-xsmall);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-site-title {
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
}
.footer-site-title:hover { text-decoration: underline; }

.footer-links {
  font-size: var(--fs-xsmall);
}
.footer-links a { text-decoration: underline; }

.footer-credit {
  font-size: var(--fs-xsmall);
  text-align: right;
}

/* ── Musiker Page ───────────────────────────────────────────── */
.page-header {
  padding: var(--gap) var(--gap) 0;
}

.page-title {
  font-size: max(48px, 5.5vw);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 2rem;
}

.musicians {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: var(--gap);
  max-width: calc(var(--wide-size) + var(--gap) * 2);
}

.musician-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.musician-card__photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  background: #e8e8e8;
  overflow: hidden;
}
.musician-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.musician-card__name {
  font-size: max(28px, 2.5vw);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.musician-card__instrument {
  font-size: var(--fs-xsmall);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.musician-card__bio {
  max-width: var(--content-size);
  line-height: 1.6;
}

@media (min-width: 782px) {
  .musician-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .musician-card__photo {
    flex-shrink: 0;
    width: 260px;
    max-width: 260px;
  }
}
