/* DJK Blau-Weiss Huckarde e.V. 1921 */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #081a4b;
  --navy-deep: #061238;
  --blue: #093992;
  --blue-bright: #2f6fe4;
  --sky: #e6eefb;
  --paper: #f4f7fc;
  --white: #fff;
  --ink: #0b1530;
  --muted: #4d5b7a;
  --line: #d6dfee;
  --on-navy: #c3d0ea;
  --error: #b3261e;
  --success: #116a3c;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(8, 26, 75, .45);
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-bright); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.section--navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible { outline-color: var(--white); }

h1, h2, h3 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: calc(780px + 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: .6em 1em; background: var(--white); color: var(--navy); font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 10px; }

.eyebrow { margin-bottom: .6em; color: var(--blue); font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: #9dbcf5; }
.lead { font-size: 1.2rem; line-height: 1.55; }

/* Buttons und Links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .55em 1.7em; border: 2px solid var(--blue); border-radius: 999px; background: var(--blue); color: var(--white); font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: .05em; line-height: 1.1; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--blue); }
.btn--small { min-height: 44px; padding: .4em 1.3em; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.text-link { display: inline-flex; gap: .5em; align-items: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }
.text-link--light { color: var(--white); }
.text-link--light:hover { color: #9dbcf5; }
.link-button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none; }
.link-button:hover { color: var(--white); text-decoration: underline; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 56px; height: 56px; }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a:not(.btn) { position: relative; padding: .4em 0; color: var(--white); font-weight: 600; text-decoration: none; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 26px; height: 2px; margin-inline: auto; background: currentColor; transition: transform .2s, background-color .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Startseite: Hero im Stil des Wappens */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px) 0; background: radial-gradient(90% 90% at 78% 30%, #123a94 0%, var(--navy) 58%, var(--navy-deep) 100%); color: var(--white); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero h1 { margin-bottom: .3em; }
.hero h1 span { display: block; color: #9dbcf5; }
.hero__lead { max-width: 34em; margin-bottom: 1.6em; color: var(--on-navy); font-size: 1.25rem; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.hero__crest { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__crest-ring { fill: var(--blue); stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.hero__crest-disc { fill: var(--white); }
.hero__crest-text { transform-origin: 300px 300px; animation: crest-spin 60s linear infinite; }
.hero__crest-text text { fill: var(--white); font-family: var(--font-display); font-size: 50px; font-weight: 700; letter-spacing: .04em; }
.hero__photo { position: absolute; inset: 13.6%; width: 72.8%; height: 72.8%; max-width: none; border-radius: 50%; object-fit: cover; }
@keyframes crest-spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(28px, 4vw, 48px) 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.stats > div { display: flex; flex-direction: column-reverse; padding: 20px 0 24px clamp(14px, 2.4vw, 28px); border-left: 1px solid rgba(255, 255, 255, .18); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { color: var(--on-navy); font-size: 1rem; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; }

/* Sponsoren */
.sponsors { padding-block: 36px 40px; border-bottom: 1px solid var(--line); }
.sponsors__title { margin-bottom: 20px; color: var(--muted); font-size: 1.15rem; font-weight: 700; letter-spacing: .14em; text-align: center; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; flex: none; align-items: center; gap: 28px; padding-right: 28px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { width: 210px; height: 80px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Bereiche */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; max-width: none; }
.section-head--row h2 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(28px, 5vw, 72px); }
.split--match { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.split--map { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; }
.split--form { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
.media-frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame img { width: 100%; }
.card { min-width: 0; padding: clamp(16px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.card h3, .card__title { margin-bottom: .7em; font-size: 1.7rem; }
.tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(16px, 3vw, 32px); }

/* Mannschaftskarten */
.teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.team-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--navy); color: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.team-card:hover { color: var(--white); }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.team-card:hover img { transform: scale(1.05); }
.team-card__body { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 2px; padding: 56px 20px 18px; background: linear-gradient(transparent, rgba(6, 18, 56, .92) 62%); }
.team-card__title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.team-card__link { font-weight: 600; }
.team-card__link::after { content: " →"; }

/* Banner Probetraining */
.cta-band { position: relative; padding-block: clamp(64px, 9vw, 120px); background: linear-gradient(90deg, rgba(8, 26, 75, .94) 18%, rgba(8, 26, 75, .55)), url("../img/zweikampf-1920.webp") center 35% / cover; color: var(--white); }
.cta-band h2 { max-width: 16em; }
.cta-band p { max-width: 36em; margin-bottom: 1.5em; color: var(--on-navy); font-size: 1.2rem; }

/* Anfahrt */
.directions { display: grid; gap: 14px; margin-top: 1.4em; }
.directions li { padding-left: 16px; border-left: 3px solid var(--blue-bright); }
.directions strong { display: block; color: var(--white); }

/* Externe Inhalte */
.embed { min-width: 0; }
.embed--map { display: flex; overflow: hidden; min-height: 420px; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.embed--map iframe { flex: 1; width: 100%; min-height: 420px; border: 0; }
/* Mindesthöhe: Das Widget meldet anfangs teils Höhe 0 und bliebe dann unsichtbar */
.fussballde_widget iframe { display: block; min-height: 240px; }
.embed__placeholder { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: clamp(18px, 3vw, 32px); border-radius: 10px; background: var(--sky); color: var(--ink); }
.embed__placeholder p { margin: 0; }
.embed__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.embed__note { color: var(--muted); font-size: .95rem; }
.embed__placeholder .btn { margin-block: 6px; }

/* Formular */
.form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; }
.field__hint { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .6em .8em; border: 1px solid #8d9ab5; border-radius: 10px; background: var(--white); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue-bright); outline-offset: 0; }
.field--trap { position: absolute; left: -9999px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 1rem; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.form .btn { justify-self: start; }
.form__status { padding: .8em 1em; border-radius: 10px; font-weight: 600; }
.form__status--ok { background: #e3f4ea; color: var(--success); }
.form__status--error { background: #fbe9e7; color: var(--error); }

/* Beiträge */
.post-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.post-card__image { display: block; min-height: 100%; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: clamp(20px, 3.4vw, 44px); align-self: center; }
.post-card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-meta { display: flex; flex-wrap: wrap; gap: .3em 1em; color: var(--muted); font-size: 1rem; }
.post-meta span:first-child { color: var(--blue); font-weight: 700; }
.post-meta--light { color: var(--on-navy); }
.post-meta--light span:first-child { color: #9dbcf5; }

/* Unterseiten */
.page-hero { padding-block: clamp(48px, 8vw, 96px); background: radial-gradient(80% 120% at 85% 0%, #123a94 0%, var(--navy) 62%, var(--navy-deep) 100%); color: var(--white); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.page-hero--team h1 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
.nowrap { white-space: nowrap; }
.page-hero__lead { max-width: 38em; margin-bottom: 1.4em; color: var(--on-navy); font-size: 1.2rem; line-height: 1.5; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px, 5vw, 64px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); counter-reset: step; }
.steps li { position: relative; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: .1em; color: var(--blue); font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.steps h2 { font-size: 1.7rem; }
.note { margin-top: 28px; color: var(--muted); }

.prose { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3.2vw, 2.2rem); line-height: 1.08; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.4rem; }
.prose ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.prose li { margin-bottom: .3em; }
.prose .media-frame { margin-block: 28px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 220px); gap: clamp(10px, 1.4vw, 16px); }
.gallery__item { overflow: hidden; border-radius: var(--radius); background: var(--sky); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--large { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item:hover img { transform: scale(1.04); }

/* Social Media */
.split--social { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.social-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.social-cards--single { grid-template-columns: minmax(0, 420px); }
.social-card { display: grid; gap: 4px; min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); color: var(--white); text-decoration: none; transition: background-color .2s, color .2s; }
.social-card:hover { background: var(--white); color: var(--navy); }
.social-card svg { margin-bottom: 8px; }
.social-card__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.social-card__handle { font-size: .95rem; overflow-wrap: anywhere; }

/* Fußzeile */
.site-footer { padding-top: clamp(48px, 6vw, 72px); background: var(--navy-deep); color: var(--on-navy); font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px clamp(24px, 4vw, 56px); }
.site-footer__about img { width: 96px; margin-bottom: 16px; }
.site-footer h2 { margin-bottom: .7em; color: var(--white); font-size: 1.25rem; letter-spacing: .05em; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: var(--white); }
.social a:hover { background: var(--white); color: var(--navy); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: clamp(32px, 4vw, 48px); padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.site-footer__bottom p { margin: 0; }

/* Einwilligung */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 60px -18px rgba(6, 18, 56, .6); font-size: 1rem; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent h2 { margin-bottom: .4em; font-size: 1.6rem; }
.consent__options { display: grid; gap: 6px; margin-block: 12px 16px; }
.consent__options label { display: flex; gap: 10px; align-items: center; min-height: 32px; }
.consent__options input { width: 20px; height: 20px; accent-color: var(--blue); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .btn { flex: 1 1 auto; padding-inline: .9em; }

@media (max-width: 1100px) {
  .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 8px var(--gutter) 24px; background: var(--navy); box-shadow: 0 18px 30px rgba(6, 18, 56, .4); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: .8em 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { width: 100%; margin-top: 16px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero__grid, .split, .split--match, .split--map, .split--form, .tables, .page-hero__grid, .steps, .teams { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 420px; margin-top: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .post-card { grid-template-columns: minmax(0, 1fr); }
  .split--social { grid-template-columns: minmax(0, 1fr); }
  .page-hero--team h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .post-card__image { aspect-ratio: 16 / 9; }
  .team-card { aspect-ratio: 3 / 2; }
  .cta-band { background: linear-gradient(rgba(8, 26, 75, .88), rgba(8, 26, 75, .88)), url("../img/zweikampf-1000.webp") center / cover; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .social-cards { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn, .form .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .marquee__track img { width: 160px; height: 62px; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }

  @supports (animation-timeline: view()) {
    .team-card, .post-card, .steps li, .media-frame { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__crest-text { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; flex: 1; justify-content: center; padding-right: 0; animation: none; }
  .marquee__track--copy { display: none; }
  .btn, .team-card img, .gallery__item img, .text-link::after { transition: none; }
}
