/* ==========================================================================
   EGRS – Grundgerüst (für beide Varianten gleich)
   Farben, Schriften und Varianten-Details stehen in der jeweiligen Variante.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body-size, 1.0625rem);
  line-height: var(--body-lh, 1.6);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link, var(--primary)); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: var(--display-tracking, 0); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
dl { margin: 0; }
dd { margin: 0; }
mark.todo { background: #FFE98A; color: #3a2d00; padding: 0 .25em; border-radius: 2px; font-size: .9em; }

.wrap { width: min(100% - 2rem, var(--wrap, 1180px)); margin-inline: auto; }
.wrap.narrow, .narrow { max-width: 760px; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.section { padding-block: var(--section-pad, clamp(3rem, 2rem + 4vw, 6rem)); }
.two-col { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1.15fr 1fr; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .6em 1em; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--header-line, transparent); }
.header-inner { width: min(100% - 2rem, var(--wrap, 1180px)); margin-inline: auto; display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand-logo { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-short { font-family: var(--font-display); font-weight: var(--brand-weight, 600); font-size: 1.5rem; letter-spacing: .04em; }
.brand-full { font-size: .78rem; color: var(--ink-muted); letter-spacing: .01em; }
.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1px solid var(--line); color: inherit; font: inherit; padding: .5rem .8rem; border-radius: var(--radius); cursor: pointer; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars i { display: block; width: 20px; height: 2px; background: currentColor; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.3rem, .8vw, .9rem); flex-wrap: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a { text-decoration: none; color: inherit; padding: .4rem .2rem; font-family: var(--font-nav, var(--font-body)); font-size: var(--nav-size, .98rem); font-weight: var(--nav-weight, 500); border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav a:hover { border-bottom-color: var(--ink-muted); }
.lang-switch { font-size: .85rem !important; border: 1px solid var(--line) !important; border-radius: 999px; padding: .3rem .7rem !important; }
.lang-switch:hover { border-color: var(--ink) !important; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg-solid, var(--header-bg)); border-bottom: 1px solid var(--line); padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; flex-direction: column; align-items: stretch; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .lang-switch { align-self: flex-start; margin-top: 1rem; }
  body.nav-open .site-nav { display: flex; }
  .brand-full { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; align-items: end; min-height: var(--hero-h, 78vh); overflow: hidden; color: var(--hero-ink, #fff); isolation: isolate; }
.hero-page { min-height: var(--hero-page-h, 56vh); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: var(--hero-shade); }
.hero-content { position: relative; width: min(100% - 2rem, var(--wrap, 1180px)); margin-inline: auto; padding-block: clamp(2rem, 6vw, 5rem); }
.hero-kicker { margin: 0 0 .8rem; font-family: var(--font-display); font-size: 1rem; opacity: .9; }
.hero h1 { font-size: var(--h1-size, clamp(2.4rem, 1.5rem + 5vw, 5.4rem)); font-weight: var(--h1-weight, 300); margin: 0 0 .5em; max-width: 14ch; }
.hero-lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 52ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-page h1 { max-width: 16ch; }
.hero-page .hero-lead { margin-bottom: 0; }
.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-head h1 { font-size: var(--h1-size, clamp(2.4rem, 1.5rem + 5vw, 5rem)); font-weight: var(--h1-weight, 300); margin-bottom: .3em; }
.page-head .hero-lead { color: var(--ink-muted); }

.btn { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: .8em 1.5em; border-radius: var(--radius-btn, var(--radius)); text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.1; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--btn-bg, var(--primary)); color: var(--btn-ink, #fff); border-color: var(--btn-bg, var(--primary)); }
.btn-primary:hover { background: var(--btn-bg-hover, var(--ink)); border-color: var(--btn-bg-hover, var(--ink)); color: var(--btn-ink-hover, #fff); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.textlink { font-family: var(--font-display); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); color: var(--ink); padding-bottom: .1em; }
.textlink:hover { border-bottom-color: var(--ink); }

/* ---------- Startseite ---------- */
.intro .lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
.facts { border-block: 1px solid var(--line); background: var(--bg-alt); }
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.fact { padding: clamp(1.4rem, 2vw, 2.2rem) 1.2rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-family: var(--font-display); font-weight: var(--fact-weight, 300); font-size: clamp(2.4rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--fact-ink, var(--primary)); }
.fact dd { color: var(--ink-muted); margin-top: .5rem; font-size: .98rem; max-width: 24ch; }
@media (max-width: 640px) { .fact { border-left: 0; padding-inline: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

.teaser-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 760px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }
.teaser-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img, var(--radius)); }
.teaser-body { padding-top: 1rem; }
.teaser-body h3 { margin-bottom: .4em; }
.teaser-body p { color: var(--ink-muted); }

