/* 1. BITTER FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;700&display=swap');

/* GRUNDSTYLING */
* {
    box-sizing: border-box; /* WICHTIG: Verhindert, dass Padding das Layout sprengt */
}

body {
    font-family: 'Bitter', serif; 
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
     /* Verhindert seitliches Scrollen auf Mobilgeräten */
}

/* CONTAINER ZUR ZENTRIERUNG */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

/* A. HEADER STYLING */
header {
    background-color: #007bff;
    background-image: linear-gradient(to right, #00A2DF, #0072B3);
    color: white;
    padding: 10px 0;
    border-bottom: 5px solid #0056b3;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 75px;
    width: auto;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: center;
}

nav ul li {
    display: block;
    margin: 5px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 10px;
    display: block;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: #0056b3;
}

/* B. MAIN STYLING */
main section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#hero {
    background-color: #e9ecef;
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}


#content .container {
    text-align: left;
    padding: 10px 20px;
}

/* C. DATEN-TABELLE */
.daten-tabelle {
    width: 100%;
    border-collapse: collapse; 
    margin: 20px 0;
    table-layout: fixed; /* Hilft bei der Einhaltung der Breiten */
}

.daten-tabelle td {
    padding: 12px 8px; /* Etwas mehr Klickfläche */
    border: 1px solid #ccc;
    vertical-align: top; 
    word-wrap:break-word ; /* Verhindert, dass Text aus der Zelle ragt */
}

.daten-tabelle tr td:first-child {
    width: 25%; /* Etwas flexibler als 50/50 */
    font-weight: bold;
    background-color: #f9f9f9;
}

.daten-tabelle tr td:last-child {
    width: 75%;
    
}
#content .container {
    padding: 10px 20px;
    text-align: center;
}

#content .container p {
    
}
/* D. FOOTER STYLING */
footer {
    background-color: #333;
    background-image: linear-gradient(to right, #00A2DF, #0072B3);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

/* --- RESPONSIVE ANPASSUNGEN --- */

/* Mobil-Spezifisch (bis 767px) */
@media (max-width: 767px) {
    .container {
        width: 100%; /* Tabelle geht jetzt bis zum Rand */
        padding: 10px 0;
    }
    
    main section {
        padding: 20px 0;
        box-shadow: none; /* Flacheres Design auf Handy */
    }

    .daten-tabelle {
        border-left: none;  /* Wirkt moderner auf schmalen Screens */
        border-right: none;
    }

    .daten-tabelle tr td:last-child {
    width: 75%;
    text-align: left;
    font-size: small;
    
}
    .daten-tabelle tr td:first-child {
    font-size: small;
}

    
}

/* Desktop-Spezifisch (ab 768px) */
@media (min-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    header h1 {
        text-align: left;
        font-size: 2em;
    }

    nav ul {
        text-align: right;
        margin: 0;
    }

    nav ul li {
        display: inline-block;
        margin-left: 20px;
    }
}