@font-face {
    font-family: iconfont;
    src: url(fonts/iconfont.eot?v=2.5.1);
    src: url(fonts/iconfont.eot?#iefix&v=2.5.1) format("eot"),
    url(fonts/iconfont.woff?v=2.5.1) format("woff"),
    url(fonts/iconfont.ttf?v=2.5.1) format("truetype"),
    url(fonts/iconfont.svg#iconfont&v=2.5.1) format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Open Sans Condensed";
    src: url("./fonts/open-sans-condensedlight.eot");
    src: url("./fonts/open-sans-condensedlight.eot?#iefix") format("embedded-opentype"),
    url("./fonts/open-sans-condensedlight.otf") format("opentype"),
    url("./fonts/open-sans-condensedlight.svg") format("svg"),
    url("./fonts/open-sans-condensedlight.woff") format("woff"),
    url("./fonts/open-sans-condensedlight.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Open Sans Condensed";
    src: url("./fonts/open-sans-condensedbold.eot");
    src: url("./fonts/open-sans-condensedbold.eot?#iefix") format("embedded-opentype"),
    url("./fonts/open-sans-condensedbold.otf") format("opentype"),
    url("./fonts/open-sans-condensedbold.svg") format("svg"),
    url("./fonts/open-sans-condensedbold.woff") format("woff"),
    url("./fonts/open-sans-condensedbold.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Dax-Condensed-Bold";
    src: url("./fonts/dax_condensed_bold.woff2") format("woff2"),
    url("./fonts/dax_condensed_bold.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "TheMixC5-Plain";
    src: url("./fonts/TheMixC5-5_Plain.woff2") format("woff2");
    src: url("./fonts/TheMixC5-5_Plain.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "TheMixC5-Bold";
    src: url("./fonts/TheMixC5-7_Bold.woff2") format("woff2");
    src: url("./fonts/TheMixC5-7_Bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 16px;
}

/*
1.8rem (18px) → 1.125rem
3.4rem (34px) → 2.125rem
3.2rem (32px) → 2rem
3.1rem (31px) → 1.9375rem
1.6rem (16px) → 1rem
1.4rem (14px) → 0.875rem
1rem (10px) → 0.625rem
2rem (20px) → 1.25rem
2.1rem (21px) → 1.313rem
1.1rem (11px) → 0.6875rem
30rem (300px) → 18.75rem
4rem (40px) → 2.5rem
6rem (60px) → 3.75rem
*/
h1 {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    line-height: normal;
    letter-spacing: normal;
}

#page {
    margin: 0 auto;
}

.frontend .text-content table,
.frontend .views-table,
.frontend .draggable-table,
.frontend .text-content,
body {
    font-family: var(--font-family, arial, sans-serif), sans-serif;
    line-height: 1.5em;
    font-size: 1.125rem;
}

.layout--onecol .block__title,
.layout--twocol-section--50-50 .block__title,
.layout_section.sidebar .layout__region--first .block__title,
.layout_section.sidebar.left .layout__region--second .block__title {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    font-size: 1.5rem;
    line-height: 2.563rem;
    font-weight: normal;
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 2.125rem;
    font-weight: normal;
}

.layout_section.tertiary .layout__region:not(.content_no_bg) h2.block__title {
    color: var(--primary);
}

.layout_section.sidebar.aktuelles_projekt .layout__region--first .block__title,
.layout_section h2.section-title,
.layout_section h2 {
    font-size: 2.125rem;
    font-weight: normal;
}

.layout_section h2.section-title {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    margin-bottom: 2.5rem;
    line-height: 2.563rem;
}

header {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    position: sticky;
    background: #fff;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #D7D9DA;
    display: block;
    min-height: unset;
    box-shadow: none;
}

header .block-superfishmain span.login,
header .block-superfishmain span.logout,
header .block-superfishmain span.kontakt {
    display: none;
}

.region-header-logo {
    display: flex;
    align-items: center;
}

.block-block__eueco-logo {
    margin-top: 29px;
}

.block-block__eueco-logo img {
    filter: none;
    max-width: 100px;
}

#header_inner {
    display: flex;
    justify-content: space-between;
    height: 100%;
    max-width: var(--content_width_narrow);
    margin: 0 auto;
    width: 100%;
}

.parent .region-header,
#header_inner #header_inner_content_wrapper .region-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: flex-end;
}

.region-header .block-superfish {
    flex: unset;
}
.modal_login, .modal_logout {
    background-color: #ffffff;
    color: #333333;
}
.modal_login form > div:first-child{
    font-family: 'Dax-Condensed-Bold', sans-serif;
    color: var(--primary);
    font-size: 1.313rem;
}
#main {
    width: 100%;
    max-width: 2024px;
    margin: 0 auto;
}

#logo a {
    display: block;
    width: 125px;
    height: 110px;
}

#logo {
    margin-top: 16px;
}

#logo a img {
    max-width: 100%;
    height: auto;
    max-height: unset;
    min-height: unset;
}

