
  @font-face {
    font-family: 'Lovelo Black';
    src: url('../fonts/Lovelo_Black.otf') format('opentype');
    font-weight: 900; font-display: swap;
  }
  :root {
    --c-blue:      #59C2FB;
    --c-dark-blue: #1F2D3F;
    --c-yellow:    #FFD302;
    --c-cloud:     #EFEFEF;
    --bg:          #EFEFEF;
    --paper:       #FFFFFF;
    --ink:         #1F2D3F;
    --ink-2:       #455366;
    --ink-3:       #7A8597;
    --line-soft:   rgba(31,45,63,0.14);
    --font-ui:     'Roboto Condensed', 'Arial Narrow', system-ui, sans-serif;
    --font-display:'Lovelo Black', 'Impact', 'Oswald', sans-serif;
    --font-mono:   'JetBrains Mono', ui-monospace, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 18px; -webkit-font-smoothing: antialiased; }
  body { min-height: 100vh; display: flex; flex-direction: column;
    background: url('../brand/bg-light-web.webp') center/cover no-repeat, var(--bg); }

  header { height: 56px; flex-shrink: 0; display: flex; align-items: center;
    background: var(--c-dark-blue); border-bottom: 2px solid var(--c-blue); padding: 0; }
  .brand { width: 64px; height: 56px; display: flex; align-items: center; justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.12); flex-shrink: 0; text-decoration: none; }
  .brand img { height: 36px; width: 36px; object-fit: contain; }
  .header-title { padding: 0 20px; font-family: var(--font-ui); font-weight: 700; font-size: 14px;
    letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); flex: 1; }
  .back-btn { margin-right: 16px; height: 36px; padding: 0 18px;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--c-cloud); color: var(--c-dark-blue); border: none;
    font-family: var(--font-ui); font-weight: 700; font-size: 14px;
    letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border-left: 3px solid var(--c-blue); flex-shrink: 0; }
  .back-btn:hover { background: #fff; }

  main { flex: 1; max-width: 800px; width: 100%; margin: 48px auto; padding: 0 24px 80px; }

  .page-header { background: var(--paper); border: 3px solid var(--c-dark-blue);
    position: relative; padding: 40px 48px 32px; margin-bottom: 2px; }
  .page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 8px; background: var(--c-blue); }
  .page-label { font-family: var(--font-ui); font-weight: 700; font-size: 13px;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
  .page-title { font-family: var(--font-display); font-weight: 900; font-size: 52px;
    text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); line-height: 1; }
  .page-subtitle { margin-top: 10px; font-size: 18px; color: var(--ink-2); font-weight: 400; }

  .content-body { background: var(--paper); border: 3px solid var(--c-dark-blue);
    border-top: none; padding: 40px 48px; }

  .open-btn { display: inline-flex; align-items: center; gap: 10px;
    background: var(--c-blue); color: var(--c-dark-blue);
    border: none; padding: 14px 28px; font-family: var(--font-ui);
    font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; margin-bottom: 40px; transition: background .15s; }
  .open-btn:hover { background: #7dd6ff; }
  .open-btn svg { flex-shrink: 0; }

  section { margin-bottom: 32px; }
  section:last-child { margin-bottom: 0; }
  h2 { font-family: var(--font-ui); font-weight: 700; font-size: 12px;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
    margin-bottom: 12px; padding-left: 12px; position: relative; }
  h2::before { content: ''; position: absolute; left: 0; top: 1px; bottom: 1px;
    width: 3px; background: var(--c-blue); }
  p { line-height: 1.65; color: var(--ink-2); font-size: 17px; font-weight: 400; }
  p + p { margin-top: 8px; }
  ul { list-style: none; padding: 0; margin: 0; }
  ul li { font-size: 16px; color: var(--ink-2); line-height: 1.5; padding: 4px 0 4px 20px; position: relative; }
  ul li::before { content: ''; position: absolute; left: 0; top: 12px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .sep { height: 1px; background: var(--line-soft); margin: 28px 0; }

  /* formation preview + positions side by side */
  .preview-row { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
  .formation-preview { width: 180px; flex-shrink: 0; border: 2px solid var(--line-soft); }
  .formation-preview img { display: block; width: 100%; height: auto; }

  .lang-group { display: flex; gap: 8px; margin-left: auto; padding-right: 16px; }
  .lang-btn { height: 28px; padding: 0 12px; background: transparent; border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.55); font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all .15s;
    text-decoration: none; display: inline-flex; align-items: center; }
  .lang-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .lang-btn.active { background: var(--c-blue); border-color: var(--c-blue); color: var(--c-dark-blue); }

  footer { flex-shrink: 0; border-top: 2px solid var(--c-dark-blue);
    background: var(--c-dark-blue); padding: 14px 24px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 11px;
    color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; gap: 12px; }
  footer a { color: var(--c-blue); text-decoration: none; font-size: 11px; }
  footer a:hover { color: #fff; }

  /* breadcrumb */
  .breadcrumb { display: flex; gap: 6px; align-items: center; margin-bottom: 16px;
    font-size: 13px; color: var(--ink-3); font-weight: 400; }
  .breadcrumb a { color: var(--ink-3); text-decoration: none; }
  .breadcrumb a:hover { color: var(--c-blue); }
  .breadcrumb .sep { display: inline; background: none; height: auto; margin: 0;
    color: var(--ink-3); font-size: 11px; }

  /* lead paragraph */
  .lead { font-size: 19px; line-height: 1.6; color: var(--ink); font-weight: 400; margin-bottom: 28px; }

  /* FAQ */
  .faq-list { list-style: none; padding: 0; margin: 0; }
  .faq-item { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
  .faq-item:last-child { border-bottom: none; }
  .faq-q { font-family: var(--font-ui); font-weight: 700; font-size: 16px;
    color: var(--ink); margin-bottom: 8px; }
  .faq-a { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

  /* related formations */
  .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px; margin-top: 12px; }
  .related-card { display: flex; flex-direction: column; align-items: center;
    background: var(--bg); padding: 14px 10px 16px;
    text-decoration: none; color: inherit; transition: background .12s; }
  .related-card:hover { background: #e4edf8; }
  .related-card img { width: 100%; max-width: 110px; height: auto; margin-bottom: 8px; }
  .related-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 900;
    letter-spacing: 0.04em; color: var(--ink); text-transform: uppercase; text-align: center; }

  /* rich text */
  .rich-text { line-height: 1.65; color: var(--ink-2); font-size: 17px; }
  .rich-text strong { color: var(--ink); font-weight: 700; }

  /* outbound links (1x1sport hellblau) */
  .content-body a[href*="1x1sport"] { color: var(--c-blue); text-decoration: underline; text-decoration-color: var(--c-blue); text-underline-offset: 2px; }
  .content-body a[href*="1x1sport"]:hover { color: #3aaef5; }

  /* internal cross-links */
  .content-body a[href^="/formationen"], .content-body a[href^="/formations"] { color: var(--c-dark-blue); text-decoration: underline; text-decoration-color: var(--c-blue); text-underline-offset: 2px; }
  .content-body a[href^="/formationen"]:hover, .content-body a[href^="/formations"]:hover { color: var(--c-blue); }

  /* inline-style replacements */
  .preview-row { margin-bottom: 32px; }
  .preview-section { margin-bottom: 0; }
  .open-btn--inline { width: 100%; box-sizing: border-box; justify-content: center; margin: 0; font-size: 13px; padding: 10px 12px; }
  .open-btn--bottom { margin-top: 16px; }

  @media (max-width: 640px) {
    .page-header, .content-body { padding: 24px 20px; }
    .page-title { font-size: 36px; }
    .two-col { grid-template-columns: 1fr; gap: 24px; }
    .preview-row { grid-template-columns: 1fr; }
    .formation-preview { width: 140px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* index page */
  .fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 2px; margin-top: 2px; margin-bottom: 32px; }
  .fcard { display: flex; flex-direction: column; align-items: center; background: var(--paper); border: none; padding: 16px 12px 18px;
    text-decoration: none; color: inherit; transition: background .12s; }
  .fcard:hover { background: #f0f4ff; }
  .fcard-img { width: 100%; max-width: 140px; height: auto; margin-bottom: 10px; }
  .fcard-name { font-family: var(--font-display); font-size: 22px; font-weight: 900;
    letter-spacing: 0.04em; color: var(--ink); text-transform: uppercase; text-align: center; }
  .intro-text { font-size: 17px; color: var(--ink-2); line-height: 1.65; }
