:root{
    --bs-body-font-size: clamp(1rem, 1vw + .7rem, 1.35rem);
    /* Spiegelt die .container-Breakpoints aus Theme/theme.scss - einheitliche Referenzbreite für Content-Container */
    --content-container-width: 100%;
    /* Gedämpfter Fließtext (Bootstrap 5.3 Secondary-Text-Variable), Markenpalette Gruber */
    --bs-secondary-color: #667783;
}

@media (min-width: 576px) {
    :root { --content-container-width: 540px; }
}
@media (min-width: 768px) {
    :root { --content-container-width: 90vw; }
}
@media (min-width: 992px) {
    :root { --content-container-width: 100%; }
}
@media (min-width: 1100px) {
    :root { --content-container-width: 95vw; }
}
@media (min-width: 1400px) {
    :root { --content-container-width: 1320px; }
}

.navbar-toggler-icon:after, .navbar-toggler-icon, .navbar-toggler-icon:before {
    width:50px;
    line-height:1.5;
    height:3px;

}

ul.list-normal {
    list-style: none !important;
    padding: 0;margin: 0;
}

ul.list-normal ul {
    list-style: none;
}


ul.list-normal li {
   position: relative;
    padding-left: 1.5em;
}

ul.list-normal li::before {
    content:"";
    position: absolute;
    width:15px;
    height:15px;
    left:0;
    top:7px;
    background-color:var(--bs-primary);


}

ul.list-normal ul li::before {
    content:"";
    position: absolute;
    width:12px;
    height:12px;
    left:0;
    top:9px;
    background-color:#fff;
   border: 2px solid var(--bs-primary);


}


@media (max-width: 62.5em) {
    .gallery-item-size-3 {
        --gallery-columns: 1;
    }
}

.navbar-toggler.collapsed .navbar-toggler-icon {
height:3px;
}

.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
    position: absolute;
    left:unset;
   right:0;
    width: auto;
    height: 100%;

    border: 0;
}

.timeline-item-date {
    display:none;
}

#c454 .embed-responsive .embed-responsive-item, #c454  .embed-responsive iframe, #c454  .embed-responsive embed, #c454  .embed-responsive object, #c454  .embed-responsive video {
    position: absolute;
    left:0;
    width: auto;
    height: 100%;

    border: 0;
}


.navbar-toggler-icon {
    top: 50%;
    left: 50%;
    height: 0;
    transform: translate(-50%, -50%);
}

.navbar-toggler-icon {
    top: 50%;
    left: 50%;
    height: 0;
    transform: translate(-50%, -50%);
}

@media (min-width: 992px) {
    .nav-item:hover .dropdown-menu:has(li) {
        display: block;
        top: 100%;
        border-radius: 0;
    }

    .navbar-mainnavigation .nav-item {
        flex-wrap: nowrap;
    }
}



.carousel .carousel-control-icon {
    border-radius: 2px;
    background-size: calc(200% - 10px);
    max-width: 200%;

}

.carousel-control-prev
{
left:60px;
position: absolute;
}

.carousel-control-next {
    right:60px;
    position: absolute;
}


.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
}



.navbar-toggler {
    padding: 0;
    height: 44px;
    width: 54px;
    position: relative;
    border: 0;
    align-self: center;
}

.navbar-toggler-icon {
    top: 35%;

}

.frame-background-light {

    --frame-background: #ffffff;

}

.overlay-container.active  button + .col.overlay-content {
    padding-block:30px;
}

.overlay-container.active  button + .col.overlay-content h2 {
margin-bottom: 2em;
}

.overlay-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 100%;
    width: min(90%, 440px);
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.overlay-container.active {
    opacity: 1;
    visibility: visible;
    display: grid;
    column-gap: 5px;
    padding: 8px;

}

.overlay-stoerer {
    transform: translate(-30%, -25%);

}


