/*
Theme Name: GeneratePress Child
Description: Child-Theme von GeneratePress
Author: Berecca - KASPER Kommunikation
Author URI: http://example.org
Template: generatepress
Version: 3.1.3
*/


/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
    --color-bg-grey: #FAFAFA;
    --color-bg-content: #F1F1F1;
    --color-red: #C70A2E;
    --color-text: #2F3133;
    --color-pink-light: #FCF0F2;
    --color-grey-light: #FAFAFA;
    --color-grey: #D9D9D9;
    --color-grey-footer: #C6CCD2;
    --color-grey-footer-light: #FAFAFA;
    --color-hover: #F9F8F7;
}


/* ==========================================================================
   GLOBAL
   ========================================================================== */

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overflow-x: clip;
}

body,
button,
input,
select,
textarea {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
}

body {
    font-synthesis: none;
    background-color: var(--color-bg-content);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
}

.text__m {
    font-size: 21px;
}


/* ==========================================================================
   PAGE
   ========================================================================== */

.separate-containers .inside-article {
    background-color: var(--color-bg-content);
}

.separate-containers .site-main {
margin: 20px 0 0;
}

#page {
    min-height: calc(100vh - 370px);
}


/* ==========================================================================
   GENERATEPRESS FOOTER AREA
   ========================================================================== */

.site-footer {
    background: linear-gradient(
        to bottom,
        var(--color-bg-content) 0,
        var(--color-bg-content) calc(100% - 100px),
        #fff calc(100% - 100px),
        #fff 100%
    );
}

.footer__inner {
    background: transparent;
    padding-bottom: 100px;
}


/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */
#masthead {
  position: sticky;
  top: 0;
  z-index: 9998;
  width: 100%;
}

#masthead.is-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-id-31 .site-header,
.page-id-31 .main-navigation,
.page-id-307 .site-header,
.page-id-307 .main-navigation {
    background-color: var(--color-bg-grey) !important;
}

.main-navigation .main-nav ul li a,
.main-navigation .main-nav ul li a:visited,
.main-navigation .main-nav ul li a:focus,
.main-navigation .main-nav ul li a:active,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
    color: var(--color-text) !important;
    font-size: 14px;
}

.main-navigation .main-nav ul li a:hover {
    color: var(--color-red) !important;
}

    .main-navigation .main-nav ul li a {
    padding-left: 12px;
    padding-right: 12px;
        line-height: 60px;
    }

.main-navigation .main-nav ul li.is-active > a,
.main-navigation .main-nav ul li.is-active > a:visited,
.main-navigation .main-nav ul li.is-active > a:focus,
.main-navigation .main-nav ul li.is-active > a:active {
    color: var(--color-red) !important;
}

.inside-header {
    padding: 10px 5%;
}

/* ==========================================================================
   SPRACHE
   ========================================================================== */

.lang-item-first a::before {
  content: "|";
  margin-right: 18px;
}

.main-navigation .main-nav ul li.lang-item.current-lang a,

.lang-item.current-lang a {
  color: var(--color-red) !important;
}

.menu-item-305-en a {
    padding-left: 0;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    overflow: visible;
    background: var(--color-bg-grey);
}


/* Innerer Container */

.hero__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}


/* Gutenberg Padding zurücksetzen */

.hero > .wp-block-group__inner-container,
.hero__inner > .wp-block-group__inner-container,
.hero__content > .wp-block-group__inner-container,
.hero__copy > .wp-block-group__inner-container {
    padding: 0;
}


/* Inhalt */

.hero__content {
    position: relative;
    z-index: 2;

    width: calc(50% - 20px);

    padding-top: 180px;
    padding-bottom: 75px;
}


/* Headline */

.hero__title {
    margin-top: 0;
    margin-bottom: 0;
}

.hero__title span {
    display: block;
    line-height: 1em;
}

.hero__title-top {
    /*font-size: 80px;*/
    font-size: 72px;
    color: var(--color-text);
}

.hero__title-main {
    /*font-size: 120px;*/
    font-size: 102px;
    color: var(--color-red);
}


/* Copy */

.hero__copy {
    position: relative;

    margin-top: 80px;
    margin-right: 3%;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    
}

.hero__lead {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.3;
}


/* Rote Linie */

