/*Farbinfo*/
:root {
    /*Dunkelblau*/
    --main-color: rgb(31,72,102);
    /*Dunkelblau transparent*/
    --main90-color: rgba(32,72,102,0.9);
    /*Hellblau*/
    --light-color: rgb(112,152,172);
    /*transparentes Hellblau 20% opacity */
    --light20-color: rgba(112,152,172,0.2);
    /*Pink:*/
    --hightlight: rgb(255,61,150);
}

html {
    scroll-behavior: smooth;
    /*scroll-margin-top: 50px; / * zusätzliche Pixel z.B. fixe Navi*/

    font-size: 15px;
    height: 100%; /*für Sticky Footer*/
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    color: rgb(31,72,102);
    font-family: 'Industry', Arial, sans-serif;
    background-color: white;
    line-height: 1.4;
    padding-left: 17px;
    padding-right: 17px;
}

    body:not(#tinymce) {
        /*Sticky Footer*/
        display: flex;
        min-height: 100vh;
        margin: 0 auto;
        flex-direction: column;
    }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Industry', Arial, sans-serif;
    text-transform: uppercase;
}

h1, .h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

h2, .h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 90px;
    position: relative;
}

    h2:after,
    .testimonial h2:after,
    .smallOrderedList h3:after {
        content: '';
        background-color: rgb(112, 152, 172);
        width: 79px;
        height: 9px;
        display: inline-block;
        position: absolute;
        left: 0;
        bottom: -42px;
    }

h3, .h3, .testimonial, blockquote {
    font-size: 18px;
    color: rgb(112, 152, 172);
    text-transform: none;
    margin-bottom: 25px;
    position: relative;
}

h4, .h4 {
    font-size: inherit;
    font-weight: bold;
    color: rgb(112, 152, 172);
    margin-bottom: 0;
}

    h2:first-child, h3:first-child, h4:first-child {
        margin-top: 0;
    }

a, .pseudoLink {
    color: var(--main-color);
    text-decoration: underline;
    transition: color 200ms linear, background-color 200ms linear;
}

    a:hover, a:focus, .pseudoLink:hover {
        color: rgb(112, 152, 172);
        transition: color 200ms linear, background-color 200ms linear;
    }

.pseudoLink, [onclick^="location.href="] {
    cursor: pointer;
}

blockquote {
    color: inherit;
}

.small, small {
    font-size: 0.8em;
}

hr {
    color: var(--main-color);
    opacity: 1;
    border-width: 2px;
    margin-top: 9%;
    margin-bottom: 9%;
}

/**************** Bootstrap Overrides ****************/
.bg-light {
    background-color: var(--light20-color) !important;
}

.card {
    color: var(--main-color);
    line-height: 1.3;
    border-radius: 10px;
    border: none;
    background-color: var(--light20-color);
}

.card-title {
    font-weight: bold;
}

.card-header {
    text-transform: uppercase;
}

.card-title a {
    text-decoration: none;
}

.card-body {
    padding: 20px 24px;
}

    .card-body > *:last-child {
        margin-bottom: 0;
    }

.card-title {
    font-size: inherit;
    text-transform: uppercase;
}

.card-header {
    background-color: transparent;
    border-bottom: none;
}

.card-footer {
    padding: 0 24px 32px 24px;
    border: none;
    background-color: transparent;
}

    .card-img, .card-img-top,
    .card-footer:last-child {
        border-radius: 0;
    }

/**************** Helpers ****************/
.pseudoLink,
[onclick^="location.href="],
[onclick^="window.open("] {
    cursor: pointer;
}

