/* ==========================================================================
   Die Kunstwerkstatt – Stylesheet
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
           6 Sektionen · 7 Unterseiten · 8 Bewegung · 9 Druck
   Keine externen Ressourcen. Alle Farben über Tokens (Kontraste WCAG AA geprüft).
   ========================================================================== */

/* 1 · Schriften (selbst gehostet, SIL Open Font License, siehe assets/fonts/OFL-*.txt) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
/* Handschrift – nur für Akzente (Hero-Wort, Monatsnamen, Unterschrift, Tipp) */
@font-face {
  font-family: "Pinyon Script";
  src: url("../fonts/pinyon-script.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* 2 · Design-Tokens */
:root {
  --paper: #f7f3ec;        /* Grundfläche */
  --paper-2: #efe8dc;      /* abgesetzte Sektionen */
  --card: #fffdf9;
  --ink: #1f1b17;          /* Text  – 15.5:1 auf paper */
  --muted: #5e554b;        /* Sekundärtext – 6.6:1 */
  --line: #ddd3c3;
  --gold: #c8991f;         /* Markenfarbe – NUR dekorativ (Linien, Flächen) */
  --gold-ink: #80600f;     /* Gold als Textfarbe – 5.3:1 */
  --gold-soft: #d9b45a;    /* Gold auf dunklem Grund – 8.7:1 */
  --dark: #1f1b17;
  --on-dark: #f7f3ec;
  --on-dark-muted: #b9ae9f;

  --font-display: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.3rem, 1.2rem + 0.45vw, 1.55rem);
  --step-2: clamp(1.7rem, 1.5rem + 1vw, 2.3rem);
  --step-3: clamp(2.3rem, 1.85rem + 2.2vw, 3.5rem);
  --step-4: clamp(2.9rem, 2.1rem + 4vw, 5.4rem);

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --radius: 4px;
  --radius-l: 10px;
  --shadow: 0 1px 2px rgba(31, 27, 23, 0.06), 0 8px 28px rgba(31, 27, 23, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
  --container: 1200px;
}

/* 3 · Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 500; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; }
a { color: var(--gold-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--gold-soft); }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
small { font-size: var(--step--1); }
address { font-style: normal; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* 4 · Layout */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
@media (max-width: 480px) { .container { width: calc(100% - 2rem); } .brand__sub { letter-spacing: 0.12em; font-size: 0.66rem; } }
.section { padding-block: var(--space-xl); }
.section--tint { background: var(--paper-2); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark a:not(.btn):not(.contact-card) { color: var(--gold-soft); }
.dark a:not(.btn):not(.contact-card):hover { color: var(--on-dark); }

.section-head { max-width: 46rem; margin-bottom: var(--space-l); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.dark .eyebrow { color: var(--gold-soft); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); font-weight: 400; }
.dark .lead { color: var(--on-dark-muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* 5 · Komponenten ---------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  font: 600 var(--step--1)/1.2 var(--font-body); letter-spacing: 0.04em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #3a332c; color: var(--paper); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); color: var(--ink); }
.dark .btn--outline { color: var(--on-dark); }
.dark .btn--outline:hover { background: var(--on-dark); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0.5rem 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Textlink mit Pfeil */
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header & Navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(31, 27, 23, 0.05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0; }
.brand__name i, .footer__brand i { font-family: var(--font-script); font-style: normal; font-weight: 400; font-size: 1.3em; line-height: 0.8; color: var(--gold-ink); padding-right: 0.03em; }
.brand__sub { white-space: nowrap; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand:hover { color: var(--ink); }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__list a:not(.btn) {
  position: relative; display: inline-block; padding: 0.5rem 0;
  color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; white-space: nowrap;
}
.nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__list a:not(.btn):hover::after, .nav__list a[aria-current="true"]::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); font: 600 0.9rem var(--font-body); cursor: pointer;
}
.nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.nav-toggle__icon span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 5px; }
.nav-toggle__icon span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1180px) {
  /* Ohne JavaScript bleibt die Navigation sichtbar (umbrechende Liste). */
  .site-header__inner { flex-wrap: wrap; padding-block: 0.6rem; }
  .nav { width: 100%; }
  .nav__list { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .js .site-header__inner { flex-wrap: nowrap; padding-block: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; width: auto;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(31, 27, 23, 0.12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.5rem; }
  .js .nav__list li { border-bottom: 1px solid var(--line); }
  .js .nav__list li:last-child { border-bottom: 0; padding-top: 1rem; }
  .js .nav__list a:not(.btn) { display: block; padding: 0.95rem 0; font-size: 1.1rem; }
  .js .nav__list a:not(.btn)::after { display: none; }
  .js .nav__list .btn { width: 100%; }
}

/* Karten / Panels */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 2rem); }

/* Bilder mit fester Proportion */
figure { margin: 0; }
.media { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--paper-2); }
.media picture { display: block; height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption { position: absolute; left: 1rem; bottom: 1rem; font-size: var(--step--1); color: #fff; background: rgba(31, 27, 23, 0.6); padding: 0.25rem 0.7rem; border-radius: 999px; }

/* Definitionsliste (Zeiten/Preise) */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; margin: 0; }
.facts dt { color: var(--muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em; padding-top: 0.15em; }
.facts dd { margin: 0; }
.dark .facts dt { color: var(--on-dark-muted); }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; gap: 0.15rem; } .facts dd { margin-bottom: 0.6rem; } }

/* 6 · Sektionen -------------------------------------------------------------- */

/* Hero */
.hero { padding-block: clamp(4rem, 9vw, 8rem) clamp(5rem, 10vw, 9rem); position: relative; isolation: isolate; overflow: hidden; }
/* Werk als Hintergrund über die volle Breite, links ein Papierschleier für die Lesbarkeit */
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 50%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247, 243, 236, 0.96) 0%, rgba(247, 243, 236, 0.9) 38%, rgba(247, 243, 236, 0.45) 62%, rgba(247, 243, 236, 0) 85%),
              linear-gradient(180deg, rgba(247, 243, 236, 0) 70%, var(--paper) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 36rem) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 em { font-family: var(--font-script); font-style: normal; font-weight: 400; font-size: 1.22em; line-height: 0.9; color: var(--gold-ink); padding-inline: 0.04em 0.1em; }
