
/* Karneval Impekoven — Komponenten (Präfix ki-). v3 „maximal frisch“. Alle Werte über Tokens. */

.ki, .ki * { box-sizing: border-box; }
.ki { font-family: var(--font-sans); color: var(--ink); background: var(--surface); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
:where(.ki) :where(h1, h2, h3, h4, p, figure, blockquote, ul, ol) { margin: 0; }
:where(.ki) :where(h1, h2, h3, h4) { font-family: var(--font-display); color: inherit; }
:where(.ki) a { color: var(--rot); text-underline-offset: 3px; text-decoration-thickness: 2px; }
:where(.ki) a:hover { color: var(--rot-strong); }
.ki :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ki-on-dark :focus-visible, .ki-on-rot :focus-visible { outline-color: var(--gelb); }
.ki ::selection { background: var(--gelb); color: var(--nacht-fix); }
.ki-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-8); }
.ki-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .ki-container { padding: 0 var(--space-4); } }

/* ---------- Typo-Helfer ---------- */
.ki-cond { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .9; }
.ki-h1 { font-family: var(--font-display); font-stretch: 68%; font-weight: 850; font-size: 64px; line-height: .95; text-transform: uppercase; }
.ki-h2 { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.ki-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.ki-outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.ki-outline { -webkit-text-stroke-color: var(--ink); }
.ki-on-dark .ki-outline { -webkit-text-stroke-color: var(--on-nacht); }
.ki-mark { background: var(--gelb); color: var(--nacht-fix); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 640px) { .ki-h1 { font-size: 42px; } .ki-h2 { font-size: 32px; } }

.ki-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font: 800 14px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rot); }
.ki-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 14px 0 0 var(--gelb); margin-right: 14px; }
.ki-eyebrow--gelb { color: var(--gelb-text); }
.ki-on-dark .ki-eyebrow { color: var(--gelb); }
.ki-on-dark .ki-eyebrow::before { box-shadow: 14px 0 0 var(--rot); }

/* ---------- Einblenden beim Scrollen (JS setzt .is-in) ---------- */
.ki-reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dauer-lang) var(--ease-out), transform var(--dauer-lang) var(--ease-out); }
.ki-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ki-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Konfetti ---------- */
.ki-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.ki-confetti i { position: absolute; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gelb); animation: ki-float 7s var(--ease-out) infinite alternate; }
.ki-confetti i:nth-child(3n) { background: var(--rot); }
.ki-confetti i:nth-child(4n) { background: var(--rosa); width: 9px; height: 9px; }
.ki-confetti i:nth-child(5n) { width: 22px; height: 7px; border-radius: 4px; transform: rotate(35deg); }
.ki-confetti i:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
@keyframes ki-float { from { translate: 0 0; } to { translate: 0 -26px; rotate: 40deg; } }
@media (prefers-reduced-motion: reduce) { .ki-confetti i { animation: none; } }

/* ---------- Funken-Streifen ---------- */
.ki-stripes { height: 16px; background: repeating-linear-gradient(-45deg, var(--rot) 0 var(--stripe-width), var(--streifen-hell) var(--stripe-width) calc(var(--stripe-width) * 2)); }
.ki-stripes--thin { height: 6px; }
.ki-stripes--gelb { background: repeating-linear-gradient(-45deg, var(--gelb) 0 var(--stripe-width), var(--nacht-fix) var(--stripe-width) calc(var(--stripe-width) * 2)); }

