/* ==========================================================================
   Theater Toffen Kinderstück – Theme «Das kleine Gespenst» 2027
   Contao 4.13 / 5.x · Webagentur Publitiv
   ========================================================================== */

/* ---------- Fonts (selbst gehostet, DSG/DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../../files/gespenst/fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"), url("../../files/gespenst/fonts/fraunces-latin-full-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../../files/gespenst/fonts/fraunces-latin-full-italic.woff2") format("woff2-variations"), url("../../files/gespenst/fonts/fraunces-latin-full-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../../files/gespenst/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations"), url("../../files/gespenst/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0B1030;
  --ink-deep: #070A22;
  --night: #121A48;
  --dusk: #1E2766;
  --mist: #BCC4F0;
  --paper: #F4EEDF;
  --ghost: #FBF8F1;
  --plum: #2B3488;
  --moon: #F6C945;
  --line-dark: rgba(188, 196, 240, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: 64px;
  --radius: 28px;
  --ease-pop: cubic-bezier(.3, 1.6, .5, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.gespenst {
  margin: 0;
  background: var(--ink);
  color: var(--ghost);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.gespenst img { max-width: 100%; height: auto; }
.gespenst a { color: inherit; }
.gespenst p { margin: 0 0 1em; }
.gespenst figure { margin: 0; }
.gespenst h1, .gespenst h2, .gespenst h3, .gespenst h4 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
.gespenst h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.02em; }
.gespenst h3 { font-size: clamp(26px, 2.6vw, 36px); }
.gespenst .invisible, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gespenst :focus-visible { outline: 3px dashed var(--moon); outline-offset: 4px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--moon); color: var(--ink) !important; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Helpers usable in the backend (CSS-Klassen) ---------- */
.kicker { display: block; font-family: var(--sans); font-size: 13px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moon); margin-top: 0 !important; margin-bottom: 18px !important; }
.paper .kicker { color: var(--plum); }
.lead, .lead p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.1;
  text-decoration: none !important; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-pop), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); }
.btn::after { content: "→"; font-weight: 700; transition: transform .25s var(--ease-pop); }
.btn:hover::after { transform: translateX(3px); }
.btn.btn-noarrow::after { content: none; }
.btn-moon { background: var(--moon); color: var(--ink) !important; }
.btn-line { border-color: rgba(251, 248, 241, .45); color: var(--ghost) !important; }
.btn-line:hover { background: rgba(251, 248, 241, .08); }
.btn-ink { background: var(--ink); color: var(--ghost) !important; }
.btn-outline { border-color: var(--ink); color: var(--ink) !important; }
.gespenst .btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; margin-bottom: 0; }

/* ---------- Top banner (Layout-Bereich «topbanner») ---------- */
.topbanner-bar {
  background: var(--moon); color: var(--ink); text-align: center;
  font-size: 14px; font-weight: 600; padding: 10px 16px; line-height: 1.4;
}
.topbanner-bar p { margin: 0; }
.topbanner-bar a { font-weight: 700; }

/* ---------- Header / Navigation ---------- */
#header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 16, 48, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
#header > .inside {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo { display: block; flex: none; }
.site-logo img { height: 34px; width: auto; display: block; }
#header .mod_navigation ul { list-style: none; margin: 0; padding: 0; }
#header .mod_navigation .level_1 { display: flex; align-items: center; gap: 2px; }
#header .mod_navigation .level_1 > li { position: relative; }
#header .mod_navigation a, #header .mod_navigation strong {
  display: block; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 10px 14px; border-radius: 999px; color: var(--mist); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
#header .mod_navigation a:hover { color: var(--ink); background: var(--moon); }
#header .mod_navigation strong.active, #header .mod_navigation a.trail, #header .mod_navigation strong.trail {
  color: var(--ghost); background: rgba(251, 248, 241, .1); font-weight: 600;
}
#header .mod_navigation .level_2 {
  position: absolute; left: 0; top: 100%; min-width: 200px; padding: 8px !important;
  background: var(--night); border: 1px solid var(--line-dark); border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
#header .mod_navigation li:hover > .level_2,
#header .mod_navigation li:focus-within > .level_2 { opacity: 1; visibility: visible; transform: none; }
#header .mod_navigation .level_2 a, #header .mod_navigation .level_2 strong { border-radius: 12px; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid rgba(251, 248, 241, .35); background: transparent;
  color: var(--ghost); font: 600 15px var(--sans); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }
