body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background-color: #cee2f0;
    color: black;
}

/* -------------------- KOPFZEILE -------------------- */

.hero-background-box {
    /* Pfad zu deinem Bild und ein dunkler Schleier (linear-gradient), damit weißer Text lesbar bleibt */
    background-image: url('images/top.jpg');

    /* Sorgt dafür, dass das Bild den Kasten perfekt ausfüllt und zentriert ist */
    background-size: cover;
    background-position: center;

    /* Flexbox, um den Text exakt in der Mitte der Box zu zentrieren */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text-content {
    text-align: center;
    color: white; /* Weißer Text hebt sich perfekt vom dunklen Hintergrund ab */
}

header, nav {
    background-color: #2b5170;
    padding: 0 10%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav li {
    float: left;
}

nav li a, .dropbtn {
    display: inline-block;
    font-size: clamp(12px, 1.3vw, 16px);
    color: white;
    text-align: center;
    padding: 5px clamp(5px, 1.3vw, 20px);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

nav li a.active {
    color: #F64E1D;
    background-color: #3c729e;
}

nav li a:hover {
    color: #F64E1D;
}

nav li.dropdown {
    display: inline-block;
}

nav li i {
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3c729e;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 5px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: color 0.2s ease-in-out;
}

.dropdown-content a:hover {
    color: #F64E1D;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-flag {
    width: auto;            /* Breite der Flagge - passt sich perfekt der Schriftgröße an */
    height: clamp(18px, 1.93vw, 25px);
    aspect-ratio: 1.68 / 1;
    object-fit: cover;
}

/* -------------------- FUßZEILE -------------------- */

footer {
    background-color: #2b5170;
    color: white;
    padding: 40px 10%;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: #F64E1D;
}

@media screen and (max-width: 1024px) {
    header, nav {
        padding: 0 2%;
    }

    footer {
        padding: 40px 2%;
    }
}

/* -------------------- SCHRIFT -------------------- */

h1 {
    font-size: clamp(15px, 2.5vw, 50px);
    font-weight: 700;
}

h2 {
    font-size: clamp(20px, 2.5vw, 35px);
    font-weight: 700;
}

h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
}

h4 {
    font-size: 16px;
    font-weight: 400;
}

h5 {
    font-size: 16px;
    font-weight: 300;
}

h6 {
    font-size: 10px;
    font-weight: 300;
}

p {
    font-size: clamp(12px, 1.3vw, 16px);
    margin: 5px 0;
}

/* -------------------- SONSTIGES -------------------- */

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}