body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--color-background);
    color: var(--color-text);
    text-align: center;
}

header {
    background: var(--color-primary);
    padding: 30px;
}

header h1 {
    margin: 0;
    font-size: 42px;
}

header p {
    margin-top: 10px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px;
}

.button {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    background: var(--color-primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.button:hover {
    background: var(--color-secondary);
}

footer {
    background: #001219;
    padding: 20px;
    margin-top: 40px;
}
/* ========================= */
/* Navigationsleiste         */
/* ========================= */

nav {
    background: #005b96;
    padding: 15px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
}

nav a:hover {
    color: #ffd700;
}
/* ============================ */
/* Titelbild                    */
/* ============================ */

.hero {
    position: relative;
}

.hero img[src*="basel-muenster.jpeg"],
.hero img[src*="basel-moderne-stadt.jpeg"],
.hero img[src*="basel-muenster-tram-schiff.jpeg"] {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    margin: 0 auto;
}


.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0,0,0,0.45);
    padding: 10px 20px;
    border-radius: 12px;
}

.hero-text h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 22px;
}
/* ============================= */
/* Neuer moderner Header          */
/* ============================= */

.header-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex: 1;
    text-align: center;
    padding-left: 120px;
}

.live-info {
    text-align: right;
    font-size: 18px;
}

.live-info span {
    display: block;
}
/* ============================= */
/* Moderner Header               */
/* ============================= */

header {
    background: linear-gradient(90deg, #0077c8, #0099e6);
    padding: 20px 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.header-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 1px;
}

.live-info {
    text-align: right;
    font-size: 16px;
    line-height: 1.5;
    padding-right: 25px;
}

.live-info span {
    display: block;
}
/* ========================= */
/* Laufband                  */
/* ========================= */

.laufband {
    max-width: 800px;
    margin: 10px auto;
    padding: 8px 15px;
    background: #0b2746;
    border-radius: 10px;
    overflow: hidden;
}

.lauftext {
    color: white;
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
}
.lauftext {
    animation: lauftext 25s linear infinite;

}
@keyframes lauftext {
    0% {
        transform: translateX(120%);
    }

    92% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(-120%);
    }
}
/* ========================= */
/* Wetter-Dashboard          */
/* ========================= */

.dashboard {
    background: #07192f;
    padding: 40px 20px;
    text-align: center;
}

.dashboard h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 34px;
}

.karten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.karte {
    background: #0b2746;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    transition: 0.3s;
}

.karte:hover {
    transform: translateY(-6px);
}

.karte h3 {
    color: #46d9ff;
    margin-bottom: 15px;
}

.karte p {
    color: white;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin: 10px 0;
}
/* ========================= */
/* Kurzprognose              */
/* ========================= */

.vorhersage {
    background: #07192f;
    padding: 40px 20px;
}

.vorhersage h2 {
    color: white;
    font-size: 34px;
    margin-bottom: 30px;
}

.vorhersage-boxen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.tag {
    background: #0b2746;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.tag h3 {
    color: #46d9ff;
    margin-bottom: 15px;
}

.tag p {
    color: white;
    font-size: 18px;
}
/* ========================= */
/* Stationsstatus            */
/* ========================= */

.status {
    background: #0b2746;
    max-width: 450px;
    margin: 40px auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.status h2 {
    color: #46d9ff;
    margin-bottom: 20px;
    font-size: 32px;
}

.status p {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0;
}

.status strong {
    color: #46d9ff;
}
/* ========================= */
/* Tagesrekorde              */
/* ========================= */

.rekorde {
    background: #07192f;
    padding: 40px 20px;
}

.rekorde h2 {
    color: white;
    font-size: 34px;
    margin-bottom: 30px;
}

.rekord-boxen {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: auto;
}

.rekord {
    background: #0b2746;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.rekord h3 {
    color: #46d9ff;
    margin-bottom: 15px;
}

.rekord p {
    color: white;
    font-size: 30px;
    font-weight: bold;
}
/* ========================= */
/* Kontaktseite              */
/* ========================= */

.kontakt-block {
    background: #0b2746;
    max-width: 900px;
    margin: 30px auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    text-align: left;
}
.kontakt-block h3 {
    color: #46d9ff;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}
.kontakt-block p {
    color: white;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.kontakt-block strong {
    color: #46d9ff;
    font-weight: bold;
}
.kontakt-block a {
    color: #46d9ff;
    text-decoration: none;
    font-weight: bold;
}

.kontakt-block a:hover {
    color: #7cecff;
    text-decoration: underline;
}
.kontakt-block br {
    display: block;
    margin-bottom: 8px;
    content: "";
}
.werbung-block {
    background: #0b2746;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    text-align: center;
}
/* ========================= */
/* Werbung Startseite        */
/* ========================= */

.werbung-startseite {
    background: #07192f;
    padding: 30px 20px;
    text-align: center;
}

.werbung-startseite h2 {
    color: white;
    font-size: 34px;
    margin-bottom: 25px;
}

.werbung-bronze {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.werbung-partner {
    display: none;
    background: #0b2746;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}
.werbung-partner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.werbung-partner.aktiv {
    display: block;
}

.werbung-partner h3 {
    color: #46d9ff;
    margin-bottom: 10px;
}

.werbung-partner p {
    color: white;
    font-size: 18px;
}
/* ========================================= */
/* Responsive Design                         */
/* ========================================= */

@media (max-width: 768px) {nav a {
    display: block;
    margin: 10px 0;
    font-size: 20px;
}

    .header-links {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo {
        font-size: 28px;
        margin-bottom: 15px;
        text-align: center;
    }

    .live-info {
        text-align: center;
        padding-right: 0;
        font-size: 15px;
        line-height: 1.4;
    
    }


}
/* =========================================
   Live-Wetter – Wetterprognose Schweiz
   ========================================= */

.prognose-tage {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 25px auto;
}

.prognose-tag {
    background: rgba(0, 114, 206, 0.35);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
}

.prognose-tag h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
/* ========================= */
/* Galerie                   */
/* ========================= */

.galerie-raster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 30px auto;
}

.galerie-bild {
    background: #0b2746;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.galerie-bild img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