.nav-open .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle-bars span { opacity: 0; }
.nav-open .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Main + article sections ---------- */
#container, #main, #main > .inside { width: 100%; }
#main .mod_article { position: relative; }
.sec { padding: 140px 0; }
body.gespenst .sec > * { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.sec.tight-top { padding-top: 40px; }
.sec.tight-bottom { padding-bottom: 40px; }
.night { background: var(--ink); color: var(--ghost); }
.paper { background: var(--paper); color: var(--ink); }
.paper a:not(.btn) { color: var(--plum); }
.moonbg { background: var(--moon); color: var(--ink); }

/* ---------- Home hero ---------- */
.sec.hero { padding: 0; }
body.gespenst .sec.hero > * { width: 100%; max-width: none; margin: 0; }
.hero-stage {
  position: relative; min-height: 880px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 700px at 78% 22%, #27307A 0%, #141B4C 45%, #0B1030 80%);
  --mx: -600px; --my: -600px;
}
.stars { position: absolute; inset: 0 0 25% 0; pointer-events: none; }
.star { position: absolute; border-radius: 50%; background: #fff; animation: g-twinkle 3.6s ease-in-out infinite; }
@keyframes g-twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.moon {
  position: absolute; right: 7%; top: 80px; width: 360px; aspect-ratio: 1; border-radius: 50%; background: var(--moon);
  box-shadow: 0 0 0 26px rgba(246, 201, 69, .07), 0 0 0 64px rgba(246, 201, 69, .045), 0 0 160px 40px rgba(246, 201, 69, .28);
  animation: g-float 9s ease-in-out infinite;
}
.moon i { position: absolute; border-radius: 50%; background: rgba(11, 16, 48, .08); }
.moon i:nth-child(1) { left: 17%; top: 24%; width: 19%; height: 19%; }
.moon i:nth-child(2) { left: 55%; top: 52%; width: 29%; height: 29%; }
.moon i:nth-child(3) { left: 33%; top: 69%; width: 11%; height: 11%; }
.moon i:nth-child(4) { left: 65%; top: 17%; width: 8%; height: 8%; }
@keyframes g-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.cloud { position: absolute; height: 28px; border-radius: 999px; background: rgba(188, 196, 240, .07); filter: blur(6px); animation: g-drift 38s linear infinite; pointer-events: none; }
.cloud.c1 { top: 96px; width: 260px; animation-delay: -6s; }
.cloud.c2 { top: 430px; width: 180px; animation-delay: -21s; animation-duration: 52s; }
@keyframes g-drift { from { transform: translateX(-30vw); } to { transform: translateX(120vw); } }
.badge { position: absolute; right: calc(7% + 250px); top: 350px; width: 190px; height: 190px; }
.badge svg.ring { width: 100%; height: 100%; animation: g-spin 26s linear infinite; }
.badge svg.clock { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@keyframes g-spin { to { transform: rotate(360deg); } }
.torch {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  -webkit-mask-image: radial-gradient(170px 170px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
  mask-image: radial-gradient(170px 170px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%);
}
.torch-glow { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(220px 220px at var(--mx) var(--my), rgba(246, 201, 69, .10), transparent 70%); }
.torch span { position: absolute; font-family: var(--serif); font-style: italic; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 201, 69, .85); font-variation-settings: "SOFT" 100, "WONK" 1; white-space: nowrap; }
.hero-copy { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: 140px var(--gutter) 330px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(251, 248, 241, .08); border: 1px solid rgba(251, 248, 241, .18);
  font-size: 14px; font-weight: 600; color: var(--ghost); line-height: 1.3; margin: 0;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moon); box-shadow: 0 0 12px var(--moon); animation: g-pulse 1.8s ease-in-out infinite; flex: none; }
@keyframes g-pulse { 50% { opacity: .35; } }
.hero-copy h1 { margin: 30px 0 0; font-weight: 800; }
.hero-copy .h1a { display: block; font-size: clamp(34px, 4.4vw, 64px); font-style: italic; font-weight: 400; line-height: 1; color: var(--mist); }
.hero-copy .h1b { display: block; font-size: clamp(80px, 14.6vw, 212px); line-height: .88; letter-spacing: -.035em; color: var(--ghost); text-shadow: 0 0 60px rgba(188, 196, 240, .35); margin-left: -.03em; }
.h1b .ch { display: inline-block; animation: g-wob 5s ease-in-out infinite; }
@keyframes g-wob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.hero-sub { max-width: 540px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--mist); margin: 30px 0 0 !important; }
.land { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 300px; z-index: 2; display: block; }
.window-glow { animation: g-flicker 4s ease-in-out infinite; }
@keyframes g-flicker { 0%, 100% { opacity: 1; } 45% { opacity: .75; } 50% { opacity: 1; } 70% { opacity: .85; } }

/* ---------- Page head (Unterseiten) ---------- */
.sec.pagehead { padding: 0; }
body.gespenst .sec.pagehead > * { width: 100%; max-width: none; margin: 0; }
.pagehead-stage {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 85% 10%, #27307A 0%, #141B4C 50%, #0B1030 85%);
  padding: 120px 0 110px;
}
.pagehead-stage .moon { width: 200px; top: 50px; right: 8%; }
.pagehead-stage .inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.pagehead-stage h1 { font-size: clamp(56px, 9vw, 140px); font-weight: 800; line-height: .9; letter-spacing: -.03em; margin: 0; max-width: 16ch; }
.pagehead-stage .intro { max-width: 640px; color: var(--mist); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; margin: 28px 0 0 !important; }
.pagehead-stage .hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.pagehead-stage.curtain { background: #0B1030 url("../../files/gespenst/img/vorhang.jpg") center 30% / cover no-repeat; padding: 180px 0 120px; }
.pagehead-stage.curtain::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 48, .35) 0%, rgba(11, 16, 48, .92) 100%); z-index: 0; }

