body {
    font-family: 'Roboto', sans-serif;
    background. #f7f7f7;
}

body a {
    color: var(--wp--preset--color--dark);
    text-decoration: underline;
}

body a:hover {
    color: var(--wp--preset--color--primary);
}

body a:visited {
    color: var(--wp--preset--color--dark);
    text-decoration: line-through;
}

p {
    word-break: normal;
}

b,
strong {
    font-weight: 600;
}

/* Block Centering */
.entry-content>.wp-block-columns,
.entry-content>.wp-block-group,
.entry-content>.wp-block-query {
    max-width: 1140px;
    margin: 0 auto;
}

.entry-content>.section-fullwidth {
    max-width: 100%;
}

.entry-content>.section-fullwidth>.wp-block-group,
.entry-content>.section-fullwidth>.wp-block-column {
    max-width: 1140px;
    margin: 0 auto;
}

.entry-content>.section-fullwidth .wpcf7-form .wpcf7-submit:hover {
    border: 1px solid;
}

@media only screen and (max-width: 990px) {

    .entry-content>.wp-block-columns,
    .entry-content>.wp-block-group,
    .entry-content>.wp-block-query,
    .entry-content>.section-fullwidth>.wp-block-group,
    .entry-content>.section-fullwidth>.wp-block-column {
        padding: 0 15px;
    }

}


/* Hero */
.hero a {
    font-weight: 600;
    text-decoration: none;
}

/* Forms */
.wpcf7-form .is-layout-flex {
    margin: 0;
}

.wpcf7-form .is-layout-flex p {
    margin: 0.4rem 0;
}

.wpcf7-form input {
    width: 100%;
    padding: 0.6rem;
}

.wpcf7-form .wpcf7-submit {
    background: var(--wp--preset--color--primary);
    width: 100%;
    border-radius: 30px;
    padding: 1rem 0;
    border: none;
}


.wpcf7-form .wpcf7-submit:hover {
    background: var(--wp--preset--color--dark);
    color: white;
}

.wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
}

.wpcf7-acceptance .wpcf7-list-item label input {
    width: 20px;
}


/* Blobs */


.hero-blob img,
.blob-mask img,
.blob-mask-9-16 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-blob,
.blob-mask,
.blob-mask-9-16 {
    display: block;
    position: relative;
    -webkit-mask-size: cover;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
}

.hero-blob {
    margin-left: -50px;
    margin-right: -300px;
    -webkit-mask-image: url('../images/hero-blob-mask.svg');
    mask-image: url('../images/hero-blob-mask.svg');
}

/*

.blob-mask {
    -webkit-mask-image: url('../images/blob-mask.svg');
    mask-image: url('../images/blob-mask.svg');
}

.blob-mask-9-16 {
    -webkit-mask-image: url('../images/blob-mask-9-16.svg');
    mask-image: url('../images/blob-mask-9-16.svg');
}
*/


.blob-mask-9-16.transformed-right-50 {
    margin-right: -50px;
    margin-top: -50px;
}

.blob-mask-9-16.transformed-right-150 {
    margin-right: -150px;
    margin-top: -150px;
}

.blob-mask-9-16.transformed-left-150 {
    margin-top: -150px;
    margin-left: -150px;
}

@media only screen and (max-width: 1200px) {
    .blob-mask-9-16.transformed-right-50 {
        margin: 0;
    }

    .blob-mask-9-16.transformed-right-150 {
        margin: 0;
    }

    .blob-mask-9-16.transformed-left-150 {
        margin: 0;
    }
}

/* News Grid */

.news-grid {
    overflow: hidden;
}

/* Portfolio Grid */
.portfolio-grid .wp-block-post {
    border: 1px solid #ddd;
    padding: 2rem;
}

/* Icon Grid */

.icon-grid .wp-block-group {
    padding: 2rem;
    position: relative;
    background: var(--wp--preset--color--dark);
    color: #fff;
}

.icon-grid h3,
.icon-grid p {
    margin-top: 0.8rem;
}

.icon-grid .wp-block-group img {
    max-width: 100px;
}

.icon-grid a {
    text-decoration: none;
    position: relative;
    width: 70%;
    color: #fff;
}

.icon-grid a:visited {
    color: #fff
}

.icon-grid a:hover {
    color: var(--wp--preset--color--primary);
}

.icon-grid.link-grid .wp-block-group:after {
    position: absolute;
    content: '';
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    background: url('../images/right-arrow-primary.svg');
    transform: translateX(0);
    transition: all 0.1s linear;
    background-repeat: no-repeat;
    opacity: 0.8;
}