.hero__text .lead { max-width: 34rem; margin-bottom: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.25rem; color: var(--muted); font-size: var(--step--1); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta svg { width: 1.1em; height: 1.1em; color: var(--gold-ink); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(247, 243, 236, 0.82) 0%, rgba(247, 243, 236, 0.9) 60%, var(--paper) 100%); }
}
}

/* Nächste Termine */
.upcoming { margin-top: calc(var(--space-xl) * -0.35); position: relative; z-index: 2; }
.upcoming__panel { display: grid; gap: 1.25rem; box-shadow: var(--shadow); }
.upcoming__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; margin: 0; }
.upcoming__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; }
.upcoming__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.upcoming__item a {
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; align-items: center;
  height: 100%; padding: 0.9rem 1rem; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.upcoming__item a:hover { border-color: var(--gold); background: var(--paper); }
.date-badge {
  grid-row: span 2; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); line-height: 1; text-align: center;
}
.date-badge b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; display: block; }
.date-badge small { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.upcoming__name { font-weight: 600; line-height: 1.3; }
.upcoming__when { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .upcoming__list { grid-template-columns: 1fr; } }

/* Atelier / Prinzipien */
.principles { display: grid; gap: 1.75rem; margin-top: 2rem; counter-reset: p; list-style: none; padding: 0; }
.principles li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; counter-increment: p; }
.principles li::before {
  content: counter(p, decimal-leading-zero); font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-ink); line-height: 1.2;
}
.principles h3 { margin-bottom: 0.25rem; }
.principles p { color: var(--muted); margin: 0; }
.atelier__media { aspect-ratio: 4 / 3; }

/* Einblicke ins Atelier: Laufband aus Hochformaten, läuft langsam, beim Scrollen schneller */
.einblicke { padding-top: clamp(1rem, 3vw, 2.5rem); overflow: hidden; }
/* Überschrift in Handschrift, die Unterlängen tauchen leicht ins Bilderband */
.einblicke__title {
  position: relative; z-index: 3; margin: 0 0 -0.16em; padding-left: 0.05em;
  font-family: var(--font-script); font-weight: 400; font-size: clamp(3rem, 2.1rem + 4.4vw, 6rem); line-height: 1.05;
  color: var(--gold-ink); letter-spacing: 0; pointer-events: none;
}
.marquee { --h: clamp(320px, 56vh, 520px); --gap: 18px; }
.marquee__viewport { overflow-x: auto; scrollbar-width: none; padding-bottom: 28px; }
.marquee__viewport::-webkit-scrollbar { display: none; }
.marquee__track { display: flex; gap: var(--gap); width: max-content; list-style: none; margin: 0; padding: 0 var(--gap); }
.marquee__item { flex: 0 0 auto; height: var(--h); aspect-ratio: var(--ratio); }
.marquee__item .gallery__item { border-radius: 3px; box-shadow: 0 18px 34px -24px rgba(31, 27, 23, 0.45); cursor: zoom-in; }
.marquee__item .gallery__item:hover img { transform: none; }
/* Mit JavaScript und ohne „Bewegung reduzieren“: läuft von selbst, wird per transform bewegt */
.js .marquee.is-running .marquee__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.js .marquee.is-running.is-dragging .marquee__viewport { cursor: grabbing; }
.js .marquee.is-running .marquee__track { will-change: transform; }
@media (max-width: 700px) { .marquee { --h: clamp(300px, 54vh, 440px); --gap: 12px; } }

