@font-face {
    font-family: 'SonnenDisplay';
    src: url('/frontend/assets/fonts/sonnenDisplay/SonnenDisplay-VF.woff2') format('woff2-variations');
    font-weight: 100 900; /* Intervall angeben, z.B. 100–900 */
    font-stretch: 75% 125%; /* Optional, wenn die Schrift auch stretch-variabel ist */
    font-style: normal; /* Oder z. B. oblique, italic */
}

@font-face {
    font-family: 'SonnenText';
    src: url('/frontend/assets/fonts/sonnenText/SonnenText-VF.woff2') format('woff2-variations');
    font-weight: 100 900; /* Intervall angeben, z.B. 100–900 */
    font-stretch: 75% 125%; /* Optional, wenn die Schrift auch stretch-variabel ist */
    font-style: normal; /* Oder z. B. oblique, italic */
}

* {
    box-sizing: border-box;
}


.d-none{
    display: none !important;
}

html {
    height: 100%;
    padding: 0px;
    margin: 0px;
}

body {
    background: #000;
    color: #fff;
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-family: 'SonnenText', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'SonnenDisplay';
}

h1 {
    font-size: 3.5em;
    hyphens: auto;
    font-weight: 100;
}

h1 strong {
    font-weight: 900;
}

h2 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 2em;
}

h2.big {
    font-size: 3.5em;
    font-weight: 100;
    margin-bottom: .5em;
}

h2.bigger {
    font-size: 4em;
    font-weight: 100;
    margin-bottom: 0;
}
button[disabled] {opacity: 0.5}
.summary--product--card{
    height: 100%;
}

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

    h2.big {
        font-size: 2.5em;
    }

    h2.bigger {
        font-size: 3em;
    }

    .summary--product--card{
        height: auto;
    }
}


h2.big strong {
    font-weight: 900;
}

h2.blue {
    color: #0040FB;
}

h2.blue.medium {
    font-size: 2.5em;
}

.card h2 {
    margin-bottom: .25em;
    font-size: 1.5em;
}

.card h2.bigger {
    font-size: 3em;
}


h3 {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 1em;
}

h4 {
    margin-bottom: 0;
    opacity: .5;
}

p {
    margin-top: 0px;
}

#page {
    position: relative;
    height: 100%;
}

header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 120px;
    z-index: 9;
    transform: translate3d(0, 0, 0);
    transition: transform .5s ease-in-out;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%,  rgba(0, 0, 0, 0) 100%);
}

body.loading header,
body.loading--results header {
    transform: translate3d(0, -100px, 0);
}

.visual--container {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: translate3d(0, -25%, 0) scale(.6);
    transition: transform 1.5s ease-in-out, opacity 1s;
}

body .visual--container.center.initial {
    transform: translate3d(0, -60%, 0) scale(10) rotate(90deg);
}


body.loading .visual--container {
    transform: scale(5);
    opacity: 1;
}

body .visual--container.center {
    transform: translate3d(0, 0, 0);
}

body.loading--results .visual--container {
    transform: translate3d(0, -50%, 0) scale(3);
}

body.loading--results .visual--container.center {
    transform: translate3d(0, 0%, 0) scale(1) rotate(180deg);
}


.visual--container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(.8);
}

header a.logo {
    position: absolute;
    left: 2em;
    top: 2em;
}

header a.menu--trigger {
    position: absolute;
    right: 2em;
    top: 2em;
    width: 4em;
    height: 4em;
    padding: 1em;
    display: block;

}

header a.menu--trigger span {
    display: block;
    width: 2em;
    height: 3px;
    background: #fff;
    mix-blend-mode: difference;
    transition: transform .5s ease-out, background .5s;
}


header a.menu--trigger span:nth-child(1) {
    transform: translate3d(0, 1em, 0);
}


body.menuopen header a.menu--trigger span {
    background: #000;
}

body.menuopen header a.menu--trigger span:nth-child(1) {
    transform: translate3d(0, 0, 0) rotate(-45deg);
}

body.menuopen header a.menu--trigger span:nth-child(2) {
    transform: translate3d(.1em, -.1em, 0) rotate(45deg)
}

