/* =========================================================
   Vogtland Kultur GmbH – Übergangsseite
   Gestaltungsrichtung: Kultur-Leitsystem (Signaletik), helles Theme
   Geometrische Grotesk (lokal), vier Hausfarben als Vollpalette,
   Logos als Wegweiser, Umriss des Vogtlandkreises als Hero-Grafik.
   ========================================================= */

/* ---------------- Lokale Schriften (variabel, latein) ---------------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/bigshoulders-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Hausfarben als Vollpalette (OKLCH) */
  --theater: oklch(0.51 0.19 26);    /* Neuberinhaus  – Rot      */
  --museum:  oklch(0.50 0.10 128);   /* Freilichtmus. – Olivgrün */
  --topas:   oklch(0.50 0.12 245);   /* Topaswelt     – Blau     */
  --bib:     oklch(0.58 0.14 58);    /* Bibliothek    – Orange   */
  --brand:   var(--theater);         /* Markenfarbe VKG          */
  --brand-deep: oklch(0.42 0.17 26);

  /* Abgedunkelte Hausfarben für kleine Texte (Kontrast >= 4.5:1 auf Hell) */
  --theater-text: oklch(0.48 0.18 28);
  --museum-text:  oklch(0.44 0.10 128);
  --topas-text:   oklch(0.46 0.12 245);
  --bib-text:     oklch(0.50 0.14 58);

  /* Warme, getönte Neutralwerte (nie reines Schwarz/Weiß) */
  --ink:       oklch(0.25 0.014 40); /* Haupttext          */
  --ink-2:     oklch(0.44 0.012 45); /* Sekundärtext       */
  --ink-3:     oklch(0.58 0.012 55); /* Hilfstext          */
  --surface:   oklch(0.987 0.004 75);/* Seitengrund        */
  --surface-2: oklch(0.963 0.006 75);/* Panels, Fußbereich */
  --line:      oklch(0.86 0.008 70); /* Trennlinien        */
  --line-2:    oklch(0.92 0.006 70); /* feine Linien       */

  --wrap: 1180px;
  --display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

.skip-link {
  position: absolute;
  left: 1rem; top: -5rem;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* ---------------- Kopfbereich ---------------- */
.masthead {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem clamp(2rem, 6vw, 4rem);
  min-height: clamp(60px, 8vw, 80px);
  padding-block: .9rem;
}

/* Standortmarke Vogtland – links (Identbalken) */
.masthead__mark {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}
.masthead__mark-img {
  display: block;
  height: clamp(60px, 8vw, 88px);
  width: auto;
}
.masthead__mark-ph {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  height: clamp(60px, 8vw, 88px);
  padding: 0 .9rem;
  border: 1px dashed var(--line);
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.masthead__mark-ph small { font-size: .58rem; font-weight: 500; }

/* Gestütztes Eigenlogo (VKG) – rechts */
.masthead__own {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 1.6vw, 1rem);
  text-decoration: none;
  color: var(--ink);
}
.masthead__own-logo {
  display: block;
  height: clamp(46px, 6vw, 60px);
  width: auto;
}
.masthead__own-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}

/* ---------------- Wartungshinweis (Akzentband) ---------------- */
.notice {
  background: var(--brand);
  color: #fff;
}
.notice__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.3rem;
  align-items: baseline;
  padding-block: .8rem;
}
.notice__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}
.notice__text {
  margin: 0;
  font-size: .96rem;
  line-height: 1.5;
  color: oklch(0.97 0.015 40);
  max-width: 80ch;
}

/* ---------------- Aufmacher (Hero mit Kreis-Umriss) ---------------- */
.board {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}
.board__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.6rem, 7vw, 5rem) clamp(1.6rem, 4vw, 3rem);
}
.lede__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-3);
}
.lede__eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--brand);
}
.lede__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  color: var(--ink);
}
.lede__title .accent { color: var(--brand); }
.lede__body {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 1.1rem;
}
.lede__body--sec {
  font-size: 1rem;
  color: var(--ink-3);
  margin-bottom: 0;
}

