/* =========================================================================
   Legio Intermeratus Tabletop e.V. — Website v2 "Tabletop Gazette"
   Warm editorial / broadsheet. Cream paper · ink · crimson accent · serif heads.
   Plain CSS, no build. ONE source of truth. Page flourishes in /pages/*.css.
   ========================================================================= */

/* ----------------------------------------------------------------------- *
 * 1. Tokens
 * ----------------------------------------------------------------------- */
:root {
  /* Colour — warm paper, ink, crimson */
  --ink:      #1a1613;   /* headings / strong                  */
  --body:     #34302a;   /* body copy                          */
  --muted:    #6c6457;   /* meta / captions (AA on paper)      */
  --faint:    #9b8f7d;

  --paper:    #faf5ea;   /* page background (warm cream)        */
  --paper-2:  #f3ebda;   /* alt section                        */
  --card:     #fffdf6;   /* raised surface                     */
  --press:    #161210;   /* near-black bars (masthead/footer)  */

  --accent:       #b3322a;   /* crimson (Augsburg red): links, primary CTAs */
  --accent-dark:  #8f261f;
  --accent-tint:  #f4ddd8;
  --green:        #2f7a45;   /* Augsburg green: community, secondary accent  */
  --green-dark:   #235c34;
  --green-tint:   #e2efe5;
  --gold:         #9c7826;   /* sparing tertiary                             */

  --rule:        #e3d7bf;   /* hairline on paper                */
  --rule-strong: #cfbf9d;
  --ink-rule:    #2a241f;   /* rule on dark                     */

  /* Type — serif display, sans body, mono kicker */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --fs-kicker:  0.74rem;
  --fs-small:   0.875rem;
  --fs-body:    clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  --fs-lead:    clamp(1.2rem, 1.08rem + 0.5vw, 1.5rem);
  --fs-h4:      1.15rem;
  --fs-h3:      clamp(1.35rem, 1.18rem + 0.7vw, 1.8rem);
  --fs-h2:      clamp(1.9rem, 1.45rem + 1.8vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.7rem + 3.4vw, 5rem);
  --fs-masthead: clamp(2.2rem, 1.4rem + 4vw, 4.5rem);

  --container:        74rem;
  --container-narrow: 44rem;
  --container-wide:   88rem;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* ----------------------------------------------------------------------- *
 * 2. Reset & base
 * ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .16em; text-decoration-color: var(--accent-tint); }
a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }
ul, ol { padding-left: 1.15em; }
strong, b { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--rule); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.07; font-weight: 700; }

.skip-link { position: absolute; left: .5rem; top: -3.5rem; background: var(--press); color: #fff; padding: .6rem 1rem; z-index: 200; transition: top .15s ease; }
.skip-link:focus { top: .5rem; color: #fff; }

/* Kicker — newspaper section label */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: var(--fs-kicker); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); flex: none; }
.kicker.green::before { background: var(--green); }
.kicker.plain::before { display: none; }

/* ----------------------------------------------------------------------- *
 * 3. Layout primitives
 * ----------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.container.wide { max-width: var(--container-wide); }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--press { background: var(--press); color: #d9cfbe; }
.section--press h1, .section--press h2, .section--press h3 { color: #fff; }
.section--press a:not(.btn) { color: #fff; }
.section--press .kicker { color: #e7b9b2; }
.section--press .kicker::before { color: #cf9a3e; }

/* Newspaper rules */
.rule-double { border: 0; border-top: 3px double var(--rule-strong); margin-block: clamp(1.6rem, 4vw, 2.6rem); }
.rule-thin { border: 0; border-top: 1px solid var(--rule); margin-block: clamp(1.4rem, 3vw, 2rem); }
.rule-accent { border: 0; border-top: 3px solid var(--accent); width: 3.5rem; margin-block: 1rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: .7rem; }
.section-head p { margin-top: .9rem; font-size: var(--fs-lead); color: var(--muted); }

