/* Grundlegende Stile */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333333;
    margin: 0;
    padding: 0;
}

/* Fixierter Header */
header {
    background-color: #ffffff;
    color: #0073E6;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Leitfoto */
.leitfoto-container {
    position: relative;
    text-align: center;
    width: 100%;
    background-color: #ffffff;
}

.leitfoto {
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Fixierte Navigationsleiste */
nav.fixed-nav {
    background-color: #0073E6;
    color: white;
    padding: 10px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navigation f�r die Zeilen */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.nav-list.second-line {
    justify-content: flex-start; /* Links ausrichten, Schaltfl�chen im Anschluss */
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    color: #6BAA75;
}

/* Schaltfl�chen f�r Textgr��ensteuerung */
.text-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}

.text-controls button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    font-size: 16px;
    padding: 2px 6px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 33%; /* Jede Schaltfl�che nimmt ein Drittel des Platzes ein */
    text-align: center;
}

.text-controls button:hover {
    background-color: white;
    color: #0073E6;
}

.text-controls {
    width: 140px; /* Gesamtbreite der Schaltfl�chen = Breite von "Rechtsbegriffe" */
}

/* Container f�r Hauptinhalt */
.container {
    max-width: 1200px;
    margin: 180px auto 20px;
    padding: 20px;
    text-align: left;
}

/* Hauptinhalt */
main {
    background-color: white;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main h2 {
    color: #0073E6;
    font-size: 28px;
}

main h3 {
    color: #008080;
    font-size: 24px;
    margin-top: 20px;
}

main p {
    font-size: 18px;
    line-height: 1.6;
}

/* Fu�zeile */
footer {
    background-color: #0073E6;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Responsives Design */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
    }

    .text-controls {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    nav ul li a {
        font-size: 16px;
    }

    main h2 {
        font-size: 24px;
    }

    main p {
        font-size: 16px;
    }
}

h1 {
    font-size: 2em;              /* Größe der H1-Texte */
    font-family: Arial, sans-serif; /* Gleiche Schrift wie Titel */
    font-weight: normal;         /* NICHT fett – dadurch „schmal“ */
    color:#0073E6 ;              /* Schwarz oder anpassen */
    margin-top: 1em;             /* Abstand nach oben */
    margin-bottom: 0.5em;        /* Abstand nach unten */
}

 h1 {
    font-size: 2em;
    font-family: Arial, sans-serif;
    font-weight: normal;
    color: #0073E6;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.website-titel {
    font-size: 2.5em;
    font-family: Arial, sans-serif;
    color: #0073E6;
    font-weight: normal;
    text-align: center;
    margin: 0.5em 0;
}