.hyphens,
.hyphens-xs {
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.breakword {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
}

.imgCoverCenter {
    position: relative;
    overflow: hidden;
}

    .imgCoverCenter > img,
    .imgCoverCenter > video,
    .imgCoverCenter > svg {
        position: absolute;
        /*top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);*/
        height: 100%;
        width: 100.1%;
        object-fit: cover;
        object-position: right;
    }

@media (orientation: portrait) and (max-width: 576px) {
    .imgCoverCenter > video {
        top: auto;
        bottom: 0;
        left: auto;
        right: 0;
        transform: none;
        object-position: 61% bottom;
    }
}

.light-color {
    color: rgb(112, 152, 172);
}

.bg-colored {
    background-color: rgb(226,234,238);
}

    .bg-colored .card {
        background-color: #EFE4E4;
    }

.bg-dark {
    color: white;
    background-color: var(--main-color) !important;
}

.imgBorder {
    border: 13px solid rgb(226,234,238);
    display: inline-block;
}
/*.separator {
	border-bottom:1px solid var(--main-color);
}
.umb-grid.separator {
	padding-bottom:100px;
}*/

.overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 1;
    z-index: 999;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-x-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

    .overlay > img {
        padding: 12px;
        margin: 12px;
        max-height: 100%;
        max-width: 100%;
        height: auto;
        width: auto;
    }

.gridReverse .umb-grid {
    padding-bottom: 24px;
    margin-bottom: 48Px;
}

    .gridReverse .umb-grid:nth-child(even) .row {
        flex-direction: row-reverse;
    }

    .gridReverse .umb-grid:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    /*Update JC 07.07.2023 .gridReverse .pText {
    margin-top:12px;
}*/
    /*Wenn Image und iFrame zusammen bei diesem Element integriert wird*/
    .gridReverse .umb-grid > .row > div:last-child img,
    .gridReverse .umb-grid > .row > div:last-child .ratio {
        margin-bottom: 12px;
    }

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
/****************Navigation ***************/
.navbar {
    font-size: 15px;
    text-transform: uppercase;
    padding-top: 28px;
}

.home .navbar {
    position: absolute;
    left: 17px;
    right: 17px;
    z-index: 2;
    background-color: transparent;
}

.navbar-brand {
    width: 145px;
}

.navbar-toggler {
    position: absolute;
    z-index: 6;
    top: 29px;
    right: 5px;
    border-color: transparent;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2827, 27, 27, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");*/
    background-image: none;
}

body:not(.home) .navbar-toggler-icon svg path:not(:first-child) {
    stroke: var(--main-color);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
}

.offcanvas {
    background-color: var(--light-color);
    max-width: calc(100% - 173px);
    border: none;
    min-width: 230px;
}

.offcanvas-header .btn-close {
    border: none;
    margin: 18px 22px 0 0;
    padding: 0;
    background: none;
    width: 25px;
    height: 25px;
    opacity: 1;
}

.navbar .navbar-nav .nav-link {
    color: white;
    font-weight: bold;
    display: inline-block;
    transition: color 200ms linear;
    padding-top: 1.09vh;
    padding-bottom: 1.09vh;
}

    .navbar .navbar-nav .nav-link:focus,
    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active,
    .navbar .navbar-nav .show > .nav-link {
        color: var(--main-color);
        transition: color 200ms linear;
    }

.navbar .navbar-nav .dropdown-toggle:after {
    content: '\F282';
    font-family: bootstrap-icons;
    border: none;
    margin: 0 0 0 3px;
    vertical-align: middle;
}

.dropdown-menu[data-bs-popper],
.dropdown-menu {
    color: white;
    background-color: transparent;
    border-radius: 0;
    border: none;
    padding-top: 0;
    margin-top: 0;
}

.dropdown-item {
    color: white;
    padding: 0;
    margin: 1vh 0 2vh 0;
    white-space: normal;
    /*hyphens:auto;*/
}

    .dropdown-item:focus, .dropdown-item:hover,
    .dropdown-item.active, .dropdown-item:active {
        color: var(--main-color);
        background-color: transparent;
    }

.social-icons {
    margin-top: 3vh;
    justify-content: space-between;
}

/**************** Sprachwechsel/Language ****************/
.lang {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .lang .active {
        font-weight: bold;
    }

    .lang li {
        display: inline-block;
    }

        .lang li:not(:last-child):after {
            color: white;
            content: '|';
            margin-left: 5.5px;
            position: relative;
            top: -1.5px;
        }

    .lang a {
        color: white;
        padding-top: 0.5rem;
        /*padding-bottom:0.5rem;*/
        display: inline-block;
        text-decoration: none;
        transition: color 200ms linear;
        padding-left: 3px;
    }

    .lang li:first-child a {
        padding-left: 0;
    }

    .lang a:hover,
    .lang a:focus,
    .lang .active a {
        color: var(--main-color);
        transition: color 200ms linear;
    }

/**************** Header / Home ****************/
.home .navbar,
.home .header {
    color: white;
    /*background-color: #01304c;*/ /*var(--main-color)*/
}

    .home .navbar .navbar-nav .nav-link {
        color: inherit;
    }

.home .header {
    background-size: cover;
    background-position: right bottom;
    margin-top: 0;
    padding-top: calc(3vw + 117px);
    position: relative;
    z-index: 1;
    /*overflow:hidden;*/
}

    .home .header .imgCoverCenter {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /*padding-bottom: calc(-117px + 100vh);*/
    }

    .home .header p {
        margin-bottom: 13px;
    }

    .home .header .bi {
        color: var(--light-color);
        font-size: 1.8em;
    }

    .home .header .container {
        position: relative;
        z-index: 1;
    }
/*.home .header video {
    position:absolute;
    width:100%;
    top:0;
    left:0;
}*/
.fullscreen {
    height: 100vh; /*calc(100vh - 117px);*/ /* -117px von Navi*/
    margin-left: -17px;
    margin-right: -17px;
    padding-left: 17px;
    padding-right: 17px;
}

.home section:not(.testimonial) h2 {
    margin-bottom: 20px /*36px*/;
}

    .home section:not(.testimonial) h2:after {
        display: none;
    }

.home section.freetext:not(:nth-child(2)) {
    /*padding-top:0;*/
    margin-top: 0;
}

/*Angebot-Kacheln*/
.angebot .card,
.angebot .column > div {
    color: white;
    background-color: var(--main-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: auto;
    transition: background-color 200ms linear;
}

    .angebot .card:hover, .angebot .card:focus,
    .angebot .column > div:hover, .angebot .column > div:focus {
        background-color: var(--main90-color);
        transition: background-color 200ms linear;
    }

    .angebot .card .card-image-bottom,
    .angebot .column img {
        flex: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        transform: scale(1,1);
        transition: transform 300ms ease-in-out;
    }

    .angebot .card:hover .card-image-bottom,
    .angebot .card:focus .card-image-bottom,
    .angebot .column:hover img,
    .angebot .column:focus img {
        /*background-color:var(--hightlight);*/
        transition: transform 300ms ease-in-out;
        transform: scale(1.1,1.1);
    }

.angebot .card-body,
.angebot .column > div {
    font-size: 13px;
    padding: 17px 19px;
}

.angebot .column > div {
    padding-bottom: 0;
}

.angebot h3 {
    font-size: 12px;
    font-weight: bold;
    color: white;
    line-height: 1.4;
    text-transform: uppercase;
    position: relative;
    padding-top: 1px;
}

    .angebot h3:after {
        content: url(/assets/img/cardbar.png);
        position: absolute;
        top: 0;
        left: -37px;
        transform: scale(.6,.8);
    }

.angebot a {
    color: white;
    text-decoration: none;
}

.angebot .card-image-bottom,
.angebot .column img {
    border: 17px solid transparent;
    border-top: none;
    border-bottom-width: 18px;
    max-height: 83px;
}

.angebot .col-lg-3 {
    width: 50%;
}

/**************** News Slider ****************/
main section.news.bg-dark {
    padding-top: 35px;
}

.news .container,
.bg-dark .container,
.bg-light .container {
    padding-right: calc(var(--bs-gutter-x) * .5 + 17px);
    padding-left: calc(var(--bs-gutter-x) * .5 + 17px);
}

.news .container-lg {
    padding-left: 0;
    padding-right: 0;
}

.bg-dark .card {
    background-color: white;
}

.bg-dark .card,
.news .card-title {
    color: var(--main-color);
}

.news .card-title {
    font-weight: bold;
}

.news .card-image-top {
    padding-bottom: 73.472%;
}

.news .card-header,
.blog .card-header {
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    background-color: var(--light-color);
    padding: 2px 8px 0 calc(14px + 14px);
    display: inline-block;
    position: absolute;
    top: 30px;
    left: -14px;
}

.news .card-footer,
.blog .card-footer {
    color: var(--light-color);
    padding-bottom: 21px;
    transition: color 200ms linear;
}

    .news .card-footer:hover,
    .news .card-footer:focus,
    .blog .card-footer:hover,
    .blog .card-footer:focus {
        color: var(--main-color);
        transition: color 200ms linear;
    }

    .news .card-footer:before,
    .blog .card-footer:before {
        content: '>';
        margin-right: 7px;
    }

.tns-outer {
    position: relative;
}

.tns-controls {
    position: absolute;
    bottom: -50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#tns1-ow .tns-controls button {
    font-family: "bootstrap-icons";
    font-size: 36px;
    font-weight: bold;
    background-color: transparent;
    border: none;
}

    #tns1-ow .tns-controls button:hover,
    #tns1-ow .tns-controls button:focus {
        color: white;
    }

#tns1-ow .tns-controls button {
    text-align: right;
}

    #tns1-ow .tns-controls button:first-child {
        text-align: left;
    }

