/* Hallmark · shape: Spielbericht, the club read as a match report (scoreline, the halves, the stands) · genre: playful · theme: custom · redesign: full · job: join · idea: "The name is a scoreline, so the whole site reads like the 2:0 on a Sunday pitch in Ludwigshafen" · vibe: "warm terracotta pitchside, saffron scoreline, loud and friendly"
 * paper: oklch(33% 0.085 38), burnt terracotta from Refero style "Earthy terracotta" · accent: oklch(88% 0.17 98), the crest yellow · display: Antonio (Google Fonts) · body: Figtree (Google Fonts) · hero: a scoreboard 2:0 over the name on the left, the club in its red Deux-Zeros shirts on the right at full height · nav: wordmark with crest left, four page links, one quiet action right, a disclosure menu under 60rem · footer: the crest and address in one row, page links, the still credit · imagery: photographs, 4 stills from the club's own SWR report, the crest, the partners' logos, the memorial poster · signature: the 2:0 scoreline set at stadium size
 * axes: dark/display-condensed/chromatic-yellow · posture: committed (terracotta carries the surface, saffron is the signal and the scoreline) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the copy is the club's own and long; kept every fact, set it in big rows with pictures instead of one grey column */
/* Hallmark · dropped "Aktuell !!!" exclamation marks, the homepage-buttons.de template credit (the template is no longer used), the html5shiv script (IE8) · reworded the section heads as the page's own nouns */
/* Hallmark · waive 49b · the Rheinpfalz article title is the link text, quoted whole · the press link names the newspaper story about Deux-Zeros and wraps like a headline */
/* Hallmark · waive 77 · the donation section holds the two PayPal options with their QR codes · Spenden for Sportbetrieb and Integrationsarbeit is the club's whole funding ask */
/* Hallmark · waive 83 · Partner.html is the partners' own logos on white plates, not photographs · the Partner page of Deux-Zeros is the logo list itself */
/* Hallmark · waive 78 · blog/index.html lists post titles as dated Index rows · the Deux-Zeros blog overview is a list of posts, the titles are row heads not section heads */
/* Hallmark · waive 79 · blog post pages: the post photo of each Deux-Zeros post starts directly under the title block · the gap is the photo itself, read as empty by the hero measure */
/* Hallmark · dismissed 23 · the 2:0 scoreline in crest yellow is the signature, once per page, on a committed terracotta posture */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: var(--text-md); display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
/* main takes up the spare height, so the footer stays at the bottom on short pages */
body > main { flex: 1 0 auto; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-tooltip); padding: var(--space-sm) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:focus-visible { top: var(--space-md); outline: 2px solid var(--color-ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper-3); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-transform: uppercase; line-height: 1.05; color: var(--color-ink); }
.wordmark img { width: 54px; height: auto; flex-shrink: 0; }
.wordmark:hover { color: var(--color-accent); }
.nav__links { display: flex; align-items: center; gap: var(--space-xs); list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); text-decoration: none; color: var(--color-ink-2); font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); background: var(--color-paper-2); }
.nav__links a[aria-current="page"] { color: var(--color-accent); }
.nav__links a:focus-visible, .menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); cursor: pointer; font-size: var(--text-md); }
.menu summary::-webkit-details-marker { display: none; }
/* icons: inline line icons in the text colour, beside a text label */
.icon { flex: none; width: 1.25em; height: 1.25em; }
.menu summary { gap: var(--space-xs); }
.menu .icon--open, .menu[open] .icon--closed { display: none; }
.menu[open] .icon--open { display: block; }
/* languages: DE EN FR beside the basket; inside the menu on small screens */
.nav__end { display: flex; align-items: center; gap: var(--space-sm); }
.langs { display: flex; align-items: center; gap: var(--space-3xs, 2px); list-style: none; margin: 0; padding: 0; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); text-decoration: none; color: var(--color-ink-2); font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.langs a:hover { color: var(--color-ink); background: var(--color-paper-2); }
.langs a[aria-current="true"] { color: var(--color-accent); font-weight: 700; }
.langs a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu__panel .langs { margin-top: var(--space-xs); padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
.menu__panel .langs a { flex: 1; }
.langs--menu { display: none; }
.menu summary:hover { background: var(--color-paper-2); }
.menu__panel { color: var(--color-ink); position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); min-width: 14rem; padding: var(--space-xs); background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.menu__panel ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; min-height: 48px; align-items: center; padding: 0 var(--space-md); text-decoration: none; }
.menu a:hover { background: var(--color-paper-2); }
.menu a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink); border-color: var(--color-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-ink-2); }
.btn--quiet:hover { background: var(--color-paper-2); color: var(--color-ink); border-color: var(--color-ink); }
.link { white-space: nowrap; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; transition: color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* type */
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1.02; }
h2.display { font-size: var(--text-section); max-width: 22ch; }
h3.display { font-size: var(--text-2xl); max-width: 30ch; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 46ch; }
.prose p { max-width: 62ch; line-height: 1.65; }
.prose p + p { margin-top: var(--space-md); }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); max-width: 60ch; }

