/* joern-klare.de – Gestaltung
   Schriften: Sofia Sans Condensed (Überschriften, Menü, Etiketten) + Literata (Text) */

:root {
  --kopf: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif;
  --text: 'Literata', Georgia, serif;
  --schwarz: #111;
  --grau: #5a5a5a;
  --linie: rgba(0, 0, 0, .13);
  --breite: 960px;
  --etikett: 200px;   /* passt für das längste Etikett („2001 Frankfurter Rundschau“) */
  --abstand: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--text); font-size: 17.5px; line-height: 1.62; color: var(--schwarz);
  background: #e8e8e8;
  -webkit-font-smoothing: antialiased;
}
/* Hintergrundbild, fest stehend – als eigene Ebene, weil „background-attachment: fixed“ auf dem iPhone nicht geht */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: #e8e8e8 url(../bilder/joern-klare-bg-main.jpg) center / cover no-repeat;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 3px; }

.unsichtbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.sprung { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.sprung:focus { left: 8px; }

/* ---------- Kopf und Menü ---------- */
.kopf { position: sticky; top: 0; z-index: 10; padding: 14px 16px 0; }
/* Der Streifen über dem weißen Balken zeigt dasselbe (fest stehende) Hintergrundbild –
   so bleibt der Abstand sichtbar, aber der Inhalt verschwindet beim Scrollen darunter */
.kopf::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: #e8e8e8 url(../bilder/joern-klare-bg-main.jpg) center / cover no-repeat fixed;
}
/* iPhone/iPad können kein „fixed“-Hintergrundbild: dort scrollt der Abstand mit weg */
@supports (-webkit-touch-callout: none) {
  .kopf { top: -14px; }
  .kopf::before { display: none; }
}
.kopf-in {
  max-width: var(--breite); margin: 0 auto; background: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 32px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.name {
  font-family: var(--kopf); font-weight: 500; text-transform: uppercase;
  font-size: 30px; letter-spacing: .1em; line-height: 1; text-decoration: none;
}
.menu { display: flex; gap: 2px; }
.menu a {
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 14.5px; letter-spacing: .14em; line-height: 1; text-decoration: none;
  padding: 7px 10px 6px; transition: background .15s;
}
.menu a:hover { background: rgba(0, 0, 0, .07); }
.menu a[aria-current="page"] { background: var(--schwarz); color: #fff; }

/* ---------- Inhalt ---------- */
.inhalt { max-width: var(--breite); margin: 0 auto; padding: 24px 32px 120px; }

.eintrag {
  display: grid; grid-template-columns: var(--etikett) minmax(0, 1fr); column-gap: var(--abstand);
  align-items: first baseline;
  padding: 34px 0; border-top: 1px solid var(--linie);
}
.inhalt > .eintrag:first-of-type, .rubrik + .eintrag, .jahr > summary + .eintrag { border-top: 0; }
.etikett { text-align: right; }
.etikett span {
  display: inline-block; position: relative; top: -5px; /* Kasten mittig zur Versalhöhe des Titels */
  white-space: nowrap;
  background: var(--schwarz); color: #fff;
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 13px; letter-spacing: .09em; line-height: 1.1; padding: 4px 8px 3px;
}
.titel {
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 25px; line-height: 1.15; letter-spacing: .035em;
}
.untertitel { font-style: italic; font-size: 19px; line-height: 1.35; margin-top: 6px; color: #222; }
.meta {
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 12.5px; letter-spacing: .13em; color: var(--grau); margin-top: 12px;
}
.meta i { font-style: normal; padding: 0 .5em; color: #999; }
.auszeichnung, .zusatz { font-style: italic; font-size: 15.5px; margin-top: 4px; color: #333; }
.auszeichnung { position: relative; padding-left: 27px; }
/* Lorbeerkranz vor jeder Auszeichnung (als Maske, damit er die Textfarbe annehmen kann) */
.auszeichnung::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; background: #555;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6.9' cy='19.3' rx='1.80' ry='0.68' transform='rotate%28-168 6.9 19.3%29'/%3E%3Cellipse cx='8.1' cy='18.0' rx='1.80' ry='0.68' transform='rotate%28-108 8.1 18.0%29'/%3E%3Cellipse cx='5.2' cy='16.6' rx='1.80' ry='0.68' transform='rotate%28-151 5.2 16.6%29'/%3E%3Cellipse cx='6.7' cy='15.7' rx='1.80' ry='0.68' transform='rotate%28-91 6.7 15.7%29'/%3E%3Cellipse cx='4.4' cy='13.4' rx='1.80' ry='0.68' transform='rotate%28-135 4.4 13.4%29'/%3E%3Cellipse cx='6.1' cy='13.0' rx='1.80' ry='0.68' transform='rotate%28-75 6.1 13.0%29'/%3E%3Cellipse cx='4.3' cy='10.2' rx='1.80' ry='0.68' transform='rotate%28-122 4.3 10.2%29'/%3E%3Cellipse cx='6.1' cy='10.1' rx='1.80' ry='0.68' transform='rotate%28-62 6.1 10.1%29'/%3E%3Cellipse cx='4.8' cy='6.9' rx='1.80' ry='0.68' transform='rotate%28-112 4.8 6.9%29'/%3E%3Cellipse cx='6.5' cy='7.1' rx='1.80' ry='0.68' transform='rotate%28-52 6.5 7.1%29'/%3E%3Cellipse cx='7.1' cy='2.2' rx='1.80' ry='0.68' transform='rotate%28-72 7.1 2.2%29'/%3E%3Cellipse cx='17.1' cy='19.3' rx='1.80' ry='0.68' transform='rotate%28348 17.1 19.3%29'/%3E%3Cellipse cx='15.9' cy='18.0' rx='1.80' ry='0.68' transform='rotate%28288 15.9 18.0%29'/%3E%3Cellipse cx='18.8' cy='16.6' rx='1.80' ry='0.68' transform='rotate%28331 18.8 16.6%29'/%3E%3Cellipse cx='17.3' cy='15.7' rx='1.80' ry='0.68' transform='rotate%28271 17.3 15.7%29'/%3E%3Cellipse cx='19.6' cy='13.4' rx='1.80' ry='0.68' transform='rotate%28315 19.6 13.4%29'/%3E%3Cellipse cx='17.9' cy='13.0' rx='1.80' ry='0.68' transform='rotate%28255 17.9 13.0%29'/%3E%3Cellipse cx='19.7' cy='10.2' rx='1.80' ry='0.68' transform='rotate%28302 19.7 10.2%29'/%3E%3Cellipse cx='17.9' cy='10.1' rx='1.80' ry='0.68' transform='rotate%28242 17.9 10.1%29'/%3E%3Cellipse cx='19.2' cy='6.9' rx='1.80' ry='0.68' transform='rotate%28292 19.2 6.9%29'/%3E%3Cellipse cx='17.5' cy='7.1' rx='1.80' ry='0.68' transform='rotate%28232 17.5 7.1%29'/%3E%3Cellipse cx='16.9' cy='2.2' rx='1.80' ry='0.68' transform='rotate%28252 16.9 2.2%29'/%3E%3Cpath d='M12 21.8Q2.2 17.5 6.6 3.6M12 21.8Q21.8 17.5 17.4 3.6' fill='none' stroke='black' stroke-width='.9' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6.9' cy='19.3' rx='1.80' ry='0.68' transform='rotate%28-168 6.9 19.3%29'/%3E%3Cellipse cx='8.1' cy='18.0' rx='1.80' ry='0.68' transform='rotate%28-108 8.1 18.0%29'/%3E%3Cellipse cx='5.2' cy='16.6' rx='1.80' ry='0.68' transform='rotate%28-151 5.2 16.6%29'/%3E%3Cellipse cx='6.7' cy='15.7' rx='1.80' ry='0.68' transform='rotate%28-91 6.7 15.7%29'/%3E%3Cellipse cx='4.4' cy='13.4' rx='1.80' ry='0.68' transform='rotate%28-135 4.4 13.4%29'/%3E%3Cellipse cx='6.1' cy='13.0' rx='1.80' ry='0.68' transform='rotate%28-75 6.1 13.0%29'/%3E%3Cellipse cx='4.3' cy='10.2' rx='1.80' ry='0.68' transform='rotate%28-122 4.3 10.2%29'/%3E%3Cellipse cx='6.1' cy='10.1' rx='1.80' ry='0.68' transform='rotate%28-62 6.1 10.1%29'/%3E%3Cellipse cx='4.8' cy='6.9' rx='1.80' ry='0.68' transform='rotate%28-112 4.8 6.9%29'/%3E%3Cellipse cx='6.5' cy='7.1' rx='1.80' ry='0.68' transform='rotate%28-52 6.5 7.1%29'/%3E%3Cellipse cx='7.1' cy='2.2' rx='1.80' ry='0.68' transform='rotate%28-72 7.1 2.2%29'/%3E%3Cellipse cx='17.1' cy='19.3' rx='1.80' ry='0.68' transform='rotate%28348 17.1 19.3%29'/%3E%3Cellipse cx='15.9' cy='18.0' rx='1.80' ry='0.68' transform='rotate%28288 15.9 18.0%29'/%3E%3Cellipse cx='18.8' cy='16.6' rx='1.80' ry='0.68' transform='rotate%28331 18.8 16.6%29'/%3E%3Cellipse cx='17.3' cy='15.7' rx='1.80' ry='0.68' transform='rotate%28271 17.3 15.7%29'/%3E%3Cellipse cx='19.6' cy='13.4' rx='1.80' ry='0.68' transform='rotate%28315 19.6 13.4%29'/%3E%3Cellipse cx='17.9' cy='13.0' rx='1.80' ry='0.68' transform='rotate%28255 17.9 13.0%29'/%3E%3Cellipse cx='19.7' cy='10.2' rx='1.80' ry='0.68' transform='rotate%28302 19.7 10.2%29'/%3E%3Cellipse cx='17.9' cy='10.1' rx='1.80' ry='0.68' transform='rotate%28242 17.9 10.1%29'/%3E%3Cellipse cx='19.2' cy='6.9' rx='1.80' ry='0.68' transform='rotate%28292 19.2 6.9%29'/%3E%3Cellipse cx='17.5' cy='7.1' rx='1.80' ry='0.68' transform='rotate%28232 17.5 7.1%29'/%3E%3Cellipse cx='16.9' cy='2.2' rx='1.80' ry='0.68' transform='rotate%28252 16.9 2.2%29'/%3E%3Cpath d='M12 21.8Q2.2 17.5 6.6 3.6M12 21.8Q21.8 17.5 17.4 3.6' fill='none' stroke='black' stroke-width='.9' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.text { margin-top: 14px; max-width: 38em; }
.text p + p { margin-top: .8em; }
.text a { text-underline-offset: 2px; word-break: break-word; }

/* Knöpfe (Links öffnen in neuem Tab) */
.knoepfe { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 14px; letter-spacing: .13em; line-height: 1.1; text-decoration: none;
  border: 1.5px solid var(--schwarz); padding: 9px 14px 8px; background: rgba(255, 255, 255, .6);
  transition: background .15s, color .15s;
}
.knopf:hover { background: var(--schwarz); color: #fff; }
.knopf svg { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.quelle { font-size: 14px; color: #666; font-style: italic; }

/* Rubriken (Info, Termine, Kontakt) */
.rubrik {
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 40px; letter-spacing: .08em; line-height: 1;
  margin: 64px 0 0 calc(var(--etikett) + var(--abstand));
  padding-bottom: 14px; border-bottom: 2px solid var(--schwarz);
}
.inhalt > .rubrik:first-child, .pruefen + .rubrik, .unsichtbar + .rubrik { margin-top: 40px; }
.leer { margin: 28px 0 0 calc(var(--etikett) + var(--abstand)); font-style: italic; font-size: 19px; color: #444; }

/* Info: Einleitung */
.einleitung { padding: 40px 0 10px; max-width: 38em; margin-left: calc(var(--etikett) + var(--abstand)); }
.einleitung .gross { font-style: italic; font-size: 22px; line-height: 1.4; }
.einleitung .liste { font-size: 15.5px; line-height: 1.6; color: #333; margin: 10px 0 14px; }

/* Termine: vergangene Jahre zum Aufklappen */
.jahr { margin-left: calc(var(--etikett) + var(--abstand)); border-bottom: 1px solid var(--linie); }
.jahr > summary {
  list-style: none; cursor: pointer; padding: 16px 0; display: flex; align-items: baseline; gap: 14px;
}
.jahr > summary::-webkit-details-marker { display: none; }
.jahr > summary::before {
  content: "+"; font-family: var(--kopf); font-size: 22px; width: 14px; line-height: 1; transition: transform .2s;
}
.jahr[open] > summary::before { content: "–"; }
.jahreszahl { font-family: var(--kopf); font-weight: 600; font-size: 24px; letter-spacing: .06em; }
.anzahl { font-style: italic; color: #555; font-size: 15.5px; }
.jahr .eintrag { margin-left: calc(-1 * (var(--etikett) + var(--abstand))); }

/* Kontakt */
.kontakt { margin-left: calc(var(--etikett) + var(--abstand)); display: grid; gap: 30px; padding-top: 30px; max-width: 38em; }
.kontakt-titel {
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 18px; letter-spacing: .08em; margin-bottom: 6px;
}
.kontakt p + p { margin-top: .7em; }
.adresse { font-size: 19px; line-height: 1.45; }
.klein { font-size: 15px; color: #444; font-style: italic; }
.rechtstext { margin-left: calc(var(--etikett) + var(--abstand)); max-width: 38em; padding-top: 24px; font-size: 15px; line-height: 1.6; color: #222; }
.rechtstext .vorbemerkung { font-style: italic; font-size: 17.5px; margin-bottom: 1.2em; }
.rechtstext h4 {
  font-family: var(--kopf); font-weight: 600; text-transform: uppercase;
  font-size: 15px; letter-spacing: .08em; margin: 1.8em 0 .4em;
}
.rechtstext p { margin: 0 0 .8em; }

/* ---------- Player ---------- */
.player {
  margin-top: 18px; background: rgba(255, 255, 255, .62);
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas: "play stop welle zeit";
  align-items: center; gap: 12px; padding: 12px 14px;
}
.p-play, .p-stop { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--schwarz); }
.p-play { grid-area: play; background: var(--schwarz); color: #fff; }
.p-play:hover { background: #333; }
.p-stop { grid-area: stop; }
.p-stop:hover { background: rgba(0, 0, 0, .08); }
.p-play svg, .p-stop svg { width: 14px; height: 14px; fill: currentColor; }
.p-play .ic-pause, .player.spielt .p-play .ic-play { display: none; }
.player.spielt .p-play .ic-pause { display: block; }
.player.laedt .p-play { opacity: .6; }
.welle { grid-area: welle; width: 100%; height: 48px; cursor: pointer; touch-action: none; display: block; }
.welle:focus-visible { outline-offset: 4px; }
.zeit {
  grid-area: zeit; font-family: var(--kopf); font-size: 14px; letter-spacing: .05em;
  font-variant-numeric: tabular-nums; color: #333; white-space: nowrap;
}
.player noscript { grid-column: 1 / -1; }

/* ---------- Prüfhinweise (nur mit ?pruefen) ---------- */
.pruefen {
  margin: 24px 0 0 calc(var(--etikett) + var(--abstand)); padding: 16px 20px;
  background: #fff6cc; border-left: 5px solid #e0a800; font-size: 15px; line-height: 1.5;
}
.pruefen.ok { background: #e3f5e1; border-color: #3c9a35; }
.pruefen ul { margin: 10px 0 0; padding-left: 18px; }
.pruefen li + li { margin-top: 6px; }
.pruefen li span { font-family: var(--kopf); font-weight: 600; letter-spacing: .04em; }

/* ---------- Schmal (Handy) ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 130px; }
  body { font-size: 17px; }
  .kopf { padding: 0; top: 0; }
  .kopf::before { display: none; }
  .etikett span { white-space: normal; }
  .kopf-in { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 16px 10px; }
  .name { font-size: 24px; text-align: center; }
  .menu { justify-content: space-between; border-top: 1px solid var(--linie); padding-top: 8px; }
  .menu a { font-size: 13px; letter-spacing: .08em; padding: 7px 6px 6px; }
  .inhalt { padding: 8px 16px 80px; }
  .eintrag { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .etikett { text-align: left; padding-bottom: 10px; }
  .etikett:empty { display: none; }
  .etikett span { top: 0; }
  .titel { font-size: 21px; }
  .player { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "play stop zeit" "welle welle welle"; }
  .zeit { justify-self: end; }
  .rubrik, .leer, .einleitung, .jahr, .kontakt, .rechtstext, .pruefen { margin-left: 0; }
  .jahr .eintrag { margin-left: 0; }
  .rubrik { font-size: 30px; margin-top: 48px; }
  .einleitung { padding-top: 28px; }
  .einleitung .gross { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media print {
  body::before, .kopf, .player, .knoepfe { display: none; }
  .eintrag { break-inside: avoid; }
}
