
 /* Inter – lokal eingebunden */
@font-face {
    font-family: "Inter";
    src: url("fonts/inter/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter/Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Allgemein */

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Kopfbereich */
.header {
    height: 3.5cm;
    background-color: #1F2A44;
    color: #F5F2EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Titel */
.header-title {
    text-align: center;
}

.title-main {
    font-size: 2.0em; 
    font-weight: bold;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.title-sub {
    font-size: 1.4em;
    margin-top: 5px;
    font-weight: 500;
}

/* Header Innenlayout */
.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Logos */
.header-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Navigation */
.navigation {
    position: sticky;
    top: 0;
    height: 1cm;
    background-color: #3A4A6B;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.navigation a {
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #F5F2EB;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

a {
  color: #2F3E5C;
  text-decoration: none;  
}

.navigation a:hover,
.navigation a.active {
    color: #7C8EB3;
}

/* Inhalt */
/* Content Rows */

main.content {
    background-color: #F5F2EB;
    min-height: calc(100vh - 200px);
}

.content {
    padding: 40px;
    background-color: #F5F2EB;
    color: #2F3E5C;
    margin-top: 0;
}

.content-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

/* Reihenfolge umkehren */
.row-reverse {
    flex-direction: row-reverse;
}

/* Text */
.content-row .text {
    flex: 1;
}

.content-row h2 {
    margin-top: 0;
}

/* Bild + Bildunterschrift */
.content-row figure {
    flex: 1;
    margin: 0;
    text-align: center;
}

.content-row img {
    max-width: 100%;
    height: auto;
}

.content-row figcaption {
    margin-top: 8px;
    font-size: 0.9em;
    color: #2F3E5C;
}

/* Training Tabelle */
.training-table {
    border-collapse: collapse;
    margin-top: 15px;
    color: #2F3E5C;
}

.training-table td {
    padding: 6px 12px;
    vertical-align: top;
}

/* Linke Spalte der Tabelle */
.training-table td:first-child {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

/* Rechte Spalte der Tabelle */
.training-table td:last-child {
    text-align: left;
}


/* Impressum Tabelle */
.impressum-table {
    border-collapse: collapse;
    margin-top: 30px;
    color: #2F3E5C;
}

.impressum-table td {
    padding: 6px 12px;
    vertical-align: top;
}

/* Linke Spalte */
.impressum-table td:first-child {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

/* Rechte Spalte */
.impressum-table td:last-child {
    text-align: left;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 1cm;
    background-color: #2F3E5C;
    color: #F5F2EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
}


.footer-center {
    color: #F5F2EB;
    font-size: 0.9em;
    text-align: center;
    flex: 1; /* nimmt Platz zwischen den Links ein */
}

.footer a {
    color: #F5F2EB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover,
.footer a.active {
    color: #7C8EB3;
}

/* =========================
   Mobile Ansicht
   ========================= */
@media (max-width: 768px) {

    /* Header etwas kompakter */
    .header {
        height: auto;
        padding: 15px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .header-logo img {
        width: 60px;
        height: 60px;
    }

    .title-main {
        font-size: 1.8em;
    }

    .title-sub {
        font-size: 1.1em;
    }

    /* Navigation */
    .navigation {
        height: auto;
        padding: 10px 0;
    }

    .navigation ul {
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Content: Spalten untereinander */
    .content-row {
        flex-direction: column;
        gap: 20px;
    }

    .row-reverse {
        flex-direction: column;
    }

    /* Tabellen besser lesbar */
    .training-table td,
    .impressum-table td {
        padding: 6px 8px;
        font-size: 0.95em;
    }

    /* Footer untereinander */
    .footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-center {
        order: 3;
    }
}