/* ==========================================================================
   Musikverein Bergfelden – Stylesheet
   Farben aus dem Vereinslogo, Material-3-Anmutung
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #0B1D30;
  --navy-deep: #07141F;
  --blue-dark: #1A4672;
  --blue: #005FAB;
  --yellow: #F3D900;
  --yellow-soft: #FFF3A8;
  --tonal: #E3EEF6;
  --ground: #F5F6F4;
  --white: #FFFFFF;
  --muted: #4B5B6B;
  --on-dark: #E6ECF1;
  --on-dark-muted: #C9D5E0;
  --line: #C9D2DA;
  --outline: #9AA8B5;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --r-s: 14px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 32px;
  --container: 1280px;
  --gutter: 24px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--ground);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 12px 20px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 1080px; }
.container--text { max-width: 880px; }

/* ---------- Typografie ---------- */
.overline {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.on-dark .overline, .overline--yellow { color: var(--yellow); }
.overline--ink { color: var(--navy); }

.display, .h2, .h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; }
.display { font-weight: 800; font-size: clamp(56px, 9vw, 140px); line-height: .88; letter-spacing: -.01em; }
.display--l { font-size: clamp(52px, 7.5vw, 120px); }
.h2 { font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: .95; }
.h3 { font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: none; }
.h3--l { font-size: 36px; }
.accent { color: var(--yellow); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; max-width: 560px; }
.muted { color: var(--muted); }
.on-dark { background: var(--navy); color: var(--white); }
.on-dark .lead, .on-dark p { color: var(--on-dark); }

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 17px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--s { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { color: var(--navy); background: #FFE51A; }
.btn--filled { background: var(--navy); color: var(--white); }
.btn--filled:hover { color: var(--white); background: var(--blue-dark); }
.btn--tonal { background: var(--tonal); color: var(--navy); }
.btn--tonal:hover { color: var(--navy); background: #D3E4F1; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline-light:hover { color: var(--white); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--outline);
  background: transparent; color: var(--navy);
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.chip:hover { color: var(--navy); border-color: var(--navy); }
.chip[aria-current], .chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--tonal); }
.badge--yellow { background: var(--yellow-soft); }
.badge--dark { background: rgba(243,217,0,.16); color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 12px; }
.site-header__logo img { height: 64px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: 999px; color: var(--white); font-weight: 500; text-decoration: none;
}
.nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav a[aria-current] { background: rgba(243,217,0,.18); color: var(--yellow); font-weight: 600; }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 0 20px; font-size: 16px; }
@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header__logo img { height: 52px; }
  .nav { width: 100%; margin-inline: -12px; }
  .nav a { padding: 0 12px; }
  .nav .btn { display: none; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: 96px; }
.section--s { padding-block: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head p { margin: 0; max-width: 420px; color: var(--muted); }
@media (max-width: 760px) { .section { padding-block: 64px; } }

/* ---------- Hero (Startseite) ----------
   Text oben (Himmel), Buttons unten (Boden) – die Kapelle in der Bildmitte bleibt frei */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero__media { aspect-ratio: 1600 / 806; max-height: calc(100vh - 88px); min-height: 520px; width: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__top, .hero__bottom { position: absolute; left: 0; right: 0; }
.hero__top { top: 0; padding: 40px 0 72px; background: linear-gradient(180deg, rgba(11,29,48,.78) 0%, rgba(11,29,48,.45) 60%, rgba(11,29,48,0) 100%); }
.hero__bottom { bottom: 0; padding: 72px 0 36px; background: linear-gradient(0deg, rgba(11,29,48,.7) 0%, rgba(11,29,48,0) 100%); }
.hero .overline { color: var(--yellow); margin-bottom: 10px; font-size: 15px; }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.005em; font-size: clamp(44px, 6.4vw, 104px); }
.hero__title span { white-space: nowrap; }
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; }
  .hero__media { order: 1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__top, .hero__bottom { position: static; background: none; }
  .hero__top { order: 2; padding: 28px 0 0; }
  .hero__bottom { order: 3; padding: 24px 0 88px; }
}