.checkbox--holder input {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.checkbox--holder label {
    display: inline-block;
    width: 5em;
    height: 2.5em;
    background: #222;
    border-radius: 2em;
    position: relative;
}

.checkbox--holder label:after {
    display: block;
    content: '';
    width: 2.4em;
    height: 2.4em;
    background: #fff;
    position: absolute;
    border-radius: 50%;
    transform: translate3d(0, 4%, 0) scale(.8);
    transition: transform .25s ease-out;
}


.checkbox--holder input:checked + label {
    background: #0040FB;
    transform: translate3d(5%, 4%, 0);
}

.checkbox--holder input:checked + label:after {
    transform: translate3d(2.4em, 4%, 0) scale(.8);
}

.potential-rechner {
    display: flex;
}


.form--container {
    position: relative;
    height: 100%;
    width: 100%;
    padding-left: calc(50% + 2em);
    padding-top: 20%;
    padding-bottom: 4em;
    padding-right: 10%;
    transform: translate3d(0, 0, 0);
    transition: transform .75s ease-in-out;
}

.form--container a{
    color: #0040FA;
}



body.loading .form--container {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
}

.caption--container p {
    font-size: 1.5em;
}

.caption--container {
    position: fixed;
    width: 40%;
    bottom: 10%;
    left: 10%;
    transform: translate3d(0, 0, 0);
    transition: transform .75s ease-in-out, opacity .5s;
    transition-delay: .5s;
    padding-right: 3em;
}

body.loading .caption--container {
    transform: translate3d(0, 110%, 0);
    opacity: 0;
}

body.loading--results .caption--container {
    transform: translate3d(0, 110%, 0);
    opacity: 0;
}


.row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.col {
    flex: 1;
}

.col.s33 {
    width: 33%;
    max-width: 33%;
}

.costs--details--container {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 1s;
}

.costs--details--container.visible {
    max-height: 999px;
}

.costs--details--container .row {

}

.costs--details--container.visible .row {
    opacity: 1;
    margin-bottom: 1em;
    max-height: 999px;
}

.costs--details--container .row .col {

}


label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.4rem;
}

.main--menu ul {
    padding: 160px 10% 10% 10%;
}

.main--menu ul li {
    display: block;
    margin-bottom: 1em;
}

.main--menu ul li a {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 2em;
    font-weight: 100;

}

body .main--menu--container {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: 8;
    pointer-events: none;
}

body .main--menu--container a.close--menu--pane {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0);
    transition: background .5s;

}

.next--step--trigger, #submit-form {
    background: #3366FB;
    color: #fff;
    border: 0px;
    border-radius: 1em;
    padding: 1em 32px;
    font-weight: 900;
    font-size: 1em;
}

.next--step--trigger:hover, #submit-form:hover{
    background: #0040FA;
}
.next--step--trigger:focus, #submit-form:focus{
    background: #0033C8;
}
.next--step--trigger:focus, #submit-form:visited{
    background: #002696;
}

.next--step--trigger[disabled="disabled"]{
    background: #565E73;
    color: #BCBFC6;
}

.next--step--trigger.hidden {
    opacity: 0;
}

body .main--menu {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    z-index: 8;
    transform: translate3d(100%, 0, 0);
    transition: transform .5s ease-out;
}

body.menuopen .main--menu--container {
    pointer-events: auto;
}


body.menuopen .main--menu {
    transform: translate3d(0, 0, 0);
}


body.menuopen .main--menu--container a.close--menu--pane {
    background: rgba(0, 0, 0, .8);
}

.step--section {
    display: block;
    padding-bottom: 0vw;
    pointer-events: none;
    max-height: 0px;
    overflow: hidden;
}

.step--section .row {
    opacity: 0;
    transition: opacity .5s;
}


.step--section .row:nth-child(1) {
    transition-delay: .1s;
}

.step--section .row:nth-child(2) {
    transition-delay: .2s;
}

.step--section .row:nth-child(3) {
    transition-delay: .3s;
}

.step--section .row:nth-child(4) {
    transition-delay: .4s;
}

.step--section .row:nth-child(5) {
    transition-delay: .5s;
}

.step--section .row:nth-child(6) {
    transition-delay: .6s;
}

.step--section .row:nth-child(7) {
    transition-delay: .7s;
}

.step--section .row:nth-child(8) {
    transition-delay: .8s;
}

.step--section .row:nth-child(9) {
    transition-delay: .9s;
}

.step--section .row:nth-child(10) {
    transition-delay: 1s;
}

.step--section .row:nth-child(11) {
    transition-delay: 1.1s;
}