/* ---------- Button ---------- */
.ki-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: var(--space-3) 26px; border-radius: var(--radius-pill); border: 2px solid transparent; font: 800 15px/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform var(--dauer-kurz) var(--ease-pop), background-color var(--dauer-kurz), color var(--dauer-kurz), box-shadow var(--dauer-kurz), border-color var(--dauer-kurz); }
.ki .ki-btn { text-decoration: none; }
.ki-btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dauer-kurz) var(--ease-pop); }
.ki-btn:hover svg { transform: translateX(4px); }
.ki-btn:hover { transform: translateY(-2px); }
.ki-btn:active { transform: translateY(1px) scale(.98); }
.ki .ki-btn--primary { background: var(--rot); color: var(--on-rot); box-shadow: 0 10px 24px -10px var(--rot); }
.ki .ki-btn--primary:hover { background: var(--rot-strong); color: var(--on-rot); }
.ki .ki-btn--gelb { background: var(--gelb); color: var(--nacht-fix); border-color: var(--nacht-fix); box-shadow: var(--shadow-sticker); }
.ki .ki-btn--gelb:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--nacht-fix); color: var(--nacht-fix); }
.ki .ki-btn--gelb:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--nacht-fix); }
.ki .ki-btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ki .ki-btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.ki .ki-btn--light { background: transparent; color: var(--on-nacht); border-color: var(--on-dark-border); }
.ki .ki-btn--light:hover { background: var(--on-nacht); color: var(--nacht-fix); border-color: var(--on-nacht); }
.ki .ki-btn--sm { min-height: 42px; padding: var(--space-2) 18px; font-size: 13px; }
.ki .ki-btn--icon { width: 52px; padding: 0; }
.ki .ki-btn[disabled], .ki .ki-btn[aria-disabled="true"] { background: var(--surface-sunken); color: var(--ink-muted); border-color: var(--line); box-shadow: none; transform: none; cursor: not-allowed; }
.ki .ki-btn[aria-busy="true"] { color: transparent; pointer-events: none; }
.ki .ki-btn[aria-busy="true"]::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--on-rot); border-right-color: transparent; animation: ki-spin var(--dauer-lang) linear infinite; }
@keyframes ki-spin { to { transform: rotate(360deg); } }

/* ---------- Sticker (Orden-Pin) ---------- */
.ki-sticker { display: inline-grid; place-items: center; text-align: center; width: 148px; height: 148px; border-radius: 50%; background: var(--gelb); color: var(--nacht-fix); border: 3px solid var(--nacht-fix); box-shadow: var(--shadow-sticker); transform: rotate(-10deg); padding: var(--space-3); transition: transform var(--dauer-mittel) var(--ease-pop); }
.ki-sticker:hover { transform: rotate(4deg) scale(1.06); }
.ki-sticker__top { display: block; font: 800 12px/1.1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.ki-sticker__big { display: block; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: .85; text-transform: uppercase; }
.ki-sticker__sub { display: block; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.1; }
.ki-sticker--rot { background: var(--rot); color: var(--on-rot); border-color: var(--nacht-fix); }
.ki-sticker--rosa { background: var(--rosa); color: var(--ink); border-color: var(--ink); }
.ki-sticker--sm { width: 112px; height: 112px; }
.ki-sticker--sm .ki-sticker__big { font-size: 40px; }

/* Rund-Sticker mit umlaufender Schrift */
.ki-seal { position: relative; display: inline-grid; place-items: center; width: 196px; height: 196px; border-radius: 50%; background: var(--gelb); color: var(--nacht-fix); border: 3px solid var(--nacht-fix); box-shadow: var(--shadow-sticker); }
.ki-seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ki-spin var(--sticker-dauer) linear infinite; }
.ki-seal__ring text { font: 800 13px var(--font-sans); letter-spacing: .22em; text-transform: uppercase; fill: var(--nacht-fix); }
.ki-seal__core { position: relative; text-align: center; transform: rotate(-8deg); }
.ki-seal__core .ki-sticker__big { font-size: 50px; }
.ki-seal--rot { background: var(--rot); color: var(--on-rot); }
.ki-seal--rot .ki-seal__ring text { fill: var(--on-rot); }
@media (prefers-reduced-motion: reduce) { .ki-seal__ring { animation: none; } }

/* ---------- Tag ---------- */
.ki-tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: 5px 12px; border-radius: var(--radius-pill); font: 800 12px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; background: var(--gelb-soft); color: var(--ink); }
.ki-tag--rot { background: var(--rot); color: var(--on-rot); }
.ki-tag--gelb { background: var(--gelb); color: var(--nacht-fix); }
.ki-tag--dark { background: var(--nacht); color: var(--on-nacht); }
.ki-tag--tilt { transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--nacht-fix); }

