* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
}

/* Fixer Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #222;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
}

/* Content unter Header */
main {
    margin-top: 80px;
    flex: 1;
    padding: 20px;
}

/*footer {
    background: #eee;
    padding: 15px;
    text-align: center;
}*/

/* Viewer */
.viewer {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.viewer img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.section {
    margin-top: 20px;
    margin-bottom: 50px;
    text-align: left;
}

.metrics {
    margin-top: 20px;
    padding: 15px;
    background: #f4f4f4;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 25px;
}


.pagination {
    margin-top: 20px;
    margin-bottom: 25px;
}

button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background: #333;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

button:disabled {
    background: #aaa;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        font-size: 14px;
    }

    button {
        padding: 8px 14px;
    }
}

.info-box {
    background-color: #004B6F;   /* gleiche Farbe wie Header */
    color: white;
    width: 100%;
    border-radius: 8px;   /* 👈 abrunden */
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px;

    font-size: 16px;
    line-height: 1.6;
}


/*ScaDS spezifische Styles*/
.wave-bottom {
        background: url("../images/wave_bottom.svg");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        height: 120px;
        top: -1px;
    }


    .wave-top-full {
        background: url("../images/wave_top.svg");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        height: 120px;
        top: 1px;
        width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);
    }

    .wave-middle {
        --tw-bg-opacity: 1;
        background-color: rgb(0, 75, 111);
        /*background-color: rgb(0 75 111 / var(--tw-bg-opacity, 1));*/
        width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);
    }

    .wave-middle a {
        color: white;
        text-decoration: none;
    }

    .wave-middle a:visited {
        color: white;
    }

    .wave-middle a:hover {
        text-decoration: underline;
    }    

    .wave-content {
        display: flex;
        justify-content: space-between;  /* 👈 verteilt links & rechts */
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 30px;                 /* 👈 Abstand zum Rand */
    }

    .footer-left {
        text-align: left;
    }

    .footer-right {
        text-align: left;
        margin-left: auto;
    }

    

 /*   .wave-content {
        margin: auto;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 1440px;
    }*/

    .w-1-3 {
        flex: 0 0 33.333333%;
    }

    .flex {
        display: flex;
    }

   .p-10 {
        padding: 40px;
    }

    .text-center {
        text-align: center;
    }

    .text-right {
        text-align: right;
    }
    .text-white {
        color: white;
    }


    .py-2 {
        padding-top: 8px;
        padding-bottom: 8px;    
    }

    /* Fixer Header */
    .main-header {
        position: fixed;
        top: 0;
        width: 100%;
        height: 120px;
        background-color: #004B6F; /* gleiche Farbe wie Footer */
        color: white;
        z-index: 1000;
    }

    /* Inhalt im Header */
    .header-content {
        max-width: 1440px;
        margin: 0 auto;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center; /* Titel zentriert */

        position: relative; /* wichtig für Logo */
    }

    /* Logo links fixieren */
    .logo {
        position: absolute;
        left: 10px;
        top: 60%;
        transform: translateY(-60%);   /* leicht höher als Mitte */
    }

    .logo img {
        height: 80px;
    }

    /* Titel */
    .title {
        font-size: 25px;
        font-weight: 500;
    }