/* Kurse */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-chip {
  min-height: 44px; padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 500 0.92rem var(--font-body); transition: all 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-status { margin: -1rem 0 1.5rem; color: var(--muted); font-size: var(--step--1); }

.course-list { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.course {
  display: grid; grid-template-columns: 148px minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.course:hover { border-color: #cdbfa8; box-shadow: var(--shadow); }
.course:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 153, 31, 0.25); }
.course__img { width: 148px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.course__img img { width: 100%; height: 100%; object-fit: cover; }
.course__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; list-style: none; padding: 0; }
.tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); background: #f6eedb; padding: 0.2rem 0.6rem; border-radius: 999px; }
.course h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.course__claim { font-family: var(--font-display); font-style: italic; color: var(--muted); font-size: 1.08rem; margin-bottom: 0.75rem; }
.course__text { color: var(--muted); margin: 0; }
.course__side { display: flex; flex-direction: column; gap: 0.9rem; }
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dates li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.dates__when { font-size: 0.95rem; line-height: 1.45; }
.dates__no { display: block; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }
.dates .link-arrow { font-size: 0.88rem; white-space: nowrap; flex: none; min-height: 44px; }
.dates li.is-past .dates__when { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(94, 85, 75, 0.5); }
.dates li.is-past .link-arrow { display: none; }
.past-label { display: none; font-size: 0.75rem; color: var(--muted); }
.dates li.is-past .past-label { display: inline; }
.price { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; font-size: 0.92rem; color: var(--muted); }
.price b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
@media (max-width: 980px) {
  .course { grid-template-columns: 112px 1fr; }
  .course__img { width: 112px; }
  .course__side { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .course { grid-template-columns: 1fr; }
  .course__img { display: none; } /* Vorschaubilder sind klein – auf Smartphones bewusst ausgeblendet */
}

/* Kursprogramm: Umschalter Monat/Kurs */
.view-switch { display: inline-flex; padding: 4px; gap: 4px; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.view-switch button {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.4rem 1.1rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: 500 0.92rem var(--font-body); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.view-switch button svg { width: 1.1em; height: 1.1em; }
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.course-view__title { font-size: var(--step-2); margin: 3rem 0 1.25rem; }
.js .course-view__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Handschrift-Akzent (sparsam einsetzen) */
.script { font-family: var(--font-script); font-weight: 400; font-style: normal; letter-spacing: 0; line-height: 1.05; }
h2.script, .script-title { font-size: calc(var(--step-3) * 1.15); }
.month__title, .month__name { font-family: var(--font-display); font-weight: 500; } /* wie „Kursangebote 2027“ */

/* Kursprogramm: Zusammenfassung */
.program__summary { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.95rem; }
.program__summary a { color: var(--ink); font-weight: 600; }

/* Kursprogramm: Monate – die Überschrift läuft beim Scrollen mit, bis der nächste Monat kommt */
.month { padding-top: 1.5rem; }
.month__title {
  position: sticky; top: var(--header-h); z-index: 5;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; margin: 0; padding: 0.7rem 0 0.55rem;
  font-size: var(--step-2); background: var(--paper-2); border-bottom: 1px solid var(--ink);
}
.month__info { font-family: var(--font-body); font-size: var(--step--1); font-weight: 400; color: var(--muted); }
.month__list { list-style: none; margin: 0; padding: 0; }
.month__kw { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; padding: 0.9rem 0 0.25rem; font-size: 0.92rem; color: var(--muted); }
.month__kw svg { width: 1.15em; height: 1.15em; flex: none; margin-top: 0.2em; color: var(--gold-ink); }
.month__kw a { color: var(--ink); font-weight: 600; }
.month__kw-time { white-space: nowrap; }

/* Kursprogramm: Terminzeile – Bild immer in fester Größe, egal wie groß das hochgeladene Bild ist */
.prow {
  --img: 120px;
  display: grid; grid-template-columns: var(--img) minmax(0, 1fr) auto; gap: 1.4rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px);
}
.prow:target { background: linear-gradient(90deg, rgba(200, 153, 31, 0.14), transparent 70%); }
.prow__img {
  position: relative; display: block; width: var(--img); height: var(--img); flex: none;
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
}
.prow__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.4s var(--ease); }
.prow:hover .prow__img img { transform: scale(1.04); }
.prow__date-chip {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 3px;
  background: var(--card); color: var(--ink); font-size: 0.78rem; font-weight: 600; line-height: 1.5;
}
.prow__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; margin: 0 0 0.3rem; line-height: 1.25; }
.prow__title a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s var(--ease); }
.prow__title a:hover, .prow__title a:focus-visible { background-size: 100% 1px; }
.prow__when { margin: 0; font-weight: 600; font-size: 0.95rem; }
.prow__meta { margin: 0.1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.prow__types { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.5rem 0 0; }
.prow__types .tag { font-size: 0.66rem; }
.prow__action { justify-self: end; }
.prow__action .btn { min-height: 44px; }
.full-label { font-size: 0.9rem; color: var(--muted); font-style: italic; }
.prow .past-label { display: none; }
.prow.is-past, .dates li.is-past, .month.is-empty { display: none; }
.prow.is-past .prow__title a, .prow.is-past .prow__when { text-decoration: line-through; text-decoration-color: rgba(94, 85, 75, 0.5); }
.prow.is-past .btn, .prow.is-past .full-label { display: none; }
.prow.is-past .past-label { display: inline; font-size: 0.85rem; color: var(--muted); }

/* Kursprogramm: aufklappbare Zeilen */
.prow[hidden], .month[hidden] { display: none; }
button.prow__img { padding: 0; border: 0; cursor: pointer; align-self: start; }
.prow__more > summary { list-style: none; cursor: pointer; border-radius: var(--radius); }
.prow__more > summary::-webkit-details-marker { display: none; }
.prow__more > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.prow__title { display: flex; align-items: baseline; gap: 0.5rem; scroll-margin-top: calc(var(--header-h) + 80px); }
.prow__more > summary:hover .prow__title { color: var(--gold-ink); }
.prow__details { padding: 0.9rem 0 0.4rem; max-width: 46rem; color: var(--muted); }
.prow__details p { margin: 0 0 0.75rem; }
.prow__claim { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink); }
.prow__details .price { color: var(--muted); }
.prow__days b, .prow__others b { color: var(--ink); font-weight: 600; }
.prow__others .kw-chips { margin-top: 0.4rem; }
.kw-chips__more { align-self: center; color: var(--muted); font-size: 0.85rem; }
.prow:has(.prow__more[open]) { background: linear-gradient(90deg, rgba(200, 153, 31, 0.07), transparent 80%); }
.filter-status:empty { display: none; }