/* hero */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; min-height: calc(100svh - var(--nav-h) - var(--space-2xl) - var(--space-3xl)); }
.hero__text { grid-column: 1 / 7; display: grid; gap: var(--space-lg); }
.score { font-family: var(--font-display); font-weight: 700; font-size: var(--text-score); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; margin: 0; }
.hero h1 { font-size: var(--text-display); max-width: 14ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__photo { grid-column: 7 / 13; margin: 0; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - var(--space-3xl)); width: 100%; border-radius: var(--radius-card); }
.photo > img { outline: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }

/* sections */
.section { padding-block: var(--section-gap); }
.section--well { background: var(--color-paper-2); color: var(--color-ink); }
.section--first { padding-top: var(--space-2xl); }
.section--deep { background: var(--color-paper-3); color: var(--color-ink); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.split__head { grid-column: 1 / 6; display: grid; gap: var(--space-lg); }
.split__body { grid-column: 6 / 13; display: grid; gap: var(--space-xl); }

/* aktuell */
.news { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.news__poster { grid-column: 1 / 5; margin: 0; }
.news__poster img { width: 100%; height: auto; border-radius: var(--radius-card); }
.news__text { grid-column: 6 / 13; display: grid; gap: var(--space-lg); }
.news__text--wide { grid-column: 1 / 13; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-sm) var(--space-xl); margin: 0; border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-lg); }
.facts dt { font-weight: 700; color: var(--color-ink); }
.facts dd { margin: 0; color: var(--color-ink-2); }

/* about */
.statement { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-display-s); line-height: 1.04; max-width: 24ch; }
.media { margin: 0; display: grid; gap: var(--space-sm); }
.video-container video { width: 100%; aspect-ratio: 16 / 9; background: var(--color-paper-3); border-radius: var(--radius-card); }
.press { display: grid; gap: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-lg); }
.press p { color: var(--color-muted); font-size: var(--text-sm); }
.press a { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-xl); line-height: 1.1; text-decoration: none; color: var(--color-ink); max-width: 30ch; }
.press a:hover { color: var(--color-accent); }
.press a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* training band */
.kickoff { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.kickoff__time { grid-column: 1 / 8; }
.kickoff__time .score { font-size: clamp(4.5rem, 9vw, 8.5rem); line-height: 0.92; }
.kickoff__where { grid-column: 8 / 13; display: grid; gap: var(--space-md); }

/* halves */
.halves { list-style: none; margin: 0; padding: 0; counter-reset: half; }
.half { counter-increment: half; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.half:first-child { border-top: 0; padding-top: 0; }
.half__head { grid-column: 1 / 5; display: grid; gap: var(--space-sm); align-content: start; }
.half__head::before { content: counter(half); font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 7vw, 6.5rem); line-height: 0.9; color: var(--color-muted); }
.half__body { grid-column: 5 / 13; display: grid; gap: var(--space-xl); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; }
.items div { display: grid; gap: var(--space-xs); align-content: start; }
.items dt { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-xl); line-height: 1.05; }
.items dd { margin: 0; color: var(--color-ink-2); line-height: 1.6; }
.half__photo { margin: 0; aspect-ratio: 21 / 9; min-height: 300px; border-radius: var(--radius-card); }

