:root {
    --main-yellow: #fdc424;
    --main-blue: #0d5671;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: "Rubik";
    height: 100%;
    min-height: 100dvh;
    overflow-y: auto;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100px;
    width: 100%;
    background-color: var(--main-yellow);
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1080px;
    overflow: visible;
}

.container-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

footer {
    height: 130px;
    width: 100%;
    background-color: var(--main-yellow);
    position: relative;
    bottom: 0;
}

.container-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;

}

.header-logo {
    width: 170px;
}

.navigation {
    display: flex;
    gap: 20px;
    margin-right: 30px;
}

.navlink {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 24px;
    font-family: "Rubik";
    transition: transform 0.1s ease;
}

.navlink:hover {
    filter: brightness(1.05);
    color: #0d5671;
}

.navlink:active {
    transform: scale(0.96);
}

.footer-contact-info {
    display: flex;

}

.impressum1 {
    width: 260px;
    height: 30px;
    display: flex;
    color: var(--main-blue);
    font-size: 16px;
    font-family: "Rubik";
}

.impressum {
    width: 300px;
    height: 60px;
    display: flex;
    color: #0d5671;
    font-size: 16px;
    font-family: "Rubik";
}

.header-bottom {
    display: flex;
    max-width: 1080px;
    height: 230px;
    width: 100%;
    background-image: url("./assets/img/bg6.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    object-fit: cover;
    transform: translateY(-2px);
}

.container-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1080px;
}

.slogan-main {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1080px;
    margin: 20px auto 0px auto;
    background-image: url("./assets/img/bg5.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* padding: 0px 0px 0px 150px; */
}

/* LINKER TEXTBLOCK */
.title1 {
    width: 100%;
    text-align: left;
    transform: rotate(-4deg);
}

.title2 {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-right: 50px;
}

/* RESET h1 */
h1 {
    margin-left: 155px;
    margin-top: 55px;
    line-height: 0.95;
    font-family: "Roboto";
    text-transform: uppercase;
}

/* STROM + GAS */
.big1 {
    display: block;
    font-size: 105px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}

.big2 {
    display: block;
    font-size: 105px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    top: -10px;
}

/* UND */
.small {
    display: block;
    font-size: 33px;
    font-weight: 600;
    color: #ffffff;
    margin-left: 20px;
    margin-bottom: 6px;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    top: -63px;
}

/* geht auch */
.line {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #0d5671;
    text-transform: none;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    top: -55px;
    left: -100px;
}

/* günstiger! */
.highlight {
    display: block;
    font-size: 94px;
    font-weight: 900;
    color: var(--main-blue);
    text-transform: none;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    top: -60px;
    left: 15px;
}

.row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.icon-sparen {
    width: 300px;
    height: 300px;
    margin-bottom: 40px;
    margin-left: 40px;
}

.separator {
    flex: 0 0 15px;
    border-radius: 5px;
    width: 100%;
    max-width: 1080px;
    height: 5px;
    background-color: #0d5671;
    margin: 20px auto 0px auto;
    box-shadow: 0px 0px 16px 9px rgba(0, 0, 0, 0.08)
}

.trustbox-section {
    display: flex;
    background-color: #f9fafb;
    margin-top: 40px;
    border-radius: 30px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.trustboxes {
    font-family: "Roboto";
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1080px;
    margin: 0;
    padding: 60px 20px 60px 20px;
    gap: 30px;

}

.trustbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 185px;
    height: 185px;
    border: 0px;
    border-radius: 30px;
    box-shadow: 0px 0px 16px 9px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.icon-checkmark {
    width: 30px;
    height: 30px;
    background-color: #fff9e9;
    border: 0;
    border-radius: 50%;
    padding: 20px;
}

.trustbox-header {
    font-family: "Roboto";
    color: #0d5671;
    margin-top: 15px;
    font-size: 22px;
    font-weight: 600;
}

.trustbox-info {
    font-family: "Roboto";
    margin-top: 15px;
    font-size: 16px;
    font-weight: 400;
    color: black
}

.trustbox-title {
    color: var(--main-blue);
    font-size: 42px;
    font-weight: 700;
    margin-top: 20px;
}

.trustbox-subtitle {
    font-size: 24px;
    margin-top: 20px;
}

.procedure {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.procedure-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0px;
    gap: 30px;
}

.procedure-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    border: 0;
    margin: 20px;
    background-color: white;
}

.procedure-icon {
    width: 40px;
    height: 40px;
    background-color: var(--main-yellow);
    padding: 40px;
    border-radius: 15px;
}

.procedure-counter {
    display: flex;
    justify-content: center;
    align-content: center;
    font-weight: 900;
    width: 20px;
    height: 20px;
    padding: 10px;
    background-color: var(--main-blue);
    color: white;
    border-radius: 50%;
    position: relative;
    top: 25px;
    left: 60px;
}

.procedure-header {
    font-family: "Roboto";
    color: #0d5671;
    margin-top: 15px;
    font-size: 22px;
    font-weight: 600;
}

.procedure-info {
    font-family: "Roboto";
    margin-top: 15px;
    font-size: 16px;
    font-weight: 400;
    color: black;
    text-align: center;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    padding: 40px 20px;
    margin: 40px 20px;
    background-color: var(--main-blue);
    border-radius: 30px;
}

.contact-title {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
}

.contact-subtitle {
    color: white;
    font-size: 20px;
    margin-top: 20px;
}

.contact-boxes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0px;
    gap: 30px;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #337088;
    width: 300px;
    height: 220px;
    border: 0;
    border-radius: 15px;
    margin: 10px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    padding: 20px;
    border-radius: 15px;
}