.lead { font-size: var(--fs-lead); color: var(--body); font-family: var(--serif); line-height: 1.45; }
.muted { color: var(--muted); }
.measure { max-width: 38rem; }

/* Editorial prose with drop-cap option */
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font-size: var(--fs-h2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.9rem; }
.prose ul, .prose ol { display: grid; gap: .45rem; }
.prose a { text-decoration: underline; }
.dropcap::first-letter {
  font-family: var(--serif); font-weight: 700; color: var(--accent);
  float: left; font-size: 3.6em; line-height: .72; padding: .06em .12em 0 0;
}

/* Multi-column editorial text (newspaper columns) */
.columns-2 { columns: 2; column-gap: clamp(1.5rem, 4vw, 3rem); column-rule: 1px solid var(--rule); }
.columns-2 > * { break-inside: avoid; }
@media (max-width: 44rem) { .columns-2 { columns: 1; } }

/* ----------------------------------------------------------------------- *
 * 4. Buttons
 * ----------------------------------------------------------------------- */
.btn {
  --bg: var(--accent); --fg: #fff; --bd: var(--accent);
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: .98rem; line-height: 1;
  letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: .9em 1.5em; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  transition: transform .12s var(--ease), background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.btn:active { transform: translateY(0); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--accent); --bd: transparent; padding-inline: .3em; }