/* ---------- Marquee ---------- */
.sec.marquee { padding: 0; }
body.gespenst .sec.marquee > * { width: 100%; max-width: none; margin: 0; }
.marquee-band { background: var(--moon); color: var(--ink); overflow: hidden; padding: 20px 0; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: g-marquee 36s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 34px; white-space: nowrap; font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1.2; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 24px; }
@keyframes g-marquee { to { transform: translateX(-50%); } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.split.center { align-items: center; }
.split .sticky { position: sticky; top: 130px; }
.signature { display: flex; gap: 14px; align-items: center; color: var(--mist); font-size: 16px; margin-top: 36px !important; }

/* ---------- Poem ---------- */
.poem p { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.28; letter-spacing: -.01em; margin: 0; }
.poem p:nth-child(3n) { height: .55em; overflow: hidden; }
.poem p:nth-child(3n+2) { padding-left: 1.3em; color: var(--mist); font-style: italic; }
.poem p:last-child { color: var(--moon); font-weight: 700; font-size: clamp(34px, 4.1vw, 58px); padding-left: 0; margin-top: 14px; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.fact {
  background: var(--ghost); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 28px 24px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  box-shadow: 6px 6px 0 var(--ink); transition: transform .3s var(--ease-pop), box-shadow .3s var(--ease-pop);
}
.fact:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--ink); }
.fact .kicker { color: var(--ink) !important; margin: 0 !important; }
.fact strong { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; }
.fact.is-moon { background: var(--moon); }
.fact.is-ink { background: var(--ink); color: var(--ghost); }
.fact.is-ink .kicker { color: var(--moon) !important; }

