/*!
Theme Name:   SHIELD
Description:  Theme for SHIELD
Author:       DLR-PT
Author URI:   https://projekttraeger.dlr.de/de
Version:      e8d8f56f
Template:     shield
*/


/* General Layout */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
}

.content-width {
    max-width: 1156px;
    margin: 0 auto;
}

@media screen and (max-width: 1200px) {
    .content-width {
        max-width: 100%;
        margin: 0 auto;
        padding: 0px 30px;
    }
}

.wp-site-blocks h1,
.wp-site-blocks h2 {
    position: relative;
    margin-bottom: 55px !important;
}

.wp-site-blocks h1::after,
.wp-site-blocks h2::after {
    content: "";
    display: inline-block;
    height: 3px;
    width: 50px;
    position: absolute;
    left: 0px;
    bottom: -18px;
    background-color:  var(--wp--preset--color--shield-orange);
}

.home .wp-site-blocks h1 {
    margin: 0 !important;
}

.home .wp-site-blocks h1::after {
    display: none;
}

/* Content */

.wp-block-columns:has(> .focus-box) {
    justify-content: center;
}

.entry-content:has(> .header-teaser-start) {
    margin-block-start: 5px;
}

.header-teaser-start {
    height: 500px;
    padding-left: 200px;
}

@media screen and (max-width: 1200px) {
    .header-teaser-start {
        height: 400px;
        padding-left: 100px;
    }
}

@media screen and (max-width: 980px) {
    .header-teaser-start {
        height: 350px;
        padding-left: 30px;
    }
    .header-teaser-start .wp-block-cover__inner-container {
        scale: 0.8;
    }
}

.header-teaser-start h2 {
    font-size: 80px;
    line-height: 80px;
    text-shadow: 0px 0px 10px #00000026;
}

.wp-site-blocks .header-teaser-start h2::after {
    background-color: #fff;
    bottom: -40px;
}

.wp-site-blocks .header-teaser-start h2 strong {
    position: relative;
}

.wp-site-blocks .header-teaser-start h2 strong::after {
    content: "";
    display: inline-block;
    height: 126px;
    width: 102px;
    position: absolute;
    right: -120px;
    top: -17px;
    background-color: transparent;
    background-image: url(/wp-content/uploads/public/shield-header.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 800px) {
    
    .wp-site-blocks .header-teaser-start h2 strong::after {
        display: none;
    }

    .header-teaser-start h2 {
        font-size: 50px;
        line-height: 60px;
    }

    .header-teaser-start {
        height: 280px;
        padding-left: 0px;
    }
}

.header-teaser-start p {
    font-size: 24px;
    line-height: 35px;
    text-shadow: 0px 0px 10px #00000026;
}

.wp-block-column.has-background {
    padding: 40px 30px 48px 30px;
}

.focus-box {
  padding: 25px 20px 0px 20px !important;
  max-width: 31%;
  box-sizing: border-box;
  align-self: stretch !important;
  box-shadow: 0px 0px 25px #00254A;
  transition: all ease-in-out 0.3s;
}

.focus-box h3,
.focus-box h3 a {
    color: var(--wp--preset--color--shield-blue);
    font-weight: normal;
    position: relative;
    margin-bottom: 0px !important;
    margin-top: 20px;
    text-decoration: none;
}

.focus-box h3::after {
    content: "";
    display: inline-block;
    height: 3px;
    width: 50px;
    position: absolute;
    left: 0px;
    bottom: -7px;
    background-color:  var(--wp--preset--color--shield-orange);
    transition: all ease-in-out 0.3s;
}

.focus-box h4 {
    color: var(--wp--preset--color--shield-blue);
    font-weight: bold;
}

.focus-box p {
    margin-block-start: 1rem;
}

.focus-box figure.wp-block-image {
    margin-left: -20px;
    margin-right: -20px;
}

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

    .focus-box {
        max-width: 100%;
        align-self: flex-start;
        }

    .focus-box figure.wp-block-image {
        max-width: 300px;
        margin: 20px auto;
    }
}

.shadow-box {
    box-shadow: 0px 0px 35px #00000012;
}

/* Header */

.logo-container {
    margin-block-start: 40px !important;
}

.logo-left {
    width: 310px;
}

.logo-left img {
    width: 310px !important;
    max-width: 100%;
}

.logo-right {
    width: 260px;
}

