/* ==========================================================================
   Circus Enrico – Theme
   Jede Saison ist nur ein Satz Farbvariablen. Layout und Komponenten sind gleich.
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Abril Fatface";
  src: url("../fonts/abril-fatface-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Saison: Normal (Standard) ---------- */
:root {
  --ce-font-display: "Abril Fatface", "Bodoni 72", Didot, Georgia, serif;
  --ce-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ce-max: 1280px;
  --ce-radius: 24px;

  --ce-bg: #fbf3e4; --ce-text: #1c1f45; --ce-muted: #57566e; --ce-soft: #33355a; --ce-hl: #d7182a;
  --ce-accent: #d7182a; --ce-accent-ink: #fff; --ce-primary: #1e2a6e; --ce-primary-ink: #fff;
  --ce-top-bg: #1e2a6e; --ce-top-text: #fff; --ce-top-accent: #f7c95c;
  --ce-hero-bg: repeating-conic-gradient(from 0deg at 50% 100%, rgba(242,179,61,.16) 0deg 5deg, rgba(242,179,61,0) 5deg 10deg), radial-gradient(ellipse 80% 70% at 50% 35%, #fffdf8 0%, #f8e6c6 80%);
  --ce-stripe-a: #d7182a; --ce-stripe-b: #fffdf8;
  --ce-card: #fff; --ce-card-line: #ebddc4;
  --ce-panel: #fff; --ce-panel-ink: #1c1f45; --ce-panel-muted: #57566e; --ce-panel-line: #ebddc4; --ce-panel-accent: #d7182a;
  --ce-q2-bg: #1e2a6e; --ce-q2-ink: #fff; --ce-q2-accent: #f7c95c;
  --ce-band: #f5e7cf;
  --ce-footer: #1c1f45; --ce-foot-text: #fff; --ce-foot-muted: #cdd0e4; --ce-foot-link: #f7c95c;
  --ce-glass: rgba(255,255,255,.75); --ce-glass-line: #ebddc4; --ce-ghost: rgba(28,31,69,.4);
  --ce-beam: rgba(242,179,61,.35); --ce-bulb: #f2b33d;
  --ce-pill-bg: rgba(255,255,255,.92); --ce-pill-ink: #1c1f45;
  --ce-box: linear-gradient(135deg, #fff, #f8e9cf); --ce-box-line: #ebddc4;
  --ce-cta: #d7182a; --ce-cta-ink: #fff; --ce-cta-muted: #ffe3e5; --ce-cta-btn: #fff; --ce-cta-btn-ink: #b01222;
  --ce-manege: #e8c48a; --ce-manege-text: #1c1f45; --ce-manege-ring: #fffdf8;
  --ce-loge: #d7182a; --ce-sperr: #f2b33d; --ce-rang: #2e5bbf;
  --ce-tint-1: #f9d0d3; --ce-tint-2: #d3dbf5; --ce-tint-3: #fce5b0; --ce-tint-4: #f7dcc4;
  --ce-shadow: 0 20px 50px rgba(28,31,69,.10);
}

/* ---------- Saison: Weihnachtscircus ---------- */
body.season-weihnachten {
  --ce-bg: #0e1022; --ce-text: #f6eedf; --ce-muted: #cfc3ab; --ce-soft: #e7dcc6; --ce-hl: #e2b24a;
  --ce-accent: #e2b24a; --ce-accent-ink: #1a1206; --ce-primary: #7a1424; --ce-primary-ink: #f6eedf;
  --ce-top-bg: #7a1424; --ce-top-text: #f6eedf; --ce-top-accent: #f3d58b;
  --ce-hero-bg: radial-gradient(ellipse 70% 60% at 50% 38%, #2a1830 0%, #0e1022 70%);
  --ce-stripe-a: #8e1a2c; --ce-stripe-b: #f6eedf;
  --ce-card: #171a33; --ce-card-line: rgba(246,238,223,.08);
  --ce-panel: #f6eedf; --ce-panel-ink: #1b1520; --ce-panel-muted: #4a4048; --ce-panel-line: #e3d6be; --ce-panel-accent: #7a1424;
  --ce-q2-bg: #7a1424; --ce-q2-ink: #f6eedf; --ce-q2-accent: #f3d58b;
  --ce-band: #121530;
  --ce-footer: #080918; --ce-foot-text: #f6eedf; --ce-foot-muted: #cfc3ab; --ce-foot-link: #e2b24a;
  --ce-glass: rgba(255,255,255,.07); --ce-glass-line: rgba(255,255,255,.16); --ce-ghost: rgba(255,255,255,.5);
  --ce-beam: rgba(243,213,139,.28); --ce-bulb: #f3d58b;
  --ce-pill-bg: rgba(0,0,0,.6); --ce-pill-ink: #f6eedf;
  --ce-box: linear-gradient(135deg, #1b1e3b, #241328); --ce-box-line: rgba(226,178,74,.2);
  --ce-cta: #e2b24a; --ce-cta-ink: #1a1206; --ce-cta-muted: #3a2a10; --ce-cta-btn: #1a1206; --ce-cta-btn-ink: #f6eedf;
  --ce-manege: #8a5530; --ce-manege-text: #f3d58b; --ce-manege-ring: #f6eedf;
  --ce-loge: #e2b24a; --ce-sperr: #c0394e; --ce-rang: #5f8fd8;
  --ce-tint-1: #4b2d5c; --ce-tint-2: #6a2333; --ce-tint-3: #23466a; --ce-tint-4: #2e4a36;
  --ce-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* ---------- Saison: Silvester-Gala ---------- */
body.season-silvester {
  --ce-bg: #060606; --ce-text: #f3e7c8; --ce-muted: #bdb39c; --ce-soft: #dcd0b4; --ce-hl: #d9b85c;
  --ce-accent: #d9b85c; --ce-accent-ink: #141008; --ce-primary: #d9b85c; --ce-primary-ink: #141008;
  --ce-top-bg: #d9b85c; --ce-top-text: #141008; --ce-top-accent: #4a3a10;
  --ce-hero-bg: radial-gradient(ellipse 70% 60% at 50% 30%, #2a2416 0%, #060606 70%);
  --ce-stripe-a: #1e1a12; --ce-stripe-b: #d9b85c;
  --ce-card: #121110; --ce-card-line: rgba(243,231,200,.1);
  --ce-panel: #f3e7c8; --ce-panel-ink: #141008; --ce-panel-muted: #4a4232; --ce-panel-line: #dccda6; --ce-panel-accent: #7a5e14;
  --ce-q2-bg: #1a1712; --ce-q2-ink: #f3e7c8; --ce-q2-accent: #d9b85c;
  --ce-band: #0e0d0b;
  --ce-footer: #000; --ce-foot-text: #f3e7c8; --ce-foot-muted: #bdb39c; --ce-foot-link: #d9b85c;
  --ce-glass: rgba(255,255,255,.06); --ce-glass-line: rgba(217,184,92,.3); --ce-ghost: rgba(243,231,200,.5);
  --ce-beam: rgba(217,184,92,.22); --ce-bulb: #d9b85c;
  --ce-pill-bg: rgba(0,0,0,.6); --ce-pill-ink: #f3e7c8;
  --ce-box: linear-gradient(135deg, #15130f, #221c10); --ce-box-line: rgba(217,184,92,.3);
  --ce-cta: #d9b85c; --ce-cta-ink: #141008; --ce-cta-muted: #3e3216; --ce-cta-btn: #141008; --ce-cta-btn-ink: #f3e7c8;
  --ce-manege: #3a3122; --ce-manege-text: #d9b85c; --ce-manege-ring: #d9b85c;
  --ce-loge: #d9b85c; --ce-sperr: #8c7a55; --ce-rang: #5d6b8a;
  --ce-tint-1: #3a3122; --ce-tint-2: #2a2620; --ce-tint-3: #3e2e10; --ce-tint-4: #26221c;
  --ce-shadow: 0 20px 50px rgba(0,0,0,.5);
}

/* ---------- Saison: Frühjahrstournee ---------- */
body.season-fruehling {
  --ce-bg: #eef5fb; --ce-text: #13263d; --ce-muted: #4c5e73; --ce-soft: #33465c; --ce-hl: #c42f64;
  --ce-accent: #c42f64; --ce-accent-ink: #fff; --ce-primary: #1f5fa8; --ce-primary-ink: #fff;
  --ce-top-bg: #1f5fa8; --ce-top-text: #fff; --ce-top-accent: #ffe08a;
  --ce-hero-bg: radial-gradient(ellipse 80% 70% at 50% 30%, #fff 0%, #dcebf7 75%);
  --ce-stripe-a: #1f5fa8; --ce-stripe-b: #fff;
  --ce-card: #fff; --ce-card-line: #d5e3f0;
  --ce-panel: #fff; --ce-panel-ink: #13263d; --ce-panel-muted: #4c5e73; --ce-panel-line: #d5e3f0; --ce-panel-accent: #c42f64;
  --ce-q2-bg: #1f5fa8; --ce-q2-ink: #fff; --ce-q2-accent: #ffe08a;
  --ce-band: #e2eef8;
  --ce-footer: #13263d; --ce-foot-text: #fff; --ce-foot-muted: #c9d4e0; --ce-foot-link: #ffe08a;
  --ce-glass: rgba(255,255,255,.7); --ce-glass-line: #d5e3f0; --ce-ghost: rgba(19,38,61,.4);
  --ce-beam: transparent; --ce-bulb: #f2b33d;
  --ce-pill-bg: rgba(255,255,255,.9); --ce-pill-ink: #13263d;
  --ce-box: linear-gradient(135deg, #fff, #e4eff9); --ce-box-line: #d5e3f0;
  --ce-cta: #c42f64; --ce-cta-ink: #fff; --ce-cta-muted: #ffe6ef; --ce-cta-btn: #fff; --ce-cta-btn-ink: #a3204f;
  --ce-manege: #e8d3a8; --ce-manege-text: #13263d; --ce-manege-ring: #fff;
  --ce-loge: #c42f64; --ce-sperr: #f2b33d; --ce-rang: #1f5fa8;
  --ce-tint-1: #f9d3e0; --ce-tint-2: #cfe3f2; --ce-tint-3: #fce7b4; --ce-tint-4: #d6eed9;
  --ce-shadow: 0 20px 50px rgba(19,38,61,.10);
}

/* ---------- Saison: Sommergastspiel ---------- */
body.season-sommer {
  --ce-bg: #fff6e5; --ce-text: #24151a; --ce-muted: #5e4a44; --ce-soft: #3e2c2a; --ce-hl: #c8102e;
  --ce-accent: #c8102e; --ce-accent-ink: #fff; --ce-primary: #24151a; --ce-primary-ink: #fff6e5;
  --ce-top-bg: #c8102e; --ce-top-text: #fff; --ce-top-accent: #ffe08a;
  --ce-hero-bg: radial-gradient(ellipse 80% 70% at 50% 25%, #fffdf7 0%, #ffe6b3 80%);
  --ce-stripe-a: #c8102e; --ce-stripe-b: #fffdf7;
  --ce-card: #fff; --ce-card-line: #f0dfc0;
  --ce-panel: #fff; --ce-panel-ink: #24151a; --ce-panel-muted: #5e4a44; --ce-panel-line: #f0dfc0; --ce-panel-accent: #c8102e;
  --ce-q2-bg: #c8102e; --ce-q2-ink: #fff; --ce-q2-accent: #ffe08a;
  --ce-band: #ffebc4;
  --ce-footer: #24151a; --ce-foot-text: #fff6e5; --ce-foot-muted: #e8d9cc; --ce-foot-link: #ffe08a;
  --ce-glass: rgba(255,255,255,.7); --ce-glass-line: #f0dfc0; --ce-ghost: rgba(36,21,26,.45);
  --ce-beam: transparent; --ce-bulb: #c8102e;
  --ce-pill-bg: rgba(255,255,255,.9); --ce-pill-ink: #24151a;
  --ce-box: linear-gradient(135deg, #fff, #ffebc4); --ce-box-line: #f0dfc0;
  --ce-cta: #f2b33d; --ce-cta-ink: #24151a; --ce-cta-muted: #4a3218; --ce-cta-btn: #24151a; --ce-cta-btn-ink: #fff6e5;
  --ce-manege: #e8c48a; --ce-manege-text: #24151a; --ce-manege-ring: #fffdf7;
  --ce-loge: #c8102e; --ce-sperr: #f2b33d; --ce-rang: #2e6fb5;
  --ce-tint-1: #ffd9d9; --ce-tint-2: #ffe6b3; --ce-tint-3: #d6e6f7; --ce-tint-4: #ffd9c2;
  --ce-shadow: 0 20px 50px rgba(36,21,26,.10);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ce-bg);
  color: var(--ce-text);
  font: 400 17px/1.6 var(--ce-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ce-hl); }
a:hover { color: var(--ce-text); }
h1, h2, h3 { font-family: var(--ce-font-display); font-weight: 400; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
.ce-wrap { max-width: var(--ce-max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text, .ce-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.ce-skip:focus { position: fixed; left: 16px; top: 16px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--ce-panel); color: var(--ce-panel-ink); padding: 12px 18px; border-radius: 12px; }
:focus-visible { outline: 3px solid var(--ce-hl); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  background: var(--ce-accent); color: var(--ce-accent-ink);
  font: 800 16px/1 var(--ce-font-body); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ce-btn:hover { color: var(--ce-accent-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); filter: brightness(1.05); }
.ce-btn--lg { min-height: 56px; font-size: 17px; padding: 0 32px; }
.ce-btn--ghost { background: transparent; color: var(--ce-text); border: 1.5px solid var(--ce-ghost); }
.ce-btn--ghost:hover { color: var(--ce-text); border-color: var(--ce-text); }
.ce-btn--primary { background: var(--ce-primary); color: var(--ce-primary-ink); }
.ce-btn--primary:hover { color: var(--ce-primary-ink); }

.ce-kicker { display: block; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; color: var(--ce-hl); }
.ce-h2 { font-size: clamp(36px, 5vw, 60px); }

/* ---------- Oberer Balken ---------- */
.ce-topbar {
  background: var(--ce-top-bg); color: var(--ce-top-text);
  padding: 10px 24px; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-align: center;
}
.ce-topbar a { color: var(--ce-top-accent); text-decoration: none; }
.ce-topbar a:hover { color: var(--ce-top-text); text-decoration: underline; }

/* ---------- Kopfbereich ---------- */
.ce-header { position: sticky; top: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease; }
.ce-header.is-scrolled { background: color-mix(in srgb, var(--ce-bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--ce-card-line); }
.ce-header__inner { max-width: var(--ce-max); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ce-logo { display: flex; flex-direction: column; line-height: 1; color: var(--ce-text); text-decoration: none; }
.ce-logo:hover { color: var(--ce-text); }
.ce-logo__name { font-family: var(--ce-font-display); font-size: 32px; }
.ce-logo__since { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--ce-hl); margin-top: 6px; font-weight: 800; }
.ce-logo img { max-height: 56px; width: auto; }
.ce-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 28px; flex-wrap: wrap; }
.ce-nav a { color: var(--ce-text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; position: relative; }
.ce-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--ce-hl); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.ce-nav a:hover::after, .ce-nav .current-menu-item > a:not([href*="#"])::after { transform: scaleX(1); }
.ce-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ce-ghost); background: transparent; color: var(--ce-text); cursor: pointer; align-items: center; justify-content: center; }
.ce-header__cta { flex: none; }

@media (max-width: 1000px) {
  .ce-burger { display: inline-flex; }
  .ce-header__cta { display: none; }
  .ce-nav { position: fixed; inset: 0; background: var(--ce-bg); padding: 110px 32px 32px; transform: translateY(-100%); transition: transform .35s ease; z-index: -1; overflow-y: auto; }
  .ce-nav ul { flex-direction: column; gap: 4px; }
  .ce-nav a { font: 400 34px/1.3 var(--ce-font-display); }
  .ce-nav a::after { display: none; }
  .ce-nav__cta { margin-top: 24px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .ce-nav { transform: none; }
}
@media (min-width: 1001px) { .ce-nav__cta { display: none; } }

/* ---------- Hero ---------- */
.ce-hero {
  position: relative; overflow: hidden; min-height: 780px; margin-top: -88px; padding-top: 88px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ce-hero-bg);
}
.ce-hero__beam {
  position: absolute; top: -40px; width: 260px; height: 860px; pointer-events: none;
  background: linear-gradient(180deg, var(--ce-beam), transparent);
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); transform-origin: 50% 0;
}
.ce-hero__beam--l { left: 20%; animation: ce-sweep-l 9s ease-in-out infinite; }
.ce-hero__beam--r { right: 20%; animation: ce-sweep-r 11s ease-in-out infinite; }
.season-fruehling .ce-hero__beam, .season-sommer .ce-hero__beam { display: none; }
.ce-bulbs { position: absolute; left: 0; right: 0; top: 84px; display: flex; justify-content: space-around; padding: 0 4%; pointer-events: none; }
.ce-bulbs span { width: 8px; height: 8px; border-radius: 50%; background: var(--ce-bulb); box-shadow: 0 0 12px var(--ce-bulb); animation: ce-twinkle 2.4s ease-in-out infinite; }
.season-silvester .ce-bulbs, .season-fruehling .ce-bulbs { display: none; }
.ce-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ce-fx span { position: absolute; display: block; }
.ce-hero__inner { position: relative; z-index: 2; max-width: 1000px; padding: 110px 24px 240px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ce-hero .ce-kicker { letter-spacing: .32em; }
.ce-hero__title { font-size: clamp(48px, 8vw, 112px); line-height: .95; letter-spacing: -.01em; }
.ce-hero__title em { font-style: normal; color: var(--ce-hl); display: block; }
.ce-hero__sub { max-width: 640px; font-size: 19px; color: var(--ce-soft); margin: 0; }
.ce-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.ce-countdown { display: flex; gap: 12px; margin-top: 24px; }
.ce-countdown__item { background: var(--ce-glass); border: 1px solid var(--ce-glass-line); border-radius: 14px; padding: 12px 16px; min-width: 80px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ce-countdown__num { font: 400 36px/1.1 var(--ce-font-display); }
.ce-countdown__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ce-muted); font-weight: 700; }
.ce-countdown__caption { font-size: 14px; color: var(--ce-muted); font-weight: 600; margin-top: -8px; }
.ce-hero__tent {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1100px, 120%); height: 200px;
  background: repeating-linear-gradient(90deg, var(--ce-stripe-a) 0 56px, var(--ce-stripe-b) 56px 112px);
  clip-path: polygon(0 100%, 8% 62%, 30% 34%, 50% 0, 70% 34%, 92% 62%, 100% 100%);
}
.ce-hero__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: var(--ce-bg); }
@media (max-width: 700px) {
  .ce-hero { min-height: 680px; }
  .ce-hero__inner { padding: 90px 20px 190px; }
  .ce-hero__tent { height: 140px; }
  .ce-countdown__item { min-width: 70px; padding: 10px 12px; }
}

/* ---------- Effekte ---------- */
@keyframes ce-fall { from { transform: translateY(-40px); } to { transform: translateY(860px); } }
@keyframes ce-confetti { from { transform: translateY(-40px) rotate(0); } to { transform: translateY(860px) rotate(600deg); } }
@keyframes ce-rise { from { transform: translateY(0); } to { transform: translateY(-1000px); } }
@keyframes ce-burst { 0% { transform: scale(.1); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes ce-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes ce-sweep-l { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(6deg); } }
@keyframes ce-sweep-r { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(-6deg); } }
body[data-effects="0"] .ce-fx, body[data-effects="0"] .ce-hero__beam { display: none; }
body[data-effects="0"] .ce-bulbs span { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ce-fx { display: none; }
  .ce-hero__beam, .ce-bulbs span { animation: none !important; }
}

/* ---------- Nächstes Gastspiel ---------- */
.ce-next { position: relative; z-index: 3; margin-top: -10px; }
.ce-next__card {
  background: var(--ce-panel); color: var(--ce-panel-ink); border: 1px solid var(--ce-panel-line);
  border-radius: var(--ce-radius); padding: 36px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
  box-shadow: var(--ce-shadow);
}
.ce-next__info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.ce-next__info .ce-kicker { color: var(--ce-panel-accent); font-size: 12px; letter-spacing: .24em; }
.ce-next__title { font-size: 40px; }
.ce-next__meta { color: var(--ce-panel-muted); margin: 0; }
.ce-next__dates { flex: 2 1 520px; display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ce-next__dates li { flex: 1 1 150px; display: flex; }
.ce-next__date { flex: 1; border: 1.5px solid var(--ce-panel-line); border-radius: 16px; padding: 14px 16px; color: var(--ce-panel-ink); text-decoration: none; display: block; transition: border-color .2s ease, transform .2s ease; }
a.ce-next__date:hover { border-color: var(--ce-panel-accent); color: var(--ce-panel-ink); transform: translateY(-2px); }
.ce-next__date small { display: block; font-size: 13px; font-weight: 700; color: var(--ce-panel-muted); }
.ce-next__date strong { display: block; font-size: 20px; margin-top: 2px; }
.ce-next__date span { font-size: 14px; color: var(--ce-panel-muted); }

/* ---------- Abschnitte ---------- */
.ce-section { padding: 110px 0 40px; }
.ce-section__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 40px; }
.ce-section__head > div { display: flex; flex-direction: column; gap: 10px; }
.ce-section__lead { max-width: 440px; color: var(--ce-muted); margin: 0; }

/* Programm */
.ce-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ce-act { background: var(--ce-card); border: 1px solid var(--ce-card-line); border-radius: 22px; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.ce-act:hover { transform: translateY(-6px); box-shadow: var(--ce-shadow); }
.ce-act__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(circle at 50% 20%, var(--tint, var(--ce-tint-1)), var(--ce-card)); }
.ce-act:nth-child(4n+2) .ce-act__media { --tint: var(--ce-tint-2); }
.ce-act:nth-child(4n+3) .ce-act__media { --tint: var(--ce-tint-3); }
.ce-act:nth-child(4n+4) .ce-act__media { --tint: var(--ce-tint-4); }
.ce-act__media img, .ce-act__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ce-act:hover .ce-act__media img { transform: scale(1.05); }
.ce-act__tag { position: absolute; top: 16px; left: 16px; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--ce-pill-bg); color: var(--ce-pill-ink); padding: 6px 12px; border-radius: 999px; }
.ce-act__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ce-act__title { font-size: 26px; }
.ce-act__meta { font-size: 15px; color: var(--ce-muted); }
.ce-act__text { font-size: 15px; color: var(--ce-muted); margin: 4px 0 0; }

@media (max-width: 600px) {
  .ce-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ce-act__body { padding: 12px 14px 16px; }
  .ce-act__title { font-size: 20px; }
  .ce-act__meta, .ce-act__text { font-size: 13px; }
  .ce-act__tag { font-size: 10px; top: 10px; left: 10px; padding: 4px 8px; }
  .ce-next__card { padding: 24px; }
  .ce-next__dates li { flex-basis: 90px; }
  .ce-next__date { padding: 12px; }
  .ce-next__date strong { font-size: 18px; }
}

/* Saalplan-Teaser */
.ce-box { background: var(--ce-box); border: 1px solid var(--ce-box-line); border-radius: 32px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ce-box__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ce-box__text p { margin: 0; color: var(--ce-soft); font-size: 17px; }
.ce-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.ce-legend li { display: flex; align-items: center; gap: 10px; }
.ce-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.ce-legend small { font-weight: 500; color: var(--ce-muted); font-size: 13px; }
.ce-miniplan { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; transition: transform .4s ease; }
.ce-miniplan:hover { transform: scale(1.03); }
.ce-miniplan svg { width: 100%; max-width: 360px; height: auto; }
.ce-miniplan__manege { font: 400 22px var(--ce-font-display); fill: var(--ce-manege-text); }
.ce-miniplan__label { font: 800 11px var(--ce-font-body); letter-spacing: .18em; text-transform: uppercase; fill: var(--ce-muted); }
@media (max-width: 700px) { .ce-box { padding: 28px; } }

/* Presse */
.ce-press { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.ce-quote { margin: 0; padding: 40px; border-radius: var(--ce-radius); background: var(--ce-panel); color: var(--ce-panel-ink); border: 1px solid var(--ce-panel-line); display: flex; flex-direction: column; gap: 20px; }
.ce-quote:nth-child(even) { background: var(--ce-q2-bg); color: var(--ce-q2-ink); border-color: transparent; }
.ce-quote blockquote { margin: 0; font: 400 32px/1.15 var(--ce-font-display); }
.ce-quote figcaption { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ce-panel-accent); }
.ce-quote:nth-child(even) figcaption { color: var(--ce-q2-accent); }
.ce-quote figcaption a { color: inherit; }

/* Familiengeschichte */
.ce-history { background: var(--ce-band); border-top: 1px solid var(--ce-card-line); border-bottom: 1px solid var(--ce-card-line); margin-top: 60px; }
.ce-history__inner { padding: 90px 24px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ce-history__year { flex: 1 1 340px; font: 400 clamp(120px, 18vw, 240px)/.85 var(--ce-font-display); color: var(--ce-hl); }
.ce-history__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.ce-history__text h2 { font-size: 44px; }
.ce-history__text p { color: var(--ce-soft); margin: 0; }

/* Galerie */
.ce-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.ce-gallery__item { border-radius: 20px; overflow: hidden; background: var(--ce-card); margin: 0; }
.ce-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.ce-gallery__item img, .ce-gallery__item video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s ease; }
.ce-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .ce-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  }

/* Ticket-Kasten */
.ce-cta { padding: 40px 0 100px; }
.ce-cta__box { background: var(--ce-cta); color: var(--ce-cta-ink); border-radius: 32px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.ce-cta__box h2 { font-size: clamp(34px, 4.4vw, 52px); }
.ce-cta__box p { color: var(--ce-cta-muted); margin: 8px 0 0; font-size: 17px; }
.ce-cta__text { flex: 1 1 400px; }
.ce-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ce-cta .ce-btn { background: var(--ce-cta-btn); color: var(--ce-cta-btn-ink); }
.ce-cta .ce-btn--ghost { background: transparent; color: var(--ce-cta-ink); border: 2px solid var(--ce-cta-ink); }
@media (max-width: 700px) { .ce-cta__box { padding: 36px 28px; } }

/* ---------- Footer ---------- */
.ce-footer { background: var(--ce-footer); color: var(--ce-foot-text); padding: 64px 0 40px; }
.ce-footer__grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.ce-footer__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ce-foot-muted); }
.ce-footer__col:first-child { flex-basis: 260px; }
.ce-footer__col strong { color: var(--ce-foot-text); }
.ce-footer a { color: var(--ce-foot-link); }
.ce-footer a:hover { color: var(--ce-foot-text); }
.ce-footer__brand { font: 400 30px var(--ce-font-display); color: var(--ce-foot-text); }
.ce-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ce-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--ce-foot-muted) 25%, transparent); font-size: 13px; color: var(--ce-foot-muted); }

/* ---------- Unterseiten ---------- */
.ce-pagehead { position: relative; overflow: hidden; background: var(--ce-hero-bg); margin-top: -88px; padding: 170px 0 90px; text-align: center; }
.ce-pagehead h1 { font-size: clamp(42px, 6vw, 80px); }
.ce-pagehead p { color: var(--ce-soft); margin: 16px auto 0; max-width: 640px; font-size: 18px; }
.ce-pagehead .ce-hero__tent { height: 70px; opacity: .9; }
.ce-page { padding: 70px 0 100px; }
.ce-prose > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.ce-prose > .alignwide, .ce-prose > .ce-saalplan, .ce-prose > .wp-block-gallery { max-width: none; }
.ce-prose > h2 { font-size: 36px; margin: 1.6em auto .5em; }
.ce-prose > h3 { font-size: 26px; margin: 1.4em auto .4em; }
.ce-prose ul, .ce-prose ol { padding-left: 1.2em; }
.ce-prose .wp-block-image img { border-radius: 18px; }

/* Gastspiel */
.ce-shows { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-direction: column; gap: 12px; }
.ce-show { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; background: var(--ce-panel); color: var(--ce-panel-ink); border: 1px solid var(--ce-panel-line); border-radius: 18px; padding: 18px 22px; }
.ce-show__date { font: 400 26px var(--ce-font-display); min-width: 180px; }
.ce-show__info { flex: 1 1 200px; color: var(--ce-panel-muted); }
.ce-show__info strong { color: var(--ce-panel-ink); display: block; }
.ce-show.is-past { opacity: .5; }
.ce-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 18px; font-weight: 600; color: var(--ce-soft); }

/* Gastspiel-Übersicht */
.ce-tour { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ce-tour__card { background: var(--ce-panel); color: var(--ce-panel-ink); border: 1px solid var(--ce-panel-line); border-radius: 22px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.ce-tour__card:hover { color: var(--ce-panel-ink); transform: translateY(-4px); box-shadow: var(--ce-shadow); }
.ce-tour__card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ce-tour__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ce-tour__body h2 { font-size: 30px; }
.ce-tour__body span { color: var(--ce-panel-muted); }
.ce-tour__status { align-self: start; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ce-panel-accent); }
.ce-archive { margin-top: 70px; }
.ce-archive h2 { font-size: 30px; margin-bottom: 16px; }
.ce-archive ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; color: var(--ce-muted); }

/* Saalplan in Seiten: Kontrastfarben aus dem Panel */
.ce-saalplan { --ce-line: var(--ce-panel-line); margin: 40px 0; }
.ce-saalplan .ce-sp { --sp-text: var(--ce-panel-ink); --sp-muted: var(--ce-panel-muted); }
.ce-saalplan .ce-sp__chip { color: var(--ce-text); }
.ce-saalplan .ce-sp__note { color: var(--ce-muted); }

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Hinweis, falls das Plugin fehlt */
.ce-notice { background: #fff3cd; color: #5c4400; padding: 12px 24px; text-align: center; font-weight: 600; }