.join-band { background: var(--band-bg); color: var(--band-ink, inherit); }
.join-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .join-inner { grid-template-columns: 1.1fr .9fr; } }
.join-text p { font-size: 1.12rem; margin-bottom: 1.6rem; }
.join-figure { margin: 0; }
.join-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-img, var(--radius)); }

.event-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.event-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.event-month { font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.event-name { font-size: 1.05rem; }

.safety { border: 1px solid var(--safety-line, var(--accent)); border-left-width: 6px; border-radius: var(--radius); padding: 1.3rem 1.4rem; background: var(--safety-bg, var(--bg-alt)); margin-block: 1rem 2rem; }
.safety-inner { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; }
.safety-icon { width: 40px; height: 40px; color: var(--accent); }
.safety h2 { font-size: 1.25rem; margin-bottom: .4em; }
.safety p { margin: 0; font-size: .98rem; }

.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1.2rem; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-img, var(--radius)); }

/* ---------- Artikelseiten (Eissegeln, Strandsegeln) ---------- */
.article-layout { display: grid; gap: 2rem; padding-block: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 960px) { .article-layout { grid-template-columns: 240px 1fr; gap: 4rem; } .toc { position: sticky; top: 96px; align-self: start; } }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .45rem 1rem; text-decoration: none; color: var(--ink-muted); font-family: var(--font-display); font-weight: 500; font-size: .95rem; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.article { max-width: 72ch; }
.article-section { padding-block: 1rem 2rem; scroll-margin-top: 90px; }
.article-section + .article-section { border-top: 1px solid var(--line); }
.timeline { list-style: none; margin: 1rem 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.tl-year { font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9em; height: .9em; border: 2px solid var(--accent); border-radius: 50%; }
.inline-figure { margin: 1.5rem 0 0; max-width: 480px; }
.inline-figure img { border-radius: var(--radius-img, var(--radius)); }
figcaption { font-size: .88rem; color: var(--ink-muted); margin-top: .5rem; }
.quote { margin: 1.8rem 0 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--accent); background: var(--bg-alt); }
.quote p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-bottom: .5rem; }
.quote footer { font-size: .92rem; color: var(--ink-muted); }
.cta-band { background: var(--band-bg); color: var(--band-ink, inherit); }
.cta-band p { font-size: 1.1rem; margin-bottom: 1.5rem; }

