/* Font Faces */
@font-face {
    font-family: "Saira Condensed";
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url("fonts/SairaCondensed-Light.ttf") format("truetype");
}
@font-face {
    font-family: "Saira Condensed";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("fonts/SairaCondensed-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Saira Condensed";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("fonts/SairaCondensed-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Saira Condensed";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("fonts/SairaCondensed-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Open Sans";
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url("fonts/OpenSans-Light.ttf") format("truetype");
}
@font-face {
    font-family: "Open Sans";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("fonts/OpenSans-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Open Sans";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("fonts/OpenSans-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Open Sans";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("fonts/OpenSans-Bold.ttf") format("truetype");
}

/* Variables */
:root {
    --primary: #0f5c5c;
    --secondary: #b2c106;
    --orange: #e84124;
    --text-color: var(--primary);
    --gradient: linear-gradient(59deg, rgba(232,65,36,1) 0%, rgba(178,193,6,1) 70%);
    --white: #fff;
}
/* Typografie */
h1,
h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1em;
}
h3 {
    font-size: 1.55rem;
}
h1,
h2,
h3,
h4,
h5,
h6,
optgroup {
    font-family: "Saira Condensed", sans-serif;
    font-weight: 500;
}
h1,
h2 {
    font-weight: 500;
}
#page .ui-widget {
    font-family: "Open Sans", sans-serif;
}

/* General Styles */
*,
*::before,
*::after {
    box-sizing: inherit;
}
html,
body {
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--white);
    word-break: break-word;
    -webkit-text-size-adjust: 100%;
    hyphens: auto;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-wrap: break-word;
}
button,
input[type="button"],
input[type="submit"],
.button,
.login_out_block a {
    font-family: "Saira Condensed", sans-serif;
    color: var(--white);
    padding: 0.2em 1em;
    background: var(--gradient);
    border-radius: 5px;
    font-weight: 500;
    font-size: 1em;
    border: none;
    letter-spacing: 0.5px;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus {
    background: var(--gradient);
    color: var(--white);
    border: none;
}
.button.green {
    background: var(--secondary);
}
.toolbar button.toolbar-icon {
    background: transparent;
}
.modal_login .item-list {
    display: none;
}
.modal_login input.button {
    border: 2px solid var(--primary);
    border-radius: 5px;
}
.modul_login input.button:focus,
.modal_login input.button:hover {
    background: var(--white);
}
.modal_login .button {
    width: 100%;
    margin: 0;
}
#log_overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 10000px;
    top: -30px;
    left: 0px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.system_messages_wrapper {
    max-width: 80vw;
    max-height: 50vh;
    overflow: scroll;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    margin-bottom: 0;
    background-color: var(--primary) !important;
    box-shadow: none;
    color: var(--text_color) !important;
    border-radius: 0;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.system_messages_wrapper::-webkit-scrollbar {
    display: none;
}
.system_messages_wrapper .messages {
    display: block;
    clear: both;
    margin-bottom: 0;
    border: none !important;
    background-color: var(--white) !important;
    box-shadow: none;
    color: var(--text_color) !important;
    border-radius: 0;
}
.messages__wrapper.layout-container {
    padding: 0;
}
.system_messages_wrapper .closer {
    float: right;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    margin-right: 0;
    color: #000000;
}
.ui-dialog-titlebar {
    background-color: var(--primary) !important;
}

/* Header */
#page > header {
    width: 100%;
    background: var(--primary);
}
#header_image_wrapper {
    background: linear-gradient(to bottom, var(--primary) 50%, var(--white) 50%);
}
#headertop_menu_wrapper,
#header_top_wrapper,
.header-inner {
    height: 100%;
    padding: 0 2em;
}
#header_top_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 25px 0;
}
#logo {
    display: flex;
    align-items: center;
    height: 35px;
    gap: 2em;
}
#logo a.site-logo {
    display: flex;
    height: 100%;
    gap: 2em;
}
#logo a.site-logo img {
    height: 100%;
}
#logo .eueco-logo {
    height: 75%;
}
#logo img {
    height: 100%;
    width: auto;
}