.overlay-inner {
    padding: 1.3em;
    height: 100%;
    display:grid;
    align-content: space-between;
    align-items: end;
}

.overlay-inner h2 {
    border-bottom:2px solid var(--bs-primary);
}

@media (min-width: 40.0625em) {
    .overlay-container.active {
        /* grid-template-columns: repeat(2, 1fr); */
    }

    .overlay-inner {
        border-left:none;

    }
}

.overlay-content {
    position: relative;
    width: 100%;
}




.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Close button */
.overlay-close {
    position: absolute;
    right: -1rem;
    top: -1rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: white;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.overlay-close::before,
.overlay-close::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 1rem; /* etwas kleiner für bessere Proportion */
    background-color: var(--bs-primary);
    left: 50%;
    top: 50%;
    transition: background-color 0.2s;
}

.overlay-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.overlay-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.overlay-close:hover::before,
.overlay-close:hover::after {
    background-color: var(--bs-primary-darker, #0056b3);
}

main {
    min-height:300px;
    font-weight:300;
}

h1, .h1 {
    font-size: calc(1.625rem + 0.9vw);
}

@media (min-width: 62.5em) {
.frame-header:has(~ .text-narrow){
    width: 80%;
    margin-inline: auto;
}

.text-narrow {
    width: 80%;
    margin-inline: auto;
}
}

.nav-main-top-container {
    display:grid;
    align-items:center;
    grid-template-areas:
    "langmenu langmenu"
    "logo mainmenu";
    gap:20px;
    justify-content: space-between;
}

@media (max-width: 40.0625em) {
.carousel-fullscreen .carousel-text  {
align-self: end;
}
}

main .sociallinks {
/* display:none; */
}

.carousel-sociallinks {
    position: fixed;
    display:block;
    z-index:10;
    top: 30%;
    right: 10px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#carousel-2 {
    position: relative; /* Wichtig für den Kontext */
}

.carousel-sociallinks .sociallinks-list {
    justify-content: start;
    flex-direction: column;
}

.sociallinks-links {
    color: #fff;
    text-decoration: underline;
    background-color: var(--bs-primary);
}

.sociallinks-link-icon {
    color: #fff;
}

.sociallinks-link {
    background-color: var(--bs-primary);
}

.table-responsive table tr td:not(:last-child) {
padding-right: 50px;
}

.table-responsive table tr td {
    font-size: 90%;
    width:33%;
}


.text-white-on-blue {
    display:inline-block;
    background-color: var(--bs-primary);
    line-height:1.3;
    color:#fff;
    padding: 0 5px;
    margin-bottom: 5px;
}

.text-blue-on-yellow {
    display:inline-block;
    color: var(--bs-primary);
    background-color:#FED808;
    line-height:1.3;
    padding: 0 5px;
    margin-bottom: 5px;
  }

.carousel-header.none {
    display:none;
}

.text-bigger {
    font-size: clamp(1.5rem, 1vw + 1.4rem, 4rem);
}

.language-menu {
    margin: 0;
    list-style: none;
    padding-left: 13px;
    display:flex;
    gap:20px;
    grid-area: langmenu;
    font-weight: 300;
}

.language-menu li.active a {
    text-decoration: none;
    font-weight: 700;
}

.top-menu {
    display:none;
}



.navbar-brand.navbar-brand-image{
    grid-area: logo;
}

.nav-link-main.active {
    font-weight: 600 !important;
    color: var(--bs-primary) !important;
}

.navbar-mainnavigation .nav-link:not(.nav-link-toggle).show:hover::before, .navbar-mainnavigation .nav-link:not(.nav-link-toggle):hover::before {
    opacity: 0;
}

.navbar-mainnavigation .nav-link:not(.nav-link-toggle).show:before, .navbar-mainnavigation .nav-link:not(.nav-link-toggle).active:before {
    opacity: 0;
}

  @media (min-width: 992px) {
    .navbar-brand.navbar-brand-image{
        display: flex;
        order: 2;

    }
}



@media (min-width: 992px) {
/* .nav-link-indicator {
    display:none;
} */
    .top-menu {
        list-style:none;
        display:block;
        display:flex;
        margin: 0;
        padding: 0;
        gap:20px;
    }

    .top-menu .nav-link {
        padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
        color: rgba(0, 0, 0, .7);
        font-weight: 300;
        font-size: 1.2rem;
    }

    .top-menu .nav-link:hover {
        color:var(--bs-primary);
    }

    .navbar-nav a.nav-link-main {
        font-size: 1.4rem;
        font-weight: 400;
    }

    .navbar-nav a.nav-link-main:hover {
        color:var(--bs-primary);
    }

    .nav-link:hover, .nav-link:focus {
        color:var(--bs-primary);
    }

    .nav-link.active {
        color: var(--bs-primary) !important;
    }

    .top-menu li.active .nav-link {
        font-weight: 600 !important;
        color: var(--bs-primary) !important;
    }

    .nav-main-top-container {
        grid-template-areas:
        "langmenu topmenu logo"
        "mainmenu mainmenu logo";
        column-gap:20px;
        grid-template-columns: auto 1fr auto;
        row-gap:40px;
    }

    .nav-main-top-container nav {
        grid-area: mainmenu; ;
    }

    .nav-main-top-container .top-menu {
        grid-area: topmenu;
        justify-self: center;
    }

    .nav-main-top-container .language-menu {
        grid-area: langmenu; ;
    }
}

/* News */

/* .news-list-view .list-group.mb-3{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
} */

.news-list-view li .news-list-item {
    display:grid;
}

.news-list-view li.list-group-item {
padding: 0;
}

.news-list-view li.list-group-item img.img-fluid {
    padding: 0;
/*    border-bottom: 16px solid #fff;*/
}


.list-group-item {
    border:none;
    transition: all 0.2s ease-in-out;

}

.newsboxtext {
    min-height: 270px;
    display: grid;
    align-content: start;
    justify-content: flex-start;
    padding-inline: 20px;
    padding-top: 15px;
    background-color: #fff;
}

.list-group-item a {

    text-decoration: none;
    color: var(--bs-body-color) !important;

}

.list-group-item a:hover h3 {
    text-decoration: none;
    color: var(--bs-primary) !important;

}

.list-group-item:has(a:hover) {
    -webkit-box-shadow: -3px 4px 15px 0px #ddd;
    box-shadow: -3px 4px 15px 0px #ddd;
}

.news h3 {
    font-size: 160%;
    font-weight: 400;
}

.news-more {
    display:flex;
    align-items: center;
    gap: 10px;
}


.btn-lg, .btn-group-lg > .btn, .frame-type-felogin_login .btn-group-lg > input[type="submit"], .btn-group-lg > .cc-btn {
    --bs-btn-padding-y: .7rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-font-size: 1.25rem;
    --bs-btn-border-radius: 0;
  }


  .contentcontainer[data-container-identifier="container_4_columns"] {
        gap: 45px;
    }

    .contentcontainer-column:has(.frame-header) {
     padding:0
}


  .texticon {
    transition: all 0.2s ease-in-out;
  }

  .texticon-content h2 {
    color: var(--bs-body-color);
    font-weight: 400;
    font-size: 1.4rem;
  }

  .texticon-content h2 a {
    color: var(--bs-body-color) !important;
    text-decoration: none;


  }

  .texticon:has(a:hover) {
    -webkit-box-shadow: -3px 4px 15px 0px #ddd;
    box-shadow: -3px 4px 15px 0px #ddd;
  }

  .texticon-icon .texticon-inner-icon, .texticon-icon .texticon-inner-icon svg, .texticon-icon .texticon-inner-icon img {
    text-align: center;
    margin: 0 auto;
    display: block;
    height: 4em;
    width:100%;
}

.texticon {
    background-color: #fff;
    padding:1em 1.2em;
}

.carousel-wrapper {
    display:grid;
    height:100%;
}

.carousel-item-type-text .carousel-text-inner {
    margin-right:0;
}

.carousel-item-header.none {
    display:none;
}

.carousel-item-type-text .carousel-text-inner {
        width:min(100%, 400px);
        background-color: #fff;
        padding:2vw;
}

.carousel .carousel-content-inner {
    gap:30px;
    /* margin:unset; */
}

.carousel-fullscreen .carousel-image {
    order: 1;
    align-self: end;
    justify-self: end;
    transform: translate(20% 10%);

}

@media (min-width: 72.5em) {
    .carousel-fullscreen .carousel-image {
    transform: translateX(200%);
    }
}

.carousel-fullscreen .carousel-image img {
    border-radius: 0;
    min-width: 252px;
    margin-bottom: 3em;
}

.carousel-fullscreen .carousel-content-inner {
    justify-content: start;
    align-items:end;
    padding-bottom: 2em;
}

.carousel-fullscreen .carousel-image img {
    max-width: 5vw;
    height: auto;
}

.carousel-image {
    order:-1;
    align-self: start;
}

.carousel-image img {
    border-radius: 50%;
    min-width:225px;
}

.carousel .carousel-backgroundimage-container, .carousel .carousel-backgroundimage {
display: grid;
align-content:center;
    background-position: center top;
    background-repeat: no-repeat;
}

.carousel:not(.carousel-fullscreen) .carousel-content:has(img) {
    position: relative;
    display:grid;
    align-items: center;
    justify-self: end;
    align-self:center;
    align-content: center;
    background-color: #fff;
    height:auto;
    width:min(90%, 800px);
    padding: 6rem clamp(1rem, 5%, 4rem);
}

.carousel .carousel-item h1, .carousel .carousel-item .h1, .carousel .carousel-item h2, .carousel .carousel-item .h2, .carousel .carousel-item h3, .carousel .carousel-item .h3, .carousel .carousel-item h4, .carousel .carousel-item .h4, .carousel .carousel-item h5, .carousel .carousel-item .h5, .carousel .carousel-item h6, .carousel .carousel-item .h6 {
    color: var(--bs-primary);
}

@media (min-width: 1024px) {
    .carousel .item:has(img) {
        height: 700px;
    }
}

.btn-lg, .btn-group-lg > .btn, .frame-type-felogin_login .btn-group-lg > input[type="submit"], .btn-group-lg > .cc-btn {
    --bs-btn-padding-y: 1rem !important;
    --bs-btn-padding-x: 1.5rem !important;
    --bs-btn-font-size: 1.25rem !important;
    --bs-btn-border-radius: 0 !important;
  }

  .footer-section-meta {
display:none;
  }

  .footer-section-content {
    background: var(--bs-primary);
    --frame-color: #ffffff;
    --frame-background:var(--bs-primary);
    --frame-link-color: #fff;
    --frame-link-hover-color: #fff;
    font-weight: 300;
    background-image: url(/fileadmin/user_upload/bg/container_footer.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    background-blend-mode: multiply;
  }

  .footer-section.footer-section-content a {
    color: #fff;
  }

  @media (min-width: 768px) {
    .footer-section-content-column-left {
        --section-gaps: 1;
        --section-colspan: 3;
    }

  .footer-section-content-column-middle {
        --section-gaps: 1;
        --section-colspan: 4;
    }

.footer-section-content-column-right {
        --section-gaps: 1;
        --section-colspan: 3;
    }
}

@media (min-width: 576px) {
    .footer-sociallinks .sociallinks-list {
        justify-content: start;
        margin-bottom: 3em;
    }
}

.footer-sociallinks .sociallinks-link {
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    color: inherit;
    opacity: 1;
    transition: all ease-in-out 0.3s;
    background-color: rgba(255, 255, 255, 0.05);
}


.sociallinks-link-icon {
    display: inline-flex;
    font-size: 2rem;
    text-align: center;
    opacity: 0.8;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
}


footer h4 {
    font-weight: 600;
}
footer * {
    color:#fff;
    text-decoration: none;
}

footer ul {
    list-style:none;
    padding: 0;margin: 0;
}

footer ul a {
    text-decoration: none;
}

.footer-section-content-column-middle {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
 }

 @media (min-width: 1024px) {

.footer-section-content-column-middle {

    grid-template-columns: repeat(2, 1fr);
   gap:30px;
}
 }
@media (min-width: 1400px) {
    .footer-section-content-column-middle {
        grid-template-columns: repeat(3, 1fr);
        gap:50px;
     }
}

footer .frame-size-default.frame-background-none.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-none.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-size-default.frame-background-primary.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-primary.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-size-default.frame-background-secondary.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-secondary.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-size-default.frame-background-tertiary.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-tertiary.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-size-default.frame-background-quaternary.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-quaternary.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-size-default.frame-background-light.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-light.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-size-default.frame-background-dark.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage):not(.frame-layout-embedded)+.frame-size-default.frame-background-dark.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage):not(.frame-layout-embedded), .frame-layout-embedded.frame-space-after-none:not(.frame-option-ruler-after)+.frame-layout-embedded.frame-space-before-none:not(.frame-option-ruler-before), .frame-layout-embedded.frame-space-after-none:not(.frame-option-ruler-after)+.frame-size-default.frame-background-none.frame-space-before-none:not(.frame-option-ruler-before):not(.frame-has-backgroundimage), .frame-size-default.frame-background-none.frame-space-after-none:not(.frame-option-ruler-after):not(.frame-has-backgroundimage)+.frame-layout-embedded.frame-space-before-none:not(.frame-option-ruler-before) {
    --frame-outer-spacing-before: 0;
}