/* Vogtlandkreis-Umriss */
.board__map {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}
.map__stage {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.map {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 34px oklch(0.51 0.19 26 / .10));
}
.map__shape {
  fill: color-mix(in oklch, var(--brand) 6%, var(--surface));
  stroke: color-mix(in oklch, var(--brand) 42%, var(--line));
  stroke-width: 4;
  stroke-linejoin: round;
}
/* Vogtland-Kultur-Emblem im leeren westlichen Teil der Karte */
.map__brand {
  position: absolute;
  left: 41.9%;
  top: 45.6%;
  transform: translate(-50%, -50%);
  width: 37%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
.map__caption {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

/* Klickbare Standort-Marker: Punkt = exakte Ortslage, Logo darüber, Ortsname darunter */
.pin {
  --acc: var(--brand);
  position: absolute;
  width: 0;
  height: 0;
  text-decoration: none;
  z-index: 2;
}
.pin[data-accent="theater"] { --acc: var(--theater-text); }
.pin[data-accent="museum"]  { --acc: var(--museum-text); }
.pin[data-accent="topas"]   { --acc: var(--topas-text); }
.pin[data-accent="bib"]     { --acc: var(--bib-text); }
/* exakte Lage des Ortes */
.pin__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--acc);
  border: 2.5px solid var(--surface);
  box-shadow: 0 2px 6px -1px oklch(0.25 0.02 40 / .5);
  transition: transform .25s ease;
}
/* Logo schwebt über dem Punkt */
.pin img {
  position: absolute;
  left: 0;
  bottom: 8px;
  transform: translateX(-50%);
  max-width: none;
  width: clamp(38px, 7vw, 52px);
  height: clamp(38px, 7vw, 52px);
  padding: 6px;
  background: var(--surface);
  border: 2px solid var(--acc);
  border-radius: 50%;
  box-shadow: 0 6px 16px -6px oklch(0.25 0.02 40 / .45);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
/* Ortsname unter dem Punkt, dauerhaft sichtbar */
.pin__label {
  position: absolute;
  left: 0;
  top: 9px;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 700;
  font-size: .8rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--acc);
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  padding: .18rem .42rem;
  border-radius: 4px;
  white-space: nowrap;
}
.pin:hover, .pin:focus-visible { z-index: 3; outline: none; }
.pin:hover img, .pin:focus-visible img {
  transform: translateX(-50%) scale(1.12);
  box-shadow: 0 10px 22px -6px oklch(0.25 0.02 40 / .55);
}
.pin:hover .pin__dot, .pin:focus-visible .pin__dot {
  transform: translate(-50%, -50%) scale(1.25);
}

/* Leitsystem: Einrichtungsauswahl mit prominenten Logos */
.index {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.index__item {
  --acc: var(--brand);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1rem, 2.4vw, 1.5rem);
  padding-inline: clamp(.5rem, 1.5vw, 1rem);
  margin-inline: clamp(-.5rem, -1.5vw, -1rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background-color .3s ease;
}
.index__item[data-accent="theater"] { --acc: var(--theater-text); }
.index__item[data-accent="museum"]  { --acc: var(--museum-text); }
.index__item[data-accent="topas"]   { --acc: var(--topas-text); }
.index__item[data-accent="bib"]     { --acc: var(--bib-text); }
.index__logo {
  width: clamp(52px, 9vw, 76px);
  height: clamp(52px, 9vw, 76px);
  object-fit: contain;
}
.index__text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
}
.index__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--ink);
}
.index__meta {
  font-size: .86rem;
  color: var(--ink-3);
}
.index__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  align-self: start;
}
.index__num::before { content: "Nr. "; }
.index__go {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--acc);
  transform: translateX(-.4rem);
  opacity: 0;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
.index__item:hover,
.index__item:focus-visible,
.index__item.is-active {
  background: color-mix(in oklch, var(--acc) 9%, transparent);
  outline: none;
}
.index__item:hover .index__name,
.index__item:focus-visible .index__name,
.index__item.is-active .index__name { color: var(--acc); }
.index__item:hover .index__go,
.index__item:focus-visible .index__go,
.index__item.is-active .index__go {
  opacity: 1;
  transform: none;
}

