* {
    box-sizing: border-box;
}

html {
    margin: 0;
    scroll-behavior: smooth;
    
    --primary: #1884ec;
    --secondary: #e88c04;
    --tertiary: #ffffff;
}

body {
    margin: 0px;
    font-family: "Open Sans";
    color: #303E44;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 800;
}

p {
    line-height: 1.7;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
}

section {
    padding: 55px 20px 65px;
    background-size: cover;
    background-position: center;
}

input[type="text"],
input[type="number"],
select {
    font-family: inherit;
    font-size: 0.95em;
    outline: none;
    background: none;
}
input::placeholder {
    color: #bdc8cc;
}

/********** REUSABLES **********/

.btn {
    display: block;
    padding: 13px 40px 13px 24px;
    width: 100%;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.btn::after,
.btn::after {
    content: "";
    width: 7px;
    height: 7px;
    transform: translate(10px, 8px) rotate(225deg);
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transition: transform 0.3s, opacity 0.3s;
    position: absolute;
}

.primary {
    background: var(--primary);
    color: #ffffff;
}
.primary:hover {
    background-color: #2b98fe;
}

.secondary {
    background: var(--secondary);
    color: #ffffff;
}
.secondary:hover {
    background-color: rgb(255, 126, 40);
}

.bottom-line {
    position: relative;
}
.bottom-line::after {
    content: "";
    position: absolute;
    background-color: #303e44;
    width: 110px;
    height: 1.3px;
    bottom: -8px;
    left: 0;
}
.bottom-line.light::after {
    background: #fff;
}

.flex {
    display: flex;
}

/********** SECTIONS **********/

header {
    padding: 2px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 60px;
}
header .btn {
    padding: 10px 25px;
    font-size: 0.9em;
    width: auto;
}
header .btn::after {
    content: none;
}

#section-hero {
    background: url("../images/herobg.jpg") center / cover no-repeat, rgba(0, 7, 40, 0.55);
    background-blend-mode: overlay;
}
h1 {
    color: white;
    font-weight: 800;
    margin-top: 20px;
    font-size: 1.9em;
}
#section-hero h3 {
    position: relative;
    color: white;
    font-size: 1em;
    font-weight: 100;
    letter-spacing: 2px;
}
#section-hero h3::after {
    height: 2px;
    width: 75px;
    bottom: -10px;
}

.info-box {
    margin-top: 32px;
    padding: 18px 22px;
    background: #ffffff;
    width: 100%;
    max-width: 370px;
    border-radius: 8px;
}

.info-box h4 {
    position: relative;
    font-weight: 800;
    margin-bottom: 23px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
}
.info-box h4>img {
    height: 20px;
}
.info-box h4::after {
    content: "";
    position: absolute;
    background-color: #737373;
    width: 45px;
    height: 1.5px;
    bottom: -8px;
    left: 0;
}
.info-box .info {
    margin: 8px 0;
    font-size: 0.9em;
}
.info-box .btn {
    margin-top: 25px;
}

.orange {
    color: #f16304;
}

/**********************************************/

.steps {
    margin: 45px 0;
}

.step {
    margin: 0;
    padding: 20px 15px 5px;
    width: 228px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    margin-bottom: 20px;
    position: relative;
}
.steps .arrow-left,
.steps .arrow-right {
    width: 90px;
}

.step .number {
    position: absolute;
    top: -18px;
    left: 8px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step h4 {
    margin-bottom: 20px;
}

.step h4::after {
    background-color: #a1bdc9;
    width: 68px;
    height: 1px;
}

.step p {
    color: #303e44;
    font-size: 0.9em;
    line-height: 1.4;
}

.step.right {
    margin-left: auto;
    margin-top: -60px;
}

.arrow-right {
    margin-bottom: -40px;
    margin-left: auto;
    display: block;
}

/***************************************************/

#section-kurs-info {
    background-size: cover;
    background-image: url("../images/image5.png");
}
#section-kurs-info h2 {
    color: #fff;
    line-height: 1.5;
    padding-bottom: 3px;
}
#section-kurs-info .btn {
    margin-top: 25px;
}

/***************************************************/

#section-features {
    background-color: #f0f4f5;
    padding-top: 40px;
    padding-bottom: 40px;
}

#section-features p {
    margin-top: 25px;
    padding-bottom: 5px;
    font-size: 0.9em;
}

#section-features ul {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}
#section-features ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 25px;
    font-weight: 600;
}
#section-features ul li>img {
    width: 20px;
    flex-shrink: 0;
}

/**************************************************/

#section-form {
    padding-bottom: 15px;
}

#section-form h2 {
    margin-bottom: 25px;
}
#section-form p {
    font-size: 0.9em;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 25px;
}
.user-input {
    padding: 12px 16px;
    border: 1px #8fa6b0 solid;
    border-radius: 8px;
    width: 100%;
}
.user-input:focus {
    border-color: var(--primary);
}

.phone_input {
    display: flex;
    gap: 8px;
}
#select_telefon {
    width: 98px;
    font-size: 0.85em;
    padding-left: 6px;
    padding-right: 6px;
    flex-shrink: 0;
}
#inp_telefon {
    flex-grow: 1;
}

