@font-face {
  font-family: Rabauken Script;
  src: url(assets/kaushan-script.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Rabauken Sans;
  src: url(assets/sans-regular.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Rabauken Sans;
  src: url(assets/sans-bold.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #1d1d1f;
  --panel: #28282b;
  --surface: #333338;
  --ink: #f6f3ef;
  --muted: #cfcbca;
  --line: #626267;
  --accent: #f57572;
  --brand-red: #ef4b50;
  --paint: #a72832;
  --on-paint: #fff;
  --display: Impact, "Arial Black", "Rabauken Sans", sans-serif;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.65 "Rabauken Sans", sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
:root[data-theme="confetti"] {
  color-scheme: light;
  --page: #fffaf1;
  --panel: #f9efe4;
  --surface: #f2e4d9;
  --ink: #20171a;
  --muted: #544448;
  --line: #ac8986;
  --accent: #ae1629;
  --paint: #c31d31;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell, .header-inner { width: min(92%, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; transform: translateY(-180%); background: var(--panel); padding: .6rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--page); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.header-inner, .site-nav, .brand, .footer-inner { display: flex; align-items: center; }
.header-inner { position: relative; min-height: 68px; justify-content: space-between; gap: 1.25rem; }
.brand { gap: .6rem; font-size: .94rem; font-weight: 700; line-height: 1.05; text-decoration: none; }
.brand strong { color: var(--brand-red); }
.crest { display: block; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 50%; overflow: hidden; background: #fff; }
.crest img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.33); }
.site-header .crest { will-change: rotate; }
@supports (animation-timeline: scroll(root block)) {
  .site-header .crest {
    animation: crest-scroll linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes crest-scroll {
    from { rotate: 0deg; }
    to { rotate: 1080deg; }
  }
}
@media (hover: hover) and (pointer: fine) {
  .site-header .crest { transition: transform .7s cubic-bezier(.22,.68,.35,1); }
  .site-header .brand:is(:hover, :focus-visible) .crest { transform: rotate(360deg); }
}
.site-nav { gap: clamp(.75rem, 1.9vw, 1.7rem); }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.site-nav a:is(:hover,:focus-visible) { color: var(--accent); }
.site-nav .nav-action { border-radius: 999px; background: var(--paint); color: var(--on-paint); padding-inline: 1rem; }
.site-nav .nav-action:is(:hover,:focus-visible) { background: var(--accent); color: var(--page); }
.menu-toggle, .header-instagram { display: none; }

.hero { position: relative; overflow: clip; isolation: isolate; background: var(--panel); padding-block: clamp(1.4rem, 3.8vw, 3.8rem) 2rem; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse at 79% 40%, var(--surface), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: 0; right: 0; bottom: 0; height: 1.4rem; background: var(--paint);
  clip-path: polygon(0 57%, 18% 79%, 42% 88%, 65% 62%, 84% 51%, 100% 0, 100% 100%, 0 100%);
}
:root[data-theme="confetti"] .hero::before { background: #fff6e9; }
:root[data-theme="confetti"] .site-header { background: #211917; color: #fff9ef; border-bottom-color: #9a1424; }
:root[data-theme="confetti"] .site-nav a:not(.nav-action):is(:hover,:focus-visible) { color: #ff7c82; }
.eyebrow { font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.hero-kicker { display: flex; align-items: center; gap: .6rem; }
.hero-kicker::before { content: ""; display: block; width: 1.35rem; height: 3px; background: currentColor; transform: rotate(-8deg); }
.photo-credits h1 { font-family: var(--display); text-transform: uppercase; font-weight: 800; }
.hero h1 { width: fit-content; max-width: 100%; font: 400 clamp(3rem, 7.15vw, 6.8rem)/.95 "Rabauken Script", Georgia, cursive; letter-spacing: -.025em; margin: .6rem 0 .7rem; }
.hero-name { display: block; font-size: .69em; }
.hero-name b { display: inline-block; color: var(--brand-red); font-weight: 400; rotate: -4deg; }
.hero h1 em { display: block; font-style: normal; line-height: .98; }
.hero h1 small { display: block; text-align: right; font: 700 .22em/1.05 "Rabauken Sans", sans-serif; }
.section h2 em { font-style: normal; }
.hero-tagline { width: fit-content; color: var(--ink); font: 400 clamp(1.15rem, 2.4vw, 1.85rem)/1.25 "Rabauken Script", Georgia, cursive; }
.hero-tagline::after { content: ""; display: block; width: 70%; height: 5px; margin: .22rem 0 0 auto; background: var(--paint); border-radius: 80% 20% 70% 10%; transform: rotate(-3deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.button { display: inline-flex; gap: .7rem; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; border: 2px solid transparent; border-radius: 999px; padding: .65rem 1.1rem; font-weight: 700; line-height: 1.35; transition: background-color .2s, color .2s; }
.button-primary { color: var(--on-paint); background: var(--paint); }
.button-primary:hover { color: var(--page); background: var(--accent); }
.confetti-toggle { min-height: 44px; padding: .45rem .65rem; border-radius: 999px; border: 1px solid var(--line); background: var(--page); color: var(--ink); font-weight: 700; font-size: .76rem; }
.confetti-toggle:hover { border-color: var(--accent); color: var(--accent); }
.hero-photo { position: relative; min-width: 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 97%, 59% 100%, 25% 98%, 0 93%); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.link-arrow { display: block; position: relative; flex: 0 0 .8rem; width: .8rem; height: .8rem; transform: rotate(-35deg); }
.link-arrow::before { content: ""; position: absolute; inset: calc(50% - 1px) 1px auto 0; border-top: 2px solid currentColor; }
.link-arrow::after { content: ""; position: absolute; right: 1px; top: 2px; width: .55rem; height: .55rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }

.appearance-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .55rem; font-size: .82rem; font-weight: 700; }
.appearance-switch { position: relative; display: inline-flex; align-items: center; min-height: 44px; gap: .4rem; cursor: pointer; }
.appearance-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.appearance-track { position: relative; width: 2.4rem; height: 1.35rem; border: 1px solid currentColor; border-radius: 999px; }
.appearance-track::after { content: ""; position: absolute; inset: .15rem auto auto .16rem; width: .94rem; height: .94rem; border-radius: 50%; background: currentColor; transition: transform .2s ease; }
.appearance-switch input:checked ~ .appearance-track::after { transform: translateX(1rem); }
.appearance-switch input:focus-visible ~ .appearance-track { outline: 2px solid currentColor; outline-offset: 3px; }
.appearance-switch input:checked ~ .appearance-light,
.appearance-switch input:not(:checked) ~ .appearance-dark { opacity: .72; }
.appearance-reset { min-height: 44px; padding: .25rem; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .16em; font-size: .75rem; }

.hero-confetti { position: absolute; z-index: 2; inset: 0; pointer-events: none; container-type: size; }
.hero-confetti i { display: none; position: absolute; top: -1rem; left: var(--x); width: var(--w, .55rem); height: var(--h, .8rem); border-radius: 18%; background: var(--piece, var(--accent)); opacity: .85; }
.hero[data-confetti] .hero-confetti i { display: block; animation: confetti-fall var(--duration) var(--delay) linear infinite; }
.hero[data-confetti="paused"] .hero-confetti i { animation-play-state: paused; }
.hero-confetti i:nth-child(1) { --x: 5%; --duration: 7s; --delay: -4s; --drift: 34px; }
.hero-confetti i:nth-child(2) { --x: 14%; --duration: 8s; --delay: -1s; --drift: -22px; --piece: #b4661b; --w: .72rem; }
.hero-confetti i:nth-child(3) { --x: 22%; --duration: 6.5s; --delay: -3.1s; --drift: 28px; --piece: #8c6870; }
.hero-confetti i:nth-child(4) { --x: 30%; --duration: 9s; --delay: -5s; --drift: -27px; --h: .58rem; }
.hero-confetti i:nth-child(5) { --x: 41%; --duration: 7.5s; --delay: -5.7s; --drift: 35px; --piece: #ae601b; }
.hero-confetti i:nth-child(6) { --x: 48%; --duration: 6s; --delay: -2.6s; --drift: -34px; }
.hero-confetti i:nth-child(7) { --x: 56%; --duration: 8.5s; --delay: -6.6s; --drift: 34px; --piece: #864f56; --w: .72rem; }
.hero-confetti i:nth-child(8) { --x: 64%; --duration: 7s; --delay: -3s; --drift: -36px; }
.hero-confetti i:nth-child(9) { --x: 72%; --duration: 8s; --delay: -6s; --drift: 29px; --piece: #c27a2a; }
.hero-confetti i:nth-child(10) { --x: 79%; --duration: 6.8s; --delay: -2s; --drift: -20px; }
.hero-confetti i:nth-child(11) { --x: 88%; --duration: 9s; --delay: -4.8s; --drift: 26px; --piece: #8c6870; --h: .55rem; }
.hero-confetti i:nth-child(12) { --x: 95%; --duration: 7.4s; --delay: -6s; --drift: -20px; }
@keyframes confetti-fall {
  0% { transform: translate3d(0, -12px, 0) rotate(10deg); }
  50% { transform: translate3d(var(--drift), 24rem, 0) rotate(145deg); transform: translate3d(var(--drift), 50cqh, 0) rotate(145deg); }
  100% { transform: translate3d(0, 48rem, 0) rotate(335deg); transform: translate3d(0, calc(100cqh + 2rem), 0) rotate(335deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-in .55s cubic-bezier(.2,.72,.28,1) both; }
  .hero-photo { animation: hero-in .7s .08s cubic-bezier(.2,.72,.28,1) both; }
  @keyframes hero-in {
    from { opacity: .25; translate: 0 14px; }
    to { opacity: 1; translate: 0 0; }
  }
}

.section { padding-block: clamp(2.5rem,6.5vw,5.5rem); border-bottom: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--panel); }
.section h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.25; margin: 0 0 .75rem; overflow-wrap: anywhere; }
.motto-inline { margin-top: 1.05rem; }
.motto-inline h3 { font-size: 1rem; }
.motto-inline p { color: var(--muted); }
.motto-scene { position: relative; width: 100%; height: 5.125rem; }
.motto-run { position: absolute; inset: 0 auto auto 0; width: 200%; height: 10.25rem; transform: scale(.5); transform-origin: top left; container-type: inline-size; }
.motto-skier { position: absolute; z-index: 1; left: 6%; bottom: 21%; width: min(30%,5.65rem); aspect-ratio: 398 / 337; opacity: .74; transform-origin: 72% 74%; }
.motto-skier img {
  position: absolute;
  width: 160.8%;
  max-width: none;
  height: auto;
  left: -36.68%;
  top: -50.45%;
  filter: grayscale(1);
  transform: skewX(-5deg);
  clip-path: polygon(22.81% 37.13%, 22.81% 35.41%, 23.91% 34.17%, 26.41% 33.70%, 29.22% 34.17%, 30.63% 35.88%, 30.94% 38.07%, 33.59% 38.69%, 35.31% 40.25%, 35.62% 42.75%, 37.50% 44.31%, 38.59% 43.84%, 38.12% 41.97%, 36.09% 39.63%, 36.25% 37.44%, 37.03% 35.10%, 39.22% 32.92%, 42.34% 31.05%, 46.56% 30.11%, 47.97% 28.08%, 50.16% 26.99%, 53.75% 26.52%, 56.72% 26.99%, 59.22% 28.55%, 60.47% 30.73%, 61.09% 34.79%, 63.44% 36.35%, 65.31% 38.85%, 66.25% 41.03%, 65.00% 43.37%, 62.81% 43.99%, 62.19% 45.55%, 65.00% 47.74%, 66.56% 50.39%, 67.50% 53.35%, 66.72% 55.38%, 65.00% 57.25%, 62.19% 58.66%, 65.31% 58.19%, 69.06% 58.97%, 70.78% 60.69%, 72.81% 58.50%, 75.16% 55.07%, 78.28% 53.20%, 81.56% 52.89%, 83.59% 54.29%, 84.69% 56.47%, 84.53% 59.44%, 83.59% 62.87%, 81.56% 66.46%, 78.12% 69.42%, 75.00% 70.20%, 74.53% 72.70%, 72.34% 76.13%, 69.84% 78.63%, 67.34% 79.10%, 65.00% 78.16%, 63.12% 76.13%, 62.03% 73.79%, 59.69% 73.01%, 57.03% 71.61%, 53.59% 70.36%, 51.09% 70.05%, 48.28% 70.36%, 47.81% 72.54%, 45.78% 74.26%, 42.66% 74.73%, 39.69% 74.10%, 37.03% 72.85%, 35.16% 70.98%, 33.59% 68.95%, 32.34% 65.99%, 31.09% 63.03%, 29.69% 60.84%, 28.12% 58.97%, 27.19% 56.01%, 27.50% 53.35%, 28.44% 51.33%, 26.72% 49.45%, 25.47% 47.43%, 25.31% 45.24%, 25.47% 42.59%, 26.41% 40.09%, 24.53% 39.16%);
}
.motto-crate { position: absolute; left: 55%; bottom: 20%; display: flex; justify-content: space-around; align-items: end; width: 2rem; height: 1.15rem; padding: 0 .15rem .15rem; border: 1px solid #777; border-radius: .14rem; background: #858585; box-shadow: inset 0 -.28rem #686868; opacity: .72; transform-origin: 70% 96%; }
.motto-crate i { width: .33rem; height: .96rem; margin-bottom: .21rem; border-top: 2px solid #b5b5b5; border-radius: .12rem .12rem 0 0; background: linear-gradient(#5b5b5b 40%,#c5c5c5 40% 70%,#5b5b5b 70%); }
.motto-skier::before, .motto-skier::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -2%;
  width: 91%;
  height: .44rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 55% .15rem;
  color: var(--muted);
  transform: rotate(-5deg);
}
.motto-skier::after { left: 5%; bottom: 5%; width: 83%; opacity: .68; }

@keyframes motto-ride {
  0% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  48% { transform: translate3d(var(--ski-hit), 0, 0) rotate(1deg); }
  60% { transform: translate3d(calc(var(--ski-hit) + 17px), -13px, 0) rotate(30deg); }
  76% { transform: translate3d(calc(var(--ski-finish) - 22px), -16px, 0) rotate(94deg); }
  92% { transform: translate3d(var(--ski-finish), -5px, 0) rotate(111deg); }
  100% { transform: translate3d(var(--ski-finish), -3px, 0) rotate(107deg); }
}
@keyframes motto-crate-tip {
  0%, 48% { transform: translate3d(0, 0, 0) rotate(0); }
  59% { transform: translate3d(.3rem, 0, 0) rotate(-15deg); }
  73% { transform: translate3d(.47rem, 0, 0) rotate(6deg); }
  100% { transform: translate3d(.47rem, 0, 0) rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .motto-skier { --ski-animation: motto-ride; }
  .motto-crate { --ski-animation: motto-crate-tip; }
  @supports (animation-timeline: --motto-scroll) and (animation-range: entry 0% exit 0%) and (width: 1cqw) {
    .motto-scene { view-timeline: --motto-scroll block; view-timeline-inset: 32% 16%; }
    .motto-skier {
      --ski-hit: calc(49cqw - min(27.6cqw, 5.2rem));
      --ski-finish: calc(94cqw - min(30cqw, 5.65rem) - 56px);
    }
    .motto-skier, .motto-crate {
      animation: var(--ski-animation) linear both;
      animation-timeline: --motto-scroll;
      animation-range: entry 0% exit 0%;
      will-change: transform;
    }
  }
  .motto-scene[data-ski-fallback] :is(.motto-skier, .motto-crate) {
    animation: var(--ski-animation) 1s linear both paused;
    will-change: transform;
  }
}
.join-grid, .about-grid, .history-grid, .events-grid, .donations-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.4rem,6vw,5rem); align-items: start; }
.section-intro, .about-copy > p:not(.eyebrow), .join-status, .event-note p, .donation-note p, .local-card p, .timeline p { max-width: 65ch; color: var(--muted); }
.join-status, .event-note p, .local-card p, .donation-note p { margin-top: .65rem; }
.local-card, .event-note, .donation-note, .contact-form { padding: clamp(1rem,4vw,2.1rem); background: var(--surface); border-left: 4px solid var(--paint); border-radius: 1rem; }
.local-card small { display: block; color: var(--muted); }
.local-card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }
.local-logo { display: block; width: min(8.5rem, 100%); padding: .3rem; border-radius: .35rem; background: #fff; }
.local-logo img { width: 100%; height: auto; }
.text-link, .photo-credits a { color: var(--accent); text-underline-offset: .2em; }
.local-card .text-link, .history-source { display: inline-block; margin-top: .65rem; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { padding: 1rem; border-top: 2px solid var(--line); }
.timeline time { font-weight: 700; color: var(--accent); }

.contact-form, .contact-field { display: grid; gap: .8rem; min-width: 0; }
.contact-field { gap: .25rem; }
.contact-field label { font-weight: 700; }
.contact-field :is(input,select,textarea) { width: 100%; background: var(--page); color: var(--ink); border: 1px solid var(--line); border-radius: .55rem; padding: .55rem .65rem; }
.contact-field textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.contact-note, .event-status { font-size: .875rem; color: var(--muted); }
.contact-result:empty { display: none; }
.contact-result[data-error] { color: #ffc4b9; }
:root[data-theme="confetti"] .contact-result[data-error] { color: #9d2222; }
.contact-result[data-success] { color: var(--accent); }

.gallery-group { margin-top: 1.65rem; }
.gallery-row-heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: .85rem 0 .45rem; }
.gallery-row-heading h3 { font-size: clamp(1.05rem, 2.5vw, 1.45rem); }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 29%; gap: .75rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: 4px 4px .5rem; scroll-padding-inline: 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery-track-wagenbau { grid-auto-columns: 22%; }
.gallery-card { position: relative; display: block; text-decoration: none; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: var(--page); scroll-snap-align: start; }
.gallery-card:focus-visible { outline-offset: -3px; }
.gallery-card img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; transition: transform .25s; }
.gallery-card:is(:hover,:focus-visible) img { transform: scale(1.04); }
.gallery-card span { display: block; padding: .55rem .75rem; font-size: .875rem; font-weight: 700; }

.lightbox {
  width: min(94vw, 940px);
  height: min(88dvh, 760px);
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #101012;
  color: #f6f3ef;
  border: 1px solid #626267;
  border-radius: .85rem;
}
.lightbox::backdrop { background: #080809eb; }
:root:has(.lightbox[open]) { overflow: hidden; }
.lightbox-inner { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.lightbox-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-rows: minmax(0, 1fr);
  overflow: auto hidden;
  overscroll-behavior: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-track figure { min-width: 0; min-height: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.lightbox-image { width: 100%; height: 100%; object-fit: contain; }
.lightbox-bar {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 5.5rem;
  align-items: center;
  gap: .6rem;
  min-height: 3.8rem;
  padding: .4rem .6rem;
}
.lightbox button { min-height: 44px; padding: .3rem .6rem; color: inherit; background: #252528; border: 1px solid #777; border-radius: .6rem; }
.lightbox button:disabled { opacity: .45; cursor: default; }
.lightbox .lightbox-close { position: absolute; z-index: 1; top: max(.65rem, env(safe-area-inset-top)); right: max(.65rem, env(safe-area-inset-right)); width: 44px; background: #171719e8; border-radius: 50%; font-size: 1.55rem; line-height: 1; }
.lightbox-caption { text-align: center; font-size: .875rem; }
.lightbox-count { display: block; color: #cac6c3; font-size: .75rem; font-variant-numeric: tabular-nums; }

.site-footer { padding-block: 1rem; background: var(--page); }
.footer-inner { flex-wrap: wrap; justify-content: space-between; gap: .2rem 1.5rem; }
.footer-name { font-size: .88rem; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-links a:is(:hover, :focus-visible) { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 760px) {
  .motto-scene { height: 7.175rem; }
  .motto-run { width: calc(100% / .7); transform: scale(.7); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .lightbox { width: 100%; height: 100%; height: 100dvh; margin: 0; inset: 0; border: 0; border-radius: 0; }
  .lightbox-bar { grid-template-columns: 1fr; padding-bottom: max(.5rem, env(safe-area-inset-bottom)); }
  .lightbox :is(.lightbox-prev, .lightbox-next) { display: none; }
}
.photo-credits { max-width: 850px; padding-block: 2rem 4rem; }
.photo-credits h1 { font-size: clamp(2rem,7vw,4rem); overflow-wrap: anywhere; margin-block: .75rem; }
.photo-credits ul { list-style: none; padding: 0; }
.photo-credits li { border-top: 1px solid var(--line); padding-block: 1rem; }
.photo-credits h2 { overflow-wrap: anywhere; }
.contact-inbox article { white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-inbox article, .credits-hero { margin-top: .65rem; }

@media (max-width: 1180px) {
  .menu-toggle { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-weight: 700; font-size: .875rem; }
  .menu-mark { position: relative; width: .95rem; height: .7rem; border-block: 2px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-mark { border: 0; }
  .menu-toggle[aria-expanded="true"] .menu-mark::before, .menu-toggle[aria-expanded="true"] .menu-mark::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: currentColor; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-mark::after { transform: rotate(-45deg); }
  .site-nav { flex-wrap: wrap; }
  .menu-toggle:not([hidden]) + .site-nav { display: none; position: absolute; right: 0; top: 100%; width: min(21rem,100%); max-height: calc(100dvh - 76px); overflow-y: auto; background: var(--page); padding: .65rem; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 10px 30px #20171a22; }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: grid; }
  .site-nav a { padding: .45rem .7rem; }
  .site-nav .appearance-picker { justify-content: space-between; padding: .4rem .7rem 0; border-top: 1px solid var(--line); }
  :root[data-theme="confetti"] .site-nav { color: var(--ink); }
  :root[data-theme="confetti"] .site-nav a:not(.nav-action):is(:hover,:focus-visible) { color: var(--accent); }
}
@media (max-width: 760px) {
  .hero-grid, .join-grid, .about-grid, .history-grid, .events-grid, .donations-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 60px; }
  .site-header .crest { width: 39px; height: 39px; flex-basis: 39px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 5rem); }
  .hero-grid { gap: .75rem; }
  :root[data-theme="confetti"] .menu-toggle { background: #211917; color: #fff9ef; border-color: #ad897f; }
  .gallery-track { grid-auto-columns: 57%; gap: .5rem; }
  .gallery-track-wagenbau { grid-auto-columns: 45%; }
  .gallery-track-wagenbau img { aspect-ratio: 1; }
  .gallery-card span { padding: .35rem .45rem; font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .site-header .crest { animation: none; }
  .site-header .brand:is(:hover, :focus-visible) .crest { transform: none; }
}


.site-nav .nav-instagram { gap: .4rem; }
.instagram-icon { flex: 0 0 20px; position: relative; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid; border-radius: 6px; }
.instagram-icon::before { content: ""; width: 9px; height: 9px; border: 2px solid; border-radius: 50%; }
.instagram-icon::after { content: ""; position: absolute; inset: 2px 2px auto auto; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.site-nav { gap: clamp(.5rem, 1.1vw, 1rem); }
.display-menu { position: relative; }
.display-menu summary { cursor: pointer; min-height: 44px; align-content: center; padding-inline: .5rem; font-size: .875rem; font-weight: 700; }
.display-options { display: grid; gap: .5rem; color: var(--ink); background: var(--page); }
.display-options button { justify-self: start; }
#geschichte .section-intro + .section-intro { margin-top: .6rem; }
.gallery-hint { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.gallery-track[data-dragging] { scroll-snap-type: none; user-select: none; }
.legal-page h2 { margin-top: 1.3rem; font-size: 1.2rem; }
.legal-page p + p { margin-top: .65rem; }
.legal-draft { padding: .7rem 1rem; border-left: 4px solid var(--paint); background: var(--panel); }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

@media (min-width: 1181px) {
  .display-options { position: absolute; top: 100%; right: 0; width: 16rem; padding: .8rem; border: 1px solid var(--line); border-radius: .75rem; }
}
@media (max-width: 1180px) {
  .header-inner { gap: .55rem; }
  .header-instagram {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    margin-inline-start: auto;
    border: 1px solid currentColor;
    border-radius: 50%;
  }
  .display-menu { border-top: 1px solid var(--line); padding: .15rem .2rem; }
  .display-options { padding: 0 .5rem .4rem; }
  .site-nav .appearance-picker { border: 0; padding: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .gallery-track, .gallery-card { cursor: grab; }
  .gallery-track[data-dragging], .gallery-track[data-dragging] .gallery-card { cursor: grabbing; }
}
