/* =============================================================
   Oberaacher Maskenball — styles.css
   Plain CSS, mobile-first. No framework, no build step.
   Sections:  1 Fonts  2 Tokens  3 Reset  4 Base  5 Layout
              6 Header/Nav  7 Hero  8 Sections  9 Components
             10 Footer  11 Gallery page  12 Motion / a11y
   ============================================================= */

/* ---------- 1 Fonts ------------------------------------------ */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

/* ---------- 2 Tokens --------------------------------------- */
:root {
  color-scheme: light;

  /* brand — contrast-checked:
     #e01655 vs #fff = 4.76:1 (AA normal text, white on magenta)
     #c0113f vs #fff = 5.67:1 (AA normal text, magenta on white) */
  --c-brand: #e01655;         /* poster magenta — fills, hero */
  --c-brand-deep: #c0113f;    /* text / links on the page background */
  --c-brand-press: #a20e34;   /* active state */
  /* Theme-independent pair for surfaces that stay light/dark in BOTH themes
     (white buttons, the always-dark footer). Never remap these. */
  --c-brand-on-white: #c0113f;   /* 5.67:1 on #fff */
  --c-footer-bg: #1a1116;
  --c-footer-fg: #ffffff;

  /* surfaces + ink */
  --c-paper: #ffffff;
  --c-paper-2: #fff2f6;       /* pale pink — alternating band */
  --c-ink: #1a1116;
  --c-ink-soft: #5f4a54;
  --c-line: #f0d9e0;

  /* watercolor-mask accent (used sparingly) */
  --grad-mask: linear-gradient(
    100deg, #21b3a6 0%, #86c440 34%, #f4c948 64%, #ef8a3c 100%
  );

  /* typography */
  --ff-display: "Anton", "Arial Narrow", "Haettenschweiler", system-ui, sans-serif;
  --ff-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --ff-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-body: clamp(1rem, 0.96rem + 0.22vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.03rem + 0.5vw, 1.375rem);
  --fs-h2: clamp(2rem, 1.35rem + 3.2vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
  --fs-display: clamp(2.9rem, 1.4rem + 9.2vw, 7rem);
  --fs-kicker: clamp(1.35rem, 1.1rem + 1.6vw, 2rem);

  /* space + shape */
  --space-section: clamp(3.25rem, 2.2rem + 5vw, 6rem);
  --container: 69rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --r: 14px;
  --r-lg: 26px;
  --shadow: 0 12px 30px -12px rgba(26, 17, 22, 0.28);
  --cut: clamp(28px, 7vw, 92px);   /* diagonal-slash depth */

  --tap: 44px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --c-paper: #17121a;
    --c-paper-2: #1f1722;
    --c-ink: #f7eef2;
    --c-ink-soft: #c7b3bd;
    --c-line: #3a2b34;
    --c-brand-deep: #ff5c8a;   /* readable magenta on dark */
  }
}

/* ---------- 3 Reset ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100svh; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"] { list-style: none; padding: 0; }
:target, main section[id] { scroll-margin-top: 5.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 4 Base ---------------------------------------- */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.02; }
h1, h2 { text-wrap: balance; }
h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
a { color: var(--c-brand-deep); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :where(a, button, input, textarea, summary):focus-visible { outline-color: var(--c-brand-deep); }
}

.skip-link {
  position: absolute;
  left: 0; top: 0;
  transform: translateY(-120%);
  background: var(--c-footer-bg);
  color: var(--c-footer-fg);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 5 Layout ------------------------------------- */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
/* Grid/flex children default to min-width:auto, which lets wide images push a
   track past the viewport. Opt every layout child back to 0. */
.cards > *, .info-grid > *, .teaser > *, .grid-photos > *,
.hero__grid > *, .lineup > * { min-width: 0; }
.section { padding-block: var(--space-section); }
.section--tint { background: var(--c-paper-2); }
.section__kicker {
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: var(--fs-kicker);
  color: var(--c-brand-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.section > .wrap > p:not([class]) { max-width: 46ch; }
.section__head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem); }

/* ---------- 6 Header / Nav ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-brand);
  color: #fff;
  /* Die Leiste umbricht (eingeklappte Navigation = zweite Zeile), deshalb
     zentriert align-items nur innerhalb der ersten Zeile. Ohne dieses
     Polster klebt der Menue-Button am oberen Rand. */
  padding-block: 0.5rem;
}
.site-header__bar {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: 3.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  color: #fff;
  text-decoration: none;
  font-family: var(--ff-display);
  text-transform: uppercase;
  /* Fluid: bei 360 px waere die feste Groesse 7 px zu breit fuer eine Zeile
     neben dem Menue-Button, die Leiste braeche auf zwei Zeilen um. */
  font-size: clamp(1.05rem, 0.82rem + 1.05vw, 1.35rem);
  letter-spacing: 0.03em;
  line-height: 1;
}
.wordmark .script {
  font-family: var(--ff-script);
  text-transform: none;
  font-size: 1.5em;
  letter-spacing: 0;
  font-weight: 700;
}
.site-header a:hover { text-decoration: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding-inline: 0.75rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__box { width: 18px; height: 12px; position: relative; }
.nav-toggle__box::before,
.nav-toggle__box::after,
.nav-toggle__box span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle__box::before { top: 0; }
.nav-toggle__box span { top: 5px; }
.nav-toggle__box::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::after { transform: translateY(-5px) rotate(-45deg); }

#primary-nav ul {
  list-style: none;
  padding: 0;
}
#primary-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  min-height: var(--tap);
}
#primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }

