:root {
  /* Farben Ausstellungen / Fotos */
  --c1: #B9482A;
  --c2: #2E6A4C;
  --c3: #2F55A4;
  /* Farben Veranstaltungen */
  --d1: #5E6A26;
  --d2: #6A55A6;
  --d3: #1F6F78;

  --ink: #151515;
  --white: #ffffff;
  --display: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;
  --body: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;
  --pad: 4%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--white); background: var(--ink); }
a { color: var(--white); }
a:hover { color: #f3e9d8; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
img { max-width: 100%; display: block; }

/* Spalten-Hintergrund */
.stripes--a { background: linear-gradient(90deg, var(--c1) 0 33.34%, var(--c2) 33.34% 66.67%, var(--c3) 66.67% 100%); }
.stripes--b { background: linear-gradient(90deg, var(--d1) 0 33.34%, var(--d2) 33.34% 66.67%, var(--d3) 66.67% 100%); }
.stripes--c { background: linear-gradient(90deg, var(--c3) 0 33.34%, var(--c1) 33.34% 66.67%, var(--c2) 66.67% 100%); }

/* Hero */
.hero { padding: 40px var(--pad) 96px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1; text-decoration: none; }
.logo--big { font-size: 40px; }
.nav { display: flex; gap: 32px; flex-wrap: wrap; font-size: 18px; }
.nav a { text-decoration: none; padding: 10px 0; }
.hero__inner { text-align: center; padding-top: 120px; }
.hero__lead { margin: 32px auto 0; max-width: 560px; font-size: 22px; line-height: 1.4; }

/* Titel: einzelne Buchstaben reagieren auf die Maus */
.crazy-title {
  margin: 0; font-family: var(--display); font-weight: 600;
  font-size: clamp(48px, 10.5vw, 176px); line-height: 0.95; letter-spacing: -0.03em; cursor: default;
}
.crazy-title .line { display: block; }
.crazy-title .ltr { display: inline-block; white-space: pre; }
.ltr.fx-fall  { animation: fx-fall 1.4s cubic-bezier(.5,0,.5,1) both; }
.ltr.fx-tip   { transform-origin: 100% 100%; animation: fx-tip 1.3s ease-in-out both; }
.ltr.fx-tipback { transform-origin: 0% 100%; animation: fx-tipback 1.3s ease-in-out both; }
.ltr.fx-swing { transform-origin: 50% 0%; animation: fx-swing 1.4s ease-in-out both; }
.ltr.fx-squash { transform-origin: 50% 100%; animation: fx-squash .9s ease-out both; }
.ltr.fx-jump  { animation: fx-jump 1s ease-out both; }

@keyframes fx-fall {
  0%   { transform: translateY(0) rotate(0); }
  35%  { transform: translateY(0.9em) rotate(28deg); }
  45%  { transform: translateY(0.75em) rotate(22deg); }
  55%  { transform: translateY(0.9em) rotate(28deg); }
  75%  { transform: translateY(0.9em) rotate(28deg); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes fx-tip {
  0%   { transform: rotate(0); }
  30%  { transform: rotate(90deg); }
  38%  { transform: rotate(80deg); }
  45%  { transform: rotate(90deg); }
  75%  { transform: rotate(90deg); }
  100% { transform: rotate(0); }
}
@keyframes fx-tipback {
  0%   { transform: rotate(0); }
  30%  { transform: rotate(-90deg); }
  38%  { transform: rotate(-80deg); }
  45%  { transform: rotate(-90deg); }
  75%  { transform: rotate(-90deg); }
  100% { transform: rotate(0); }
}
@keyframes fx-swing {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(35deg); }
  40%  { transform: rotate(-25deg); }
  60%  { transform: rotate(15deg); }
  80%  { transform: rotate(-6deg); }
  100% { transform: rotate(0); }
}
@keyframes fx-squash {
  0%   { transform: scale(1, 1); }
  30%  { transform: scale(1.35, .45); }
  55%  { transform: scale(.85, 1.15); }
  75%  { transform: scale(1.05, .95); }
  100% { transform: scale(1, 1); }
}
@keyframes fx-jump {
  0%   { transform: translateY(0) rotate(0); }
  40%  { transform: translateY(-0.6em) rotate(-360deg); }
  70%  { transform: translateY(0) rotate(-360deg); }
  82%  { transform: translateY(-0.08em) rotate(-360deg); }
  100% { transform: translateY(0) rotate(-360deg); }
}

/* Abschnitts-Titel */
.section-title {
  margin: 0; padding: 96px var(--pad) 64px; text-align: center;
  font-family: var(--display); font-weight: 500; font-size: clamp(56px, 10vw, 160px);
  line-height: 0.9; letter-spacing: -0.04em;
}

/* Platzhalter */
.placeholder { color: #8f8f8f; font-size: 15px; }

/* Ausstellungen */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card--1 { background: var(--c1); }
.card--2 { background: var(--c2); }
.card--3 { background: var(--c3); }
.card__media { position: relative; height: 440px; background: #d6d4cf; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 32px; left: 32px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; padding: 8px 14px; }
.dates { position: absolute; left: 32px; bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.date { font-family: var(--display); font-size: 30px; padding: 4px 14px; }
.date--dark { background: var(--ink); color: var(--white); }
.date--light { background: var(--white); color: var(--ink); }
.card__body { padding: 48px 32px 72px; text-align: center; }
.card__body h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; }
.card__body p { margin: 20px 0 0; font-size: 18px; line-height: 1.45; }

.center { display: flex; justify-content: center; padding: 24px var(--pad) 96px; }
.oval {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 34px 64px; border: 2px solid var(--white); border-radius: 50%;
  font-size: 24px; text-decoration: none; transition: background .25s, color .25s;
}
.oval:hover { background: var(--white); color: var(--ink); }

/* Veranstaltungen */
.events { padding: 0 var(--pad) 0; }
.events .section-title { padding-left: 0; padding-right: 0; }
.event {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 8%;
  padding: 40px 0; border-top: 2px solid var(--white); text-decoration: none; align-items: start;
}
.event__when { font-family: var(--display); font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.event__media { height: 220px; background: rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.event__media .placeholder { color: #d0d0d0; }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.event p { margin: 16px 0 0; font-size: 18px; line-height: 1.45; }
.events__more { border-top: 2px solid var(--white); padding-top: 40px; }

/* Fotos */
.photos { padding-bottom: 96px; }
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slide {
  margin: 0; flex: 0 0 min(420px, 85vw); height: 600px; position: relative; background: #34332f;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 36px;
}
.slide:nth-child(2n) { background: #2c2f33; }
.slide:nth-child(3n) { background: #3d3631; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .placeholder { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.slide figcaption { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font-size: 18px; line-height: 1.45; }
.chip { color: var(--white); font-family: var(--display); font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; padding: 4px 14px; }
.chip--1 { background: var(--c1); }
.chip--2 { background: var(--c2); }
.chip--3 { background: var(--c3); }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px;
  border: 0; background: transparent; color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.arrow--prev { left: 24px; }
.arrow--next { right: 24px; }

/* Footer */
.footer {
  padding: 80px var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px; font-size: 18px; line-height: 1.6;
}

@media (max-width: 700px) {
  .hero__inner { padding-top: 72px; }
  .section-title { padding-top: 72px; padding-bottom: 48px; }
  .card__media { height: 340px; }
  .slide { height: 480px; }
  .oval { padding: 26px 44px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crazy-title .ltr { animation: none !important; }
  .slider__track { transition: none; }
}

/* Zweite Schrift: Beautique */
@font-face {
  font-family: 'Beautique';
  src: url('schriften/beautique.woff2') format('woff2'),
       url('schriften/beautique.woff') format('woff'),
       url('schriften/beautique.otf') format('opentype'),
       url('schriften/beautique.ttf') format('truetype');
  font-display: swap;
}
.crazy-title .line--2 { font-family: 'Beautique', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

/* Schriftmischung: einzelne Wörter in Beautique kursiv  →  <em>Wort</em> */
@font-face {
  font-family: 'Beautique';
  src: url("schriften/beautique-italic.woff2") format("woff2"), url("schriften/beautique-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
em, .kursiv {
  font-family: 'Beautique', Georgia, serif;
  font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em { font-size: 1.08em; line-height: 0; }