header.is_sticky {
    padding-bottom: 0;
}

header.is_sticky #logo a {
    width: 100px;
    height: 71px;
    overflow: hidden;
}

header.is_sticky #logo a img {
    height: 85px;
}

header.is_sticky .block-block__eueco-logo {
    margin-top: 45px;
}

.headerimage.video-bg {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    background-size: cover;
}

.headerimage.video-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

#ee_subscription_block input:read-only {
    background-color: #f5f5f5;
    color: #666;
    border-color: #ccc;
    cursor: default;
}

.region.region-hero {
    max-width: var(--wide_content_width);
    width: 100%;
    margin: 0 auto;
}

footer {
    max-width: var(--wide_content_width);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

footer p {
    margin: 0;
}

footer .text-content p a:not([class]) {
    line-height: 1.9;
}

footer ul.menu li a {
    line-height: 1.8;
}

#page footer ul.menu {
    gap: 0;
}

footer .text-content p a:not([class]):hover,
footer ul.menu li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer h2 {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    margin-block: 1rem;
    margin-block-start: 0;
    font-size:2.125rem;
}

footer h2,
footer h2.block__title,
footer .text-content {
    margin-top: 0;
}

input[type="button"],
input.form-submit,
form input.form-submit,
ul.menu > li.sf-no-children > span a[href="/user/login"],
ul.menu > li.sf-no-children > span a[href^="/user/logout"] {
    font-size: 1.25rem;
}

#page header ul.menu.sf-menu {
    gap: 0;
}

ul.menu li a {
    font-size: 1.125rem;
    text-transform: none;
}

header ul.menu.sf-menu li a {
    color: var(--primary);
    font-size: 1.125rem;
    text-transform: none;
    padding: 0.625rem 1.25rem 0.625rem 1.25rem;
}
header .loginlogout ul.menu.sf-menu li .kontakt a {
    color: #6B6E6A;
}
header .block-superfishmain ul.menu.sf-menu > li:nth-last-child(3) a {
    padding: 0.625rem 0 0.625rem 1.25rem;
}

#page header ul.menu.sf-menu li a:hover {
    color: var(--secondary);
}
header .loginlogout ul.menu.sf-menu li .kontakt a:hover {
    color: #6B6E6A;
}
header ul.menu.sf-menu > li a {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: none;
    padding: 0.6875rem 1.25rem 0.6875rem 1.25rem;
}

header ul.menu.sf-menu ul li a {
    white-space: nowrap;
}

ul.sf-menu > li > ul {
    box-shadow: none;
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

header ul.menu.sf-menu ul {
    padding-top: 1em;
    width: auto;
}


#page footer ul.menu:not(.euecolink) {
    align-items: flex-start;
    text-align: left;
}

.layout_section.sidebar:not(.left) .layout__region--second .ee_block_wrapper,
.layout_section.sidebar.left .layout__region--first .ee_block_wrapper {
    border: solid 1px #D7D9DA;
    margin: 0 0 1.875rem 0;
    padding: 1.875rem;
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
}

