header {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 99999;
    background-color: #fff;
}

.navbar-2 {
    background-color: #fff;
    justify-content: flex-end;
}

.navbar-2 .nav-element a:hover, .navbar-2 .dropdown-parent:hover {
	background-color: var(--backgrounds);
}

.navbar-2 .dropdown-menu {
	background-color: var(--backgrounds);
}

.navbar-2 .dropdown-menu a:link, .navbar-2 .dropdown-menu a:visited  {
	background-color: var(--backgrounds);
}

.navbar-2 .nav-active {
	background-color: var(--backgrounds)!important;
}

h1, h2, h3, h5 {
    color: var(--secondary);
    font-weight: 600;
}

ul, ol {margin-left: 1.8em;}

ul li, ol li {
    margin-bottom: 0.5em;
}

b {
    font-weight: 600;
}

hr {
    border-color: var(--secondary);
}

.btn-pill {
    margin-bottom: 3px;
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
}

.hr-mitte {
    width: 100px;
    margin: 50px auto;
    border-color: var(--secondary);
}

.hr-links {
    width: 100px;
    margin: 50px 0;
    border-color: var(--secondary);
}

.spd-logo {
    flex-basis: 150px;
    padding: 8px 10px 5px 10px;
    background-color: #fff;
    margin-left: -10px;
}

.hero, .hero-slider {
    height: 100vh;
    min-height: 650px;
    position: relative;
}

.hero-slide {
    height: 100vh;
    min-height: 650px;
}

.hero-slide img {
    object-position: top left;
}

.hero-us {
    height: fit-content;
    min-height: 200px;
    padding-bottom: 50px;
    border-bottom: 2px solid var(--primary);
}

.hero-text {
    padding-top: 45vh;
    padding-left: calc(5% - 10px);
    padding-right: 5%;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1;
}

.hero-us .hero-text {
    padding-top: 150px;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-text-1 {
    display: inline-flex;
    font-size: 3.5rem;
    padding: 5px 10px;
    background-color: #fff;
    font-weight: 800;
}

.hero-text-2 {
    display: inline-flex;
    font-size: 2rem;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #fff;
    font-weight: 600;
}


.hero-slider-text {
	top: auto;
    bottom: 15%;
	text-shadow:none;
	text-align: right;
	padding: 0 5%;
    line-height: 1;
}

.hero-slide .hero-text-1 {
    font-size: 5rem;
    font-weight: 800;
    background-color: transparent;
}

.hero-slide .hero-text-2 {
    font-size: 3rem;
    font-weight: 600;
    background-color: transparent;
}

.hero-us .hero-text-1 {
    font-size: 2.5rem;
    padding: 0;
}

.hero-us .hero-text-2 {
    font-size: 1.5rem;
    margin-top: 5px;
    padding: 0;
}

.hero-bild {
    position: absolute;
    right: 5%;
    width: 400px;
    bottom: 0;
    z-index: 999;
    background-color: var(--primary);
    padding: 30px 25% 0 25%;
    z-index: -1;
}

.hero-bild img {
    display: block;
}

.hero-bild-2 {
    position: absolute;
    height: 70vh;
    right: 5%;
    width: 65%;
    bottom: 0;
    z-index: 999;
    z-index: -1;
}

.hero-bild-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.hero-stempel {
    position: absolute;
    right: 5%;
    top: 130px;
    width: 250px;
    z-index: 998;
    height: auto;
    z-index: 9999;
}

.col-icon {
    text-align: center;
}

.col-icon img {
    max-width: 120px;
    transition: all 0.2s ease-in-out;
}

.col-icon img:hover {
    transform: scale(0.95);
    transition: all 0.2s ease-in-out;
}

.icon-us {
    text-align: center;
}

.icon-us img {
    max-width: 140px;
}

.noborder-cards {
    gap: 50px;
}

.noborder-cards .card {
    border: none;
    box-shadow: none;
}

.noborder-cards .card p {
    text-align: justify;
}

.vita-box {
    background-color: var(--backgrounds);
    display: flex;
}

.vita-img {
    overflow: hidden;
    flex-basis: auto;
}

.vita-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
}

.vita-text {
    box-sizing: border-box;
    padding: 50px;
}

.timeline-text h6 {
    margin-bottom: 0;
}

.socials-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.socials-flex h3 {
    margin: 0;
}

.social-icon {
    font-size: 2.5rem;
    transition: 0.5s ease-in-out;
}

.social-icon:hover {
    transform: scale(0.9);
    transition: 0.2s ease-in-out;
}

@media only screen and (max-width: 1200px) {

    .hero-text {
        padding-top: 50px;
    }
    
    .hero-slide .hero-text-1 {
        font-size: 3.5rem;
    }
    
    .hero-slide .hero-text-2 {
        font-size: 2rem;
    }
    
    .hero-bild {
        width: 250px;
    }

    .hero-bild-2 {
        height: 50vh;
        min-height: 400px;
    } 
    
    .hero-stempel {
        width: 130px;
    }

}

@media only screen and (max-width: 768px) {

    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }

    #navbar-navbutton {
        background-color: var(--secondary);
        color: #fff;
    }

    #navbar {
        position: fixed;
        width: 100%;
        left: 0;
        border-bottom: 2px solid var(--secondary);
    }

    .hero {
        height: 60vh;
        min-height: 400px;
        position: relative;
    }

    .hero-us {
        height: fit-content;
        min-height: 200px;
        padding-bottom: 50px;
    }
    
    .hero-slide .hero-text-1, .hero-us .hero-text-1 {
        font-size: 2.5rem;
    }
    
    .hero-slide .hero-text-2, .hero-us .hero-text-2 {
        font-size: 1.5rem;
    }
    
    .hero-bild {
        width: 200px;
    }

    .hero-bild-2 {
        height: 42vh;
        min-height: 300px;
    }
    
    .hero-stempel {
        width: 100px;
        right: auto;
        left: 5%;
    }

    .vita-box {
        flex-wrap: wrap;
    }
    
    .vita-img {
        width: 100%;
    }
    
    .vita-text {
        width: 100%;
    }

    .socials-flex {
        gap: 15px;
    }

    .social-icon {
        font-size: 1.8rem;
    }

    .flexfooter {
        gap: 20px;
        justify-content: space-evenly;
    }
}

@media only screen and (max-width: 550px) { 

    .spd-logo {
        flex-basis: 110px;
    }

    .hero-bild {
        padding-left: 30px;
    }

    .hero-bild-2 {
        width: 100%;
        box-sizing: border-box;
    }

}
