/* ==========================================================================
   bassgefluester – acoustic duo
   Stylesheet der neuen Website (HTML5/CSS, ohne Framework)
   Farben und Schriften folgen der alten Flash-Seite: dunkelgrauer Grund,
   weißes Logo, Serifenschrift für Überschriften, Verdana für Fließtext,
   Akzent im Holzton des Kontrabasses.
   ========================================================================== */

:root {
  --ground: #333333;        /* Hintergrund wie auf der Flash-Seite */
  --ink: #ece6dd;           /* Fließtext */
  --ink-soft: #b5aca3;      /* Nebentext */
  --amber: #d9944f;         /* Akzent: Holzton des Kontrabasses */
  --amber-light: #efbd8a;
  --rule: #4a4644;          /* feine Linien */
  --on-amber: #2a2522;

  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "TeX Gyre Pagella", Georgia, serif;
  --sans: Verdana, "Verdana Pro", "DejaVu Sans", Geneva, Tahoma, sans-serif;

  --collage-w: 296px;
  --collage-h: 421px;
  --strip-gap: 4px;
}

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

[hidden] { display: none !important; }

html {
  color-scheme: dark;
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--ground);
  font: 15px/1.7 var(--sans);
}

img { max-width: 100%; }

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--amber-light); }

:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, 1040px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--amber);
  color: var(--on-amber);
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0 2.6rem;
  border-bottom: 1px solid var(--rule);
}

.brand { display: block; flex: none; }
.brand img { display: block; width: 178px; height: auto; }

.site-nav {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  padding-bottom: 0.4rem;
}

.nav-main {
  list-style: none;
  display: flex;
  gap: 1.7rem;
  margin: 0;
  padding: 0;
}
.nav-main > li { position: relative; }

