/* Ausgelagerte Seitenstyles. Quelle: ehemalige <style>-Bloecke aus HTML-Dateien. */

/* index.html */
html, body {
      height: 100%;
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
    }

    .skip-link {
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 3000;
      transform: translateY(-140%);
      border-radius: 6px;
      background: var(--color-surface);
      color: var(--color-brand);
      font-weight: 700;
      padding: 10px 14px;
      text-decoration: none;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
      transition: transform 0.2s ease;
    }

    .skip-link:focus {
      transform: translateY(0);
      outline: 3px solid var(--color-brand);
      outline-offset: 2px;
    }

    .navbar {
      background-color: var(--color-brand);
      color: var(--color-surface);
      padding: 20px;
    }

    .navbar-container {
      display: flex;
      align-items: center;
      max-width: 1200px;
      margin: auto;
      justify-content: space-between;
    }

    .navbar-title {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 0;
      font-weight: bold;
      font-size: 1.5rem;
    }

    .navbar-title img {
      display: block;
      height: 40px;
      width: 40px;
    }

    /* Hamburger Icon */
    .navbar-toggle {
      background: transparent;
      border: 0;
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 0;
      width: 32px;
      height: 32px;
      justify-content: center;
      align-items: center;
    }
    .navbar-toggle span {
      height: 4px;
      width: 24px;
      background: var(--color-surface);
      margin: 3px 0;
      border-radius: 2px;
      display: block;
      transition: 0.3s;
    }

    header {
      background-color: var(--color-surface);
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav {
      max-width: 1200px;
      margin: auto;
      padding: 10px 0;
      font-weight: bold;
    }

    nav ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      list-style: none;
      padding: 0;
      margin: 0;
      background-color: transparent;
      transition: max-height 0.3s;
    }

    nav li {
      margin: 10px;
    }

    nav a {
      color: var(--color-text-strong);
      text-decoration: none;
      font-size: 20px;
    }

    nav a:focus-visible,
    .footer-links a:focus-visible,
    .navbar-toggle:focus-visible {
      outline: 3px solid var(--color-brand);
      outline-offset: 4px;
      border-radius: 4px;
    }

    nav a.active {
      font-weight: bold;
      color: var(--color-brand);
      text-decoration: underline;
      font-size: 20px;
    }

    .info-banner {
      background-color: var(--color-brand-tint);
      border-left: 6px solid var(--color-brand);
      padding: 16px 20px;
      margin: 20px auto;
      max-width: 1200px;
      border-radius: 8px;
      font-family: Arial, sans-serif;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .info-label {
      display: block;
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 8px;
      color: var(--color-brand);
    }

    .info-text {
      color: var(--color-text);
      font-size: 16px;
      line-height: 1.6;
    }

    .info-text a {
      color: var(--color-brand);
      text-decoration: underline;
      font-weight: bold;
    }

    .site-footer {
      background-color: var(--color-brand);
      color: var(--color-surface);
      padding: 2rem 1rem;
      font-size: 0.95rem;
      border-top: 4px solid transparent;
      text-align: center;
    }

    .footer-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .footer-contact p {
      margin: 0.3rem 0;
    }

    .footer-links {
      margin: 1rem 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .footer-links a {
      color: var(--color-footer-link);
      text-decoration: none;
      margin: 0 0.5rem;
      font-weight: 500;
    }

    .footer-links a:hover {
      text-decoration: underline;
      color: var(--color-surface);
    }

    .footer-links a.active {
      color: var(--color-surface) !important;
      text-decoration: underline;
      font-weight: 700;
    }

    .footer-copy {
      font-size: 0.85rem;
      color: var(--color-surface-subtle);
      margin-top: 1rem;
    }

    .social-icons {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .social-icons img {
      width: 24px;
      height: 24px;
      transition: transform 0.2s;
    }

    .social-icons img:hover {
      transform: scale(1.12);
    }

    /* Mobile Optimierung */
    @media (max-width: 768px) {
      .navbar-container {
        flex-direction: row;
        justify-content: space-between;
      }
      .navbar-toggle {
        display: flex;
      }
      header nav ul {
        flex-direction: column;
        align-items: flex-start;
        background: var(--color-surface);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        margin: 0;
        padding: 0;
        z-index: 2000;
        transition: max-height 0.3s ease;
      }
      header nav ul.open {
        max-height: 100vh;
        padding: 10px 0;
        transition: max-height 0.3s ease;
      }
      nav li {
        margin: 10px 20px;
        width: 100%;
      }
      nav a {
        display: block;
        width: 100%;
        padding: 8px 0;
      }
      .site-footer {
        font-size: 1rem;
        padding: 2rem 1rem;
      }
      .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
      }
      .footer-links a {
        margin: 0;
        font-size: 1.05rem;
      }
      .footer-copy {
        font-size: 0.9rem;
      }
      .info-banner {
        padding: 12px 15px;
        margin: 15px 10px;
        border-left-width: 4px;
        max-width: 100%;
      }
      .info-label {
        font-size: 16px;
      }
      .info-text {
        font-size: 14px;
        line-height: 1.4;
      }
      .navbar-title {
      font-size: 20px;
      }

      .social-icons {
        width: auto;
        margin: 5px 20px;
      }

      .social-icons a {
        width: auto;
        padding: 0;
      }
    }

/* Utility-Klassen statt Inline-CSS */
.text-brand {
  color: var(--color-brand);
}

.text-normal {
  color: var(--color-text);
}

.svg-block {
  display: block;
}

.embed-borderless {
  border: 0;
}

.map-title {
  text-align: center;
  color: var(--color-brand);
  font-size: 2rem;
  margin-bottom: 10px;
}

.map-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 20px;
}

.map-frame {
  border: 0;
  display: block;
}

.map-credit {
  font-size: 10px;
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 5px;
}

.trainingsplan-embed {
  max-width: 800px;
  margin: 0 auto;
}
