@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

:root {
    --color-yellow: #fde61a;
    --color-green: #6c9c11;
    --color-green-alt: #8cc919;
    --color-font: #113578;
    --color-blue-alt: #00a6e9;
    --color-blue: #007eb0;
    --color-bgblue: #e5f6fd;
    --color-bggreen: #f3fae8;
    --color-darkblue: #113578;
    --bs-body-color: #6a6969;
}

body {
    color: var(--color-font);
    font-size: 1rem;
    line-height: normal;
    font-weight: 100;
}

html, body, div, p, ul, ol, span, a, table, td, form, img, li {
    font-family: "Helvetica Neue LT Pro";
    font-weight: 400;
    text-decoration: none;

}

h1, h2, h3, h4 {
    font-weight: 100;
    line-height: 1;
}



a:not(.nav-link, .button-link) {
    color: var(--color-font);
    text-decoration: underline;
}

h1 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

.fs-1 {
    font-size: 3rem !important;
}

h3 {
    font-size: 2.5rem;
}

.fw-100 {
    font-weight: 100;
}

.fw-400 {
    font-weight: 400;
}


.fw-900, strong {
    font-weight: 900;
}

.font-green {
    color: var(--color-green);
    font-size: 2.5rem;
}

a.nav-link {
    color: var(--color-blue);
    font-size: 1.2rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.form-check-input {
    margin-top: -1px;
    margin-right: 5px;
}

.contenttable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.table>:not(caption)>*>* {
    background-color: transparent;
    border:0;
    color: inherit;
}
.contenttable td {

}

.form-element.mb-3 {
    margin-bottom: 2rem !important;
}

.ce-headline-center {
    text-align: center;
}

.ce-form_formframework h2 {
    color: var(--color-green);
    font-weight: 900;
}

.circle-button {
    top: -120px;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: var(--color-yellow);
    color: var(--color-darkblue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.headerbild {
    padding-top: 150px;

}

dl {
    display: grid;
    grid-gap: 4px 16px;

}
dt {
    font-weight: bold;
    text-align:right;
}
dd {
    margin: 0;
    grid-column-start: 2;
    text-align:left;
}


.menubar {
    background-color: white;
    z-index: 1000;
}

.logo {
    min-width: 250px;
}

.bgheadermob {
    background-color: #0C4B9B;
    color: white;
}

.layout-201 {
    background-color: var(--color-darkblue);
    color: white;
}

.layout-202 {
    background-color: var(--color-blue);
    color: white;
}

.layout-203 {
    background-color: var(--color-bgblue);
}

.layout-204 {
    background-color: var(--color-bggreen);
}

.layout-205 {
    background-color: var(--color-yellow);
}

.layout-201 a, .layout-202 a, .layout-201 a:hover, l.ayout-202 a:hover {
    color: white;
}

.vorteil-item {
    height: 100%;
    position: relative;
    background-color: var(--color-bggreen);
}

.vorteil-item-big {
    height: 100%;
    position: relative;
    box-shadow: 5px 1px 10px 4px #CCCCCC;
    background-color: white;
}


.col.vorteil:nth-child(even) > .vorteil-item {
    background-color: var(--color-bgblue);
}

.col.vorteil {
    margin-bottom: 75px;
}

.vorteil-image {
    position: absolute;
    top: -75px;
}

.vorteil-image-big, .news-detail-image {
    position: absolute;
    top: -125px;
}

.vorteil-image img, .vorteil-image-big img {
    border-radius: 50%;
}

.vorteil-text {
    padding: 1rem;
    padding-top: 100px;
}

.vorteil-text-big {
    padding: 1rem;
    padding-top: 150px;
}

.vorteil-text p, .vorteil-text-big p {
    margin-bottom: 0.5rem;
}

.carousel-control-prev {

}

.carousel-control-next {

}

.img-description-absolute {
    position: absolute;
    bottom: 30px;
    right: 0px;
    color: white;
    font-size: 0.8rem;
    transform: rotate(-90deg);
}

.carousel-inner {
    padding-top: 150px;
    padding-bottom: 50px;
}


.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23113578'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23113578'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
}

textarea {
    width: 100%;
    height: 400px; /* Anfangshöhe */
    resize: none; /* Entfernt die Option zum manuellen Vergrößern/Verkleinern */
    overflow: hidden; /* Verhindert Scrollbars innerhalb der Textarea */
    box-sizing: border-box;
}
.word-count {
    margin-top: 10px;
    font-size: 14px;
}
.word-count span {
    font-weight: bold;
}

legend, .form-label, .form-text {
    font-size: 100%;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.form-element-fieldset:not(.form-element-radio) > legend {
    display: none;
}

/* Innere Legends bleiben sichtbar */
.form-element-fieldset fieldset legend {
    display: block;
}

.form-element-fieldset fieldset {
    margin-left: 1.5rem;
}


nav.form-navigation {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    background-color: var(--color-green);
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1rem;
    border-color: var(--color-green);
}

.btn-primary:hover {
    background-color: white;
    color: var(--color-green);
    border-color: var(--color-green);
}


.triangle {
    width: 0; /* Breite ist 0, da wir nur mit Rändern arbeiten */
    height: 0; /* Höhe ist 0 */
    border-top: 120px solid transparent; /* Der obere Rand ist transparent */
    border-bottom: 120px solid transparent; /* Der untere Rand ist auch transparent */
    border-left: 180px solid var(--color-blue); /* Der linke Rand hat die Hintergrundfarbe */
    margin:auto;

}

.zeitstrahl > div:nth-child(even) > div.triangle {
    border-left-color: var(--color-darkblue);
}

.zeitstrahl > div {
    margin-bottom: 2rem;
}

.tr-content {
    position: absolute;
    left: calc(50% - 75px);
    top: 70px;
    text-align: left;
    color: white;
}

.zeit-text {
    text-align: left;
    font-weight: 900;
    color: var(--color-darkblue);
    /* margin: auto; */
    margin-left: calc(50% - 90px);
    margin-top: 20px;
}



.accordion-item {
    color: inherit;
    background-color: inherit;
    border: 0;
    margin-bottom: 1rem;

}

.accordion-header {
    border-bottom: 1px solid var(--color-darkblue);
    font-size: 1.2rem;
    cursor: pointer;
}

.accordion-header {
    position: relative;
    justify-content: space-between;
}

.collapse-icon {
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
}

.img-line-under {
    border-bottom: 2px dashed var(--color-blue);
    padding-bottom: 1rem;
}

footer {
    font-size: 0.8rem;
    margin-top: 3rem;
    border-top: 4px solid var(--color-darkblue);
    padding-top: 1rem;
}
.headertext {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 4rem;
    font-weight: 100;
    color: white;
    line-height: 1;
}

.header-mob {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: end;
    flex-direction: column;
    background-color: rgba(255,255,255,0.8);
}

.headertext-mob {
    background-color: rgba(255,255,255,0.8);
    text-align: center;
}

.headertext-mob * {
    word-break: initial !important;
}

.headertext-mob h1 {
    margin: 0;
}


.headertext p {
    margin-bottom: 0;
}

.hintergrundbild {
    height: 40vh;
    min-height: 300px;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    padding:0;
}


.active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--color-darkblue);
    border-color: var(--color-darkblue);
}

.f3-widget-paginator.pagination a {
    text-decoration: none;
}

.pagination .page-link {
    padding-top: 0.75rem !important;
}

.pagination .page-link:hover {
    color: var(--color-darkblue);
    background-color: var(--color-bgblue);
    border-color: var(--color-bgblue);
}

.list-news-item {
    background-color: var(--color-bgblue);
    height: 100%;
}



.container-fluid.layout-201 .list-news-item, .container-fluid.layout-202 .list-news-item,.container-fluid.layout-203 .list-news-item, .container-fluid.layout-204 .list-news-item,.container-fluid.layout-205 .list-news-item {
    background-color: white !important;
}

.mediaelement {
    margin-bottom: 1rem;
}

@media screen and (max-width: 767px) {
    h1, h2 {
        font-size: calc(1rem + 1.5vw) !important;
    }
    .hintergrundbild {
        height: 200px;
        min-height: unset;
    }

}

/* Darstellung als Balken bei kleinen Bildschirmen */
@media screen and (max-width: 1199px) {
    .circle-button {
        top: auto;            /* Keine vertikale Zentrierung mehr nötig */
        right: 0;             /* Immer noch rechts */
        bottom: 0;            /* Positioniert am unteren Rand des Containers */
        transform: none;      /* Entfernung der Transformation */
        width: 100%;          /* Button nimmt die gesamte Breite des Containers ein */
        height: auto;         /* Höhe passt sich Textinhalt an */
        border-radius: 0;     /* Kreisform wird entfernt */
        padding: 20px 0;      /* Vertikaler Abstand innerhalb des Balkens */
    }

    .headerbild {
        padding-top: 0px;
    }

    .circle-button {
        display: block;
        font-size: 2rem;
    }

    .headertext {
        font-size: 2rem;
        line-height: 0.8;

    }
    h1,h2,h3,h4,p {
        word-break: break-word;
    }

    h1, h2, .fs-1 {
        font-size: calc(1.5rem + 2vw) !important;
    }

    h3 {
        font-size: calc(1rem + 1vw) !important;
    }

    .carousel-control-next, .carousel-control-prev {
        width: 10%;
    }

}

@media (min-width: 992px) {
    .row-cols-lg-8>* {
        flex: 0 0 auto;
        width: 12.5%;
    }
    .row-cols-lg-10>* {
        flex: 0 0 auto;
        width: 10%;
    }

    .row-cols-lg-12>* {
        flex: 0 0 auto;
        width: 8.333333%;
    }

    .headertext {
        height: calc(100% - 150px);
    }

    .hintergrundbild .headertext {
        height: 100%;
    }


    .carousel-item {
        padding-left: 150px;
        padding-right: 150px;
    }

    .list-archive-item .list-media {
        text-align: right;
    }
}

@media screen and (min-width: 1200px) {
    .menubar:not(.subpage) {
        position: fixed;
    }
    .circle-button {
        position: absolute;
        transform: rotate(-10deg);

    }

    .row-cols-xl-8>* {
        flex: 0 0 auto;
        width: 12.5%;
    }

    .row-cols-xl-10>* {
        flex: 0 0 auto;
        width: 10%;
    }

    .row-cols-xl-12>* {
        flex: 0 0 auto;
        width: 8.333333%;
    }

    .timeline-container {
        background-image: radial-gradient(circle, var(--color-darkblue) 50%, transparent 50%);
        background-size: 20px 10px;
        background-repeat: repeat-x;
        background-position: center;
    }

}