.hero__copy::before {
    content: "";
    position: absolute;

    top: 13px;
    right: calc(100% + 40px);

    width: calc((100vw - 1280px) / 2);
    height: 1px;

    background: var(--color-red);
}


/* Bild */

.hero__image {
    position: absolute;
    z-index: 1;

    width: 560px;

    right: 260px;
    bottom: 0;

    margin: 0;
}

.hero__image img {
    position: relative;
    z-index: 1;

    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================================
   HERO – FORMEN & ANIMATIONEN
   ========================================================================== */


/* Roter Kreis */

.hero::after {
    content: "";
    position: absolute;
    z-index: 3;

    width: 40px;
    height: 40px;

    top: 150px;
    right: calc((100vw - 1280px) / 2);

    border-radius: 50%;
    background: var(--color-red);

    opacity: 0;
    transform: scale(0.55);

    animation:
        hero-dot-in 1.8s 0.3s cubic-bezier(.22, .61, .36, 1) forwards,
        hero-dot-pulse 2.4s 2.1s ease-in-out infinite;
}

@keyframes hero-dot-in {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }

    65% {
        opacity: 1;
        transform: scale(1.12);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes hero-dot-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}


/* Graue Form oben */

.hero::before {
    content: "";
    position: absolute;
    z-index: 9999;

    width: 460px;
    height: 460px;

    left: 245px;
    top: -790px;

    background: #C6CCD2;
    border-radius: 0 0 0 500px;

    pointer-events: none;

    animation:
        hero-top-shape-in 3.2s 1.2s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes hero-top-shape-in {

    from {
        top: -790px;
    }

    to {
        top: -340px;
    }
}


/* Graue Form hinter Bild */

.hero__image::before {
    content: "";
    position: absolute;
    z-index: -1;

    width: 340px;
    height: 340px;

    left: 110px;
    top: 260px;

    background: #F1F1F1;
    border-radius: 340px 0 0 0;

    pointer-events: none;

    animation:
        hero-image-shape-in 3.2s 1.2s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes hero-image-shape-in {

    from {
        top: 260px;
    }

    to {
        top: -200px;
    }
}


/* Tablet-Animation graue Form oben */

@keyframes hero-top-shape-in-tablet {

    from {
        top: -460px;
    }

    to {
        top: -240px;
    }
}


/* Tablet-Animation graue Form hinter Bild */

@keyframes hero-image-shape-in-tablet {

    from {
        top: 320px;
    }

    to {
        top: -100px;
    }
}


/* ==========================================================================
   LEGAL
   ========================================================================== */

.legal__content {
    max-width: 1280px;
    margin: 0 auto;
}

.legal__content .wp-block-columns.is-layout-flex,
.about-page .wp-block-columns.is-layout-flex{
    gap: 4em;
}

.site-main .legal__content .wp-block-group__inner-container {
    padding: 0 40px;
}

.legal__content h2 {
    color: var(--color-red);
}

.legal__content a {
    color: var(--color-text);
}

.legal__content.imprint__page,
.legal__content.privacy__page {
    max-width: 1000px;
    margin-top: 150px;
}


.page-id-80/*Datenschutz*/ p,
.page-id-355/*Datenschutz*/ p{
    margin-bottom: 0;
}

.imprint__page a,
.contact__page a {
    text-decoration: underline;
}

.legal__content a:hover {
    color: var(--color-red);
}


/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-page {
    margin-top: 50px;
}

.about-page h2 {
    color: var(--color-red);
}

.page-id-254 .inside-article,
.page-id-254 .site-main .wp-block-group__inner-container{
    padding-bottom: 0;
}


/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-page__columns img {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 35px;
}


/* Social Media */

.content__social-media {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

.content__social-media a {
    display: block;

    width: 30px;
    height: 30px;

    background-color: var(--color-text);

    transition: background-color 0.25s ease;
}

.content__social-media .linkedin {
    -webkit-mask: url("img/icon__linkedin.svg") center / contain no-repeat;
    mask: url("img/icon__linkedin.svg") center / contain no-repeat;
}

.content__social-media .instagram {
    -webkit-mask: url("img/icon__instagram.svg") center / contain no-repeat;
    mask: url("img/icon__instagram.svg") center / contain no-repeat;
}

.content__social-media a:hover {
    background-color: var(--color-red);
}


/* ==========================================================================
   FORMULAR
   ========================================================================== */

.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpcf7 label {
    display: block;
    margin: 0;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    display: block;

    width: 100%;
    height: 40px;

    margin-top: 5px;

    color: var(--color-text);
    background-color: #FFFFFF;
}


/* Vorname + Nachname */

.form__input-name {
    display: flex;
    gap: 20px;
}

.form__input-name label {
    flex: 1;
    min-width: 0;
}

.form__input-name .wpcf7-form-control-wrap,
.form__input-name input {
    display: block;
    width: 100%;
}


/* Nachricht */

textarea {
    height: 100px;
    margin-bottom: 5px;
}


/* Senden */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: var(--color-red);
    color: #fff;

    border: none;

    cursor: pointer;
    -webkit-appearance: button;

    padding: 10px 45px;

    font-weight: 500;
}

.wpcf7 input[type="submit"] {
    align-self: flex-start;
    width: auto;
}

input[type="submit"]:hover {
    background: var(--color-text);
}

.wpcf7 {
    margin-bottom: 33px;
    padding-bottom: 20px;
}

/*response*/

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: var(--color-bg-content)!important;

}

/* Keine sichtbare Hervorhebung fehlerhafter Felder */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
    border-color: inherit;
    box-shadow: none;
    background: inherit;
}

/* Feldmeldungen nur visuell ausblenden */
.wpcf7-not-valid-tip {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
    background: #FFFFFF;
    border-color: transparent;
}

/* Datenschutz */
.form__privacy .wpcf7-list-item  {
    margin: 0;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */


/* ==========================================================================
   HERO – UNTER 1499px
   ========================================================================== */

@media (max-width: 1499px) {

    .hero__inner {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero__image {
        right: 8vw;
    }

    .hero::after {
        right: 40px;
    }
}


/* ==========================================================================
   HERO – KLEINER DESKTOP / LAPTOP
   ========================================================================== */

@media (max-width: 1200px) {

    .hero__content {
        width: 44%;
        padding-top: 150px;
        padding-bottom: 50px;
    }

    .hero__title-top {
        font-size: 58px;
    }

    .hero__title-main {
        font-size: 82px;
    }

    .hero__copy {
        margin-top: 65px;
        margin-right: 0;
        font-size: 17px;
    }

    .hero__lead {
        font-size: 19px;
    }

    .hero__image {
        width: 46vw;
        max-width: 560px;
        right: 30px;
    }

    .hero::after {
        width: 40px;
        height: 40px;
        top: 110px;
        right: 40px;
    }

    .hero::before {
        left: 12vw;
    }
}


/* ==========================================================================
   HERO – TABLET
   ========================================================================== */

@media (max-width: 1024px) {

    .hero__inner {
        padding: 0 30px;
    }

    .hero__content {
        width: 52%;
        padding-top: 125px;
        padding-bottom: 45px;
    }

    .hero__title-top {
        font-size: 46px;
    }

    .hero__title-main {
        font-size: 62px;
    }

    .hero__copy {
        margin-top: 50px;
        font-size: 16px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .hero__copy::before {
        top: 11px;
        right: calc(100% + 30px);
        width: 30px;
    }

    .hero__image {
        width: 50vw;
        max-width: 520px;
        right: -65px;
    }

    .hero__image::before {
        width: 270px;
        height: 270px;
        left: 110px;
        border-radius: 270px 0 0 0;
        animation-name: hero-image-shape-in-tablet;
    }

    .hero::before {
        width: 320px;
        height: 320px;
        left: 40px;
        border-radius: 0 0 0 320px;
        animation-name: hero-top-shape-in-tablet;
    }
}


/* ==========================================================================
   UNTER 1024px – ROTEN PUNKT AUSBLENDEN
   ========================================================================== */

@media (max-width: 1023px) {

    .hero::after {
        display: none;
    }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 774px) {

    .site-footer {
        background: #fff;
    }

    .has-inline-mobile-toggle #site-navigation.toggled {
        margin-top: 20px;
    }

    .mobile-menu-control-wrapper .menu-toggle,
    .main-navigation .menu-toggle {
        background-color: #fff;
        -webkit-tap-highlight-color: transparent;
        outline: none;
        box-shadow: none;
    }

    .mobile-menu-control-wrapper .menu-toggle,
    .main-navigation .menu-toggle:hover,
    .main-navigation .menu-toggle:focus,
    .main-navigation .menu-toggle:focus-visible,
    .main-navigation .menu-toggle:active,
    .main-navigation .menu-toggle[aria-expanded="true"],
    .main-navigation .menu-toggle[aria-expanded="false"],
    .has-inline-mobile-toggle #site-navigation.toggled .menu-toggle,
    .has-inline-mobile-toggle #site-navigation.toggled {
        background-color: #fff !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .page-id-31 .mobile-menu-control-wrapper .menu-toggle,
    .page-id-31 .main-navigation .menu-toggle,
    .page-id-31 .main-navigation .menu-toggle:hover,
    .page-id-31 .main-navigation .menu-toggle:focus,
    .page-id-31 .main-navigation .menu-toggle:focus-visible,
    .page-id-31 .main-navigation .menu-toggle:active,
    .page-id-31 .main-navigation .menu-toggle[aria-expanded="true"],
    .page-id-31 .main-navigation .menu-toggle[aria-expanded="false"],
    .page-id-31 .has-inline-mobile-toggle #site-navigation.toggled .menu-toggle,
    .page-id-31 .has-inline-mobile-toggle #site-navigation.toggled,
    
    .page-id-307 .mobile-menu-control-wrapper .menu-toggle,
    .page-id-307 .main-navigation .menu-toggle,
    .page-id-307 .main-navigation .menu-toggle:hover,
    .page-id-307 .main-navigation .menu-toggle:focus,
    .page-id-307 .main-navigation .menu-toggle:focus-visible,
    .page-id-307 .main-navigation .menu-toggle:active,
    .page-id-307 .main-navigation .menu-toggle[aria-expanded="true"],
    .page-id-307 .main-navigation .menu-toggle[aria-expanded="false"],
    .page-id-307 .has-inline-mobile-toggle #site-navigation.toggled .menu-toggle,
    .page-id-307 .has-inline-mobile-toggle #site-navigation.toggled {
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .mobile-menu-control-wrapper .menu-toggle {
        padding: 0 !important;
    }

    .main-navigation .menu-toggle,
    .main-navigation .menu-bar-items {
        font-size: 21px;
    }

    .main-navigation .main-nav ul li a {
        padding-left: 0;
        padding-right: 0;
        line-height: 60px;
        font-size: 18px;
    }
    
    .main-navigation .main-nav ul li a {
    padding-left: 12px;
    padding-right: 12px;
    line-height: 60px;
}

    .page-id-31 .site-header,
    .page-id-31 .main-navigation,
    
        .page-id-307 .site-header,
    .page-id-307 .main-navigation{
        background-color: var(--color-grey-light);
    }

    .hero__inner {
        padding: 0 24px;
    }

    .hero__content {
        width: 100%;
        padding-top: 40px;
        padding-bottom: 0;
    }

    .hero__title-top {
        font-size: 40px;
    }

    .hero__title-main {
        font-size: 56px;
    }

    .hero__copy {
        width: 100%;
        margin-top: 26px;
        font-size: 16px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .hero__copy::before {
        top: 11px;
        right: calc(100% + 16px);
        width: 24px;
    }

    .hero__image {
        position: relative;
        width: 88%;
        max-width: 500px;
        right: auto;
        bottom: auto;
        margin: 16px auto 0;
    }

    .hero::before,
    .hero__image::before {
        display: none;
        animation: none;
    }

    .form__input-name {
        flex-direction: column;
        gap: 10px;
    }
}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

    .hero__inner {
        padding: 0 20px;
    }

    .hero__content {
        padding-top: 32px;
    }

    .hero__title-top {
        font-size: 35px;
    }

    .hero__title-main {
        font-size: 48px;
    }

    .hero__copy {
        margin-top: 22px;
    }

    .hero__image {
        width: 94%;
        margin-top: 12px;
    }
}


/* ==========================================================================
   SPRACHE
   ========================================================================== */
@media (max-width: 720px) {
.lang-item-first a::before {
  content: "";
  margin-right: 0;
}

.menu-item-305-en a {
    padding-left: 0;
}
}


/* ==========================================================================
   LEGAL – SMALL MOBILE
   ========================================================================== */

@media (max-width: 690px) {

    .site-main .legal__content .wp-block-group__inner-container,
    .site-main .about-page .wp-block-group__inner-container{
        padding: 0;
    }
    
    .display__mobile {
        display: none;
    }
}


/*404*/
.search-form {
    display: none;
}