/* Weitere Termine eines Kurses (in Zeile und Kursfenster) */
.others { list-style: none; margin: 0.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.others li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; }
.others .link-arrow { min-height: 40px; }
.others__more { color: var(--muted); font-size: 0.85rem; }

/* „Weitere Monate anzeigen“ */
.program__more { text-align: center; margin: 2rem 0 0; }

/* Kursfenster (Lightbox) */
.kurs-dialog {
  width: min(94vw, 760px); max-width: none; max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--card); color: var(--ink); box-shadow: 0 24px 80px rgba(20, 17, 14, 0.35); overflow: visible;
}
.kurs-dialog::backdrop { background: rgba(20, 17, 14, 0.7); }
.kurs-dialog__inner { max-height: 90vh; overflow-y: auto; padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: inherit; }
.kurs-dialog .kurs-dialog__close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; background: var(--ink); color: var(--paper); }
.kurs-dialog .kurs-dialog__close:hover { background: var(--gold); color: var(--ink); }

/* Kopf: kleines Bild in fester Größe, nie verzogen */
.kd__head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1.25rem; align-items: center; margin: 0 2.5rem 1.25rem 0; }
.kd__img { width: 112px; height: 112px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.kd__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.kd__head .prow__types { margin: 0 0 0.4rem; }
.kd__title { font-size: var(--step-2); margin: 0 0 0.3rem; }
.kd__head .price { margin: 0; }
.kd__claim { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; margin: 0 0 0.6rem; }
.kd__text { color: var(--muted); margin: 0 0 1.5rem; }
.kd__label { font-size: 1.2rem; margin: 0 0 0.5rem; }

/* Workshop: Terminliste mit Kursnummer */
.kd-termine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kd-termine li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.75rem 0.6rem; border-bottom: 1px solid var(--line); }
.kd-termine li[hidden] { display: none; }
.kd-termine li.is-current { background: #f6eedb; border-radius: var(--radius); border-bottom-color: transparent; }
.kd-termine li.is-current .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kd-termine__nr { font-weight: 700; letter-spacing: 0.02em; }
.kd-termine__days { display: grid; gap: 0.1rem; font-size: 0.95rem; }
.kd-termine li.is-full .kd-termine__days { color: var(--muted); }

/* Kreativwerkstatt: Wochentage, Kosten, Anmeldung, Reiter */
.kd-week { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.kd-week li { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper); }
.kd-week b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.kd-week span { color: var(--muted); font-size: 0.92rem; }
.kd-facts { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.4rem 1rem; margin: 0 0 1.25rem; }
.kd-facts dt { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }
.kd-facts dd { margin: 0; }
.kd-note { font-size: 0.92rem; margin: 0 0 0.75rem; }
.kd-group { margin: 0 0 1.4rem; }
.kd-group__title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin: 0 0 0.6rem; }
.kd-group__title small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-left: 0.4rem; }
.kd-group .kd-week { margin-bottom: 0; }
.kd-tabs__list { margin-bottom: 0.75rem; }
.kd-day { position: relative; text-align: left; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; min-height: 44px; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.kd-day b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.kd-day > span:last-child { color: var(--muted); font-size: 0.92rem; }
.kd-day__count { float: right; margin: 0.35rem 0 0 0.5rem; font-size: 0.78rem; color: var(--gold-ink); }
.kd-day:hover { border-color: var(--gold); }
.kd-day[aria-selected="true"] { background: #f6eedb; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.kd-day:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.kd-tabs .kd-note { margin: 0.6rem 0 0; color: var(--muted); }
.kd-facts { border-top: 1px solid var(--line); padding-top: 1rem; }
.kd-tabs__panel[hidden] { display: none; }
.kd-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.kd-months li { padding: 0.6rem 0.75rem; border-radius: var(--radius); background: var(--paper); display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: baseline; }
.kd-months__name { flex-basis: 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.kd-date { display: inline-flex; gap: 0.3rem; align-items: baseline; padding: 0.15rem 0.45rem; border-radius: 4px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; min-height: 32px; align-items: center; }
.kd-date:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.kd-date small { color: var(--muted); font-size: 0.75rem; }
.kd-date.is-current { background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; }
.kd-date.is-full { color: var(--muted); text-decoration: line-through; }
.kd-date[hidden] { display: none; }

@media (max-width: 640px) {
  /* Handy: Fenster mit Abstand zum Rand, damit es nicht wie eine eigene Seite wirkt */
  .kurs-dialog { width: calc(100vw - 24px); max-width: none; max-height: calc(100dvh - 48px); height: auto; margin: auto; border-radius: var(--radius-l); }
  .kurs-dialog__inner { max-height: calc(100dvh - 48px); padding: 1.25rem 1rem 1.5rem; }
  .kurs-dialog .kurs-dialog__close { top: 8px; right: 8px; width: 40px; height: 40px; }
  .kd__head { grid-template-columns: 80px minmax(0, 1fr); gap: 0.9rem; }
  .kd__img { width: 80px; height: 80px; }
  .kd-termine li { grid-template-columns: minmax(0, 1fr) auto; }
  .kd-termine__nr { grid-column: 1 / -1; }
  .kd-week { grid-template-columns: 1fr 1fr; }
  .kd-facts { grid-template-columns: 1fr; gap: 0.1rem; }
  .kd-facts dd { margin-bottom: 0.6rem; }
}

/* Kreativwerkstatt: Termine als anklickbare Chips (Zeile und Kalender) */
.kw-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0.55rem 0 0; padding: 0; border: 0; }
.kw-chips li { display: block; padding: 0; border: 0; }
.kw-chips li.is-past { display: none; }
.kw-chip {
  display: inline-flex; align-items: baseline; gap: 0.4rem; min-height: 40px; padding: 0.4rem 0.8rem; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink);
  font-size: 0.88rem; text-decoration: none; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.kw-chip b { font-weight: 600; }
.kw-chip small { color: var(--muted); font-size: 0.78rem; }
.kw-chip:hover, .kw-chip:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.kw-chip:hover small, .kw-chip:focus-visible small { color: var(--paper); }

/* Kreativwerkstatt-Karte: Kalender über die volle Breite */
.kw-cal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.kw-cal__legend { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.kw-cal__legend svg { width: 1.2em; height: 1.2em; color: var(--gold-ink); flex: none; }
.kw-cal__legend b { color: var(--ink); }
.kw-cal__months { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.kw-cal__month { padding: 0.8rem 0.9rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.kw-cal__title { font-size: 1.15rem; margin: 0; font-weight: 600; }
.kw-cal__how { font-size: 0.9rem; color: var(--muted); margin: 0; }
.kw-cal__how a { white-space: nowrap; }

.months-past { margin-top: 2rem; }
.months-past > summary { cursor: pointer; color: var(--muted); font-weight: 500; padding: 0.6rem 0; min-height: 44px; }
.months-past > summary:hover { color: var(--ink); }
.months-past .month__title { position: static; }

@media (max-width: 640px) {
  .prow { --img: 96px; grid-template-columns: var(--img) minmax(0, 1fr); gap: 0.4rem 1rem; align-items: start; }
  .prow__main, .prow__action { grid-column: 2; }
  .prow__action { justify-self: start; }
  .prow__action .btn { min-height: 40px; padding: 0.4rem 1rem; }
  .prow__img { grid-row: 1 / span 2; }
  .prow__title { font-size: 1.15rem; }
}

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; }
.callout h3 { margin-bottom: 0.2rem; }
.callout p { margin: 0; color: var(--muted); }
.callout__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f6eedb; color: var(--gold-ink); }
.callout__icon svg { width: 24px; height: 24px; }
.callout__body { display: flex; gap: 1.25rem; align-items: center; flex: 1 1 380px; }

/* Kreativwerkstatt (dunkle Sektion) */
.weekly { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; list-style: none; padding: 0; }
.weekly li { border: 1px solid rgba(247, 243, 236, 0.18); border-radius: var(--radius-l); padding: 1.1rem 1.25rem; }
.weekly b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; }
.weekly span { color: var(--on-dark-muted); font-size: 0.95rem; }
.weekly .is-select b::after { content: " *"; color: var(--gold-soft); }
@media (max-width: 480px) { .weekly { grid-template-columns: 1fr; } }

.tabs__list { display: flex; gap: 0.25rem; border-bottom: 1px solid rgba(247, 243, 236, 0.18); margin-bottom: 1.25rem; }
.tabs__tab {
  min-height: 44px; padding: 0.6rem 1rem; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--on-dark-muted); font: 600 0.95rem var(--font-body); cursor: pointer;
}
.tabs__tab[aria-selected="true"] { color: var(--on-dark); border-bottom-color: var(--gold-soft); }
.tabs__tab:hover { color: var(--on-dark); }
.no-js .tabs__list { display: none; }
.tabs__panel h3 { font-size: var(--step-1); }
.js .tabs__panel h3.tabs__fallback-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.calendar { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.calendar li { padding: 0.6rem 0.8rem; border-radius: var(--radius); background: rgba(247, 243, 236, 0.06); font-size: 0.95rem; }
.calendar b { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.calendar time.is-past { color: var(--on-dark-muted); text-decoration: line-through; }
.kw-media { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .kw-media { aspect-ratio: 16 / 10; } }

/* Kinder */
.age-groups { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.age-groups li { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.92rem; }
.kids__cards { display: grid; gap: 1.25rem; }
.kids__cards h3 { margin-bottom: 1rem; }
/* Malen zur Kommunion: hervorgehobenes Band unter den Kinderkursen */
.kommunion {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: clamp(1.5rem, 4vw, 3rem);
  background: #f6eedb; border: 1px solid var(--gold); border-radius: var(--radius-l);
}
.kommunion h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); margin: 0 0 0.25rem; }
.kommunion__sub { font-family: var(--font-display); font-size: var(--step-1); color: var(--muted); margin: 0 0 1.25rem; }
.kommunion__text p { max-width: 62ch; }
.kommunion__highlight { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; margin: 1.5rem 0 0.75rem; }
.kommunion__more { margin-top: 0; }
.kommunion__more summary .more-close, .kommunion__more[open] summary .more-open { display: none; }
.kommunion__more[open] summary .more-close { display: inline; }
.kommunion__card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.kommunion__card .facts { margin-bottom: 1.5rem; }
.kommunion__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 900px) { .kommunion { grid-template-columns: 1fr; } .kommunion__card { position: static; } }

/* Aktuelles: Plakatwand (Hochformat), am Handy seitlich wischbar */
.aktuelles { border-top: 1px solid var(--line); }
.posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); list-style: none; margin: 0; padding: 0; }
.poster { display: block; color: var(--ink); text-decoration: none; }
.poster__img { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-l); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.poster__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease); }
.poster__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; padding: 1.5rem; text-align: center; font-family: var(--font-display); font-size: var(--step-2); color: var(--muted); }
.poster__date { display: block; margin-top: 0.9rem; font-size: var(--step--1); color: var(--gold-ink); font-weight: 600; }
.poster__title { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.25; margin-top: 0.2rem; }
.poster__place { display: block; color: var(--muted); font-size: 0.95rem; }
.poster:hover .poster__title { color: var(--gold-ink); }
.poster:focus-visible { outline-offset: 6px; }
@media (max-width: 700px) {
  .posters { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(var(--gutter, 1.25rem) * -1); padding: 0 var(--gutter, 1.25rem) 0.75rem; scrollbar-width: none; }
  .posters::-webkit-scrollbar { display: none; }
  .posters li { flex: 0 0 72%; scroll-snap-align: start; }
  .posters li:only-child { flex-basis: 100%; }
}