/* Header Image */
.view-headerbilder {
    position: relative;
}
.slideshow_image {
    height: 60vh;
}
.headerimage .headerbild_image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#background-video {
    object-fit: cover;
    object-position: center;
}
.headertext {
    position: absolute;
    bottom: 0;
    background: var(--gradient);
    border-radius: 0 30px 0 0;
}
#pid-projekt-freienwill .headertext {
    background: var(--secondary);
}
.headertext .slideshow_content_inner_wrapper {
    padding: 2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
}
#pid-projekt-freienwill .headertext .slideshow_content_inner_wrapper {
    padding-right: 6rem !important;
}
.headertext img.icon {
    position: absolute;
    width: 70px;
    right: 15px;
    top: 15px;
}
.headertext h1,
.headertext h2,
.headertext .slideshow_content_inner_wrapper p {
    margin: 0;
    color: var(--white);
}
.headertext h1 {
    font-size: 3rem;
}

/* Login Logout Bar */
.login_out_block {
    align-self: center;
    position: relative;
    margin-left: 3em;
}
.login_out_block a {
    font-size: 0.9em;
    text-transform: uppercase;
    hyphens: none;
    word-break: keep-all;
}

/* Primary Menu */
#primary-menu {
    display: flex;
}
#primary-menu ul li a {
    color: var(--secondary);
    background-color: transparent;
    padding: 0 1em;
    text-transform: uppercase;
}
#primary_menu_wrapper {
    display: flex;
    align-items: center;
}
#primary-menu ul#superfish-main.sf-menu li:hover > ul,
#primary-menu ul#superfish-main.sf-menu li.sfHover > ul {
    padding-top: 1em;
    top: 3rem;
    width: auto !important;
    background: var(--primary);
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}
#primary-menu ul.sf-menu li:hover > a {
}

/* Mobile Menu */
.a-hamburger-icon::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    font-weight: 600;
    font-size: 2rem;
}
.mm_navibutton.activ .a-hamburger-icon::before {
    content: "\f00d";
}
nav#menu a,
#mm_navibutton {
    color: var(--secondary) !important;
}
#mm_navibutton_wrapper {
    display: none;
}
nav#menu .login_out_block {
    display: none;
}
.mm-menu {
    background-color: var(--primary);
    color: var(--secondary);
}
.mm-menu .menu {
    width: 100%;
    display: flex;
    flex-direction: column;
}
nav#menu ul.sf-hidden {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    clip: unset;
    box-shadow: none !important;
    padding-left: 25px !important;
}
#mob_login_logout {
    margin-left: 5px;
    font-size: 16px;
}

/* Allgemeine Styles */
a,
.link {
    color: var(--text-color);
}
a:hover,
a:focus,
.link:hover,
.link:focus {
    color: var(--primary);
}
.color-primary {
    color: var(--primary);
}
.color-white {
    color: var(--white);
}
.bg-primary {
    background: var(--primary);
}
.bg-secondary {
    background: var(--secondary);
}
.bg-white {
    background: var(--white);
}
.text-center {
    text-align: center;
}
.ee_content_block  > .wrapper {
    padding: 6em 0;
}

/* Download VIB */
.download-vib {
    margin-top: 3rem;
    display: inline-block;
    text-align: left;
    color: var(--white);
    line-height: 40px;
}
.download-vib:hover,
.download-vib:focus {
    color: var(--white);
    text-decoration: underline;
}
.download-vib::before {
    text-align: center;
    content: "\f309";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    font-size: 2rem;
    margin-right: 1rem;
    height: 40px;
    width: 40px;
    border-bottom: 1px solid var(--white);
    float: left;
}

