
  :root {
    --bg: #ffffff; --surface: #f6f7f3; --surface-2: #eef0e8; --primary: #1f5c40; --accent: #c96a3a;
    --ink: #14170f; --muted: #6a7266; --border: #e6e8e0;
    --shadow: 0 1px 2px rgba(20,23,15,.04), 0 10px 28px rgba(20,23,15,.06);
    --free: #1f5c40; --booked: #8b9384; --cat-training: #3d6fa8; --cat-cup: #8a4fae;
    --rail-bg: #1f5c40; --header-h: 58px;
  }
  :root[data-theme="dark"] {
    --bg: #0c0f0a; --surface: #161911; --surface-2: #1b2015; --primary: #74b995; --accent: #e28a5d;
    --ink: #eef1e8; --muted: #98a28c; --border: #262b1e;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.35); --booked: #545f49;
    --cat-training: #6fa0d6; --cat-cup: #b789d1; --rail-bg: #2c6b4c;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0c0f0a; --surface: #161911; --surface-2: #1b2015; --primary: #74b995; --accent: #e28a5d;
      --ink: #eef1e8; --muted: #98a28c; --border: #262b1e;
      --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.35); --booked: #545f49;
      --cat-training: #6fa0d6; --cat-cup: #b789d1; --rail-bg: #2c6b4c;
    }
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  .wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
  a { color: inherit; }
  img { max-width: 100%; display: block; }
  section, div[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
  button { font-family: inherit; }

  /* ---------- Header / Navigation ---------- */
  header.site { position: sticky; top: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--border); height: auto; }
  .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; margin: 0 auto; padding: 0 12px; }
  .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; }
  .brand .mark { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: -.02em; flex: none; }

  nav.primary { display: flex; align-items: center; justify-content: space-evenly; gap: 4px; flex: 1; }
  nav.primary > .navitem { position: relative; flex: none; }
  nav.primary > .navitem > a, nav.primary > .navitem > button.navlink { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; background: none; border: none; cursor: pointer; padding: 8px 8px; border-radius: 8px; }
  nav.primary > .navitem > a:hover, nav.primary > .navitem > button.navlink:hover, nav.primary > .navitem.open > button.navlink { color: var(--ink); background: var(--surface); }
  nav.primary > .navitem > a.active { color: #fff; background: var(--rail-bg); box-shadow: inset 0 -3px 0 rgba(255,255,255,.45); }
  .mnav-item > a.active { background: var(--rail-bg); color: #fff; border-radius: 10px; padding-left: 14px; padding-right: 14px; }
  .mnav-item > a.active::after { content: "Aktuell"; font-size: 12px; font-weight: 650; padding: 3px 7px; border: 1px solid currentColor; border-radius: 6px; }
  nav.primary > .navitem > a { white-space: nowrap; min-height: 44px; }
  nav.primary > .navitem > a[data-nav-section="membership"], .mnav-item > a[data-nav-section="membership"] { font-weight: 800; }
  nav.primary > .navitem > a[data-nav-section="membership"]:not(.active), .mnav-item > a[data-nav-section="membership"]:not(.active) { color: var(--primary); background: var(--surface); box-shadow: inset 0 0 0 1px var(--primary); border-radius: 8px; }
  .mnav-item > a[data-nav-section="membership"] { padding-left: 14px; padding-right: 14px; margin: 6px 0; }
  nav.primary a:focus-visible, .mnav-item > a:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
  nav.primary .caret { font-size: 9px; transition: transform .18s ease; }
  nav.primary > .navitem.open .caret { transform: rotate(180deg); }

  .dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 200px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; flex-direction: column; gap: 1px; }
  .navitem.open .dropdown { display: flex; }
  .dropdown a { font-size: 13px; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); }
  .dropdown a:hover { background: var(--surface); color: var(--primary); }

  .navright { display: flex; gap: 8px; align-items: center; flex: none; }
  #theme-toggle { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
  .btn-login { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12.5px; font-weight: 700; padding: 5px 12px 5px 7px; border-radius: 100px; background: var(--primary); color: #fff; border: none; cursor: pointer; white-space: nowrap; }
  .member-entry-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.18); }
  .member-entry-icon::before { content: ''; position: absolute; left: 10px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
  .member-entry-icon::after { content: ''; position: absolute; left: 7px; bottom: 5px; width: 14px; height: 8px; border-radius: 8px 8px 5px 5px; background: currentColor; }
  .member-entry-copy { display: grid; gap: 1px; text-align: left; line-height: 1.08; }
  .member-entry-copy strong { font-size: 12.5px; font-weight: 750; }
  .member-entry-copy small { font-size: 10.5px; font-weight: 600; opacity: .78; }

  #hamburger { display: none; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; flex: none; }
  #hamburger span, #hamburger span::before, #hamburger span::after { content: ""; display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease; }
  #hamburger span::before { position: absolute; top: -5px; }
  #hamburger span::after { position: absolute; top: 5px; }
  #hamburger.open span { background: transparent; }
  #hamburger.open span::before { transform: translateY(5px) rotate(45deg); }
  #hamburger.open span::after { transform: translateY(-5px) rotate(-45deg); }

  /* mobile slide-down menu */
  #mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 190; background: var(--bg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; overflow-y: auto; }
  #mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
  #mobile-menu .wrap { padding: 20px 24px 100px; }
  .mnav-item { border-bottom: 1px solid var(--border); }
  .mnav-item > a, .mnav-item > button.mtoggle { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; background: none; border: none; color: var(--ink); font-size: 17px; font-weight: 650; padding: 15px 2px; text-decoration: none; cursor: pointer; }
  .mnav-item .mtoggle .caret { color: var(--muted); font-size: 11px; transition: transform .18s ease; }
  .mnav-item.open .mtoggle .caret { transform: rotate(180deg); }
  .msub { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .mnav-item.open .msub { max-height: 260px; }
  .msub a { display: block; padding: 10px 2px 10px 14px; font-size: 14.5px; color: var(--muted); text-decoration: none; }
  .msub a:hover { color: var(--primary); }
  .mnav-cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; width: 100%; min-height: 52px; padding: 8px 14px; border-radius: 12px; border: none; background: var(--primary); color: #fff; font-weight: 700; font-size: 14.5px; }
  .mnav-cta .member-entry-copy strong { font-size: 14.5px; }
  .mnav-cta .member-entry-copy small { font-size: 11.5px; }

  @media (min-width: 761px) {
    :root { --header-h: 108px; }
    #mobile-menu { display: none; }
    .nav-row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 58px auto; row-gap: 0; }
    .brand { grid-column: 1; grid-row: 1; justify-self: start; }
    .navright { grid-column: 2; grid-row: 1; }
    nav.primary { grid-column: 1 / -1; grid-row: 2; justify-content: space-evenly; flex-wrap: wrap; padding: 3px 0; min-height: 50px; border-top: 1px solid var(--border); }
    header.site[data-nav-layout="inline"] .nav-row { display: flex; }
    header.site[data-nav-layout="inline"] nav.primary { flex-wrap: nowrap; padding: 0; min-height: 44px; border-top: 0; }
  }
  @media (max-width: 760px) {
    nav.primary { display: none; }
    #hamburger { display: flex; }
    .navright .btn-login { display: none; }
  }

  /* ---------- Floating action rail ---------- */
  .rail { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 150; display: flex; flex-direction: column; gap: 8px; }
  .rail button, .rail a { width: 44px; height: 44px; border-radius: 12px; background: var(--rail-bg); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); text-decoration: none; }
  .rail button:hover, .rail a:hover { filter: brightness(1.08); }
  .rail .rail-mine { background: var(--accent); }
  @media (max-width: 560px) { .rail { right: 10px; gap: 7px; } .rail button, .rail a { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; } }

  /* ---------- Hero ---------- */
  section.beat { padding-top: 64px; padding-bottom: 64px; text-align: center; }
  section.beat.hero { padding-top: 56px; padding-bottom: 44px; }

  .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
  h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 750; text-wrap: balance; }
  .beat h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 12px; font-weight: 700; text-wrap: balance; }
  .beat p.sub { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 46ch; margin: 0 auto; }
  .hero p.sub { margin-bottom: 26px; }
  .stat-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow); }
  .stat b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
  .stat span { font-size: 11.5px; color: var(--muted); }

  .bignum { font-size: clamp(48px, 9vw, 88px); font-weight: 800; letter-spacing: -.03em; color: var(--primary); line-height: 1; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
  hr.div { border: none; border-top: 1px solid var(--border); margin: 0; }

  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,.8,.4,1), transform .7s cubic-bezier(.16,.8,.4,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  @media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } .html { scroll-behavior: auto; } }

  .left { text-align: left; }
  .left p.sub { margin: 0 auto 0 0; }

  /* ---------- Carousel (hero + aktuelles) ---------- */
  .carousel { position: relative; margin-top: 8px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
  .carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
  .carousel-slide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
  .carousel-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 20px 16px; background: linear-gradient(to top, rgba(0,0,0,.62), transparent); color: #fff; text-align: left; font-size: 13.5px; font-weight: 600; }
  .carousel-dots { display: flex; gap: 6px; justify-content: center; padding: 12px 0; background: var(--surface); }
  .carousel-dots button { width: 6px; height: 6px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; }
  .carousel-dots button.active { background: var(--primary); width: 16px; border-radius: 4px; }

  .quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
  .qlink { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 6px 12px; text-align: center; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
  .qlink .qi { font-size: 20px; display: block; margin-bottom: 6px; }
  .qlink span { font-size: 11px; font-weight: 650; line-height: 1.25; display: block; }
  @media (max-width: 560px) { .quicklinks { grid-template-columns: repeat(2, 1fr); } }

  .stat-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

  .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; text-align: left; }
  figure.photo { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
  figure.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  figure.photo figcaption { font-size: 11px; color: var(--muted); padding: 8px 10px; }

  .prose { font-size: 14.5px; line-height: 1.65; color: var(--ink); text-align: left; }
  .prose a { color: var(--primary); }

  .fact-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
  .fact-list li { font-size: 13.5px; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.5; }
  .fact-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

  .board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; text-align: left; }
  .board-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
  .board-card h4 { margin: 5px 0 3px; font-size: 13.5px; }
  .board-card span { display: block; font-size: 11.5px; color: var(--muted); }
  .board-card a { font-size: 11.5px; color: var(--primary); text-decoration: none; word-break: break-all; }

  .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
  .chip { font-size: 12.5px; padding: 7px 13px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); }

  .donor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
  .donor-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 10px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 650; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); min-height: 64px; line-height: 1.3; }
  .donor-tile:hover { border-color: var(--primary); color: var(--primary); }
  @media (max-width: 560px) { .donor-grid { grid-template-columns: repeat(2, 1fr); } }

  .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; text-align: left; margin-top: 12px; }
  .card .tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
  .card h3 { margin: 6px 0 6px; font-size: 15.5px; }
  .card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

  /* ---------- Aktuelles: live news hub ---------- */
  .next-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px 8px 8px; margin: 0 0 22px; box-shadow: var(--shadow); font-size: 12.5px; }
  .next-badge .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--free); flex: none; animation: pulse-live 2s ease-in-out infinite; }
  .next-badge b { font-weight: 700; }
  .next-badge .in { color: var(--accent); font-weight: 700; }
  @keyframes pulse-live { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.72); } }
  @media (prefers-reduced-motion: reduce) { .next-badge .dot-live { animation: none; } }

  .news-tabs { display: flex; gap: 6px; justify-content: center; margin: 0 0 20px; flex-wrap: wrap; }
  .newstab { font-size: 12.5px; font-weight: 700; padding: 8px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; color: var(--muted); }
  .newstab:hover { color: var(--ink); }
  .newstab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
  .news-panel { display: none; }
  .news-panel.active { display: block; }

  .article-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; margin-top: 4px; }
  .article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
  .article-card .ac-body { padding: 18px; }
  .article-card .tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
  .article-card h3 { margin: 6px 0 8px; font-size: 16.5px; }
  .article-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
  .article-card details summary { cursor: pointer; color: var(--primary); font-weight: 600; font-size: 13px; list-style: none; }
  .article-card details summary::-webkit-details-marker { display: none; }
  .article-card details summary::after { content: " weiterlesen →"; }
  .article-card details[open] summary::after { content: ""; }
  .article-card details[open] summary { display: none; }
  .article-card details p { margin: 0 0 10px; }

  .announce-card { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); border-radius: 18px; padding: 18px; margin: 14px 0 20px; }
  .announce-card .tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
  .announce-card h3 { margin: 6px 0 8px; font-size: 16px; }
  .announce-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
  .announce-card .af-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 5px; }
  .announce-card .af-list li { font-size: 13px; color: var(--muted); }
  .announce-card .af-list b { color: var(--ink); }
  .announce-card .cta-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .announce-card .cta-row a { font-size: 12.5px; font-weight: 700; padding: 9px 15px; border-radius: 100px; text-decoration: none; }
  .announce-card .cta-row a.primary { background: var(--accent); color: #fff; }
  .announce-card .cta-row a.ghost { background: var(--surface); border: 1px solid var(--border); color: var(--ink); }

  .evt-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 16px; }
  .evtbtn { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 11px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; color: var(--muted); font-weight: 600; }
  .evtbtn i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
  .evtbtn.active { color: #fff; background: var(--ink); border-color: var(--ink); }
  .evtbtn.active i { display: none; }

  .evt-list { display: grid; gap: 8px; }
  .evt-item { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
  .evt-item.evt-dim { opacity: .35; }
  .evt-date { flex: none; width: 56px; text-align: center; background: var(--surface-2); border-radius: 10px; padding: 6px 4px; }
  .evt-date .d { display: block; font-size: 17px; font-weight: 800; line-height: 1.1; }
  .evt-date .m { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
  .evt-body { flex: 1; min-width: 0; }
  .evt-body .et { font-size: 13.5px; font-weight: 650; margin: 0 0 2px; }
  .evt-body .en { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.4; }
  .evt-soon { flex: none; font-size: 10.5px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); padding: 4px 9px; border-radius: 100px; white-space: nowrap; }

  .tourn-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; margin-top: 10px; }
  .tourn-card h4 { margin: 0 0 6px; font-size: 14.5px; }
  .tourn-card p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

  .gal-group { margin-top: 26px; text-align: left; }
  .gal-group:first-child { margin-top: 14px; }
  .gal-head h3 { margin: 0 0 2px; font-size: 15px; }
  .gal-head p { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
  .gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .gal-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }

  /* ---------- Platzbelegung (timeline booking) ---------- */
  section.booking { padding-top: 56px; padding-bottom: 84px; }
  .booking-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
  .booking-head h2 { margin: 0; }
  .booking-head .season { font-size: 13px; color: var(--muted); font-weight: 600; }
  .booking-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 18px; }

  .day-tabs-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
  .day-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
  .daytab { font-size: 12.5px; padding: 7px 13px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; color: var(--muted); user-select: none; font-weight: 600; }
  .daytab:hover { color: var(--ink); }
  .daytab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

  .gauge-wrap { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-left: auto; }
  .gauge { width: 74px; height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
  .gauge > i { display: block; height: 100%; background: var(--primary); border-radius: 4px; transition: width .3s ease; }
  .gauge-pct { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

  .cat-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
  .catbtn { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 11px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; color: var(--muted); font-weight: 600; }
  .catbtn i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
  .catbtn.active { color: var(--ink); border-color: var(--ink); background: var(--surface); }
  .catbtn[data-cat="all"].active { color: #fff; background: var(--ink); border-color: var(--ink); }
  .catbtn[data-cat="all"].active i { display: none; }

  .grid-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
  .book-grid { display: grid; grid-auto-rows: 40px; font-size: 11.5px; font-variant-numeric: tabular-nums; min-width: 620px; }
  .book-grid .row { display: grid; grid-template-columns: 66px repeat(12, 1fr); }
  .book-grid .hd { font-weight: 700; text-align: center; color: var(--muted); padding: 8px 0; background: var(--surface); position: sticky; top: 0; }
  .book-grid .hd.court { position: sticky; left: 0; text-align: left; padding-left: 12px; z-index: 2; }
  .book-grid .court-label { position: sticky; left: 0; background: var(--bg); display: flex; align-items: center; padding-left: 12px; font-weight: 700; color: var(--ink); border-right: 1px solid var(--border); z-index: 1; }
  .slot { margin: 2px; border-radius: 7px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 650; font-size: 10.5px; padding: 2px; line-height: 1.15; }
  .slot.frei { background: color-mix(in srgb, var(--free) 9%, var(--bg)); color: var(--primary); border: 1px dashed color-mix(in srgb, var(--free) 40%, var(--bg)); cursor: pointer; }
  .slot.belegt { background: color-mix(in srgb, var(--booked) 30%, var(--bg)); color: var(--muted); }
  .slot.training { background: color-mix(in srgb, var(--cat-training) 22%, var(--bg)); color: var(--cat-training); }
  .slot.mine { background: var(--accent); color: #fff; cursor: pointer; }
  .slot.dim { opacity: .28; }

  .legend { display: flex; gap: 14px; margin-top: 12px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; align-items: center; }
  .legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 5px; vertical-align: -1px; }
  .legend .note { font-style: italic; }
  .scroll-hint { font-size: 11px; color: var(--muted); text-align: center; margin-top: 8px; }

  .booking-notes { display: grid; gap: 10px; margin-top: 22px; }
  .note-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
  .note-card .nd { font-size: 12px; font-weight: 700; color: var(--primary); }
  .note-card p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

  .login-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .login-panel h4 { margin: 0 0 4px; font-size: 15px; }
  .login-panel p.small { margin: 0; font-size: 12.5px; color: var(--muted); }
  .login-panel .lp-text { flex: 1; min-width: 200px; }
  .field { margin-bottom: 10px; max-width: 320px; }
  .field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
  .field input { width: 100%; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); font-size: 13.5px; color: var(--ink); }
  .field input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
  button.submit { padding: 10px 18px; border-radius: 10px; border: none; background: var(--primary); color: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: transform .1s cubic-bezier(.2,0,0,1); }
  button.submit:active { transform: scale(.97); }
  button.submit.danger { background: var(--accent); }

  /* ---------- Apple-style bottom sheet (login etc.) — gesture-driven, spring-animated, rubber-banded ---------- */
  .scrim { position: fixed; inset: 0; background: rgba(10,14,11,.45); opacity: 0; pointer-events: none; z-index: 390; transition: opacity .2s ease; }
  .scrim.open { opacity: 1; pointer-events: auto; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; max-width: 440px; margin: 0 auto; background: var(--surface); border-radius: 24px 24px 0 0; box-shadow: 0 -24px 70px rgba(0,0,0,.28); padding: 10px 22px calc(26px + env(safe-area-inset-bottom)); display: none; will-change: transform; touch-action: none; }
  .sheet-grab { width: 38px; height: 5px; border-radius: 3px; background: var(--border); margin: 0 auto 16px; cursor: grab; }
  .sheet h3 { margin: 0 0 4px; font-size: 16.5px; letter-spacing: -.01em; }
  .sheet p.small { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
  .sheet button.submit { width: 100%; }
  .sheet button.link { display: block; width: 100%; text-align: center; background: none; border: none; color: var(--muted); font-size: 12.5px; margin-top: 10px; cursor: pointer; padding: 6px; }
  .sheet-error { color: var(--accent); font-size: 12px; margin: 0 0 10px; display: none; }
  .toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 0); background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; padding: 10px 18px; border-radius: 100px; box-shadow: var(--shadow); z-index: 410; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s cubic-bezier(.2,.9,.3,1); }
  .toast.show { opacity: 1; transform: translate(-50%, -6px); }
  @media (prefers-reduced-motion: reduce) {
    .sheet, .scrim, .toast { transition-duration: .001ms !important; }
  }

  details.legal { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; margin-top: 8px; text-align: left; }
  details.legal summary { cursor: pointer; font-weight: 600; font-size: 13px; }
  details.legal .prose { margin-top: 8px; font-size: 12.5px; }
  details.legal .prose p { margin: 0 0 8px; }

  footer { border-top: 1px solid var(--border); padding: 22px 0 100px; font-size: 12.5px; color: var(--muted); max-width: 940px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
  footer .foot-top { display: flex; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
  footer .foot-addr { margin: 0 0 16px; line-height: 1.6; }

  .foot-quicklinks { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
  .foot-quicklinks a { font-size: 12px; font-weight: 650; padding: 8px 14px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); }
  .foot-quicklinks a:hover { color: var(--primary); border-color: var(--primary); }

  @media (max-width: 760px) {
    section.beat { padding-top: 48px; padding-bottom: 48px; }
    .board-grid { grid-template-columns: 1fr; }
    .gal-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 900px) {
    .wrap, footer { padding-right: 72px; }
  }
  @media (max-width: 560px) {
    .wrap, footer { padding-right: 56px; }
  }

  img:not(.lightbox-img):not(.hero-club-logo):not(.club-logo) { cursor: zoom-in; }
  .lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 56px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .lightbox.open { opacity: 1; pointer-events: auto; }
  .lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: scale(.96); transition: transform .2s ease; }
  .lightbox.open .lightbox-img { transform: scale(1); }
  .lightbox-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; opacity: .85; padding: 0 64px; }
  .lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 50%; width: 42px; height: 42px; font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.24); }
  .lightbox-close { top: 18px; right: 18px; }
  .lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
  .lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
  @media (prefers-reduced-motion: reduce) { .lightbox, .lightbox-img { transition: none; } }
  @media (max-width: 640px) { .lightbox { padding: 20px; } .lightbox-caption { padding: 0 16px; font-size: 12px; } .lightbox-prev, .lightbox-next, .lightbox-close { width: 36px; height: 36px; font-size: 16px; } }
  .hero-club-logo { width: 104px; height: auto; margin: 0 auto 22px; object-fit: contain; }

  /* Mitgliedschaft: kompakte Beiträge, Bedingungen und Original-PDFs. */
  section.membership { padding-top: 30px; padding-bottom: 32px; text-align: left; }
  .membership > h3 { margin: 26px 0 8px; font-size: 20px; }
  .membership > p { line-height: 1.55; }
  .membership-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
  .membership-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 650; }
  .membership-button.primary { background: var(--rail-bg); color: #fff; border-color: var(--rail-bg); }
  .membership a:focus-visible, .membership summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
  .membership .membership-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 8px 0; }
  .membership-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 20px 0; }
  .membership-benefits .card { margin: 0; padding: 16px; }
  .membership-benefits .card p { font-size: 14px; }
  .membership-rates { list-style: none; padding: 0; margin: 10px 0; }
  .membership-rates li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.45; }
  .membership-rates strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
  .membership-details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 16px; }
  .membership-details summary { min-height: 48px; padding: 13px 0; cursor: pointer; font-size: 15px; font-weight: 650; }
  .membership-terms, .membership-apply ol { padding-left: 21px; margin: 12px 0; font-size: 15px; line-height: 1.55; }
  .membership-terms li, .membership-apply li { margin-bottom: 10px; padding-left: 2px; }
  .membership-documents { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; }
  .membership-documents a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  @media(max-width:640px) { .membership-benefits { grid-template-columns: 1fr; } .membership-actions { flex-direction: column; } .membership-button { text-align: center; } }
  @media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
.page-intro{padding-top:52px;padding-bottom:8px}.carousel-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(12,15,10,.62);color:#fff;font-size:27px;line-height:1;cursor:pointer;backdrop-filter:blur(8px)}.carousel-prev{left:14px}.carousel-next{right:14px}.page-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.page-card{padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);text-decoration:none;box-shadow:var(--shadow)}.page-card strong{display:block;margin-bottom:6px}.page-card span{font-size:13px;color:var(--muted)}@media(max-width:640px){.page-cards{grid-template-columns:1fr}.carousel-arrow{width:38px;height:38px}.wrap{padding-left:18px;padding-right:18px}}