@media only screen and (max-width: 786px) {
    .icon-grid.leistungen .wp-block-group {
        padding: 1rem 0;
    }

    .icon-grid.leistungen .wp-block-group h2 {
        font-size: 1.2rem;
    }

    .icon-grid.leistungen .wp-block-group figure {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
}

/* TLDR-Grid */
.tldr-grid .wp-block-media-text p {
    margin: 0 0 0.2rem 0;
}

/* Joblist-Grid */

.job-grid ul {
    margin: 0;
}

.job-grid ul li {
    border: 1px solid;
}

.job-grid ul li a:hover,
.job-grid ul li .wp-block-read-more:hover {
    color: var(--wp--preset--color--primary);
}

/* Media & Text */
.icon-primary figure {
    background: var(--wp--preset--color--primary);
}

/* Default List */

.wp-block-list {
    margin: 0;
}

/* Unstyled List */

.unstyled-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.unstyled-list li {
    margin: 0.4rem 0;
}

/* Arrow List */

.arrow-list,
.arrow-list-dark,
.thumb-list {
    list-style-type: none;
    padding: 0 0 0 35px;
    margin: 5% 0;
}

.arrow-list li,
.arrow-list-dark li,
.thumb-list li {
    position: relative;
    margin-bottom: 1rem;
}

.arrow-list li:after,
.arrow-list-dark li:after,
.thumb-list li:after {
    position: absolute;
    content: '';
    top: 0;
    transform: translateX(0);
    transition: all 0.1s linear;
    background-repeat: no-repeat;
}

.arrow-list li:after,
.arrow-list-dark li:after {
    left: -35px;
    width: 25px;
    height: 20px;
}

.arrow-list li:after {
    background: url('../images/right-arrow-primary.svg');
}

.arrow-list-dark li:after {
    background: url('../images/right-arrow-dark.svg');
}

.thumb-list li:after {
    background: url('../images/thumb-up.svg');
    left: -50px;
    width: 40px;
    height: 40px;
}

/* Visuals */

:where(.wp-block-button__link) {
    border-radius: 0;
}

.wp-block-heading mark,
.wp-block-heading mark,
.wp-block-heading mark {
    text-transform: uppercase;
    font-weight: bold;
}

.border-left-yellow {
    border-left: 10px solid rgba(255, 212, 0, 0.6);
    padding-left: 10px;
}

.arrow-link-medium a,
.arrow-link-large a {
    position: relative;
    text-decoration: none;
}

.arrow-link-medium a:after {
    position: absolute;
    content: '';
    bottom: -5px;
    right: -45px;
    width: 25px;
    height: 25px;
    background: url('../images/right-arrow-primary.svg');
    transform: translateX(0);
    transition: all 0.1s linear;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.arrow-link-large a:after {
    position: absolute;
    content: '';
    top: 0;
    right: -70px;
    width: 35px;
    height: 35px;
    background: url('../images/right-arrow-primary.svg');
    transform: translateX(0);
    transition: all 0.1s linear;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.arrow-link-medium a:hover:after,
.arrow-link-large a:hover:after {
    transform: translateX(20px);
    transition: all 0.2s linear;
}

/* Section Invert */

.section-invert {
    position: relative;
    color: #fff;
    max-width: 100%;
    background: var(--wp--preset--color--dark);
}

/*
.section-invert-before:before {
    top: -100px;
    bottom: inherit;
    background: url('../images/invert-border-top.svg');
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    content: '';
    background-size: cover;
    background-repeat: no-repeat;
}

.section-invert-after:after {
    top: inherit;
    bottom: -100px;
    background: url('../images/invert-border-bottom.svg');
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    content: '';
    background-size: cover;
    background-repeat: no-repeat;
}

.section-invert.no-bottom:after {
    display: none;
}
    */

.section-invert a,
.section-invert a:visited {
    color: #fff;
}

/* Editor */
.interface-interface-skeleton__content {
    overflow-x: hidden;
    background: #f7f7f7;
}

/* Textcolors */
.has-primary-color {
    color: #FFD400 !important;
}

.has-dark-color {
    color: #2D3236 !important;
}

.has-light-color {
    color: #ddd !important;
}

.has-text-color {
    color: #1A1E22 !important;
}

.has-white-color {
    color: #FFFFFF !important;
}

/* Background */
.has-primary-background-color {
    background-color: #FFD400 !important;
}

.has-dark-background-color {
    background-color: #2D3236 !important;
}

.has-light-background-color {
    background-color: #F7F8F9 !important;
}

.has-text-background-color {
    background-color: #1A1E22 !important;
}

.has-white-background-color {
    background-color: #FFFFFF !important;
}

/* Border Colors */
.has-primary-border-color {
    border-color: #FFD400 !important;
}

.has-dark-border-color {
    border-color: #2D3236 !important;
}

.has-light-border-color {
    border-color: #ddd !important;
}

.has-text-border-color {
    border-color: #1A1E22 !important;
}

.has-white-border-color {
    border-color: #FFFFFF !important;
}

/* Dividers */

@media only screen and (max-width: 768px) {
    .h-50 {
        height: 50px !important;
    }

    .h-100 {
        height: 100px !important;
    }

    .h-150 {
        height: 150px !important;
    }

    .has-large-font-size {
        font-size: 1.3rem !important;
    }

    .has-x-large-font-size {
        font-size: 1.5rem !important;
    }
}