/* ---------- Site Header ---------- */
.ki-header { position: sticky; top: 0; z-index: 20; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.ki-header__inner { display: flex; align-items: center; gap: var(--space-6); height: var(--header-height); }
.ki .ki-brand { position: relative; display: flex; align-items: center; gap: var(--space-4); text-decoration: none; color: var(--ink); align-self: flex-start; }
.ki-brand__badge { display: block; margin-top: 10px; padding: 8px; background: var(--logo-plate); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lift); transform-origin: 50% 0; transition: transform var(--dauer-mittel) var(--ease-pop); }
.ki-brand:hover .ki-brand__badge { transform: rotate(-4deg); }
.ki-brand__badge img { display: block; height: 96px; width: auto; }
.ki-brand__text { display: flex; flex-direction: column; padding-top: 18px; }
.ki-brand__name { font-family: var(--font-display); font-stretch: 68%; font-weight: 900; font-size: 30px; line-height: .9; text-transform: uppercase; }
.ki-brand__sub { font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1; color: var(--ink-muted); }
.ki-nav { display: flex; gap: var(--space-1); margin-left: auto; list-style: none; padding: 0; }
.ki .ki-nav a { position: relative; display: block; padding: 10px 16px; border-radius: var(--radius-pill); font: 800 15px/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: background-color var(--dauer-kurz), color var(--dauer-kurz); }
.ki .ki-nav a:hover { background: var(--gelb); color: var(--nacht-fix); }
.ki .ki-nav a[aria-current="page"] { background: var(--nacht); color: var(--on-nacht); }
.ki-header__burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--nacht); color: var(--on-nacht); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .ki-header__inner { height: 64px; }
  .ki-brand__badge img { height: 64px; }
  .ki-brand__name { font-size: 22px; }
  .ki-brand__text { padding-top: 12px; }
  .ki-brand__sub { display: none; }
  .ki-header .ki-nav, .ki-header .ki-btn { display: none; }
  .ki-header__burger { display: inline-flex; }
}

/* ---------- Mobile-Menü ---------- */
.ki-menu { position: relative; overflow: hidden; background: var(--nacht); color: var(--on-nacht); padding: var(--space-6) var(--space-6) var(--space-12); min-height: 100%; }
.ki-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-12); }
.ki-menu__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gelb); color: var(--nacht-fix); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ki-menu__list { list-style: none; padding: 0; display: grid; gap: var(--space-2); counter-reset: m; }
.ki .ki-menu__list a { counter-increment: m; display: flex; align-items: baseline; gap: var(--space-3); font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 64px; line-height: .95; text-transform: uppercase; color: var(--on-nacht); text-decoration: none; transition: color var(--dauer-kurz), transform var(--dauer-mittel) var(--ease-pop); }
.ki .ki-menu__list a::before { content: "0" counter(m); font: 800 13px/1 var(--font-sans); letter-spacing: .12em; color: var(--gelb); transform: translateY(-1.6em); }
.ki .ki-menu__list a:hover, .ki .ki-menu__list a[aria-current="page"] { color: var(--gelb); transform: translateX(8px); }
.ki-menu__cta { margin-top: var(--space-12); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ki-menu__foot { margin-top: var(--space-8); font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--on-nacht-muted); }

/* ---------- Hero (Foto, Headline, Termin-Sticker; darunter das Laufband) ---------- */
.ki-hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; overflow: hidden; background: var(--nacht-fix); color: var(--on-nacht); }
.ki-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.ki-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--overlay-0) 25%, var(--overlay-55) 55%, var(--overlay-95) 100%); }
.ki-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: var(--space-32); padding-bottom: var(--space-16); }
.ki-hero__title { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 136px; line-height: .86; letter-spacing: -.01em; text-transform: uppercase; margin: var(--space-4) 0 var(--space-6); max-width: 9ch; }
.ki-hero__motto { font-family: var(--font-serif); font-style: italic; font-size: 30px; line-height: 1.2; max-width: 26ch; color: var(--on-nacht); }
.ki-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }
.ki-hero__sticker { position: absolute; z-index: 3; right: var(--space-12); top: 40%; }
@media (max-width: 900px) {
  .ki-hero { min-height: 600px; }
  .ki-hero__inner { padding-top: 220px; padding-bottom: var(--space-12); }
  .ki-hero__title { font-size: 72px; }
  .ki-hero__motto { font-size: 22px; }
  .ki-hero__sticker { right: var(--space-4); top: 96px; }
  .ki-hero__sticker .ki-sticker { width: 104px; height: 104px; }
  .ki-hero__sticker .ki-sticker__big { font-size: 38px; }
}