/**************** alternierende Liste (Produktevorteile) ****************/
.orderedList ol {
    list-style: none;
    padding: 0;
    margin: 9.5% 0 0 0;
}

.orderedList .item {
    margin-bottom: 20px;
}

.orderedList .number {
    font-size: 3.704em;
    line-height: 0.75;
}

.orderedList h2,
.smallOrderedList h3 {
    align-items: flex-end;
    align-content: flex-end;
    padding-bottom: 12px;
    margin-bottom: 26px;
}

.orderedList .item:nth-child(even) h2,
.orderedList .av-container:nth-child(even) h2,
.smallOrderedList li:nth-child(even) h3 {
    text-align: right;
}

.orderedList h2:after,
.smallOrderedList h3:after {
    width: calc(100% - 24px);
    bottom: 0;
    left: 12px;
}

.orderedList .item:nth-child(even) .number,
.orderedList .av-container:nth-child(even) .av-container,
.smallOrderedList li:nth-child(even) .number {
    order: 2;
}

.orderedList li .av-container {
    flex: 0 0 auto;
    width: 25%;
}

    .orderedList li .av-container > div {
        width: 100%;
    }
/*Perplex-Variante*/
.smallOrderedList ol {
    margin: 9px 0 9.5% 0;
}

.smallOrderedList .orderedList .number {
    margin-left: -2px;
    font-size: 2.3em;
}