/* Without JS the toggle can do nothing, so hide it and leave the menu open.
   main.js drops .no-js synchronously, so this never causes a visible flip. */
.no-js .nav-toggle { display: none; }

/* mobile: collapsible panel that spans the full bar width */
@media (max-width: 47.99em) {
  .no-js #primary-nav { grid-template-rows: 1fr; visibility: visible; }
  #primary-nav {
    flex: 0 0 100%;
    order: 3;
    display: grid;
    grid-template-rows: 0fr;
    /* visibility flips instantly on open and only after the collapse on close,
       so the panel is never stuck invisible mid-transition */
    transition: grid-template-rows 0.28s ease, visibility 0s linear 0.28s;
    visibility: hidden;               /* keeps closed links out of the tab order */
  }
  #primary-nav.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.28s ease, visibility 0s;
  }
  #primary-nav > ul {
    overflow: hidden;
    min-height: 0;                    /* required for the 0fr row to collapse */
    padding-bottom: 1rem;
  }
  #primary-nav a {
    font-size: 1.5rem;
    padding-block: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  #primary-nav li:first-child a { border-top: 0; }
}

/* desktop: inline nav, no toggle */
@media (min-width: 48em) {
  .nav-toggle { display: none; }
  #primary-nav { display: block; }
  #primary-nav > ul {
    display: flex;
    gap: clamp(1rem, 0.4rem + 1.6vw, 2rem);
  }
  #primary-nav a { font-size: 1rem; }
}

/* ---------- 7 Hero ------------------------------------- */
.hero {
  position: relative;
  background: var(--c-brand);
  color: #fff;
  padding-block: clamp(2.5rem, 1.5rem + 6vw, 5.5rem) calc(var(--space-section) + var(--cut));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--cut)));
  overflow: clip;
}
.hero__grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3rem); }
.hero__kicker {
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: var(--fs-kicker);
  line-height: 1;
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--fs-display);
  letter-spacing: 0.005em;
  margin-block: 0.1em 0.15em;
}
/* Motto rides along in the script kicker so the hero keeps one compact
   information line instead of a stacked block. */
.hero__kicker .hero__motto { white-space: nowrap; }

/* Das Datum ist nach dem Namen die wichtigste Information und wird
   deshalb in der Display-Schrift gesetzt statt als Fliesstext. */
.hero__date {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.65rem, 1rem + 3.4vw, 3rem);
  letter-spacing: 0.015em;
  line-height: 1.05;
  margin-top: clamp(1.75rem, 1.1rem + 2.8vw, 2.75rem);
}
.hero__where {
  font-size: var(--fs-lead);
  line-height: 1.4;
  margin-top: 0.65rem;
  /* Kein rgba(): Weiss auf Magenta liegt bei 4.88:1 und damit knapp ueber AA.
     Schon 92 % Deckkraft druecken den Wert auf 4.30:1 und fallen durch. */
  color: #fff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
}

/* Purely typographic hero — the poster feel comes from Anton at scale,
   the script kicker and the diagonal cut, not from an illustration. */
.hero__grid > div:first-child { max-width: 34ch; }
@media (min-width: 48em) {
  .hero__grid > div:first-child { max-width: none; }
  .hero__title { max-width: 14ch; }
}

