html { scroll-behavior: smooth; }

::selection{
    background: #ffc107;
    color: #000;
}

/*
Font
*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
    font-weight: bold;
}

h1, .h1 {
    font-size: 4.4rem;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 3rem;
    line-height: 1.2;
}

.underline::after {
    content: '';
    display: block;
    height: 3px;
    width: 10%;
    background: #ffc107;
    margin-top: 1rem;
    border-radius: 2px;
}

h3, .h3 {
    font-size: 2rem;
}

@media (max-width: 768px) {
    h3, .h3 {
        font-size: 1.5rem;
    }
}

p {
    margin: 0 0 1rem 0;
    font-size: 18px;
}

@media (max-width: 768px) {
    h1, .h1 {
        font-size: 2.75rem;
    }
}

body {
    font-size: 18px;
}

a {
    color: #000;
}

.hover-bold:hover{
    font-weight: bold !important;
}

.btn {
    padding: 10px 22px 12px 22px !important;
}

.btn-white {
    background: #fff !important;
}

.btn-white:hover {
    color: #000 !important;
}

a:hover,
.text-decoration-hover:hover{
    text-decoration: underline !important;
}


/*
Colors
*/

.bg-light{
    background-color: #F6F6F1 !important;
}

.bg-warning{
    background-color: #ffc107 !important;
}

.border-hover-black:hover{
    border-color: #000000 !important;
}

.navbar {
    --bs-navbar-color: #000;
}

.border-bottom {
    border-bottom-color: #F6F6F1 !important;
}

.progressbar {
    position: relative;
    top: 0;
    left: 0;
    height: 10px;
    z-index: 10;
    width: calc(10vw + 0.9vw * var(--p, 0));
    background-color: #ffc107;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.10);
    border-radius: 0 10px 10px 0;
}

.progressbar.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.py-pill{
    padding: 10px 16px; /* oben/unten gleich, links/rechts 16px */
}

#angebote_flyout .col-12:first-of-type p{
    font-weight: bold;
}

#header {
    top: 0;
    left: 0;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.10);
    z-index: 1000;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
    background:#FFF;
}

#header.is-hidden {
    transform: translateY(calc(-100% + 70px));

}


/*
Accordions
*/

.accordion-clean .accordion-item {
    border: 0;
}
.accordion-clean .accordion-button {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    border-top: 1px solid #000;
    color: #000 !important;
}

.accordion-button {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 1rem 0;
    font-weight: 600;
}

/* Icon Styling */
.accordion-button::after {
    font-size: 3rem;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
    line-height: 0;
    transform-origin: center;
    left: 1rem;
    position: absolute;
    transform: rotate(0deg);
    background-image: url("../images/icons/icon_arrow.svg");
}

@media (max-width: 768px) {
    .accordion-button::after {
        left: auto;
        right: .5rem;
    }
}

.accordion-button:not(.collapsed)::after{
    background-image: url("../images/icons/icon_arrow.svg");
}

.accordion-clean .accordion-body {
    padding: 1.25rem 0 2rem 0;
}



/*
Services
*/

.img-fluid{
    width: 100%;
    max-width: inherit;
}

.max-h-50px{
    max-height: 50px;
}

.yellow-underline-after{
    position: relative;
}
.yellow-underline-after::after{
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 10px;
    width: 33%;
    background-color: #ffc107;
}

/*
Icons
*/

.rotate-90-right{
    transform: rotate(90deg) !important;
}

.icon_accordion_arrow{
    background: url("../images/icons/icon_arrow.svg") no-repeat center center;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background-size: contain;
    transform: rotate(180deg);
}

.toggled .icon_accordion_arrow{
    transform: rotate(0deg);
}

.icon_close{
    background: url("../images/icons/icon_close.svg") no-repeat center center;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background-size: contain;
}

.icon_leichte-sprache{
    background: url("../images/icons/icon_leichte-sprache.svg") no-repeat center center;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background-size: contain;
}

.icon_search{
    background: url("../images/icons/icon_search.svg") no-repeat center center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-size: contain;
}

.icon_barrierefreiheit{
    background: url("../images/icons/icon_barrierefreiheit.svg") no-repeat center center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-size: contain;
}

.icon_menu{
    background: url("../images/icons/icon_burger.svg") no-repeat center center;
    width: 32px;
    height: 22px;
    background-size: contain;
}