.announce { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.announce h2 { margin: 0; }
.announce .ce_text p:last-child { margin-bottom: 0; }

/* ---------- Spielort ---------- */
.ce_text.addr p:first-child { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; margin-bottom: .5em; }
.ce_text.addr { color: var(--mist); }
.ce_text.addr p:first-child { color: var(--ghost); }
.warn { display: flex; gap: 20px; align-items: flex-start; background: rgba(246, 201, 69, .1); border: 1.5px dashed var(--moon); border-radius: 24px; padding: 24px 26px; margin-top: 32px; }
.warn-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--moon); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.warn strong { display: block; font-size: 19px; margin-bottom: 4px; }
.warn p { color: var(--mist); margin: 0; font-size: 17px; line-height: 1.55; }
.mapwrap { position: relative; transform: rotate(1.2deg); }
.mapwrap .ce_hyperlink, .mapwrap figure { margin: 0; }
.mapwrap figure { border-radius: 36px; overflow: hidden; border: 2px solid rgba(188, 196, 240, .25); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.mapwrap img { display: block; width: 100%; height: 520px; object-fit: cover; filter: hue-rotate(180deg) saturate(.55) brightness(.62) contrast(1.1); transition: filter .4s; }
.mapwrap:hover img { filter: hue-rotate(180deg) saturate(.7) brightness(.72) contrast(1.1); }
.map-pin { position: absolute; left: 33%; top: 57%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; animation: g-bob 2.6s ease-in-out infinite; }
@keyframes g-bob { 50% { transform: translate(-50%, calc(-100% - 12px)); } }
.map-pin span { background: var(--moon); color: var(--ink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; margin-bottom: 8px; }
.map-pin svg { filter: drop-shadow(0 0 12px rgba(251, 248, 241, .8)); }

/* ---------- Quote / Über uns ---------- */
.quote p { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-weight: 500; font-size: clamp(36px, 5.3vw, 76px); line-height: 1.04; letter-spacing: -.02em; margin: 0; max-width: 1100px; }
.quote em, .quote strong { font-style: italic; font-weight: 600; background: var(--moon); color: var(--ink); padding: 0 .12em; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 90px; }
.cols-2 .ce_text h2, .cols-2 .ce_text h3 { font-size: clamp(28px, 2.4vw, 34px); margin-bottom: 16px; }
.cols-2 .ce_text p { font-size: 19px; line-height: 1.65; }
.region { margin-top: 80px; padding-top: 34px; border-top: 2px solid currentColor; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.region p { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; margin: 0; line-height: 1.1; }
.region .btn-row { margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { border: 1.5px solid rgba(188, 196, 240, .25); border-radius: var(--radius); padding: 30px; }
.stat b { display: block; font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: var(--moon); font-weight: 800; margin-bottom: 8px; }
.stat span { color: var(--mist); font-size: 16px; }

/* ---------- Timeline (Chronik) ---------- */
.timeline { position: relative; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); background: repeating-linear-gradient(to bottom, rgba(188, 196, 240, .35) 0 8px, transparent 8px 16px); }
.timeline h3 {
  position: relative; display: block; width: max-content; margin: 70px auto 40px; padding: 6px 28px; text-align: center;
  font-size: clamp(40px, 4.4vw, 64px); font-weight: 800; line-height: 1.1;
  background: var(--ink); border: 2px solid rgba(188, 196, 240, .3); border-radius: 999px;
}
.timeline h3:first-child { margin-top: 0; }
.timeline p { position: relative; width: 50%; padding: 0 64px 44px; margin: 0; color: var(--mist); font-size: 18px; line-height: 1.6; }
.timeline p:nth-of-type(odd) { margin-right: 50%; text-align: right; }
.timeline p:nth-of-type(even) { margin-left: 50%; }
.timeline p::after { content: ""; position: absolute; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--moon); box-shadow: 0 0 0 6px rgba(246, 201, 69, .18); }
.timeline p:nth-of-type(odd)::after { right: -7px; }
.timeline p:nth-of-type(even)::after { left: -7px; }
.timeline p strong { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--moon); margin-bottom: 8px; }
.timeline p strong br { display: none; }
.next-chapter { position: relative; max-width: 640px !important; box-sizing: border-box; margin: 40px auto 0; text-align: center; background: var(--moon); color: var(--ink); border-radius: 36px; padding: 44px 40px !important; box-shadow: 0 0 120px rgba(246, 201, 69, .3); }
.next-chapter .kicker { color: var(--ink) !important; }
.next-chapter .big { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; line-height: 1; margin: 0 0 12px; }
.next-chapter p:last-child { margin: 0; }

/* ---------- Archiv ---------- */
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; margin-top: 90px; }
.ce_text.credits p { font-size: 19px; line-height: 1.45; margin: 0 0 6px; }
.ce_text.credits p:first-child { font-family: var(--serif); font-style: italic; font-size: 26px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ce_text.credits p:last-child { margin-top: 18px; color: var(--moon); font-weight: 700; }
.ce_text.storytext p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--mist); }
.ce_text.storytext h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--moon); font-weight: 700; margin-bottom: 18px; }
.ce_text.storytext p:first-of-type::first-letter { font-family: var(--serif); font-size: 84px; float: left; line-height: .8; margin: 8px 12px 0 0; color: var(--moon); font-weight: 800; }
.ce_gallery { margin-top: 90px; }
.ce_gallery > h2, .ce_gallery > h3 { font-size: clamp(30px, 3vw, 40px); }
.ce_gallery ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.ce_gallery li { margin: 0; border-radius: 22px; overflow: hidden; background: var(--night); }
.ce_gallery li:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.ce_gallery li:nth-child(7n+4) { grid-row: span 2; }
/* 7n+1 gross, 7n+4 hoch */
.ce_gallery figure, .ce_gallery a, .ce_gallery picture { display: block; width: 100%; height: 100%; }
.ce_gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.ce_gallery li:hover img { transform: scale(1.06); filter: brightness(1.08); }
.ce_gallery figcaption { display: none; }