/* Nächster Auftritt */
.next-event { position: relative; margin-top: 40px; z-index: 2; }
@media (max-width: 899px) { .next-event { margin-top: -64px; } }
.next-event__card { background: var(--white); border-radius: var(--r-l); box-shadow: 0 12px 40px rgba(11,29,48,.14); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.next-event__body { flex: 1 1 320px; min-width: 0; }
.next-event__body p { margin: 8px 0 0; color: var(--muted); }
.datebox { flex: 0 0 auto; width: 104px; height: 104px; border-radius: var(--r-m); background: var(--navy); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.datebox__day { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.datebox__month { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.datebox--light { width: 84px; height: 84px; border-radius: 18px; background: var(--tonal); color: var(--navy); }
.datebox--light .datebox__day { font-size: 34px; }
.datebox--light .datebox__month { color: var(--blue); font-size: 13px; }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.stat { border-top: 4px solid var(--navy); padding-top: 20px; }
.stat:last-child { border-top-color: var(--yellow); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 80px; line-height: .9; }
.stat p { margin: 10px 0 0; color: var(--muted); }

/* Register-Slider */
.slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--slider-pad); padding-block: 0 16px; padding-inline: var(--slider-pad) var(--gutter); scrollbar-width: thin; --slider-pad: max(var(--gutter), calc(50vw - var(--container) / 2 + var(--gutter))); }
.slider::after { content: ""; flex: 0 0 1px; }
.slide { position: relative; flex: 0 0 min(340px, 82vw); height: 440px; border-radius: var(--r-l); overflow: hidden; scroll-snap-align: start; background: var(--blue-dark); color: var(--white); text-decoration: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.slide__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 80px; color: rgba(255,255,255,.22); }
.slide:hover img { transform: scale(1.04); }
.slide__caption { position: absolute; inset: auto 0 0 0; padding: 24px; background: linear-gradient(180deg, rgba(11,29,48,0) 0%, rgba(11,29,48,.88) 70%); }
.slide__name { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.slide__sub { margin-top: 6px; font-size: 15px; color: var(--on-dark); }
.slide--cta { background: var(--tonal); color: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.slide--cta p { color: var(--muted); }

/* Jugend-Teaser */
.split { display: flex; flex-wrap: wrap; border-radius: var(--r-xl); overflow: hidden; }
.split > * { flex: 1 1 420px; padding: 56px; }
.split__yellow { background: var(--yellow); }
.split__dark { background: var(--navy); color: var(--white); }
@media (max-width: 760px) { .split > * { padding: 32px 24px; } }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.steps__n { flex: 0 0 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--yellow); }

/* Karten */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--s { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.card__img { width: 100%; height: 220px; object-fit: cover; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { margin: 0; color: var(--muted); }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 8px; font-weight: 700; }
.card--link { text-decoration: none; color: var(--navy); padding: 32px; gap: 12px; transition: transform .15s ease; }
.card--link:hover { color: var(--navy); transform: translateY(-2px); }
.card--link svg { width: 40px; height: 40px; stroke: var(--blue); }
.card--dark { background: var(--blue-dark); color: var(--white); padding: 28px; gap: 10px; min-height: 220px; }
.card--dark p { color: var(--on-dark-muted); margin: 0; }
.card--dark .badge { align-self: flex-start; }

/* Instagram */
.insta-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; padding: 0; list-style: none; }
.insta-grid a { display: block; position: relative; color: var(--white); text-decoration: none; border-radius: var(--r-m); overflow: hidden; }
.insta-grid--captions { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.insta-grid__meta { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; background: linear-gradient(180deg, rgba(11,29,48,0) 0%, rgba(11,29,48,.9) 55%); }
.insta-grid__meta time { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { padding-block: 88px 72px; }
.page-hero--split .container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.page-hero--split .container > * { flex: 1 1 440px; min-width: 0; }
.page-hero figure { margin: 0; }
.page-hero figure img { border-radius: var(--r-l); width: 100%; }
.page-hero figcaption { margin-top: 12px; font-size: 14px; color: #9FB0C0; }
.page-hero--yellow { background: var(--yellow); }
.page-hero--photo { position: relative; overflow: hidden; }
.page-hero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero--photo .container { position: relative; }
.page-hero .lead { margin-top: 28px; }

/* ---------- Chronik ---------- */
.timeline { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.timeline li { display: flex; flex-wrap: wrap; gap: 8px 48px; padding: 32px 0; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline__year { flex: 0 0 220px; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: .95; color: var(--blue); }
.timeline__body { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.timeline__text { flex: 1 1 320px; font-size: 18px; line-height: 1.65; }
.timeline__text p { margin: 0 0 .8em; }
.timeline__text p:last-child { margin-bottom: 0; }
.timeline__text .h3 { margin-bottom: 10px; }
.timeline__body figure { flex: 0 0 140px; margin: 0; }
.timeline__body figure img { width: 140px; height: 180px; object-fit: cover; border-radius: 16px; }
.timeline__body figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .timeline__year { flex-basis: 100%; font-size: 44px; } }

.band-yellow { background: var(--yellow); }
.band-yellow .container { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.band-yellow .h2 { flex: 1 1 300px; hyphens: auto; }
.band-yellow p { flex: 2 1 460px; margin: 0; font-size: 19px; line-height: 1.65; }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.person { background: var(--white); border-radius: var(--r-m); padding: 20px; }
.person__role { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.person__name { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 28px; }

.media-text { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.media-text > * { flex: 1 1 440px; min-width: 0; }
.media-text img { border-radius: var(--r-l); width: 100%; object-fit: cover; }

/* ---------- Jugend ---------- */
.hero-figure { position: relative; }
.hero-figure img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--r-xl); }
.hero-figure__stat { position: absolute; left: -16px; bottom: -16px; background: var(--navy); color: var(--white); border-radius: 24px; padding: 20px 24px; }
.hero-figure__stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: .9; color: var(--yellow); }
@media (max-width: 760px) { .hero-figure img { height: 320px; } .hero-figure__stat { left: 12px; bottom: 12px; } }

.stage-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); counter-reset: stage; }
.stage { background: var(--white); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 12px; counter-increment: stage; }
.stage::before { content: counter(stage); width: 56px; height: 56px; border-radius: 999px; background: var(--navy); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.stage p { margin: 0; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--r-m); }
.faq summary { list-style: none; min-height: 64px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p { margin: 0 0 .6em; }

/* ---------- Termine ---------- */
.with-aside { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.with-aside__main { flex: 999 1 620px; min-width: 0; }
.with-aside__aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.event-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.event { background: var(--white); border-radius: 24px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.event__body { flex: 1 1 180px; min-width: 0; }
.event__body .h3 { margin: 8px 0 4px; }
.event__body p { margin: 0; font-size: 15px; color: var(--muted); }
.empty { padding: 40px; border-radius: 24px; border: 2px dashed var(--line); text-align: center; color: var(--muted); }
.box { border-radius: 24px; padding: 28px; }
.box .h3 { margin-bottom: 12px; }
.box p { margin: 0 0 16px; }
.box--dark { background: var(--navy); color: var(--white); }
.box--dark p { color: var(--on-dark); }
.box--yellow { background: var(--yellow); }
.box--white { background: var(--white); }
.box--tonal { background: var(--tonal); text-align: center; }

/* ---------- Formular ---------- */
.form { background: var(--white); border-radius: var(--r-xl); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 760px) { .form { padding: 24px; } }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { margin-bottom: 12px; }
.topic-chips input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chips label { position: relative; }
.topic-chips input:checked + .chip { background: var(--navy); border-color: var(--navy); color: var(--white); }
.topic-chips input:focus-visible + .chip { outline: 3px solid var(--yellow); outline-offset: 2px; }
.topic-info { background: var(--ground); border-radius: var(--r-m); padding: 20px 24px; }
.topic-info p { margin: 0; color: var(--muted); }
/* Welche Erklärung/Zusatzbeschriftung sichtbar ist, steuert ein kleiner
   Inline-Style im Template kontakt.php (abhängig von der Anzahl der Anliegen) */
[data-topic] { display: none; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--navy);
  min-height: 52px; padding: 12px 16px; border-radius: var(--r-s); border: 1.5px solid var(--outline); background: var(--white);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
.field__error { color: #B3261E; font-weight: 500; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: var(--r-m); padding: 20px 24px; font-weight: 600; }
.alert--ok { background: #E3F4E8; color: #12512A; }
.alert--error { background: #FBE4E2; color: #8C1D18; }
.contact-list { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.contact-list dd { margin: 4px 0 0; }
.contact-list a { color: var(--white); }

/* ---------- Beitrag / Textseiten ---------- */
.prose { font-size: 18px; line-height: 1.7; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 36px; }
.prose h3 { font-size: 28px; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-m); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 4px solid var(--yellow); font-size: 22px; }
.prose ul.gallery { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.prose .video { aspect-ratio: 16/9; }
.prose .video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r-m); }
.cover { border-radius: var(--r-xl); width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 40px; }

.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: 72px 0 32px; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer__logo { width: 180px; }
.site-footer h2 { margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer p { margin: 0; line-height: 1.6; }
.site-footer .social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--blue-dark); font-weight: 600; }
.site-footer .social a:hover { text-decoration: none; background: var(--blue); }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1E3A55; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #9FB0C0; }
.site-footer__bottom a { color: var(--on-dark-muted); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Lightbox (Registerfotos) ---------- */
.slide__zoom { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 999px; background: rgba(11,29,48,.6); color: var(--white); display: flex; align-items: center; justify-content: center; opacity: .9; transition: background .15s ease; }
.slide:hover .slide__zoom, .slide:focus-visible .slide__zoom { background: var(--yellow); color: var(--navy); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(7,20,31,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(100%, 1600px); max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: var(--r-m); object-fit: contain; }
.lightbox__caption { font-size: 16px; font-weight: 600; text-align: center; color: var(--on-dark); }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__btn:hover { background: var(--yellow); color: var(--navy); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
@media (max-width: 760px) {
  .lightbox { padding: 72px 8px 24px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}

/* ---------- Downloads ---------- */
.dl-group + .dl-group { margin-top: 48px; }
.dl-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dl-item { background: var(--white); border-radius: 24px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.dl-item__icon { flex: 0 0 56px; height: 56px; border-radius: 16px; background: var(--tonal); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dl-item__body { flex: 1 1 260px; min-width: 0; }
.dl-item__body .h3 { font-size: 26px; }
.dl-item__body p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Sponsoren ---------- */
.tier + .tier { margin-top: 64px; }
.tier__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 24px; }
.tier__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4vw, 56px); text-transform: uppercase; line-height: 1; margin: 0; }
.tier__sub { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.logos { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.logos--l { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.logos--m { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.logos--s { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-card { background: var(--white); border-radius: var(--r-m); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--navy); transition: transform .15s ease, box-shadow .15s ease; }
a.logo-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,29,48,.1); }
.logos--l .logo-card { aspect-ratio: 16 / 9; padding: 32px; }
.logos--m .logo-card { aspect-ratio: 3 / 2; padding: 24px; }
.logos--s .logo-card { aspect-ratio: 3 / 2; padding: 16px; }
.logo-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-card__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-align: center; }
