/* musik21 – Entwurf 3 „Plakatwand“ */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-latin-normal.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-latin-ext-normal.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-latin-italic.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* aus dem Logo: dunkler Grund und die drei Balken */
  --nacht: #24211D;
  --nacht-2: #2F2B26;
  --nacht-linie: #4A443D;
  --hell: #F2EFEA;
  --hell-2: #B9B2A8;
  --cyan: #1FB5DC;
  --gelb: #F5C400;
  --blau: #4C6BF0;
  --papier: #FFFFFF;
  --tinte: #1A1A1A;
  --grau: #5F6470;
  --linie: #DDE0E4;
  --akzent: #0A7C9C;
  --breite: 1280px;
  --rand: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 1.0625rem/1.6 "Instrument Sans", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.12; text-wrap: balance; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gelb); color: var(--tinte); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.spalte { max-width: 760px; margin: 0 auto; padding: 0 var(--rand); }
.spalte-breit { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

/* Programmreihen-Farben (die drei Logobalken) */
.reihe-nc { --reihe: var(--cyan); }
.reihe-sr { --reihe: var(--gelb); }
.reihe-wx { --reihe: var(--blau); }

/* ---------------------------------------------------------------- Kopf */

.kopf { background: var(--nacht); color: var(--hell); border-bottom: 1px solid var(--nacht-linie); }
.kopf-in {
  max-width: var(--breite); margin: 0 auto; padding: 18px var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
}
.marke { display: block; line-height: 0; }
.marke img { width: 225px; height: auto; display: block; }
.claim { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.menu a { text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; color: var(--hell); }
.menu a:hover { border-bottom-color: var(--hell-2); }
.menu a[aria-current="page"] { border-bottom-color: var(--cyan); }
.menu-knopf { display: none; }
@media (max-width: 960px) {
  .marke img { width: 170px; }
  .menu-knopf {
    display: block; font: inherit; font-weight: 500; background: none; color: var(--hell);
    border: 1px solid var(--hell-2); border-radius: 3px; padding: 5px 14px; cursor: pointer;
  }
  .menu { flex-basis: 100%; display: none; }
  .menu.offen { display: block; }
  .menu ul { flex-direction: column; gap: 0; border-top: 1px solid var(--nacht-linie); }
  .menu li { border-bottom: 1px solid var(--nacht-linie); }
  .menu a { display: block; padding: 12px 0; font-size: 1.1rem; border: 0; }
}

/* ---------------------------------------------------------------- Saison */

.saison { background: var(--nacht); color: var(--hell); padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.saison-kopf {
  max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px;
}
.saison-kopf h1 { margin: 0; line-height: .8; }
.saison-jahr {
  display: block; font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; font-stretch: 80%;
  letter-spacing: -.02em; color: var(--hell); font-variant-numeric: lining-nums;
}
.saison-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.saison-kopf p { color: var(--hell-2); margin: 0 0 .25em; max-width: 30ch; }

/* Plakatreihe: alle gleich hoch; passt es nicht, wird seitlich gewischt */
.plakate {
  --gap: clamp(20px, 2.6vw, 36px);
  /* so hoch wie möglich, aber bis zu 4 Plakate (Seitenverhältnis ~0,72) passen nebeneinander */
  --h: max(260px, min(clamp(340px, 58vh, 600px),
        calc((min(100vw, var(--breite)) - 2 * var(--rand) - (min(var(--n), 4) - 1) * var(--gap) - min(var(--n), 4) * 40px) / (min(var(--n), 4) * 0.72))));
  list-style: none; margin: clamp(24px, 4vw, 44px) auto 0; padding: 0 var(--rand) 8px;
  max-width: var(--breite);
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand);
  scrollbar-color: var(--nacht-linie) transparent;
}
.plakat { flex: 0 0 auto; width: calc(var(--h) * var(--r)); scroll-snap-align: start; }
.plakat a { display: block; text-decoration: none; color: inherit; }
.plakat-bild { display: block; height: var(--h); position: relative; }
.plakat-bild .flyer { display: block; width: 100%; height: 100%; object-fit: cover; }
.plakat-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 4px; background: var(--reihe, var(--hell-2)); }
.plakat-ersatz {
  display: flex; align-items: flex-end; height: 100%; padding: 22px; background: var(--nacht-2);
  font-size: 1.6rem; font-weight: 600; line-height: 1.15; border-top: 6px solid var(--reihe);
}
.plakat-text { display: block; padding-top: 26px; max-width: 34ch; }
.plakat-status { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--hell-2); margin-bottom: 8px; }
.plakat-naechstes .plakat-status { background: var(--cyan); color: var(--nacht); padding: 2px 10px; border-radius: 2px; }
.plakat-tag { display: block; font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 700; font-stretch: 75%; line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plakat-zeit { display: block; color: var(--hell-2); margin: 4px 0 10px; }
.plakat-titel { display: block; font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.plakat-ort { display: block; color: var(--hell-2); font-size: .95rem; margin-top: 6px; }
.plakat a:hover .plakat-titel { text-decoration: underline; text-decoration-color: var(--reihe, var(--cyan)); text-decoration-thickness: 2px; }
.plakat-vorbei .plakat-bild .flyer { filter: saturate(.85); }

@keyframes aufziehen { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.plakat { animation: aufziehen .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 110ms + 80ms); }
@media (prefers-reduced-motion: reduce) { .plakat { animation: none; } }

@media (max-width: 760px) {
  .plakate { --h: auto; }
  .plakat { width: 78vw; max-width: 340px; }
  .plakat-bild { height: auto; aspect-ratio: var(--r); }
}

/* ---------------------------------------------------------------- Plakatwand */

.wand { background: var(--nacht-2); color: var(--hell); padding: clamp(40px, 6vw, 80px) var(--rand) clamp(48px, 6vw, 88px); }
.wand > * { max-width: var(--breite); margin-left: auto; margin-right: auto; }
.wand-kopf h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; font-stretch: 85%; margin-bottom: .3em; }
.wand-kopf p { color: var(--hell-2); max-width: 70ch; margin-bottom: clamp(24px, 3vw, 40px); }
.legende { white-space: nowrap; margin-left: 12px; }
.legende::before { content: ""; display: inline-block; width: 18px; height: 4px; background: var(--reihe); vertical-align: middle; margin-right: 6px; }
.wand-jahr { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0 20px; padding: 18px 0; border-top: 1px solid var(--nacht-linie); }
.wand-jahr h3 { font-size: 1.5rem; font-weight: 700; font-stretch: 80%; font-variant-numeric: tabular-nums; margin: 0; padding-top: 2px; }
.wand-jahr h3 a { text-decoration: none; }
.wand-jahr h3 a:hover { color: var(--cyan); }
.wand-jahr ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 12px; align-items: flex-end; }
.wand-jahr li a { display: block; position: relative; padding-bottom: 7px; }
.wand-jahr li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--reihe); }
.mini { display: block; height: 150px; width: auto; transition: transform .15s ease; }
.wand-jahr li a:hover .mini, .wand-jahr li a:focus-visible .mini { transform: translateY(-4px); }
.mini-ersatz {
  display: flex; align-items: flex-end; width: 108px; height: 150px; padding: 10px; background: var(--nacht);
  font-size: .82rem; font-weight: 600; line-height: 1.2; overflow: hidden; color: var(--hell);
}
.wand-mehr { margin-top: 28px; }
.wand-mehr a { font-weight: 600; color: var(--hell); }
@media (prefers-reduced-motion: reduce) { .mini { transition: none; } }
@media (max-width: 640px) {
  .wand-jahr { grid-template-columns: 1fr; }
  .wand-jahr h3 { margin-bottom: 10px; }
  .mini, .mini-ersatz { height: 112px; }
  .mini-ersatz { width: 80px; font-size: .72rem; }
}