.smallOrderedList h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: inherit;
    text-transform: uppercase;
    margin-bottom: 13px;
}

.smallOrderedList .orderedList .pText {
    margin-left: 8.33333333%;
}

.smallOrderedList li:nth-child(even) .number {
    /*margin-right:-12px;*/
}

.smallOrderedList h2.row div:not(.number) {
    padding-left: 30px;
}
/**************** Team ****************/
.team h2 {
    margin-bottom: 30px;
}

    .team h2:after,
    .partner h2:after {
        display: none;
    }

.team .card {
    background-color: transparent;
    color: white;
    margin-bottom: 18Px;
}

.team .card-body {
    padding: 15px 0;
}

.team .card a {
    color: var(--light-color);
    text-decoration: none;
}

    .team .card a:hover,
    .team .card a:focus {
        color: white;
    }

.team .imgCoverCenter {
    padding-bottom: 100%;
}

.team svg {
    opacity: 0.3;
    background-color: rgba(255,255,255,0.3);
}
/**************** Partner-Logos ****************/
.partner h2 {
    margin-bottom: 10px;
}

.partner .row {
    margin-top: 5%;
}

.partner .col > * {
    display: block;
    padding-bottom: 61.3%;
    background-color: var(--light20-color);
}

.partner .col img {
    object-fit: contain;
    padding: 30px;
}

/**************** Blogseite/-kacheln ****************/
.blog .card-footer {
    color: var(--light-color);
}

.blog .card:hover .card-footer,
.blog .card:focus .card-footer {
    color: var(--main-color);
}

.blog .item {
    margin-bottom: 24px;
}