#c34 {
    font-weight: 600;
}

footer .frame {
    position: relative;
    margin-top: var(--frame-outer-spacing-before);
    margin-bottom: 0;
    padding-block:3em;
    color: var(--frame-color);
    background: var(--frame-background);
    --frame-spacing: var(--frame-spacing-xs);
}

.accordion {

    --bs-accordion-border-color: transparent;
    --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) -(var(--bs-border-width)));
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212121' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'%3e%3cline x1='8' y1='2' x2='8' y2='14'/%3e%3cline x1='2' y1='8' x2='14' y2='8'/%3e%3c/svg%3e");
}

.accordion-button {
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    background-color: #fff;
    font-size: clamp(1rem, 1vw + 1rem, 1.3rem);
    border-bottom:1px solid var(--bs-primary);

}

.accordion-button:not(.collapsed) {
    background-color: #fff;
}


.accordion-body {
    background-color: #fff;
}

@media (min-width: 992px) {
    .navbar-brand.navbar-brand-image {
        align-self: start;
    }
}

@media (min-width: 1300px) {
    .navbar-brand.navbar-brand-image {
        align-self: center;
    }
}

.navbar-mainnavigation .navbar-brand-image img {
    /* Obergrenze über der Logo-Höhe (88px), damit sie auch auf kleinen Breakpoints (70px Nav-Höhe) nicht gekappt wird */
    max-height: calc(var(--mainnavigation-nav-height)* 2);
}

@media (max-width: 62.5em) {
    .navbar+a+.carousel-fullscreen, .navbar+a+.carousel-fullscreen .carousel-item, .navbar+a+a+.carousel-fullscreen, .navbar+a+a+.carousel-fullscreen .carousel-item, .navbar+.main-section>a+.carousel-fullscreen, .navbar+.main-section>a+.carousel-fullscreen .carousel-item, .navbar+.main-section>a+a+.carousel-fullscreen, .navbar+.main-section>a+a+.carousel-fullscreen .carousel-item {
        height: calc(50vh - 70px);
    }
}