/* ---------- Laufband ---------- */
.ki-ticker { background: var(--rot); color: var(--on-rot); overflow: hidden; white-space: nowrap; border-block: 3px solid var(--nacht-fix); }
.ki-ticker__track { display: inline-flex; align-items: center; gap: var(--space-8); padding: 13px 0; animation: ki-ticker var(--ticker-dauer) linear infinite; }
.ki-ticker__item { display: inline-flex; align-items: center; gap: var(--space-8); font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; }
.ki-ticker__item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--gelb); }
.ki-ticker__item .ki-serif { font-size: .82em; }
.ki-ticker--gelb { background: var(--gelb); color: var(--nacht-fix); }
.ki-ticker--gelb .ki-ticker__item::after { background: var(--rot); }
.ki-ticker--gelb .ki-ticker__track { animation-direction: reverse; }
@keyframes ki-ticker { to { transform: translateX(-50%); } }
.ki-ticker--static .ki-ticker__track { animation: none; }
@media (prefers-reduced-motion: reduce) { .ki-ticker__track { animation: none; } }
@media (max-width: 640px) { .ki-ticker__item { font-size: 26px; } }

/* ---------- Countdown (Fallblatt) ---------- */
.ki-countdown { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: var(--space-8); align-items: center; padding: var(--space-8) var(--space-8) var(--space-8) var(--space-12); border-radius: var(--radius-lg); background: var(--nacht); color: var(--on-nacht); }
.ki-countdown::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: repeating-linear-gradient(-45deg, var(--rot) 0 var(--stripe-width), var(--streifen-hell) var(--stripe-width) calc(var(--stripe-width) * 2)); }
.ki-countdown__label { font-family: var(--font-display); font-stretch: 68%; font-weight: 850; font-size: 40px; line-height: .95; text-transform: uppercase; }
.ki-countdown__label .ki-serif { display: block; font-size: 26px; color: var(--gelb); margin-top: var(--space-1); }
.ki-countdown__meta { margin-top: var(--space-3); font-size: 15px; font-weight: 600; color: var(--on-nacht-muted); }
.ki-countdown__units { display: flex; gap: var(--space-3); justify-content: flex-end; align-items: flex-start; }
.ki-countdown__unit { text-align: center; }
.ki-countdown__flap { position: relative; display: block; min-width: 124px; padding: var(--space-3) var(--space-3) var(--space-2); border-radius: var(--radius-md); background: var(--on-dark-fill); border: 1px solid var(--on-dark-line); overflow: hidden; }
.ki-countdown__flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--nacht); box-shadow: 0 -1px 0 var(--on-dark-line); }
.ki-countdown__num { display: block; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 96px; line-height: .85; color: var(--gelb); font-variant-numeric: tabular-nums; }
.ki-countdown__cap { display: block; margin-top: var(--space-2); font: 800 12px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-nacht-muted); }
.ki-countdown__sep { align-self: center; margin-top: -24px; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 64px; color: var(--rot); }
.ki-countdown.is-tick .ki-countdown__unit:last-child .ki-countdown__num { animation: ki-flip var(--dauer-mittel) var(--ease-pop); }
@keyframes ki-flip { from { transform: rotateX(70deg); opacity: .3; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .ki-countdown { grid-template-columns: 1fr; padding: var(--space-6) var(--space-6) var(--space-6) var(--space-12); }
  .ki-countdown__units { justify-content: stretch; gap: var(--space-2); }
  .ki-countdown__unit { flex: 1; }
  .ki-countdown__flap { min-width: 0; padding: var(--space-2) var(--space-1); }
  .ki-countdown__num { font-size: 50px; }
  .ki-countdown__sep { display: none; }
}

/* ---------- Section ---------- */
.ki-section { position: relative; padding: var(--space-24) 0; }
.ki-section--sunken { background: var(--surface-sunken); }
.ki-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); flex-wrap: wrap; }
.ki-section__title { margin-top: var(--space-3); font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 88px; line-height: .88; text-transform: uppercase; }
.ki-section__title .ki-serif { font-size: .72em; color: var(--rot); }
@media (max-width: 640px) { .ki-section { padding: var(--space-16) 0; } .ki-section__title { font-size: 52px; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.ki-pagehead { position: relative; overflow: hidden; background: var(--rot); color: var(--on-rot); padding: var(--space-24) 0 var(--space-16); }
.ki-pagehead__crumbs { display: flex; gap: var(--space-2); font: 800 13px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.ki .ki-pagehead__crumbs a { color: var(--on-rot); text-decoration: none; opacity: .85; }
.ki .ki-pagehead__crumbs a:hover { opacity: 1; text-decoration: underline; }
.ki-pagehead__title { position: relative; z-index: 2; margin-top: var(--space-6); font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 160px; line-height: .82; text-transform: uppercase; }
.ki-pagehead__title .ki-serif { font-size: .5em; display: block; margin-top: var(--space-2); }
.ki-pagehead__lead { position: relative; z-index: 2; margin-top: var(--space-6); max-width: 52ch; font-size: 20px; line-height: 1.5; font-weight: 500; }
.ki-pagehead__big { position: absolute; right: -2%; bottom: -10%; z-index: 1; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 380px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--on-rot); opacity: .35; }
.ki-pagehead .ki-confetti i { background: var(--gelb); }
@media (max-width: 760px) { .ki-pagehead { padding: var(--space-16) 0 var(--space-12); } .ki-pagehead__title { font-size: 84px; } .ki-pagehead__big { font-size: 180px; } }

/* ---------- Ticket (Termin) ---------- */
.ki-ticket { position: relative; display: grid; grid-template-columns: 148px 1fr auto; align-items: stretch; background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: transform var(--dauer-mittel) var(--ease-pop), box-shadow var(--dauer-mittel); }
.ki-ticket:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.ki-ticket__date { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-6) var(--space-3); background: var(--rot); color: var(--on-rot); border-radius: var(--radius-lg) 0 0 var(--radius-lg); text-align: center; transition: transform var(--dauer-mittel) var(--ease-pop); transform-origin: 100% 50%; }
.ki-ticket:hover .ki-ticket__date { transform: rotate(-3deg) translateX(-4px); }
.ki-ticket__date::after { content: ""; position: absolute; right: -1px; top: 14px; bottom: 14px; border-right: 3px dotted var(--surface-raised); }
.ki-ticket__day { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 80px; line-height: .8; }
.ki-ticket__month { font: 800 14px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; margin-top: var(--space-2); }
.ki-ticket__wd { font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.1; }
.ki-ticket__body { padding: var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: var(--space-2); justify-content: center; }
.ki-ticket__title { font-family: var(--font-display); font-stretch: 72%; font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; }
.ki-ticket__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.ki-ticket__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ki-ticket__meta svg { width: 17px; height: 17px; color: var(--rot); }
.ki-ticket__text { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.ki-ticket__aside { display: flex; align-items: center; padding: var(--space-6) var(--space-8) var(--space-6) 0; }
.ki-ticket::before, .ki-ticket::after { content: ""; position: absolute; left: 136px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-sunken); z-index: 1; }
.ki-ticket::before { top: -12px; }
.ki-ticket::after { bottom: -12px; }
.ki-ticket--next { outline: 3px solid var(--nacht-fix); box-shadow: var(--shadow-sticker); }
.ki-ticket-list { display: grid; gap: var(--space-6); }
@media (max-width: 760px) {
  .ki-ticket { grid-template-columns: 104px 1fr; }
  .ki-ticket::before, .ki-ticket::after { left: 92px; }
  .ki-ticket__day { font-size: 56px; }
  .ki-ticket__body { padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6); }
  .ki-ticket__aside { grid-column: 1 / -1; padding: 0 var(--space-4) var(--space-4); }
  .ki-ticket__title { font-size: 26px; }
}