.blogentry ul.d-flex {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blogentry .d-flex li {
    background-color: var(--light20-color);
    width: 39px;
    height: 39px;
    margin-left: 18px;
}

    .blogentry .d-flex li a {
        width: 100%;
        text-align: center;
    }

    .blogentry .d-flex li:last-child img {
        transform: rotate(180deg);
    }

.blogentry #lightgallery {
    margin-bottom: 39px;
}

.blogentry .container .container {
    padding-left: 0;
    padding-right: 0;
}

/****************Inhaltsbereich allgmein****************/
main {
    /*Sticky Footer*/
    min-height: 5em;
    flex: 1 0 auto;
}

    main section,
    main section:not(.freetext) {
        margin-top: 12px;
        margin-bottom: 12px;
        padding-top: 10px;
        padding-bottom: 15px;
    }
        /*body:not(.home) main section:first-child {
    margin-top: 0;
    padding-top: 0;
}*/
        main section.freetext
        /*, main section.testimonial*/ {
            margin-bottom: 0;
            padding-bottom: 0;
        }

.freetext .column > div > img {
    margin-bottom: 24px;
}

.testimonial {
    color: var(--main-color);
}

main section.bg-dark,
main section.bg-light {
    margin-left: -17px;
    margin-right: -17px;
}

section.bg-dark:not(.freetext),
section.bg-light:not(.freetext) {
    padding-top: 30px;
}

main section.bg-colored,
footer {
    padding-top: 5px;
    padding-left: 17px;
    padding-right: 17px;
    margin-left: -17px;
    margin-right: -17px;
}

main .umb-block-list section {
    padding-top: 30px;
    padding-bottom: 30px;
}

main ul {
    padding-left: 17px;
    margin-left: 0;
}

main img {
    max-width: 100%;
    height: auto;
}

main .freetext img {
    position: relative;
    /*background: #1f4866;*/
    /*transition: opacity 200ms linear;
    opacity: 1;*/
}

    main .freetext img:hover,
    main img:focus {
        cursor: pointer;
        /*opacity: 0.8;
    transition: opacity 200ms linear;*/
    }

main a {
    text-decoration: underline;
}

main .btn a {
    text-decoration: none;
}

.btn a:focus {
    color: rgb(31,72,102) !important;
}

