  :root {
    --accent: #ffd700;
    --accent-blue: #3b82f6;
    --nav-bg: rgba(30, 41, 59, 0.92);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --text-dark: #1a1a2e;
    --text-muted: #5a5a72;
    --border-light: #e0e0e6;
    --bg-light: #f5f5f7;
    --radius: 14px;
    --section-gap: 2.5rem;
    /* Header-Höhe: Nav (+ Subnav falls vorhanden) */
    --nav-height: 52px;
    --subnav-height: 40px;
    --header-height: var(--nav-height);
  }

  @media (max-width: 768px) {
    :root {
      --nav-height: 44px;
      --subnav-height: 36px;
    }
  }

  /* Seiten mit Subnav: Header = Nav + Subnav */
  html:has(.training-subnav) {
    --header-height: calc(var(--nav-height) + var(--subnav-height));
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  /* Visually hidden but accessible to screen readers and crawlers */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Mobile-only line break */
  .mobile-br { display: none; }
  @media (max-width: 768px) {
    .mobile-br { display: block; }
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
  }

  body {
    font-family: var(--font-body);
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
  }


  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  .btn-primary {
    background: var(--accent);
    color: #0F172A;
    font-weight: 700;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
  }

  /* Sections */
  section {
    padding: 4rem 2rem;
  }

  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
  }


  .section-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    background: none;
    display: inline-block;
    padding: 0;
  }

  .section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #1a1a2e;
  }

  .section-subtitle {
    font-size: 1.05rem;
    color: #5a5a72;
    max-width: 580px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
  }

  /* Animations – elements are visible by default.
     JS adds .fade-hidden to below-fold elements,
     then .visible triggers the animation. */
  .fade-up {
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-up.fade-hidden {
    opacity: 0;
    transform: translateY(24px);
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (max-width: 1024px) {
    body.nav-top section {
      padding-left: 2rem;
      padding-right: 2rem;
    }

    body.nav-top section.hero,
    body.nav-top section.home-kontakt {
      padding-left: 0;
      padding-right: 0;
    }
  }

  @media (max-width: 768px) {
    body.nav-top section {
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    body.nav-top section.hero,
    body.nav-top section.home-kontakt {
      padding-left: 0;
      padding-right: 0;
    }

    .container {
      padding-left: 0;
      padding-right: 0;
    }
  }