.btn--ghost:hover { background: transparent; color: var(--accent-dark); text-decoration: underline; }
.btn--on-press { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--on-press:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline-press { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--outline-press:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--small { padding: .58em 1rem; font-size: .9rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.readmore { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.readmore::after { content: "→"; transition: transform .15s var(--ease); }
.readmore:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------------------------- *
 * 5. Masthead header (two-tier) + nav + lang switch (no JS)
 * ----------------------------------------------------------------------- */
.topbar { background: var(--press); color: #c7bca9; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.4rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; }
.topbar a { color: #e7dcc8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__tagline { color: #b3a994; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__meta { display: flex; gap: 1.2rem; flex: none; }
@media (max-width: 40rem) { .topbar__meta span.hide-sm { display: none; } }
@media (max-width: 52rem) { .topbar__tagline { display: none; } }

.lang-switch { display: inline-flex; align-items: center; gap: .1rem; }
.lang-switch a { padding: .15rem .35rem; font-weight: 700; color: #b6ab98; }
.lang-switch a[aria-current="true"] { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 3px double var(--rule-strong); }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--accent) 0 50%, var(--green) 50% 100%); }
.masthead { display: flex; align-items: center; gap: 1rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__logo { width: 50px; height: 50px; }
.brand__name { font-family: var(--serif); font-weight: 700; line-height: .95; }
.brand__name b { display: block; font-size: 1.5rem; letter-spacing: .01em; }
.brand__name span { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle__btn { display: none; }
.site-nav { border-top: 1px solid var(--rule); }
.site-nav ul { list-style: none; display: flex; align-items: stretch; gap: 0; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav > ul > li { border-right: 1px solid var(--rule); }
.site-nav > ul > li:first-child { border-left: 1px solid var(--rule); }
.site-nav a { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-family: var(--mono); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .8rem 1rem; }
.site-nav a:hover { background: var(--accent); color: #fff; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"]:hover { color: #fff; }
.site-nav .nav-cta a { background: var(--ink); color: #fff; }
.site-nav .nav-cta a:hover { background: var(--accent); }

@media (max-width: 62rem) {
  .nav-toggle__btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; cursor: pointer; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
  .nav-toggle__btn span { height: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s ease; }
  .masthead { padding-bottom: .7rem; }
  .site-nav { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease); border-top: 0; }
  .site-nav ul { flex-direction: column; }
  .site-nav > ul > li, .site-nav > ul > li:first-child { border: 0; border-top: 1px solid var(--rule); }
  .site-nav a { padding: .95rem .2rem; font-size: .9rem; }
  .nav-toggle:checked ~ .site-nav { max-height: 34rem; }
  .nav-toggle:checked ~ .masthead .nav-toggle__btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .masthead .nav-toggle__btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .masthead .nav-toggle__btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ----------------------------------------------------------------------- *
 * 6. Hero / banner (pages add unique variants)
 * ----------------------------------------------------------------------- */
.banner { padding-block: clamp(2.6rem, 6vw, 5rem); border-bottom: 1px solid var(--rule); }
.banner h1 { font-size: var(--fs-h1); }
.banner__lead { font-family: var(--serif); font-size: var(--fs-lead); color: var(--body); margin-top: 1.1rem; max-width: 40rem; line-height: 1.45; }
.banner__cta { margin-top: 1.8rem; }
.headline-xl { font-size: var(--fs-masthead); line-height: .98; letter-spacing: -.01em; }

/* Byline / dateline strip */
.dateline { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.dateline span { display: inline-flex; align-items: center; gap: .4rem; }

/* ----------------------------------------------------------------------- *
 * 7. Grids, cards, editorial blocks
 * ----------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.split--wideL { grid-template-columns: 1.4fr .6fr; }
.split--wideR { grid-template-columns: .6fr 1.4fr; }
@media (max-width: 52rem) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } .split, .split--wideL, .split--wideR { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Card = clipping with top rule (newspaper item) */
.clip { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: clamp(1.2rem, 3vw, 1.7rem); display: flex; flex-direction: column; gap: .5rem; }
.clip h3 { font-size: var(--fs-h3); }
.clip p { color: var(--body); }
.clip--link { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s var(--ease); }
.clip--link:hover { border-top-color: var(--accent); transform: translateY(-3px); color: inherit; }
.clip--accent { border-top-color: var(--accent); }
.clip__more { margin-top: auto; }

/* Feature with leading numeral */
.features { list-style: none; padding: 0; display: grid; gap: 1.6rem; }
.features > li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.features .no { font-family: var(--serif); font-weight: 700; font-size: 2.2rem; color: var(--accent); line-height: .9; min-width: 2.2rem; }
.features h3 { font-size: var(--fs-h4); }
.features p { color: var(--muted); margin-top: .25rem; }

.checklist { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; }
.checklist li::before { content: "✦"; color: var(--accent); }

/* Index box (bordered, like a paper's index) */
.indexbox { border: 2px solid var(--ink); background: var(--card); }
.indexbox__head { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; padding: .6rem 1rem; }
.indexbox ul { list-style: none; margin: 0; padding: .6rem 1rem 1rem; display: grid; gap: .5rem; }
.indexbox li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dotted var(--rule-strong); padding-bottom: .4rem; }
.indexbox a { text-decoration: none; color: var(--ink); font-weight: 600; }
.indexbox a:hover { color: var(--accent); }

/* Stat strip */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); border: 1px solid var(--rule-strong); }
.stat { padding: 1.3rem 1.1rem; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; color: var(--accent); line-height: 1; }
.stat .label { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tag { font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule-strong); padding: .3em .75em; }
.tag--accent { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Answer box — GEO short answer (editorial: gold left rule + serif) */
.answer { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--accent); padding: clamp(1.1rem, 3vw, 1.6rem); }
.answer .answer__q { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.answer p { font-family: var(--serif); font-size: var(--fs-lead); color: var(--ink); line-height: 1.45; }

/* Pull quote */
.pullquote { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.25; color: var(--ink); border-top: 3px solid var(--accent); border-bottom: 1px solid var(--rule); padding-block: 1.2rem; }
.pullquote cite { display: block; font-family: var(--mono); font-size: .8rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }

/* Callout / TODO */
.callout { background: var(--paper-2); border: 1px solid var(--rule-strong); padding: clamp(1.1rem, 3vw, 1.6rem); }
.callout.todo { background: repeating-linear-gradient(135deg, #fbf1d8, #fbf1d8 12px, #f6e8c4 12px, #f6e8c4 24px); border-style: dashed; }
.callout.todo strong { color: var(--accent-dark); }

/* ----------------------------------------------------------------------- *
 * 8. Broadsheet event listing
 * ----------------------------------------------------------------------- */
.agenda { border-top: 3px solid var(--ink); }
.agenda__item { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.2rem; align-items: baseline; padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.agenda__when { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }
.agenda__what h3 { font-size: 1.25rem; }
.agenda__what p { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.agenda__item--lead { background: var(--card); border-bottom: 3px double var(--rule-strong); padding-inline: 1rem; }
@media (max-width: 44rem) {
  .agenda__item { grid-template-columns: 1fr; gap: .4rem; }
  .agenda__item .btn { justify-self: start; margin-top: .4rem; }
}

/* ----------------------------------------------------------------------- *
 * 9. Media placeholders
 * ----------------------------------------------------------------------- */
.ph { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--rule-strong); display: grid; place-items: center; text-align: center; color: var(--muted); font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; padding: .7rem; overflow: hidden; }
.ph::after { content: ""; position: absolute; inset: .4rem; border: 1px solid var(--rule); pointer-events: none; }
.ph span { position: relative; z-index: 1; max-width: 90%; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1; }
.ph--tall { aspect-ratio: 3 / 4; }
/* Real content photos (drop-in replacements for .ph placeholders) */
.photo { display: block; width: 100%; object-fit: cover; border: 1px solid var(--rule); background: var(--paper-2); }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--square { aspect-ratio: 1; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--43 { aspect-ratio: 4 / 3; }

/* Hover-zoom media frame (wrapper clips, inner img scales) */
.media { display: block; overflow: hidden; border: 1px solid var(--rule); background: var(--paper-2); }
.media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media:hover > img, .media:focus-within > img { transform: scale(1.06); }
.media--wide { aspect-ratio: 16 / 9; } .media--43 { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1; } .media--tall { aspect-ratio: 3 / 4; }

/* Image-topped card (combine with .clip) */
.clip.has-photo { padding: 0; overflow: hidden; }
.clip.has-photo .media { border: 0; border-bottom: 1px solid var(--rule); }
.clip.has-photo .clip__body { padding: clamp(1.1rem, 3vw, 1.6rem); display: flex; flex-direction: column; gap: .5rem; }

/* Full-bleed photo band with caption overlay */
.photo-band { position: relative; margin: 0; }
.photo-band > img { display: block; width: 100%; height: clamp(13rem, 30vw, 24rem); object-fit: cover; }
.photo-band figcaption { position: absolute; inset: auto 0 0 0; padding: 1.3rem clamp(1.1rem, 4vw, 2.2rem); color: #fff; background: linear-gradient(to top, rgba(12,9,8,.74), rgba(12,9,8,0)); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.photo-band figcaption strong { color: #fff; font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.6rem); display: block; letter-spacing: 0; }

/* Tilted "scrapbook" collage */
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.collage .media { border: 5px solid #fff; box-shadow: 0 16px 34px -18px rgba(0,0,0,.6); aspect-ratio: 1; }
.collage .media:nth-child(1) { transform: rotate(-3deg); }
.collage .media:nth-child(2) { transform: rotate(1.5deg) scale(1.06); position: relative; z-index: 2; }
.collage .media:nth-child(3) { transform: rotate(3deg); }
@media (max-width: 34rem) { .collage { grid-template-columns: 1fr 1fr; } .collage .media { transform: none; } .collage .media:nth-child(3) { grid-column: 1 / -1; } }

/* Auto-fit photo row */
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: clamp(.6rem, 1.6vw, 1rem); }

@media (prefers-reduced-motion: reduce) { .media > img { transition: none; } .media:hover > img { transform: none; } }

figure { margin: 0; }
figcaption { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-top: .5rem; letter-spacing: .03em; }

/* ----------------------------------------------------------------------- *
 * 10. FAQ (native details)
 * ----------------------------------------------------------------------- */
.faq { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem .2rem; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 .2rem 1.3rem; color: var(--body); max-width: 52rem; }

/* ----------------------------------------------------------------------- *
 * 11. Breadcrumb
 * ----------------------------------------------------------------------- */
.crumbs { font-family: var(--mono); font-size: .76rem; color: var(--muted); padding-block: .9rem; border-bottom: 1px solid var(--rule); text-transform: uppercase; letter-spacing: .05em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.crumbs li::after { content: "›"; margin-left: .45rem; color: var(--rule-strong); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ----------------------------------------------------------------------- *
 * 12. CTA band + footer
 * ----------------------------------------------------------------------- */
.cta-band { background: var(--accent); color: #fff; padding: clamp(2rem, 6vw, 3.6rem); }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); max-width: 22ch; }
.cta-band p { color: #ffe7e2; max-width: 46ch; margin-top: 1rem; font-family: var(--serif); font-size: var(--fs-lead); }
.cta-band .btn-row { margin-top: 1.8rem; }

.site-footer { background: var(--press); color: #a89e8c; padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.6rem; font-size: .93rem; }
.site-footer a:not(.chan) { color: #ddd2bd; text-decoration: none; }
.site-footer a:not(.chan):hover { color: #fff; text-decoration: underline; }
.footer__masthead { display: flex; align-items: center; gap: .8rem; border-bottom: 3px double var(--ink-rule); padding-bottom: 1.2rem; margin-bottom: 1.6rem; }
.footer__masthead img { width: 52px; height: 52px; }
.logo--invert { filter: invert(1) grayscale(1) brightness(1.6) contrast(1.1); }
.footer__masthead b { display: block; font-family: var(--serif); color: #fff; font-size: 1.4rem; }
.footer__masthead span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9a8f7d; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 1.8rem; }
@media (max-width: 52rem) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer__contact p { margin-bottom: .4rem; }
.footer__bottom { border-top: 1px solid var(--ink-rule); margin-top: 2.2rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-family: var(--mono); font-size: .78rem; color: #897f6e; }
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ----------------------------------------------------------------------- *
 * 13. Utilities
 * ----------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.flow > * + * { margin-top: 1.05rem; }
.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; }
[hidden] { display: none !important; }

/* ----------------------------------------------------------------------- *
 * 14. v2.1 — Augsburg green, round logo, systems marquee, scroll reveal
 * ----------------------------------------------------------------------- */

/* Round, undistorted logo everywhere (square source asset) */
.brand__logo, .footer__masthead img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; }

/* Green accent utilities (Augsburg red + green) */
.btn--green { --bg: var(--green); --fg: #fff; --bd: var(--green); }
.btn--green:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.tag--green { background: var(--green); color: #fff; border-color: var(--green); }
.text-green { color: var(--green); }
.rule-green { border: 0; border-top: 3px solid var(--green); width: 3.5rem; margin-block: 1rem; }
a.link-green { color: var(--green-dark); }

/* Community band (Augsburg green) — counterpart to .section--press */
.section--green { background: var(--green-dark); color: #e6f1e9; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
.section--green a:not(.btn) { color: #fff; }
.section--green .kicker { color: #bfe0c9; }
.section--green .kicker::before { background: #fff; }

/* Stat strip: alternate the numerals in the two Augsburg colours */
.stat:nth-child(even) .num { color: var(--green); }

/* --- Systems marquee (rolling banner) ------------------------------------ *
   Markup: <div class="marquee" aria-label="Spielsysteme">
             <div class="marquee__track">
               <ul class="marquee__group"> <li class="sys-chip">…</li> … </ul>
               <ul class="marquee__group" aria-hidden="true"> …same chips… </ul>
             </div></div>
   The second group is an exact duplicate so the -50% loop is seamless.       */
.marquee { position: relative; overflow: hidden; padding-block: .3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee-x 42s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: .8rem; margin: 0; padding: 0 .4rem; list-style: none; }
@keyframes marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sys-chip { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .03em; color: var(--ink);
  border: 1px solid var(--rule-strong); background: var(--card); padding: .5rem .95rem; border-radius: 999px; }
.sys-chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); flex: none; }
.marquee__group .sys-chip:nth-child(even)::before { background: var(--green); }
.sys-chip img { height: 1.4rem; width: auto; display: block; }       /* if real logos are dropped in later */
.marquee--sm { padding-block: 0; }
.marquee--sm .sys-chip { font-size: .72rem; padding: .35rem .75rem; }
/* footer (dark) variant */
.site-footer .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.site-footer .sys-chip { background: transparent; border-color: var(--ink-rule); color: #cdbfa8; }
.footer__systems { border-top: 1px solid var(--ink-rule); margin-top: 1.6rem; padding-top: 1.4rem; }
.footer__systems p { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #897f6e; margin-bottom: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: .55rem; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* --- Scroll-reveal (progressive enhancement; CSS only, no JS) ------------ *
   Add class .reveal (optionally .reveal--l / .reveal--r) to sections/cards.
   Only animates where supported AND motion is allowed; otherwise fully shown. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal-in linear both; animation-timeline: view(); animation-range: entry 2% cover 22%; }
    .reveal--l { animation-name: reveal-in-l; }
    .reveal--r { animation-name: reveal-in-r; }
    @keyframes reveal-in   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
    @keyframes reveal-in-l { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
    @keyframes reveal-in-r { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
  }
}

/* ----------------------------------------------------------------------- *
 * Channel buttons - footer social row + Kontakt channel chooser
 * ----------------------------------------------------------------------- */
.footer__channels { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; border-top: 1px solid var(--ink-rule); margin-top: 1.6rem; padding-top: 1.5rem; }
.chan { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; color: #fff; background: #3a342c; transition: transform .15s var(--ease), filter .15s var(--ease); }
.chan:hover, .chan:focus-visible { transform: translateY(-2px); filter: brightness(1.1); color: #fff; text-decoration: none; }
.chan__icon { width: 19px; height: 19px; fill: currentColor; display: block; }
.chan--instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.chan--whatsapp { background: #25D366; }
.chan--discord  { background: #5865F2; }
.chan--facebook { background: #1877F2; }
.chan--t3, .chan--mail { background: var(--accent); }
.contact-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.cchan { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--cc, var(--accent)); color: var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.cchan:hover, .cchan:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--ink); text-decoration: none; }
.cchan__ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--cc, var(--accent)); color: #fff; flex: none; }
.cchan__ic svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.cchan__tx { display: flex; flex-direction: column; line-height: 1.25; }
.cchan__tx b { color: var(--ink); }
.cchan__tx small { color: var(--muted); font-size: .82rem; }
.cchan--whatsapp { --cc: #25D366; }
.cchan--discord  { --cc: #5865F2; }
.cchan--facebook { --cc: #1877F2; }
.cchan--instagram { --cc: #d6249f; }
.cchan--instagram .cchan__ic { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.cchan--t3, .cchan--mail { --cc: var(--accent); }

/* Links inside the crimson CTA band must stay legible (avoid red-on-red). */
.cta-band a:not(.btn) { color: #fff; text-decoration-color: rgba(255,255,255,.55); }
.cta-band a:not(.btn):hover, .cta-band a:not(.btn):focus-visible { color: #fff; text-decoration-color: #fff; }

/* Dark community / press bands: body text must use the band light ink (global). */
.section--green p, .section--green .checklist li { color: #e6f1e9; }
.section--green .checklist li::before { color: #bfe0c9; }
.section--press p, .section--press .checklist li { color: #d9cfbe; }
