/* ==========================================================================
   Mövenzunft Horw – Stylesheet
   Farben: Zunftblau, Rosettenrot, Gold auf Papier. Schrift: Fraunces + Instrument Sans.
   ========================================================================== */
:root {
  --blue: #1E3F7A; --blue-deep: #142A54; --blue-soft: #E6ECF7; --blue-ink: #16305E;
  --red: #C8202B; --red-deep: #A3181F; --red-soft: #F9E4E4;
  --gold: #B9892E; --gold-deep: #8F6A1F; --gold-soft: #F4EAD3;
  --cream: #F6F1E7; --cream-deep: #EDE5D6; --paper: #FFFCF6; --ink: #1C2230; --muted: #59616F; --line: #E2DACA;
  --shadow-sm: 0 1px 2px rgba(28,34,48,.06), 0 1px 6px -2px rgba(28,34,48,.12);
  --shadow: 0 1px 2px rgba(28,34,48,.05), 0 12px 32px -14px rgba(28,34,48,.28);
  --radius: 14px; --radius-sm: 8px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1120px; --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2,.7,.2,1); --t: 220ms;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .15em; transition: color var(--t) var(--ease); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-variation-settings: "opsz" 48; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.35rem); line-height: 1.5; color: var(--ink); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--blue { background: var(--blue-deep); color: var(--cream); }
