@font-face {
    font-family: "Carlito";
    src: url("fonts/Carlito-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Carlito";
    src: url("fonts/Carlito-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}
/* Grundlegende Einstellungen */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--weiss);
    color: var(--schwarz);
    font-family: Carlito, Arial, sans-serif;
}

:root {
    --schwarz: #000000;
    --dunkelblau: #2c3e50;
    --grau: #7f8c8d;
    --hellgrau: #e0e1dd;
    --weiss: #ffffff;
}

/* Header */

.site-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--grau);
    padding: 12px 8%;
    min-height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--weiss);
}

.logo-link {
    display: block;
    flex: 0 0 auto;
}

.logo-link img {
    display: block;
    width: 110px;
    height: auto;
}


/* Hauptnavigation */

.main-navigation {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
    margin-left: 40px;
}

.nav-item {
    position: relative;
}
/* Aufklappbares Untermenü */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--weiss);
    min-width: 240px;
    z-index: 1000;
    border-radius: 6px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--schwarz);
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--hellgrau);
}
.nav-item a {
    color: var(--schwarz);
    text-decoration: none;
    font-size: 20px;
}


/* Hauptinhalt */

main {
    width: 100%;
}

section {
    padding: 5px 8%;
}

section + section {
    padding-top: 0;
}

h1 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
}

h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 25px;
}

h3 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 25px;
}

p {
    font-size: 22px;
    line-height: 1.6;
}

.aussagen {
    list-style-type: square;
    font-size: 22px;
    line-height: 1.6;
    padding-left: 30px;
    margin-top: 10px;
}

.aussagen li {
    margin-bottom: 8px;
}

.text-link {
    color: var(--dunkelblau);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--grau);
}


/* Footer */

.site-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--grau);
    background-color: var(--hellgrau);
    padding: 20px 8%;
    min-height: 60px;
}

.site-footer .logo-link {
    flex: 0 0 auto;
}

.site-footer > a:not(.logo-link) {
    flex: 1;
    text-align: center;
    color: var(--schwarz);
    background-color: var(--hellgrau);
    text-decoration: none;
    font-size: 20px;
}


/* Mobile – vorläufig */

@media (max-width: 700px) {

    .site-header {
        padding: 10px 15px;
    }

    .main-navigation {
        margin-left: 15px;
    }

    .nav-item a {
        font-size: 16px;
    }

    section {
        padding: 35px 6%;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 27px;
    }

    .site-footer {
        padding: 15px;
    }

    .site-footer > a:not(.logo-link) {
        font-size: 16px;
    }
}

/* Abschnitte mit Bild */

.section-with-image {
    margin-top: 15px;
}

.section-with-image > h1,
.section-with-image > h2 {
    width: 100%;
}

.section-content {
    display: flex;
    gap: 5%;
}

.section-text {
    width: 66%;
}

.section-image {
    width: 29%;
    margin-top: 25px;
}

.section-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bild rechts */

.image-right .section-content {
    flex-direction: row;
}

/* Bild links */

.image-left .section-content {
    flex-direction: row-reverse;
}

/* Hervorgehobener Text */

.lead {
    font-size: 1.75em;
    font-weight: 800;
    line-height: 1.4;
    color: var(--dunkelblau);
    margin-left: 50px;
    margin-right: 50px;
}

/* Buttons */

.button {
    display: inline-block;
    padding: 10px 22px;
    margin-top: 15px;
    background-color: var(--dunkelblau);
    color: var(--weiss);
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
}

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


html {
    scroll-padding-top: 100px;
}

/* Farblich hervorgehobener Textbereich */

.highlight-box {
    background-color: var(--hellgrau);
    color: var(--schwarz);
    padding: 25px 30px;
    margin: 20px 0;
}

.section-content.highlight-box {
    margin-left: -8vw;
    margin-right: -8vw;
    padding-left: 8vw;
    padding-right: 8vw;
}

.highlight-box-full {
    background-color: var(--hellgrau);
    color: var(--schwarz);
    margin-left: -8vw;
    margin-right: -8vw;
    padding: 5px 8vw 25px;
}

/* Farbiger Textbereich */

.dark-box {
    background-color: var(--grau);
    color: var(--weiss);
    padding-top: 4px;
}

.grey-box {
    background-color: var(--hellgrau);
    color: var(--schwarz);
    padding-top: 4px;
}


/* Zentrierung */

.center {
    text-align: center;
}

/* Besonderer Abstand für "So arbeiten wir" */

.so-arbeiten-wir > h2 {
    margin-top: 25px;
}

section img {
    display: block;
    width: 100%;
    height: auto;
}

/* Textfluss */

section.text-flow {
    display: block !important;
}

section.text-flow img {
    width: 300px !important;
    height: auto !important;
}

section.text-flow.image-right img {
    float: right !important;
    margin: 10px 0 20px 30px !important;
}

section.text-flow.image-left img {
    float: left !important;
    margin: 10px 30px 20px 0 !important;
}

section.text-flow h2,
section.text-flow p {
    width: auto !important;
}

/* Individuelle Bildgrößen */

.text-flow.bild-klein img {
    width: 220px !important;
}

.section-with-image.bild-klein .section-image {
    flex: 0 0 220px;
}

.section-with-image.bild-klein .section-image img {
    width: 220px !important;
    height: auto;
}

/* Kleines Bild rechts */

.section-with-image.image-right.bild-klein .section-text {
    flex: 1;
}

.section-with-image.image-right.bild-klein .section-image {
    margin-left: auto;
}

/* Kleines Bild links */

.section-with-image.image-left.bild-klein .section-text {
    flex: 1;
}

.section-with-image.image-left.bild-klein .section-image {
    margin-right: auto;
}

.text-flow.bild-mittel img {
    width: 300px !important;
}

.text-flow.bild-gross img {
    width: 400px !important;
}