.logo-right img {
    width: 260px !important;
    max-width: 100%;
}

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

    .logo-left, .logo-left img {
        width: 200px;
    }

    .logo-right, .logo-right img {
        width: 200px;
    }
}

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

    .logo-container {
        flex-direction: column;
        margin-block-start: 10px !important;
        gap: 0;
    }

}

.main-menu-nav {
    width: 100%;
}

.main-menu-nav ul {
    gap: 0;
}

.main-menu-nav ul li a {
    padding-top: 14px;
    padding-bottom: 14px;
    transition: all ease-in-out 0.2s;
}

.main-menu-nav ul li a:hover {
    text-decoration: none;
    background-color: #003F7C;
}

.main-menu-nav ul li:first-child {
    margin-left: 12px;
}

.main-menu-nav .main-nav-start a::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 20px;
    background-image: url(assets/icons/icon-home.svg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 9px;
    margin-bottom: -2px;
}

.main-menu-nav ul li:last-child {
    margin-right: 12px;
    margin-left: auto;
}

.main-menu-nav .main-nav-login a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(assets/icons/icon-user.svg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 6px;
    margin-bottom: -3px;
}

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

    .main-menu-nav > button{
        padding: 10px;
    }

    .wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
        width: 30px;
        height: 30px;
    }

    .main-menu-nav ul li:first-child {
        margin-left: 0px;
    }

    .main-menu-nav .main-nav-start a::before {
        display: none;
    }

    .main-menu-nav ul li:last-child {
        margin-right: 0px;
        margin-left: 0;
        margin-top: 50px;
    }

}

/* Breadcrumb */

nav.yoast-breadcrumbs ol {
    list-style: none;
    margin: 40px 0 0 0;
    padding: 0;
    font-size: var(--wp--preset--font-size--custom-1);   
}

nav.yoast-breadcrumbs ol li {
    display: inline-block;
    margin-left: 7px;
}

nav.yoast-breadcrumbs ol li .breadcrumb-arrow {
    margin-left: 7px;
}

nav.yoast-breadcrumbs ol li:first-child {
    margin-left: 0px;
}

nav.yoast-breadcrumbs ol li,
nav.yoast-breadcrumbs ol li a {
    color: #767676;
}

/* Forms */
input[type=text], input[type=email] {
  width: 364px;
  padding: 12px;
  margin: 10px 0;
  box-sizing: border-box;
  border: 1px solid #707070;
}

input:placeholder-shown {
  background-color: #fff;
  color: #767676;	
  border-radius: 1px;
}

textarea {
  width: 364px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 1px solid #707070;
  border-radius: 1px;
  resize: none;
}

input[type=checkbox] {
 background-color: red;
 padding: 20px 12px 20px 0px;
}


label {
  display: block; /* Nimmt die volle Breite ein */
  font-weight: bold;
  color: #282828;
  margin-bottom: 8px; /* Abstand zum Eingabefeld */
  font-size: 16px;
}

.pflicht {
   color: #767676;
   line-height: 2rem;
   font-size: 1rem;
   font-weight: 400;

}

input[type=submit], input[type=reset] {
  background-color: #002E5B;
  border: none;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 18px;
  margin: 4px 2px;
  cursor: pointer;
}

/* Forms-Ende */

/* Footer */

footer .wp-block-group-is-layout-flex {
    gap: 0;
}

.footer-contact {
    padding-top: 60px;
    padding-bottom: 80px;
}

.footer-service-nav {
    padding-top: 14px;
    padding-bottom: 16px;
}

.footer-service-nav nav {
    width: 100%;
}

.footer-service-nav nav ul {
    display: flex;
    align-items: center;
}

.footer-service-nav nav ul li:last-child {
    margin-left: auto;
    margin-right: 35px;
}

.footer-service-nav nav a {
    text-underline-offset: 6px;
    transition: all ease-in-out 0.3s;
    text-decoration-color: #ffffff00;
}

.footer-service-nav nav a:hover {
    text-underline-offset: 4px;
    text-decoration-color: #fff;
}

.footer-service-nav nav ul li:last-child a::after {
    content: "";
    width: 26px;
    height: 26px;
    display: inline-block;
    background-image: url(assets/icons/icon-back-to-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 9px;
    position: absolute;
    transition: all ease-in-out 0.25s;
}

.footer-service-nav nav ul li:last-child a:hover::after {
    margin-top: -3px;
}

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

    .footer-service-nav .wp-block-navigation__container {
    flex-direction: column;
    }

    .footer-service-nav nav ul li:last-child {
        margin: 0;
    }

    .footer-service-nav {
        padding-top: 24px;
        padding-bottom: 26px;
    }
}