* {
    box-sizing: border-box;
}

body {
    font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f0f0f0, #f9f9f9);
    background-size: 100% 100%;
    background-attachment: fixed;
}

#express-service {
    padding: 24px;
    display: flex;
    align-self: flex-start;
    gap: 20px;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

#express-service2 {
    padding: 24px;
    display: flex;
    align-self: flex-start;
    gap: 20px;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;
}

#express-service img,
#express-service2 img {
    border-radius: 8px;
    flex-shrink: 1;
    flex-grow: 0;
    flex-basis: auto;
    height: 460px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#express-service div,
#express-service2 div {
    flex: 1;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #104479;
    border-radius: 8px;
    padding: 24px;
    color: white;
    line-height: 160%;
    min-height: 460px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card h2 {
    color: white;
    font-weight: normal;
}

.card p {
    padding: 12px 0px 12px 0px;
    margin: 0px;
}

.header {
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid silver;
    background-color: white;
}

.header img {
    height: 140px;
}

#header-buttons {
    display: flex;
    gap: 12px;
}

.header button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background-color: #082543;
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.header button.whatsapp {
    background-color: #25D366;
}

.header button svg {
    width: 24px;
    fill: white;
}

.header button:hover {
    filter: brightness(1.2);
}

.nav {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(to bottom, #cfcfcf48, #ffffff68);
    border-bottom: 1px solid silver;
    padding: 6px;
}

.nav a {
    color: rgb(65, 65, 65);
    font-size: 20px;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
}

.nav a:hover {
    background-color: #ffffff;
}

.menu-icon {
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    font-size: 28px;
    cursor: pointer;
    color: #082543;
    border: solid 2px #082543;
    border-radius: 50%;
}

.menu-icon div {
    margin-top: -4px;
}

.off-canvas {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: white;
    padding: 20px;
    transition: left 0.3s;
    display: none;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.off-canvas a {
    display: block;
    color: #082543;
    text-decoration: none;
    padding: 24px 0;
    text-align: center;
    border-bottom: 1px solid #082543;
}

.off-canvas a:hover {
    background-color: #ffffff8b;
}

.off-canvas.open {
    left: 0;
}

#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#104479, #2e4ca77c);
    color: white;
    padding: 23px;
}

#hero h1 {
    font-size: 26px;
    margin: 24px 0;
    font-weight: bold;
}

#hero h2 {
    margin: 24px 0;
    font-weight: normal;
}

#hero p {
    font-size: 18px;
    line-height: 140%;
}

#hero button {
    background-color: #104479;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin: 24px 0;
}

#hero img {
    max-width: 38vw;
    border-radius: 8px;
    margin-left: 24px;
}

#aufeinenblick {
    display: flex;
    justify-content: space-around;
    padding: 0px;
    background-color: #f9f9f9;
    border-bottom: 2px solid #9aa8d5;
}

#aufeinenblick ul {
    list-style: none;
    padding: 0;
}

#aufeinenblick li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#aufeinenblick span:first-child {
    margin-right: 10px;
    color: #2E4CA7;
    font-size: 26px;
}

#aufeinenblick span:last-child {
    color: #2E4CA7;
    font-size: 22px;
}

#vorteile {
    background-size: cover;
    background-attachment: fixed;
    padding: 24px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

#vorteile div {
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#vorteile h2 {
    color: #2E4CA7;
    margin-bottom: 24px;
    text-align: center;
}

#vorteile p {
    margin-bottom: 24px;
    font-size: 18px;
    text-align: justify;
}

#vorteile ol {
    text-align: left;
    padding-left: 20px;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 48px;
}

#vorteile li {
    margin-bottom: 16px;
}

footer {
    background-color: #082543;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-logo img {
    height: 60px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

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

footer p {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

#topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px;
    gap: 24px;
    background-color: rgb(8 37 67);
    min-height: 48px;
    color: white;
}

#topbar div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#topbar svg {
    width: 24px;
    fill: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 24px;
}

.service-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item img {
    display: block;
    width: 100%;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    border-radius: 8px;
}

.service-item h3 {
    margin-top: 0;
    color: #104479;
}

.service-item p {
    color: #555;
}

#calltoaction {
    background-color: #2E4CA7;
    color: white;
    text-align: center;
    padding: 24px;
    border-radius: 8px;
    margin: 24px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#calltoaction h2 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: bold;
}

#calltoaction p {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.5;
}

#calltoaction button {
    background-color: #104479;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#calltoaction button:hover {
    background-color: #082543;
}

#calltoaction ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#calltoaction li {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    white-space: nowrap;
}

#van {
    display: block;
    width: 90%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#einsatzgebiete {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
}

#einsatzgebiete ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Mobile Optimization */
@media (max-width: 768px) {

    #calltoaction {
        border-radius: 0px;
    }

    .service-grid {
        padding: 0px;
    }

    .header {
        flex-wrap: wrap;
    }

    .header img {
        height: 100px;
        margin: auto;
    }

    #header-buttons {
        margin-top: 12px;
        justify-content: center;
        width: 100%;
    }

    .header button {
        width: 100%;
        margin: 6px 0;
        font-size: 16px;
    }

    .nav {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .off-canvas {
        display: block;
    }

    #hero {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    #hero img {
        display: block;
        min-width: 100vw;
        border-radius: 0px;
        margin: 0 auto;
    }

    #aufeinenblick {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    #vorteile {
        padding: 20px;
    }

    #vorteile div {
        padding: 20px;
    }

    #vorteile h2 {
        font-size: 20px;
    }

    #vorteile p,
    #vorteile ol {
        font-size: 16px;
    }

    #express-service,
    #express-service2 {
        padding: 0px;
        margin: 0px;
        flex-direction: column;
    }

    .card {
        display: block;
        min-height: 0;
        border-radius: 0px;
    }

    #express-service img,
    #express-service2 img {
        display: block;
        border-radius: 0px;
        margin: 0;
        padding: 0px;
        width: 100vw;
        border: none;
    }

    footer {
        padding: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        font-size: 14px;
    }

    footer p {
        font-size: 12px;
    }
}