/* Trio Hyperjazz – dunkles Design nach dem Muster von proeve.net */
:root {
  --bg: #000;
  --bg-soft: #111;
  --fg: #fff;
  --muted: #b3b3b3;
  --accent: #e8c547;
  --line: #2a2a2a;
  --max: 1100px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.grid-2 > *, .grid-3 > *, .card { min-width: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* Header + Navigation – Banner als Hintergrund */
.site-header {
  background: #000 url(header.png) left center / cover no-repeat;
  aspect-ratio: 1685 / 204;
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.25rem;
  min-height: 0; height: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand { display: block; width: 26%; max-width: 300px; aspect-ratio: 370 / 170; }
.brand img { display: none; }  /* Logo ist Teil des Banners */
.site-nav { display: flex; gap: .25rem; flex-wrap: wrap; background: rgba(0,0,0,.55); padding: .35rem .6rem; border-radius: 6px; backdrop-filter: blur(4px); }
.site-nav a {
  color: var(--fg); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  padding: .35rem .6rem; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a:focus { text-decoration: none; border-color: var(--muted); }
.site-nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; background: rgba(0,0,0,.6); border: 1px solid var(--muted); color: var(--fg); font-size: 1.4rem; padding: .2rem .6rem; border-radius: 4px; cursor: pointer; }
@media (max-width: 760px) {
  .site-header { aspect-ratio: auto; position: relative; }
  .site-header .inner { min-height: 110px; align-items: center; }
  .brand { width: 45%; max-width: 200px; }
  .nav-toggle { display: block; font-size: 1.6rem; line-height: 1; padding: .35rem .7rem; }
  .nav-toggle[aria-expanded="true"]::before { content: "✕"; }
  .nav-toggle[aria-expanded="true"] span { display: none; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    flex-direction: column; gap: 0; padding: .5rem 0; border-radius: 0;
    background: #000; border-bottom: 1px solid var(--line); backdrop-filter: none;
    box-shadow: 0 12px 24px rgba(0,0,0,.6);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem 1.25rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-left: 3px solid var(--accent); padding-left: calc(1.25rem - 3px); border-bottom-color: var(--line); }
}

/* Inhalt */
.site-main { max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.hero { margin: 0 -1.25rem 2rem; }
.hero img { width: 100%; max-height: 520px; object-fit: cover; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 70ch; }
.prose { max-width: 70ch; }
.intro-video { width: 100%; height: auto; display: block; border-radius: 6px; background: #000; }
.intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-items: start; }
.intro > * { min-width: 0; }
.intro > h1, .intro > .lead { grid-column: 1 / -1; }
.intro > .prose { grid-column: 1; grid-row: 3; }
.intro > .intro-video { grid-column: 2; grid-row: 3; }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; }
  .intro > * { grid-column: 1 !important; grid-row: auto !important; }
  .intro > .intro-video { order: -1; margin-bottom: 1.5rem; }
}
.besetzung { list-style: none; padding: 0; margin: 0; }
.besetzung li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; display: flex; flex-direction: column; }
.card h2, .card h3 { margin-top: 0; }
.card .card-img { height: 220px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card .card-img img { max-height: 100%; width: auto; border-radius: 4px; }
.card p { margin: 0 0 .75rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card .btn-row { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.card .btn-row .btn { margin-top: 0; }
.card .spotify { border-radius: 12px; margin-bottom: 1rem; }

.btn {
  display: inline-block; background: var(--accent); color: #000; font-weight: 600;
  padding: .6rem 1.2rem; border-radius: 4px;
}
.btn:hover, .btn:focus { background: #fff; color: #000; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--muted); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: #000; border-color: #fff; }

/* Auftritte */
.termin { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.termin time { font-size: 1.3rem; font-weight: 600; color: var(--accent); }
.termin time small { display: block; font-size: .9rem; color: var(--muted); font-weight: 400; }
.termin h3 { margin: 0 0 .25rem; }
.termin p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .termin { grid-template-columns: 1fr; gap: .25rem; } }
.hinweis { color: var(--muted); font-style: italic; }
.plakat { margin: 2rem 0; }
.vortrag { margin-top: 2rem; }
.vortrag h2 { margin-top: 0; }
.plakat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.plakat > a { min-width: 0; }
.plakat img { width: 100%; height: auto; border: 1px solid var(--line); }
@media (max-width: 760px) { .plakat { grid-template-columns: 1fr; } }

/* Musiker */
.bio-title .instrument::before { content: "– "; }
@media (max-width: 760px) {
  .bio-title .instrument { display: block; font-size: .55em; font-weight: 400; color: var(--muted); margin-top: .25rem; }
  .bio-title .instrument::before { content: none; }
}
.musiker-nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.musiker-nav a { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); font-size: .9rem; }
.musiker-nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.portrait { width: 100%; max-width: 420px; }
.bio { grid-template-columns: 1fr 1.4fr; align-items: start; }
.bio .prose > :first-child { margin-top: 0; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } }

/* Mediathek */
.spotify { border-radius: 12px; margin: .5rem 0 1rem; max-width: 640px; display: block; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 1.5rem; }
.video { margin: 0; }
.shorts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.shorts-grid > * { min-width: 0; }
.video.short iframe { aspect-ratio: 9 / 16; }
@media (max-width: 760px) { .shorts-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; background: var(--bg-soft); }
.video figcaption { margin-top: .5rem; color: var(--muted); }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.galerie-item { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galerie-item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .galerie { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }

/* Rechtliches */
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal a, .prose a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; padding: 2.5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-grid h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .75rem; color: var(--fg); }
.footer-grid a { color: var(--fg); }
.copyright { max-width: var(--max); margin: 2rem auto 0; text-align: center; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