/* donate */
.donate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.donate__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg); align-items: end; padding-top: var(--space-lg); border-top: 3px solid var(--color-accent); }
.donate__item h3 { grid-column: 1 / -1; }
.donate__item p { color: var(--color-ink-2); }
.qr { width: 112px; height: 112px; padding: var(--space-xs); background: var(--color-white-plate); border-radius: var(--radius-card); image-rendering: pixelated; }

/* subpages */
.pagehead { padding-block: var(--space-3xl) var(--space-xl); display: grid; gap: var(--space-lg); }
.pagehead h1 { font-size: var(--text-display); max-width: 18ch; }
.name-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.name-grid__score { grid-column: 1 / 6; }
.name-grid__score .score { font-size: clamp(8rem, 20vw, 17rem); }
.name-grid__text { grid-column: 6 / 13; }
.name-grid__text h2 { margin-bottom: var(--space-lg); }
.stars { list-style: none; margin: 0; padding: 0; counter-reset: star; display: grid; gap: 0; }
.stars li { counter-increment: star; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.stars li::before { content: counter(star); font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); line-height: 1; color: var(--color-accent); }
.stars h3 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--text-xl); line-height: 1.05; margin-bottom: var(--space-xs); }
.stars p { color: var(--color-ink-2); max-width: 62ch; line-height: 1.65; }
.crest { margin: 0; max-width: 28rem; }
.crest img { width: 100%; height: auto; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.partner { display: grid; gap: var(--space-md); }
.partner__logo { position: relative; margin: 0; aspect-ratio: 3 / 2; background: var(--color-white-plate); border-radius: var(--radius-card); overflow: hidden; }
.partner__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: var(--space-xl); box-sizing: border-box; }
.partner__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-xl); line-height: 1.05; }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.legal__facts { grid-column: 1 / 7; }
.legal__note { grid-column: 8 / 13; display: grid; gap: var(--space-md); align-content: start; color: var(--color-ink-2); }
.legal__note h2 { font-size: var(--text-section); color: var(--color-ink); }
.legal .facts { border-top: 0; padding-top: 0; row-gap: var(--space-md); }

/* footer */
.footer { background: var(--color-paper-3); color: var(--color-ink); padding-block: var(--space-2xl) var(--space-xl); border-top: 3px solid var(--color-accent); }
.footer__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.footer__brand { grid-column: 1 / 6; display: grid; gap: var(--space-md); }
.footer address { font-style: normal; color: var(--color-ink-2); line-height: 1.6; }
.footer__links { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); justify-content: flex-end; }
.footer__links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--color-ink); }
.footer__links a:hover { color: var(--color-accent); }
.footer__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer__credit { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

/* map */
.map-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; margin-top: var(--space-3xl); }
.map { grid-column: 1 / 8; position: relative; margin: 0; aspect-ratio: 16 / 10; min-height: 360px; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2); }
.map > img, .map > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map__consent { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: var(--space-md); padding: var(--space-xl); text-align: center; background: color-mix(in oklab, var(--color-paper-3) 78%, transparent); }
.map__consent p { max-width: 45ch; color: var(--color-ink); }
.map__links { grid-column: 8 / 13; display: grid; gap: var(--space-md); }
.map__links p { color: var(--color-ink-2); }
.routes { list-style: none; margin: 0; padding: 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.route { display: flex; align-items: center; min-height: 56px; border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-xl); color: var(--color-ink); transition: color var(--dur-short) var(--ease-out); }
.route:hover { color: var(--color-accent); }
.route:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer address .link { white-space: normal; }