/* ---------------------------------------------------------------- Listen (Archiv, Suche) */

.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinte); }
.liste li { border-bottom: 1px solid var(--linie); }
.liste a { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 16px 0; text-decoration: none; }
.liste a:hover .lt-titel { color: var(--akzent); text-decoration: underline; }
.kd { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--grau); }
.lt-titel { display: block; font-weight: 600; font-size: 1.06rem; line-height: 1.35; }
.lt-ort { display: block; color: var(--grau); font-size: .95rem; margin-top: 3px; }
.reihe { font-size: .9rem; color: var(--grau); white-space: nowrap; }
.reihe::before { content: ""; display: inline-block; width: 14px; height: 3px; background: var(--reihe); vertical-align: middle; margin-right: 7px; }
@media (max-width: 560px) { .liste a { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.archiv { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 72px; max-width: 980px; }
.seitenkopf { margin-bottom: 32px; }
.seitenkopf h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; font-stretch: 85%; letter-spacing: -.015em; }
.seitenkopf p { color: var(--grau); }
.jahre { display: flex; flex-wrap: wrap; gap: 4px 16px; font-variant-numeric: tabular-nums; margin-top: 18px; }
.jahre a { color: var(--akzent); text-decoration: none; }
.jahre a:hover { text-decoration: underline; }
.jahrgang { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0 28px; margin-top: 44px; scroll-margin-top: 20px; }
.jahr { font-size: 2rem; font-weight: 700; font-stretch: 80%; font-variant-numeric: tabular-nums; line-height: 1; margin: 0; position: sticky; top: 20px; align-self: start; padding-top: 14px; }
@media (max-width: 700px) {
  .jahrgang { grid-template-columns: 1fr; }
  .jahr { position: static; margin-bottom: 10px; padding-top: 0; }
}
.leer { color: var(--grau); }

/* ---------------------------------------------------------------- Beitrag */

.beitrag { padding: 0 0 72px; }
.beitrag-kopf { background: var(--nacht); color: var(--hell); max-width: none; padding: clamp(36px, 5vw, 64px) var(--rand) clamp(28px, 4vw, 48px); }
.beitrag-kopf > * { max-width: calc(760px - 2 * var(--rand)); margin-left: auto; margin-right: auto; }
.beitrag-kopf .hinweis { color: var(--hell-2); font-weight: 600; margin-bottom: .6em; }
.beitrag-kopf .hinweis .reihe { color: var(--hell); font-size: inherit; }
.beitrag-kopf h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; font-stretch: 88%; letter-spacing: -.015em; }
.beitrag-kopf .datum { font-weight: 600; font-size: 1.15rem; margin: 0; }
.beitrag-kopf .datum .zeit { font-weight: 400; color: var(--hell-2); }
.titelbild { max-width: 760px; margin: 0 auto; padding: 36px var(--rand) 0; }
.titelbild .flyer { max-width: min(520px, 100%); display: block; }
.beitrag .inhalt { margin-top: 36px; }