.step--section .row:nth-child(12) {
    transition-delay: 1.2s;
}

.step--section .row:nth-child(13) {
    transition-delay: 1.3s;
}

.step--section .row:nth-child(14) {
    transition-delay: 1.4s;
}


#electricity_costs_graph {
    margin-top: 5em;
}


.step--section.visible {
    pointer-events: auto;
    max-height: inherit;
    padding-bottom: 5vw;
}


.step--section.visible .row {
    opacity: 1;
}

.result--container {
    pointer-events: none;
    z-index: 10;
    background: rgba(0, 0, 0, 0);
    transition: background .5s;
    padding: 5%;
    color: #000;
}

.result--container .result--wrapper {
    position: static;
    background: #EBEEF6;
    background-image: url('/frontend/assets/img/results_background.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    min-height: 100%;
    transform: translate3d(0, 140%, 0);
    transition: transform 2s ease-out, background-size 7s;
    padding: 5% 0;
    border-radius: 2em;
    max-width: 1440px;
    margin: 0 auto;
}

.result--container.visible {
    background: rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}


.result--container.visible .result--wrapper {
    transform: translate3d(0, 0, 0);

    background-size: 100% auto;
}


#userform--select--battery {
    display: block;
    background: #000;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: .75em;
    font-size: 1em;
    color: #fff;
    padding: 0.75em 0.75em;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin-top: .5em;
    margin-bottom: .5em;
    position: relative;
    background-image: url('/frontend/assets/img/arrow_down.png');
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1em auto;
}


.form--container input[type="text"],
.form--container input[type="number"] {
    display: block;
    background: #000;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: .75em;
    text-align: right;
    color: #fff;
    font-size: 1em;
    position: relative;
    background-image: url('/frontend/assets/img/edit-icon.svg');
    background-size: auto 50%;
    background-position: 1em center;
    background-repeat: no-repeat;
    padding: 0.75em 0.75em;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}


.form--container input[type="text"]:active,
.form--container input[type="number"]:active,
.form--container input[type="text"]:focus,
.form--container input[type="number"]:focus {
    outline: none;
    border-color: #0040FB;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form--container input.input--readonly,
.form--container select.select--readonly {
    background-image: url('/frontend/assets/img/lock-icon.svg');
    cursor: not-allowed;
}


.result--container {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: scroll;
}

.results--header {
    display: block;
    position: relative;
    height: 4em;
    padding: 0 10vw;
}

.results--header .back--to--form {
    position: absolute;
    right: 10vw;
    top: 0px;
    padding: 1em;
    background: #FDE3BC;
    background: linear-gradient(27deg, rgba(253, 255, 255, .3) 0%, rgba(255, 255, 255, .4) 0%, rgba(245, 247, 250, .4) 100%);
    border: 1px solid #fff;
    border-radius: 1em;
    box-shadow: 0px -1em 4em rgba(0, 0, 0, .1);
    color: #000;
    text-decoration: none;
}

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

    .results--header .back--to--form span {
        display: none;
    }
}





.result--logo {
    position: static;
    top: 0px;
    left: 0px;
    display: block;
    width: 8em;
    height: auto;
}

.result--logo svg {
    filL: #000;
    display: block;
    width: 8em;
    height: auto;
}

.result--logo svg path {
    fill: #000;

}

.result--content--section p {
    font-size: 1em;
}

.result--content--section {
    padding-bottom: 6em;
    transform: translate3d(0, 100px, 0);
    opacity: 0;
    transition: transform .5s ease-out, opacity .5s;
    padding-left: 10vw;
    padding-right: 10vw;
}

.result--content--section.visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}


.result--content--section .beam {
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: max-height 3s ease-out, opacity .5s;
}

.result--content--section .beam:nth-of-type(1) {
    transition-delay: .2s;
}

.result--content--section .beam:nth-of-type(2) {
    transition-delay: .4s;
}

.result--content--section .beam:nth-of-type(3) {
    transition-delay: .6s;
}

.result--content--section .beam:nth-of-type(4) {
    transition-delay: .8s;
}

.result--content--section .beam:nth-of-type(5) {
    transition-delay: 1s;
}

.result--content--section.visible .beam {
    max-height: 100%;
    opacity: 1;
}

.card {
    box-shadow: 0px 2em 2em rgba(0, 0, 0, .1);
    border-radius: 1em;
    padding: 2em;
    height: 100%;
}