/* ---------------- Programm / Einrichtungen ---------------- */
.programm {
  padding-block: clamp(1.5rem, 4vw, 2.6rem) clamp(3rem, 7vw, 5rem);
}
.entry {
  --acc: var(--brand);
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.4rem, 5vw, 3.8rem);
  border-top: 4px solid var(--acc);
  scroll-margin-top: 1.5rem;
}
.entry[data-accent="theater"] { --acc: var(--theater); }
.entry[data-accent="museum"]  { --acc: var(--museum); }
.entry[data-accent="topas"]   { --acc: var(--topas); }
.entry[data-accent="bib"]     { --acc: var(--bib); }

.entry__head { position: relative; }
.entry__num { display: none; }
.entry__logo {
  width: clamp(104px, 15vw, 152px);
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.1rem;
}
.entry__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.entry__sub {
  margin: 0;
  font-size: .96rem;
  color: var(--ink-2);
  max-width: 30ch;
}

.entry__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 3.2rem);
  align-content: start;
}
.block--wide { grid-column: 1 / -1; }

.block__label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--acc);
  margin: 0 0 .7rem;
}
.entry[data-accent="theater"] .block__label { color: var(--theater-text); }
.entry[data-accent="museum"]  .block__label { color: var(--museum-text); }
.entry[data-accent="topas"]   .block__label { color: var(--topas-text); }
.entry[data-accent="bib"]     .block__label { color: var(--bib-text); }
.block__label--mt { margin-top: 1.3rem; }
.block__addr {
  margin: 0 0 .25rem;
  color: var(--ink);
}
.block__line {
  margin: 0 0 .2rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.block__hint {
  margin: .6rem 0 0;
  font-size: .84rem;
  color: var(--ink-3);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 .45rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--line);
}
.hours-row span:first-child { color: var(--ink-2); }
.hours-row span:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Hervorgehobene Vorverkaufsstelle */
.vvk {
  --acc: var(--brand);
  margin-top: 1.1rem;
  padding: .85rem 1rem;
  border: 1.5px solid color-mix(in oklch, var(--acc) 40%, var(--line));
  border-left: 4px solid var(--acc);
  border-radius: 8px;
  background: color-mix(in oklch, var(--acc) 7%, var(--surface));
}
.entry[data-accent="theater"] .vvk { --acc: var(--theater-text); }
.entry[data-accent="museum"]  .vvk { --acc: var(--museum-text); }
.entry[data-accent="topas"]   .vvk { --acc: var(--topas-text); }
.entry[data-accent="bib"]     .vvk { --acc: var(--bib-text); }
.vvk__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--acc);
  margin: 0 0 .3rem;
}
.vvk__name {
  margin: 0 0 .1rem;
  font-weight: 700;
  color: var(--ink);
}
.vvk__addr {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.vvk__hours-label {
  margin: .9rem 0 .6rem;
  padding-top: .8rem;
  border-top: 1px solid color-mix(in oklch, var(--acc) 25%, var(--line));
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--acc);
}
.vvk .hours-row {
  border-bottom-color: color-mix(in oklch, var(--acc) 18%, var(--line));
}
.vvk__hours-last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.linkrow {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
}
.link {
  --acc: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: .5rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.entry[data-accent="theater"] .link { --acc: var(--theater-text); }
.entry[data-accent="museum"]  .link { --acc: var(--museum-text); }
.entry[data-accent="topas"]   .link { --acc: var(--topas-text); }
.entry[data-accent="bib"]     .link { --acc: var(--bib-text); }
.link:hover {
  color: var(--acc);
  border-color: var(--acc);
  background: color-mix(in oklch, var(--acc) 8%, transparent);
}
.link--ext::after {
  content: "\2197";
  font-size: .85em;
  color: var(--ink-3);
}
.link:hover.link--ext::after { color: var(--acc); }
.link--lead {
  color: #fff;
  background: var(--acc);
  border-color: var(--acc);
}
.link--lead::after { color: oklch(1 0 0 / .7); }
.link--lead:hover {
  color: #fff;
  background: var(--acc);
  border-color: var(--acc);
  filter: brightness(1.08);
}
.link--lead:hover.link--ext::after { color: oklch(1 0 0 / .85); }

/* ---------------- Förderer ---------------- */
.funding {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.funding__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.funding__table {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.funding__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  text-align: center;
  min-height: 132px;
  padding: 1.4rem 1rem;
  background: var(--surface);
}
.funding__logo {
  height: clamp(40px, 6vw, 56px);
  width: auto;
  object-fit: contain;
}
.funding__name {
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.3;
  color: var(--ink-2);
}

/* ---------------- Kolophon (heller Fußbereich) ---------------- */
.colophon {
  background: var(--surface-2);
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.colophon__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: 1.5rem 2.5rem;
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
}
.colophon__brand { display: flex; flex-direction: column; gap: .35rem; }
.colophon__name {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
}
.colophon__addr { font-size: .92rem; color: var(--ink-3); }
.colophon__contact {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-variant-numeric: tabular-nums;
}
.colophon__contact a { color: var(--brand); text-decoration: none; font-weight: 600; }
.colophon__contact a:hover { color: var(--brand-deep); }
.colophon__note {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 42ch;
}
.colophon__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-block: 1.2rem;
  font-size: .82rem;
  color: var(--ink-3);
}
.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.colophon__links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
}
.colophon__links a:hover { color: var(--brand); }

