/* Pröve Werkbibliothek — angeglichen an proeve.net
   Weißer Grund, dunkle Schrift, schlichte Linien, Systemschrift
   wie das WordPress-Blocktheme der Hauptseite */

:root {
  --grund: #000000;
  --schrift: #ffffff;
  --grau: #a3a3a3;
  --linie: #2e2e2e;
  --flaeche: #141414;
  --stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: var(--stack);
  font-size: 1.05rem;
  line-height: 1.65;
}
a { color: var(--schrift); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--schrift); outline-offset: 2px; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf-innen {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.marke {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.marke-logo { border-radius: 50%; display: block; }
.marke-name {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.kopf-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1;
}
.kopf-nav a { text-decoration: none; }
.kopf-nav a:hover, .kopf-nav a.aktiv { text-decoration: underline; text-underline-offset: 4px; }

/* Inhalt */
.inhalt {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.meta { color: var(--grau); font-size: 0.95rem; }
.meta a { color: var(--grau); }
.meta strong { color: var(--schrift); font-weight: 600; }

/* Filterleiste: mobil zwei Zeilen, am Desktop eine Zeile
   (Suchfeld füllt den Platz, Knopf und Checkboxen rechts daneben) */
.filter { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.75rem 0 2.25rem; }
.filter-zeile { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.filter-zeile:last-child { justify-content: center; }
/* Checkbox selbst gezeichnet: weißes Kästchen, wirklich schwarzer Haken,
   kein Fokusrahmen beim Anklicken */
.filter-haken input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--linie);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}
.filter-haken input:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.filter-haken input:focus,
.filter-haken input:focus-visible { outline: none; }
@media (min-width: 48rem) {
  .filter { flex-direction: row; align-items: center; }
  .filter-zeile:first-child { flex: 1 1 auto; flex-wrap: nowrap; }
  .filter-zeile:first-child input[type="search"] { flex: 1 1 auto; }
  .filter-zeile:last-child { flex: 0 0 auto; }
}
.filter input[type="search"], .filter select {
  font: inherit;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--schrift);
  background: var(--grund);
  color: var(--schrift);
  border-radius: 4px;
}
.filter input[type="search"] { flex: 1 1 14rem; }
.filter button {
  font: inherit;
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--schrift);
  background: var(--schrift);
  color: var(--grund);
  border-radius: 999px;
  cursor: pointer;
}
.filter button:hover { opacity: 0.8; }

/* Werkliste */
.werkliste { list-style: none; margin: 0; padding: 0; }
.werkzeile {
  border-top: 1px solid var(--linie);
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
}
.werkzeile:last-child { border-bottom: 1px solid var(--linie); }
.werkzeile .titel {
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
}
.werkzeile .titel:hover { text-decoration: underline; }
.werkzeile .jahr { font-variant-numeric: tabular-nums; color: var(--grau); }
.werkzeile .unterzeile {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--grau);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.medien-marker { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; color: #4d4d4d; }
.medien-marker.aktiv { color: var(--schrift); }

/* Werk-Detailseite */
.werk-kopf { margin-bottom: 2rem; }
.abschnitt { margin: 2.75rem 0; }
.abschnitt > h2 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grau);
  margin: 0 0 1rem;
}
.video-rahmen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-rahmen iframe, .video-rahmen video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
audio { width: 100%; }
.medienliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }

.partitur-karte {
  border: 1px solid var(--linie);
  background: var(--flaeche);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.knopf {
  display: inline-block;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.5rem 1.3rem;
  border: 1px solid var(--schrift);
  background: var(--schrift);
  color: var(--grund);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { opacity: 0.8; }
.knopf.leise { background: transparent; color: var(--schrift); }

.leer {
  border: 1px dashed var(--linie);
  padding: 2rem;
  text-align: center;
  color: var(--grau);
  border-radius: 6px;
}

/* Fuß */
.fuss { border-top: 1px solid var(--linie); margin-top: 1rem; }
.fuss-innen {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
  color: var(--grau);
}
.fuss-marke { font-size: 1.4rem; font-weight: 700; color: var(--schrift); margin: 0 0 0.25rem; }
.fuss p { margin: 0.25rem 0; }
.fuss a { color: var(--grau); }

/* Admin-Formulare */
.formular { display: grid; gap: 1rem; max-width: 44rem; }
.formular label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 600; }
.formular input[type="text"], .formular input[type="number"], .formular input[type="password"],
.formular textarea, .formular select, .formular input[type="file"] {
  font: inherit;
  font-weight: 400;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--linie);
  background: var(--grund);
  color: var(--schrift);
  caret-color: var(--schrift);
  border-radius: 4px;
  width: 100%;
}
.formular textarea { min-height: 8rem; resize: vertical; }
.hinweis { font-size: 0.85rem; font-weight: 400; color: var(--grau); }
.fehler { background: #3a1512; border: 1px solid #e74c3c; padding: 0.75rem 1rem; border-radius: 4px; }
.ok { background: #122917; border: 1px solid #4caf50; padding: 0.75rem 1rem; border-radius: 4px; }

.tabelle { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tabelle th, .tabelle td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--linie); }
.tabelle th { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grau); }