/* Eigene Seite einer Ausstellung: oben Plakat und Angaben auf getöntem Grund */
.aus-hero { padding-block: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.aus-hero__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.aus-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.aus-hero__poster { margin: 0; justify-self: center; }
.aus-hero__poster a { display: block; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 24px 40px -24px rgba(31, 27, 23, 0.55); }
.aus-hero__poster img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(560px, calc(100vh - var(--header-h) - 6rem)); }
.aus-hero__back { margin: 0 0 1.25rem; }
.aus-hero__back a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; text-decoration: none; font-weight: 600; }
.aus-hero__back svg { width: 1em; height: 1em; }
.aus-hero h1 { font-size: var(--step-4, var(--step-3)); margin: 0; line-height: 1.1; }
.aus-hero__when { font-family: var(--font-display); font-size: var(--step-2); color: var(--gold-ink); margin: 0.5rem 0 1.75rem; }
.aus-hero .facts { max-width: 34rem; }
.aus-body__text p { max-width: 62ch; font-size: var(--step-1); line-height: 1.6; }
.aus-body__gallery { margin-top: clamp(2.5rem, 6vw, 4rem); }
.aus-body__gallery h2, .aus-more h2 { font-size: var(--step-2); margin-bottom: 1.5rem; }
/* Weitere Ausstellungen: Querkärtchen (höchstens zwei) */
.aus-more { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.aus-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; max-width: 56rem; }
.aus-card {
  display: flex; align-items: center; gap: 1rem; height: 100%; padding: 0.75rem 1rem 0.75rem 0.75rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); color: var(--ink); text-decoration: none;
  transition: border-color 0.2s var(--ease);
}
.aus-card:hover { border-color: var(--gold); color: var(--ink); }
.aus-card__img { flex: none; width: 64px; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.aus-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.aus-card__text { flex: 1; min-width: 0; }
.aus-card__date { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gold-ink); }
.aus-card__title { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.aus-card__place { display: block; font-size: 0.88rem; color: var(--muted); }
.aus-card__arrow { flex: none; color: var(--gold-ink); transition: transform 0.2s var(--ease); }
.aus-card__arrow svg { width: 1.1rem; height: 1.1rem; display: block; }
.aus-card:hover .aus-card__arrow { transform: translateX(3px); }
@media (max-width: 700px) { .aus-cards { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .aus-hero__grid { grid-template-columns: 1fr; }
  .aus-hero__poster { order: 2; justify-self: start; }
  .aus-hero__poster img { max-height: 70vh; }
}

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
.about__portrait .media { aspect-ratio: 4 / 5; }
.about__portrait figcaption { position: static; display: block; background: none; color: var(--muted); padding: 0.75rem 0 0; }
.about blockquote {
  margin: 0 0 2rem; padding: 0; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; font-style: italic; font-weight: 500;
}
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.1rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -4.5px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); }
.timeline time, .timeline .year { display: block; font-weight: 600; font-size: var(--step--1); color: var(--gold-ink); letter-spacing: 0.05em; }
.about h3 { margin-top: 2.5rem; }
.disclosure { margin-top: 0.5rem; }
.disclosure summary {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--gold-ink); list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::before { content: "+"; font-size: 1.3rem; line-height: 1; width: 1rem; }
.disclosure[open] summary::before { content: "–"; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__portrait { position: static; max-width: 420px; } }

