:root {
    --download-btn-color: 255 140 0;
    --color-charcoal: #1E3439;
    --color-charcoal-2: #21383F;
    --color-minty: #63ae8e;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--color-charcoal-2);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

main {
    flex: 1;
}

figure img {
    border-radius: unset;
    margin: 0;
}

h1, h2, h3, h4 {
    padding: 0;
    margin: 0;
}

.gema_header,
.gema_footer {
    background-color: white;
    padding: 0;
    flex: 0;
}

.gema_header > .gema_navbar {
    display: grid;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 15px;
    padding-bottom: 15px;
    grid-template-columns: 160px 1fr 100px;;
    background-color: var(--color-charcoal);
    transform: translate(0px, 0px);
}

.gema_footer > .gema_navbar {
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: var(--color-minty);
}

.gema_navbar_logo {
    margin-left: 0;
    grid-column: 1;
    grid-row: 1;
}

.gema_navbar_logo > img {
    height: 64px;
}

.gema_navbar_menu_wrapper {
    display: flex;
    flex-direction: row-reverse;
}


.gema_navbar_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.gema_navbar_item {

}

header .gema_navbar_item > a:hover {
    text-decoration: none;
    color: darkorange;
}

footer .gema_navbar_item > a:hover {
    text-decoration: none;
    color: #21383f;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}


.block {
    width: 100%;
    padding-top: 66px;
    padding-bottom: 66px;
}

.block__inner {
    position: relative;
}

.block img {
    display: block;
    max-width: 100%;
    height: auto;

}

/* Container des Blocks */
.block--headline-image {
    position: relative;
    padding: 0;
    background-size: 100% 100%;
    height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Bild geht über gesamte Breite */
.block--headline-image .block__image {
    width: 100%;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.block--headline-image .block__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Optional: dunkles Overlay */
.block--headline-image .block__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55));
}

/* Der Text, der auf dem Bild steht */
.block--headline-image .block__text {
    text-align: center;
    width: 100%;
    color: white;
    z-index: 5;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.6;
    top: 50%;

}

.block--headline-text {
    /*background-color: red;*/
    text-align: center;
}

.block--headline-text h2 {
    /*font-size: 2rem;*/
    font-weight: 700;
    margin-top: unset;
}

.block--headline-text .block__body {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 800px;
}

.block--headline-text .block__textitems {
    text-align: center; /* Zentriert den UL-Block */
}

.block--headline-text ul {
    display: inline-block; /* UL wird wie ein zentrierbarer Block behandelt */
    text-align: left; /* Inhalt bleibt linksbündig */
}

nav {
    background-color: darkgreen;
}

.block--headline-image-text-groups {
    background-color: var(--color-charcoal);
    text-align: center;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
}

.block--headline-image-text-groups .block__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.block--headline-image-text-groups .block__item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.block__item-header {
    font-size: 20px;
    font-weight: 800;
    margin-top: 15px;
    margin-bottom: 15px;
}

.block--headline-image-text-groups .block__item img {
    display: block;
    max-width: 100%;
    height: 80px;
}

.block--headline-image-text-groups .block__item .block__item-text {
    width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.block--headline-image-text-groups > h2 {
    color: #d3d7d9;
}

.block--whitepaper-download {
    text-align: center;
    background-color: #21383f;
    color: white;
}

.block--whitepaper-download form {
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    margin-top: 50px;
}

.block--whitepaper-download .formrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 40px;
    gap: 40px;
}


.block--whitepaper-download .formrow2 {
    margin: 40px;
    text-align: start;
    display: flex;
    align-items: center;
}

.block--whitepaper-download .formrow2 input {
    margin-right: 15px;
}

.block--whitepaper-download textarea {
    grid-column-start: 1;
    grid-column-end: 3;
}

/* Submit Button */
.block--whitepaper-download .submit {
    border-radius: 25px;
    background-color: rgb(var(--download-btn-color));
    border: none;
    color: white;
    width: 250px;
    padding: 13px 35px;
}

.block--whitepaper-download .submit:hover {
    /*background-color: rgb( var(--download-btn-color) / 0.9);*/
    /*color: var( --color-charcoal );*/
    cursor: pointer;
    background-color: #FE9845;
}

.block--whitepaper-download form a {
    text-decoration: underline;
}

a.dslink:hover {
    color: orange;
    text-decoration: none;
}

.block--textarea {
    /*padding: 15px;*/
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.block--whitepaper-download input,
.block--whitepaper-download textarea {
    border-radius: 25px;
    padding: 15px;
    border-color: transparent;
    color: var(--color-charcoal);
}

.block--whitepaper-download input {
    height: 50px;
}

.block--whitepaper-download input[type='text']:focus,
.block--whitepaper-download textarea:focus {
    outline: 2px solid var(--color-minty);
    outline-offset: 2px;
}

.block--whitepaper-download textarea {
    grid-column-start: 1;
    grid-column-end: 3;
    resize: none;
}

.block--headline-text .text {
    /*width: 1000px;*/
    text-align: center;
    margin: auto;
    line-height: 28px;
}

@font-face {
    font-family: 'poppinssemibold';

    src: url('/assets/fonts/poppins/poppins-semibold-webfont.eot');

    src: url('/assets/fonts/poppins/poppins-semibold-webfont.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/poppins/poppins-semibold-webfont.woff2') format('woff2'),
    url('/assets/fonts/poppins/poppins-semibold-webfont.woff') format('woff'),
    url('/assets/fonts/poppins/poppins-semibold-webfont.ttf') format('truetype'),
    url('/assets/fonts/poppins/poppins-semibold-webfont.svg#poppinssemibold') format('svg');

    font-weight: normal;

    font-style: normal;
}


/* Checkbox styling */
input[type="checkbox"] {
    appearance: none;
    background: #fff;
    border: 2px solid transparent;
    height: 1.5em;
    width: 1.5em;
    border-radius: 100%;
    vertical-align: text-bottom;
    position: relative;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    top: 0;
}

input[type="checkbox"]:checked::before {
    border-right: 5px solid var(--color-minty);
    border-bottom: 6px solid var(--color-minty);
    height: 90%;
    width: 30%;
    transform: rotate(50deg) translateY(-20%) translateX(-10%);
}


.block.block--information,
.block.block--download {
    text-align: center;
}

.block--information .text,
.block--download .text {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
    line-height: 28px;
    margin-left: auto;
    margin-right: auto;
}

.block--information .btn,
.block--download .btn {
    border: 2px solid var(--color-charcoal-2);
    border-radius: 3rem;
    padding: 15px 35px;
    color: var(--color-charcoal-2);
}

.block--information h2,
.block--download h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: unset;
}

.block--information .btn:focus-visible,
.block--download .btn:focus-visible {
    outline: none;
}

.block--information .btn:hover,
.block--download .btn:hover {
    background-color: var(--color-charcoal-2);
    /*! background-color: rgb( var(--color-charcoal-2) / 0.9); */
    color: white;
}


.gema-info-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.btn.download-btn {
    background-color: rgb(var(--download-btn-color));
    border: none;
    color: white;
}

.btn.download-btn:hover {
    /*color: var( --color-charcoal );*/
    /*background: rgb(var(--download-btn-color));*/
    background-color: #FE9845;
    color: white;
}

.grid {
    display: grid;
}

.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.col-1 {
    grid-column-start: 1;
}

.col-2 {
    grid-column-start: 2;
}

.text.align-left {
    text-align: left;
}

.align-left {
    text-align: left;
}

.circular-image {
    border-radius: 50%;
    width: 500px;
    height: 500px;
    min-width: 500px;
    min-height: 500px;
}

.color-white {
    color: white;
}

.slider {
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    height: 450px;
    color: white;
    max-width: 100vw;
}

.slide {
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 5rem;
    padding: 15px 70px;
    background-blend-mode: darken;
    background-color: rgba(0, 0, 0, 0.2);
}




li.fahrplan_list_item:last-child {
    border-left: none;
}



.fahrplan_list_item {
    display: flex;
    flex-direction: row;
    padding-bottom: 60px;
    border-left: 3px solid white;

}

.fahrplan_list_item h2 {
    color: #62ae8e;
}

.fahrplan_list {
    margin-left: 27px;
}

.fahrplan_list_item_counter {
    border-radius: 50%;
    font-size: 24px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;


    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
    margin-left: -27px;
    background-color: #62ae8e;
}

.fahrplan_list_content {
    margin-left: 20px;
}




.kontakt-button {
    border-radius: 25px;
    background-color: rgb(var(--download-btn-color));
    border: none;
    color: white;
    /*width: 250px;*/
    padding: 13px 35px;
    margin-top: 64px;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/*.card-list {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: center;*/
/*    gap: 35px;*/
/*    padding-top: 65px;*/
/*}*/

.card-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 15px;
    padding-top: 65px;
    padding-left: 15px;
    padding-right: 15px;
}



.card {
    background: #1d3438;
    border-radius: 1.25rem;
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*width: 390px;*/
}

.card-icon {
    height: 100px;
    width: 100px;
    background-color: #62AE8E;
    margin-top: -65px;
    border-radius: 50%;
}

.card-body {

}

.card-title {
    font-weight: bold;
    font-size: 24px;
}

.card-text {
    padding: 24px 36px;
}

.card-text ul {
    list-style: disc;
}

.card-text ul li {
    margin-bottom: 20px;
}

.swiper-pagination-bullet {
    background: #000 !important;
    opacity: 1.0;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: transparent !important;
    border-color: black;
}


/*.text p {*/
/*    padding: 15px;*/
/*}*/

.block_link {
    display: flex;
    flex-direction: row;
    justify-content: center;
}


p {
    margin: 24px;
}


.fahrplan_list_content p {
    margin: 0;
}




.section_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    word-break: break-word;
}