/* ---------- Sponsoren ---------- */
.tier-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 14px !important; margin-top: 70px !important; margin-bottom: 22px !important; }
.paper h2.ce_headline.tier-title, .paper .tier-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.slots .ce_hyperlink, .slot-free { margin: 0; }
.slots .ce_hyperlink figure, .slots .ce_hyperlink > a {
  height: 100%; min-height: 150px; border-radius: 24px; border: 2px solid var(--ink); background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 22px; transition: transform .3s var(--ease-pop);
}
.slots .ce_hyperlink figure:hover { transform: translateY(-4px) rotate(-1deg); }
.slots .ce_hyperlink img { max-height: 110px; width: auto; object-fit: contain; }
.slot-free {
  min-height: 150px; border-radius: 24px; border: 2px dashed rgba(11, 16, 48, .35); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
  color: rgba(11, 16, 48, .62) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: all .3s var(--ease-pop);
}
.slot-free svg { opacity: .55; transition: transform .4s, opacity .3s; }
.slot-free:hover { border-color: var(--ink); color: var(--ink) !important; background: rgba(246, 201, 69, .3); transform: translateY(-4px); }
.slot-free:hover svg { opacity: 1; transform: translateY(-6px); }
.main-sp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 2px solid var(--ink); border-radius: 36px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: #fff; }
.main-sp-logo { display: flex; align-items: center; justify-content: center; background: #fff; padding: 40px; border-right: 2px solid var(--ink); min-height: 320px; }
.main-sp-logo .ce_hyperlink, .main-sp-logo figure { margin: 0; }
.main-sp-logo img { max-height: 230px; width: auto; }
.main-sp-txt { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--moon); color: var(--ink); }
.main-sp-txt .big { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; line-height: 1; margin: 0; }
.main-sp-txt a { color: var(--ink) !important; font-weight: 700; }
.main-sp-txt .kicker { color: var(--ink) !important; margin: 0 !important; }