.card .row {
    margin-bottom: 0;
}

.product-image {
    display: block;
    width: 100%;
    height: auto;
}


.card.blue {
    background: #0040FB;
    color: #fff;
}

.card.grey {
    background: #D8DCEE;
    color: #000;
}

.card.product-card {
    background: #FDE3BC;
    background: linear-gradient(150deg, rgba(253, 227, 188, 1) 0%, rgba(255, 255, 255, 1) 0%, rgba(250, 171, 111, 1) 100%);
    position: relative;
    padding-bottom: 0;
}

.card.system-card {

    background-image: url('/frontend/assets/img/system_mood.png');
    background-size: cover;
    background-position: top center;
    position: relative;
    padding: 10%;
}

.card.system-card .button {
    position: absolute;
    bottom: 2em;
    background: #fff;
    padding: 1em 2em;
    border-radius: 1.5em;
    width: 80%;
    text-decoration: none;
    text-align: center;
    font-weight: 900;
    color: #000;
}

hr {
    display: block;
    width: 100%;
}

.costs--details--toggle--container {
    display: block;
    width: 100%;
    text-align: right;
}

.costs--show--details--toggle {
    display: inline-block;
    color: #3b6dff;
    text-decoration: none;
}

.card.product-card select {
    position: absolute;
    bottom: 1em;
    left: 2em;
    width: calc(100% - 4em);
    border-radius: 1em;
    background: #fff;
    padding: 1em 2em;
    text-align: center;
    text-decoration: none;
    color: #000;
    z-index: 1;
}


.card.product-card .button {
    position: absolute;
    bottom: 1em;
    left: 2em;
    width: calc(100% - 4em);
    border-radius: 1em;
    background: #fff;
    padding: 1em 2em;
    text-align: center;
    text-decoration: none;
    color: #000;

}

.beam--graph {
    display: flex;
    height: 300px;
    gap: 1em;
}

.beam--graph.cost-items--mobile{
    display: block;
    height: auto;
}


.beam--graph.cost-items--mobile .beam--graph--item{
    width: 100%;
    padding-bottom: 1em;
}

.beam--graph.cost-items--mobile .beam--graph--item .beam-label{
    position: static;
}

.beam--graph.cost-items--mobile .beam--graph--item .beam .value--label{
    position: static;
}


.beam--graph.cost-items {
    height: 640px;
    overflow: visible;
}

.beam--graph.cost-items:after {
    content: '';
    position: absolute;
    left: 0px;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, .1);
    top: 40%;

}


.beam--graph .beam--graph--item {
    width: 14.285%;
    height: 100%;
    padding-bottom: 3em;
    position: relative;
}

.beam--graph.cost-items .beam--graph--item:nth-child(odd) {
    background: rgba(255, 255, 255, .4);
    border-radius: 1em;
}


.beam--graph .beam--graph--item .beam {
    text-align: center;
    width: 100%;
    background: linear-gradient(27deg, rgba(253, 255, 255, .5) 0%, rgba(255, 255, 255, .3) 0%, rgba(235, 237, 240, .3) 100%);
    height: 100%;
    border: 2px solid #fff;
    border-radius: 1em;
    box-shadow: 0px -1em 4em rgba(0, 0, 0, .1);
    position: relative;
}

.beam--graph .beam--graph--item .beam.negative {
    top: 50%;
    background: rgba(0, 0, 0, .7);
    height: 100%;
    border: 0px;
    border-radius: 1em;
    box-shadow: 0px -1em 4em rgba(0, 0, 0, .1);
    position: relative;
    color: #fff;
}

.beam--graph .beam--graph--item .negative.summary {
    background: rgba(0, 0, 0, .5);
}

.beam--graph .beam--graph--item .beam.small{
    overflow: visible;
}

.beam--graph .beam--graph--item .beam.small .value--label{
    bottom: 2em;
    color: #111;
}


.beam--graph.alignbottom .beam--graph--item .beam {
    position: absolute;
    bottom: 3em;
}


.beam--graph .beam--graph--item .beam-label {
    text-align: center;
    font-size: .8em;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}


.benefits-rows--container .benefits--row:nth-last-child(2) .bar--graph .bar--value {
    color: rgb(255, 255, 255);
}


.beam--graph .beam--graph--item .beam .value--label {
    margin-top: auto;
    font-size: .8em;
    position: absolute;
    bottom: 1em;
    width: 100%;
    text-align: center;

}