/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {

    /* CSS */
    .section_content {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .block--headline-image .block__text {
        font-size: 65px;
        padding: 0 100px;
    }
}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

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

    /* CSS */
    .section_content {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .block--headline-image .block__text {
        font-size: 65px;
        padding: 0 100px;
    }

}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

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

    /* CSS */
    .section_content {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }


    .block--headline-image .block__text {
        font-size: 65px;
        padding: 0 100px;
    }

    .cols-2 {
        grid-template-columns: 1fr;
    }

    .circular-image {
        margin-left: auto;
        margin-right: auto;
    }

}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */
    .section_content {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .block--headline-image .block__text {
        font-size: 65px;
        padding: 0 100px;
    }




}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */
    .cols-2 {
        grid-template-columns: 1fr;
    }

    .circular-image {
        margin-left: auto;
        margin-right: auto;

        width: 350px;
        height: 350px;
        min-width: 350px;
        min-height: 350px;
    }

    .block--headline-image .block__text {
        font-size: 65px;
    }

}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    /* CSS */
    .section_content {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }



    .card-list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 65px;
        padding-top: 65px;
    }

    .fahrplan_list_content {
        margin-left: 20px;
        max-width: calc(100vw - 80px);
        word-break: break-word;
    }


    .block--headline-image .block__text {
        font-size: 48px;
    }


    .cols-2 {
        grid-template-columns: 1fr;
    }

    .circular-image {
        margin-left: auto;
        margin-right: auto;

        width: 350px;
        height: 350px;
        min-width: 350px;
        min-height: 350px;
    }
}




