* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;

    background: #f4f5f6;
    color: #161616;
}


/* =================================
   KOPFBEREICH
   ================================= */

.main-header {
    background: #f4f5f6;
    border-bottom: none;
}

.header-inner {
    width: 100%;
    max-width: none;

    margin: 0;

    min-height: 110px;
    padding: 10px 750px 10px 25px;

    display: flex;
    align-items: center;

    position: relative;
}

.header-slogan {
    position: absolute;

    top: 76px;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;
    margin: 0;

    text-align: center;

    font-size: 30px;
    font-weight: 500;

    color: #555555;

    white-space: nowrap;
}

/* =================================
   LOGO
   ================================= */

.main-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

/* =================================
   NAVIGATION
   ================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-left: auto;
}

.nav-link {
    color: #222222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.nav-link:hover {
    color: #777777;
}


/* =================================
   ANMELDEN
   ================================= */

.login-button {
    padding: 12px 22px;

    background: #111111;
    color: #ffffff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 15px;
    font-weight: bold;
}

.login-button:hover {
    background: #333333;
}


/* =================================
   SMARTPHONE
   ================================= */

@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;
        padding: 15px;
    }

        .main-nav {
        margin-top: 10px;
        gap: 15px;

        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =================================
   STARTSEITE
   ================================= */

.welcome {
    min-height: 500px;

    padding: 60px 25px 30px;

    text-align: center;

    background: #f4f5f6;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
}
.welcome-note {
    margin-top: 18px;

    color: #888888;
    font-size: 17px;
}


/* Smartphone */

@media (max-width: 700px) {

    .welcome {
        min-height: 500px;
        padding: 75px 20px;
    }

    .welcome h1 {
        font-size: 40px;
    }

    .welcome-text {
        font-size: 18px;
    }
}

/* =================================
   FUSSZEILE
   ================================= */

footer {
    padding: 30px;

    text-align: center;

    color: #777777;

    font-size: 14px;
}

footer p {
    margin: 0;
}

footer a {
    color: #777777;
    text-decoration: none;
}

footer a:hover {
    color: #333333;
}

.footer-dot {
    margin: 0 8px;
    color: #999999;
}


/* =================================
   PORTAL-BLÖCKE
   ================================= */

.portal-section {
    max-width: 1100px;
    margin: 30px auto 80px;
    padding: 0 25px;

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.portal-card {
    min-height: 190px;

    padding: 35px 40px;

    display: flex;
    align-items: center;
    gap: 30px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 16px;

    color: #171717;
    text-decoration: none;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.portal-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.10);
}

.portal-icon {
    width: 75px;
    height: 75px;

    flex: 0 0 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111111;
    color: #ffffff;

    border-radius: 16px;

    font-size: 40px;
    font-weight: bold;
}.portal-content h2 {
    margin: 0 0 10px;

    font-size: 26px;
}

.portal-content p {
    margin: 0 0 18px;

    color: #666666;

    font-size: 17px;
    line-height: 1.5;
}

.portal-link {
    font-weight: bold;
    font-size: 16px;
}


/* Smartphone */

@media (max-width: 700px) {

    .portal-section {
        margin-top: -120px;
    }

    .portal-card {
        padding: 28px 24px;

        align-items: flex-start;
        flex-direction: column;
    }

    .portal-icon {
        width: 60px;
        height: 60px;

        flex-basis: 60px;

        font-size: 32px;
    }
}
/* =================================
   LOGIN
   ================================= */

.login-page {
    min-height: 600px;

    padding: 70px 20px;

    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.login-box {
    width: 100%;
    max-width: 440px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 16px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.06);
}

.login-box h1 {
    margin: 0;

    text-align: center;

    font-size: 32px;
}

.login-info {
    margin: 12px 0 30px;

    text-align: center;

    color: #777777;
}

.login-box form {
    display: flex;
    flex-direction: column;
}

.login-box label {
    margin: 0 0 7px;

    font-size: 14px;
    font-weight: bold;
}

.login-box input {
    height: 48px;

    margin-bottom: 20px;

    padding: 0 14px;

    border: 1px solid #cccccc;
    border-radius: 8px;

    font-size: 16px;

    outline: none;
}

.login-box input:focus {
    border-color: #555555;
}

.login-submit {
    height: 50px;

    border: none;
    border-radius: 8px;

    background: #111111;
    color: #ffffff;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.login-submit:hover {
    background: #333333;
}

.back-home {
    display: block;

    margin-top: 25px;

    text-align: center;

    color: #666666;

    text-decoration: none;

    font-size: 14px;
}
.background-logo {
    position: absolute;

    top: 58%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 650px;
    max-width: 80%;

    height: auto;

    opacity: 1;

    z-index: 0;
    pointer-events: none;
}