/* ---------- News / Bento ---------- */
.ki-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); }
.ki-bento > .ki-news { grid-column: span 5; }
.ki-bento > .ki-news.ki-news--feature { grid-column: span 7; grid-row: span 2; }
.ki .ki-news { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; transition: transform var(--dauer-mittel) var(--ease-pop), box-shadow var(--dauer-mittel); }
.ki .ki-news:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-lift); color: var(--ink); }
.ki-news__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-sunken); }
.ki-news__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform calc(var(--dauer-lang) + 200ms) var(--ease-out); }
.ki-news:hover .ki-news__media img { transform: scale(1.07); }
.ki-news__media .ki-tag { position: absolute; left: var(--space-4); top: var(--space-4); z-index: 2; }
.ki-news__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.ki-news__date { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.ki-news__title { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 26px; line-height: 1.08; }
.ki-news__excerpt { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.ki-news__more { margin-top: auto; padding-top: var(--space-2); display: inline-flex; align-items: center; gap: 6px; font: 800 13px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--rot); }
.ki-news__more svg { transition: transform var(--dauer-kurz) var(--ease-pop); }
.ki-news:hover .ki-news__more svg { transform: translateX(5px); }
/* Feature: Text liegt auf dem Foto */
.ki .ki-news--feature { min-height: 560px; color: var(--on-nacht); background: var(--nacht-fix); }
.ki .ki-news--feature:hover { color: var(--on-nacht); }
.ki-news--feature .ki-news__media { position: absolute; inset: 0; aspect-ratio: auto; }
.ki-news--feature .ki-news__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--overlay-0) 30%, var(--overlay-95) 100%); }
.ki-news--feature .ki-news__body { position: relative; z-index: 2; justify-content: flex-end; padding: var(--space-8); }
.ki-news--feature .ki-news__date { color: var(--on-nacht-muted); }
.ki-news--feature .ki-news__title { font-size: 64px; font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .88; }
.ki-news--feature .ki-news__excerpt { color: var(--on-nacht-muted); max-width: 42ch; }
.ki-news--feature .ki-news__more { color: var(--gelb); }
.ki .ki-news--compact { flex-direction: row; }
.ki-news--compact .ki-news__media { aspect-ratio: auto; width: 40%; flex: none; }
.ki-placeholder { width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center; background: var(--rosa); color: var(--ink); font: 800 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; background-image: radial-gradient(var(--rot) 3px, transparent 3.5px), radial-gradient(var(--gelb) 3px, transparent 3.5px); background-size: 34px 34px, 34px 34px; background-position: 0 0, 17px 17px; }
@media (max-width: 960px) { .ki-bento > .ki-news, .ki-bento > .ki-news.ki-news--feature { grid-column: 1 / -1; grid-row: auto; } .ki .ki-news--feature { min-height: 420px; } .ki-news--feature .ki-news__title { font-size: 44px; } }
@media (max-width: 560px) { .ki .ki-news--compact { flex-direction: column; } .ki-news--compact .ki-news__media { width: 100%; aspect-ratio: 16/9; } }

