/* Feierabendschule Haselbruch — Beispiel-Website, Stil aus MXL-025 (Mika UX Library) */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fefefe;
  --ink: #010101;
  --fog: #d6d3d5;
  --ash: #b3b1b1;
  --graphite: #373331;
  --stone: #8d8c8a;

  --serif: "Gloock", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.86vw, 70px);
  --section: clamp(88px, 10vw, 150px);
  --text: 1.125rem;
  --headline: clamp(2.125rem, 3.75vw, 3.375rem);
  --band: clamp(2.5rem, 4.2vw, 3.75rem);
  --radius-card: 14px;
  --radius-ad: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-kerning: normal;
  overflow-x: clip;
}

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-photo :focus-visible, .site-foot :focus-visible { outline-color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; }

.serif { font-family: var(--serif); letter-spacing: -0.01em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: 8px; z-index: 50;
  padding: 12px 20px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 30em; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Pillen ---------- */

.pill {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 30em;
  padding: 0 0.32em 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.pill--star::before {
  content: "";
  display: inline-block;
  width: 0.62em; height: 0.62em;
  margin-right: 0.18em;
  vertical-align: 0.06em;
  background: currentColor;
  -webkit-mask: url("../img/star.svg") center / contain no-repeat;
  mask: url("../img/star.svg") center / contain no-repeat;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--ink); border-radius: 30em;
  background: transparent; color: var(--ink);
  font-size: var(--text); line-height: 1; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--round { width: 48px; padding: 0; }
.btn[disabled] { opacity: 0.35; cursor: default; background: transparent; color: var(--ink); }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

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

.site-head {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--ink);
}
.site-head.on-photo {
  position: absolute; inset: 0 0 auto 0;
  color: var(--paper); border-bottom-color: rgb(254 254 254 / 0.5);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.3em;
  min-height: 44px; align-items: center;
  text-decoration: none; font-size: var(--text); line-height: 1;
}
.brand .serif { font-size: 1.15em; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 30em;
  text-decoration: none; line-height: 1;
  transition: border-color 0.2s var(--ease-out);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { border-color: currentColor; }
.nav-list .nav-zettel { border-color: currentColor; }
.zettel-count {
  display: inline-grid; place-items: center;
  min-width: 1.5em; height: 1.5em; padding: 0 0.3em;
  border-radius: 30em; background: currentColor;
  font-size: 0.8em; font-variant-numeric: tabular-nums;
}
.zettel-count span { color: var(--paper); }
.on-photo .zettel-count span { color: var(--ink); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 18px;
    border: 1px solid currentColor; border-radius: 30em;
    background: transparent; cursor: pointer;
  }
  .js .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    padding: 12px var(--gutter) 24px;
    background: var(--paper); color: var(--ink);
    border-bottom: 1px solid var(--ink);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list a { justify-content: space-between; padding: 0; min-height: 56px; border: 0; border-bottom: 1px solid var(--fog); border-radius: 0; font-size: 1.5rem; }
  .js .nav-list a[aria-current="page"] { font-family: var(--serif); }
  .js .on-photo .zettel-count span { color: var(--paper); }
  .no-js .site-head { flex-wrap: wrap; }
  .no-js .nav-list { flex-wrap: wrap; }
}

/* ---------- Titelbild ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  min-height: min(100vh, 980px);
  min-height: min(100svh, 980px);
  display: grid;
  align-content: end;
  color: var(--paper);
  background: #1d2340;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
}
.hero-inner {
  position: relative;
  padding: 0 var(--gutter) clamp(16px, 2.2vw, 30px);
  container-type: inline-size;
}
.wordmark {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(100cqw / 7.42);
  line-height: 0.8;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-left: -0.04em;
}

/* Aushang im Titelbild */
.hero-slip {
  position: absolute; z-index: 2;
  right: var(--gutter); top: clamp(120px, 14vw, 190px);
  width: min(340px, 30vw);
  transform: rotate(2.5deg);
}

/* ---------- Gemischte Zeilen ---------- */

.mix { font-size: var(--headline); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.mix em { font-family: var(--serif); font-style: normal; letter-spacing: -0.02em; }
.mix .pill { padding: 0 0.22em 0.03em; }

.intro {
  padding: clamp(40px, 5vw, 72px) var(--gutter) var(--section);
  display: grid; gap: 40px;
}
.intro .mix { max-width: 27ch; }
.nobr { white-space: nowrap; }
.intro-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.facts-line { color: var(--graphite); line-height: 1.3; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Rubrik-Reihe ---------- */

.rubrik { padding-bottom: var(--section); }
.rubrik-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter) 28px;
}
.rubrik-title { font-size: var(--text); line-height: 1.15; }
.rubrik-title .serif { display: block; font-size: 1.1em; }
.rubrik-title .pill { font-size: 1em; }
.rubrik-ctrl { display: flex; gap: 8px; flex: none; }
.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, calc((100vw - var(--gutter)) / 4.25), 360px);
  gap: 20px;
  padding: 0 var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) var(--fog);
}
.row > * { scroll-snap-align: start; }
.row::-webkit-scrollbar { height: 6px; }
.row::-webkit-scrollbar-track { background: var(--fog); border-radius: 30em; }
.row::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 30em; }
.row:focus-visible { outline-offset: -2px; }

