/* Yaiza Fenollar Baenas — site styles.
   Colours, type and spacing follow Yaiza's draft. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/figtree-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/figtree-latin-wght-italic.woff2) format("woff2");
}

:root {
  --bg: #F5F3F6;
  --ink: #1E1522;
  --muted: #5A4E5F;
  --tint: #EADFE6;
  --accent: #B3124C;
  --accent-dark: #8F0E3D;
  --night-muted: #D8CEDB;
  --rose: #F2A9C4;
  --focus: #0E5A60;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
  --gutter: 24px;
  --section: clamp(64px, 9vw, 104px);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
}

/* `hidden` must win over any display set by a class (past dates are hidden this way). */
[hidden] { display: none !important; }

h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: var(--ox, 50%) var(--oy, 50%);
  background: var(--tint);
}
picture { display: block; }

a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
main:focus { outline: none; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 700;
}
.skip:focus { top: 16px; color: #FFFFFF; }

.accent { color: var(--accent); }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--small { width: 0.8em; height: 0.8em; }
.icon-link { display: inline-flex; align-items: center; gap: 0.45em; }

/* Image crops */
.r-4x5 { aspect-ratio: 4 / 5; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-3x4 { aspect-ratio: 3 / 4; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-1x1 { aspect-ratio: 1 / 1; }

/* ------------------------------------------------------------ layout */

.wrap {
  width: 100%;
  max-width: calc(1132px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.band-pad { padding-block: calc(var(--section) - 8px); }

.band--tint { background: var(--tint); }
.band--night { background: var(--ink); color: var(--bg); padding-block: var(--section); }
.band--accent { background: var(--accent); color: #FFFFFF; padding-block: calc(var(--section) - 8px); }
.band--night a, .band--accent a { color: inherit; }
.band--night :focus-visible { outline-color: var(--rose); }
.band--accent :focus-visible { outline-color: #FFFFFF; }

.stack-56, .stack-48, .stack-40, .stack-20, .stack-18, .stack-16, .stack-10 { display: flex; flex-direction: column; }
.stack-56 { gap: clamp(40px, 5vw, 56px); }
.stack-48 { gap: clamp(36px, 4.4vw, 48px); }
.stack-40 { gap: 40px; }
.stack-20 { gap: 20px; }
.stack-18 { gap: 18px; }
.stack-16 { gap: 16px; }
.stack-10 { gap: 10px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 40px;
  align-items: start;
}
.grid-2--center { align-items: center; }
.grid-2--gap48 { gap: 48px; }
.grid-2--gap56 { gap: clamp(40px, 5vw, 56px); }
.grid-2--380 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.pair--end { align-items: end; }

/* ------------------------------------------------------------ type */

.kicker {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.band--night .kicker { color: var(--rose); }
.band--accent .kicker { color: inherit; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head--tight { gap: 10px; }

.section-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.section-title--small { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.section-title--medium { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.02; }

.lead { font-size: 1.1875rem; color: var(--muted); }
.lead--narrow { max-width: 30em; }
.band--night .lead { color: var(--night-muted); }
.band--accent .lead { color: inherit; }

.sub-title {
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 600;
}

.note { font-size: 1rem; color: var(--muted); }

.todo {
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border: 1.5px dashed currentColor;
  padding: 1px 8px;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------ header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 20px;
}
.brand {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 0;
}
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 26px; }
.site-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle::before {
  content: "";
  width: 18px;
  height: 12px;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.nav-toggle[aria-expanded="true"]::before { height: 14px; border: 0; background: linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, currentColor 44% 56%, transparent 56%); }

/* The collapsed menu needs JavaScript, so it only applies where scripts run.
   Without scripting the links simply wrap below the name. */
@media (max-width: 899px) {
  /* On phones the name and the menu stay in reach on long pages. */
  html { scroll-padding-top: 84px; }
  .site-header { gap: 8px 12px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding-block: 10px; box-shadow: 0 1px 0 var(--ink); }
  .site-nav[data-open] { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .nav-toggle { min-width: 7.6em; justify-content: center; }
}
@media (max-width: 399px) {
  .brand { font-size: 1.0625rem; }
  .nav-toggle { padding-inline: 10px; }
}
/* Smallest phones (320 px): keep name and menu on one line, long words whole. */
@media (max-width: 349px) {
  :root { --gutter: 18px; }
  .brand { font-size: 1rem; }
  .nav-toggle { gap: 8px; padding-inline: 8px; }
  .section-title { font-size: 2.0625rem; }
}
@media (max-width: 899px) and (scripting: enabled) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; }
  .site-nav[data-open] { display: block; }
  .site-nav ul { flex-direction: column; border-bottom: 1px solid var(--ink); }
  .site-nav a { padding: 14px 0; border-top: 1px solid var(--ink); font-size: 1.25rem; }
}

/* ------------------------------------------------------------ start */

.hero { padding-top: 32px; padding-bottom: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 40px;
  align-items: end;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.hero-name {
  font-family: var(--display);
  font-size: clamp(3.25rem, 9vw, 7.75rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
}
.hero-intro { max-width: 34em; color: var(--muted); }

.button {
  align-self: flex-start;
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 15px 26px;
}
.button:hover { background: var(--accent-dark); color: #FFFFFF; }
.button--after-list { margin-top: -8px; }

.belege {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: start;
  padding-top: var(--section);
}
.belege-quote { display: flex; flex-direction: column; gap: 16px; }
.belege-quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.belege-quote figcaption { font-size: 1rem; color: var(--muted); }
.belege-quote a { font-weight: 700; display: inline-block; padding: 6px 0; }
.belege + .kontakt { padding-top: calc(var(--section) - 16px); }

.termine { padding-top: 8px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.termine-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--ink); }
.termine-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
}
.termin-date {
  flex: 0 0 12em;
  max-width: 100%;
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
}
.termin-what { flex: 1 1 16em; display: flex; flex-direction: column; gap: 2px; }
.termin-what span { font-size: 1rem; color: var(--muted); }
.termin-place { color: var(--muted); display: flex; flex-direction: column; }
.termin-address { font-size: 1rem; }
.termin-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.termin-links a, .share { display: inline-flex; align-items: center; gap: 0.4em; }
.share { padding: 8px 0 2px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.share:hover { color: var(--accent-dark); }
.termin-what .share-status { color: var(--focus); font-weight: 700; }
.termin { scroll-margin-top: 90px; }
.termin:target { box-shadow: inset 6px 0 0 var(--accent); padding-left: 18px; }
.termin-what .termin-links a { padding: 8px 0 2px; font-weight: 700; color: var(--ink); }
.termin-what .termin-note { color: var(--ink); font-weight: 600; }
.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.2em;
}
.termin--abgesagt .termin-what strong, .termin--abgesagt time { text-decoration: line-through; }
.termine-list--past .termin-date { font-size: 1.125rem; }
.termine > .more-link { align-self: flex-start; }
.abo { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--tint); max-width: 56em; }
.abo-ways { display: flex; flex-direction: column; }
.abo-ways > li { display: grid; grid-template-columns: minmax(0, 17em) minmax(0, 1fr); gap: 8px 28px; align-items: center; padding: 16px 0; border-top: 1px solid var(--ink); }
.abo-ways > li > span:last-child { font-size: 1rem; color: var(--muted); }
.abo-ways .button, .abo-ways .more-link { justify-self: start; }
.abo-ways .button { display: inline-flex; align-items: center; gap: 0.5em; }
.abo-url { display: block; overflow-wrap: anywhere; font-size: 0.9375rem; color: var(--ink); }
@media (max-width: 640px) { .abo { padding: 20px; } .abo-ways > li { grid-template-columns: 1fr; } }
.termine-list:not(:has(li:not([hidden]))) { border-bottom: 0; }

.bereiche { padding-block: 72px; }
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 40px 32px;
  align-items: start;
}
.tile { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.tile-text { display: flex; flex-direction: column; gap: 4px; }
.tile-text strong {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tile-text span { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.tile:hover strong { text-decoration: underline; text-decoration-thickness: 3px; }
.tile:hover { color: var(--ink); }
/* On a phone the tiles become a compact list: picture left, text right. */
@media (max-width: 599px) {
  .bereiche { padding-block: 48px; }
  .tiles { grid-template-columns: 1fr; gap: 20px; }
  .tile { flex-direction: row; align-items: center; gap: 16px; }
  .tile picture { flex: 0 0 36%; }
  .tile-text strong { font-size: 1.375rem; overflow-wrap: anywhere; }
}

/* ------------------------------------------------------------ pictures */

.zoom { display: block; position: relative; cursor: zoom-in; overflow: hidden; }
.zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 24, 0.72);
  color: #FFFFFF;
  font-size: 1rem;
}
.zoom img, .tile img { transition: transform 0.35s ease; }
.zoom:hover img, .tile:hover img { transform: scale(1.035); }
.zoom:hover .zoom-hint, .zoom:focus-visible .zoom-hint { background: var(--accent); }
.tile picture { overflow: hidden; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 28px;
  align-items: start;
}
.cards--wide { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
/* Eight cards: 4 + 4 on wide screens instead of 3 + 3 + 2. */
@media (min-width: 1100px) { .cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card:target { outline: 3px solid var(--accent); outline-offset: 8px; }
.card { scroll-margin-top: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card figcaption { display: flex; flex-direction: column; gap: 4px; }
.card strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.card figcaption span { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.band--night .card figcaption span { color: var(--night-muted); }

.feature { display: flex; flex-direction: column; gap: 16px; }
.feature-title {
  font-family: var(--display);
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  line-height: 1.05;
  font-weight: 700;
}
.feature-sub { font-size: 1.25rem; font-weight: 600; color: var(--rose); }
.feature p:not(.feature-sub) { color: var(--night-muted); }

.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 700px) { .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ lists */

.rule-list { display: flex; flex-direction: column; border-bottom: 1px solid currentColor; }
.rule-list > li { border-top: 1px solid currentColor; }
.rule-list--plain > li { padding: 10px 0; }

.offers > li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; }
.offers strong { font-family: var(--display); font-size: 1.375rem; line-height: 1.25; font-weight: 600; }
.offers span { color: var(--muted); }
.offers, .press { border-color: var(--ink); }
.offers > li, .press > li { border-color: var(--ink); }

.songs { display: flex; flex-direction: column; gap: 10px; max-width: 30em; }
.song { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.song-play {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.song-play:hover, .song[data-playing] .song-play { background: #FFFFFF; color: var(--accent); }
.song-play .i-pause, .song[data-playing] .i-play { display: none; }
.song[data-playing] .i-pause { display: block; }
.song-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.song-text strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.song-meta { font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.song audio { width: 100%; max-width: 340px; margin-top: 4px; }
.song-seek { width: 100%; height: 24px; margin: 0; accent-color: #FFFFFF; cursor: pointer; }

.portraits { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: end; }
.mini { display: flex; flex-direction: column; gap: 8px; }
.mini figcaption { font-size: 0.9375rem; color: var(--muted); }
.prose > p { max-width: 34em; overflow-wrap: break-word; }
.prose > div { max-width: 34em; }

.press > li { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; }
.press-title {
  font-family: var(--display);
  font-size: 1.625rem;
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}
.press-source { font-size: 1rem; color: var(--muted); }
.press blockquote { font-size: 1.1875rem; font-style: italic; max-width: 36em; }
.more-link { display: inline-block; padding: 10px 0; font-weight: 700; }
.more-link.icon-link { display: inline-flex; }
.press-hint { font-size: 1rem; color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------ contact, footer */

.more { padding-block: 40px 0; display: flex; flex-direction: column; gap: 12px; }
.more ul { display: flex; flex-wrap: wrap; gap: 0 28px; border-block: 1px solid var(--ink); }
.more a {
  display: block;
  padding: 14px 0;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 600;
  text-decoration: none;
}
.more a:hover { text-decoration: underline; }
.band + .more { padding-top: 64px; }

.kontakt { padding-top: var(--section); padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }
.kontakt-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 12em;
  text-wrap: balance;
}
.kontakt-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  align-self: flex-start;
  font-family: var(--display);
  font-size: clamp(1.375rem, 3.4vw, 2.5rem);
  font-weight: 600;
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.kontakt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.copy {
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.copy:hover { background: var(--ink); color: var(--bg); }
.copy-status { font-weight: 700; color: var(--focus); }
.kontakt-more { color: var(--muted); }

.form { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.field { display: flex; flex-direction: column; gap: 6px; align-self: stretch; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 9em; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .button { border: 0; font-family: inherit; cursor: pointer; }
.form .button:disabled { opacity: 0.6; cursor: progress; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-status[data-state="ok"] { color: var(--focus); }
.form-status[data-state="error"] { color: var(--accent-dark); }
.send-ways { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 2px solid var(--ink); background: #FFFFFF; }
.send-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.send-buttons .button { align-self: auto; }
.button--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button--line:hover { background: var(--ink); color: var(--bg); }
.stack-20 > .kontakt-row .kontakt-mail { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.kontakt-more a { font-weight: 700; padding: 10px 0; font-size: 1.25rem; color: var(--ink); }

.site-footer { border-top: 1px solid var(--ink); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; padding-top: 24px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.footer-top a { padding: 10px 0; font-weight: 700; overflow-wrap: anywhere; }
.footer-top + .footer-grid { padding-top: 12px; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  padding-bottom: 32px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-credits { flex: 1 1 24em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { display: inline-block; padding: 10px 0; margin-block: -10px; font-weight: 700; }

/* ------------------------------------------------------------ project page */

.facts { margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--ink); }
.facts dt { font-family: var(--display); font-weight: 600; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; } }
.facts dd { margin: 0; }
.projekt-photo { aspect-ratio: 4 / 3; background: var(--tint); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; }

/* ------------------------------------------------------------ future drafts (DRAFTS=1 only) */

.zukunft-banner { border: 2px dashed var(--accent); padding: 12px 16px; font-size: 1rem; max-width: 60em; }
.programme { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 28px; align-items: start; }
.programm { display: flex; flex-direction: column; gap: 14px; }
.programm p { color: var(--muted); font-size: 1rem; }
.programm .button { margin-top: 8px; }
.facts--tight > div { padding: 8px 0; grid-template-columns: 6em minmax(0, 1fr); font-size: 1rem; }
.table-scroll { overflow-x: auto; }
.kurse { width: 100%; border-collapse: collapse; min-width: 720px; }
.kurse th, .kurse td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-top: 1px solid var(--ink); }
.kurse thead th { border-top: 0; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.kurse tbody th { font-family: var(--display); font-size: 1.25rem; font-weight: 600; max-width: 16em; }
.kurse tbody tr:last-child > * { border-bottom: 1px solid var(--ink); }
.kurse .more-link { padding: 0; white-space: nowrap; }
.video-mock { position: relative; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; padding-left: 6px; }
.video-label { position: absolute; left: 12px; bottom: 12px; background: #FFFFFF; padding: 4px 6px; }
.aufnahmen > li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.song-play--ink { color: var(--ink); cursor: default; }

/* ------------------------------------------------------------ legal pages */

.legal { display: flex; flex-direction: column; gap: 16px; max-width: calc(46em + 2 * var(--gutter)); margin-inline: auto; }
.legal .sub-title { margin-top: 20px; }
.legal p { overflow-wrap: break-word; }
.draft-note { border: 2px dashed var(--accent); padding: 14px 18px; }

/* ------------------------------------------------------------ phones */

/* A row of pictures that is swiped sideways on a phone instead of stacked:
   one page of pictures used to be six screens long. Plain CSS scrolling, so
   it works without JavaScript; the script only adds the "3 / 8" line. */
.swipe { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.swipe-meta { display: flex; align-items: center; gap: 14px; font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.swipe-bar { position: relative; flex: 1 1 auto; height: 4px; }
.swipe-bar::before { content: ""; position: absolute; inset: 1px 0; background: currentColor; opacity: 0.28; }
.swipe-bar span { position: absolute; top: 0; height: 4px; min-width: 24px; background: currentColor; }
.only-phone { display: none; }

@media (max-width: 659px) {
  .only-phone { display: inline; }

  .swipe-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter);
    margin-block: -4px;
  }
  .swipe-row > * { flex: 0 0 84%; scroll-snap-align: start; }
  .thumbs.swipe-row > * { flex-basis: 45%; }

  /* Weitere Projekte: posters and flyers as a list, small picture left, the
     text readable at once. A tap opens the poster large. */
  .cards--list { gap: 0; border-bottom: 1px solid var(--ink); }
  .cards--list .card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid var(--ink); }
  .cards--list .zoom { flex: 0 0 34%; }
  .cards--list .zoom img { aspect-ratio: 1 / 1; }
  .cards--list .zoom-hint { width: 28px; height: 28px; right: 4px; bottom: 4px; font-size: 0.8125rem; }
  .cards--list .card figcaption { min-width: 0; }

  /* Termine: date, what, where, then two real buttons for the thumb. */
  .termine-list li { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px; padding: 20px 0; }
  .termin-date { flex: none; }
  .termin-what { display: contents; }
  .termin-place { order: 2; }
  .termin-links { order: 3; gap: 10px; margin-top: 10px; }
  .termin-what .termin-links a, .termin-links .share {
    min-height: 44px;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    font-size: 1rem;
    text-decoration: none;
  }
  .termin-links .share-status:empty { display: none; }
  /* The start page shows the next three; the rest is one tap away. */
  .termine-list--kurz > li:not([hidden]) ~ li:not([hidden]) ~ li:not([hidden]) ~ li { display: none; }
}
/* Touch screens show no scroll bar under the row: the line below it does that job. */
@media (max-width: 659px) and (hover: none) {
  .swipe-row { scrollbar-width: none; }
  .swipe-row::-webkit-scrollbar { display: none; }
}

/* ------------------------------------------------------------ enlarged picture */

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 12, 24, 0.96);
  color: #FFFFFF;
}
.lightbox::backdrop { background: rgba(20, 12, 24, 0.96); }
.lightbox-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  padding: 12px 0 16px;
  gap: 8px;
}
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-inline: 16px; }
.lightbox-count { font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.lightbox-buttons { display: flex; gap: 8px; }
.lightbox button {
  min-width: 48px;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.lightbox button:hover { background: #FFFFFF; color: var(--ink); }
.lightbox :focus-visible { outline-color: var(--rose); }
/* All pictures lie side by side; the visitor swipes from one to the next and
   the picture follows the finger. */
.lightbox-track {
  min-height: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: zoom-out;
}
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-track:focus-visible { outline-offset: -3px; }
.lightbox-slide {
  flex: 0 0 100%;
  min-width: 0;
  min-height: 0;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.lightbox-slide img {
  cursor: default;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: none;
}
.lightbox-caption { font-size: 1rem; text-align: center; color: var(--night-muted); max-width: 60em; margin-inline: auto; padding-inline: 16px; }
/* On a phone the buttons sit at the bottom, where the thumb is. */
@media (max-width: 659px) {
  .lightbox-inner { grid-template-rows: minmax(0, 1fr) auto auto; padding: 0 0 max(12px, env(safe-area-inset-bottom)); }
  .lightbox-bar { order: 3; }
  .lightbox-caption { font-size: 0.9375rem; min-height: 3em; }
  .lightbox-slide { padding-inline: 0; }
}

/* ------------------------------------------------------------ preferences */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zoom img, .tile img { transition: none; }
  .zoom:hover img, .tile:hover img { transform: none; }
}

@media (forced-colors: active) {
  .button, .nav-toggle { border: 2px solid ButtonText; }
}

@media print {
  .site-nav, .nav-toggle, .skip, .more, .lightbox { display: none !important; }
  .band--night, .band--accent { background: none; color: #000000; }
  .band--night .lead, .band--night .card figcaption span, .feature p:not(.feature-sub), .feature-sub, .band--night .kicker { color: #000000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; overflow-wrap: anywhere; }
}

/* focal points */
.ox-18{--ox:18%}
.ox-20{--ox:20%}
.ox-30{--ox:30%}
.ox-40{--ox:40%}
.ox-60{--ox:60%}
.ox-62{--ox:62%}
.ox-70{--ox:70%}
.ox-80{--ox:80%}
.oy-0{--oy:0%}
.oy-12{--oy:12%}
.oy-20{--oy:20%}
.oy-30{--oy:30%}
.oy-8{--oy:8%}