@media (max-width: 40rem) {
  .werkzeile { grid-template-columns: 1fr; }
  .partitur-karte { flex-direction: column; align-items: flex-start; }
  /* Kopfzeile kompakt, damit Logo, Name und Menü in eine Zeile passen */
  .kopf-innen { padding: 0.75rem 0.75rem; flex-wrap: nowrap; gap: 0.6rem; }
  .marke-bereich { gap: 0.5rem; }
  .marke { gap: 0.45rem; }
  .marke-logo { width: 36px; height: 36px; }
  .marke-name { font-size: 1.15rem; }
  .sprachwahl { font-size: 0.8rem; gap: 0.25rem; }
  .kopf-nav { gap: 0.7rem; font-size: 0.82rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* YouTube-Fassade: Vorschaubild mit Play-Symbol, lädt erst beim Klick */
.yt-fassade {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}
.yt-fassade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-symbol {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,0.25);
}
.play-symbol::before { content: ""; }
.yt-fassade:hover .play-symbol { background: rgba(0,0,0,0.45); }

/* Ladekreis am Ansehen-Knopf */
.lade-kreis {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.5em;
  vertical-align: -0.1em;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-radius: 50%;
  animation: drehung 0.7s linear infinite;
}
@keyframes drehung { to { transform: rotate(360deg); } }

/* Medien-Filter neben dem Suchfeld */
.filter-haken {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}
.filter-haken:has(input:checked) {
  background: var(--flaeche);
}

/* Instagram-Einbettung: zentriert, Hochformat, begrenzt auf Instagram-Breite */
.insta-rahmen {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.insta-rahmen .instagram-media { margin: 0 auto !important; }

/* Startseite */
.hero { margin-bottom: 1rem; }
.hero-untertitel {
  font-size: 1.15rem;
  color: var(--grau);
  margin: 0.25rem 0 1.5rem;
}
.hero-text { max-width: none; }
.hero-text p { margin: 0 0 1rem; }
.hero-text p:last-child { margin-bottom: 0; }

.outnow {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}
.spotify {
  width: min(100%, 540px);
  height: 152px;
  border: 0;
  border-radius: 12px;
}

.portraet { text-align: center; }
.portraet img {
  max-width: 100%;
  height: auto;
}

.newsliste { list-style: none; margin: 0; padding: 0; }
.newsliste li {
  border-top: 1px solid var(--linie);
  padding: 1rem 0;
}
.newsliste li:last-child { border-bottom: 1px solid var(--linie); }
.news-datum {
  display: block;
  font-size: 0.85rem;
  color: var(--grau);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.2rem;
}
.newsliste a { font-weight: 600; text-decoration: none; }
.newsliste a:hover { text-decoration: underline; }
.newsliste .meta { margin: 0.3rem 0 0; }

/* Rechtstext */
.rechtstext { max-width: 46rem; }
.rechtstext h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
}
.rechtstext p { margin: 0 0 1rem; }

/* Alben-Gitter: zwei Spalten am Desktop, eine mobil */
.albengitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.25rem;
}
.spotify-album {
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
}

/* Folgen-Knopf unter dem Instagram-Reel */
.insta-folgen { text-align: center; margin: 1.25rem 0 0; }

/* Reels: mobil untereinander, am Desktop drei Spalten mit gleicher Höhe */
.reel-gitter {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
}
@media (min-width: 48rem) {
  .reel-gitter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    justify-items: center;
  }
  .reel-gitter .insta-rahmen {
    width: 100%;
    height: 620px;
    overflow: hidden;
  }
  .reel-gitter .instagram-media { min-width: 0 !important; }
}

/* Eventim-Ticketshop */
.eventim { margin: 1.5rem 0; }
.eventim iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
  background: #fff;
}
.eventim-hinweis { margin-top: 1rem; }

/* Blätter-Navigation im Werkverzeichnis */
.seiten-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Sprachwahl DE / EN im Kopf */
.marke-bereich { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.sprachwahl { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--grau); font-size: 0.9rem; line-height: 1; white-space: nowrap; }
.sprachwahl a { color: var(--grau); text-decoration: none; }
.sprachwahl a.aktiv { color: var(--schrift); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Menütext: lang am Desktop, kurz auf dem Handy */
.nur-mobil { display: none; }
@media (max-width: 40rem) {
  .nur-desktop { display: none; }
  .nur-mobil { display: inline; }
}

/* Biografie */
.biografie h2 { font-size: 1.35rem; margin: 2.5rem 0 1rem; }
.biografie ul, .biografie ol { padding-left: 1.3rem; }
.biografie li { margin-bottom: 0.5rem; }
.bio-bilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
  align-items: start;
}
.bio-bilder img { width: 100%; height: auto; display: block; }
.repertoire { list-style: none; padding: 0; }
.repertoire li { border-top: 1px solid var(--linie); padding: 0.55rem 0; }
.repertoire li:last-child { border-bottom: 1px solid var(--linie); }
.presse { margin: 0; padding: 1rem 1.25rem; border-left: 3px solid var(--schrift); }
.presse p { margin: 0 0 0.4rem; font-size: 1.15rem; }

/* Menü-Symbol mit Ausklappliste */
.menue { position: relative; display: flex; align-items: center; }
.menue-knopf {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.4rem;
  border: 1px solid var(--linie);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.menue-knopf span {
  display: block;
  height: 2px;
  background: var(--schrift);
  border-radius: 1px;
}
.menue-knopf:hover, .menue-knopf[aria-expanded="true"] { border-color: var(--schrift); }
.menue-liste {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: 0.4rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 50;
}
.menue-liste.offen { display: block; }
.menue-liste a {
  display: block;
  padding: 0.6rem 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}
.menue-liste a:hover { background: var(--flaeche); }
@media (max-width: 40rem) {
  .menue-knopf { width: 2rem; height: 2rem; }
}

/* News-Bild auf der Startseite */
.news-bild { max-width: 56rem; }
.news-bild img { width: 100%; height: auto; display: block; }