.nav-main a {
  display: inline-block;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-main a:hover { color: var(--ink); }
.nav-main a[aria-current="page"],
.nav-main > li.is-active > a {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* Unterpunkte von „Duo“ – erscheinen wie früher beim Überfahren */
.nav-sub {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0.45rem 0 0;
  white-space: nowrap;
}
.nav-main > li.is-active .nav-sub,
.nav-main > li:hover .nav-sub,
.nav-main > li:focus-within .nav-sub { display: flex; }
.nav-main > li:hover:not(.is-active) .nav-sub { z-index: 5; }
.nav-sub a {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.lang {
  margin: 0;
  color: var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.lang a { color: var(--ink-soft); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang [aria-current] { color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Bühne: Fotocollage links, Text rechts
   -------------------------------------------------------------------------- */

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: var(--collage-w) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: 3rem 4.5rem;
}

.stage--text { grid-template-columns: minmax(0, 46rem); }

/* Die vier senkrechten Bildstreifen der Flash-Seite */
.collage {
  position: sticky;
  top: 2rem;
  display: flex;
  gap: var(--strip-gap);
  height: var(--collage-h);
}
.collage img {
  --from: -28px;
  display: block;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  background: #2b2b2b;
  transition: opacity 0.35s ease;
  animation: strip-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.collage img:nth-child(2n) { --from: 28px; }
.collage img:nth-child(2) { animation-delay: 0.12s; }
.collage img:nth-child(3) { animation-delay: 0.24s; }
.collage img:nth-child(4) { animation-delay: 0.36s; }
.collage img.is-fading { opacity: 0; transition-duration: 0.18s; }

@keyframes strip-in {
  from { opacity: 0; transform: translateY(var(--from)); }
  to   { opacity: 1; transform: none; }
}

.content { max-width: 36rem; }
.stage--text .content { max-width: 46rem; }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

h1 {
  margin: 0 0 0.3em;
  font-size: clamp(1.9rem, 1.35rem + 1.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
}

h2 {
  margin: 2.3rem 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

h3 {
  margin: 1.8rem 0 0.4rem;
  font-size: 1.15rem;
}

p { margin: 0 0 1.05em; }

.role {
  margin: 0 0 1.7rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

blockquote {
  margin: 1.8rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--amber);
}
blockquote p {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
}
blockquote footer,
.signature {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.note {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Startseite: Motto wie im Flash-Intro
   -------------------------------------------------------------------------- */

.motto {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
}
.motto p { margin: 0; }
.motto p + p { margin-top: 1.4rem; }
.motto .line { display: block; }
.motto .line--punch {
  margin-top: 0.2rem;
  font-size: 1.15em;
  letter-spacing: 0.01em;
}

.motto--animated .line {
  animation: line-in 0.9s ease both;
  animation-delay: calc(var(--i) * 0.7s + 0.6s);
}
.motto--animated.is-skipped .line { animation: none; }

@keyframes line-in {
  from { opacity: 0; transform: translateY(0.45em); }
  to   { opacity: 1; transform: none; }
}

.intro-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

/* --------------------------------------------------------------------------
   Schaltflächen
   -------------------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--amber);
  border-radius: 2px;
  background: transparent;
  color: var(--amber);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button:hover { background: var(--amber); color: var(--on-amber); }

.button--quiet {
  border-color: var(--rule);
  color: var(--ink-soft);
  font-size: 0.8rem;
  padding: 0.5rem 0.9rem;
}
.button--quiet:hover,
.button--quiet[aria-pressed="true"] {
  border-color: var(--ink-soft);
  background: transparent;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Duo: Verweise auf die Musiker
   -------------------------------------------------------------------------- */

.members {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.members li { border-bottom: 1px solid var(--rule); }
.members a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
}
.members a:hover .members__name { color: var(--amber); }
.members__name { font-family: var(--serif); font-size: 1.2rem; }
.members__role { color: var(--ink-soft); font-size: 0.82rem; }

/* --------------------------------------------------------------------------
   Musik: Hörproben
   -------------------------------------------------------------------------- */

.songs {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.song {
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid var(--rule);
}
.song__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.song__title { font-family: var(--serif); font-size: 1.2rem; transition: color 0.2s ease; }
.song__time { color: var(--ink-soft); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.song audio { display: block; width: 100%; height: 38px; }
.song.is-playing .song__title { color: var(--amber); }

/* --------------------------------------------------------------------------
   CDs
   -------------------------------------------------------------------------- */

.cds {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.6rem;
}
.cd {
  display: grid;
  grid-template-columns: 143px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.cd img {
  display: block;
  width: 143px;
  height: auto;
  box-shadow: 0 0 0 1px var(--rule);
}
.cd h2 { margin: 0 0 0.6rem; font-size: 1.3rem; }

.tracks {
  margin: 0 0 1.1rem;
  padding-left: 1.7rem;
  font-size: 0.86rem;
  line-height: 1.6;
}
.tracks li { padding-left: 0.2rem; }
.tracks li::marker { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tracks .t {
  margin-left: 0.35rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.tracks ul {
  list-style: none;
  margin: 0;
  padding-left: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

address {
  margin: 0 0 1.4rem;
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
}

.contact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.2rem;
  margin: 0 0 1.6rem;
}
.contact-list dt { color: var(--ink-soft); }
.contact-list dd { margin: 0; }

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */

.legal h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.08rem; }
.legal p, .legal li { font-size: 0.92rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.35rem; }
.legal address { font-family: var(--sans); font-size: 0.92rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Fußbereich – angelehnt an die Zeile unter der Flash-Bühne
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-align: center;
}
.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.7rem;
  margin: 0 0 0.4rem;
  padding: 0;
}
.footer-links li + li::before {
  content: "|";
  margin-right: 0.7rem;
  color: var(--rule);
}
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--amber-light); text-decoration: underline; }
.footer-address { margin: 0; }

/* --------------------------------------------------------------------------
   Sprachwahl (Einstiegsseite)
   -------------------------------------------------------------------------- */

.splash {
  position: relative;
  background: var(--ground) url("../img/bg-bass.jpg") center / cover no-repeat;
}
.splash::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(51, 51, 51, 0.55), rgba(51, 51, 51, 0.85));
}
.splash > * { position: relative; }

.splash-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
  text-align: center;
}
.splash-main .logo {
  display: block;
  width: min(330px, 72vw);
  height: auto;
  margin: 0 auto 2.6rem;
  animation: strip-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  --from: -16px;
}
.splash-prompt {
  margin: 0 0 1.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
}
.splash-prompt span { display: block; color: var(--ink-soft); }
.splash .actions { justify-content: center; margin-top: 0; }
.splash .button { min-width: 9.5rem; justify-content: center; font-size: 0.95rem; }
.splash .site-footer { border-top: 0; }

/* --------------------------------------------------------------------------
   Fehlerseite
   -------------------------------------------------------------------------- */

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
  text-align: center;
}
.error-main .logo { width: 178px; height: auto; margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   Kleine Bildschirme
   -------------------------------------------------------------------------- */

@media (max-width: 859px) {
  body { font-size: 15px; }

  .site-header {
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 0;
  }
  .brand img { width: 132px; }

  .js .nav-toggle { display: inline-flex; }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.5rem 0 0.25rem;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }

  .nav-main { flex-direction: column; gap: 0; }
  .nav-main > li { border-bottom: 1px solid var(--rule); }
  .nav-main a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 0;
    font-size: 0.85rem;
  }
  .nav-main a[aria-current="page"],
  .nav-main > li.is-active > a { border-bottom: 0; }
  .nav-sub,
  .nav-main > li:hover .nav-sub {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 0.5rem 1rem;
  }
  .nav-sub a { padding: 0.45rem 0; font-size: 0.85rem; }

  .lang { font-size: 0.85rem; padding-bottom: 0.5rem; }

  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
    padding-block: 1.5rem 3rem;
  }
  .collage {
    position: static;
    height: clamp(190px, 54vw, 320px);
  }
  .collage img { object-position: 50% 30%; }

  .motto { font-size: 1.28rem; }
  .lead { font-size: 1.22rem; }

  .cd { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; }
  .cd img { width: 96px; }


  .contact-list { grid-template-columns: 1fr; gap: 0 0; }
  .contact-list dd { margin-bottom: 0.6rem; }
}

/* --------------------------------------------------------------------------
   Weniger Bewegung, wenn im System so eingestellt
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */

@media print {
  html, body { background: #fff; color: #000; }
  .site-nav, .nav-toggle, .collage, .intro-controls, .skip-link { display: none !important; }
  .brand img { filter: invert(1); }
  .stage { display: block; }
  a { color: #000; }
}

.splash-main h1 { margin: 0; }

/* Hinweiszeile direkt nach Listen mit Trennlinien: keine doppelte Linie */
.members + .note,
.songs + .note,
.cds + .note { border-top: 0; padding-top: 0; }