/* ---------- 8 Components ------------------------------- */
.button {
  --btn-bg: #fff;
  --btn-fg: var(--c-brand-on-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.button:active { transform: translateY(0); }
.button--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: currentColor;
}
.button--brand { --btn-bg: var(--c-brand); --btn-fg: #fff; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40em) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
}
.section--tint .card { background: var(--c-paper); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--c-ink-soft); }

.lineup-title { margin-top: 2.5rem; }
.lineup { display: grid; gap: 0.5rem; margin-top: 1rem; }
.lineup > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding-block: 0.6rem;
  border-top: 2px solid var(--c-line);
}
.lineup dt, .lineup .who {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.lineup .where { color: var(--c-ink-soft); }
.lineup .when { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--c-brand-deep); font-weight: 700; }

.price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}
.price-box .amount {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 2rem + 6vw, 5rem);
  color: var(--c-brand-deep);
  line-height: 1;
}
.price-box .amount span { font-size: 0.4em; vertical-align: 0.9em; margin-right: 0.15em; }

.checklist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 6px;
  background: var(--grad-mask);
}

.info-grid { display: grid; gap: 1.25rem; }
@media (min-width: 44em) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-grid h3 { margin-bottom: 0.35rem; color: var(--c-brand-deep); }
.info-grid p { color: var(--c-ink-soft); }
.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.mail-cta {
  display: inline-block;
  font-family: var(--ff-display);
  text-transform: none;
  font-size: clamp(1.35rem, 1rem + 2.5vw, 2.25rem);
  color: var(--c-brand-deep);
  word-break: break-word;
}

.social { display: flex; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.social a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
}

/* gallery teaser on home */
.teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-block: 1.25rem 1.5rem;
}
.teaser a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
.teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.teaser a:hover img { transform: scale(1.05); }

/* ---------- 10 Footer --------------------------------- */
.site-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-fg);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}
.site-footer .wordmark { font-size: 1.6rem; margin-bottom: 1rem; }
.site-footer a { color: var(--c-footer-fg); }
.site-footer nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer nav a {
  text-decoration: none;
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.site-footer small { color: rgba(255, 255, 255, 0.7); display: block; margin-top: 0.5rem; }

/* ---------- 11 Gallery page --------------------------- */
.gallery-h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.gallery-year { margin-block: var(--space-section) 0; }
.gallery-year:first-of-type { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.gallery-year h2 { color: var(--c-brand-deep); margin-bottom: 1rem; }
.grid-photos {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 40em) { .grid-photos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 60em) { .grid-photos { grid-template-columns: repeat(4, 1fr); } }
.grid-photos button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.grid-photos img { width: 100%; height: 100%; object-fit: cover; }

/* lightbox (progressive; needs JS) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 9, 0.92);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 200;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88svh; border-radius: var(--r); }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  min-width: var(--tap);
  min-height: var(--tap);
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ---------- 12 Motion --------------------------------- */
/* Reveal-on-scroll is opt-in: main.js adds .js-anim to <html> only when it can
   actually reveal again. Without JS, without IntersectionObserver, or with
   reduced motion the content is simply visible — it can never get stuck at
   opacity 0. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 13 Grafische Elemente ----------------------
   Alle Icons liegen als <symbol> inline im HTML (Sprite) und werden per
   <use> referenziert: keine zusaetzlichen Requests, und es funktioniert
   auch beim Oeffnen per file:// (externe Sprites blockiert Chrome dort). */
/* ---------- Videos im Abschnitt «Was dich erwartet» ------------
   Dasselbe Raster wie die Karten darueber, damit die beiden Reihen
   uebereinanderstehen. Der Rahmen uebernimmt die Behandlung der Karten im
   dunklen Abschnitt — ein nackter schwarzer Videokasten faellt dort sonst
   als Fremdkoerper auf. */
.clips { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 40em) { .clips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .clips { grid-template-columns: repeat(3, 1fr); } }

.clip { margin: 0; }

/* Feste Flaeche von 16:9: die Masse eines Videos liessen sich serverseitig
   nur mit zusaetzlicher Software auslesen. So steht die Hoehe von Anfang an
   fest, die Seite springt beim Laden nicht, und Hochformat wird eingepasst
   statt beschnitten. */
.clip__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.clip__video {
  display: block; width: 100%; height: 100%;
  object-fit: contain;
  background: transparent;    /* laesst das Zeichen dahinter durchscheinen */
}
/* Platzhalter, solange kein Vorschaubild hinterlegt ist. Bewusst in die
   Ecke und nicht in die Mitte: dort sitzt die Abspieltaste und wuerde das
   Zeichen vollstaendig verdecken. */
.clip__mark {
  position: absolute;
  right: 0.9rem; bottom: 0.9rem;
  width: 4.5rem; height: 4.5rem;
  color: rgba(255, 255, 255, 0.14);
}

/* Abspieltaste — wird von main.js eingesetzt. Ohne JavaScript bleiben die
   Bedienelemente des Browsers stehen und alles funktioniert wie bisher. */
.clip__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border: 0; padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.clip__play::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 13, 17, 0) 40%, rgba(20, 13, 17, 0.55) 100%);
}
.clip__play span {
  position: relative;
  display: grid; place-items: center;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.18s ease, background 0.18s ease;
}
.clip__play span::after {
  content: "";
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.25rem;         /* das Dreieck optisch mitten im Kreis */
}
.clip__play:hover span, .clip__play:focus-visible span {
  transform: scale(1.08);
  background: var(--c-brand-deep);
}
@media (prefers-reduced-motion: reduce) { .clip__play span { transition: none; } }