.inhalt { font-size: 1.08rem; }
.inhalt > *:first-child { margin-top: 0; }
.inhalt h2 { font-size: 1.4rem; margin-top: 1.6em; }
.inhalt h3 { font-size: 1.2rem; margin-top: 1.4em; }
.inhalt h4 { font-size: 1.06rem; margin-top: 1.2em; }
.inhalt figure { margin: 1.4em 0; }
.inhalt figure img { display: block; }
.inhalt figcaption { color: var(--grau); font-size: .9rem; margin-top: .5em; }
.inhalt a { color: var(--akzent); }
.inhalt .alignleft, .inhalt img.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.inhalt .alignright, .inhalt img.alignright { float: right; margin: .3em 0 1em 1.4em; }
.inhalt .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.inhalt::after { content: ""; display: table; clear: both; }
.inhalt table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .98rem; }
.inhalt td, .inhalt th { border-bottom: 1px solid var(--linie); padding: 6px 8px 6px 0; vertical-align: top; text-align: left; }
.inhalt ul { padding-left: 1.2em; }
@media (max-width: 560px) { .inhalt .alignleft, .inhalt .alignright { float: none; margin: 1em 0; } }

.blaettern { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; border-top: 1px solid var(--tinte); padding-top: 18px; }
.blaettern a { text-decoration: none; font-weight: 600; line-height: 1.35; }
.blaettern a:hover { color: var(--akzent); }
.blaettern a span { display: block; color: var(--grau); font-weight: 400; font-size: .9rem; margin-bottom: 3px; }
.blaettern .weiter { text-align: right; grid-column: 2; }