.icon_mail{
    background: url("../images/icons/icon_mail.svg") no-repeat center center;
    width: 20px;
    height: 20px;
    margin-top: 7px;
    background-size: contain;
}

.icon_phone{
    background: url("../images/icons/icon_phone.svg") no-repeat center center;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    background-size: contain;
}

.icon_share{
    background: url("../images/icons/icon_share.svg") no-repeat center center;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    background-size: contain;
    display: block;
}

.icon_download{
    background: url("../images/icons/icon_download.svg") no-repeat center center;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    background-size: contain;
    display: block;
}

.icon_hover_lightgallery:hover::after{
    background: url("../images/icons/icon_zoom.svg") no-repeat center center white;
    background-size: 2.5rem;
    padding: 2.5rem;
    border: 2px solid black;
    pointer-events: none;
    border-radius: 100px;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    display: block;
    position: fixed;
    content: "";
    left: calc(50% - 2.5rem);
    top: calc(50% - 2.5rem);
}

.breadcrumb,
.breadcrumb a {
    color: #000;
    font-size: 0.875rem;
}




#teaser5050 .step-badge {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    background: rgb(143, 179, 165);
    line-height: 160%;
}

.border-radius-low-end-60 {
    border-radius: 0 0 60px 0;
}

.bg_arrow-white::after{
    content: '';
    display: block;
    position: absolute;
    background: url("../images/bg_arrow-white.svg") no-repeat center center;
    width: 180px;
    height: 120px;
    background-size: contain;
    z-index: -1;
}

.intro-text-bild .bg_arrow-white::after {
    top: 10%;
    right: 5%;
}

.kontaktbanner.bg_arrow-white::after {
    top: 40%;
    right: var(--right-gap);
    z-index: -1;
}

.kontaktbanner {
    position: relative;
    background-color: transparent !important;
    --right-gap: 8rem;
    --cta-bg: #ffc107;
}

.kontaktbanner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: var(--right-gap);
    bottom: 0;
    background: var(--cta-bg);
    border-radius: 0 9999px 9999px 0;
    z-index: -1;
    pointer-events: none;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

@media (max-width: 992px){
    .kontaktbanner::before {
        border-radius: 0 0 60px 0;
    }
    .kontaktbanner {
        --right-gap: 0rem !important;
    }
}


@media (min-width: 992px){
    .kontaktbanner:hover::before {
        right: 1rem;
    }
}

section::after{
    mask-image: url('../images/bg_arrow-white.svg');
    mask-size: cover;
    background-color: red;
    width: 200px;
    height: 200px;
}

#contentheader .bgimage {
    background-size: cover;
    background-position: center center;
    aspect-ratio: 16/9;
}

@media (max-width: 991.98px) {
    #contentheader .bgimage {
        aspect-ratio: 1/1;
    }
}

@media (min-width: 991.98px) {
    #contentheader .bgimage {
        min-height: 540px;
    }
}

#contentheader .shadow-sm {
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

/* News-Slider */

.swiper{
    cursor: grab;
}


.swiper-slide .card {
    background: transparent !important;
}

/* Swiper-Layout stabil halten */
.news-slider .swiper-wrapper,
.tools-slider .swiper-wrapper {
    align-items: stretch;
}

