/* ===================================
   Designsystem & Variablen (v2)
   =================================== */

:root {
    /* Farbpalette - Deep Marine & Neon */
    --color-primary: #051937;
    /* Tiefes Marineblau */
    --color-primary-light: #004d7a;
    /* Helleres Marineblau für Abstufungen */
    --color-accent: #00E5FF;
    /* Neon-Türkis (Helles Wasser) */
    --color-accent-hover: #72FFFF;
    /* Hover für Akzent */

    --color-text-main: #FFFFFF;
    /* Weißer Text auf dunklem Grund */
    --color-text-dark: #051937;
    /* Dunkler Text auf hellem Grund */
    --color-text-muted: #576574;
    /* Dunklerer Text für besseren Kontrast (WCAG AA) */

    --color-bg-light: #F4F7FA;
    /* Sehr helles Blau-Grau für helle Sektionen */
    --color-bg-white: #FFFFFF;

    /* Typografie */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Generell */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 15px 35px rgba(5, 25, 55, 0.1);

    --container-width: 1200px;
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-white);
}

/* Fokus-Styles für Barrierefreiheit */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.mobile-toggle:focus-visible,
.close-button:focus-visible {
    outline: 2px solid var(--color-primary);
    border-radius: 4px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    opacity: 0.8;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   Komponenten (Buttons, etc.)
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

/* Kuli-Strich unter Headlines (optional) */
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    position: fixed;
    /* Über Hero-Image */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    /* Abstand verringert für kompakten Look */
}

.logo img {
    height: 5.5rem;
    /* Vergrößert für mehr Präsenz */
    width: auto;
    display: block;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    /* Kompakt */
    align-items: flex-start;
}

.logo-title {
    font-size: 2rem;
    font-weight: 800;
    /* Extra Fett */
    color: var(--color-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary-light);
    /* Helles Marineblau */
    font-family: var(--font-body);
    text-transform: uppercase;
    /* GROSSBUCHSTABEN */
    letter-spacing: 0.05em;
    /* Leicht gesperrt für Lesbarkeit */
    margin-top: 0.2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
    /* Text bleibt dunkel */
    background-color: #E0F7FA;
    /* Sehr helles Türkis als Hintergrund (passend zum Wasser-Thema) */
    padding: 0.5rem 1rem;
    /* Etwas "Luft" um den Text */
    border-radius: 20px;
    /* Abgerundete "Pillen"-Form */
    text-decoration: none;
    /* Unterstreichung weg, da wir jetzt einen Hintergrund haben */
}

/* CTA Button im Menü */
.nav-menu .nav-cta {
    background-color: var(--color-accent);
    color: var(--color-primary) !important;
    /* Force color to override default nav link color on hover */
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    font-weight: 700;
    margin-left: 0.5rem;
    /* Little separation */
}

.nav-menu .nav-cta:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
    color: var(--color-primary) !important;
}

/* ===================================
   Modal Styles
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(3, 15, 33, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #FFFFFF;
    margin: auto;
    padding: 2.2rem;
    width: 100%;
    max-width: 580px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(5, 25, 55, 0.35);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-button {
    color: #94A3B8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    background: #F1F5F9;
    border: none;
}

.close-button:hover,
.close-button:focus {
    color: var(--color-primary);
    background: #E2E8F0;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--color-primary);
    margin-bottom: 0.3rem;
    font-size: 1.8rem;
    padding-right: 2rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.4rem;
    line-height: 1.45;
}

/* Umschalter für Teilnehmer-Typ */
.form-toggle-wrapper {
    margin-bottom: 1.25rem;
}

.form-toggle-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.form-toggle {
    display: flex;
    background: #EDF2F7;
    padding: 4px;
    border-radius: 50px;
    gap: 4px;
    border: 1px solid #E2E8F0;
}

.toggle-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    user-select: none;
    line-height: 1.2;
}

.toggle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.toggle-option:hover {
    background: rgba(0, 229, 255, 0.15);
}

.toggle-option.active {
    background: var(--color-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(5, 25, 55, 0.2);
}

/* Sektions-Gruppierung im Formular */
.form-section-group {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 1.1rem;
    margin-bottom: 1rem;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed #CBD5E1;
}

.form-section-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.form-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary-light);
}

.form-row {
    display: flex;
    gap: 0.8rem;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.label-optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: #64748B;
}

.form-group {
    margin-bottom: 0.9rem;
    text-align: left;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background-color: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.privacy-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
}

.privacy-group input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.privacy-group label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-dark);
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.privacy-group a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.privacy-group a:hover {
    color: var(--color-accent);
}

.btn-submit-email {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.5rem 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-toggle {
        flex-direction: column;
        border-radius: var(--radius-md);
    }
    
    .toggle-option {
        border-radius: var(--radius-sm);
        padding: 0.6rem;
    }
}

/* ===================================
   Schwimmregeln & Info-Boxen
   =================================== */

.training-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.training-info-box {
    text-align: center;
    background: var(--color-bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.training-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-bottom-color: var(--color-accent);
}

.training-info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.training-info-box h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.training-info-box p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
    max-width: 440px;
}

.rules-box-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
    width: 100%;
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
    padding: 0.75rem 1.35rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.btn-rules-read {
    padding: 0.75rem 1.35rem;
    font-size: 0.85rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.cta-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Modal für Schwimmregeln */
.modal-content.modal-rules {
    max-width: 760px;
}

.rules-badge-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    background: #E0F7FA;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.rules-intro {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.rules-section-heading {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary-light);
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 0.4rem;
    margin: 1.5rem 0 1rem;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rules-list li,
.rules-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--color-text-dark);
    background: #F8FAFC;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid #EEF2F6;
}

