html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Body als Spalte aufbauen */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;        /* gesamte Fensterhöhe */
}

/* Header oben – Footer unten */
main {
    flex: 1;                  /* füllt den restlichen Platz */
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;      /* horizontal zentrieren */
    gap: 10px;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center; /* vertikal ausrichten */
    gap: 12px;
    height: 80px;                 /* Gesamt-Headerhöhe */
    overflow: hidden;             /* verhindert Überlauf */
    justify-content: center;  /* zentriert horizontal */
}

.weltkugel {
    height: 100%;
    width: auto;
}

/* Logo separat skalieren */
.right-block > .logo {
    height: 28px;      /* oder 24px / 30px – nach Gefühl anpassen */
    width: auto;
}

.right-block {
    display: flex;
    flex-direction: column;
}

.subtitle {
    font-size: 16px;
    color: #000;
}

nav a {
    margin-right: 1rem;
    text-decoration: none;
}
nav a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    margin-top: 60px;
    color: #111;
    text-align: center;
}

footer .footer-nav a {
    color: #111;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
}

footer .footer-nav a:hover {
    text-decoration: underline;
}

.static-page,
.article-detail {
    max-width: 800px;
    margin: 40px auto;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .logo-container {
        display: none;
    }

    .mobile-logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 20px;
    }

    .logo {
        max-height: 100%;
    }

    .article-list {
        padding: 20px;
    }

    .article-card img {
        width: 100%;
    }
}

@media (min-width: 600px) {
    .mobile-logo-container {
        display: none;
    }

    main {
        max-width: 720px;
    }
}