/* blog */
.entries { list-style: none; margin: 0; padding: 0; display: grid; }
.entry { border-top: var(--rule-hair) solid var(--color-rule); }
.entry:first-child { border-top: 0; }
.entry__link { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; padding-block: var(--space-xl); text-decoration: none; color: var(--color-ink); }
.entry__photo { grid-column: 9 / 13; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; }
.entry__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo--crest { display: grid; place-items: center; background: var(--color-paper-3); }
.photo--crest img { width: 55%; height: auto; object-fit: contain; }
.entry__text { grid-column: 1 / 9; grid-row: 1; display: grid; gap: var(--space-sm); align-content: center; }
.entry__text time { font-size: var(--text-sm); color: var(--color-muted); }
.entry__text h2 { font-size: var(--text-2xl); max-width: 30ch; transition: color var(--dur-short) var(--ease-out); }
.entry__text p { color: var(--color-ink-2); max-width: 60ch; }
.entry__link:hover h2 { color: var(--color-accent); }
.entry__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.entry--lead .entry__link { padding-top: 0; }
.entry--lead .entry__photo { grid-column: 1 / 8; aspect-ratio: 16 / 10; min-height: 360px; }
.entry--lead .entry__text { grid-column: 8 / 13; }
.entry--lead .entry__text h2 { font-size: var(--text-section); }
.post__head { display: grid; gap: var(--space-md); padding-block: var(--space-3xl) var(--space-xl); }
.post__head time { font-size: var(--text-sm); color: var(--color-muted); }
.post__head h1 { font-size: var(--text-display-s); max-width: 24ch; }
.post__photo { overflow: hidden; margin: 0 0 var(--space-2xl); aspect-ratio: 21 / 9; min-height: 320px; max-height: 560px; border-radius: var(--radius-card); }
.post__body { max-width: 68ch; padding-bottom: var(--section-gap-s); }
.post__body > * + * { margin-top: var(--space-lg); }
.post__body h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-2xl); line-height: 1.05; margin-top: var(--space-2xl); }
.post__body ul { padding-left: var(--space-lg); line-height: 1.65; }
.post__body blockquote { margin-inline: 0; padding-block: var(--space-lg); border-block: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lead); line-height: 1.5; }
.post__body .video-container video { width: 100%; aspect-ratio: 16 / 9; background: var(--color-paper-3); border-radius: var(--radius-card); }
.post__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo--whole { background: var(--color-paper-3); }
.photo--whole img { object-fit: contain; object-position: 50% 50%; }
.post__photo.photo--whole { aspect-ratio: auto; height: min(80svh, 760px); max-height: none; }
.post__figure { margin: 0; }
.post__figure img { width: 100%; height: auto; border-radius: var(--radius-card); }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.pager__link { display: grid; gap: var(--space-xs); padding-top: var(--space-lg); border-top: 3px solid var(--color-accent); text-decoration: none; font-weight: 700; font-size: var(--text-lg); line-height: 1.3; color: var(--color-ink); transition: color var(--dur-short) var(--ease-out); }
.pager__link > span:first-child { font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); }
.pager__link:hover { color: var(--color-accent); }
.pager__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.pager__link--next { grid-column: 2; text-align: right; }