.card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.card-img { border-radius: var(--radius-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--fog); transition: transform 0.5s var(--ease-out); }
.card:hover .card-img { transform: rotate(-1.2deg) scale(1.01); }
.card-title { font-size: 1.375rem; line-height: 1.05; letter-spacing: -0.03em; }
.card-title em { font-family: var(--serif); font-style: normal; }
.card-meta { color: var(--graphite); line-height: 1.2; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border: 1px solid var(--ink); border-radius: 30em; font-size: 0.8125rem; letter-spacing: 0; line-height: 1; }
.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

.person-card .card-img { aspect-ratio: 4 / 5; }

/* ---------- Laufband ---------- */

.laufband { padding-bottom: var(--section); }
.band-rows { border-top: 1px solid var(--ink); }
.band-row {
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  font-size: var(--band); line-height: 1; letter-spacing: -0.04em;
  padding: 14px 0;
}
.band-track { display: flex; width: max-content; animation: band 60s linear infinite; }
.band-row:nth-child(2) .band-track { animation-direction: reverse; animation-duration: 72s; }
.band-row:nth-child(3) .band-track { animation-duration: 54s; }
.band-set { display: flex; align-items: center; gap: 0.4em; padding-right: 0.4em; white-space: nowrap; }
.band-set em { font-family: var(--serif); font-style: normal; }
.band-thumb { width: 1.7em; height: 1em; border-radius: 30em; object-fit: cover; }
@keyframes band { to { transform: translateX(-50%); } }
.laufband.is-paused .band-track { animation-play-state: paused; }
.band-ctrl { display: flex; justify-content: flex-end; padding: 14px var(--gutter) 0; }

/* ---------- Ein Abend ---------- */

.abend { padding: 0 var(--gutter) var(--section); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.abend-list { border-top: 1px solid var(--ink); }
.abend-list li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.05; letter-spacing: -0.035em;
}
.abend-list time { font-size: var(--text); letter-spacing: -0.01em; justify-self: start; padding: 6px 12px 7px; border: 1px solid var(--ink); border-radius: 30em; font-variant-numeric: tabular-nums; }
.abend-list em { font-family: var(--serif); font-style: normal; }
.abend-intro { display: grid; gap: 18px; align-content: start; }
.abend-intro p { max-width: 34ch; color: var(--graphite); }

/* ---------- Abschnittspunkte ---------- */