.section--blue a { color: var(--gold-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 46em; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.tabular { font-variant-numeric: tabular-nums; }
.italic { font-style: italic; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__signet { width: 46px; height: 46px; flex: none; transition: transform var(--t) var(--ease); }
.brand:hover .brand__signet { transform: rotate(-6deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.brand__sub { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.site-nav a:hover { background: var(--cream-deep); color: var(--blue); }
.site-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-weight: 600; color: var(--ink); min-height: 44px; }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: var(--s-3) var(--gutter) var(--s-5); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1.05rem; }
}
@media (max-width: 400px) { .brand__text { display: none; } }

/* ---------- Buttons & Badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(200,32,43,.6); }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light, .card--blue .btn--light, .section--blue .btn--light { background: var(--cream); color: var(--blue-deep); }
.btn--light:hover, .card--blue .btn--light:hover, .section--blue .btn--light:hover { background: #fff; color: var(--blue-deep); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.badge { display: inline-flex; align-items: center; gap: .4em; padding: .25em .7em; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--gold-soft); color: var(--gold-deep); white-space: nowrap; }
.badge--red { background: var(--red-soft); color: var(--red-deep); }
.badge--blue { background: var(--blue-soft); color: var(--blue-ink); }
.badge--outline { background: transparent; border: 1px solid currentColor; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(20px, 3vw, 32px); }
.card--flat { box-shadow: none; }
.card--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.card--blue a { color: var(--gold-soft); }
.card__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s-2); }
.card--blue .card__eyebrow { color: var(--gold-soft); }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ---------- Hero (Home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); background: radial-gradient(1200px 600px at 80% -10%, var(--blue-soft), transparent 60%), var(--cream); }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--blue); }
.hero__art { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.hero__art svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(20,42,84,.28)); animation: float 7s ease-in-out infinite; }
.hero__ring { position: absolute; inset: -8%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent); animation: spin 90s linear infinite; }
.hero__ring--2 { inset: -18%; border-color: color-mix(in srgb, var(--blue) 25%, transparent); animation-direction: reverse; animation-duration: 140s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.hero__fact strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--blue); }
.hero__fact span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { max-width: 280px; order: -1; } }

/* ---------- Event cards (Home) ---------- */
.event { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 84px; padding: 12px 10px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); text-align: center; line-height: 1; }
.card--blue .event__date { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.event__day { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.event__month { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.event h3 { margin-bottom: .3em; }
.event p { margin-bottom: .6em; }
.event .btn-row { margin-top: var(--s-4); }
@media (max-width: 480px) { .event { grid-template-columns: 1fr; } .event__date { flex-direction: row; gap: 10px; width: max-content; } .event__month { margin-top: 0; } }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); }
.stat { padding: var(--s-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1; color: var(--blue); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .9rem; }
.section--blue .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--blue .stat strong { color: var(--gold-soft); }
.section--blue .stat span { color: color-mix(in srgb, var(--cream) 75%, transparent); }

/* ---------- Quote band ---------- */
.quote { text-align: center; max-width: 30em; margin-inline: auto; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); font-style: italic; font-weight: 500; line-height: 1.25; text-wrap: balance; }
.quote cite { display: block; margin-top: var(--s-4); font-style: normal; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); background: radial-gradient(900px 400px at 100% 0, var(--blue-soft), transparent 65%), var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-top: var(--s-3); }
.page-hero--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .page-hero--split { grid-template-columns: 1fr; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; margin: 0 0 var(--s-4); padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .5em; opacity: .6; }

/* ---------- Jassturnier ---------- */
.flyer { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--paper); overflow: hidden; transform: rotate(1.2deg); transition: transform var(--t) var(--ease); }
.flyer:hover { transform: rotate(0) scale(1.01); }
.flyer img { width: 100%; aspect-ratio: 1191 / 842; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--s-4); margin-block: var(--s-6); }
.fact { padding: var(--s-4) var(--s-5); border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.fact dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.fact dd small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 3px; }
.anmeldung { display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: center; }
@media (max-width: 720px) { .anmeldung { grid-template-columns: 1fr; } }
.reglement { counter-reset: reg; display: grid; gap: var(--s-4); }
.reglement__item { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.reglement__item::before { counter-increment: reg; content: counter(reg, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.reglement__item h3 { margin-bottom: .25em; }
.reglement__item p { margin: 0; }

/* Podium */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: end; }
.podium__place { position: relative; text-align: center; padding: var(--s-6) var(--s-4) var(--s-5); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.podium__place--1 { order: 2; background: linear-gradient(180deg, #fff 0%, var(--gold-soft) 100%); border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); padding-top: var(--s-7); }
.podium__place--2 { order: 1; } .podium__place--3 { order: 3; }
.podium__rank { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; background: var(--blue); box-shadow: var(--shadow-sm); }
.podium__place--1 .podium__rank { background: var(--gold); width: 48px; height: 48px; top: -22px; font-size: 1.4rem; }
.podium__place--3 .podium__rank { background: #8C6A4A; }
.podium__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; margin-bottom: 4px; }
.podium__place--1 .podium__name { font-size: 1.6rem; }
.podium__total { font-variant-numeric: tabular-nums; color: var(--muted); }
.podium__total strong { color: var(--ink); }
@media (max-width: 560px) { .podium { grid-template-columns: 1fr; } .podium__place { order: initial !important; padding-top: var(--s-6); } }

/* Year switcher */
.years { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.years a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.years a:hover { border-color: var(--blue); color: var(--blue); }
.years a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Table tools */
.table-tools { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--ink); }
.search input:focus { border-color: var(--blue); outline: 3px solid color-mix(in srgb, var(--blue) 25%, transparent); outline-offset: 0; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.toggle input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--cream-deep); border: 1px solid var(--line); position: relative; margin: 0; cursor: pointer; transition: background var(--t); }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform var(--t) var(--ease); }
.toggle input:checked { background: var(--blue); border-color: var(--blue); }
.toggle input:checked::after { transform: translateX(18px); }
.result-count { color: var(--muted); font-size: .9rem; }

/* Rangliste table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.rangliste { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .97rem; }
.rangliste th, .rangliste td { padding: 11px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.rangliste th:nth-child(2), .rangliste td:nth-child(2) { text-align: left; white-space: normal; min-width: 180px; }
.rangliste thead th { position: sticky; top: 0; background: var(--cream); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); z-index: 1; }
.rangliste tbody tr:nth-child(even) { background: color-mix(in srgb, var(--cream) 45%, transparent); }
.rangliste tbody tr:hover { background: var(--blue-soft); }
.rangliste tbody tr:last-child td { border-bottom: 0; }
.rangliste .rang { font-weight: 700; color: var(--blue); }
.rangliste .total { font-weight: 700; }
.rangliste .name { font-weight: 600; }
.rangliste tr[data-rang="1"] .rang::before, .rangliste tr[data-rang="2"] .rang::before, .rangliste tr[data-rang="3"] .rang::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--gold); vertical-align: 1px; }
.rangliste tr[data-rang="2"] .rang::before { background: #9AA3B2; }
.rangliste tr[data-rang="3"] .rang::before { background: #8C6A4A; }
.rangliste .passe { color: var(--muted); }
.rangliste .best { color: var(--red-deep); font-weight: 700; }
.rangliste tr[hidden] { display: none; }
@media (max-width: 900px) { .rangliste:not(.show-passen) .col-passe { display: none; } }
.table-empty { padding: var(--s-6); text-align: center; color: var(--muted); }

/* Chronik */
.chronik { width: 100%; border-collapse: collapse; font-size: .97rem; }
.chronik th, .chronik td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.chronik thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chronik .num { text-align: right; font-variant-numeric: tabular-nums; }
.chronik .todo { color: var(--muted); font-style: italic; }
.chronik tr:last-child td { border-bottom: 0; }

/* ---------- Möven ---------- */
.moeven-group { margin-bottom: clamp(40px, 6vw, 72px); }
.moeven-group__head { display: flex; align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-5); padding-bottom: var(--s-3); border-bottom: 2px solid var(--blue); }
.moeven-group__head h2 { margin: 0; }
.moeven-group__head span { color: var(--muted); }
.moeve { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s-6) var(--s-4) var(--s-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.moeve:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.moeve__avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: var(--s-4); background: var(--blue-soft); border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(20,42,84,.6); display: grid; place-items: center; }
.moeve__avatar img { width: 100%; height: 100%; object-fit: cover; }
.moeve__avatar svg { width: 88%; height: 88%; }
.moeve__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; margin-bottom: 4px; }
.moeve__real { color: var(--muted); }
.moeve__amt { margin-top: var(--s-3); }
.moeve--vorstand .moeve__avatar { background: var(--gold-soft); }

/* ---------- Statuten ---------- */
.statuten-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .statuten-layout { grid-template-columns: 1fr; } }
.statuten-aside { position: sticky; top: 96px; }
.statuten-aside .card + .card { margin-top: var(--s-4); }
.statuten-aside dl { margin: 0; } .statuten-aside dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: var(--s-3); } .statuten-aside dd { margin: 2px 0 0; font-weight: 600; }
.artikel { counter-reset: art; }
.artikel__item { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.artikel__item:last-child { border-bottom: 0; }
.artikel__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.artikel__num small { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.artikel__body p { margin-bottom: .6em; } .artikel__body p:last-child { margin-bottom: 0; }
.artikel__body .note { font-size: .95rem; color: var(--muted); font-style: italic; }
@media (max-width: 520px) { .artikel__item { grid-template-columns: 1fr; gap: var(--s-2); } }
.mottos { display: grid; gap: var(--s-3); }
.motto { padding: var(--s-4) var(--s-5); border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
.motto small { display: block; font-family: var(--font-body); font-style: normal; font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Bilder ---------- */
.decade { margin-bottom: clamp(40px, 6vw, 72px); }
.decade__head { display: flex; align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-5); }
.decade__head h2 { margin: 0; }
.decade__head span { color: var(--muted); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--s-5); }
.album { display: block; position: relative; text-decoration: none; color: var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.album:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.album__cover { aspect-ratio: 4 / 3; background: var(--cream-deep); overflow: hidden; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.album:hover .album__cover img { transform: scale(1.04); }
.album__body { padding: var(--s-4) var(--s-4) var(--s-5); }
.album__date { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.album__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; margin: 4px 0 6px; }
.album__count { font-size: .88rem; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-deep); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease), filter var(--t); }
.photo:hover img { transform: scale(1.05); }
.photo:focus-visible { outline-offset: 2px; }
.album-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: #fff; }
.lightbox::backdrop { background: rgba(10, 14, 24, .97); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; gap: 12px; }
.lightbox__count { font-variant-numeric: tabular-nums; font-size: .95rem; opacity: .8; }
.lightbox__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; transition: background var(--t); }
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox__caption { padding: 12px 16px 20px; text-align: center; font-size: .95rem; opacity: .85; }
@media (max-width: 640px) { .lightbox__stage { padding: 0 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: -56px; transform: none; } .lightbox__caption { padding-bottom: 72px; } }

/* ---------- Links ---------- */
.link-card { display: block; text-decoration: none; color: var(--ink); padding: var(--s-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform var(--t) var(--ease), border-color var(--t); }
.link-card:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--ink); }
.link-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.link-card__title svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.link-card__url { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.link-card p { margin: var(--s-3) 0 0; }

/* ---------- Prose (Impressum etc.) ---------- */
.prose { max-width: 42em; } .prose h2 { font-size: 1.5rem; margin-top: 1.6em; } .prose ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: color-mix(in srgb, var(--cream) 88%, transparent); margin-top: clamp(48px, 8vw, 96px); }
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .7fr; gap: var(--s-6); padding-block: clamp(40px, 6vw, 72px) var(--s-6); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__signet { width: 64px; height: 64px; margin-bottom: var(--s-4); }
.site-footer__claim { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; max-width: 22em; }
.site-footer__h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: var(--s-3); }
.site-footer p { margin-bottom: .6em; }
.site-footer__next strong { color: #fff; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; opacity: .8; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__art svg, .hero__ring { animation: none; } }
.no-js .reveal { opacity: 1; transform: none; }
