/* FONTS */
/* ##### */

@font-face {
    font-family: 'NoyText';
    src: url('../fonts/noyhatext-1-webfont.woff') format('woff')/*,
         url('fonts/noyhatext-1-webfont.woff2') format('woff2'),
         url('fonts/noyhatext-1-webfont.ttf') format('truetype')*/;
    font-weight: normal;
    font-style: normal;

}


/*******/
/* VARS */
:root {
    --main-font-color: #000;
    --sec-font-color: #5b3a2a;
    --error-color: #c73d43;
    --main-font-family: "NoyText", sans-serif;
    --sec-font-family: 'Amatic SC', cursive;
  }
  

/* ****** */

* {
    box-sizing: border-box;
    transition: all 0.5s;
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--main-font-family);
    font-size: 1.2rem;
    color: var(--main-font-color);
    background: url(../img/bg-main.jpg) repeat-y center;
    background-size: cover;
    min-height: 100vh;
    padding-bottom: 100px;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0px 30px;
    margin: 0 auto;
}


.topbar {
    background: #fcf8f2;
    color: var(--sec-font-color);
    text-align: center;
    padding: 15px;
}

.header {
    background: url(../img/bg-header.png) no-repeat center bottom;
    background-size: cover;
    padding-bottom: 50px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-family: var(--sec-font-family);
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    background: url(../img/headline-bg.png) no-repeat center;
    background-size: contain;
    padding-top: 175px;
    padding-bottom: 20px;
}

