:root {
    --hero-height: 100vh;
    --hero-max-height: 30rem;
    --hero-min-height: 20rem;
}

.single-header {
    height: var(--hero-height);
    min-height: var(--hero-min-height);
    max-height: var(--hero-max-height);
}

.single header:not(.absolute) {
    margin-bottom: 0rem;
}

.hero {
    height: var(--hero-height);
    min-height: var(--hero-min-height);
    max-height: var(--hero-max-height);
}

ul.post-tags li a {
    background: var(--primary);
    padding: 0.5rem 1rem;
    color: var(--black);
    border: var(--primary);
    font-size: 1rem;
}

.hero-data-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.hero-data-wrapper .hero {
    flex: 0 0 auto;
    width: calc( 50% - 5rem);
    margin-left: 5rem;
    z-index: 2;
    padding: 3rem;
    background: #ffffff;
    border: 10px solid var(--secondary);
}
.hero-data-wrapper .tech-data {
    flex: 0 0 auto;
    width: 50%;
    padding: 8rem 8rem 8rem 13rem;
    margin-left: -5rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}
.hero-data-wrapper .tech-data h2 {
    margin-top: 0;
}

.tech-data > div:first-of-type {
    border-top: 1px solid var(--grayopacity);
}

.tech-data .desc {
    max-width: 65rem;
}


.standard p,
.optional p {
    margin-top: 0.5rem;
}

.standard-img {
    max-width: 53px;
    width: 100%;
    flex: 0 0 auto;
}

.standard-img img {
    width: 53px;
    height: 52px;
}

.link-expand {
    flex: 0 0 auto;
    text-align: right;
}
.link-expand a:before {
    border-radius: 50%;
    color: var(--black);
    border: 1px solid var(--black);
    font-size: 1rem;
    padding: .5rem;
    transition: all 0.3s ease-in-out;
}
.link-expand a:hover:before {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.downloads a:hover {
    color: var(--primary);
}


/* Schulungen */
.termin-box, 
.ansprechpartner-box {
    width: 100%;
}



/* Width in PX > 768px */
/* ==== = MEDIUM = ==== */
@media only screen and (min-width: 48em) {
    :root {
        --hero-height: 100vh;
        --hero-max-height: 45rem;
        --hero-min-height: 30rem;
    }

    .standard-img img {
        width: 85px;
        height: 85px;
    }

    .standard-img {
        max-width: 85px;
    }

    .termin-box, 
    .ansprechpartner-box {
        min-width: 35rem;
        transform: translateX(-5rem);
        width: auto;
    }

}

/* Width in PX > 1200px */
/* ==== = LARGE = ==== */
@media only screen and (min-width: 75em) {
    :root {
        --hero-height: 100vh;
        --hero-max-height: 55rem;
        --hero-min-height: 30rem;
    }
}

@media only screen and (max-width: 75em) {

    .hero-data-wrapper {
        flex-direction: column;
    }
    .hero-data-wrapper .hero {
        width: 100%;
        margin-left: 0;
        z-index: 1;
        border: 0;
    }
    .hero-data-wrapper .tech-data {
        width: 100%;
        z-index: 2;
        margin-left: 0;
        margin-top: 0;
        padding: 5rem;
    }


    .container.standard + .container.standard {
        margin-top: -6rem;
    }
    .container.standard .grid {
        display: none;
    }
    .container.standard h2 {
        position: relative;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-top: 1px solid var(--grayopacity);
        border-bottom: 1px solid var(--grayopacity);
    }
    .container.standard h2:after {
        position: absolute;
        top: 50%;
        right: 0;
        font-family: 'fassi-icons' !important;
        speak: never;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        border-radius: 50%;
        border: 1px solid var(--black);
        font-size: 1rem;
        padding: .5rem;
        transition: all 0.1s;
        content: "\e901";
        transform: translateY(-50%) rotate(-90deg);
    }
    .container.standard h2.active:after {
        transform: translateY(-50%) rotate(90deg);
    }

}

@media only screen and (max-width: 30em) {

    .hero-data-wrapper .tech-data {
        padding: 5rem 3rem;
    }

    .tech-data > div > p {
        text-align: left;
        margin-bottom: 0;
    }

}