.contact-header {
    color: white;
    font-size: 22px;
    font-weight: 600;
}

.contact-info {
    color: rgb(255 255 255 / 0.8);
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 7px;
}

.contact-subinfo {
    color: rgb(255 255 255 / 0.8);
    font-size: 14px;
    margin-top: 10px;
}

.whatsapp-link {
    text-decoration: none;
    color: rgb(255 255 255 / 0.8);
    padding: 8px 15px;
    border-radius: 15px;
    background-color: #0d5671;
}

.whatsapp-link:hover {
    filter: brightness(1.2);
    color: var(--main-yellow);
}

.contact-button {
    margin: 40px 0px;
}

.contact-button-a {
    text-decoration: none;
    color: white;
    background-color: var(--main-blue);
    padding: 20px 30px;
    border-radius: 30px;
    font-size: 24px;
    font-weight: 600;
    transition: transform 0.1s ease;
}

.contact-button-a:hover {
    filter: brightness(1.1);
    color: var(--main-yellow);
}

.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.faq-item {
    border-radius: 20px;
    box-shadow: 0px 0px 16px 9px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: white;
    border: none;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 600;
    color: var(--main-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.6s ease;
}

.faq-answer p {
    padding: 10px 25px 20px 25px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f9fafb;
}


.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@media(max-width: 1200px) {
    .big1 {
        font-size: 90px;
    }

    .big2 {
        font-size: 90px;
    }

    .small {
        font-size: 26px;
        top: -50px;
    }

    .highlight {
        font-size: 80px;
        top: -44px;
    }

    .line {
        font-size: 30px;
        top: -47px;
        left: -65px;
    }

    .icon-sparen {
        width: 250px;
        height: 250px;
        margin-left: 20px;
        margin-bottom: 30px;
    }

    .header-logo {
        margin-left: 35px;

    }

    .contact {
        padding: 40px 0px;
        margin: 40px 0px;
    }

    .trustboxes {
        padding: 60px 0px 60px 0px;
    }

    h1 {
        margin-left: 120px;
    }

    .container-main {
        width: 90%;
    }
}

@media(max-width: 890px) {
    .big1 {
        font-size: 70px;
    }

    .big2 {
        font-size: 70px;
        top: -5px;
    }

    .small {
        font-size: 18px;
        top: -40px;
    }

    .highlight {
        font-size: 60px;
        top: -35px;
    }

    .line {
        font-size: 24px;
        top: -40px;
        left: -53px;
    }

    .icon-sparen {
        width: 200px;
        height: 200px;
        margin-left: 15px;
        margin-bottom: 20px;
    }

    .slogan-main {
        width: 95%;
    }

    h1 {
        margin-left: 100px;
    }
}

@media(max-width: 790px) {
    .big1 {
        font-size: 40px;
    }

    .big2 {
        font-size: 40px;
        top: 0px;
    }

    .small {
        font-size: 14px;
        top: -18px;
        left: 5px;
    }

    .highlight {
        font-size: 35px;
        top: -20px;
    }

    .line {
        font-size: 18px;
        top: -22px;
        left: -27px;
    }

    .icon-sparen {
        width: 160px;
        height: 160px;
        margin-left: 15px;
        margin-bottom: 10px;
    }

    h1 {
        margin-left: 70px;
    }
}

@media(max-width: 620px) {
    footer {
        height: 220px;
    }

    .footer-contact-info {
        flex-direction: column;
    }

    .impressum {
        padding: 20px 0px;
    }

    .big1 {
        font-size: 50px;
    }

    .big2 {
        font-size: 50px;
        top: 0px;

    }

    .small {
        font-size: 18px;
        top: -20px;
        left: 5px;
    }

    .highlight {
        font-size: 45px;
        top: -19px;
    }

    .line {
        font-size: 20px;
        top: -22px;
        left: -70px;
    }

    .icon-sparen {
        display: none;
    }

    h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0px;
        position: relative;
        top: -10px;
    }

    .title2 {
        display: none;
    }

    .contact-button-a {
        font-size: 18px;
        padding: 15px 25px;
    }

    .navigation {
        display: none;
    }

    .header-logo {
        width: 170px;
        margin-left: 0px;
    }

    .trustbox-title {
        text-align: center;
        font-size: 36px;
    }

    .trustbox-subtitle {
        text-align: center;
        font-size: 16px;
    }

    .contact-title {
        text-align: center;
        font-size: 36px;
    }

    .contact-subtitle {
        text-align: center;
        font-size: 16px;
    }

    .contact-box {
        width: 250px;
        height: 200px;
    }

    .container-header {
        flex-direction: column;
        justify-content: center;
    }

    .slogan-main {
        background-image: none;
        background-color: var(--main-yellow);
        border-radius: 30px;
    }

    .separator {
        margin-top: 0px;
    }
}