*, *:before, *:after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;

}
html {
    scroll-behavior: smooth;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-weight: 400;
}
body {
    font-size: 1rem;
    margin: 0 auto;
    margin-top: 3rem;
    background-color: var(--secondary-bg-color);
}
img {
    max-width: 100%;
    display: block;
}

:root {
 --primary-bg-color: #a19393;
  --secondary-bg-color: #F3F3F4;
  --accent-color: #5a5755;
  --accent2-color: #FE8C12;
  --site-cover-bg-color: #EEEAEB;
  --site-cover-circle: #473e3b;
  --site-header-bg-color: #000000;
  --footer-bg-color: #473e3b;
  --white-transparent-50: rgba(255,255,255,0.5);
  --white: #fcfcfc;
  --black: #191919;
  --warning-color: #dc0000;
}


/*-----------------------
  Kill WordPress Defaults
  -----------------------*/

main.has-global-padding {
    padding-left: 0;
    padding-right: 0;
}

:root :where(.is-layout-constrained) > *, .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    margin: 0;
    max-width: unset;
}


/*----
  Font
  ----*/
h1, h2, h3, h4, h5, h6, form legend {
    text-wrap: balance;
    font-weight: 800;
}
h1 {
    font-size: 3.4rem;
    line-height: 1.07;
    margin-bottom: 1rem;
}
h1 .topline {
    display: block;
    font-size: 0.568em;
    line-height: 1.2;
}
h2 {
    font-size: 2.8rem;
    line-height: 1.08;
    margin-bottom: 2.3rem;
    max-width: 55rem;
}
h3, form legend {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    color: var(--primary-bg-color);
    color: var(--black);
}
p, a {
    font-size: 0.9rem;
    line-height: 1.35;
}

.text_block p + p {
    margin-top: 0.25rem;
}

/*--------------
  General Layout
  --------------*/
.inside {
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 1680px;
    margin: 0 auto;
}

.inside--narrow {
    max-width: 1200px;
}

main {
    position: relative;
    z-index: 3;
}

section:not(.why) {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.highlighted {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.highlighted::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25em;
    z-index: -1;
    width: 100%;
    height: 0.6em;
    background: no-repeat center / contain;
    background-image: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 211 22" preserveAspectRatio="none"><path d="M1 8.77505C27.9029 6.35597 125.829 1.65103 206 8.77508C164.385 8.77507 110.163 9.49544 75.252 17" stroke="%23FE8C12" stroke-width="10" stroke-linejoin="round" fill="none"/></svg>');
}

.text_2cols {
    display: flex;
    margin: 0 -1rem;;
}

.text_2cols .col {
    flex-basis: 50%;
    width: 50%;
    padding: 0 1rem;
}

.text_block > div + div {
    margin-top: 1.5rem;
}

.text_block p, .text_block li {
    max-width: 650px;
}

/*dark*/

.section--dark {
    background-color: var(--primary-bg-color);
    color: var(--white);
}

.section--dark .button a {
    border-color: var(--white);
    color: var(--white);
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
    color: var(--white);
}

/*wave*/
section.section--wave {
    position: relative;
    padding-top: 0;
    margin-top: calc(((100vw - 22px) / 1440 * 263) - 6rem);
}

.wave {
    position: absolute;
    height: calc((100vw - 22px) / 1440 * 263);
    width: 100%;
    left: 0;
    top: calc((-100vw + 22px) / 1440 * 263);
}

.wave--mirrored svg {
    transform: scaleX(-100%);
}

/*list*/
.text_block ul li {
    list-style: none;
    position: relative;
    padding-left: 1.1em;
    margin-bottom: 0.3em;
}

.text_block ul li::before {
    content: "";
    position: absolute;
    width: 0.6em;
    height: 2px;
    background-color: var(--black);
    left: 0;
    top: 0.55em;
}

/*button*/
.button a {
    display: inline-block;
    padding: 0.7rem 1.3rem;
    text-decoration: none;
    border: 3px solid var(--black);
    border-radius: 0.2em;
    font-weight: 800;
    color: var(--black);
}

/*------
  Header
  ------*/

/*site header*/

.site_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--site-header-bg-color);
    z-index: 100;
    height: 3rem;
    box-shadow: 0px 0px 11px 1px #0b082926;
    color: var(--white);
}