.dots { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 15; display: none; }
.dots ol { display: grid; gap: 2px; }
.dots a { display: grid; place-items: center; width: 24px; height: 24px; }
.dots a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ash); transition: background-color 0.2s, transform 0.3s var(--ease-out); }
.dots a[aria-current="true"]::before { background: var(--ink); transform: scale(1.25); }
.dots.on-dark a::before { background: rgb(254 254 254 / 0.5); }
.dots.on-dark a[aria-current="true"]::before { background: var(--paper); }
@media (min-width: 1200px) { .js .dots { display: block; } }

/* ---------- Wortmarke unten + Fuß ---------- */

.band-mark { background: var(--fog); padding: clamp(28px, 4vw, 64px) var(--gutter) clamp(10px, 1.2vw, 18px); container-type: inline-size; overflow: hidden; }
.band-mark .wordmark { font-size: calc(100cqw / 5.02); color: var(--ink); }
.site-foot { background: var(--ink); color: var(--paper); padding: 56px var(--gutter) 32px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h2 { font-size: var(--text); margin-bottom: 12px; color: var(--fog); }
.foot-grid p, .foot-grid li { line-height: 1.35; }
.foot-grid a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(254 254 254 / 0.35); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--fog); font-size: 0.9375rem; line-height: 1.35; }

/* ---------- Seitenkopf der Unterseiten ---------- */

.page-head { padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(40px, 5vw, 72px); display: grid; gap: 28px; }
.page-head .mix { max-width: 24ch; }
.page-head .lead { max-width: 52ch; color: var(--graphite); line-height: 1.35; }

/* ---------- Aushang (Kurskarte mit Abreißstreifen) ---------- */

.aushang {
  position: relative;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  padding: 14px 14px 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-ad) var(--radius-ad) 0 0;
  background: var(--paper);
}
.aushang .card-img { border-radius: calc(var(--radius-ad) - 12px); }
.aushang-body { display: grid; gap: 12px; padding: 0 6px; align-content: start; }
.aushang-text { line-height: 1.35; color: var(--graphite); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 0.9375rem; line-height: 1.3; letter-spacing: -0.01em; }
.facts dt { color: var(--graphite); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.who a { display: inline-flex; min-height: 44px; align-items: center; }
.who { line-height: 1; }

.tabs {
  display: flex;
  margin: 0 -14px;
  border-top: 1px dashed var(--ink);
  min-height: 132px;
}
.tab {
  flex: 1 1 0; min-width: 0;
  position: relative;
  display: grid; place-items: center;
  padding: 10px 0;
  border: 0; border-right: 1px dashed var(--ink);
  background: var(--paper);
  cursor: pointer;
  transform-origin: 50% 0;
  transition: background-color 0.15s;
}
.tab:last-child { border-right: 0; }
.tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.8125rem; letter-spacing: 0; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tab:hover { background: var(--fog); }
.tab:focus-visible { outline-offset: -4px; }
.tab.is-torn { animation: tear 0.7s var(--ease-out) forwards; pointer-events: none; }
@keyframes tear {
  0% { transform: none; }
  30% { transform: rotate(-6deg) translateY(4px); }
  100% { transform: rotate(-18deg) translate(-10px, 70px); opacity: 0; }
}
.tab-stub { flex: 1 1 0; border-right: 1px dashed var(--ink); background: url("../img/torn.svg") 0 0 / 100% 10px no-repeat, var(--fog); }
.tabs-state {
  display: grid; align-content: center; gap: 10px;
  flex: 2 1 0; padding: 14px 16px;
  font-size: 0.9375rem; line-height: 1.25;
  border-right: 1px dashed var(--ink);
}
.tabs-state:last-child { border-right: 0; }
.tabs-state .btn { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; justify-self: start; }
.tabs-full { flex: 1; display: grid; place-items: center; padding: 16px; text-align: center; line-height: 1.3; color: var(--graphite); }
.no-js .tab { cursor: default; }
.no-js .tab:hover { background: var(--paper); }

.hero-slip.aushang { color: var(--ink); position: absolute; }
.hero-slip .facts { font-size: 0.875rem; }
.hero-slip .tabs { min-height: 116px; }
.slip-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 6px 0; }
.slip-title { font-size: 1.5rem; line-height: 1.02; letter-spacing: -0.035em; }
.slip-title em { font-family: var(--serif); font-style: normal; }

