/* ================================================================
   GALILEO PARK
   ================================================================ */


  /* space-grotesk-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/space-grotesk-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* space-grotesk-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/space-grotesk-v22-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* space-grotesk-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/space-grotesk-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* space-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/space-mono-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* space-mono-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/space-mono-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ── VARIABLEN ─────────────────────────────────────────────────── */
:root {
  --yellow:    #FFF06D;
  --off-white: #F5EFE4;
  --black:     #111111;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Space Mono', monospace;
}

/* ── RESET & BASIS ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; /* prevent font inflation on rotation in iOS */
}

/* Safari: remove default blue button appearance */
button {
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
  font-family: inherit;
}

/* Safari: remove default input styling */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}

/* Remove tap highlight flash on mobile */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* Headings, nav, UI elements → Space Grotesk */
h1, h2, h3, h4, h5, h6,
.site-header__logo,
.site-header__plan,
.nav-toggle,
.site-nav__link,
.site-nav__tickets,
.btn,
.section-label,
.badge {
  font-family: var(--font-head);
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── HEADER ────────────────────────────────────────────────────── */
.site-header {
  background: var(--akzent, var(--yellow));
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: padding 0.35s ease, background 0.35s ease;
}
.site-header.is-scrolled {
  padding: 0.55rem 2rem;
  background: var(--akzent, var(--yellow));
  background: none;
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.3rem;
}
.site-header__left { display: flex; align-items: center; gap: 0.5rem; }
.site-header__accent {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.site-header__accent--green { background: #74C870; }
.site-header__accent--blue  { background: #9ABCDC; }
.site-header__plan {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid currentColor;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.site-header__plan:hover { background: var(--black); color: #fff; border-color: var(--black); }
.site-header__logo {
  font-size: clamp(3rem, 7vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  line-height: .5;
}
.site-header.is-ready .site-header__logo {
  transition: font-size 1s ease;
}
.site-header.is-scrolled .site-header__logo {
  font-size: clamp(2rem, 3vw, 4rem);
  line-height: 1;
}
.site-header__right { display: flex; justify-content: flex-end; }
.nav-toggle {
  background: none;
  border: 1.5px solid var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 1.25rem;
  transition: background 0.2s, color 0.2s;
}
.nav-toggle:hover { background: var(--black); color: #fff; }

/* ── NAV-OVERLAY ───────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset: 0;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity   0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav.is-open {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.site-nav__close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: 1.5px solid var(--black);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4rem 1.1rem;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity   0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s, color 0.2s;
}
.site-nav.is-open .site-nav__close {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}
.site-nav__close:hover { background: var(--black); color: var(--yellow); }
.site-nav__link {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity   0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav.is-open .site-nav__link               { opacity: 1; transform: none; }
.site-nav.is-open .site-nav__link:nth-of-type(1) { transition-delay: 0.14s; }
.site-nav.is-open .site-nav__link:nth-of-type(2) { transition-delay: 0.20s; }
.site-nav.is-open .site-nav__link:nth-of-type(3) { transition-delay: 0.26s; }
.site-nav.is-open .site-nav__link:nth-of-type(4) { transition-delay: 0.32s; }
.site-nav.is-open .site-nav__link:nth-of-type(5) { transition-delay: 0.38s; }
.site-nav__link:hover,
.site-nav__link.is-active { text-decoration: underline; text-underline-offset: 0.1em; }
.site-nav__tickets {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--black);
  padding: 0.6rem 2rem;
}
.site-nav__tickets:hover { background: var(--black); color: var(--yellow); }
@media (prefers-reduced-motion: reduce) {
  .site-nav, .site-nav__close, .site-nav__link {
    transform: none !important;
    transition-duration: 0.15s !important;
    transition-delay: 0s !important;
  }
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  background: var(--yellow);
  padding-bottom: 5rem;
}

/* Dreieck-Maske: gilt für Video, <picture> img und fallback img */
/* --tri-apex (0–50%) steuert die Schenkelgröße (Panel-Feld) */
.hero-media {
  position: relative;
  isolation: isolate;        /* nötig für mix-blend-mode */
}
.hero-media > :is(video, picture) {
  display: block;
  width: 100%;
}
.hero-media > video,
.hero-media > picture > img,
.hero-media > img {
  width: 100%;
  height: 78svh;
  object-fit: cover;
  object-position: center 30%;
  clip-path: polygon(50% var(--tri-apex, 0%), 100% 100%, 0% 100%);
  max-height: 60rem;
}
.hero-media__placeholder {
  width: 100%;
  height: 100svh;
  clip-path: polygon(50% var(--tri-apex, 0%), 100% 100%, 0% 100%);
  background: rgba(0,0,0,0.07);
}

/* Badge */
.badge {

  width: 10rem; height: 10rem;
  background: #7B5EA7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
  border-radius: 100%;
  padding: .25rem;
}

/* Hero-Text */
.hero-text {
  padding: 3rem 2rem 1rem;
  text-align: center;
  max-width: 55rem;
  margin: 0 auto;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero-text p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── BUTTON ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ── ABSCHNITTS-LABEL ──────────────────────────────────────────── */
.section-label {
  padding: 3rem 4rem;
  text-align: center;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;

}

/* ── FRÜHERE AUSSTELLUNGEN (ARCHIV) ───────────────────────────── */
.fruehere-ausst {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.arch-liste {
  /* full width */
}

.arch-eintrag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  padding: 2.5rem 4rem;
  border-top: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s;
}

.arch-eintrag:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.arch-eintrag:hover {
  background: rgba(0,0,0,0.03);
}

.arch-eintrag__datum {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  background: rgba(0,0,0,0.08);
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.arch-eintrag__titel {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.arch-eintrag__rechts {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.85;
  display: flex;
  align-items: flex-start;
  padding-top: 0.2rem;
  opacity: 0.85;
}

/* ── AUSSTELLUNGS-BLÖCKE ───────────────────────────────────────── */
.blocks > article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--color, var(--yellow));
}

/* Gerade Blöcke: Grafik rechts, Text links */
.blocks > article:nth-child(even) > div:first-child { order: 2; }
.blocks > article:nth-child(even) > div:last-child  { order: 1; }

/* Grafik-Hälfte */
.blocks > article > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.blocks > article > div:first-child svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}
/* Per-shape visual weight tuning */
.blocks > article > div:first-child .shape-orbit    { max-width: 336px; }
.blocks > article > div:first-child .shape-dots     { max-width: 312px; }

/* Mask-Mode: fill the deco panel */
.deco-mask {
  width: 100%;
  height: 100%;
  min-height: 280px;
}
.deco-mask > :is(video, picture, img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deco-mask > picture { height: 100%; }
.deco-mask > picture > img { height: 100%; }

/* Text-Hälfte */
.blocks > article > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4rem 4rem 4rem 5rem;
    padding: 2rem;

}
.blocks > article:nth-child(even) > div:last-child {
  padding: 4rem 5rem 4rem 4rem;
}
.blocks > article h2 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  max-width: 24rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
/* paragraph + button sink to bottom */
.blocks > article p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 55ch;
  margin-top: auto;
  margin-bottom: 1.75rem;
}
.blocks > article .btn { align-self: flex-start; }

/* ── ANIMATIONEN ───────────────────────────────────────────────── */

/* ── ORBIT (Allein im Universum?) ── */
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes planet-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.055); }
}

.shape-orbit .orbit-planet {
  transform-box: fill-box;
  transform-origin: center;
  animation: planet-breathe 6s ease-in-out infinite;
}
.shape-orbit .orbit-moon-arm {
  transform-box: view-box;
  transform-origin: center;
  animation: orbit-spin 6s linear infinite;
}

/* ── DOTS (Faszination Fliegen) ── */
/* Per-keyframe timing: easeOutCubic up → apex → easeInCubic down (gravity) */
@keyframes ball-bounce {
  0%   { transform: translateY(0);     animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  45%  { transform: translateY(-70px); animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  100% { transform: translateY(0); }
}

.shape-dots .dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: ball-bounce 1.4s linear infinite;
}
.shape-dots .dot-2 { animation-delay:  0.18s; }
.shape-dots .dot-3 { animation-delay:  0.36s; }

/* ── PROPELLER (Faszination Fliegen) ── */
.blocks > article > div:first-child .shape-propeller { max-width: 342px; }
.shape-propeller .prop-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: prop-spin 1.2s linear infinite;
}
@keyframes prop-spin { to { transform: rotate(360deg); } }

/* ── VERKNÜPFUNG (Tüfteln + Knobeln) ── */
.deco--squircle {
  width: 90%;
  max-width: 25rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blocks > article > div:first-child .shape-verknuepfung { max-width: 336px; }
.shape-verknuepfung .verk-a {
  transform-box: fill-box;
  transform-origin: center;
  animation: verk-a 2.4s ease-in-out infinite;
}
.shape-verknuepfung .verk-b {
  transform-box: fill-box;
  transform-origin: center;
  animation: verk-b 2.4s ease-in-out infinite;
}
@keyframes verk-a { 0%,100% { transform: translateX(-34px); } 50% { transform: translateX(-10px); } }
@keyframes verk-b { 0%,100% { transform: translateX(34px);  } 50% { transform: translateX(10px);  } }

/* ── Mask-Mode (clip-path über Medium) ── */

.deco--orbit .deco-mask {
  clip-path: circle(26% at 50% 50%);
  animation: mask-orbit 7s ease-in-out infinite;
}
@keyframes mask-orbit {
  0%, 100% { clip-path: circle(26% at 50% 50%); }
  50%       { clip-path: circle(28% at 50% 50%); }
}

.deco--dots .deco-mask {
  clip-path: circle(38% at 50% 50%);
  animation: mask-dots 2.8s ease-in-out infinite;
}
@keyframes mask-dots {
  0%, 100% { clip-path: circle(36% at 50% 50%); }
  50%       { clip-path: circle(42% at 50% 50%); }
}

.deco--squircle .deco-mask {
  clip-path: circle(28% at 50% 50%);
  animation: mask-squircle 2.4s ease-in-out infinite;
}
@keyframes mask-squircle {
  0%, 100% { clip-path: circle(28% at 38% 50%); }
  50%       { clip-path: circle(28% at 62% 50%); }
}

/* ── JOURNAL ───────────────────────────────────────────────────── */
.journal {
  background: var(--akzent, var(--yellow));
  background: var(--off-white);
}
/* On article pages the "Weitere Beiträge" block uses the page accent color */
.page-artikel .journal {
  background: var(--akzent, var(--yellow));

}
/* section-label inside journal inherits the beige background */
.journal .section-label {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cards > article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 3rem 5rem;
  border-right: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.cards > article:last-child { border-right: none; }

/* date badge + image container */
.card-visual {
  position: relative;
  width: 58%;
  margin-bottom: 2.5rem;
}
/* When a real cover image is available: full-bleed, landscape ratio */
.card-visual--has-img {
  width: 100%;
  margin-bottom: 0;
}
.card-date {

  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
  z-index: 1;
  letter-spacing: 0.02em;
}
.card-img {
  display: block;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-visual--has-img .card-img img {
  aspect-ratio: 3 / 4;
  max-width: 25rem;
  margin: 0 auto;
}
.card-img:hover img { transform: scale(1.03); }
.card-img--empty {
  aspect-ratio: 3 / 4;
  background: rgba(0,0,0,0.06);
}

/* card text body */
.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 44ch;
  padding: 2.5rem 2rem 3rem;
}
.card-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.card-body h3 a:hover { text-decoration: underline; }
.card-body p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #555;
}

/* ghost / outline button variant */
.btn--ghost {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
}
.btn--ghost:hover {
  background: var(--black);
  color: #fff;
}

/* ── TERMINE ───────────────────────────────────────────────────── */
.termine {
  background: #fff;
  font-size: 1.25rem;
}
.termine .section-label {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.termine ul { /* full width, rows handle own padding */ }
.termine li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  align-items: baseline;
}
.termine time {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.01em;
}
.termine span {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--black);
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.site-footer { background: var(--akzent, var(--yellow)); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  margin: 0 auto;
}
.site-footer__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer__nav a { font-size: 0.87rem; font-weight: 500; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__contact address { font-style: normal; }
.site-footer__contact strong,
.site-footer__season strong {
  font-family: var(--font-head);
  font-size: 0.87rem; font-weight: 700; display: block; margin-bottom: 0.25rem;
}
.site-footer__contact p,
.site-footer__contact address,
.site-footer__contact a,
.site-footer__season p { font-size: 0.85rem; line-height: 1.75; display: block; }
.partners-section {
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid;
  background: var(--akzent, var(--yellow));
}
.partners-section__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  white-space: nowrap;
  margin: 0;
}
.partners-section__logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.partners-section__partner {
  display: inline-flex;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.partners-section__partner:hover { opacity: 1; }
.partners-section__partner svg,
.partners-section__partner img {
  max-height: 6rem;
  width: auto;
  width: auto;
  object-fit: contain;
}

.site-footer__bottom {
  border-top: 1px solid;
  padding: 1.2rem 3rem;
  font-size: 0.72rem;
  color: #000;
}

.site-footer__logo {
  padding: 2rem var(--gutter);
  max-width: 180px;
}
.site-footer__logo svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* ── NEWSLETTER ────────────────────────────────────────────────── */
.newsletter-form__honeypot { display: none; }

.site-footer__newsletter {
  border-bottom: 1px solid;
  padding: 3rem 3rem 3.5rem;
  margin: 0 auto;
}

.newsletter-form { max-width: 560px; }

.newsletter-form__heading {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.newsletter-form__fields {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.newsletter-form__input {
  font-family: var(--font-body);
  font-size: 0.78rem;
  background: transparent;
  border: 1.5px solid;
  padding: 0.55rem 0.9rem;
  outline: none;
  color: inherit;
  flex: 1;
  min-width: 0;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-form__input::placeholder {
  color: inherit;
  opacity: 0.5;
}
.newsletter-form__input:focus {
  border-color: var(--black);
  background: rgba(0,0,0,0.05);
}

.newsletter-form__dsgvo {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.6;
  opacity: 0.75;
  margin-bottom: 1rem;
  cursor: pointer;
}
.newsletter-form__dsgvo input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2em;
  accent-color: var(--black);
  cursor: pointer;
}
.newsletter-form__dsgvo a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.newsletter-form__feedback {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.5;
}
.newsletter-form__feedback.is-success { color: #95e980; }
.newsletter-form__feedback.is-error   { color: #ffabac; }

/* ── FORM BUILDER ──────────────────────────────────────────────── */
.uniform__potty { display: none; }
.form-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.form-column { flex: var(--span, 1); min-width: 0; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }

.form-field label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-field label span { opacity: 0.5; }

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: 0.78rem;
  background: transparent;
  border: 1.5px solid currentColor;
  padding: 0.55rem 0.9rem;
  outline: none;
  color: inherit;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: inherit;
  opacity: 0.5;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--black);
  background: rgba(0,0,0,0.05);
}
.form-field textarea { resize: vertical; min-height: 8rem; }

.form-field-error {
  font-size: 0.75rem;
  color: #c00;
}

form > button[type="submit"] {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.5rem;
  border: 1.5px solid currentColor;
  background: transparent;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background 0.2s, color 0.2s;
}
form > button[type="submit"]:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* ── INNENSEITEN ───────────────────────────────────────────────── */
.page-header {
  background: var(--yellow);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.colorbg { background: var(--akzent, var(--yellow)); }
.section { padding: 5rem 2rem; }

/* ── AUSSTELLUNGS-DETAILSEITE ──────────────────────────────────── */
.auss-hero {
  background: var(--akzent, var(--yellow));
  padding: 3.5rem 2rem 5rem;
  text-align: center;
}

/* Shape animation centred above the title — no triangle */
.auss-hero__shape {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3.5rem;
}
.auss-hero__shape svg {
  width: 260px;
  height: auto;
}
.auss-hero__shape .deco--squircle {
  width: 190px;
  max-width: 190px;
}

/* Text content */
.auss-hero__content {
  max-width: 68ch;
  margin: 0 auto;
}
.auss-hero__dates {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}
.auss-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.auss-hero__text {
  text-align: left;
}
.prose {
  font-size: 1rem;
  line-height: 1.9;
}
.prose p        { margin-bottom: 1.1em; }
.prose ul       { margin: 0.8em 0 1.1em 1.2em; list-style: disc; }
.prose li       { margin-bottom: 0.35em; }
.prose strong   { font-family: var(--font-head); font-weight: 700; }

/* ── AUSSTELLUNGS-BAUKASTEN (Blocks) ───────────────────────────── */
body.page-ausstellung { background: var(--akzent); }

.auss-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* text block */
.block-text { }

/* heading block */
.block-heading {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.block-heading--h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.block-heading--h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }

/* image block */
.block-image {
  margin: 0;
}
.block-image img {
  width: 100%;
  height: auto;
  display: block;
}
.block-image--medium {
  max-width: 600px;
  margin-inline: auto;
}
.block-image figcaption {
  font-size: 0.78rem;
  color: rgba(17,17,17,0.55);
  margin-top: 0.6rem;
  font-style: italic;
}

/* quote block */
.block-quote {

  margin: 0;
}
.block-quote blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.block-quote figcaption {
  font-size: 0.82rem;
  opacity: 0.6;
}
.block-quote figcaption::before { content: '— '; }

/* ── GALLERY SLIDER ────────────────────────────────────────────── */
.gallery-wrap {
  /* full-viewport bleed — html needs overflow-x: hidden */
  margin-left: calc(50% - 50vw);
  width: 100vw;
}
.gallery-slider {
  position: relative;
}

.gallery-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cropped: quadratische Bilder */
.gallery-slider--cropped .swiper-slide {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gallery-slider--cropped .swiper-slide picture,
.gallery-slider--cropped .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── ARTIKEL-SEITE ─────────────────────────────────────────────── */
body.page-artikel { background: var(--akzent); }

.art-hero {
  max-width: 82ch;
  margin: 0 auto;
  padding: 2rem 2rem 0;  /* same inline padding as art-body */
}
.art-hero__img {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  border-radius: 2px;
}
.art-hero__img img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}
.art-hero__date {
  display: inline-block;
  margin-top: 0.85rem;
  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.7rem;
  line-height: 1;
}
/* Hero without image: just the date badge */
.art-hero--no-img {
  padding-top: 2.5rem;
}

.art-body {
  max-width: 82ch;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}
.art-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 2.5rem;
}
.art-intro {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.85;
  opacity: 0.7;
  margin-bottom: 2rem;
}

/* Decorative origami strip between body and weitere Beiträge */
.art-deco-strip {
  width: 100%;
  height: 64px;
  background-color: var(--off-white);
  background-image: url('/assets/img/deco-strip.svg');
  background-repeat: repeat-x;
  background-position: center center;
  background-size: auto 52px;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

hr {
  border: none;
  border-top: 1px solid var(--black);
  margin: 3rem auto;
}

/* ── BESUCHEN-SEITE ────────────────────────────────────────────── */
.besuchen-wrap {
  background: var(--akzent, #ECA99A);
}
.besuchen-hero {
  height: clamp(140px, 20vw, 260px);
}
.besuchen-page {
  /* full width — no container */
}

/* Accordion: full-width sections separated by lines */
.accordion-section {
  border-top: 2px solid var(--black);
}
.accordion-section:last-child {
  border-bottom: 2px solid var(--black);
}

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.accordion-toggle__label {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.accordion-toggle__icon {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.5rem);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.accordion-panel {
  padding: 0 2rem 3.5rem;
}
.accordion-panel .prose { 
  max-width: 68ch;
  margin: 0 auto;
 }

/* ── TICKET-KARTE ── */
.ticket-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 3rem 1.5rem;
  max-width: 68ch;
  margin: 1rem auto 0;
  position: relative;
}
/* Notch cut-outs on left and right edge */
.ticket-card::before,
.ticket-card::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--akzent, #ECA99A);
  top: 50%;
  transform: translateY(-50%);
}
.ticket-card::before { left:  -15px; }
.ticket-card::after  { right: -15px; }

.ticket-row {
  padding: 1rem 0;
    font-size: 1rem;

}
.ticket-row + .ticket-row {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.ticket-row__label {
  display: block;
  font-family: var(--font-body);
  margin-bottom: 0.25rem;
}
.ticket-row__price {
  display: block;
  font-family: var(--font-body);
}
.ticket-row--note .ticket-row__note {
  display: block;
  font-family: var(--font-body);
  padding: 0.25rem 0;
}

/* FAQ */
.faq-list { max-width: 68ch; display: flex; flex-direction: column; gap: 2rem; }
.faq-item__q { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.faq-item__a { font-size: 0.87rem; line-height: 1.8; }

/* ── ÜBER UNS ──────────────────────────────────────────────────── */
.ueber-uns-wrap {
  background: var(--akzent, #fff);
}

/* Content blocks: centered max-width */
.ueber-uns-wrap .block-heading,
.ueber-uns-wrap .block-text,
.ueber-uns-wrap .block-quote,
.ueber-uns-wrap .kirby-block--image {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.ueber-uns-wrap .block-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.ueber-uns-wrap .block-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.85;
  padding-bottom: 2.5rem;
}

.ueber-uns-wrap .block-text p + p { margin-top: 1.25rem; }

/* Quote block */
.block-quote {
  padding-top: 3rem;
  padding-bottom: 3rem;

  margin-top: 1rem;
  margin-bottom: 2rem;
}

.block-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.block-quote figcaption {
  font-family: var(--font-body);
  font-size: 0.78rem;
  opacity: 0.65;
}

/* ── ZEITSTRAHL BLOCK ── */
.zeitstrahl-block {
    max-width: 820px;

  margin: 1rem auto 4rem;
  padding: 0 2rem;
}

.zeitstrahl {
  position: relative;
}

/* Vertical line */

/* .zeitstrahl::before {
  content: '';
  position: absolute;
  left: 5.6rem;
  top: 0.45rem;
  bottom: 2rem;
  width: 2px;
  background: var(--black);
} */

.zt-eintrag {
  display: grid;
  grid-template-columns: 1fr 3fr;
  /* padding-bottom: 3.5rem; */
  border-top: 1px solid;
  margin-bottom: 1rem;
  padding-top: 1rem;
}


.zt-eintrag__jahr {
  font-size: 3rem;
  line-height: 1;
}


.zt-eintrag__inhalt { padding-left: 1rem; }

.zt-eintrag__titel {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.zt-eintrag__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-top: 0.5rem;
}

/* ── GRAFIK-RIEGEL BLOCK ── */
.gr-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.gr-block--img-right .gr-block__text  { order: 1; }
.gr-block--img-right .gr-block__media { order: 2; }

.gr-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 5rem;
}

.gr-block--img-right .gr-block__text {
  padding: 4rem 5rem 4rem 4rem;
}

.gr-block__niveau {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.6rem;
}

.gr-block__titel {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.gr-block__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.85;
}

.gr-block__media {
  overflow: hidden;
}

.gr-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .blocks > article { grid-template-columns: 1fr; }
  .blocks > article > div:first-child,
  .blocks > article > div:last-child { order: unset !important; }
  .blocks > article > div:first-child { min-height: 280px; padding: 2.5rem; }
  .blocks > article > div:last-child  { padding: 2.5rem 2rem !important; }
  .cards { grid-template-columns: 1fr; }
  .cards > article { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.15); padding: 3.5rem 2.5rem 4rem; }
  .cards > article:last-child { border-bottom: none; }
  .card-visual { width: 60%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__newsletter { padding: 2.5rem 2rem 3rem; }
  /* über uns – zeitstrahl */
  .zeitstrahl-block { padding: 0 1.5rem; }
  .zeitstrahl::before { left: 4.5rem; }
  /* über uns – grafik-riegel */
  .gr-block { grid-template-columns: 1fr; min-height: unset; }
  .gr-block--img-right .gr-block__text,
  .gr-block--img-right .gr-block__media { order: unset; }
  .gr-block__text,
  .gr-block--img-right .gr-block__text { padding: 3rem 2rem; }
  .gr-block__media { min-height: 280px; }
  /* frühere ausstellungen */
  .arch-eintrag { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem 2rem; }
  /* exhibition page */
  .auss-gallery { grid-template-columns: 1fr 1fr; }
  /* article page */
  .art-body { padding: 3.5rem 1.75rem 4rem; }
}

@media (max-width: 600px) {
  .site-header { padding: 1rem 1.25rem; }
  .nav-toggle {
  padding: 0.5rem .35rem; 
  }
  .site-header__plan { display: none; }
  .hero-text { padding: 2rem 1.25rem 1rem; }
  .cards > article { padding: 3rem 1.5rem 3.5rem; }
  .card-visual { width: 72%; }
  .termine li { grid-template-columns: 110px 1fr; gap: 1.25rem; padding: 1.3rem 1.25rem; }
  .site-footer__inner { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
  .site-footer__bottom { padding: 1rem 1.5rem; }
  .site-footer__newsletter { padding: 2rem 1.5rem 2.5rem; }
  .newsletter-form { max-width: 100%; }
  .newsletter-form__fields { flex-direction: column; }
  /* über uns */
  .ueber-uns-wrap .block-heading,
  .ueber-uns-wrap .block-text,
  .ueber-uns-wrap .block-quote { padding-left: 1.25rem; padding-right: 1.25rem; }
  .gr-block__text,
  .gr-block--img-right .gr-block__text { padding: 2.5rem 1.25rem; }
  /* frühere ausstellungen */
  .arch-eintrag { padding: 1.75rem 1.25rem; }
  /* exhibition page */
  .auss-hero { padding: 2.5rem 1.25rem 4rem; }
  .auss-hero__shape svg { width: 180px; }
  .auss-hero__shape .deco--squircle { width: 130px; max-width: 130px; }
  .auss-hero__title { font-size: 2.4rem; }
  .auss-gallery { grid-template-columns: 1fr; }
  /* article page */
  .art-hero { padding: 1.25rem 1.25rem 0; }
  .art-body { padding: 2rem 1.25rem 4rem; }
  .art-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .art-deco-strip { height: 52px; background-size: auto 42px; }
  .hero-media > video,
.hero-media > picture > img,
.hero-media > img {
  max-height: 28rem;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity  0.6s ease-out var(--reveal-delay, 0s),
      transform 0.6s ease-out var(--reveal-delay, 0s);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