.seite { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 72px; }

/* ---------------------------------------------------------------- Fuß */

.fuss { background: var(--nacht); color: var(--hell); }
.fuss-in {
  max-width: var(--breite); margin: 0 auto; padding: 44px var(--rand) 56px;
  display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 28px 40px; align-items: start; font-size: .95rem;
}
.fuss-marke { font-weight: 600; margin: 0; }
.fuss-marke span { font-weight: 400; color: var(--hell-2); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--cyan); }
.suche label { display: block; font-weight: 600; margin-bottom: 8px; }
.suche span { display: flex; gap: 8px; }
.suche input { flex: 1; min-width: 0; font: inherit; padding: 9px 12px; border: 1px solid var(--nacht-linie); border-radius: 3px; background: var(--nacht-2); color: var(--hell); }
.suche input::placeholder { color: #8C857B; }
.suche button { font: inherit; font-weight: 600; padding: 9px 16px; border: 0; border-radius: 3px; background: var(--cyan); color: var(--nacht); cursor: pointer; }
@media (max-width: 800px) { .fuss-in { grid-template-columns: 1fr; } }

/* ================================================================ fetziger / moderner */

/* Saison: jedes Konzert auf einer vollflächigen Farbtafel in den Logofarben,
   der Flyer ragt oben über die Tafel hinaus */
.plakat { --tafel: var(--cyan); --auf-tafel: var(--nacht); width: calc(var(--h) * var(--r) + 40px); }
.plakat:nth-child(3n+2) { --tafel: var(--gelb); }
.plakat:nth-child(3n+3) { --tafel: var(--blau); --auf-tafel: #FFFFFF; }
.plakat a { position: relative; padding: 0 20px 26px; color: var(--auf-tafel); }
.plakat a::before { content: ""; position: absolute; inset: 72px 0 0 0; background: var(--tafel); }
.plakat a > * { position: relative; }
.plakat-bild::after { display: none; }
.plakat-bild .flyer { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.plakat-text { padding-top: 22px; max-width: none; }
.plakat-status {
  background: var(--auf-tafel); color: var(--tafel); padding: 3px 10px; border-radius: 0;
  font-size: .8rem; font-weight: 700; margin: 0 10px 12px 0;
}
.plakat-naechstes .plakat-status { background: #FFFFFF; color: var(--nacht); }
.plakat-reihe { display: inline-block; white-space: nowrap; font-size: .9rem; font-weight: 600; opacity: .8; margin-bottom: 12px; }
.plakat-tag {
  font-size: clamp(3.4rem, 6.4vw, 5.8rem); font-weight: 700; font-stretch: 75%;
  letter-spacing: -.035em; line-height: .86; margin-top: 2px;
}
.plakat-zeit { color: inherit; opacity: .78; font-weight: 500; margin: 8px 0 14px; }
.plakat-titel { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.plakat-ort { color: inherit; opacity: .78; }
.plakat a:hover .plakat-titel { text-decoration-color: currentColor; }
.plakat-vorbei .plakat-bild .flyer { filter: none; }
.plakate { padding-top: 6px; }

/* kräftigere Überschriften */
.saison-jahr { font-stretch: 75%; letter-spacing: -.03em; }
.wand-kopf h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-stretch: 75%; letter-spacing: -.035em; line-height: .9; margin-bottom: .35em; }
.wand-jahr h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 75%; color: var(--gelb); letter-spacing: -.02em; line-height: .9; }
.wand-jahr { grid-template-columns: 7rem minmax(0, 1fr); }
.menu a { font-weight: 600; }
.seitenkopf h1, .beitrag-kopf h1 { font-stretch: 75%; letter-spacing: -.03em; line-height: .98; }
.seitenkopf h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.beitrag-kopf h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.jahr { font-size: clamp(2.2rem, 4vw, 3rem); font-stretch: 75%; color: var(--akzent); }

@media (max-width: 760px) {
  .plakat { width: calc(78vw + 40px); max-width: 380px; }
  .plakat a::before { inset: 56px 0 0 0; }
}

/* Einzelbeitrag: großes Datum wie auf den Farbtafeln der Startseite */
.kopf-datum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 0 auto 18px; }
.kopf-datum time {
  font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 700; font-stretch: 75%; letter-spacing: -.035em; line-height: .86;
  color: var(--cyan); font-variant-numeric: tabular-nums;
}
.kopf-datum span { color: var(--hell-2); font-weight: 500; font-size: 1.1rem; }

/* Archiv als Plakatgalerie */
.archiv-galerie { max-width: var(--breite); }
.ansicht { display: inline-flex; border: 1px solid var(--tinte); margin-top: 6px; }
.ansicht a { padding: 6px 16px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.ansicht a[aria-current="true"] { background: var(--tinte); color: var(--papier); }
.ansicht a:not([aria-current]):hover { background: var(--linie); }
.archiv-galerie .jahrgang { grid-template-columns: 8rem minmax(0, 1fr); border-top: 1px solid var(--tinte); padding-top: 22px; margin-top: 36px; }
.archiv-galerie .jahr { font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--tinte); padding-top: 0; }
.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 22px; }
.karte a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.karte-bild { display: block; aspect-ratio: 5 / 7; overflow: hidden; background: var(--flaeche, #F2F3F4); position: relative; }
.karte-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--reihe); }
.karte-bild .flyer { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .2s ease; }
.karte a:hover .karte-bild .flyer, .karte a:focus-visible .karte-bild .flyer { transform: scale(1.03); }
.karte-ersatz { display: flex; align-items: flex-end; background: var(--nacht); color: var(--hell); padding: 14px; }
.karte-ersatz span { font-weight: 700; font-stretch: 85%; font-size: 1.15rem; line-height: 1.15; }
.karte-datum { margin-top: 12px; font-size: 1.6rem; font-weight: 700; font-stretch: 75%; letter-spacing: -.02em; line-height: 1; min-height: 1em; }
.karte-titel { margin-top: 6px; font-weight: 600; line-height: 1.3; }
.karte-ort { margin-top: 4px; color: var(--grau); font-size: .9rem; line-height: 1.35; }
.karte a:hover .karte-titel { color: var(--akzent); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .karte-bild .flyer { transition: none; } }
@media (max-width: 700px) {
  .archiv-galerie .jahrgang { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
}

/* Kopf bleibt beim Scrollen stehen (alle neuen Designs) */
.kopf { position: sticky; top: 0; z-index: 50; }
.kopf-in { padding-top: 14px; padding-bottom: 14px; }
html { scroll-padding-top: 110px; } /* Sprungmarken (#j2013 …) nicht unter dem Kopf */
.jahrgang, .wand-jahr { scroll-margin-top: 110px; }
@media (max-width: 960px) {
  .kopf-in { padding-top: 10px; padding-bottom: 10px; }
  html { scroll-padding-top: 80px; }
  /* offenes Handymenü scrollbar halten, falls es höher als der Bildschirm ist */
  .menu.offen { max-height: calc(100vh - 80px); overflow-y: auto; }
}
.jahr, .archiv-galerie .jahr { top: 110px; }