/* Galerie: Albumkarten (nur bei mehreren Alben) */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.9rem; margin-bottom: 2.5rem; }
.album-card {
  position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--radius-l); overflow: hidden;
  background: var(--paper-2); cursor: pointer; text-align: left; color: #fff;
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.2s var(--ease);
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.album-card:hover img { transform: scale(1.04); }
.album-card__cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 0.9rem 0.8rem; background: linear-gradient(transparent, rgba(20, 17, 14, 0.72)); }
.album-card__cap b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.album-card__cap small { font-size: 0.8rem; opacity: 0.9; }
.album-card[aria-selected="true"] { outline-color: var(--gold); }
.album-card:focus-visible { outline-color: var(--ink); }

/* Galerie: ein Album */
.album + .album { margin-top: 3rem; }
.js .albums:not([hidden]) ~ .album { margin-top: 0; }
.album[hidden] { display: none; }
.album__head { margin-bottom: 1.25rem; }
.album__title { font-size: var(--step-2); margin: 0 0 0.25rem; }
.album__text { color: var(--muted); margin: 0 0 1.25rem; }
.album__items { list-style: none; margin: 0; padding: 0; }
.gallery__item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2);
}
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.035); }

/* Darstellung: Raster – gleich große Quadrate */
.album--raster .album__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 0.75rem; }
.album--raster .album__items li { aspect-ratio: 1; }