.layout_section.sidebar:not(.left) .layout__region--second .ee_block_wrapper h3,
.layout_section.sidebar:not(.left) .layout__region--second .ee_block_wrapper h2.block__title,
.layout_section.sidebar.left .layout__region--first .ee_block_wrapper h3,
.layout_section.sidebar.left .layout__region--first .ee_block_wrapper h2.block__title {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    color: var(--primary);
    font-size: 1.313rem;
    margin: 0 0 1.25rem 0;
    font-weight: normal;
    color: var(--primary);
}

.layout_section.sidebar:not(.left) .layout__region--second,
.layout_section.sidebar.left .layout__region--first {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.layout_section.sidebar.section_has_bg .layout__region .ee_block_wrapper.white h2.block__title {
    color: var(--primary);
}

.layout_section.sidebar.aktuelles_projekt .layout__region--second.layout-builder__region,
.layout_section.sidebar.move_up .layout__region--second.layout-builder__region {
    margin-top: 0;
}

.layout_section .view_mode_hinweistext {
    text-align: left;
    border: 1px solid var(--text_on_gradient_color);
    padding: 2rem;
}

.layout_section > .layout--twocol-section--50-50 > .layout__region--first:not(.block_no_distance) .block-layout-builder,
.layout--twocol-section > .layout__region .block:not(:last-child) {
    margin-bottom: 0;
    padding-bottom: 0;
}

.layout_section .ee_block_wrapper .block__content ul,
#ee_theme_invested_block table.default tr > td:first-child {
    padding-right: 0.625rem;
    display: list-item;
    list-style: disc;
}

.layout_section .ee_block_wrapper .block__content ul li::marker,
#ee_theme_invested_block table.default tr > td:first-child::marker {
    color: var(--primary);
}

/* FAQ Accordion in zwei Spalten */
#faqs_all_categories_open .faq_category_section .accordion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 1.5rem;
}

#faqs_all_categories_open .faq_category_section .accordion > .faq-item {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
}

#faqs_all_categories_open .faq_category_section .accordion > .faq-item > h3 {
    margin: 0;
    display: flex;
    align-items: flex-start;
}

#faqs_all_categories_open .faq_category_section .accordion > .faq-item > div {
    margin-bottom: 1rem;
}


#ee-faq_block h3.ui-accordion-header {
    font-size: 1.25rem;
    font-weight: normal;
    border-bottom: none;
    padding-right: 0;
}

#ee-faq_block .ui-accordion-content-active {
    border-bottom: none;
    font-size: 1rem;
}

#ee-faq_block h3.ui-accordion-header:after {
    content: none;
}

.ui-accordion .ui-accordion-header::before {
    font-family: var(--ee_awesome);
    content: "\2b";
    margin-right: 10px;
}

.ui-accordion .ui-accordion-header.ui-state-active::before {
    content: "\f068";
}

.faq_block h3.ui-accordion-header + .ui-accordion-content {
    padding-left: 2.5rem;
}

h2.faq_category_headline {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    font-size: 1.5rem;
    margin: 3.5rem 0;
}

.block.layout_section.content_narrow .block__content,
.layout_section.content_narrow.block-page-title-block {
    max-width: var(--content_width_narrow);
    width: 100%;
    margin: 0 auto;
}

.layout_section.content_narrow.block-page-title-block {
    padding: 3.5rem 0 0 0;
}
.layout_section.content_narrow.block-page-title-block h1{
  margin:0;
    font-size:2.125rem;
    font-weight: 400;
}
.layout_section.content_narrow.block-page-title-block + .block-system-main-block .node__content .layout_section:first-child{
    padding-top:3.5rem;
}