.beam--graph .beam--graph--item .beam.blue {
    background: #0040FB;
    color: #fff;
    border: 2px solid #0040FB;
    box-shadow: 0px 1em 3em rgba(0, 64, 251, .2);
}

.beam--graph .beam--graph--item .blue.summary {
    background: #547ffc;
    color: #fff;
    border: 2px solid #547ffc;
    box-shadow: 0px 1em 3em rgba(0, 64, 251, .2);
}





.result--content--section .benefits-rows--container .benefits--row {
    transform: translate3d(0, 100px, 0);
    opacity: 0;
    transition: transform 1s, opacity .5s;
    padding-top: .5em;
    padding-bottom: .5em;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(1) {
    transition-delay: .6s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(2) {
    transition-delay: .7s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(3) {
    transition-delay: .8s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(4) {
    transition-delay: .9s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(5) {
    transition-delay: 1s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(6) {
    transition-delay: 1.1s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(7) {
    transition-delay: 1.2s;
}

.result--content--section .benefits-rows--container .benefits--row:nth-child(8) {
    transition-delay: 1.3s;
}

.result--content--section.visible .benefits-rows--container .benefits--row {
    transform: translate3d(0, 0px, 0);
    opacity: 1;
}

.result--content--section .col {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
    transition: transform 1s, opacity .5s;
}

.result--content--section .col:nth-child(1) {
    transition-delay: .1s;
}

.result--content--section .col:nth-child(2) {
    transition-delay: .3s;
}

.result--content--section .col:nth-child(3) {
    transition-delay: .5s;
}

.result--content--section .col:nth-child(4) {
    transition-delay: .7s;
}

.result--content--section .col:nth-child(5) {
    transition-delay: .9s;
}

.result--content--section.visible .col {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


.benefits-rows--container .benefits--row {
    display: flex;
    border-radius: .5em;
    overflow: hidden;
}

.benefits-rows--container .benefits--row:nth-child(odd) {
    background: #fff;
}

.benefits-rows--container .benefits--row .label {
    width: 40%;
    padding: 1em;
}

.benefits-rows--container .benefits--row .bar--graph {
    width: 60%;
    position: relative;
}

.benefits-rows--container .benefits--row .bar--graph .bar {
    background: #0040FB;
    height: 100%;
    position: absolute;
    border-radius: .5em;
}

.benefits-rows--container .benefits--row .bar--graph .bar--value {
    position: absolute;
    right: 1em;
    top: 1em;
}

.benefits-rows--container .benefits--row .bar--graph.summary .bar--value {
    color: #fff;
}

.benefits-rows--container .benefits--row:nth-child(5) .bar--graph .bar--value {
    color: #fff;
}

.simple--bar--graph--container {
    margin-bottom: 1em;
    margin-top: 1em;
}

.simple--bar--graph--container .simple--bar--graph {
    margin-top: .5em;
    margin-bottom: .5em;

}

.simple--bar--graph--container .graph--data {
    display: flex;
}

.simple--bar--graph--container .graph--data .label {
    width: 100%;
}
.simple--bar--graph--container .graph--data .value {
    text-align: right;
    font-weight: 900;
}

.simple--bar--graph {
    display: block;
    width: 100%;
    background: #fff;
    height: .5em;
}

.simple--bar--graph .bar {
    height: .5em;
    background: #0040FB;
}

.simple--bar--graph .bar.pv-production{
    background: #000;
}

.excess--card {
    background: #0040FB;
    color: #fff;
    border-radius: 1em;
    padding: 1em;
    text-align: center;
}

.excess--card h3 {
    font-size: .8em;
}

.excess--card h2 {
    margin: 0;
}


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

    .summary--product--card{
        min-height: 66vH;
    }
    .caption--container {
        position: static;
        padding-left: 20%;
        padding-right: 20%;
        width: 100%;
        padding-top: 400px;
    }

    .form--container {
        padding-left: 20%;
        padding-right: 20%;
        width: 100%;
    }

    .result--content--section .row {
        display: block;
    }

    .result--content--section .card .row {
        display: flex;
    }

    .result--content--section .row .col {
        margin-bottom: 2em;
    }

    .result--container .result--wrapper {
        padding: 4em 0em;
    }

}


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

    h1 {
        font-size: 2em;
    }

    label {
        font-size: .8em;
    }

    .form--container {
        padding-left: 10%;
        padding-right: 10%;
        width: 100%;
        padding-top: 2em;
        transition-delay: .25s;
    }

    .caption--container {
        position: static;
        padding-left: 10%;
        padding-right: 10%;
        width: 100%;
        padding-top: 420px;
        transition-delay: 0s;
    }

    .result--container .result--wrapper {
        padding: 2em 0;
    }

}

@media screen and (min-width: 1200px) {
    .result--container .result--wrapper {
        padding: 5% 0%;
    }
}

.card.blue .product-image {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.card.hasproduct--image {
    padding-bottom: 100% !important;
}

.summary--product--card {
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
}

.card.summary--right--transparent{
    height: 50%;
    padding-top: 6em;
}

.card.summary--right--blue{
    height: 50%;
}

.beam--graph .beam--graph--item .beam-label{
    bottom: -5em;
}

@media screen and (min-width: 1440px) {
    .card.summary--right--blue h2.bigger{
        font-size: 8em;
    }
}

.beam--graph--mobile{
    display: none;
}

.beam--graph--mobile .beam--graph--item{
    display: flex;
    padding-bottom: 1em;
}

.beam--graph--mobile .beam--graph--item .beam-label{
    width: 50%;
}

.beam--graph--mobile .beam--graph--item .value--label{
    font-weight: 900;
}


.beam--graph--mobile .beam--graph--item .beam{
    width: 50%;
    text-align: right;
}

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


    .card.summary--right--transparent{
        height: auto;
    }

    .card.summary--right--blue{
        height: auto;
    }

    .beam--graph {
        height: 60vW;
    }

    .beam--graph .beam--graph--item .beam .value--label {
        display: none;
        width: 77px;
        height: 55px;
        margin-top: initial;
        bottom: auto;
        top: 2em;
        white-space: nowrap;
    }

    .beam--graph .beam--graph--item .beam-label {
        transform: rotate(-90deg);
        width: 160px;
        text-align: left;
        top: 34vW;
        display: none;
    }

    .beam--graph--mobile{
        display: block;
    }

    .invest--graph--section{
        padding-bottom: 0;
    }

    .benefits--summary .row .col .card {
        margin-bottom: 1em;
    }

    .caption--container p {
        font-size: 1em;
    }

    .benefits-rows--container .benefits--row {
        display: block;
    }

    .benefits-rows--container .benefits--row .bar--graph {
        width: 100%;
        height: 8px;
    }

    .benefits-rows--container .benefits--row:nth-last-child(2) .bar--graph .bar--value{
        color: #000;
    }

    .benefits-rows--container .benefits--row .bar--graph .bar--value {
        top: -2em;
    }

    .benefits-rows--container .benefits--row .bar--graph.summary .bar--value {
        color: #000;
    }

    .beam--graph.alignbottom .beam--graph--item .beam {
        margin-left: 2em;
    }

    .col.s33 {
        width: 100%;
        max-width: 100%;
    }

    .caption--container {
        position: static;
        width: 100%;
    }

    .form--container {
        position: relative;
        height: 100%;
        width: 100%;
        padding-left: 10%;
        padding-bottom: 5%;
        transform: translate3d(0, 0, 0);
        transition: transform .75s ease-in-out;
    }
}

@media screen and (min-width: 1220px) {
    .card h2.bigger {
        font-size: 3em;
        white-space: nowrap;
    }
}


@media screen and (min-width: 1440px) {
    .card h2.bigger {
        font-size: 4em;
        white-space: nowrap;
    }
}


@media screen and (min-width: 1640px) {
    .card h2.bigger {
        font-size: 5em;
        white-space: nowrap;
    }
}



@media screen and (max-width: 900px) {
    .benefits--summary .card .row {
        display: block;
    }

    .card.system-card {
        padding-bottom: 70vW;
    }

}


@media screen and (min-width: 900px) {
    #page {
        display: table;
        width: 100%;
        height: 100%;
    }

    .card.summary--product--card .product-image {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 0;
    }

    .form--container {
        display: table-cell;
        width: 100%;
        vertical-align: bottom;
    }

}

/* Doughnut Charts Styles */
.doughnut-charts-container {
    margin: 2em 0;
}

.doughnut-chart-wrapper {
    display: flex;
    gap: 2em;
    justify-content: space-between;
    align-items: flex-start;
}

.doughnut-chart-item {
    flex: 1;
    text-align: center;
}

.doughnut-chart-item h4 {
    font-size: .8em;
    font-weight: 400;
    margin-bottom: 1em;
    line-height: 1.2;
}

.doughnut-chart {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 128px;
}

.doughnut-chart canvas {
    display: block;
    margin: 0 auto;
    width: 100% !important;
    height: 100% !important;
}

/* Custom Legend Styles */
.doughnut-chart-legend {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 1.5em;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-text {
    font-size: 0.9em;
    font-family: "SonnenText", sans-serif;
    hyphens: auto;
}


@media screen and (max-width: 768px) {
    .doughnut-chart-wrapper {
        flex-direction: column;
        gap: 3em;
        align-items: center;
    }

    .doughnut-chart-item {
        max-width: 300px;
    }

    .doughnut-chart {
        width: 250px;
        height: 250px;
    }

    .doughnut-chart-legend {
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }

    .beam--graph .beam--graph--item .beam-label{
        bottom: 1em;
    }

    #electricity_costs_graph .beam--graph--item .beam-label{
        left: 4em;
        bottom: 0;
    }
    .card.product-card{
        padding-bottom: 8em;
    }

}
#userform--select--battery.select--readonly{
    padding: 0px;
    border: 0px;
    background-image: none;
    font-size: 1.25em;
    margin-bottom: 1.25em;
    pointer-events: none;
}

table.mobile--beam--graph{
    width: 100%;
}
table.mobile--beam--graph td{
    width: 50%;
    vertical-align: top;
    padding-bottom: .5em;
}

table.mobile--beam--graph tr td:last-child{
    font-weight: 900;
    text-align: right;
}

@media screen and (max-width: 1280px) {
    .result--content--section, .results--header{
        padding-left: 5vW;
        padding-right: 5vW;
    }

}

.desktop-only{
    display: none;
}

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

    table.mobile--beam--graph {
        display: none;
    }

    .mobile-only{
        display: none;
    }
    .desktop-only{
        display: block;
    }
}


.print--trigger--container input{
    display: block;
    max-width: 240px;
    padding: 1em;
    border-radius: 1em;
    background: rgba(0,0,0,0.2);
    color: #111;
    border: 0px;
    margin: 0 auto;
}



@media screen and (min-width: 1280px) {
    .result--content--section, .results--header{
        padding-left: 5vW;
        padding-right: 5vW;
    }
}

/*
body.iframe .result--content--section{
    opacity: 1;
}

body.iframe .result--content--section .col{
    opacity: 1;
}
*/
body.iframe header a{
    display: none;
}
/*
body.iframe .result--container{
    position: static;
    height: 0px;
    overflow: hidden;
    display: none;
}

body.iframe .result--container.visible{
    height: auto;
    overflow: visible;
    display: block;
}*/

.summary--product--card.sonnenBatterie_10,
.summary--product--card.sonnenBatterie_10_hybrid{
    color: #fff;
}

@media screen and (min-width: 1024px) {
    .caption--container {
        bottom: auto;
        top: 50%;
        transform: translate3d(0, -50%, 0);
    }

    .form--container{
        padding-top: 30%;
    }

}

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

    .form--container{
        padding-top: 25%;
        padding-right: calc((100% - 1280px)/2);
    }

    .caption--container{
        left: calc((100% - 1280px)/2);
        width: calc(640px - 1em);
    }

    .result--container.visible .result--wrapper{
        max-width: 1280px;
        margin: 0 auto;
    }

}

body.form--scrolled .visual--container{
    opacity: .2;
}
@media screen and (min-width: 1280px) {
    body.form--scrolled .visual--container {
        opacity: 1;
    }
}



:root {
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    * {
        scrollbar-color: #555 #1e1e1e;
    }

    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #1e1e1e;
    }

    ::-webkit-scrollbar-thumb {
        background: #555;
        border-radius: 6px;
    }
}

@media screen and (min-width: 1280px) {
    .form--container{
        padding-left: calc(50% + 6em)
    }
    .caption--container{
        padding-right: 6em;
    }
}


@media screen and (min-width: 1408px) {
    .form--container{
        padding-left: calc(50% + 10em)
    }
    .caption--container{
        padding-right: 6em;
    }
}

@media screen and (min-width: 1600px) {
    .form--container{
        padding-left: calc(50% + 12em)
    }
    .caption--container{
        padding-right: 6em;
    }
}