.site_header__inside {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site_header nav ul {
    display: flex;
}

.site_header nav ul li {
    list-style: none;
}

.site_header nav ul li a {
    display: block;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    color: var(--white);
    font-weight: 600;
}

/*site cover*/

.site_cover {
    height: 75vh;
    background: var(--site-cover-bg-color);
    position: relative;
}

.site_cover__inside {
    z-index: 2;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.site_cover__inside::before {
    content: "";
    position: absolute;
    width: 50vh;
    height: 50vh;
    background: var(--site-cover-circle);
    border-radius: 100%;
    z-index: -1;
    right: calc((50vw / 2) - (50vh / 2) + 3vh);
    top: 19vh; 
}

.site_cover__text {
    width: 50vw;
    padding-left: 4vw;
    padding-top: 15vh;
}

.site_cover__text p {
    max-width: 550px;
}

.site_cover__image {
    width: 50vw;
    position: relative;
    display: flex;
    justify-content: center;
    max-height: 84vh;
}

.site_cover__image img {
    object-fit: contain;
}

.site_cover__background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    bottom: -32vh;
}

.site_cover__background svg {
    width: 100%;
}

/*----
  Why?
  ----*/

.why {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: flex-end;
}

.why svg {
    width: 100%;
    z-index: -1;
    position: absolute;
    top: -37vh;
}

.why ul {
    display: flex;
    margin-top: 5rem;
}

.why ul li {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 13rem;
    position: relative;
}

.why ul li:nth-child(2) {
    top: -2rem;
}

.why ul li:last-child {
    top: -4rem;
}

.why ul li span {
    display: block;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

span.fakeicon, .why ul li span.fakeicon {
    background: var( --accent-color);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: bold;
}

.why ul li span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -2.5rem;
    background-repeat: no-repeat;
}

.why ul li span::after {
    content: "";
    position: absolute;
    background: var(--white);
    border-radius: 100%;
    width: 140px;
    height: 140px;
    top: -1rem;
    margin-top: -140px;
    left: 50%;
    margin-left: -70px;
    z-index: -1;
}

.why ul li span.icon--bewerbungsunterlagen::before {
    width: 80px;
    height: 85px;
    background-image: url('assets/icons/bewerbungsunterlagen.svg');
    background-size: 80px;
    margin-top: -80px;
    margin-left: -33px;
}

.why ul li span.icon--bewerbungsphase::before {
    width: 92px;
    height: 92px;
    background-image: url('assets/icons/bewerbungsphase.svg');
    background-size: 92px;    
    margin-top: -88px;
    margin-left: -48px;
}

.why ul li span.icon--mediamatik-skills::before {
    width: 100px;
    height: 79px;
    background-image: url('assets/icons/mediamatik-skills.svg');
    background-size: 100px;
    margin-top: -79px;
    margin-left: -45px;
}

/*----
  What
  ----*/

.what__inside {
    display: flex;
}

.what__inside__container {
    max-width: 40rem;
}

.what__inside__image {
    flex-basis: 40%;
    width: 40%;    
}

.what__inside__image img {
    max-height: 45rem;
    margin: 0 auto;
    transform: scaleX(-100%);
}

.what__inside__content {
    flex-basis: 60%;
    width: 60%;
}

.what__inside__content ul {
    display: flex;
    flex-wrap: wrap;
    margin: -1.1rem -0.5rem;
}

.what__inside ul li {
    list-style: none;
    width: 50%;
    flex-basis: 50%;
    padding: 1.1rem 0.5rem;
}

/*----------
  conditions
  ----------*/

.conditions__inside {
    position: relative;
    top: -2rem;
    margin-bottom: -2rem;
}

.conditions dl {
    display: flex;
    flex-wrap: wrap;
}

.conditions dl > div {
    flex-basis: 25%;
    width: 25%;
    padding: 2rem;
}

.conditions dl > div:not(:last-child, :nth-last-child(2), :nth-last-child(3), :nth-last-child(4)) {
    border-bottom: 1px solid var(--white-transparent-50);
}

.conditions dl > div:not(:nth-child(4n)) {
    border-right: 1px solid var(--white-transparent-50);
}

.conditions dt {
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    opacity: 0.7;
}

.conditions dd {
    font-size: 1.1rem;
}

.conditions dd .side_information {
    font-size: 0.7em;
}

/*--------
  About me
  --------*/

.about_me__inside {
    display: flex;
    flex-wrap: wrap;
}
 
.about_me__inside h2 {
    flex-basis: 100%;
    width: 100%;
}

.about_me__text {
    flex-basis: 60%;
    width: 60%;
    padding-right: 2rem;
}

.about_me__image {
    flex-basis: 40%;
    width: 40%;
    padding-left: 2rem;
}

/*----
  Form
  ----*/

form {
    display: flex;
    flex-wrap: wrap;
}

form > *:not(:last-child) {
    margin-bottom: 1.5rem;
}

form fieldset {
    border: 3px solid var(--white);
    padding: 1rem 0.75rem;
    margin: 1rem 0;
}

form legend {
    color: var(--white);
    margin: 0 0 0 0.7rem;
    padding: 0 0.8rem;
}

form label > span, form span.salutation > span {
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
    display: block;
}

form input, form textarea {
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
    border: none;
    background-color: var(--white);
    color: var(--black);
    width: 100%;
}

form input:focus, form textarea:focus {
    outline-color: var(--accent-color);
}

fieldset > p {
    display: flex;
    flex-wrap: wrap;
}

fieldset label, fieldset span.salutation {
    flex-basis: 50%;
    width: 50%;
    padding: 0.2rem 0.75rem;
}

form fieldset span.salutation, label.street {
    flex-basis: 100%;
    width: 100%;
}

label.postcode {
    flex-basis: 30%;
    width: 30%;
}

label.town {
    flex-basis: 70%;
    width: 70%;
}

form span.salutation > span {
    margin-bottom: 0.4rem;
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item:hover {
    cursor: pointer;
}

.wpcf7-list-item + .wpcf7-list-item {
    margin-left: 1rem;
}

.wpcf7-list-item > label {
    display: flex;
    padding: 0 0 0 0.15rem;
}

.wpcf7-radio .wpcf7-list-item-label {
    margin: 0 0 0 0.5rem;
}

input[type="radio"] {
    transform: scale(1.3);
    accent-color: var(--accent-color);
}

form input[type="radio"]:focus {
    outline-color: transparent;
}

.wpcf7-not-valid-tip {
    color: var(--warning-color);
    font-size: 1em;
    font-weight: normal;
    display: block;
    margin-top: 0.3rem;
}

fieldset + p {
    width: 100%;
}

label.comments {
    padding: 0 1.65rem;
    display: block;
}


/*------
  Footer
  ------*/
footer {
    background: var(--footer-bg-color);
    color: var(--white);
}

.footer__inside {
    display: flex;
    justify-content: space-between;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer__contact strong {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1.2rem;
}

.footer__contact span {
    display: block;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

footer nav ul {
    text-align: right;
    margin: -0.1rem -0.5rem -0.1rem -1rem;
}

footer nav ul li {
    list-style: none;
}

footer nav ul li a {
    display: block;
    text-decoration: none;
    color: var(--white);
    padding: 0.1rem 0.5rem 0.1rem 1rem;
}

footer .button a {
    border-color: var(--white);
    color: var(--white);
}