/* Green */
.green {
    color: var(--white);
}
.green .header {
    width: fit-content;
    margin-bottom: 40px;
}
.header.text-center {
    margin: 0 auto;
    margin-bottom: 40px;
}
.green .header h2, 
.green .header h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    font-size: 1.8rem;
}
.green .header h2 {
    font-size: 2.5rem;
}

/* Card */
.card.green {
    position: relative;
    width: 83%;
    margin: 0 auto;
}
.card.green .text {
    width: 100%;
    border-radius: 10px;
    padding: 3em;
    padding-right: 250px;
    box-shadow: 0 11px 46px -19px rgb(0 0 0 / 50%);
}
.card .imgage.round img {
    border-radius: 50%;
    max-height: 100%;
    max-width: 380px;
    aspect-ratio: 1;
}
.card.green .imgage {
    position: absolute;
    right: 0;
    padding: 30px 0;
    transform: translateX(50%);
}
.card .imgage {
    height: 100%;
    display: flex;
    align-items: center;
}
.card .imgage.left {
    margin-right: 50px;
}
.card .imgage.right {
    margin-left: 50px;
}
.card .button {
    margin: 0;
    width: fit-content;
}

/* Steps */
#steps .card.green {
    margin-right: auto !important;
}
#steps .card.green .text {
    padding-right: 3em;
}
.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.step {
    text-align: center;
}
.step img {
    height: 115px;
}
.step p {
    font-size: 1.2em;
    margin-top: 1em;
    font-weight: 500;
}

/* Grafik */
.grafik {
    width: 58.33%;
    display: flex;
}
.grafik img {
    height: 100%;
    margin: 0;
    object-fit: cover;
}

/* Mehrwerte */
.mehrwerte {
    gap: 50px;
    padding: 1em;
    padding-bottom: 5em;
    position: relative;
    margin-bottom: 5em;
}
.mehrwerte .image {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.mehrwerte .image img {
    height: 200px;
    width: auto;
}
.mehrwerte .image h4 {
    font-size: 1.6em;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 1em;
}
.mehrwerte:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

/* Projekte */
.projekte {
    gap: 15%;
    flex-wrap: wrap;
}
.projekte .image {
    position: relative;
    width: 42.5%;
}
.projekte .image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.projekte .image_text {
    color: var(--white);
    position: absolute;
    bottom: 0;
    background: var(--gradient);
    border-radius: 0 30px 0 0;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
}
.projekte .image_text h3,
.projekte .image_text h4 {
    margin: 0;
    font-size: 1.7rem;
}
.projekte .image_text h3 {
    font-size: 3rem;
}

/* Projekt Info */
.info {
    gap: 5%;
}
.info .card {
    width: 30%;
    border-radius: 10px;
    padding: 25px;
    color: var(--white);
}
.info .text {
    width: 65%;
    justify-content: flex-start;
}
.info .card h4 {
    color: var(--secondary);
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.6em;
}
.info .card ul {
    margin-bottom: 20px;
    list-style: none;
}
.info .card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}
.info .card li:before {
    content: '»';
    color: var(--secondary);
    font-size: 25px;
    position: absolute;
    left: -12px;
    top: -9px;
}

/* FAQ */
.block-ee-faq {
    margin: 2em 0;
    padding: 0 2em;
}
.block-ee-faq .ui-accordion-header.ui-accordion-header-active {
    padding: 0.9em 0;
    border: none !important;
    border-bottom: 1px solid var(--secondary) !important;
    border-radius: 0;
}
.block-ee-faq .ui-accordion-content {
    border: none;
    color: var(--text-color);
    border-radius: 0;
    background: var(--white);
    margin-top: 0;
    top: 0;
    border-bottom: 1px solid var(--secondary);
    padding: 1em 0;
}
.block-ee-faq .ui-accordion-header-icon {
    display: none;
}
.block-ee-faq .ui-accordion-header {
    color: var(--text-color);
    font-size: 28.8px;
    font-weight: 500;
    padding: 0.9em 0;
    border-radius: 0;
    border: none;
    background: var(--white);
    border-bottom: 1px solid var(--secondary);
}
.block-ee-faq .ui-accordion-header::after {
    background-image: url(/sites/nachbarschaftsenergie.info/files/kreuz.svg);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    right: 0px;
    top: 30px;
    width: 30px;
    height: 30px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.block-ee-faq .ui-accordion-header.ui-accordion-header-active::after {
    transform: rotate(135deg);
}
.block-ee-faq .faq_headline {
    font-size: 3rem;
    margin: 0;
    margin-top: 2em;
}
#faq .faq_block {
    border-bottom: 1px solid var(--primary);
}