.layout_section .ee_block_wrapper .field--name-field-ee-card-link a,
.layout_section:not(#projekte) .ee_block_wrapper a.ee_button,
.layout_section.tabs_with_icons:not(#projekte) .field--name-field-ee-card-link a,
.layout_section:not(#projekte) .ee_block_wrapper .field--name-field-ee-card-link a {
    padding-left: 0.875rem;
    padding-right: 2rem;
    max-width: 480px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    hyphens: none;
}

.layout_section#projekte .ee_block_wrapper .field--name-field-ee-card-link a {
    max-width: 100%;
}

.layout_section.section_has_bg .ee_block_wrapper .field--name-field-ee-card-link a {
    background-color: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
}

.layout_section.section_has_bg .ee_block_wrapper .field--name-field-ee-card-link a:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

#page ul.menu > li.sf-no-children > span a[href="/user/login"]:hover,
.layout_section .ee_block_wrapper a.ee_button:hover,
.layout_section.tabs_with_icons .field--name-field-ee-card-link a:hover,
.layout_section .ee_block_wrapper .field--name-field-ee-card-link a:hover {
    background-color: var(--bg_light_blue);
    border-color: var(--bg_light_blue);
}

.layout_section .ee_block_wrapper a.ee_button:after,
.layout_section.tabs_with_icons .field--name-field-ee-card-link a:after,
.layout_section .ee_block_wrapper .field--name-field-ee-card-link a:after {
    font-family: var(--ee_awesome);
    content: "\f054";
    margin-left: 1.5em;
    transition: margin-right 0.2s ease;
    margin-right: 0;
    flex-shrink: 0;
}

.layout_section .ee_block_wrapper a.ee_button:hover:after,
.layout_section.tabs_with_icons .field--name-field-ee-card-link a:hover:after,
.layout_section .ee_block_wrapper .field--name-field-ee-card-link a:hover:after {
    margin-right: -3px;
}

.layout_section#projekte .block-inline-blockee-card .ee_block_wrapper {
    padding: 0;
}

.layout_section#projekte .block-inline-blockee-card,
.layout_section#projekte .block-inline-blockee-card .ee_block_wrapper {
    height: 100%;
}

.layout_section#projekte .block-inline-blockee-card .ee_block_wrapper {
    border: solid 1px #D7D9DA;
    padding-bottom: 1.875rem;
}
.layout_section .layout--onecol .block-inline-blockee-text h3,
.layout_section#projekte .block-inline-blockee-card h3 {
    font-family: 'Dax-Condensed-Bold', sans-serif;
    color: var(--primary);
}

.layout_section#projekte .block__content.headline_bottom {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.layout_section#projekte .block__content .field--name-field-ee-card-text{
    flex:1;
}
.layout_section#projekte .layout-builder-block.block-inline-blockee-card,
.layout_section#projekte .layout-builder-block.block-inline-blockee-card .ee_block_wrapper {
    height: unset;
}

#projekte .ee_block_wrapper:not(.ohne):not(.none).has_bg .text-content,
#projekte .ee_block_wrapper:not(.ohne):not(.none).has_bg .field--name-field-ee-card-link {
    padding: 0 1.875rem;
}

.layout_section#projekte .block-inline-blockee-card .field--name-field-ee-card-link .field__items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#projekte .field--name-field-ee-card-image {
    overflow: hidden;
    position: relative;
}

#projekte .field--name-field-ee-card-image img {
    transition: transform 0.3s ease;
}

#projekte .field--name-field-ee-card-image:hover img {
    transform: scale(1.1);
}

.layout_section .ee_block_wrapper .field--name-field-ee-card-link a {
    text-align: left;
}

.layout_section.sidebar:not(.left) .layout__region--second .ee_block_wrapper.white .text-content p,
.layout_section.sidebar.left .layout__region--first .ee_block_wrapper.white .text-content p {
    margin-bottom: 0;
}

.layout_section.sidebar .lightbox img {
    margin: 0 auto;
}

#vermittler_hinweis {
    margin-bottom: 0;
    padding-bottom: 0;
}

#content > #vermittler_hinweis.block-block-content:last-child {
    margin-bottom: 0;
}

#vermittler_hinweis .text-content {
    color: #333333;
}

#vermittler_hinweis h3 {
    font-size: 1.563rem;
    font-family: 'Dax-Condensed-Bold', sans-serif;
    color: var(--primary);
}

.ee_block_wrapper h4 {
    margin-block: 0;
    margin-bottom: 1rem;
}

.sidebar .ee_block_wrapper.white p:nth-child(n+2) a.ee_button_inverse.download-button {
    margin-top: 15px;
}