.rule-num {
    background: #E0F2FE;
    color: var(--color-primary-light);
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.consequences-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid #E2E8F0;
}

.consequences-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.consequences-table th {
    background: #F1F5F9;
    color: var(--color-primary);
    font-weight: 700;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #CBD5E1;
}

.consequences-table td {
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: top;
    line-height: 1.4;
}

.consequences-table tr:last-child td {
    border-bottom: none;
}

.level-yellow {
    color: #B45309;
    font-weight: 700;
}

.level-red {
    color: #B91C1C;
    font-weight: 700;
}

.level-severe {
    color: #7F1D1D;
    font-weight: 700;
}

.level-club {
    color: var(--color-primary);
    font-weight: 700;
}

.rules-notice-box {
    background: #F0F9FF;
    border-left: 4px solid var(--color-primary-light);
    padding: 1rem 1.1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 1.25rem;
}

.rules-notice-box h4 {
    color: var(--color-primary-light);
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.rules-notice-box p {
    font-size: 0.88rem;
    margin-bottom: 0;
    opacity: 0.95;
    line-height: 1.45;
}

.rules-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
    margin-top: 1rem;
}

.mobile-toggle {
    display: none;
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(5, 25, 55, 0.9) 0%, rgba(0, 77, 122, 0.8) 100%),
        url('images/hero_bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-text-main);
    padding-top: 12rem;
    /* Mehr Platz oben, um Header auszugleichen */
    padding-bottom: 12rem;
    /* Wichtig: Viel Platz unten lassen, damit Buttons nicht in die Welle ragen */
    position: relative;
    /* Wichtig für die Welle */
}

/* Hero Content Styles */
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.slogan-line {
    display: block;
    /* Macht jede Zeile eigenständig */
}

/* Treppen-Effekt */
.line-2 {
    margin-left: 2rem;
}

.line-3 {
    margin-left: 4rem;
}

/* Typografie-Variationen */
.fw-light {
    font-weight: 300;
    /* Dünnes "Gemeinsam" */
    opacity: 0.9;
}

.highlight {
    font-weight: 800;
    /* Fettes Schlagwort */
    color: var(--color-accent);
    /* Neon-Türkis */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.accent-phrase {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Welle am Boden des Hero (Harmonischer Übergang) */
.hero-wave {
    position: absolute;
    bottom: -1px;
    /* -1px verhindert weiße Blitzer/Lücken */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 80px;
    /* Etwas höher für weicheren Look */
}

.hero-wave path {
    fill: var(--color-bg-white);
    /* Exakt die Farbe der nächsten Sektion */
}

/* ===================================
   Kurzvorstellung (About)
   =================================== */

.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content-left {
    flex: 1.2;
}

.about-image-right {
    flex: 0.8;
}

.about-image-right img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
        gap: 2rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

/* ===================================
   Trainingsangebote
   =================================== */

.training {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.training-card {
    background: var(--color-bg-white);
    padding: 0;
    /* Kein Padding mehr, damit Bild randlos ist */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
    overflow: hidden;
    /* Damit Bild beim Zoomen nicht übersteht */
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-bottom-color: var(--color-accent);
}

.training-card:hover .card-image img {
    transform: scale(1.05);
    /* Leichter Zoom */
}

.card-image {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Füllt den restlichen Platz */
}

.card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Accordion Styles */
.training-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.training-card.expanded .training-details {
    max-height: 500px;
    /* Genug Platz für den Inhalt */
    opacity: 1;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    margin-top: 1.5rem;
}

.training-card.expanded .card-footer {
    display: flex;
    margin-top: 1rem;
}

.training-details p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.training-details ul {
    list-style: none;
    /* Standard-Bullets entfernen */
    margin-left: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0;
}

.training-details li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.training-details li::before {
    content: '✔';
    /* Modernes Häkchen */
    color: var(--color-accent);
    /* In Neon-Türkis */
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1.6;
    /* Passend zur Zeilenhöhe */
}

/* Clickable News Card */
.clickable-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.clickable-card .read-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.clickable-card:hover .read-more {
    color: var(--color-accent);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.training-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.training-time {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 229, 255, 0.05); /* Sehr dezenter Akzent-Hintergrund */
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.time-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.day-badge {
    background: var(--color-primary);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .training-time {
        flex-direction: column;
        align-items: flex-start;
    }
}

.target-group {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.training-card[data-type="advanced"] .target-group {
    background-color: var(--color-primary-light);
}

/* ===================================
   Werte (Values)
   =================================== */

.values {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    color: var(--color-text-main);
    text-align: center;
}

.values h2 {
    color: var(--color-text-main);
}

.values p {
    color: rgba(255, 255, 255, 0.8);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* ===================================
   Aktuelles (News)
   =================================== */

.news {
    padding: var(--spacing-xl) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--color-accent);
    /* Neon-Farbe für Datum */
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* ===================================
   CTA / Mitglied werden
   =================================== */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: #030F21;
    /* Sehr dunkles Blau */
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.85);
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

.ai-disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1050px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Mobile Logo Anpassung */
    .logo-text-container {
        display: none;
        /* Text ausblenden auf Handy */
    }

    .logo {
        padding-left: 0;
        min-height: auto;
    }

    .logo img {
        height: 3.5rem;
        /* Angenehme Größe im Header */
        width: auto;
        position: static;
        /* Kein Overhang, einfach sauber im Balken */
        top: 0;
        z-index: 1010;
    }
}