@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


/* General */
body {
    background: #f5f5f5 url(../images/bg-pattern-line-3.svg);
    background-repeat: repeat;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.site-main {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}

.posts,
.page {
    margin: 0;
}

.entry-content {
    margin: 0;
}

/* Editor */

body.js.block-editor-page {
    background: var(--wp--preset--color--lightgray);
}

.editor-styles-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
    background-color: var(--wp--preset--color--lightgray);
}

.editor-styles-wrapper .block-editor-block-list__layout {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.wp-block {
    max-width: 1140px !important;
}

/* Header */

.site-header {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Top bar */
.header-top-bar {
    color: #fff;
    font-size: 0.875rem;
    padding: 0.2rem 0;
}

.header-top-bar a {
    color: #fff;
    text-decoration: none;
}

/* Header main */
.header-main {
    padding: 0.3rem 0;
    position: relative;
    z-index: 10;
    position: sticky;
}

@media only screen and (min-width: 990px) {
    .header-main {
        padding: 0.2rem;
    }
}

.site-logo img {
    height: auto;
    width: 100%;
    max-width: 250px;
    padding: 0.5rem;
}

/* Basisliste */
/* Reset */
.main-menu,
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu li {
    position: relative;
}

.main-menu>li {
    display: inline-block;
}

/* Link-Styling */
.main-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.main-menu li.current_page_item>a {
    background-color: #f0f4ff;
}

.main-menu li:hover>a {
    background-color: #f0f4ff;
}

/* Dropdown Level 1 */
.main-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.main-menu li ul a {
    font-weight: normal;
}

.main-menu li:hover>ul {
    display: block;
}

/* Dropdown Level 2 */
.main-menu li ul li ul {
    top: 0;
    left: 100%;
    margin-left: 2px;
    /* Abstand zum Parent-Menü */
    z-index: 1001;
}

.main-menu li ul li:hover>ul {
    display: block;
}

/* Pfeile */
.main-menu li.menu-item-has-children>a::after {
    content: ' ▾';
    font-size: 0.75em;
    margin-left: 0.3em;
}

.main-menu li ul li.menu-item-has-children>a::after {
    content: ' ▸';
    font-size: 0.75em;
    margin-left: 0.3em;
}


@media only screen and (max-width: 992px) {
    .main-menu>li {
        display: block;
    }

    .main-menu li ul {
        position: static;
        box-shadow: none;
        background: none;
    }
}

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45px;
    height: 35px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: fixed;
    top: 1rem;
    right: 5vw;
    background: white;
    padding: .4rem;
    border-radius: 0;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #003b8f;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menü Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menü Liste */
.mobile-menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-list a {
    text-decoration: none;
    color: #003b8f;
    font-weight: 500;
    font-size: 1rem;
    font-weight: bold;
}

.mobile-menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-list .sub-menu {
    list-style-type: none;
    padding: 0 0.5rem;
    margin: 0;
    border-left: 1px solid #ddd;
}

.mobile-menu-list .sub-menu li {
    padding: 0.1rem 0.2rem
}

.mobile-menu-list .sub-menu li a {
    color: #333;
    font-size: 0.9rem;
    font-weight: normal;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Footer Menu */
.footer-menu {
    margin: 0;
    padding: 0;
    display: flex;
    list-style-type: none;
}

.footer-menu li {
    margin: 0 1.5rem;
}

.footer-menu li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

/* Fixed Elements */
.apply-now {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 500;
    padding: 0.6rem 1rem;
    background: var(--wp--preset--color--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px
}

.apply-now:hover {
    background: var(--wp--preset--color--secondary);
    color: white;
}

.apply-now:visited {
    color: white;
}

/* Überschriften */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading,
.wp-block-post-title {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Lists */

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

.list-unstyled li {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid #ddd;
}

.list-inline li {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    display: inline-block;
}


/**
*
* Content
*
**/


/* Benefits Grid */

.benefits-grid {
    grid-gap: 2rem;
}

.benefits-grid .wp-block-media-text__media {
    background: white;
    padding: 1.5rem;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    max-width: 150px;
}

/* Feature Grid  */

.feature-grid {
    grid-gap: 3rem;
}

.feature-grid .wp-block-media-text {
    position: relative;
}

.feature-grid .wp-block-media-text:after {
    width: 20px;
    height: 20px;
    content: '';
    background: var(--wp--preset--color--secondary);
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    border-radius: 50%;

}

.feature-grid .wp-block-media-text:nth-child(even):after {
    background: var(--wp--preset--color--primary);
}

.feature-grid .wp-block-media-text__media img {
    position: relative;
}

.feature-grid .wp-block-media-text__media:after {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    background: var(--wp--preset--color--primary);
    transition: all 0.1s linear;
}

.feature-grid .wp-block-media-text .wp-block-media-text__content {
    padding: 8%;
}

.feature-grid .wp-block-media-text:hover .wp-block-media-text__media:after {
    opacity: 1;

}

/* Jobs Grid */
.jobs-grid .wp-block-group__inner-container {
    background: #fff;
    border-radius: 15px;
}

.jobs-grid .is-layout-grid {
    margin: 0;
}

/* Jobanfrage */

.jobanfrage-wrapper {
    padding: 0;
}

.jobanfrage-grid {
    background: inherit;
}

/* Seperator */
.wp-block-separator {
    border-top: 5px solid;
    width: 120px;
}

/**
*
* Gutenberg Fixes
*
**/

/* Image */
.wp-block-post-featured-image {
    overflow: hidden;
}

/* Fix Picture Ratios */
.wp-block-image picture,
.wp-block-cover picture,
.wp-block-media-text picture {
    display: block;
    width: 100%;
    height: auto;
}

.wp-block-image picture img,
.wp-block-cover picture img,
.wp-block-media-text picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aspect-container {
    width: 100%;
    overflow: hidden;
    display: block;
    position: relative;
}

.aspect-container.ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-container.ratio-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-container.ratio-1-1 {
    aspect-ratio: 1 / 1;
}

.aspect-container.ratio-21-9 {
    aspect-ratio: 21 / 9;
}

.wp-block-gallery .blocks-gallery-image picture {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* Buttons */

.wp-block-button__link.is-style-primary {
    background-color: #003b8f;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s ease;
}

.wp-block-button__link.is-style-primary:hover {
    background-color: #001f4d;
}

/* Spacer */

@media only screen and (max-width:990px) {
    .wp-block-spacer {
        max-height: 50px;
    }
}

/**
*
* Styles
*
**/


/* Styles */

.is-style-primary {
    background: rgb(227, 0, 15);
    background: -moz-linear-gradient(54deg, rgba(13, 60, 138, 1) 80%, rgba(277, 0, 15, 1) 80%);
    background: -webkit-linear-gradient(54deg, rgba(13, 60, 138, 1) 80%, rgba(277, 0, 15, 1) 80%);
    background: linear-gradient(54deg, rgba(13, 60, 138, 1) 80%, rgba(277, 0, 15, 1) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e3000f", endColorstr="#0d3c8a", GradientType=1);
}

.is-style-rounded img {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 15px;
}

.has-box-shadow-white img {
    box-shadow: -10px -10px 0px white;
}

.has-box-shadow-blue img {
    box-shadow: -10px -10px 0px var(--wp--preset--color--primary);
}

.has-box-shadow-red img {
    box-shadow: -10px -10px 0px var(--wp--preset--color--secondary);
}


/* Colors */

.has-primary-background-color {
    background: rgb(227, 0, 15);
    background: -moz-linear-gradient(54deg, rgba(227, 0, 15, 1) 31%, rgba(13, 60, 138, 1) 31%);
    background: -webkit-linear-gradient(54deg, rgba(227, 0, 15, 1) 31%, rgba(13, 60, 138, 1) 31%);
    background: linear-gradient(54deg, rgba(227, 0, 15, 1) 31%, rgba(13, 60, 138, 1) 31%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e3000f", endColorstr="#0d3c8a", GradientType=1);
}

.has-secondary-background-color {
    background-color: #e3000f;
}

.has-lightgray-background-color {
    background-color: #f5f5f5;
}

.has-darkgray-background-color {
    background-color: #333333;
}

.has-primary-color {
    color: #0d3c8a;
}

.has-secondary-color {
    color: #e3000f;
}

.has-lightgray-color {
    color: #f5f5f5;
}

.has-darkgray-color {
    color: #333333;
}

.has-primary-border-color {
    border-color: #0d3c8a;
}

.has-secondary-border-color {
    border-color: #e3000f;
}

.has-lightgray-border-color {
    border-color: #f5f5f5;
}

.has-darkgray-border-color {
    border-color: #333333;
}

.wp-block-button__link.has-primary-background-color {
    background-color: #0d3c8a;
    color: #fff;
}

.wp-block-button__link.has-primary-background-color:hover,
.wp-block-button__link.has-primary-background-color:focus {
    background-color: #0a2e6b;
}

.wp-block-button__link.has-secondary-background-color {
    background-color: #e3000f;
    color: #fff;
}

.wp-block-button__link.has-secondary-background-color:hover,
.wp-block-button__link.has-secondary-background-color:focus {
    background-color: #b8000c;
}

.wp-block-button__link.has-lightgray-background-color {
    background-color: #f5f5f5;
    color: #333;
}

.wp-block-button__link.has-lightgray-background-color:hover,
.wp-block-button__link.has-lightgray-background-color:focus {
    background-color: #e0e0e0;
}

.wp-block-button__link.has-darkgray-background-color {
    background-color: #333333;
    color: #fff;
}

.wp-block-button__link.has-darkgray-background-color:hover,
.wp-block-button__link.has-darkgray-background-color:focus {
    background-color: #1f1f1f;
}

.bg-logo-gradient {
    background: rgb(227, 0, 15);
    background: -moz-linear-gradient(54deg, rgba(227, 0, 15, 1) 31%, rgba(13, 60, 138, 1) 31%);
    background: -webkit-linear-gradient(54deg, rgba(227, 0, 15, 1) 31%, rgba(13, 60, 138, 1) 31%);
    background: linear-gradient(54deg, rgba(227, 0, 15, 1) 31%, rgba(13, 60, 138, 1) 31%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e3000f", endColorstr="#0d3c8a", GradientType=1);
}

/* Shapes */

.ih-hero-text:after {
    position: absolute;
    top: -30px;
    right: -30px;
    background: url(../images/logo-shape-top-right.svg);
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
    content: '';
    display: block;
}