/* ---------- Zahl-Kachel ---------- */
.ki-stat { display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--gelb); color: var(--nacht-fix); border: 3px solid var(--nacht-fix); box-shadow: var(--shadow-sticker); }
.ki-stat__num { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 140px; line-height: .8; }
.ki-stat__label { font-family: var(--font-serif); font-style: italic; font-size: 26px; line-height: 1.1; }

/* ---------- Motto ---------- */
.ki-motto { position: relative; padding: var(--space-16) var(--space-12); border-radius: var(--radius-lg); background: var(--rosa); color: var(--ink); overflow: hidden; }
.ki-motto__eyebrow { position: relative; z-index: 2; font: 800 14px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
.ki-motto__text { position: relative; z-index: 2; margin-top: var(--space-4); font-family: var(--font-serif); font-style: italic; font-size: 64px; line-height: 1; max-width: 18ch; }
.ki-motto__text b { font-family: var(--font-display); font-style: normal; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 1.1em; }
.ki-motto__quote { position: absolute; right: var(--space-12); top: -24px; z-index: 1; font-family: var(--font-serif); font-size: 420px; line-height: 1; color: var(--surface-raised); opacity: .7; }
.ki-motto .ki-sticker { position: absolute; z-index: 2; right: var(--space-8); bottom: var(--space-8); }
@media (max-width: 760px) { .ki-motto { padding: var(--space-12) var(--space-6) 150px; } .ki-motto__text { font-size: 36px; } .ki-motto__quote { font-size: 240px; top: -30px; } .ki-motto .ki-sticker { right: var(--space-4); bottom: var(--space-4); } }

/* ---------- Zoch-Historie ---------- */
.ki-history { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--line); }
.ki-history__item { position: relative; padding: var(--space-6) var(--space-4); background: var(--surface-raised); transition: background-color var(--dauer-kurz), color var(--dauer-kurz); }
.ki-history__item:hover { background: var(--nacht); color: var(--on-nacht); }
.ki-history__item:hover .ki-history__date { color: var(--on-nacht-muted); }
.ki-history__item:hover .ki-history__no { color: var(--gelb); }
.ki-history__year { display: block; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: .85; }
.ki-history__no { display: block; margin-top: var(--space-2); font: 800 12px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--rot); }
.ki-history__date { display: block; font-size: 14px; color: var(--ink-muted); }
.ki .ki-history__item--current, .ki .ki-history__item--current:hover { background: var(--gelb); color: var(--nacht-fix); }
.ki-history__item--current .ki-history__no, .ki-history__item--current .ki-history__date, .ki-history__item--current:hover .ki-history__no, .ki-history__item--current:hover .ki-history__date { color: var(--nacht-fix); }
.ki-history__item--off { background: var(--surface-sunken); }
.ki-history__item--off .ki-history__year { color: var(--ink-muted); text-decoration: line-through; text-decoration-thickness: 3px; }
.ki-history__item--off .ki-history__no { color: var(--ink-muted); }
@media (max-width: 960px) { .ki-history { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ki-history { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Hinweis ---------- */
.ki-notice { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4) var(--space-6); border-radius: var(--radius-pill); background: var(--nacht); color: var(--on-nacht); font-weight: 700; }
.ki-notice svg { width: 22px; height: 22px; flex: none; color: var(--gelb); }
.ki-notice--soft { background: var(--gelb-soft); color: var(--ink); border-radius: var(--radius-md); }
.ki-notice--soft svg { color: var(--rot); }
.ki-notice--success { background: var(--surface-raised); color: var(--ink); border: 2px solid var(--success); border-radius: var(--radius-md); }
.ki-notice--success svg { color: var(--success); }
.ki-notice--error { background: var(--surface-raised); color: var(--ink); border: 2px solid var(--danger); border-radius: var(--radius-md); }
.ki-notice--error svg { color: var(--danger); }

/* ---------- CTA ---------- */
.ki-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; padding: var(--space-16) var(--space-12); border-radius: var(--radius-lg); background: var(--gelb); color: var(--nacht-fix); border: 3px solid var(--nacht-fix); box-shadow: 10px 10px 0 var(--nacht-fix); }
.ki-cta__title { position: relative; z-index: 2; font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 112px; line-height: .84; text-transform: uppercase; }
.ki-cta__title .ki-serif { font-size: .55em; color: var(--nacht-fix); }
.ki-cta__text { position: relative; z-index: 2; margin-top: var(--space-4); font-size: 19px; line-height: 1.5; max-width: 48ch; font-weight: 500; }
.ki-cta__stripes { position: absolute; right: 0; top: 0; width: 22px; height: 100%; background: repeating-linear-gradient(-45deg, var(--rot) 0 var(--stripe-width), var(--streifen-hell) var(--stripe-width) calc(var(--stripe-width) * 2)); }
.ki-cta .ki-confetti i { background: var(--rot); }
.ki-cta .ki-confetti i:nth-child(3n) { background: var(--nacht-fix); }
.ki-cta .ki-confetti i:nth-child(4n) { background: var(--streifen-hell); }
.ki-cta > :not(.ki-confetti):not(.ki-cta__stripes) { position: relative; z-index: 2; }
.ki .ki-cta .ki-btn--primary { background: var(--nacht-fix); color: var(--on-nacht); box-shadow: none; }
.ki .ki-cta .ki-btn--primary:hover { background: var(--rot-strong); color: var(--on-nacht); }
@media (max-width: 860px) { .ki-cta { grid-template-columns: 1fr; padding: var(--space-12) var(--space-6); } .ki-cta__title { font-size: 64px; } }

/* ---------- Galerie ---------- */
.ki-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: var(--space-3); }
.ki-gallery__item { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); }
.ki-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform calc(var(--dauer-lang) + 200ms) var(--ease-out); }
.ki-gallery__item:hover img { transform: scale(1.07); }
.ki-gallery__item--wide { grid-column: span 2; }
.ki-gallery__item--tall { grid-row: span 2; }
.ki-gallery__cap { position: absolute; left: var(--space-3); bottom: var(--space-3); z-index: 2; }
@media (max-width: 640px) { .ki-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; } }