.line-clamp-2{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.line-clamp-3{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.line-clamp-4{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.line-clamp-5{
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.swiper-nav-pill,
.news-nav-pill,
.tools-nav-pill,
.images-nav-pill,
.videos-nav-pill,
.newshub-nav-pill{
    display:inline-flex;
    align-items:center;
    background:#fff;
}

.btn-icon {
    display:flex;
    align-items: center;
    background:transparent;
    color:#000;
    line-height:1;
    border:2px solid #161819;
    border-radius:0 20px 20px 0;
    z-index: 2;
    padding:6px 8px;
    border-left-width: 1px;
    border-right-width: 2px;
}

.swiper-nav-pill .btn-icon:nth-child(1){
    border-radius:20px 0 0 20px;
    border-right-width: 1px;
    border-left-width: 2px;
    z-index: 1;
}


/* Ladebalken per ::after */
.swiper-nav-pill .btn-icon {
    overflow: hidden;
}

.swiper-nav-pill .btn-icon::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%; /* Höhe des Ladebalkens */
    width: 0; /* startet bei 0% */
    background: #ffc107;
    transition: all .5s cubic-bezier(.20,.90,.30,1);
    z-index: -1;
}

.swiper-nav-pill .btn-icon:hover::after {
    width: 100%; /* fährt von links nach rechts aus */
}

.swiper-button-disabled {
    color:#cfcfcf;
    pointer-events:none;
    background:transparent;
    border:2px solid #cfcfcf;
}

.swiper-pagination {
    position: relative;
    bottom: 0 !important;
    font-size: 1rem;
    font-weight: bold;
}

.swiper-pagination-bullet{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
    opacity: 1;
    margin: 0;
}

.swiper-pagination-bullet-active{
    background: transparent;
    border: 2px solid #000;
    box-sizing: border-box;
}

.swiper-pagination-bullet:focus-visible,
.swiper-pagination-bullet:hover{
    outline: 2px solid #000;
    outline-offset: 2px;
}

.swiper,
.swiper-wrapper,
.swiper-slide,
.swiper-grab-cursor,
.swiper-grab-cursor .swiper-wrapper {
    cursor: auto !important;   /* oder default */
}

/* Falls es um die Scrollbar geht */
.swiper-scrollbar-drag {
    cursor: auto !important;   /* oder default */
}



/* Grundfläche & Zustand */
.audience-card {
    transition: all .5s cubic-bezier(.20,.90,.30,1);
    position: relative;
    background-position: top 10px right 10px;
}

.audience-card i {
    line-height: 0 !important;
    font-size: 3rem !important;
}

.audience-card:hover,
.audience-card:focus-visible,
.audience-card.is-active {
    background-color: #ffc107 !important;
    background: url("../images/bg_arrow-white.svg") no-repeat top 10px right 10px;
}

.audience-card:not(.is-active):not(:hover)::after {
    opacity: 0;
}

.bg-arrow-dark{
    background: url("../images/bg_arrow-dark.svg") no-repeat 40% 10%;
}

.transform-up-hover{
    transform: translateY(0px);
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.transform-up-hover:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.1);
}

.transform-up-hover:active{
    transform: translateY(0px);
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1);
}

.imagecaption {
    font-size: 0.9rem;
}

.transform-0-hover{
    transform: translateY(80px);
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.transform-up-hover:hover .transform-0-hover{
    transform: translateY(0px);
}

.btn-outline-light,
.btn-outline-dark{
    position: relative;
    overflow: hidden; /* damit das ::before nicht übersteht */
    z-index: 1;
    border-width: 2px;
}

.btn-outline-light::before,
.btn-outline-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #ffc107; /* Bootstrap dark */
    z-index: -1; /* hinter dem Text */
    transition: all .5s cubic-bezier(.20,.90,.30,1);
}

.transform-up-hover:hover .btn-outline-light,
.btn-outline-light:hover,
.transform-up-hover:hover .btn-outline-dark,
.btn-outline-dark:hover{
    background: transparent;
}

.transform-up-hover:hover .btn-outline-light::before,
.btn-outline-light:hover::before,
.btn-outline-light:focus::before,
.transform-up-hover:hover .btn-outline-dark::before,
.btn-outline-dark:hover::before,
.btn-outline-dark:focus::before{
    width: 100%;
}

.transform-up-hover:hover .btn-outline-dark,
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    color: #000;
}

.transform-up-hover:hover .btn-outline-light svg path,
.btn-outline-light:hover svg path,
.btn-outline-light:focus svg path{
    stroke: #000;
}

.btn-icon svg,
.btn-outline-light svg,
.btn-outline-dark svg {
    width: 40px;
    height: 22px;
}

article[data-topic] {
    transition: opacity .25s ease, transform .25s ease;
    will-change: opacity, transform;
}

.news-grid article[data-topic].invisible {
    display: none !important;
}

.news-grid article[data-topic].is-visible {
    display: block !important;
}

.pt-standard{
    padding: 40px 0;
}

.min-w-70{
    min-width: 70px;
}

.breadcrumb-item a{
    text-decoration: none !important;
}

.breadcrumb-item a:hover{
    text-decoration: underline !important;
}

.zoom-container {
    overflow: hidden;
    display: inline-block;
    cursor: zoom-in;
}

.zoom-container img {
    transition: transform 0.05s ease, transform-origin 0.05s ease;
    will-change: transform;
}

em,
i,
strong{
    font-style: normal;
    font-weight: bold;
}