/* ---------- Klassen ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.pills a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.pills a:hover { border-color: var(--ink); }
.class-card { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
@media (min-width: 820px) { .class-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; } .class-card:nth-child(even) .class-media { order: 2; } }
.class-media img { width: 100%; height: auto; border-radius: var(--radius-img, var(--radius)); }
.class-media.tall { max-width: 380px; }
.class-placeholder { aspect-ratio: 4 / 3; border: 1px dashed var(--line); border-radius: var(--radius-img, var(--radius)); display: grid; place-content: center; justify-items: center; gap: .5rem; color: var(--ink-muted); font-family: var(--font-display); }
.class-placeholder svg { width: 120px; }
.class-element { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: .95rem; }
.class-body h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: .1em; }
.class-sub { color: var(--ink-muted); margin-bottom: 1.2rem; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem 1.5rem; margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.specs dt { font-size: .82rem; color: var(--ink-muted); }
.specs dd { font-family: var(--font-display); font-weight: 600; }
.note-box { margin-block: 2rem 4rem; padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius); max-width: 760px; }
.note-box h2 { font-size: 1.3rem; }

/* ---------- Verein, Reviere, Termine, Mitmachen ---------- */
.prose-section { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); }
.prose-section + .prose-section { border-top: 1px solid var(--line); }
.side-figure { margin: 0; }
.side-figure img { width: 100%; border-radius: var(--radius-img, var(--radius)); }
.board { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.board li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.board-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.board-role { color: var(--ink-muted); }
.logo-figure { margin: 0; max-width: 300px; }
.chronik-lead { color: var(--ink-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.chronik { list-style: none; margin: 0; padding: 0; position: relative; }
.chronik::before { content: ""; position: absolute; left: 9.5rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.chronik li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 2.2rem; padding: .9rem 0 1.4rem; position: relative; }
.chronik li::before { content: ""; position: absolute; left: calc(9.5rem - 5px); top: 1.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg); }
.ch-date { font-family: var(--font-display); font-weight: 600; color: var(--primary); text-align: right; padding-top: .15rem; }
.ch-body { max-width: 62ch; }
.ch-body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.ch-body p { margin: 0; }
@media (max-width: 640px) {
  .chronik::before { left: 5px; }
  .chronik li { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.6rem; }
  .chronik li::before { left: 0; top: 1.1rem; }
  .ch-date { text-align: left; }
}
.statutes { display: grid; gap: 1rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.statutes dt { font-family: var(--font-display); font-weight: 600; margin-bottom: .2rem; }
.statutes dd { color: var(--ink-muted); }
.assoc-list, .doc-list, .link-list { list-style: none; padding: 0; margin: 0; }
.assoc-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.assoc-list a, .assoc-list > li > span:first-child { font-family: var(--font-display); font-weight: 600; }
.assoc-desc { color: var(--ink-muted); font-size: .95rem; }
.doc-list li, .link-list li { padding: .5rem 0; }
.doc-note { color: var(--ink-muted); font-size: .9rem; }
.venue-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .venue-grid { grid-template-columns: 1fr 1fr; } }
.venue img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img, var(--radius)); margin-bottom: .8rem; }
.venue h3 { margin-bottom: .3em; }
.event-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .event-cards { grid-template-columns: repeat(3, 1fr); } }
.event-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--card-bg, transparent); }
.event-card-month { display: block; font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 1rem; margin-bottom: .6rem; }
.event-card h3 { margin-bottom: .4em; }
.event-card p { margin: 0; color: var(--ink-muted); }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.news-list time { font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.news-list h3 { font-size: 1.15rem; margin-bottom: .2em; }
.news-list p { margin: 0; }
@media (max-width: 560px) { .news-list li, .timeline li, .event-list li { grid-template-columns: 1fr; gap: .2rem; } }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid h3 { font-size: 1.15rem; margin-bottom: .3em; }
.why-grid p { margin: 0; color: var(--ink-muted); }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: step; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 3px solid var(--accent); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: var(--fact-weight, 300); font-size: 2.4rem; line-height: 1; color: var(--primary); margin-bottom: .4rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-muted); }
.faq details { border-top: 1px solid var(--line); padding: .3rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: .8rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .6rem; font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding-bottom: .8rem; }