/* shop */
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.product { display: grid; gap: var(--space-md); align-content: start; }
.product__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--color-white-plate); }
.product__photo img { width: 100%; height: 100%; object-fit: cover; }
.product__photo.photo--crest { display: grid; place-items: center; background: var(--color-paper-3); }
.product__photo.photo--crest img { width: 55%; height: auto; object-fit: contain; }
.product__text { display: grid; gap: var(--space-sm); }
.product__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-xl); line-height: 1.05; }
.product__price { font-size: var(--text-lg); font-weight: 700; color: var(--color-accent); }
.product__desc { color: var(--color-ink-2); }
.product__soldout, .buy__sizes { color: var(--color-muted); }
.product__name a, .line__name { color: inherit; text-decoration: none; }
.product__name a:hover, .line__name:hover { color: var(--color-accent); }
.product__name a:focus-visible, .product__link:focus-visible, .line__name:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.product__link { display: block; border-radius: var(--radius-card); }
.product__link img { transition: transform var(--dur-short) var(--ease-out); }
.product__link:hover img { transform: scale(1.03); }
.buy { display: none; gap: var(--space-sm); justify-items: start; }
.js .buy { display: grid; }
.buy__row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.buy__field { display: grid; gap: var(--space-2xs); }
.buy__label { font-size: var(--text-sm); font-weight: 700; }
.buy__select { min-height: 48px; min-width: 9rem; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink); font: inherit; transition: border-color var(--dur-short) var(--ease-out); }
.buy__qty { min-width: 0; width: 6rem; }
.buy__select:hover { border-color: var(--color-ink); }
.buy__select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.buy__select[aria-invalid="true"] { border-color: var(--color-accent); border-width: 2px; }
.buy__status { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.cartlink { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.cartlink:hover { background: var(--color-paper-2); }
.cartlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.cartlink__n { min-width: 1.6em; padding: 0 0.4em; border-radius: var(--radius-pill); background: var(--color-paper-2); text-align: center; font-weight: 700; }
.cartlink.has-items .cartlink__n { background: var(--color-accent); color: var(--color-accent-ink); }
.crumbs { padding-top: var(--space-lg); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; }
.pdp__text { display: grid; gap: var(--space-lg); align-content: start; }
.pdp__text .product__price { font-size: var(--text-2xl); }
.product__photo--big { aspect-ratio: 4 / 5; }
/* projects: the project page opens like the event's own homepage, a looping video under the title, then an index of the programme */
.pj-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: calc(100svh - var(--nav-h)); overflow: hidden; background: var(--color-paper-3); color: var(--color-ink); }
.pj-hero__media, .pj-hero__shade { position: absolute; inset: 0; z-index: -1; }
.pj-hero__media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pj-hero__shade { background: linear-gradient(to top, color-mix(in oklab, var(--color-paper-3) 94%, transparent) 0%, color-mix(in oklab, var(--color-paper-3) 55%, transparent) 45%, color-mix(in oklab, var(--color-paper-3) 10%, transparent) 100%); }
.pj-hero__content { display: grid; gap: var(--space-md); padding-block: var(--space-3xl) var(--space-2xl); }
.pj-hero__name { font-weight: 700; color: var(--color-ink); }
.pj-hero__title { max-width: 14ch; font-size: var(--text-display); color: var(--color-accent); overflow-wrap: break-word; min-width: 0; }
.pj-hero__content .hero__actions { margin-top: var(--space-md); }
.pj-hero__toggle { position: absolute; right: var(--space-md); bottom: var(--space-md); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.pj-hero__toggle:hover { background: var(--color-paper-2); }
.pj-hero__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pj-hero__toggle .icon--play, .pj-hero__toggle.is-paused .icon--pause { display: none; }
.pj-hero__toggle.is-paused .icon--play { display: block; }
.pj-index { padding-block: var(--space-2xl); }
.pj-index__list { list-style: none; margin: 0; padding: 0; }
.pj-index__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); text-decoration: none; }
.pj-index li:last-child .pj-index__row { border-bottom: var(--rule-hair) solid var(--color-rule); }
.pj-index__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-section); line-height: 1; overflow-wrap: break-word; min-width: 0; transition: color var(--dur-short) var(--ease-out); }
.pj-index__sub { color: var(--color-ink-2); }
.pj-index__row:hover .pj-index__title { color: var(--color-accent); }
.pj-index__row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 40rem) { .pj-index__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }
@media (prefers-reduced-motion: reduce) { .pj-hero__toggle, .pj-index__title { transition: none; } }
.basket__list { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 7rem auto; gap: var(--space-md); align-items: center; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.line img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius-card); background: var(--color-white-plate); }
.line__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-lg); }
.line__meta { font-size: var(--text-sm); color: var(--color-muted); }
.line__sum { text-align: right; font-weight: 700; }
.line__remove { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: var(--text-sm); color: var(--color-ink-2); cursor: pointer; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--color-muted); border-radius: var(--radius-pill); }
.qty__b { width: 44px; height: 44px; border: 0; background: none; color: var(--color-ink); font: 700 var(--text-lg)/1 var(--font-body); cursor: pointer; border-radius: var(--radius-pill); }
.qty__b:hover { background: var(--color-paper-2); }
.qty__b:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.qty__b:disabled { opacity: 0.4; cursor: not-allowed; }
.qty__n { min-width: 2ch; text-align: center; font-weight: 700; }
.basket__sum { display: flex; justify-content: space-between; align-items: baseline; padding-block: var(--space-lg); font-size: var(--text-xl); }
.basket__sum strong { color: var(--color-accent); }
.checkout { display: grid; gap: var(--space-lg); justify-items: start; }
.checkout .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.checkout__note, .basket__empty { color: var(--color-ink-2); }
.checkout__bank { display: grid; gap: var(--space-md); margin-top: var(--space-xl); }
@media (max-width: 48rem) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .line { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .line img { width: 72px; height: 90px; }
  .line .qty { grid-column: 2; justify-self: start; }
  .line__sum { grid-column: 3; grid-row: 1; }
  .line__remove { grid-column: 3; }
  .cartlink > span:first-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .product__link img { transition: none; } .product__link:hover img { transform: none; } }