.zuteilungsverfahren .ee_block_wrapper:not(.ohne):not(.none):not(.view_mode_hinweistext).has_bg {
    padding: 40px 0;
}

.zuteilungsverfahren .block-layout-builder:not(:last-child) .field,
.block-layout-builder:not(:last-child) .view_mode_hinweistext .field {
    margin-block-end: 0;
}

.block-inline-blockee-text .text-content ul {
    margin-top: 1.5em;
}

#pid-projekte-joerdenstorf h2.faq_category_headline {
    display: none;
}

/* Cookie Banner - Fix für volle Breite */
#sliding-popup,
.sliding-popup-bottom {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    transform: none !important;
}

#sliding-popup .eu-cookie-compliance-content {
    max-width: var(--content_width_narrow, 1220px);
    margin: 0 auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

#sliding-popup h2 {
    font-size: 1.5rem;
    line-height: normal;
}

#sliding-popup button {
    text-align: center;
}

div#sliding-popup, div#sliding-popup .eu-cookie-withdraw-banner, .eu-cookie-withdraw-tab {
    background: none;
    background-color: #74BADC;
}

.find-more-button, .eu-cookie-compliance-content #popup-text {
    color: var(--text_color);
}

.eu-cookie-withdraw-button,
.eu-cookie-compliance-default-button,
.popup-buttons button,
.eu-cookie-compliance-save-preferences-button button,
.eu-cookie-compliance-categories-buttons button {
    display: inline-block;
}

.eu-cookie-withdraw-button:after,
.eu-cookie-compliance-default-button:after,
.popup-buttons button:after,
.eu-cookie-compliance-save-preferences-button button:after,
.eu-cookie-compliance-categories-buttons button:after {
    font-family: var(--ee_awesome);
    content: "\f054";
    margin-left: 1.5em;
    float: right;
    transition: margin-right 0.2s ease;
    margin-right: 0;
}

.eu-cookie-compliance-categories-buttons button:hover,
.disagree-button.eu-cookie-compliance-more-button:hover,
.eu-cookie-compliance-agree-button:hover, .eu-cookie-compliance-default-button:hover,
.eu-cookie-compliance-hide-button:hover, .eu-cookie-compliance-more-button-thank-you:hover, .eu-cookie-withdraw-button:hover {
    color: #ffffff;
    border: none;
}

.ee_button_inverse.download-button.ee_icon::after {
    content: none;
}

.sidebar .ee_block_wrapper.white a.ee_button_inverse.download-button {
    display: inline-block;
    font-size: 1.125rem;
    text-align: left;
    padding: 0;
    border-radius: 0;
    border: none;
    padding-left: 1.5em;
    position: relative;
}

.ee_button_inverse.download-button.ee_icon::before {
    font-family: var(--ee_awesome);
    content: "\f019";
    position: absolute;
    left: 0;
    top: 0;
}

#scroll_top {
    background-color: #D1D823;
    border-radius: 50%;
    border: 0;
    outline: none;

    width: 51px;
    height: 51px;

    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9998;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease,
    visibility 0.3s ease,
    background-color 0.2s ease;
}

#scroll_top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#scroll_top::before {
    content: "";

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.573' fill='%23FFF' height='23.601' viewBox='16.893 11.799 14.573 23.601'%3E%3Cpath d='M16.893 14.572l9.009 9.027-9.009 9.026 2.773 2.774 11.8-11.8-11.8-11.801-2.773 2.774z'/%3E%3C/svg%3E");

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    position: absolute;

    width: 10px;
    height: 24px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) rotate(-90deg);

    pointer-events: none;

    transition: transform 0.2s ease;
}

#scroll_top:hover {
    background-color: #91A231;
}

#scroll_top:hover::before {
    transform: translate(-50%, calc(-50% - 3px)) rotate(-90deg);
}
.mm-spn.mm-spn--light {
    color: var(--text_color);
    background: #ffffff;
}
.mm-spn.mm-spn--light a {
    color: var(--text_color);
}

.mm-spn a.is-active:not([href*="/#"]) {
    background-color:  var(--primary);
    color: #ffffff;
}