/* Footer */
footer {
    color: var(--white);
    background-color: var(--primary);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    margin-top: 5em;
    padding-bottom: 2rem;
}
#footer {
    background-color: var(--white);
    color: var(--primary);
    width: 100%;
    max-width: unset;
}
footer ul.menu {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
footer ul.menu li {
    border-right: 1px solid;
    padding: 0;
    line-height: 1;
    padding-right: 0.7rem;
}
footer ul.menu li:last-child {
    border: none;
    padding: 0;
}
.footer-adress a,
footer ul.menu a.is-active,
footer ul.menu a {
    color: var(--white);
}
footer .vermittler_hinweis,
footer .block-menu {
    margin-bottom: 2rem;
    width: 100%;
}
footer .vermittler_hinweis strong {
    font-family: "Saira Condensed", sans-serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 500;
}
footer .vermittler_hinweis img {
    max-width: 200px;
    margin-left: 100px;
}
#footer_middle {
    margin: 50px auto 25px;
}
.footer-adress {
    position: relative;
    padding-bottom: 2rem;
}
.footer-adress:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
}
.footer-adress img {
    width: 200px;
}
.region-footer-bottom {
    padding: 0 2em;
}

/* Datenschutz */
.divtable {
    display: table;
    width: 100%;
}
.divrow {
    display: table-row;
}
.divrow > div {
    display: table-cell;
    padding: 0.5rem 0;
}
.divrow:first-child > div {
    border-top: none;
}
.divtable .divrow > div:first-child {
    width: 38%;
}
.divtable .divrow > div:last-child {
    text-align: right;
    width: 60%;
}
.divtable .divrow:last-child > div {
    border-bottom: none;
}
.datenschutz .divrow > div {
    display: table-cell;
    border-bottom: 1px solid var(--primary);
    padding: 10px;
}
.datenschutz .divrow > div:nth-child(3) {
    width: 150px;
}
.datenschutz .divrow > div:first-child {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-focus);
}
.datenschutz .divrow > div:first-child {
    font-weight: 600;
    font-size: inherit;
    color: var(--primary-focus);
    width: auto;
}
.datenschutz .divrow.th {
    font-weight: 600;
    color: var(--primary-focus);
}
.datenschutz .divrow > div:last-child {
    text-align: left;
    width: auto;
}
.datenschutz .divrow {
    width: 100%;
    float: none;
    display: table-row;
    padding-right: 5%;
    border-left: none;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-bottom: 1px solid var(--primary);
}
.datenschutz.divtable .divrow:last-child > div {
    border-bottom: 1px solid var(--primary) !important;
}

/* Div Table */
.divTable {
    display: table;
    width: 100%;
}
.divTableRow {
    display: table-row;
}
.divTableHeading {
    background-color: #eee;
    display: table-header-group;
}
.divTableCell,
.divTableHead {
    display: table-cell;
    padding-top: 1rem;
    padding-right: 0.5rem;
}
.divTableHeading {
    background-color: #eee;
    display: table-header-group;
    font-weight: bold;
}
.divTableFoot {
    background-color: #eee;
    display: table-footer-group;
    font-weight: bold;
}
.divTableBody {
    display: table-row-group;
}