body {
}
.ah-buehne {
    background-image: linear-gradient(to bottom,rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.0)),url('/img/service/5plus-buehne.webp');
}

.accordion-button {
    font-size: 22px;
}

.card {
    border: none;
}

.card-body {
    padding: 30px;
    padding-bottom: 80px;
}

.card-link {
    bottom: 30px;
}

.ah-d-flex {
    display: flex;
    flex-wrap: wrap;
}

#dv1 {
    padding: 10px;
    order: 2;
}

#dv2 {
    padding: 10px;
    order: 1;
}

#dv1, #dv2 {
    width: 100%;
    /*  height: 240px; /* BeispielhÃ¶he, kann angepasst werden */ */
}

.ah-d-flex {
    flex-direction: column;
}

#dv1 {
    padding: 20px;
    order: 2;
}

#dv2 {
    padding: 0px;
    order: 1;
}

#dv1, #dv2 {
    width: 100%; /* Beide Divs nehmen 100% der Breite auf mobilen GerÃ¤ten ein */
}

.sparrechner {
    width: 100%;
    max-width: 940px;
  /*  padding: 30px 35px;*/
    box-sizing: border-box;
}

    .sparrechner h2 {
        margin: 0;
        font-size: 44px;
        line-height: 1.15;
        font-weight: 600;
    }

.sparrechner-subtitle {
    font-size: 30px;
    line-height: 1.2;
    margin-top: 8px;
    font-weight:700;
    margin-bottom: 70px;
}

.sparrechner-zeile {
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    margin-bottom: 30px;
}

    .sparrechner-zeile label {
        font-size: 22px;
        line-height: 1.2;
        padding-left: 0px;
    }

    .sparrechner-zeile input {
        width: 100%;
        height: 44px;
        box-sizing: border-box;
        border: 2px solid #111;
        border-radius: 0;
        background: #fff;
        padding: 6px 12px;
        font-size: 22px;
        font-family: inherit;
        outline: none;
    }

/* Ergebnis */
.sparrechner-ergebnis {
    position: relative;
    width: 100%;
}

    .sparrechner-ergebnis input {
        display: block;
        width: 100%;
    }

    .sparrechner-ergebnis span {
        position: absolute;
        left: calc(100% + 35px);
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        line-height: 1;
        white-space: nowrap;
    }


/* Mobile */
@media (max-width: 800px) {

    .sparrechner {
        padding: 20px;
    }

        .sparrechner h2 {
            font-size: 32px;
        }

    .sparrechner-subtitle {
        font-size: 26px;
        margin-bottom: 45px;
    }

    .sparrechner-zeile {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 28px;
    }

        .sparrechner-zeile label {
            padding-left: 0;
            font-size: 24px;
        }

        .sparrechner-zeile input {
            height: 50px;
        }

    .sparrechner-ergebnis span {
        font-size: 24px;
        left: calc(100% + 20px);
    }
}


@media (min-width: 768px) {
    .ah-d-flex {
        flex-direction: row;
    }

    #dv1 {
        width: 75%;
        padding: 50px 30px;
        order: 1;
    }

    #dv2 {
        width: 25%;
        padding: 0px;
        order: 2;
    }
}
@media (min-width: 2000px) {
    .ah-buehne {
        height: 1000px !important;
    }
}