main > section:not(:first-child) .umb-grid {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.umb-grid .row > div:not(:last-child),
.umb-grid .angebot .row > div:last-child {
    margin-bottom: 15px;
}

.gridReverse .umb-grid .row > div {
    margin-bottom: 0;
}

/*.bg-colored .umb-grid,
.bg-light .grid-section > div {
    padding-bottom: 100px;
    border-bottom: 1px solid var(--main-color);
}

.bg-colored .umb-grid:last-child,
.bg-light .grid-section > div:last-child {
    border: none;
}*/

.lg-on .lg-outer .lg-img-wrap {
    padding-top: 48px;
    padding-bottom: 48px;
}

.googleMaps iframe {
    width: 100%;
    max-width: 100%;
}

/****************Formulare****************/
.form-control, button, .btn, input {
    border-radius: 4px;
}

    .form-control, .form-control:focus {
        border: none;
        background-color: var(--light20-color);
        box-shadow: 0 0 0 .2rem rgba(255, 102, 0, 0);
    }

input, select, textarea {
    margin-bottom: 18px;
}

.form-group label {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.umbraco-forms-navigation {
    text-align: right;
}

button:not(.navbar-toggler):not(.btn-close), .btn {
    color: rgb(112, 152, 172);
    letter-spacing: 1px;
    background-color: white;
    padding: 6px 10px;
    border: 1px solid rgb(112, 152, 172);
    min-width: 125px;
    position: relative;
    transition: color 200ms linear, border-color 200ms linear, background-color 200ms linear;
}

    button:not(.navbar-toggler):hover, .btn:hover,
    button:not(.navbar-toggler):focus, .btn:focus,
    button:not(.navbar-toggler):active, .btn:active {
        color: white;
        background-color: rgb(112, 152, 172);
        transition: color 200ms linear, border-color 200ms linear, background-color 200ms linear;
    }

        .btn:hover a,
        .btn:focus a,
        .btn a:hover,
        .btn a:focus {
            color: white;
        }

.bg-dark .btn {
    color: white;
    border-color: white;
    background-color: transparent;
}

    .bg-dark .btn:hover,
    .bg-dark .btn:hover
    .bg-dark .btn:active {
        color: var(--main-color);
        background-color: white;
    }

.btn-light {
}

    .btn-light:hover,
    .btn-light:focus,
    .btn-light:active {
    }

textarea.form-control {
    min-height: 120px !important;
}

.required {
    background-color: #f8d7da;
}

.form .alert {
    width: fit-content;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #212529;
    -webkit-box-shadow: 0 0 0px 1000px var(--light20-color) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/****************Footer****************/
footer {
    color: white /*rgb(112, 152, 172)*/;
    line-height: 1.3;
    background-color: var(--main-color);
    padding-top: 30px;
    padding-bottom: 0;
    flex-shrink: 0; /*Sticky Footer*/
    /*damit Termin-Pfeil nicht überlappt*/
    position: relative;
    z-index: 10;
}

    footer strong {
        font-weight: normal;
        color: white;
    }

    footer .done {
    }

    footer a {
        color: white;
        text-decoration: none;
    }

        footer a:hover,
        footer a:focus,
        footer a:active {
            color: rgb(112, 152, 172);
            text-decoration: none;
        }

    footer ul {
        list-style: none;
        padding-left: 0;
        margin-top: 3px;
        line-height: 1.5;
    }

    footer li {
        margin-bottom: 11px;
    }

    footer a img,
    footer a svg {
        margin: 2px 8px 11px 0;
    }

        footer a svg .color-change {
            transition: fill 200ms linear;
        }

    footer a:hover svg .color-change,
    footer a:focus svg .color-change {
        fill: rgb(112, 152, 172);
        transition: fill 200ms linear;
    }
    /*footer a:last-child img {
	margin-right:0;
}*/
    footer p:last-child {
        margin-bottom: 0;
    }

    footer .container {
        position: relative;
    }

    footer .row .row .col-6 {
        margin-bottom: 30px;
    }

.contact {
    font-size: 38px;
    line-height: 1;
    font-weight: bold;
    color: white;
    background-color: rgb(112, 152, 172);
    text-decoration: none;
    padding: 12px 24px 3px 24px;
    margin: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
    max-width: 155px;
    position: fixed;
    bottom: 0px;
    right: 12px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
}

a.contact:hover,
a.contact:focus {
    color: white;
}
/* Cookie Banner */
#cookie_directive_container > div {
    background-color: rgba(180,193,199,0.85);
    padding-top: 15px;
}

/****************Media Queries****************/

/*Für Smartphone-Anzeige (v.a. Home) quer*/
@media (max-height: 428px) {
    .home .header {
        padding-top: 100px;
    }

        .home .header p {
            max-width: 212px;
        }
}

@media (min-width: 576px) {

    .angebot .card-body,
    .angebot .column > div {
        padding: 20px 27px;
        font-size: inherit;
    }

    .angebot .column > div {
        padding-bottom: 0;
    }

    .angebot .card-image-bottom,
    .angebot .column img {
        border-width: 24px;
        border-bottom-width: 30px;
        max-height: 160px;
    }

    .angebot h3 {
        font-size: 17px;
    }

        .angebot h3:after {
            content: url(/assets/img/cardbar.png);
            position: absolute;
            left: -48px;
            transform: scale(1,1);
        }

    .orderedList li .av-container {
        width: 16.66666667%;
    }

    footer a img,
    footer a svg {
        margin-right: 10px;
    }
}

@media (max-width: 991px) {
    .nav-item .dropdown-menu {
        display: block;
    }
}

@media (max-width: 576px) {
    h1, .h1,
    h2, .h2 {
        hyphens: auto;
    }

    .orderedList .item {
        overflow: revert;
    }
}


@media (min-width: 768px) {
    html, body {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

        body:not(#tinymce) {
            padding-left: 0;
            padding-right: 0;
        }


    main section.bg-colored,
    main section.bg-dark,
    main section.bg-light,
    footer {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    main section.bg-light {
        margin-top: 50px;
        margin-bottom: 50px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    main > .av-container:last-child section {
        margin-bottom: 130px;
    }

    main > .av-container section .umb-grid {
        padding-top: 24px;
        margin-top: 48px;
    }

    .umb-grid {
        padding-bottom: 24px;
        margin-bottom: 48Px;
    }

        .umb-grid .row > div:not(:last-child),
        .umb-grid .angebot .row > div:last-child {
            margin-bottom: 0;
        }

    .hyphens-xs {
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        -webkit-hyphens: manual;
        hyphens: manual;
    }

    h2:after,
    .testimonial h2:after {
        width: 89px;
        height: 10px;
    }

    .contact {
        font-size: 24px;
        line-height: 1.2;
        bottom: 0;
        padding: 18px 18px 14px 18px;
        transition: padding 200ms linear;
    }

        .contact:hover,
        .contact:focus {
            padding-top: 13px;
            padding-bottom: 19px;
            transition: padding 200ms linear;
        }

    .orderedList .item:nth-child(even) .number,
    .orderedList .av-container:nth-child(even) .number {
        order: 2;
    }

    .orderedList .item:nth-child(even) .row:not(h2) > div,
    .orderedList .av-container:nth-child(even) .row:not(h2) > div {
        margin-left: calc(16.6667% - 24px);
    }

    .orderedList .pText {
        margin-left: calc(16.6667% + 7px); /* steht für Breite von .number (col-2) */
    }

    .orderedList .item:nth-child(even) .pText,
    .orderedList .av-container:nth-child(even) .pText {
        margin-right: 16.6667%; /* steht für Breite von .number (col-2) */
        margin-left: 0;
    }

    .smallOrderedList .orderedList .number {
        margin-left: -4px;
    }

    .smallOrderedList .pText {
        margin-left: 8.33333333%; /* steht für Breite von .number (col-1) */
    }

    .smallOrderedList .item:nth-child(even) .pText {
        margin-right: 8.33333333%; /* steht für Breite von .number (col-1) */
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    body:not(#tinymce) {
        padding-left: 0;
        padding-right: 0;
    }

    h1, .h1,
    h2, .h2 {
        font-size: 2.35rem;
    }

    h3, .h3, .testimonial, blockquote {
        font-size: 22px;
    }

    .fullscreen {
        margin-left: 0;
        margin-right: 0;
    }

    .home .fullscreen {
        margin-top: 0;
    }

    .home .header {
        padding-top: 0;
    }

        .home .header .bi {
            font-weight: bold;
        }

    .home .fullscreen .row {
        height: calc(100vh - 117px);
        align-content: center;
    }

    .home .navbar {
        left: 0;
        right: 0;
    }

    .lang {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .lang li {
            display: inline-block;
        }

            .lang li:not(:last-child):after {
                color: inherit;
                content: '|';
                margin-left: 5.5px;
                position: relative;
                top: -1.5px;
            }

        .lang a {
            color: var(--main-color);
            padding-top: 0.5rem;
            padding-left: 0;
            /*padding-bottom:0.5rem;*/
            display: inline-block;
            text-decoration: none;
            transition: color 200ms linear;
        }

    .home .lang a,
    .home .lang .active a {
        color: white;
    }

    .lang a:hover, .lang a:focus, .lang .active a {
        /*color: var(--light-color);*/
        transition: color 200ms linear;
    }

    main section {
        margin-top: 24px;
        margin-bottom: 24px;
        padding-top: 20px;
        padding-bottom: 30px;
    }

        main section:not(.freetext) {
            margin-top: 72px;
            padding-top: 48px;
            margin-bottom: 72px;
            padding-bottom: 48px;
        }

        main section.bg-light:not(.freetext),
        main section.bg-dark:not(.freetext),
        .home main section.freetext.bg-light,
        .home main section.freetext.bg-dark,
        main section.news.bg-dark {
            padding: 80px 0;
        }

    main .umb-block-list {
        padding: 50px 0;
    }

    main section.bg-dark {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 100px;
    }

    .freetext .column > div > img {
        margin-bottom: 0px;
    }

    .umb-grid .col-lg-3 {
        width: 25%;
    }

    .news .container,
    .news .container-lg {
        /*Wiederherstellung BS-Standard für Desktop*/
        padding-right: var(--bs-gutter-x,.75rem);
        padding-left: var(--bs-gutter-x,.75rem);
    }

    .news .card-header {
        font-size: inherit;
        line-height: 1;
        padding: 3px 20px 0 calc(20px + 17px);
        left: -17px;
    }

    .orderedList h2 .number {
        font-weight: normal;
    }

    footer {
        /*color: white;*/
        padding-bottom: 30px;
    }

        footer .row .row .col-6 {
            margin-bottom: 0;
        }

    /*Navigation*/
    .navbar {
        font-size: 19px;
        padding-top: 36px;
        background: url(/assets/img/navbar.png) no-repeat min(-233px, calc((100vw - 992px) / 2 - 233px)) 87px;
    }

        .navbar .container {
            align-items: flex-end;
        }

    .navbar-brand {
        width: auto;
    }

    .navbar-toggler {
        position: static;
        z-index: auto;
        right: auto;
    }

    .navbar .navbar-nav .nav-link {
        color: var(--main-color);
        padding-top: .5rem;
        padding-left: 0;
    }

    .navbar-collapse,
    .navbar .offcanvas {
        position: static;
        height: auto;
        padding: 0;
        flex-direction: row;
        justify-content: flex-start;
    }

    .navbar-expand-lg .offcanvas {
        background-color: white !important;
    }

    .home .navbar-expand-lg .offcanvas {
        background-color: transparent /*#01304c*/ !important;
    }

    .nav-item {
        margin-right: 12px;
    }

    .navbar .navbar-nav .nav-link {
        padding-bottom: 0 /*3px*/;
    }

        .navbar .navbar-nav .nav-link:focus,
        .navbar .navbar-nav .nav-link:hover,
        .navbar .navbar-nav .nav-link.active,
        .navbar .navbar-nav .nav-link.show {
            color: var(--light-color);
        }

    .nav-item:hover .dropdown-menu,
    .nav-item:focus .dropdown-menu,
    .dropdown-menu[data-bs-popper] {
        display: block;
        left: -16px;
        text-transform: none;
    }

    .navbar .navbar-nav .dropdown-toggle::after {
        display: none;
    }

    .navbar .dropdown-menu {
        color: white;
        background-color: rgb(112,150,172);
        padding-top: 18px;
        padding-bottom: 18px;
        border: none;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
        /*filter:drop-shadow(0 10px 10px rgba(0,0,0,0.5));*/
    }

    .dropdown-item {
        hyphens: manual;
    }

    .navbar .dropdown-item {
        color: var(--main-color);
        padding: 4px 27px;
        margin-bottom: 0;
        margin-top: 0;
        transition: color 200ms linear;
    }

        .navbar .dropdown-item.active,
        .navbar .dropdown-item:hover,
        .navbar .dropdown-item:focus {
            color: white;
            /*
		background-color:white;
		*/
            transition: color 200ms linear;
        }
    /*.navbar .navbar-nav .nav-link:focus, 
	.navbar .navbar-nav .nav-link:hover,
	.navbar .navbar-nav .nav-link.active, 
	.navbar .navbar-nav .show > .nav-link {
		color:var(--main-color);
	}*/
}

@media (min-width: 1200px) {
    .home .header {
        padding-top: 80px;
        margin-bottom: 75px;
    }

    .home .fullscreen h2 {
        font-size: 3rem;
    }

    .home .fullscreen .row > div {
        margin-bottom: 14vh;
    }

    .navbar {
        background-position: min(0px, calc((100vw - 1200px) / 2 - 233px)) 89Px;
    }

    .nav-item {
        margin-right: 26px;
    }

    .navbar .navbar-nav .nav-link {
        padding-right: calc(2 * var(--bs-navbar-nav-link-padding-x));
    }
}

@media (min-width:1400px) {
    .home .fullscreen h2 {
        font-size: 3.7rem;
    }

    .home .header .container {
        max-width: 1320px;
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}