h1 span {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.cols3, .cols2 {
    display: flex;
    flex-wrap: wrap;
}

.cols3 .col {
    width: 32%;
}

.col {
    padding: 10px;
    text-align: center;
}

h3 {
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 400;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0;
}

h3.bgwhite {
    background: url(../img/h3-bg.png) no-repeat center;
    background-size: contain;
    padding: 20px 20px 30px 20px;
    font-weight: 700;
}

.cols3 .col p {
    margin-top: -5px;
}


.cols2 .col {
    width: 50%;
}

h2 {
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 700;
    font-size: 3rem;
    text-align: center;
}

.pakete {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.pakete h3 {
    font-weight: 700;
    margin-top: 15px;
}

.pakete p {
    margin-top: 0px;
    line-height: 1.75rem;
}

.pakete button {
    color: #fff;
    background: url(../img/button-bg.png) no-repeat center;
    background-size: contain;
    padding: 15px 25px;
    border: 0;
    box-shadow: 0;
}

.formular {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

h4 {
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 700;
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 0;
}

h4.arrows:before {
    content: "";
    display: inline-block;
    background: url(../img/pfeil-l.png) no-repeat left top;
    background-size: contain;
    width: 70px;
    height: 110px;
    margin-right: 30px;
}

h4.arrows:after {
    content: "";
    display: inline-block;
    background: url(../img/pfeil-r.png) no-repeat left top;
    background-size: contain;
    width: 70px;
    height: 110px;
    margin-left: 30px;
}

h4.margintop {
    margin-top: 30px;
}

.formular input {
    padding: 20px 25px 25px 15px;
    color: #000;
    border: 0;
    box-shadow: 0;
    background: url(../img/form-field-bg.png) no-repeat center;
    background-size: contain;
    width: 100%;
    max-width: 610px;
    outline: 0;
}

.formular select {
    padding: 20px 35px 25px 15px;
    color: #000;
    border: 0;
    box-shadow: 0;
    background: url(../img/form-field-bg.png) no-repeat center;
    background-size: contain;
    width: 100%;
    max-width: 610px;
    outline: 0;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    position: relative;
    z-index: 10;
}

.formular input::placeholder {
    color: #000 !important;
    opacity: 1;
}

.select {
    position: relative;
    max-width: 610px;
    margin: 0 auto;
}

.formular .select:after {
    content: "";
    display: block;
    position: absolute;
    top: 25px;
    right: 30px;
    background: url(../img/select-pfeil.png) no-repeat center;
    width: 19px;
    height: 11px;
    z-index: 5;
}

.adresse {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
}



.gutschein {
    width: 100%;
    max-width: 444px;
    margin: 10px auto;
    background: url(../img/gutschein-bg.png) no-repeat center bottom;
    background-size: auto 100%;
    height: 168px;
}

.gutschein h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

.gutschein input {
    background: none;
    text-align: center;
    margin-top: 10px;
    width: 280px;
    margin-left: 10px;
}

input.submitbtn {
    color: #fff;
    background: url(../img/submitbtn.png) no-repeat center;
    background-size: contain;
    padding: 33px 25px 35px 15px;
}

footer {
    text-align: center;
}

footer a, main a {
    color: var(--main-font-color);
    text-decoration: none;
}

footer img {
    margin: 50px 0px
}

.notactive {
    opacity: 0.5;
}

.errormessage {
    display: none;
    font-weight: 700;
    background: var(--error-color);
    color: #fff;
    padding: 15px 25px;
    text-align: center;
    margin: 15px auto;
    width: 100%;
    max-width: 610px;
}

.mainerror .errormessage {
    display: block;
}

.formsend .errormessage {
    display: block;
    background: none;
    color: var(--main-font-color);
    font-weight: 400;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #fff;
  margin: 5px;
  -webkit-text-fill-color: 0fff;
  -webkit-box-shadow: 0 0 0px 0px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}





/* LANG POPUP */
.popup-layer {
    display: none;
}
.popup-layer.select-lang {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff8a;
    z-index: 1000;
}
.popup-box {
    width: 598px;
    height: 326px;
    position: absolute;
    left: calc(50% - 299px);
    top: calc(50% - 163px);
}
.popup-box .popup-box-inner {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-image: url('../img/popup-modal.png');
    padding: 50px 20px 20px 20px;
    box-sizing: border-box;
}
.popup-box p.popup-title {
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 700;
    font-size: 3rem;
    text-align: center;
    margin: 0px;
}
.popup-box p.popup-subtitle{
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 700;
    font-size: 25px;
    text-align: center;
    margin: 0px;
    margin-bottom: 6px;
}
.popup-box .popup-btn-box {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}
.popup-box a.popup-btn {
    height: 130px;
    width: 130px;
    margin: 0 20px;
    position: relative;
}
.popup-box a.popup-btn .img{
    position: absolute;
    top: 14px;
    left: calc(50% - 23px);
    width: 46px;
    height: 46px;
}
.popup-box a.popup-btn .text {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    left: 0px;
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 700;
    font-size: 3rem;
    text-align: center;
    color: var(--main-font-color);
}
.popup-box a.popup-btn.de .img {
    background-repeat: no-repeat;
    background-image: url('../img/popup-flage-de.png');
}
.popup-box a.popup-btn.en .img {
    background-repeat: no-repeat;
    background-image: url('../img/popup-flage-en.png');
}
.popup-box a.popup-btn.ro .img {
    background-repeat: no-repeat;
    background-image: url('../img/popup-flage-ro.png');
}
.step-text p {
    line-height: 1.75rem;
}



/* change font if lang: ro */
body.ro {
    font-family: Calibri !important;
    font-size: 17px;
}

/* lang menu */
.lang-menu {
    position: absolute;
    top: 49px;
    right: 0;
    width: 350px;
}

.lang-menu .lang-menu-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0px 0 0;
}

.lang-menu .lang-menu-inner .lang {
    width: calc(100% / 3);
    height: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-decoration: none !important;
}
.lang-menu .lang-text {
    text-transform: uppercase;
    font-family: var(--sec-font-family);
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    color: var(--main-font-color);
    text-decoration: none !important;
    width: 100%;
}

.lang-menu .lang-icon {
    height: 30px;
    width: 30px;
}
.lang-menu .lang.de .lang-icon,
.lang-menu .lang.en .lang-icon,
.lang-menu .lang.ro .lang-icon {
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 5px;
}
.lang-menu .lang.de .lang-icon {
    background-image: url('../img/popup-flage-de.png');
}
.lang-menu .lang.en .lang-icon {
    background-image: url('../img/popup-flage-en.png');
}
.lang-menu .lang.ro .lang-icon {
    background-image: url('../img/popup-flage-ro.png');
}


/* pending site */
/*****************/
.maincontent.pending .container {
    text-align: center !important;
    max-width: 860px;
    padding-top: 20px;
}
.maincontent.pending h2 {
    font-size: 34px !important;
    margin-bottom: 32px;
}
.maincontent.pending .container p{
    margin-bottom: 26px;
}






/* Media Queries */
/*****************/

@media(max-width: 940px) {

    /* lang menu */
    .lang-menu{
        width: 260px;
    }
}


@media(max-width: 767px) {
    .container {
        padding: 0px 15px;
    }

    .cols3 .col {
        width: 100%;
    }

    .cols2 .col {
        width: 100%;
    }

    input.submitbtn {
        background-size: cover;
        padding: 20px 25px 20px 15px;
    }

    /* lang menu */
    .lang-menu {
        width: 140px;
        right: 10px;
    }
    .lang-menu .lang-text {
        font-size: 15px;
    }
}

@media(min-width: 640px) {
    .adresse .input-2-3 {
        width: 470px;
        background: url(../img/form-field-bg-s.png) no-repeat center;
        background-size: contain;
    }
    
    .adresse .input-1-3 {
        width: 130px;
        margin-left: 10px;
        background: url(../img/form-field-bg-xs.png) no-repeat center;
        background-size: contain;
    }
}

@media(max-width: 480px) {
    h1 {
        font-size: 2rem;
        padding-top: 155px;
    }

    h1 span {
        font-size: 3.5rem;
    }

    h4.arrows:before, h4.arrows:after {
        width: 35px;
        height: 55px;
    }

    /* LANG POPUP */
    .popup-box a.popup-btn {
        width: 80px;
        height: 100px;
        margin: 0 10px;
    }
    .popup-box a.popup-btn .text {
        font-size: 26px;
    }
    .popup-box p.popup-title {
        font-size: 40px;
        margin-bottom: 7px;
    }
    .popup-box p.popup-subtitle {
        font-size: 17px !important;
    }
    .popup-box p.popup-subtitle {
        margin-bottom: 28px;
    }

    /* lang menu */
    .lang-menu {
        width: 60px;
        top: 45px;
        right: 0px;
    }
    .lang-menu .lang-menu-inner {
        flex-wrap: wrap;
        padding-top: 10px;
    }
    .lang-menu .lang-menu-inner .lang {
        width: 100%;
        padding: 4px 0px;
    }
    .topbar {
        font-size: 14px;
    }
    .lang-text {
        display: none;
    }
}

@media(max-width: 345px) {

    h4.arrows:before, h4.arrows:after {
        display: none;
    }

    .pakete img {
        max-width: 100%;
        height: auto;
    }
}