/* ---------- Gästebuch & Formular ---------- */
.ki-guest { position: relative; padding: var(--space-6); background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.ki-guest--rosa { background: var(--rosa); box-shadow: none; transform: rotate(-.6deg); }
.ki-guest__text { font-family: var(--font-serif); font-style: italic; font-size: 26px; line-height: 1.2; }
.ki-guest__foot { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-4); }
.ki-guest__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--nacht); color: var(--on-nacht); font-family: var(--font-display); font-stretch: 68%; font-weight: 900; font-size: 20px; }
.ki-guest__name { font-weight: 800; font-size: 15px; }
.ki-guest__date { font-size: 13px; color: var(--ink-muted); }
.ki-form { display: grid; gap: var(--space-4); }
.ki-field { display: flex; flex-direction: column; gap: 6px; }
.ki-field label { font: 800 13px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.ki-input { width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); border: 2px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); font: 400 17px/1.4 var(--font-sans); transition: border-color var(--dauer-kurz), box-shadow var(--dauer-kurz); }
.ki-input:hover { border-color: var(--ink); }
.ki-input:focus { outline: none; border-color: var(--ink); box-shadow: 4px 4px 0 var(--gelb); }
.ki-input[aria-invalid="true"] { border-color: var(--danger); }
.ki-input:disabled { background: var(--surface-sunken); color: var(--ink-muted); cursor: not-allowed; }
textarea.ki-input { min-height: 130px; resize: vertical; }
.ki-field__hint { font-size: 14px; color: var(--ink-muted); }
.ki-field__error { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--danger); }
.ki-field__error svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.ki-footer { position: relative; background: var(--nacht); color: var(--on-nacht); overflow: hidden; }
.ki-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-12); padding-top: var(--space-16); padding-bottom: var(--space-12); }
.ki-footer__brand { display: flex; gap: var(--space-4); align-items: flex-start; }
.ki-footer__brand img { height: 92px; width: auto; padding: 6px; background: var(--logo-plate); border-radius: var(--radius-md); }
.ki-footer__name { font-family: var(--font-display); font-stretch: 68%; font-weight: 900; font-size: 28px; line-height: .95; text-transform: uppercase; }
.ki-footer__text { margin-top: var(--space-2); font-size: 15px; line-height: 1.55; color: var(--on-nacht-muted); }
.ki-footer h4 { font: 800 13px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gelb); margin-bottom: var(--space-4); }
.ki-footer ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ki .ki-footer a { color: var(--on-nacht); text-decoration: none; font-weight: 600; }
.ki .ki-footer a:hover { color: var(--gelb); text-decoration: underline; }
.ki-footer__word { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 12.4vw; line-height: .8; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px var(--gelb); padding: 0 var(--space-4); margin-bottom: -.12em; text-align: center; transition: color var(--dauer-lang) var(--ease-out); }
.ki-footer:hover .ki-footer__word { color: var(--gelb); }
.ki-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-6) 0; border-top: 1px solid var(--on-dark-line); font-size: 14px; color: var(--on-nacht-muted); }
@media (min-width: 1280px) { .ki-footer__word { font-size: 158px; } }
@media (max-width: 760px) { .ki-footer__inner { grid-template-columns: 1fr; gap: var(--space-8); } }