/* ---------- Programm (Filter, Tage) ---------- */

.filter { padding: 0 var(--gutter) 56px; display: grid; gap: 22px; }
.filter[hidden] { display: none; }
.filter-group { display: grid; grid-template-columns: 13rem 1fr; gap: 12px 24px; align-items: center; }
.filter-label { font-family: var(--serif); font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border: 1px solid var(--ink); border-radius: 30em;
  background: var(--paper); cursor: pointer; line-height: 1;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip:hover { background: var(--fog); }
.chip[aria-pressed="true"]:hover { background: var(--graphite); }
.filter-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; border-top: 1px solid var(--ink); padding-top: 18px; }
.filter-count { font-size: 1.5rem; letter-spacing: -0.03em; }
.filter-count em { font-family: var(--serif); font-style: normal; }

.day { padding-bottom: clamp(64px, 7vw, 110px); }
.day[hidden] { display: none; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 0 var(--gutter) 24px; }
.day-title { font-size: var(--headline); line-height: 1; letter-spacing: -0.04em; }
.day-title em { font-family: var(--serif); font-style: normal; font-size: 0.5em; letter-spacing: -0.01em; display: block; margin-top: 8px; }
.day .row { grid-auto-columns: clamp(280px, calc((100vw - var(--gutter)) / 3.6), 400px); align-items: stretch; padding-bottom: 20px; }
.aushang[hidden] { display: none; }
.day-empty { padding: 0 var(--gutter); color: var(--graphite); }

/* ---------- Abendzettel ---------- */

