/* ==========================================================================
   1. DESIGN-VARIABLEN & GLOBALE STYLES
   ========================================================================== */
:root {
    --bg-dark: #333333;
    --bg-box: #000000;
    --primary-orange: #ff6900;
    --text-light: #ffffff;
    --text-muted: #999999;
    --font-main: 'Segoe UI', Arial, sans-serif;
    --max-width-content: 928px;
    --max-width-grid: 950px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Medien-Elemente */
img {
    border: 0;
    display: block;
    width: 100%;
    height: auto;
}

.about{
width: 301px;
float:right;
}
img.about{
float:right;
}
.verlauf-winkel {
  background-image: linear-gradient(45deg, purple, yellow);
}
audio {
    width: 100%;
    height: 32px;
    background-color: #f1f3f4;
}

/* ==========================================================================
   2. TYPOGRAFIE
   ========================================================================== */
h1 {
    color: var(--primary-orange);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

h2 {
    font-size: 0.8rem;
    font-weight: 400;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
header {
    width: 100%;
    max-width: var(--max-width-content);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 6px;
    margin: 20px 10px 6px;
    background-color: var(--bg-dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text-light);
}

nav a.active {
    color: var(--primary-orange);
}

/* ==========================================================================
   4. CONTENT-GRID & BOXEN
   ========================================================================== */
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 301px));
    justify-content: center;
    width: 100%;
    max-width: var(--max-width-grid);
    gap: 12px;
    padding: 6px;

}

article {
    background-color: var(--bg-box);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
}

.text {
    font-size: 0.68rem;
    font-weight: 300;
    line-height: 1.5;
    padding: 10px 13px 18px;
    flex-grow: 1; /* Drückt den Audio-Player nach unten */
}
a{ color:#ffffff; }
a:hover{ color: var(--primary-orange);}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 0 10px 10px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ==========================================================================
   6. MOBILE
   ========================================================================== */

/* Responsive Anpassung für kleinere Bildschirme */
    @media (max-width: 800px) {

    header {
    gap: 2px;
    margin: 8px 12px 6px 12px;
}
header {
        flex-direction: column;  /* Stapelt die 2 Elemente untereinander */
        justify-content: center; /* Zentriert horizontal (falls nötig) */
        align-items: center;     /* Zentriert beide Elemente mittig */
        text-align: center;      /* Zentriert Texte/Inhalte innerhalb der Elemente */
    }

    nav ul {
        justify-content: center; /* Zentriert die Menüpunkte im Nav-Element */
        padding: 0;              /* Entfernt eventuelle Standard-Abstände */
    }

}