h2.ac-header {
    font-size: 24px;
}

/*section {*/
/*    padding-left: 96px;*/
/*    padding-right: 96px;*/
/*}*/

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon img {
    width: 60px;
    height: 60px;
}


h1, h2, h3, h4 {
    line-height: 1.2;
}

.block__text p{
    line-height: normal;
}

.gema_navbar {
    position: relative;
}

.back_to_top {
    background-image: url('/assets/images/ge_dmea_backtotop.svg');
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top: 10px;
}

.section.section-image {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: initial;
}


.section-image-img {
    object-fit: fill;
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.ac-panel p {
    margin-top: 0;
    margin-bottom: 5px;
}


.card-body {
    margin-top: 15px;
}


/* NAVBAR */


.gema_navbar a.gema_navbar_icon {
    width: 50px;
    height: 50px;
    display: block;
    align-self: center;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;

}

.gema_navbar a.gema_navbar_icon {
    display: none;
}

.gema_navbar_menu_wrapper {
    display: flex;
}


.l-nav__lang.c-nav-lang .sr-only {
    display: none;
}
.l-nav__lang.c-nav-lang .active {
    text-decoration: underline;
}
.l-nav__lang.c-nav-lang {
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: end;
}

.l-nav__lang.c-nav-lang a:hover {
    color: darkorange;
}


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

    .gema_navbar {
        padding-left: 50px !important;
        padding-right: 50px !important;
        z-index: 5;
        position: relative;
    }

    .gema_navbar a.gema_navbar_icon {
        display: block;
    }

    .gema_navbar_menu_wrapper {
        display: none;
        grid-row-start: 3;
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--color-charcoal);
        width: 100%;
        padding: 15px;
    }

    .gema_navbar_menu {
        flex-direction: column;
    }


    .gema_navbar .c-nav-icon__line {
        stroke: white;
    }

    .gema_navbar .c-nav-icon__cross {
        stroke: transparent;
    }

    .gema_navbar.menu-visible .gema_navbar_menu_wrapper {
        display: flex;
        /*flex-direction: column;*/
        justify-content: center;
        align-content: center;
        justify-content: center;
        align-content: center;
        font-size: 24px !important;
    }

    .gema_navbar_item {
        font-size: 24px !important;
    }


    .gema_navbar.menu-visible .c-nav-icon__line {
        stroke: transparent;
    }

    .gema_navbar.menu-visible .c-nav-icon__cross {
        stroke: white;
    }

    .l-nav__lang.c-nav-lang {
        display: none;
    }

    .gema_navbar.menu-visible .l-nav__lang.c-nav-lang {
        display: flex;
    }


    .l-nav__lang.c-nav-lang {
        grid-row: 2;
        grid-column: 1/4;
        justify-self: center;
        font-size: 24px;
    }

    .gema_navbar_menu {
        align-items: center;
    }


}