.zettel-wrap { padding: 0 var(--gutter) var(--section); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; scroll-margin-top: 24px; }
.zettel-intro { display: grid; gap: 18px; align-content: start; }
.zettel-intro p { color: var(--graphite); line-height: 1.35; max-width: 36ch; }
.zettel {
  border: 1px solid var(--ink); border-radius: var(--radius-ad);
  padding: clamp(20px, 2.4vw, 34px);
  display: grid; gap: 24px;
}
.zettel-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.zettel-day { padding: 14px 14px 18px 0; display: grid; gap: 8px; align-content: start; min-height: 150px; border-right: 1px solid var(--fog); padding-left: 10px; }
.zettel-day:first-child { padding-left: 0; }
.zettel-day:last-child { border-right: 0; }
.zettel-day h3 { font-family: var(--serif); font-size: 1.375rem; line-height: 1; }
.strip {
  display: grid; gap: 6px; padding: 10px 12px;
  border: 1px solid var(--ink); border-radius: 12px;
  font-size: 0.9375rem; line-height: 1.15; letter-spacing: -0.01em;
  animation: land 0.6s var(--ease-out);
}
.strip time { font-variant-numeric: tabular-nums; color: var(--graphite); }
.strip.is-clash { border-style: dashed; border-width: 2px; padding: 9px 11px; }
.strip button { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; cursor: pointer; font-size: 0.875rem; }
@keyframes land { from { transform: translateY(-14px) rotate(-3deg); opacity: 0; } }
.zettel-empty { color: var(--graphite); font-size: 0.9375rem; }
.zettel-sum { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--ink); }
.zettel-total { font-size: 1.75rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.zettel-total em { font-family: var(--serif); font-style: normal; }
.zettel-warn { line-height: 1.3; }
.zettel-warn:empty { display: none; }
.zettel-note { color: var(--graphite); font-size: 0.9375rem; line-height: 1.35; }
.no-js .zettel-js { display: none; }

/* ---------- Lehrende ---------- */

.people { padding: 0 var(--gutter) var(--section); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.person { display: grid; gap: 14px; align-content: start; scroll-margin-top: 24px; }
.person img { border-radius: var(--radius-card); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.person h2 { font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.03em; }
.person-role { font-size: 1.125rem; line-height: 1.15; }
.person-role em { font-family: var(--serif); font-style: normal; }
.person p.bio { color: var(--graphite); line-height: 1.35; }
.person .tags a { text-decoration: none; min-height: 44px; padding: 0 14px; font-size: 0.875rem; }
.person .tags a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Haus ---------- */

.house-img { margin: 0 var(--gutter) var(--section); }
.house-img img { width: 100%; border-radius: var(--radius-card); aspect-ratio: 16 / 9; object-fit: cover; }
.house-img figcaption { margin-top: 10px; color: var(--graphite); font-size: 0.9375rem; }
.block { padding: 0 var(--gutter) var(--section); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; scroll-margin-top: 24px; }
.block-title { font-size: var(--text); line-height: 1.15; }
.block-title .serif { display: block; font-size: 1.9rem; line-height: 1.05; margin-top: 6px; }
.lines { border-top: 1px solid var(--ink); }
.lines li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--ink); line-height: 1.3; }
.lines strong { font-weight: 400; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.03em; }
.lines strong em { font-family: var(--serif); font-style: normal; }
.lines span { color: var(--graphite); }
.prose { display: grid; gap: 18px; max-width: 64ch; line-height: 1.4; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.03em; margin-top: 18px; }
.prose a { overflow-wrap: anywhere; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: url("../img/plus.svg") center / 20px 20px no-repeat; transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 60ch; color: var(--graphite); line-height: 1.4; }

.demo-flag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 30em; font-size: 0.875rem; justify-self: start; }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .band-track { animation: none !important; }
  .card:hover .card-img { transform: none; }
}

/* ---------- Breakpoints ---------- */

@media (max-width: 1100px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-slip { width: 300px; }
}
@media (max-width: 900px) {
  .abend, .zettel-wrap, .block { grid-template-columns: 1fr; gap: 24px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .filter-group { grid-template-columns: 1fr; }
  .zettel-days { grid-template-columns: 1fr; }
  .zettel-day { grid-template-columns: 6.5rem 1fr; border-right: 0; border-bottom: 1px solid var(--fog); padding: 12px 0; min-height: 0; }
  .zettel-day:last-child { border-bottom: 0; }
  .zettel-day h3 { grid-row: span 9; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: 0; background: #2b221e; }
  .hero-img { position: relative; inset: auto; height: 58vh; min-height: 340px; object-position: 22% 50%; }
  .hero-inner { margin-top: -84px; }
  .hero-slip.aushang { position: relative; right: auto; top: auto; width: auto; max-width: 360px; margin: 28px var(--gutter) 36px auto; transform: rotate(1.5deg); }
    .row { gap: 14px; grid-auto-columns: 78vw; }
  .day .row { grid-auto-columns: 84vw; }
  .rubrik-ctrl .btn--round { display: none; }
  .abend-list li { grid-template-columns: 1fr; gap: 10px; }
  .lines li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .rubrik-head { flex-wrap: wrap; }
}

@media print {
  .site-head, .site-foot, .band-mark, .filter, .day, .page-head, .zettel-intro .actions, .dots, .skip-link, .zettel-js .btn { display: none !important; }
  .zettel-wrap { display: block; padding: 0; }
  .strip button { display: none; }
}

.aushang:target { box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--ink); }
@media (max-width: 480px) {
  .site-head { gap: 12px; }
  .brand { font-size: 1rem; }
  .js .menu-toggle { padding: 0 14px; }
}
.tab.is-left, .tab.is-left:hover { cursor: default; background: var(--paper); }