/* ---------- Kontakt / Formular ---------- */
.mail-big, .mail-big a { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(20px, 1.9vw, 27px); font-weight: 600; text-decoration: none !important; border-bottom: 2px solid var(--moon); overflow-wrap: anywhere; }
.mail-big { border-bottom: 0; margin: 0 0 8px !important; }
.mail-big a { display: inline; }
.ce_form { background: var(--night); border: 1.5px solid var(--line-dark); border-radius: 36px; padding: 44px; }
.ce_form h2, .ce_form h3 { font-size: clamp(26px, 2.4vw, 34px); }
.ce_form .formbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.ce_form .formbody > .widget { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ce_form .formbody > .widget-text:nth-child(1 of .widget-text), .ce_form .formbody > .widget-text:nth-child(2 of .widget-text) { grid-column: span 1; }
.ce_form label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.ce_form label .mandatory { color: var(--moon); margin-left: 2px; }
.ce_form input.text, .ce_form input[type="text"], .ce_form input[type="email"], .ce_form input[type="tel"], .ce_form textarea, .ce_form select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ghost); background: rgba(251, 248, 241, .05);
  border: 1.5px solid rgba(188, 196, 240, .25); border-radius: 16px; padding: 15px 18px; outline: none; transition: border-color .2s, background-color .2s;
}
.ce_form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--moon) 50%), linear-gradient(135deg, var(--moon) 50%, transparent 50%); background-position: calc(100% - 24px) 55%, calc(100% - 18px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 48px; }
.ce_form select option { color: var(--ink); }
.ce_form textarea { min-height: 160px; resize: vertical; }
.ce_form input:focus, .ce_form textarea:focus, .ce_form select:focus { border-color: var(--moon); background-color: rgba(251, 248, 241, .09); }
.ce_form .error { color: #FFB4A8; font-size: 14px; margin: 0; }
.ce_form input.error, .ce_form textarea.error, .ce_form select.error { border-color: #FF8A7A; }
.ce_form button.submit, .ce_form .widget-submit button {
  align-self: flex-start; min-height: 54px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--moon); color: var(--ink);
  font: 700 16px var(--sans); cursor: pointer; transition: transform .25s var(--ease-pop);
}
.ce_form button.submit:hover { transform: translateY(-3px) rotate(-1.5deg); }

/* ---------- Generische Textseiten (Impressum, Datenschutz, Archivseiten) ---------- */
.legal h1 { font-size: clamp(40px, 5vw, 64px); }
.legal h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.4em; }
.legal h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.2em; }
.legal table { width: 100% !important; height: auto !important; border-collapse: collapse; margin: 0 0 1.4em; }
.legal td, .legal th { padding: 10px 12px; border-bottom: 1px solid rgba(11, 16, 48, .15); vertical-align: top; height: auto !important; }
.night .legal td { border-bottom-color: var(--line-dark); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
body.gespenst .sec.legal > * { max-width: 900px; }

/* ---------- Footer ---------- */
#footer { background: var(--ink-deep); color: var(--mist); }
#footer > .inside { max-width: var(--wrap); margin: 0 auto; padding: 100px var(--gutter) 40px; }
.foot-logo { display: block; width: 100%; max-width: 1150px; height: auto; opacity: .95; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line-dark); font-size: 15px; flex-wrap: wrap; }
.foot-row.small { margin-top: 24px; font-size: 14px; align-items: center; }
.foot-row address { font-style: normal; line-height: 1.7; }
.foot-row a { color: var(--mist); }
.foot-row a:hover { color: var(--moon); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-sp { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.foot-sp img { height: 70px; width: auto; border-radius: 8px; background: #fff; padding: 6px; display: block; }

/* ---------- Das kleine Gespenst (fliegend) ---------- */
.g-ghost { position: fixed; left: 0; top: 0; z-index: 90; width: 92px; height: 108px; pointer-events: none; will-change: transform, opacity; --rot: 0deg; --face: 1; opacity: 0; transition: opacity .6s; }
.g-ghost.is-ready { opacity: 1; }
.g-ghost button { pointer-events: auto; cursor: pointer; background: none; border: 0; padding: 0; width: 100%; height: 100%; display: block; }
.g-ghost button:focus-visible { outline: 2px dashed var(--moon); outline-offset: 6px; border-radius: 40px; }
.g-ghost-body { width: 100%; height: 100%; transform: rotate(var(--rot)) scaleX(var(--face)); filter: drop-shadow(0 0 18px rgba(214, 224, 255, .6)) drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.g-ghost-body svg { width: 100%; height: 100%; overflow: visible; display: block; }
.g-ghost .hem { animation: g-hem 1.1s ease-in-out infinite alternate; transform-origin: 60px 60px; }
@keyframes g-hem { from { transform: skewX(-4deg); } to { transform: skewX(4deg); } }
.g-ghost .arm-l { animation: g-wave 1.6s ease-in-out infinite; transform-origin: 20px 70px; }
@keyframes g-wave { 50% { transform: rotate(-16deg); } }
.g-ghost .blink { animation: g-blink 5s infinite; transform-origin: 60px 54px; }
@keyframes g-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.g-bubble {
  position: absolute; bottom: calc(100% + 6px); left: 60%; background: var(--ghost); color: var(--ink);
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-style: italic; font-size: 18px; line-height: 1.2;
  padding: 10px 16px; border-radius: 20px 20px 20px 4px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  opacity: 0; transform: scale(.3); transform-origin: bottom left; transition: opacity .2s, transform .35s var(--ease-pop); pointer-events: none;
}
.g-ghost.talks .g-bubble { opacity: 1; transform: none; }
.g-ghost[data-v="b"] .g-bubble { bottom: auto; top: calc(100% + 6px); }
.g-ghost[data-side="l"] .g-bubble { left: auto; right: 60%; border-radius: 20px 20px 4px 20px; transform-origin: bottom right; }

/* ---------- Scroll reveal ---------- */
.js-reveal .sec > .rv-item { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .sec > .rv-item.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gespenst *, .gespenst *::before, .gespenst *::after { animation: none !important; transition: none !important; }
  .js-reveal .sec > .rv-item { opacity: 1; transform: none; }
}

/* ==========================================================================
   Farbton der hellen Abschnitte («paper»)
   Standard = Mondnebel. Umschalten im Backend: Layout «Gespenst - Standard»
   → Feld «CSS-Klasse» (body): ton-flieder | ton-schnee | ton-daemmerung | ton-pergament
   ========================================================================== */
:root {
  --paper-bg: #E3E7FA;          /* Mondnebel: kühles, helles Blau */
  --paper-fg: #0B1030;
  --paper-accent: #2B3488;
  --paper-line: #0B1030;
  --paper-muted: rgba(11, 16, 48, .62);
  --paper-dash: rgba(11, 16, 48, .32);
  --paper-card: #FFFFFF;
}
body.ton-flieder { --paper-bg: #ECE5F8; --paper-accent: #5A3E9E; }
body.ton-schnee { --paper-bg: #F6F7FD; }
body.ton-pergament { --paper-bg: #F4EEDF; --paper-card: #FBF8F1; }
body.ton-daemmerung {
  --paper-bg: #2B3488; --paper-fg: #FBF8F1; --paper-accent: #F6C945; --paper-line: rgba(251, 248, 241, .5);
  --paper-muted: rgba(251, 248, 241, .78); --paper-dash: rgba(251, 248, 241, .45); --paper-card: #FBF8F1;
}
.paper { background: var(--paper-bg); color: var(--paper-fg); }
.paper .kicker { color: var(--paper-accent); }
.paper a:not(.btn):not(.slot-free) { color: var(--paper-accent); }
.paper .fact:not(.is-moon):not(.is-ink) { background: var(--paper-card); }
.paper .btn-outline { border-color: var(--paper-fg); color: var(--paper-fg) !important; }
.paper .tier-title { border-bottom-color: var(--paper-line); }
.paper .region { border-top-color: var(--paper-line); }
.paper .slot-free { border-color: var(--paper-dash); color: var(--paper-muted) !important; }
.paper .slot-free:hover { border-color: var(--paper-fg); color: var(--paper-fg) !important; }
.paper .legal td, .paper.legal td, .paper.legal th { border-bottom-color: var(--paper-dash); }
.pagehead-stage .hills path { fill: var(--paper-bg); }
body.ton-daemmerung .paper .btn-ink { background: var(--moon); color: var(--ink) !important; }

/* ---------- Spielplan ---------- */
.ce_text.spielplan { margin-top: 56px; }
.ce_text.moral { margin-top: 72px; }
.spielplan table { width: 100% !important; border-collapse: collapse; font-size: 18px; }
.spielplan th { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-accent, var(--plum)); padding: 0 16px 14px 0; border-bottom: 2px solid currentColor; }
.spielplan td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--paper-dash, rgba(11,16,48,.2)); vertical-align: middle; }
.spielplan tr:first-child td { font-weight: 700; }
.spielplan td:first-child { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: 22px; }
.spielplan td:nth-child(3), .spielplan td:nth-child(4) { white-space: nowrap; }
.spielplan td:nth-child(3):not(:empty), .spielplan td:nth-child(4):not(:empty) { }
.spielplan .zeit { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--moon); color: var(--ink); font-weight: 700; font-size: 15px; }
.spielplan p { font-size: 15px; color: var(--paper-muted, inherit); margin-top: 16px; }

/* ---------- Karten: Preise, Stufen, Präsenz ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  border-radius: var(--radius); padding: 30px 28px; background: var(--paper-card); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 12px;
}
.night .card { background: var(--night); color: var(--ghost); border: 1.5px solid var(--line-dark); box-shadow: none; }
.card .kicker { margin: 0 !important; }
.card .price { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.card .price small { font-size: .42em; font-weight: 600; margin-right: 6px; }
.card h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 0; }
.card p, .card li { font-size: 16px; line-height: 1.55; margin: 0; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card li { position: relative; padding-left: 26px; }
.card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--moon); }
.card.is-moon { background: var(--moon); color: var(--ink); border-color: var(--ink); }
.card.is-moon li::before { background: var(--ink); }
.night .card.is-moon { border: 0; }
.card.is-feature { transform: translateY(-14px); }
.tier-step { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--moon); font-family: var(--serif); font-weight: 800; font-size: 22px; }
.night .tier-step { background: var(--moon); color: var(--ink); }
.card.is-moon .tier-step { background: var(--ink); color: var(--moon); }
.perk-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--moon); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.note { font-size: 15px; opacity: .8; margin-top: 18px !important; }

/* ---------- Geschichte / Intro ---------- */
.tale { text-align: center; max-width: 860px !important; }
.tale .sfx { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--moon); letter-spacing: .08em; margin-bottom: 28px; }
.tale p { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; color: var(--mist); margin: 0 0 .4em; }
.tale .ask { font-style: normal; font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; color: var(--ghost); margin: 30px 0 !important; }
.tale .end { color: var(--moon); font-weight: 700; font-style: normal; margin-top: 26px; }
.moral p { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; font-weight: 600; color: var(--moon); margin: 0; }
.contact-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; background: var(--moon); color: var(--ink); border-radius: 40px; padding: 56px; }
.contact-card h2 { margin: 0 0 18px; }
.contact-card p { margin: 0 0 8px; font-size: 18px; }
.contact-card a { color: var(--ink) !important; font-weight: 700; }
.contact-card .btn-ink { color: var(--ghost) !important; }
.contact-card address { font-style: normal; font-size: 18px; line-height: 1.7; }

@media (max-width: 980px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.is-feature { transform: none; }
  .contact-card { grid-template-columns: minmax(0, 1fr); padding: 36px; }
}
@media (max-width: 760px) {
  .cards-3, .cards-4 { grid-template-columns: minmax(0, 1fr); }
  .spielplan table, .spielplan tbody, .spielplan tr, .spielplan td { display: block; width: 100%; }
  .spielplan thead { display: none; }
  .spielplan tr { padding: 14px 0; border-bottom: 1px solid var(--paper-dash, rgba(11,16,48,.2)); }
  .spielplan td { border: 0; padding: 2px 0; display: inline-block; width: auto; margin-right: 8px; }
  .spielplan td:first-child { display: block; }
  .contact-card { padding: 28px; border-radius: 28px; }
}

/* ---------- Lightbox ---------- */
.g-lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(7, 10, 34, .94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.g-lb.is-open { opacity: 1; visibility: visible; }
.g-lb-lock, .g-lb-lock body { overflow: hidden; }
.g-lb-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; padding: 70px 96px; }
.g-lb img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .2s; }
.g-lb.is-loading img { opacity: .3; }
.g-lb-cap { color: var(--mist); font-size: 15px; margin: 0 !important; min-height: 1em; text-align: center; }
.g-lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(251, 248, 241, .35); background: rgba(11, 16, 48, .6); color: var(--ghost); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, transform .25s var(--ease-pop); }
.g-lb-btn:hover { background: var(--moon); color: var(--ink); border-color: var(--moon); transform: scale(1.08); }
.g-lb-prev { left: 24px; top: 50%; margin-top: -28px; }
.g-lb-next { right: 24px; top: 50%; margin-top: -28px; }
.g-lb-close { right: 24px; top: 20px; }
.g-lb-count { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); color: var(--mist); font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.g-lb.is-single .g-lb-prev, .g-lb.is-single .g-lb-next, .g-lb.is-single .g-lb-count { display: none; }
@media (max-width: 760px) {
  .g-lb-stage { padding: 70px 12px 90px; }
  .g-lb-prev, .g-lb-next { top: auto; bottom: 20px; margin-top: 0; }
  .g-lb-prev { left: calc(50% - 70px); }
  .g-lb-next { right: calc(50% - 70px); }
  .g-lb img { max-height: calc(100vh - 200px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  #header .mod_navigation a, #header .mod_navigation strong { padding: 8px 10px; font-size: 14px; }
  .moon { width: 260px; }
  .badge { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --gutter: 32px; }
  .nav-toggle { display: inline-flex; }
  #header .mod_navigation {
    position: fixed; left: 0; right: 0; top: var(--header-h, 78px); bottom: 0; background: var(--ink); overflow-y: auto;
    padding: 24px var(--gutter) 60px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open #header .mod_navigation { opacity: 1; visibility: visible; transform: none; }
  .nav-open #header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .nav-open { overflow: hidden; }
  #header .mod_navigation .level_1 { flex-direction: column; align-items: stretch; gap: 4px; }
  #header .mod_navigation .level_1 > li > a, #header .mod_navigation .level_1 > li > strong { font-family: var(--serif); font-size: 34px; font-weight: 700; padding: 10px 0; border-radius: 0; background: none !important; color: var(--ghost); font-variation-settings: "SOFT" 100, "WONK" 1; }
  #header .mod_navigation .level_1 > li > a:hover { color: var(--moon); }
  #header .mod_navigation .level_2 { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 10px 4px !important; }
  #header .mod_navigation .level_2 a, #header .mod_navigation .level_2 strong { font-size: 18px; padding: 6px 0; background: none !important; }
  .split, .split.even, .announce, .story, .cols-2, .main-sp { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split .sticky { position: static; }
  .main-sp-logo { border-right: 0; border-bottom: 2px solid var(--ink); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body.gespenst { font-size: 17px; }
  .sec { padding: 84px 0; }
  #header > .inside { height: 66px; }
  .site-logo img { height: 24px; }
  .topbanner-bar { font-size: 12px; }
  .hero-stage { min-height: 0; }
  .hero-copy { padding: 190px var(--gutter) 230px; }
  .pill { font-size: 13px; }
  .moon { width: 150px; right: 20px; top: 26px; }
  .cloud { display: none; }
  .land { height: 200px; }
  .torch, .torch-glow { display: none; }
  .marquee-track span { font-size: 24px; }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .fact { min-height: 0; }
  .mapwrap img { height: 340px; }
  .cols-2 { margin-top: 50px; }
  .region { flex-direction: column; align-items: flex-start; }
  .timeline::before { left: 8px; }
  .timeline h3 { margin: 40px 0 28px; }
  .timeline p, .timeline p:nth-of-type(odd), .timeline p:nth-of-type(even) { width: 100%; margin: 0; text-align: left; padding: 0 0 36px 40px; }
  .timeline p:nth-of-type(odd)::after, .timeline p:nth-of-type(even)::after { left: 1px; right: auto; }
  .next-chapter { padding: 32px 24px !important; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .story { margin-top: 56px; }
  .ce_gallery ul { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-sp-txt { padding: 30px; }
  .ce_form { padding: 26px; border-radius: 28px; }
  .ce_form .formbody > .widget-text:nth-child(1 of .widget-text), .ce_form .formbody > .widget-text:nth-child(2 of .widget-text) { grid-column: span 2; }
  .pagehead-stage { padding: 80px 0 90px; }
  .pagehead-stage .moon { width: 120px; top: 24px; right: -20px; }
  .pagehead-stage.curtain { padding: 140px 0 90px; }
  #footer > .inside { padding: 60px var(--gutter) 30px; }
  .g-ghost { width: 64px; height: 76px; }
  .g-bubble { font-size: 15px; }
}
@media print {
  .g-ghost, .nav-toggle, .torch, .torch-glow, .stars, .cloud, .marquee-band { display: none !important; }
  #header { position: static; }
}