/* Bento-Zuordnung der Zahl-Kachel */
.ki-bento > .ki-stat { grid-column: span 5; }
.ki-stat .ki-eyebrow { color: var(--nacht-fix); }
.ki-stat .ki-eyebrow::before { box-shadow: 14px 0 0 var(--rot); }
@media (max-width: 960px) { .ki-bento > .ki-stat { grid-column: 1 / -1; } .ki-stat__num { font-size: 104px; } }

/* Feinschliff v3 */
.ki-news--feature .ki-news__more { margin-top: var(--space-3); }
.ki-brand__text { padding-top: 14px; }
.ki-brand__name { font-size: 25px; }
.ki-seal__core .ki-sticker__big { font-size: 40px; }
.ki-seal__core .ki-sticker__top { font-size: 11px; }
.ki-brand__sub { display: none; }
.ki-ticket__body { min-width: 0; }
.ki-ticket__title, .ki-news__title, .ki-section__title, .ki-pagehead__title { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 760px) { .ki-ticket { grid-template-columns: 96px minmax(0, 1fr); } .ki-ticket::before, .ki-ticket::after { left: 84px; } .ki-ticket__title { font-size: 24px; } }
@media (max-width: 760px) {
  .ki-ticket__date { grid-row: span 2; }
  .ki-ticket__aside { grid-column: 2; padding: 0 var(--space-4) var(--space-4) var(--space-6); }
  .ki-motto { padding-bottom: 170px; }
}