#section-success {
    font-size: 0.92em;
}
.success-info {
    font-size: 0.92em;
    color: #0077bf;
}

/* ------------------------- */
/* Special checkbox by Hande */

.check-box {
    margin-bottom: 20px;
    font-size: 12px;
    color: #9aacb4;
}

.check-box .cbx {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: inline-block;
    display: flex;
    align-items: center;
}

.check-box .cbx:hover {
    background: rgba(0, 119, 255, 0.06);
}

.check-box .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #cccfdb;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.check-box .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.check-box .cbx span:last-child {
    padding-left: 12px;
    line-height: 18px;
    padding-right: 38px;
}

.check-box .cbx:hover span:first-child {
    border-color: var(--primary);
}

.check-box .inp-cbx {
    position: absolute;
    visibility: hidden;
}

.check-box .inp-cbx:checked + .cbx span:first-child {
    background: var(--primary);
    border-color: var(--primary);
    animation: wave-4 0.4s ease;
}

.check-box .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}

@keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

/**************************************************/

footer {
    background: #222;
    margin-top: 50px;
    padding: 15px 0;
}

.infos {
    display: flex;
    justify-content: center;
    font-size: 0.85em;
    gap: 30px;
}
.infos a {
    text-decoration: none;
    color: var(--primary);
}

.infos a:hover {
    text-decoration: underline;
}

.copyright {
    color: #565656;
    font-size: 0.8em;
    text-align: center;
    margin-top: 12px;
}

/** EXTRAS **/
.lds-dual-ring {
    opacity: 0;
    transition: opacity 0.3s;
    transition-delay: 0.3s;
    position: absolute;
    top: calc(50% - 13px);
    left: calc(50% - 16px);
}
#sendBtn.sending .lds-dual-ring {
    opacity: 1;
}
#sendBtn.sending {
    color: transparent;
}
#sendBtn.sending::after {
    transform: translate(30px, 8px) rotate(225deg);
    opacity: 0;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}



/************* RESPONSIVITY *************/

/******** Landscape Phone ********/
@media(min-width: 401px) {
    /* GENERAL */
    .btn {
        width: auto;
        display: inline-block;
        padding: 15px 55px 15px 35px;
        min-width: 235px;
    }

    /* HERO SECTION */
    .info-box h4>img {
        height: 26px;
    }
    
    /* STEPS SECTION */
    .steps .arrow-left {
        margin-left: 8%;
    }
    .steps .arrow-right {
        margin-left: 64%;
    }
    .steps .arrow-left,
    .steps .arrow-right {
        width: 110px;
    }
    #section-steps .btn {
        margin: 0 auto;
        max-width: 350px;
        display: block;
    }

    /* FORM SECTION */
    .inputBox {
        max-width: 400px;
    }
    .check-box {
        font-size: 14px;
    }
}

/******** Tablet ********/
@media(min-width: 577px) {

    /* STEPS SECTION */
    .steps {
        max-width: 577px;
        margin-left: auto;
        margin-right: auto;
    }
    .steps .arrow-left {
        margin-left: 36%;
    }
    .steps .arrow-right {
        margin-left: 48%;
    }
    
    /* VORTEILE SECTION */
    #section-vorteile p {
        font-size: 1em;
    }
    #section-vorteile ul li {
        font-weight: 700;
    }
}

/******** Laptop ********/
@media(min-width: 769px) {
    /* GENERAL */
    h1 {
        font-size: 2.6em;
    }
    h2 {
        font-size: 1.9em;
    }
    h3 {
        font-size: 1.4em;
    }
    
    /* HERO SECTION */
    #section-hero {
        padding-top: 90px;
        padding-bottom: 120px;
    }
    .info-box {
        padding: 25px 30px;
        max-width: 400px;
    }
    .info-box h4 {
        font-size: 1.6em;
    }
    .info-box .info {
        margin: 10px 0;
        font-size: 1em;
    }
    
    /* STEPS SECTION */
    .steps {
        display: flex;
        justify-content: space-between;
        max-width: none;
        margin-bottom: 18px;
    }
    .step {
        margin: 0;
        width: 235px;
    }
    .step.right {
        margin: 0;
    }
    .steps .arrow-left,
    .steps .arrow-right {
        display: none;
    }
    #section-steps .btn {
        margin: 0;
        max-width: 235px;
    }

    /* KURS INFO SECTION */
    #section-kurs-info .btn {
        max-width: 400px;
        display: block;
    }
}

/******** Desktop ********/
@media(min-width: 993px) {
    /* GENERAL */
    .wrapper {
        max-width: 993px;
        margin: 0 auto;
    }
    
    /* STEPS SECTION */
    .steps .arrow-left,
    .steps .arrow-right {
        display: block;
        align-self: center;
        margin: 0;
    }
    .steps .arrow-left {
        transform: rotateZ(-30deg);
    }
    .steps .arrow-right {
        transform: rotateZ(-150deg);
    }
}