.clip__text {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Band ueber der Vorschau aus dem CMS. Erscheint nur dort und ist bewusst
   auffaellig — niemand soll einen ungespeicherten Stand fuer die Website
   halten. */
.preview-bar {
  position: sticky; top: 0; z-index: 999;
  background: #1a1116; color: #fff;
  padding: .6rem 1rem; font-size: .9rem; text-align: center;
}
.preview-bar a { color: #fff; margin-left: .6rem; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Mitmach-Gesicht im Hero ---------------------
   Alle Requisiten liegen im SVG und werden nur ein-/ausgeblendet.
   Ohne JS bleibt je Ebene die erste Requisite (.is-on im HTML) sichtbar,
   die Bedienleiste wird ausgeblendet. */
.dressup {
  display: grid;
  justify-items: center;
  justify-self: center;
  position: relative;        /* Ankerpunkt fuer die Trompeten */
  width: 100%;
  margin-top: 1.5rem;
  --face-w: min(64%, 250px); /* auch von .hero__horn verwendet */
}
.dressup__face {
  width: var(--face-w);
  aspect-ratio: 300 / 320;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
}
[data-slot] > [data-prop] { display: none; }
[data-slot] > [data-prop].is-on { display: inline; }

.dressup__controls {
  display: grid;
  gap: 0.2rem;
  width: min(100%, 280px);
  margin-top: 0.75rem;
}
.no-js .dressup__controls { display: none; }

.dressup__row {
  display: grid;
  grid-template-columns: var(--tap) 1fr var(--tap);
  align-items: center;
  gap: 0.5rem;
}
.dressup__arrow {
  width: var(--tap);
  height: var(--tap);
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.dressup__arrow svg { width: 1.35rem; height: 1.35rem; }
.dressup__arrow:hover { background: rgba(255, 255, 255, 0.18); }
.dressup__arrow:active { transform: scale(0.92); }

.dressup__pick { text-align: center; line-height: 1.15; min-width: 0; }
/* Kein rgba() auf Magenta: schon 15 % Transparenz fallen unter 4.5:1. */
.dressup__cat {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
}
.dressup__name {
  display: block;
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  letter-spacing: 0.02em;
  color: #fff;
}
.dressup__shuffle {
  justify-self: center;
  margin-top: 0.4rem;
  min-height: var(--tap);
  padding: 0.4rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--c-brand-on-white);
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.dressup__shuffle:hover { transform: translateY(-2px); }

@media (min-width: 48em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    align-items: center;
  }
  .dressup { margin-top: 0; --face-w: min(100%, 300px); }
}

.card__icon {
  width: 2.6rem;
  aspect-ratio: 1;
  height: auto;
  color: var(--c-brand-deep);
  margin-bottom: 0.65rem;
}
.lineup__icon {
  width: 1.7rem;
  aspect-ratio: 1;
  height: auto;
  flex: none;
  align-self: center;
  color: var(--c-brand-deep);
}
.confetti {
  display: block;
  width: min(100%, 15rem);
  aspect-ratio: 120 / 60;
  height: auto;
  margin-top: 1.25rem;
}

/* ---------- 14 Sektion mit Foto-Hintergrund -------------
   Bild liegt hinter dem Inhalt (z-index -1) und wird per Overlay so weit
   abgedunkelt, dass weisser Text die AA-Schwelle sicher haelt. */
.section--photo {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #140d11;
}
.section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.42;
  filter: saturate(0.8);
}
/* zusaetzlicher Verlauf: oben dunkler, damit die Ueberschrift sitzt */
.section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 13, 17, 0.68) 0%, rgba(20, 13, 17, 0.5) 45%, rgba(20, 13, 17, 0.78) 100%);
}
.section--photo .section__kicker { color: #ffd9e4; }
.section--photo p { color: rgba(255, 255, 255, 0.88); }
.section--photo .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.section--photo .card p { color: rgba(255, 255, 255, 0.85); }
.section--photo .card__icon,
.section--photo .lineup__icon { color: #fff; }
.section--photo .lineup > div { border-top-color: rgba(255, 255, 255, 0.22); }
.section--photo .lineup .where { color: rgba(255, 255, 255, 0.78); }
.section--photo .lineup .when { color: #ffd9e4; }

/* Fussnote mit dem Veranstalter-Hinweis */
.organiser {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.organiser a { color: rgba(255, 255, 255, 0.92); }

@media (prefers-reduced-motion: no-preference) {
  .dressup__face { animation: faceFloat 7s ease-in-out infinite; }
  @keyframes faceFloat {
    50% { transform: translateY(-10px) rotate(-1.5deg); }
  }
  /* kleiner Auftritt, wenn eine Requisite gewechselt wird */
  [data-slot] > [data-prop].is-on { animation: propPop 0.26s ease-out; }
  @keyframes propPop {
    from { opacity: 0; transform: translateY(-7px); }
  }
}

/* ---------- 15 Countdown (Eintritt-Sektion) --------------
   Steht bewusst nicht mehr im Hero: dort konkurrierten die grossen Zahlen
   mit dem Datum. Hier stuetzt er die Angabe "Tueroeffnung 20.30 Uhr". */
.countdown-block { margin-block: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.countdown-label {
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  color: var(--c-brand-deep);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.countdown { display: flex; flex-wrap: wrap; gap: clamp(0.5rem, 0.25rem + 1.2vw, 1rem); }
.countdown div {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 0.55rem 1rem;
  text-align: center;
  min-width: 5ch;
}
.countdown span {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.2rem);
  line-height: 1;
  color: var(--c-brand-deep);
  font-variant-numeric: tabular-nums;
}
.countdown small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-ink-soft);
}

/* ---------- 16 Social-Links ----------------------------- */
.social__icon {
  width: 1.4rem;
  aspect-ratio: 1;
  height: auto;
  flex: none;
  color: var(--c-brand-deep);
}
.more-photos { margin-top: 1rem; font-size: 0.95rem; color: var(--c-ink-soft); }

/* ---------- 17 Kurzmitteilung ---------------------------
   Standardmaessig per hidden-Attribut aus. Die explizite Regel ist noetig,
   weil die Klassenregel darunter sonst das UA-display:none ueberschreibt. */
.news[hidden] { display: none; }
.news {
  --news-bg: var(--c-footer-bg);
  --news-fg: #ffffff;
  display: block;
  background: var(--news-bg);
  color: var(--news-fg);
  padding-block: clamp(0.9rem, 0.7rem + 1vw, 1.4rem);
}
/* Kontraste gemessen: ink/weiss 18:1, amber/ink 12.6:1, dunkelrot/weiss 7.9:1 */
.news--warn  { --news-bg: #f4c948; --news-fg: #1a1116; }
.news--alert { --news-bg: #a20e34; --news-fg: #ffffff; }

.news__inner { display: flex; gap: 0.9rem; align-items: flex-start; }
.news__icon { width: 1.6rem; aspect-ratio: 1; height: auto; flex: none; margin-top: 0.15rem; }
.news__body { min-width: 0; }
.news__title {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.news p { color: inherit; }
.news__meta { margin-top: 0.35rem; font-size: 0.92rem; }
.news a { color: inherit; }

/* Gesichtsvariante: wird beim Laden per Zufall gewaehlt, nicht auswaehlbar. */
[data-fig] { display: none; }
[data-fig].is-on { display: inline; }

/* ---------- 18 Flip Cup --------------------------------- */
.facts-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-block: 1.5rem;
}
@media (min-width: 40em) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.facts-grid li {
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 0.8rem 1rem;
  background: var(--c-paper);
}
.facts-grid__k {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-ink-soft);
  margin-bottom: 0.15rem;
}
.facts-grid__v {
  display: block;
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  color: var(--c-brand-deep);
  line-height: 1.05;
}
.flipcup__note { color: var(--c-ink-soft); }

/* ---------- 19 Flip-Cup-Animation -----------------------
   Zeigt den Spielzug: hochschnellen, 180 Grad drehen, kopfueber landen.
   Ein voller Zyklus dreht 2x180 Grad und endet wieder aufrecht, damit die
   Schleife ohne Sprung laeuft. Nur transform/opacity -> laeuft auf der
   Compositor-Ebene und kostet kein Layout. */
.flipcup__top { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 2.5rem); }
@media (min-width: 48em) {
  .flipcup__top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
.flipcup__anim {
  position: relative;
  width: 140px;
  height: 205px;
  justify-self: center;
  display: grid;
  place-items: end center;
}
.flipcup__cup {
  width: 112px;
  height: auto;
  position: relative;
  z-index: 1;
  transform-origin: 50% 52%;
}
.flipcup__shadow {
  position: absolute;
  bottom: 4px;
  width: 78px;
  height: 13px;
  border-radius: 50%;
  background: rgba(26, 17, 22, 0.26);
}

@media (prefers-reduced-motion: no-preference) {
  .flipcup__cup { animation: cupFlip 3.6s infinite; }
  .flipcup__shadow { animation: cupShadow 3.6s infinite; }

  @keyframes cupFlip {
    0%, 8%   { transform: translateY(0) rotate(0deg); animation-timing-function: cubic-bezier(.3,0,.4,1); }
    26%      { transform: translateY(-54px) rotate(105deg); animation-timing-function: cubic-bezier(.5,0,.7,1); }
    44%      { transform: translateY(0) rotate(180deg); animation-timing-function: ease-out; }
    48%      { transform: translateY(-8px) rotate(180deg); animation-timing-function: ease-in; }
    52%, 58% { transform: translateY(0) rotate(180deg); animation-timing-function: cubic-bezier(.3,0,.4,1); }
    76%      { transform: translateY(-54px) rotate(285deg); animation-timing-function: cubic-bezier(.5,0,.7,1); }
    94%      { transform: translateY(0) rotate(360deg); animation-timing-function: ease-out; }
    97%      { transform: translateY(-6px) rotate(360deg); animation-timing-function: ease-in; }
    100%     { transform: translateY(0) rotate(360deg); }
  }
  @keyframes cupShadow {
    0%, 8%   { transform: scale(1); opacity: .26; }
    26%      { transform: scale(.62); opacity: .1; }
    44%, 58% { transform: scale(1); opacity: .26; }
    76%      { transform: scale(.62); opacity: .1; }
    94%, 100%{ transform: scale(1); opacity: .26; }
  }
}

/* ---------- 20 Finale (Uebergrossen-Datum) --------------
   Randlos, bewusst ohne Container: der einzige Bruch im Seitenrhythmus. */
.finale {
  background: var(--c-brand);
  color: #fff;
  text-align: center;
  padding-block: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
  overflow: hidden;
}
.finale__kicker {
  font-family: var(--ff-script);
  font-weight: 700;
  font-size: var(--fs-kicker);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.finale__date {
  font-family: var(--ff-display);
  font-weight: 400;
  /* fuellt die Breite bis auf einen schmalen Rand */
  font-size: clamp(3rem, 20.5vw, 24rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  display: block;
}
.finale__y { color: transparent; -webkit-text-stroke: 2px #fff; text-stroke: 2px #fff; }
.finale__note { font-size: var(--fs-lead); margin-top: 0.6rem; }

/* ---------- 21 Akzentfarbe je Sektion -------------------
   Alle Werte auf Weiss bzw. Rose gegen AA geprueft (>= 4.5:1) — die rohen
   Palettentoene aus --grad-mask waeren als Textfarbe zu hell. */
/* --c-accent    = abgedunkelt, nur fuer Text (muss AA auf hellem Grund halten)
   --c-accent-vivid = Originalton der Palette, nur fuer Flaechen/Toenungen.
   Wird die Toenung aus dem dunklen Ton gemischt, wirkt sie schlammig.
   Bernstein/Gelb fehlt hier bewusst: um auf hellem Grund AA zu halten, muss
   es so weit abgedunkelt werden, dass es als Braun liest — untauglich fuer
   Text und Buttons. Die Galerie nutzt daher das Marken-Magenta. */
[data-accent="accent-teal"]   { --c-accent: #0e7c72; --c-accent-vivid: #21b3a6; }
[data-accent="accent-green"]  { --c-accent: #4a7c12; --c-accent-vivid: #86c440; }
[data-accent="accent-orange"] { --c-accent: #b4520a; --c-accent-vivid: #ef8a3c; }

[data-accent] .section__kicker,
[data-accent] .info-grid h3,
[data-accent] .facts-grid__v,
[data-accent] .countdown-label,
[data-accent] .countdown span,
[data-accent] .price-box .amount { color: var(--c-accent, var(--c-brand-deep)); }

[data-accent] .checklist li::before { background: var(--c-accent); }

/* Getoente Sektionen nehmen ihre eigene Akzentfarbe auf, sonst kaempft z.B.
   Tuerkis gegen den rosa Grund. color-mix mischt mit der aktuellen Papierfarbe
   und funktioniert dadurch in beiden Farbschemata; aeltere Browser behalten
   einfach --c-paper-2. */
@supports (background: color-mix(in srgb, red 5%, white)) {
  .section--tint[data-accent] { background: color-mix(in srgb, var(--c-accent-vivid) 9%, var(--c-paper)); }
  .section--tint[data-accent] .card,
  .section--tint[data-accent] .countdown div,
  .section--tint[data-accent] .facts-grid li { background: var(--c-paper); }
}
[data-accent] .button--brand { --btn-bg: var(--c-accent); --btn-fg: #fff; }

@media (prefers-color-scheme: dark) {
  /* Auf dunklem Grund brauchen die Toene mehr Helligkeit statt weniger. */
  [data-accent="accent-teal"]   { --c-accent: #4fd6c6; }
  [data-accent="accent-green"]  { --c-accent: #a8e05a; }
  [data-accent="accent-orange"] { --c-accent: #ffa15c; }
  [data-accent] .button--brand { --btn-fg: #17121a; }
}

/* Sehr schmale Geraete (iPhone SE der 1. Generation u. a.): Wortmarke und
   Menue-Button passen sonst um wenige Pixel nicht nebeneinander und die
   Kopfleiste bricht auf zwei Zeilen um. */
@media (max-width: 350px) {
  .site-header__bar { gap: 0.4rem; }
  .nav-toggle { padding-inline: 0.55rem; gap: 0.35rem; }
}

/* ---------- 22 Rechtstexte ------------------------------ */
.legal .wrap { max-width: 46rem; }
.legal h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  line-height: 1.02;
  margin-bottom: 1rem;
}
.legal h2 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--c-brand-deep);
}
.legal p { max-width: 70ch; margin-bottom: 0.9rem; }
.legal__lead { font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 1.5rem; }
.legal__list { margin: 0 0 0.9rem 1.25rem; max-width: 70ch; }
.legal__list li { margin-bottom: 0.4rem; }
.legal__meta { margin-top: 2.5rem; color: var(--c-ink-soft); font-size: 0.92rem; }

/* Noch auszufuellende Angaben — bewusst auffaellig, damit nichts uebersehen
   wird. Vor dem Livegang muessen alle .todo-Stellen verschwunden sein. */
.todo {
  background: #ffe8a3;
  color: #4a3500;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
@media (prefers-color-scheme: dark) {
  .todo { background: #6b5200; color: #ffeeb8; }
}

/* Ersatz fuer ehemalige Inline-Styles — die CSP erlaubt style-src 'self',
   damit waeren style="..."-Attribute im Browser wirkungslos. */
.cards--spaced { margin-top: 1.75rem; }
.error__lead { max-width: 44ch; font-size: var(--fs-lead); }

/* ---------- 23 Hero-Deko: Konfetti und Trompeten --------
   Beides rein dekorativ (aria-hidden) und ausschliesslich mit transform und
   opacity animiert, also auf der Compositor-Ebene. Bei reduzierter Bewegung
   bleibt alles unsichtbar stehen statt zu ruckeln. */
.hero__confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
/* Inhalt ueber das Konfetti legen */
.hero__grid { position: relative; z-index: 1; }

.hero__confetti i {
  position: absolute;
  top: -8%;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  opacity: 0;                 /* ohne Animation unsichtbar */
}
/* Streuung: Position, Farbe, Tempo und Versatz je Teilchen */
.hero__confetti i:nth-child(1)  { left:  4%; background: #21b3a6; animation-duration: 11s; animation-delay: 0s;    }
.hero__confetti i:nth-child(2)  { left: 13%; background: #f4c948; animation-duration: 14s; animation-delay: -3.5s; width: 5px; height: 8px; }
.hero__confetti i:nth-child(3)  { left: 22%; background: #ef8a3c; animation-duration: 9.5s;animation-delay: -7s;   }
.hero__confetti i:nth-child(4)  { left: 31%; background: #ffffff; animation-duration: 13s; animation-delay: -1.5s; width: 5px; height: 9px; }
.hero__confetti i:nth-child(5)  { left: 40%; background: #86c440; animation-duration: 10.5s;animation-delay: -9s;  }
.hero__confetti i:nth-child(6)  { left: 49%; background: #f4c948; animation-duration: 15s; animation-delay: -5s;   width: 6px; height: 10px; }
.hero__confetti i:nth-child(7)  { left: 58%; background: #21b3a6; animation-duration: 12s; animation-delay: -11s;  }
.hero__confetti i:nth-child(8)  { left: 67%; background: #ffffff; animation-duration: 10s; animation-delay: -2.5s; width: 5px; height: 8px; }
.hero__confetti i:nth-child(9)  { left: 76%; background: #ef8a3c; animation-duration: 13.5s;animation-delay: -8s;  }
.hero__confetti i:nth-child(10) { left: 85%; background: #86c440; animation-duration: 11.5s;animation-delay: -4s;  width: 6px; height: 10px; }
.hero__confetti i:nth-child(11) { left: 93%; background: #f4c948; animation-duration: 9s;  animation-delay: -6.5s; }
.hero__confetti i:nth-child(12) { left: 68%; background: #21b3a6; animation-duration: 14.5s;animation-delay: -12s; width: 5px; height: 9px; }

/* Trompeten: der Grossteil des Zyklus ist Wartezeit ausserhalb des Bildes,
   sichtbar sind sie nur rund zwei von neun Sekunden. */
.hero__horn {
  position: absolute;
  top: 26%;
  width: clamp(38px, 10.5vw, 64px);
  aspect-ratio: 1;
  color: #f4c948;
  opacity: 0;
  pointer-events: none;
}
.hero__horn svg { width: 100%; height: 100%; display: block; }
.hero__horn--l { right: calc(50% + var(--face-w) / 2 + 6px); }
.hero__horn--r { left:  calc(50% + var(--face-w) / 2 + 6px); }
.hero__horn--r svg { transform: scaleX(-1); }

@media (prefers-reduced-motion: no-preference) {
  .hero__confetti i {
    animation-name: confettiFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  /* 140vh reicht auch dann bis unter den Hero, wenn dieser hoeher als der
     Viewport ist (mobil rund 1040 px bei 844 px Viewport). */
  @keyframes confettiFall {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
    6%   { opacity: 0.45; }
    88%  { opacity: 0.45; }
    100% { transform: translate3d(14px, 140vh, 0) rotate(420deg); opacity: 0; }
  }

  .hero__horn { animation: hornPeek 9s ease-in-out infinite; }
  .hero__horn--r { animation-name: hornPeekRight; animation-delay: 0.35s; }

  @keyframes hornPeek {
    0%, 66%   { transform: translateX(-165%) rotate(-10deg); opacity: 0; }
    74%       { transform: translateX(0) rotate(-10deg);     opacity: 1; }
    86%       { transform: translateX(0) rotate(-10deg);     opacity: 1; }
    95%, 100% { transform: translateX(-165%) rotate(-10deg); opacity: 0; }
  }
  @keyframes hornPeekRight {
    0%, 66%   { transform: translateX(165%) rotate(10deg); opacity: 0; }
    74%       { transform: translateX(0) rotate(10deg);    opacity: 1; }
    86%       { transform: translateX(0) rotate(10deg);    opacity: 1; }
    95%, 100% { transform: translateX(165%) rotate(10deg); opacity: 0; }
  }
}

/* Zwischen 48em und 64em ist die rechte Rasterspalte nur wenig breiter als
   das Gesicht selbst — die Trompeten wuerden dort angeschnitten. Statt sie zu
   stauchen, entfallen sie in diesem Fenster. Mobil (einspaltig, volle Breite)
   und ab 64em ist genug Platz. */
@media (min-width: 48em) and (max-width: 63.99em) {
  .hero__horn { display: none; }
}

/* Schriftzug auf den Hueten des Hero-Gesichts. Die Hut-Gruppe vererbt
   stroke/stroke-width fuer die Konturen — fuer Text muss das ausdruecklich
   abgeschaltet werden, sonst bekommen die Buchstaben eine 6px-Kontur. */
.hat-brand {
  font-family: var(--ff-display), "Arial Narrow", sans-serif;
  letter-spacing: 0.06em;
  text-anchor: middle;
  stroke: none;
  paint-order: stroke fill;
}