/* ---------------- Nach oben ---------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  padding: .6rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px -16px oklch(0.25 0.02 40 / .35);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22,1,.36,1), border-color .2s ease;
}
.to-top::before { content: "\2191"; color: var(--brand); font-weight: 700; }
.to-top:hover { border-color: var(--brand); color: var(--brand); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------- Bewegung: gestaffeltes Einblenden ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------------- Responsiv ---------------- */
@media (max-width: 860px) {
  .board__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .board__map { order: -1; align-items: center; }
  .map__stage { max-width: 300px; }
  .entry { grid-template-columns: 1fr; gap: 1.4rem; }
  .entry__logo { width: clamp(84px, 20vw, 112px); }
  .colophon__inner { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 680px) {
  /* Header-Logos nebeneinander (Marke links, Eigenlogo rechts), verkleinert */
  .masthead__inner { flex-wrap: nowrap; gap: .6rem 1rem; min-height: 0; padding-block: .7rem; }
  .masthead__mark-img,
  .masthead__mark-ph { height: clamp(42px, 12vw, 60px); }
  .masthead__own { gap: .5rem; }
  .masthead__own-logo { height: clamp(36px, 10vw, 50px); }
  .masthead__own-text { font-size: clamp(.78rem, 3.1vw, 1.02rem); }
}
@media (max-width: 860px) {
  .funding__table { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .entry__body { grid-template-columns: 1fr; }
  .index__item { grid-template-columns: auto 1fr auto; }
  .index__num { display: none; }
  .index__go { display: none; }
  .funding__table { grid-template-columns: 1fr; }
}

/* ---------------- Rechtsseiten (Impressum, Datenschutz) ---------------- */
.legal {
  padding-block: clamp(2.4rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.6rem;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  color: var(--ink-2);
}
.legal__back::before { content: "\2190"; color: var(--brand); }
.legal__back:hover { color: var(--brand); }
.legal h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0 0 1.8rem;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 2.4rem 0 .8rem;
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.6rem 0 .5rem;
}
.legal p, .legal li {
  max-width: 72ch;
  color: var(--ink-2);
}
.legal a { color: var(--brand); }
.legal .link { color: var(--ink); }
.legal .link--lead { color: #fff; }
.legal__prose > :first-child { margin-top: 0; }
.legal address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal__todo {
  display: block;
  background: color-mix(in oklch, var(--bib) 14%, var(--surface));
  border: 1px solid color-mix(in oklch, var(--bib) 40%, var(--line));
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin: 1rem 0;
  font-size: .92rem;
  color: var(--bib-text);
}

/* ---------------- Stellenangebote ---------------- */
.jobs {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.jobs__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}
.jobs__item:last-child { border-bottom: 1px solid var(--line); }
.jobs__info { min-width: 0; }
.jobs__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0 0 .3rem;
}
.jobs__meta { margin: 0; font-size: .86rem; color: var(--ink-3); }
.jobs__empty {
  margin: 2rem 0 0;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