.shop-demo { max-width: 60ch; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-accent); border-radius: var(--radius-card); color: var(--color-ink); font-weight: 700; }
.product__sample { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.shop-note { margin-top: var(--space-2xl); color: var(--color-ink-2); }

/* freigabe */
.upload { margin-top: var(--space-md); }
.upload summary { list-style: none; cursor: pointer; width: max-content; }
.upload summary::-webkit-details-marker { display: none; }
.upload__form { display: grid; gap: var(--space-lg); max-width: 44rem; margin-top: var(--space-xl); padding: var(--space-xl); background: var(--color-paper-2); border-radius: var(--radius-card); }
.ff { display: grid; gap: var(--space-2xs); margin: 0; padding: 0; border: 0; min-width: 0; }
.ff label, .ff legend { font-weight: 700; font-size: var(--text-sm); }
.ff input:not([type=radio]), .ff textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink); font: inherit; transition: border-color var(--dur-short) var(--ease-out); }
.ff input:not([type=radio]):hover, .ff textarea:hover { border-color: var(--color-ink); }
.ff input:focus-visible, .ff textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.ff__hint { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.ff__hint[role=alert] { color: var(--color-accent); }
.modes { gap: var(--space-xs); }
.mode { display: flex; gap: var(--space-sm); align-items: start; min-height: 44px; cursor: pointer; font-weight: 400 !important; font-size: var(--text-md) !important; }
.mode input { width: 20px; height: 20px; margin-top: var(--space-3xs); accent-color: var(--color-accent); flex-shrink: 0; }
.mode input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.mode strong { margin-right: var(--space-xs); }
.upload__actions, .rv__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; }
.reviews__state { color: var(--color-muted); }
.reviews__note { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.rv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.rv:first-child { border-top: 0; padding-top: 0; }
.rv__head { grid-column: 1 / -1; display: grid; gap: var(--space-xs); }
.rv__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-2xl); line-height: 1.05; }
.rv__meta { font-size: var(--text-sm); color: var(--color-muted); }
.rv__desc { color: var(--color-ink-2); max-width: 65ch; }
.rv__media, .rv__open { grid-column: 1 / 8; margin: 0; }
.rv__media img, .rv__media video { width: 100%; max-height: 520px; object-fit: contain; background: var(--color-paper-3); border-radius: var(--radius-card); }
.rv__vote { grid-column: 1 / 8; display: flex; gap: var(--space-sm); }
.vote { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 700 var(--text-lg)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.vote:hover { background: var(--color-paper-3); border-color: var(--color-ink-2); }
.vote:active { transform: translateY(1px); }
.vote:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.vote:disabled { opacity: 0.55; cursor: not-allowed; }
.vote[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-paper-3); }
.rv__discussion { grid-column: 8 / 13; grid-row: 2 / span 3; display: grid; gap: var(--space-md); align-content: start; }
.rv__sub { font-size: var(--text-lg); }
.rv__empty { color: var(--color-muted); }
.rv__comments { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.rv__comments li { display: grid; gap: var(--space-2xs); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rv__form { display: grid; gap: var(--space-sm); }
.btn--small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }

/* one reveal */
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .btn, .link, .nav__links a, .langs a, .route, .entry__text h2, .pager__link, .vote, .ff input, .ff textarea { transition: none; } }