/* Darstellung: Mosaik – Originalformate in Spalten */
.album--mosaik .album__items { columns: 3 260px; column-gap: 0.75rem; }
.album--mosaik .album__items li { break-inside: avoid; margin-bottom: 0.75rem; aspect-ratio: var(--ratio, 1); }

/* Darstellung: Bühne – großes Bild, darunter Leiste */
.album__stage { margin: 0 0 1rem; }
.album__stage-btn {
  display: grid; place-items: center; width: 100%; height: clamp(300px, 62vh, 680px); padding: 0; border: 0;
  background: var(--paper-2); border-radius: var(--radius-l); cursor: zoom-in; overflow: hidden;
}
.album__stage-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity 0.25s var(--ease); }
.album__stage-img.is-loading { opacity: 0.35; }
.album__stage-cap { margin-top: 0.6rem; color: var(--muted); font-size: var(--step--1); text-align: center; min-height: 1.4em; }
.album--buehne .album__items { display: flex; gap: 0.5rem; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.album--buehne .album__items li { flex: 0 0 88px; height: 88px; scroll-snap-align: start; }
.album--buehne .gallery__item { cursor: pointer; opacity: 0.6; transition: opacity 0.2s var(--ease); }
.album--buehne .gallery__item:hover, .album--buehne .gallery__item.is-current { opacity: 1; }
.album--buehne .gallery__item.is-current { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Darstellung: Wischleiste – horizontal, Originalformate */
.album--leiste .album__items {
  display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem;
  margin-inline: calc(50% - 50vw); padding-inline: max(1rem, calc(50vw - var(--container) / 2)); scroll-padding-inline: max(1rem, calc(50vw - var(--container) / 2));
}
.album--leiste .album__items li { flex: 0 0 auto; height: clamp(260px, 52vh, 520px); aspect-ratio: var(--ratio, 1); scroll-snap-align: start; max-width: 86vw; }

@media (max-width: 700px) {
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album--mosaik .album__items { columns: 2; }
  .album--buehne .album__items li { flex-basis: 68px; height: 68px; }
}

.lightbox { width: min(96vw, 1400px); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 17, 14, 0.92); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 0.75rem; }
.lightbox__img { max-height: 82vh; width: auto; border-radius: var(--radius); }
.lightbox__caption { color: var(--on-dark-muted); font-size: var(--step--1); }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(247, 243, 236, 0.35); background: rgba(31, 27, 23, 0.6); color: var(--on-dark); cursor: pointer;
}
.lightbox__btn:hover { background: var(--on-dark); color: var(--ink); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox :focus-visible { outline-color: var(--gold-soft); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.contact-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.25rem; border-radius: var(--radius-l); background: rgba(247, 243, 236, 0.06); border: 1px solid rgba(247, 243, 236, 0.14);
  color: var(--on-dark); text-decoration: none; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.contact-card:hover { background: rgba(247, 243, 236, 0.12); border-color: var(--gold-soft); color: var(--on-dark); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 180, 90, 0.14); color: var(--gold-soft); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--on-dark-muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; }
.contact-card span { font-size: 1.05rem; word-break: break-word; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.9rem; color: var(--on-dark-muted); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--gold-soft); color: var(--gold-soft); font-family: var(--font-display);
}
.steps strong { color: var(--on-dark); display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #17140f; color: var(--on-dark-muted); padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__grid h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; font-weight: 600; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer__brand { font-family: var(--font-display); font-size: 1.6rem; color: var(--on-dark); margin-bottom: 0.5rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(247, 243, 236, 0.12); font-size: 0.85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer > .container.footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* 7 · Unterseiten (Impressum, Datenschutz, 404) */
.page-hero { padding: clamp(3rem, 8vw, 6rem) 0 2rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-3); margin: 0; }
.prose { max-width: 46rem; padding-block: 3rem var(--space-xl); }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }

/* 8 · Bewegung – nur mit JS und ohne „reduzierte Bewegung“ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 9 · Druck */
@media print {
  .site-header, .nav, .filters, .lightbox, .upcoming, .albums, .album__stage, .btn, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .dark, .site-footer { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  .course { break-inside: avoid; box-shadow: none; }
}

/* Kreativwerkstatt: Bild bleibt beim Lesen der Termine sichtbar (nur Desktop) */
@media (min-width: 901px) {
  .split--top { align-items: start; }
  .split--top .kw-media { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Sanftes Anheben beim Darüberfahren: Kursbilder, Album-Karten, Galerie-Bilder.
   Nur mit Maus (nicht auf dem Handy) und nicht bei „Bewegung reduzieren“. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .prow__img, .album-card, .album .gallery__item {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), outline-color 0.2s var(--ease);
  }
  .prow:hover .prow__img, .album-card:hover, .album .gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px -18px rgba(31, 27, 23, 0.55);
  }
  .prow:hover .prow__img img, .album-card:hover img { transform: scale(1.06); }
  .poster__img { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .poster:hover .poster__img { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(31,27,23,.55); }
  .marquee .gallery__item:hover { transform: none; }
}
