#header {
    position: relative;
    display: flex;
    flex-direction: column;
}

#header h1 {
    font-size: 3.75rem;
    line-height: 110%;
    letter-spacing: -2px;
    font-weight: 800;
}

h1#slide-in-heading {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 1.5s ease-out, opacity 1s ease-out;
}

#header>h1.slide-in {
    opacity: 1;
    transform: translateX(0);
}

#header h2 {
    font-size: 2rem;
    font-weight: 400;
}

#header h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

#header ul {
    font-weight: 400;
    padding-left: 16px;
    font-size: 28px;
    border-left: 5px solid var(--primaryColor);
}

#headerImg {
    position: absolute;
    bottom: 0;
    right: 2rem;
    border: 1px solid var(--textColor);
    box-shadow: black 3px 3px;
    transition: ease-in-out 100ms;
    overflow: hidden;
    display: flex;
}

#headerImg:hover {
    box-shadow: black 9px 9px;
    bottom: 3px;
    right: 35px;
}

#headerImg>div.svgInside {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    border-right: 1px solid var(--textColor);
}

#headerImg>div.textBox {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 2rem;
    width: 100%;
}

#headerImg>div.textBox p {
    margin: 0;
    padding: 0;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
}

#headerImg>div.textBox p span {
    background: linear-gradient(180deg, black 40%, red 40%, red 66%, gold 66%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    -webkit-text-stroke: var(--textColor) 1px;
}

#headerImg svg {
    width: 64px;
    height: auto;
    box-sizing: border-box;
    fill: var(--textColor);
}

#headerImg svg#svgStickerRotation {
    width: 90px;
    height: auto;
    position: absolute;
    animation: slowRotate 10s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*###############################################################*/
/* Middle Text Section */
/*###############################################################*/

.sectionText1 {
    margin: 6rem auto;
}

.sectionText1 h2 {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    line-height: 2rem;
}

.sectionText1 h2 span {
    font-style: italic;
    font-weight: 600;
}

#dienstleistungsAccordion {
    max-width: 800px;
    width: 60vw;
    margin-left: auto;
    display: block;
}

#dienstleistungsAccordion button {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 400;
    background-color: var(--backgroundColor);
    color: var(--textColor);
}

#dienstleistungsAccordion p {
    max-width: 500px;
    text-align: justify;
    margin-bottom: 1rem;
}

#dienstleistungsAccordion a {
    padding: 0.5rem 1rem;
    border: 1px solid #313131;
    display: inline-block;
    margin-bottom: 1.5rem;
}

#dienstleistungsAccordion a>svg {
    margin-left: 0.2rem;

}

.accordion {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion:after {
    content: '\002B';
    font-weight: 400;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}



/*###############################################################*/
/* Dienstleistungs 3er Grid */
/*###############################################################*/
#dienstleistungen3erGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0;
    margin-bottom: 0;
}

#dienstleistungen3erGrid div {
    border-left: 2px solid #000;
    padding: 1rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

#dienstleistungen3erGrid div:last-child {
    border-right: 2px solid #000;
}

#dienstleistungen3erGrid div>h2 {
    margin-top: auto;
}

/*###############################################################*/
/* Project Section */
/*###############################################################*/
.projectsSection>div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    min-height: 400px;

}

.projectsSection>div>a {
    border: 1px solid var(--textColor);
}

.projectsSection>div>a>img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.projectsSection>div .projectTitle {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.projectsSection>div .projectDescription {
    padding-top: 0.25rem;
}

/*###############################################################*/
/* About me Section */
/*###############################################################*/

#indexAboutMe>div {
    justify-content: space-between;
    display: flex;
    gap: 1.5rem;
}

#indexAboutMe p {
    max-width: 40ch;
    margin: 1rem 0;
}

#indexAboutMe h3 {
    margin: 1rem 0;
    font-weight: 400;
}

#indexAboutMe table {
    margin: 1rem 0;
    min-width: 540px;
    width: 100%;
    border-collapse: collapse;
}

#indexAboutMe table tr {
    padding-right: 1rem;
}

#indexAboutMe table tr th {
    text-align: left;
    font-weight: 400;
    padding-right: 1rem;
}

#indexAboutMe table tr th:last-child {
    padding-right: 0;
    text-align: right;
}

#indexAboutMe a.contactBtn {
    font-weight: 500;
    float: right;
}

.noPadding {
    padding-right: 0.5rem !important;
}

/*###############################################################*/
/* Interessante Beiträge */
/*###############################################################*/
section#beitragsSection>div#beitragsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

section#beitragsSection>div#beitragsGrid a {
    border: 1px solid var(--textColor);
}

section#beitragsSection>div div>img {
    width: 100%;
    min-height: 3rem;
    margin-bottom: 0rem;
    display: block;
}

section#beitragsSection .beitragsGridItem {
    grid-column-start: 2;
    grid-column-end: 5;
    display: flex;
    gap: 1.5rem;
}

.beitragsGridItemHeader {
    display: flex;
    justify-content: space-between;
}

.beitragsGridItem h3 {
    font-weight: 600;
}

section#beitragsSection .beitragsGridItem img {
    max-height: 10rem;
    border: 1px solid black;
    height: 100%;
    width: auto;
}

section#beitragsSection div.beitragsButton {
    text-align: right;
    margin-top: 2rem;
    width: 100%;
}

section#beitragsSection div.beitragsButton>a {
    display: inline-block;
}

.beitragsGridItem div {
    width: 100%;
}

.beitragsGrid {
    display: flex;
}

.beitragsGridItem div p {
    margin-top: 0.5rem;
}

.beitragsGridItem p.date {
    white-space: nowrap;
}