/* responsive */
/* the full link bar needs about 1280px in French; below that the links move into the menu */
@media (max-width: 79.9375rem) {
  .nav__links { display: none; }
  .menu { display: block; }
  /* the menu button joins the languages and the basket on the right instead of floating mid-row */
  .nav__in > nav { margin-left: auto; }
}
@media (max-width: 60rem) {
  .langs--bar { display: none; }
  .langs--menu { display: flex; }
  .hero__grid, .split, .news, .kickoff, .map-row, .half, .name-grid, .legal, .footer__row { grid-template-columns: minmax(0, 1fr); }
  .hero__text, .hero__photo, .split__head, .split__body, .news__poster, .news__text, .kickoff__time, .kickoff__where, .map, .map__links, .half__head, .half__body, .name-grid__score, .name-grid__text, .legal__facts, .legal__note, .footer__brand, .footer__links { grid-column: 1 / -1; }
  .hero__grid { min-height: 0; }
  .hero__photo { aspect-ratio: 4 / 3; max-height: none; }
  .news__poster { max-width: 26rem; }
  .partners, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv__media, .rv__open, .rv__vote, .rv__discussion { grid-column: 1 / -1; grid-row: auto; }
  .upload__form { padding: var(--space-lg); }
  .footer__links { justify-content: flex-start; }
  .entry__link { grid-template-columns: minmax(0, 1fr) minmax(0, 6.5rem); gap: var(--space-md); align-items: start; padding-block: var(--space-lg); }
  .entry__text { grid-column: 1; grid-row: 1; }
  .entry__photo { grid-column: 2; grid-row: 1; aspect-ratio: 1; }
  .entry__text h2 { font-size: var(--text-xl); }
  .entry--lead .entry__link { grid-template-columns: minmax(0, 1fr); }
  .entry--lead .entry__photo, .entry--lead .entry__text { grid-column: 1 / -1; grid-row: auto; }
  .entry--lead .entry__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .post__photo { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 40rem) {
  .items, .donate, .partners, .pager, .products { grid-template-columns: minmax(0, 1fr); }
  .pager__link--next { grid-column: 1; text-align: left; }
  .half__photo { aspect-ratio: 4 / 3; min-height: 0; }
  .map { aspect-ratio: 4 / 5; min-height: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }
  .facts dd { margin-bottom: var(--space-sm); }
}

/* phones: the header row is the crest and wordmark, an icon-only menu button (its label stays for screen readers) and the basket */
@media (max-width: 40rem) {
  .nav__in { gap: var(--space-sm); }
  .nav .wordmark { gap: var(--space-xs); font-size: var(--text-lg); }
  .nav .wordmark img { width: 40px; }
  .menu summary { width: 44px; padding: 0; justify-content: center; }
  .menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav__end { gap: var(--space-xs); }
  .cartlink { padding: 0 var(--space-sm); }
  /* the open menu spans the header instead of hanging off the button */
  .nav__in { position: relative; }
  .menu { position: static; }
  .menu__panel { left: var(--gutter); right: var(--gutter); min-width: 0; }
}
/* under 360px only the crest stays; the link keeps its name "Deux-Zeros e.V., Startseite" */
@media (max-width: 22.4375rem) {
  .nav .wordmark { font-size: 0; gap: 0; }
}
