/*CSS-STYLESHEET*/

html {
scroll-behavior: smooth;
}

body {
    font-family: verdana;
}

header {
    background-color: white;
    color: #7f8595;
}

header a {
    text-decoration: none;
    color: #7f8595;
    font-weight: 550;
    transition: color 0.5s;
}

header a:hover {
    color: #f9a458;
}

#logo_header {
    width: 8%;
    left: 10%;
    top: 2%;
    position: absolute;
}

.text-header {
    position: absolute;
    left: 50%;
    top: 8.5%;
}

#scrollToTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #7f8595;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background-color 0.5s;
    z-index: 9999;
  }
  
  #scrollToTopButton:hover {
    background-color: #f9a458;
  }

test {
    width: 25%;
    height: 50%;
    left: 75%;
    position: absolute;
    background-color: black;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown ul {
    display: none;
    position: absolute;
    background-color: white;
    padding: 0;
    margin: 0;
    list-style-type: none;
    z-index: 1;
    overflow: hidden;
    transition: height 0.5s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown ul li {
    display: block;
}

.dropdown:hover ul {
    display: block;
    height: auto;
}

.dropdown a {
    text-decoration: none;
    color: #7f8595;
    padding: 15px;
    display: inline-block;
    vertical-align: middle;
}

.dropdown a img {
    vertical-align: middle;
}

projekte-auflistung {
    position:absolute;
    top:50%;
    color: #565459;
    line-height: 150%;
    left: 5%;
}

projekte-auflistung a {
    color: #565459;
}

projekte-auflistung b{
    font-size: 20px;
}

#foto-titel {
    width:100%;
    height:300px;
    position: absolute;
    left: 0%;
    top: 20%;
    z-index: -1;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
}

.text-foto-titel {
    opacity: 0.9;
    color: white;
    font-weight: bold;
    position: absolute;
    text-align: center;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 50;
}

footer-startseite {
    background-color: #565459;
    color: white;
    position: absolute;
    width: 100%;
    top: 140%;
    left: 0%;
    height: 25%;
}

footer-startseite a {
    color: white;
    transition: color 0.5s;
}

footer-startseite a:hover {
    color:#f9a458;
}

footer-datenschutzerklaerung {
    background-color: #565459;
    color: white;
    position: absolute;
    width: 100%;
    top: 760%;
    left: 0%;
    height: 25%;
}

footer-datenschutzerklaerung a {
    color: white;
    transition: color 0.5s;
}

footer-datenschutzerklaerung a:hover {
    color:#f9a458;
}

footer-projekte {
    background-color: #565459;
    color: white;
    position: absolute;
    width: 100%;
    top: 220%;
    left: 0%;
    height: 25%;
}

footer-projekte a {
    color: white;
    transition: color 0.5s;
}

footer-projekte a:hover {
    color:#f9a458;
}

footer-publikationen {
    background-color: #565459;
    color: white;
    position: absolute;
    width: 100%;
    top: 200%;
    left: 0%;
    height: 25%;
}

footer-publikationen a {
    color: white;
    transition: color 0.5s;
}

footer-publikationen a:hover {
    color:#f9a458;
}

footer-impressum {
    background-color: #565459;
    color: white;
    position: absolute;
    width: 100%;
    top: 130%;
    left: 0%;
    height: 25%;
}

footer-impressum a {
    color: white;
    transition: color 0.5s;
}

footer-impressum a:hover {
    color:#f9a458;
}

text-inhalt-startseite {
    color: #7f8595;
    position: absolute;
    top: 90%;
    left: 15%;
    width: 70%;
    text-align: justify;
    font-size: 20px;
}

text-inhalt-datenschutzerklaerung {
    color: #7f8595;
    position: absolute;
    top: 55%;
    left: 15%;
    hyphens: auto; 
    width: 70%;
    text-align: justify;
    font-size: 20px;
}

text-inhalt-impressum {
    color: #7f8595;
    position: absolute;
    top: 55%;
    left: 15%;
    width: 70%;
    text-align: center;
    font-size: 20px;
}

text-inhalt-impressum a {
    color: #7f8595;
    transition: color 0.5s;
}

text-inhalt-impressum a:hover {
    color: #f9a458;
}

text-inhalt-impressum i {
    color: red;
}

box-eins {
    color: #7f8595;
    background-color: white;
    border: 1px solid #7f8595;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: absolute;
    left: 12.5%;
    top: 55%;
    height: 30%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}


box-eins:hover {
    width: 20%;
    height: 35%;
    position: absolute;
    left: 10%;
    top: 50%;
}

.heading-box-eins {
    font-weight: bold;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 90%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-eins:hover .heading-box-eins {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 43.81%;
    transform: translate(-50%, -50%);
}

.text-box-eins {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 100%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-eins:hover .text-box-eins {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 52.5%;
    transform: translate(-50%, -50%);
}

box-zwei {
    color: #7f8595;
    background-color: white;
    border: 1px solid #7f8595;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: absolute;
    left: 32.5%;
    top: 55%;
    height: 30%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-zwei:hover {
    width: 20%;
    height: 35%;
    position: absolute;
    left: 30%;
    top: 50%;
}

.heading-box-zwei {
    font-weight: bold;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 90%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-zwei:hover .heading-box-zwei {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 43.81%;
    transform: translate(-50%, -50%);
}

.text-box-zwei {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 100%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-zwei:hover .text-box-zwei {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 52.5%;
    transform: translate(-50%, -50%);
}

box-drei {
    color: #7f8595;
    background-color: white;
    border: 1px solid #7f8595;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: absolute;
    left: 52.5%;
    top: 55%;
    height: 30%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-drei:hover {
    width: 20%;
    height: 35%;
    position: absolute;
    left: 50%;
    top: 50%;
}

.heading-box-drei {
    font-weight: bold;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 90%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-drei:hover .heading-box-drei {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 43.81%;
    transform: translate(-50%, -50%);
}

.text-box-drei {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 100%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-drei:hover .text-box-drei {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 52.5%;
    transform: translate(-50%, -50%);
}

box-vier {
    color: #7f8595;
    background-color: white;
    border: 1px solid #7f8595;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: absolute;
    left: 72.5%;
    top: 55%;
    height: 30%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-vier:hover {
    width: 20%;
    height: 35%;
    position: absolute;
    left: 70%;
    top: 50%;
}

.heading-box-vier {
    font-weight: bold;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 90%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-vier:hover .heading-box-vier {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 43.81%;
    transform: translate(-50%, -50%);
}

.text-box-vier {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 100%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

box-vier:hover .text-box-vier {
    width: 100%;
    height: 5%;
    left: 50%;
    top: 52.5%;
    transform: translate(-50%, -50%);
}

#platzhalter-icons-box {
    width: 60px;
    height: 60px;
    position: absolute;
    transform: translate(-50%, 50%);
    align-items: center;
    position: absolute;
    left: 50%;
    top: 8%;
    transition: left 0.5s, top 0.5s;
}

box-eins:hover #platzhalter-icons-box {
    position: absolute;
    left: 50%;
    top: 13.5%;
}

box-zwei:hover #platzhalter-icons-box {
    position: absolute;
    left: 50%;
    top: 13.5%;
}

box-drei:hover #platzhalter-icons-box {
    position: absolute;
    left: 50%;
    top: 13.5%;
}

box-vier:hover #platzhalter-icons-box {
    position: absolute;
    left: 50%;
    top: 13.5%;
}