@font-face {
    font-family: p-font-regular;
    src: url("../fonts/TitilliumWeb-Regular.ttf");
}

@font-face {
    font-family: h1-font-bold;
    src: url("../fonts/TitilliumWeb-Bold.ttf");
}

html,
body {
    margin-top: 0px;
}

h1,
h2 {
    font-family: h1-font-bold;
    font-size: 45px;
    line-height: 55px;
    color: #006cb7;
    margin: 0;
}

h3 {
    font-family: h1-font-bold;
    font-size: 30px;
    color: #006cb7;
    line-height: 36px;
    margin: 0;
}

p,
a,
li,
::after {
    font-family: p-font-regular;
    font-size: 18px;
}

::after {
    margin-left: 10px;
}

hr {
    border-top: 1px solid black;
}

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

    h1,
    h2 {
        font-family: h1-font-bold;
        font-size: 35px;
        line-height: 50px;
        color: #006cb7;
        margin: 0;
    }

    h3 {
        font-family: h1-font-bold;
        font-size: 25px;
        color: #006cb7;
        margin: 0;
    }

    p,
    a,
    li,
    ::after {
        font-family: p-font-regular;
        font-size: 16px;
    }
}

/**************  Flex Container  *********************/

.container-flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*border: 1px solid black;*/
}

.container-flex-row {
    display: flex;
    justify-content: center;
    /*border: 1px solid black;*/
}

/**************  Navigation  *******************/

.navigation {
    position: -webkit-sticky;
    position: sticky;
    justify-content: space-around;
    align-items: center;
    top: 0;
    z-index: 1;
    height: 60px;
    background-color: #ffffffe0;
}

.navigation img {
    height: 30px;
}

.navigation a {
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    color: #006CB7;
}

.navigation a:hover {
    color: #6d6d6d
}

@media screen and (max-width: 810px) {
    .navigation a {
        font-size: 16px;
    }
}

@media screen and (max-width: 700px) {
    .navigation {
        display: none;
    }
}

/**************  mobile Navigation  ******************/