/* ---------- Galerie ---------- */
.gallery { list-style: none; padding: 0; margin: 0 0 4rem; columns: 2; column-gap: 1rem; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 1.25rem; } }
.gallery-item { break-inside: avoid; margin: 0 0 1.25rem; }
.gallery-item a { display: block; }
.gallery-item img { width: 100%; height: auto; border-radius: var(--radius-img, var(--radius)); }
.gallery-item figcaption { font-size: .9rem; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 28, .94); display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox figcaption { color: #fff; opacity: .85; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: .5rem 1rem; }
.lb-close { top: .5rem; right: .8rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; gap: 3rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.2fr .8fr; gap: 5rem; } }
.preview-note { background: #FFE98A; color: #3a2d00; padding: .6rem .9rem; border-radius: var(--radius); font-size: .92rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: inherit; background: var(--input-bg, #fff); border: 1px solid var(--line-strong, var(--line)); border-radius: var(--radius); padding: .7rem .8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.was-validated :invalid { border-color: #D21F1F; }
.field.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.field.check input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; }
.field.check label { font-family: var(--font-body); font-weight: 400; font-size: .95rem; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.is-ok { color: #1E7B3A; }
.form-status.is-error { color: #D21F1F; }
.contact-side h2 { font-size: 1.3rem; }
.contact-side address + h2 { margin-top: 2rem; }
.mail-big { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-top: .4rem; }
.contact-side .side-figure { margin-top: 1.5rem; }

/* ---------- Rechtliches ---------- */
.legal { padding-bottom: 4rem; }
.legal-block { padding-block: 1rem; }
.legal-block h2 { font-size: 1.3rem; }
.legal-block p { margin-bottom: .4em; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); margin-top: 2rem; }
.site-footer a { color: inherit; }
.footer-inner { width: min(100% - 2rem, var(--wrap, 1180px)); margin-inline: auto; padding-block: 3rem 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; } }
.footer-brand img { width: 88px; height: 88px; margin-bottom: .8rem; }
.footer-name { font-family: var(--font-display); font-weight: 600; margin-bottom: .2em; }
.footer-claim { opacity: .75; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.footer-links li { padding: .2rem 0; break-inside: avoid; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-meta p { font-size: .9rem; opacity: .8; margin-bottom: .5em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem !important; opacity: 1 !important; }

/* <picture> soll sich im Layout wie das Bild selbst verhalten */
picture { display: contents; }

/* ==========================================================================
   Leiste: Sprache, Kontrast, Schriftgröße
   ========================================================================== */
.toolbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-family: var(--font-nav); font-size: .9rem; }
.toolbar-inner { width: min(100% - 2rem, var(--wrap, 1180px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.toolbar button, .toolbar summary { font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: var(--radius-btn, 3px); padding: .3em .6em; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; line-height: 1.2; min-height: 32px; }
.toolbar button:hover, .toolbar summary:hover { border-color: var(--line-strong); background: var(--bg); }
.toolbar button:focus-visible, .toolbar summary:focus-visible, .toolbar a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.toolbar svg { width: 1.15em; height: 1.15em; flex: none; }
.toolbar button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.a11y-tools { display: flex; align-items: center; gap: .25rem; }
.size-label { color: var(--ink-muted); margin-left: .5rem; }
#size-minus, #size-plus { font-family: var(--font-display); font-weight: 600; min-width: 2.4em; justify-content: center; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: .5em; height: .5em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-25%) rotate(45deg); margin-left: .2em; }
.lang-menu[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.lang-menu ul { position: absolute; left: 0; top: calc(100% + 4px); z-index: 60; margin: 0; padding: .4rem; list-style: none; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(10, 22, 44, .15); min-width: 14rem; columns: 2; column-gap: .4rem; }
.lang-menu li { break-inside: avoid; }
.lang-menu a { display: block; padding: .45em .7em; color: var(--ink); text-decoration: none; border-radius: var(--radius-btn, 3px); white-space: nowrap; }
.lang-menu a:hover { background: var(--bg-alt); }
.lang-menu a[aria-current="true"] { font-weight: 600; color: var(--primary); }
@media (max-width: 480px) { .size-label { position: absolute; left: -999px; } .toolbar-inner { gap: .5rem; } .lang-menu ul { columns: 1; } }

/* Hoher Kontrast (Schalter in der Leiste, Klasse am <html>) */
html.contrast {
  --bg: #fff; --bg-alt: #fff; --ink: #000; --ink-muted: #000; --primary: #0000a0; --accent: #a00000;
  --line: #000; --line-strong: #000; --focus: #000; --header-bg: #fff; --header-bg-solid: #fff; --header-line: #000;
  --band-bg: #fff; --footer-bg: #000; --footer-ink: #fff; --input-bg: #fff; --safety-bg: #fff; --fact-ink: #000;
  --hero-shade: linear-gradient(to top, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .75) 55%, rgba(0, 0, 0, .3) 100%);
}
html.contrast a:not(.btn):not(.brand):not(.teaser-img):not(.strip-item) { text-decoration: underline; text-underline-offset: .15em; }
html.contrast .btn { border-color: currentColor; }
html.contrast .btn-primary { --btn-bg: #000; --btn-ink: #fff; --btn-bg-hover: #fff; --btn-ink-hover: #000; }
html.contrast .hero .btn-primary { --btn-bg: #fff; --btn-ink: #000; --btn-bg-hover: #000; --btn-ink-hover: #fff; }
html.contrast .site-header { backdrop-filter: none; }
html.contrast :focus-visible { outline: 3px solid #000; outline-offset: 3px; }
html.contrast .toolbar, html.contrast .fact, html.contrast .teaser, html.contrast .class-card, html.contrast .safety { border-color: #000; }
html.contrast .site-footer a { color: #fff; }
html.contrast img { filter: contrast(1.05); }

/* Schriftgröße (Schalter in der Leiste) – alles in rem skaliert mit */
html.size-1 { font-size: 112.5%; }
html.size-2 { font-size: 125%; }

/* ==========================================================================
   Leichte Sprache
   ========================================================================== */
.ls, .ls p, .ls li, .ls dd, .ls dt, .ls figcaption, .ls label, .ls input, .ls textarea, .ls select, .ls summary, .ls address { font-family: var(--font-display); }
.ls .wrap { max-width: 56rem; }
.ls-head .wrap { max-width: 56rem; }
.ls-intro { font-size: 1.3rem; line-height: 1.75; max-width: 40ch; margin-top: 1rem; }
.ls-section { margin: 2.5rem 0; }
.ls-section h2 { font-size: 1.7rem; font-weight: 500; margin-bottom: .8rem; }
.ls-section h3 { font-size: 1.25rem; font-weight: 600; margin: 1.2rem 0 .5rem; }
.ls p, .ls li, .ls dd, .ls label, .ls summary { font-size: 1.25rem; line-height: 1.75; }
.ls p { max-width: 42ch; margin-bottom: 1.2rem; }
.ls-list, .ls-steps { max-width: 44ch; padding-left: 1.3em; }
.ls-list li, .ls-steps li { margin-bottom: .6rem; }
.ls-steps { counter-reset: step; list-style: none; padding-left: 0; }
.ls-steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; align-items: start; }
.ls-steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--primary); border: 2px solid var(--primary); border-radius: 50%; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; }
.ls-figure { margin: 0 0 1.5rem; max-width: 40rem; }
.ls-figure img { width: 100%; height: auto; border-radius: var(--radius-img, var(--radius)); }
.ls-figure figcaption { font-size: 1rem; color: var(--ink-muted); margin-top: .5rem; }
.ls-words { background: var(--bg-alt); border-left: 4px solid var(--primary); padding: 1rem 1.2rem; margin: 1.5rem 0; max-width: 46ch; border-radius: 0 var(--radius) var(--radius) 0; }
.ls-words h3 { margin-top: 0; }
.ls-words dl { margin: 0; }
.ls-words dt { font-weight: 600; font-size: 1.2rem; margin-top: .6rem; }
.ls-words dd { margin: 0; }
.ls-faq summary { font-size: 1.25rem; }
.ls-gallery { margin: 2rem 0; }
.ls-gallery figcaption { font-size: 1.05rem; }
.ls-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.5rem 0; }
.ls-cta .btn { font-size: 1.15rem; }
.ls-note { font-size: 1rem; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 1rem; margin: 3rem 0 2rem; }
.ls .contact-form { max-width: 40rem; }
.ls .contact-form input, .ls .contact-form select, .ls .contact-form textarea { font-size: 1.2rem; }
.ls .field.check label { font-size: 1.1rem; line-height: 1.5; }

/* ==========================================================================
   Variante A „Eis“ – hell, kühl, viel Weißraum, große Fotos
   Schriften: Jost (Überschriften, geometrisch wie die 1930er-Jahre der DN/XV),
              Source Serif 4 (Fließtext, ruhig und gut lesbar)
   ========================================================================== */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/jost-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }
/* Latin-Erweiterung (Polnisch, Baltikum, Nordisch) – lädt nur, wenn solche Zeichen vorkommen */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/jost-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #F6F9FB;            /* Eisweiß */
  --bg-alt: #EAF1F6;        /* Eisblau, hell */
  --ink: #0E1B2E;           /* Schwarzeis */
  --ink-muted: #556678;
  --primary: #1C44A0;       /* Vereinsblau aus dem Stander */
  --accent: #E30613;        /* Stander-Rot, sparsam */
  --line: #CFDDE8;
  --line-strong: #A9BFCF;
  --focus: #1C44A0;
  --font-display: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-nav: "Jost", system-ui, sans-serif;
  --body-size: 1.0625rem;
  --body-lh: 1.65;
  --nav-size: .95rem; --nav-weight: 500;
  --brand-weight: 500;
  --h1-weight: 300;
  --fact-weight: 300;
  --radius: 3px; --radius-img: 3px; --radius-btn: 3px;
  --header-bg: rgba(246, 249, 251, .92);
  --header-bg-solid: #F6F9FB;
  --header-line: #CFDDE8;
  --hero-shade: linear-gradient(to top, rgba(10, 22, 44, .78) 0%, rgba(10, 22, 44, .35) 45%, rgba(10, 22, 44, 0) 80%);
  --hero-h: 82vh;
  --band-bg: #EAF1F6;
  --footer-bg: #0E1B2E;
  --footer-ink: #DCE6EF;
  --input-bg: #fff;
  --safety-bg: #fff;
}
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); } }

body { font-weight: 400; }
h2, h3 { font-weight: 500; color: var(--ink); }
.hero h1 { letter-spacing: -.01em; text-wrap: balance; }
.page-head h1 { letter-spacing: -.01em; }

/* Die Kufenspur: eine feine Linie, wie ein Kratzer im Schwarzeis – nur im Hero der Startseite */
.hero .track { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; color: rgba(255,255,255,.55); z-index: 1; pointer-events: none; }
.hero-home .hero-content { padding-bottom: clamp(4rem, 8vw, 7rem); }

.btn-primary { --btn-bg: #1C44A0; --btn-ink: #fff; --btn-bg-hover: #0E1B2E; --btn-ink-hover: #fff; }
.hero .btn-primary { --btn-bg: #fff; --btn-ink: #1C44A0; --btn-bg-hover: #E30613; --btn-ink-hover: #fff; }

.intro h2 { font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); max-width: 22ch; }
.fact dt { font-weight: 300; }
.teaser-body h3 { font-weight: 500; }
.join-band { border-block: 1px solid var(--line); }
.join-band h2 { font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.event-month { color: var(--primary); }
.cta-band { background: #0E1B2E; color: #DCE6EF; }
.cta-band h2 { color: #fff; font-weight: 400; }
.cta-band .btn-primary { --btn-bg: #fff; --btn-ink: #0E1B2E; --btn-bg-hover: #E30613; --btn-ink-hover: #fff; }
.class-body h2 { font-weight: 400; }
.quote p { font-weight: 400; font-style: italic; font-family: var(--font-body); font-size: 1.3rem; }
.specs dd { font-weight: 500; }
.steps li::before { font-weight: 300; }
.footer-brand img { filter: none; }
.site-footer { border-top: 6px solid var(--primary); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.textlink { border-bottom-color: var(--primary); }
.textlink:hover { border-bottom-color: var(--accent); }
.event-card-month, .class-element { color: var(--primary); }
.steps li { border-top-color: var(--primary); }
.checklist li::before { border-color: var(--primary); }
.safety { --safety-line: #E30613; }
.safety-icon { color: #E30613; }