.mobile-navigation {
    background-color: rgb(255 255 255 / 85%);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-navigation ul {
    list-style: none;
    padding-left: 2%;
}

.mobile-navigation li a {
    color: #006cb7;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-decoration: none;
}

.mobile-navigation div:first-child {
    height: 50px;
    width: 100%;
    align-items: center;
}

.mobile-navigation div:last-child {
    display: flex;
    justify-content: normal;
    width: 100%;
    display: none;
}

.mobile-navigation div:first-child img {
    max-height: 30px;
    width: auto;
    margin-left: 2%;
}

.mobile-navigation div:first-child svg {
    margin-right: 2%;
    margin-left: auto;
}

.mobile-navigation svg:nth-last-child(2) {
    display: none;
}

@media screen and (min-width: 701px) {
    .mobile-navigation {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .mobile-navigation li a {
        font-size: 14px;
    }
}

/**************  Header  ************************/
.header-text {
    margin-bottom: 50px;
}

.header-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 50px 30px;
}

.header-text div {
    max-width: 1160px;
    background-color: #E5E5E5;
    padding: 20px;
    border-radius: 5px;
}

.header-text h1,
.header-text h3 {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px
}

.header-text p {
    padding: 5px 20px 5px 20px;
}

@media screen and (max-width: 480px) {
    .header-logo img {
        max-width: 220px;
        margin: 40px 30px;
    }

    .header-text p {
        padding: 5px 0px 5px 0px;
    }
}

/**************  YES / NO  ************************/
.yes-no {
    margin-bottom: 100px;
}

.yes-no-grid {
    display: grid;
    max-width: 720px;
    justify-items: center;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
}

.yes-no-grid img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

/**************  Call to action / MARO Mockup  **************/

.call-to-action-mockup {
    background-color: #f0eef6;
    margin-bottom: 100px;
}

.call-to-action-mockup h2 {
    margin-top: -12px;
}

.call-to-action-mockup img:first-child {
    width: 230px;
}

.call-to-action-mockup div:only-child {
    max-width: 1100px;
    padding: 50px 50px;
}

.call-to-action-mockup>div>div:nth-child(2) {
    align-items: normal;
    padding-left: 95px;
    padding-right: 20px;
}

.call-to-action-mockup>div>div:nth-child(2)>p:nth-last-child(2),
.call-to-action-mockup>div>div:nth-child(1)>p:nth-last-child(2) {
    font-size: 24px;
    letter-spacing: 1px;
}

.button-mockup {
    max-width: 180px;
    background-color: #006CB7;
    display: inline;
    color: white;
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 2px;
    text-decoration: none;
    border-radius: 5px;
    padding: 25px 25px;
    text-align: center;
}

.button-mockup:hover {
    background-color: #006bb79d;
}

/******************   Responsive   ******************/

@media screen and (min-width: 930px) {

    .call-to-action-mockup>div>div:first-child>a,
    .call-to-action-mockup>div>div:first-child>p {
        display: none;
    }
}

@media screen and (min-width: 795px) and (max-width: 929px) {

    .call-to-action-mockup>div>div:last-child>a,
    .call-to-action-mockup>div>div:last-child>p:nth-last-child(2) {
        display: none;
    }
}

@media screen and (max-width: 794px) {
    .call-to-action-mockup>div:only-child {
        flex-direction: column;
    }

    .call-to-action-mockup>div>div:first-child>a,
    .call-to-action-mockup>div>div:first-child>p {
        display: none;
    }

    .call-to-action-mockup>div>div:last-child {
        align-items: center;
        padding-left: 0px;
        padding-right: 0px;
    }

    .call-to-action-mockup img:first-child {
        max-width: 230px;
        width: 100%;
        height: auto;
    }

    .call-to-action-mockup img:nth-child(2) {
        max-width: 380px;
        width: 100%;
        height: auto;
    }

    .call-to-action-mockup h2 {
        margin-top: 20px;
        text-align: center;
    }

    .call-to-action-mockup h3 {
        text-align: center;
    }
}

/**************  YOU / WE  **************/

.you-we-hero {
    background-image: url("../img/Sichtbeton.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 800px;
    align-items: center;
    margin-bottom: 50px;
}

.you-we-hero div {
    background-color: #FFFFFF96;
    width: 450px;
    min-height: 273px;
    padding-top: 30px;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 5px;
}

.you-we-hero h1 {
    text-align: center;
}

.you-we-hero div:first-child {
    margin-right: 40px;
    margin-left: 10px;
}

.you-we-hero div:last-child {
    margin-left: 40px;
    margin-right: 10px;
}

@media screen and (min-width: 951px) and (max-width: 1120px) {
    .you-we-hero div:first-child {
        margin-right: 30px;
    }

    .you-we-hero div:last-child {
        margin-left: 30px;
    }
}

@media screen and (min-width: 801px) and (max-width: 950px) {
    .you-we-hero div:first-child {
        margin-right: 20px;
    }

    .you-we-hero div:last-child {
        margin-left: 20px;
    }
}

@media screen and (min-width: 661px) and (max-width: 800px) {
    .you-we-hero div:first-child {
        margin-right: 5px;
    }

    .you-we-hero div:last-child {
        margin-left: 5px;
    }
}

@media screen and (max-width: 660px) {
    .you-we-hero {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .you-we-hero p {
        margin-left: 20px;
        margin-right: 20px;
    }

    .you-we-hero div {
        width: 100%;
        min-height: 250px;
        padding: 40px 0px 0px 0px;
    }

    .you-we-hero div:first-child {
        margin: 0px 0px 10px 0px;
    }

    .you-we-hero div:last-child {
        margin: 10px 0px 0px 0px;
    }
}

/**************  MARO - Plug for tie points  **************/

.plug-tie {
    margin-bottom: 50px;
}

.plug-tie h3 {
    margin-bottom: 20px;
}

.plug-tie div:first-child,
.plug-tie p {
    max-width: 1200px;
    width: 100%;
    align-items: normal;
}

.plug-tie-grid-flex-1,
.plug-tie-grid-flex-2 {
    display: grid;
    max-width: 1200px;
    justify-items: center;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.plug-tie-grid-flex-1>img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.plug-tie-grid-flex-2>img {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/**************  MARO - Plug  **************/

.plug {
    margin-bottom: 100px;
}

.plug div:first-child,
.plug div:nth-child(3) {
    max-width: 1200px;
    width: 100%;
    align-items: normal;
}

.plug h3 {
    margin-bottom: 20px;
}

.plug div:nth-child(4) {
    max-width: 1200px;
    width: 100%;
}

.plug>div:last-child div {
    display: flex;
    justify-content: center;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .plug>div:last-child {
        flex-direction: column;
    }
}

@media screen and (min-width: 381px) and (max-width: 767px) {
    .plug>div:last-child>div:first-child ul {
        margin-left: 39px;
    }

    .plug>div:last-child>div:last-child ul {
        margin-left: -2px;
    }
}

@media screen and (max-width: 380px) {
    .plug>div:last-child div {
        justify-content: left;
    }

}

.plug>img {
    max-width: 1200px;
    width: 100%;
    height: auto;
}

/**************  MARO - Call to action 2  **************/

.call-to-action-plug {
    background-color: #f0eef6;
    margin-bottom: 100px;
}

.call-to-action-plug h2 {
    margin-top: -12px;
}

.call-to-action-plug img {
    width: 230px;
    margin-left: 15px
}

.call-to-action-plug div:only-child {
    max-width: 1100px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.call-to-action-plug>div:only-child div:last-child {
    align-items: normal;
    padding-left: 95px;
    padding-right: 20px;
}

.button-plug {
    max-width: 180px;
    background-color: #006CB7;
    display: inline;
    color: white;
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 2px;
    text-decoration: none;
    border-radius: 5px;
    padding: 25px 25px;
    text-align: center;
}

.button-plug:hover {
    background-color: #006bb79d;
}

/******************   Responsive   ******************/

@media screen and (max-width: 794px) {
    .call-to-action-plug>div:only-child {
        flex-direction: column;
        padding: 50px;
    }

    .call-to-action-plug>div:only-child div:last-child {
        align-items: center;
        padding: 0px;
    }

    .call-to-action-plug img {
        max-width: 230px;
        width: 100%;
        height: auto;
        margin: 0px;
    }

    .call-to-action-plug h2 {
        margin-top: 20px;
        text-align: center;
    }
}


/**************  MARO - Call to action 2  **************/


/**************  MARO - The MARO System  **************/

.maro-system>div {
    max-width: 1200px;
    width: 100%;
    align-items: normal;
}

.maro-system img {
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}

.maro-system>div:last-child {
    display: grid;
    gap: 50px 50px;
    grid-template-columns: repeat(auto-fit, minmax(min(367px, 100%), 1fr));
    margin-bottom: 50px;
}

.maro-system>div:last-child div {
    display: flex;
    flex-direction: column;
}

.maro-system>div:last-child>:nth-child(1) p,
.maro-system>div:last-child>:nth-child(2) p {
    height: 55px;
}

.maro-system>div:last-child>:nth-child(3) p,
.maro-system>div:last-child>:nth-child(4) p {
    height: 75px;
}

.button-system {
    background-color: #006CB7;
    display: inline;
    color: white;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 5px;
    padding: 5px 20px;
    text-align: center;
}

@media screen and (max-width: 799px) {
    .maro-system>div:last-child div {
        align-items: center;
    }

    .maro-system>div:last-child>:nth-child(1) p,
    .maro-system>div:last-child>:nth-child(2) p {
        height: auto;
        padding-left: 50px;
        padding-right: 50px;
        text-align: center;
    }

    .maro-system>div:last-child>:nth-child(3) p,
    .maro-system>div:last-child>:nth-child(4) p {
        height: auto;
        padding-left: 50px;
        padding-right: 50px;
        text-align: center;
    }

    .button-system {
        width: 90%;
    }
}

/**************  MARO - Shipping  **************/

.shipping>div {
    max-width: 1200px;
    width: 100%;
    align-items: normal;
    margin-bottom: 50px;
}

/**************  MARO - Impressum  **************/

.impressum {
    margin-top: 30px;
    margin-bottom: 30px;
}

.impressum>div:only-child {
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.impressum img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.impressum>div>div:last-child {
    margin-left: -120px;
}

@media screen and (max-width: 715px) {
    .impressum>div>div:last-child {
        margin-left: 0px;
        margin-top: 20px;
    }

    .impressum>div>div:last-child p {
        margin-bottom: 35px;
    }
}

.impressum p {
    text-align: center;
}

.impressum-grid {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
}

.phone,
.fax {
    margin-bottom: 20px;
}

.svg-icon {
    width: 25px;
    height: 25px;
    margin-bottom: -10px;
}

.phone::after {
    content: "+49 2154 9460 10";
}

.fax::after {
    content: "+49 2154 9460 98";
}

.mail::after {
    content: "sales@maro.info";
}

/**************  MARO - legal-notice  **************/

.legal-notice div {
    display: flex;
    max-width: 1200px;
    justify-content: center;
}

.legal-notice p {
    font-size: 12px;
    padding: 12px;
    max-width: 300px;
}

.legal-notice>div :nth-child(2) {
    line-height: 22px;
}

.legal-notice a {
    font-size: 12px;
}

@media screen and (max-width: 794px) {
    .legal-notice div {
        flex-direction: column;
    }

    .legal-notice p {
        max-width: 100%;
    }
}