:root {
    --cnvs-themecolor: #78b728;
    --cnvs-link-color: #78b728;
    --cnvs-header-height: 150px;
    --cnvs-side-panel-size: 375px;

    --bs-border-color: #66ad2d;

    /* Sticky Buttons */
    --qc-radius: 14px;
    --qc-tab-size: 62px;
    --qc-gap: 10px;
    --qc-shadow: 0 10px 30px rgba(15, 20, 40, .18);
}

p, pre, ul, ol, dl, dd, blockquote, address, table, fieldset, form {
    margin-bottom: 15px;
}

.page-title-content {
    background-color: rgb(255 255 255 / 86%);
    padding: 20px 40px;
    border-radius: 15px;
}

.page-title-content h1 {
    color: #293089;
}

.page-title-content span {
    color: #66ad2d;
    font-size: 21px;
    font-weight: 700;
    margin-top: 0.5rem;
}

.page-title {
    --cnvs-page-title-parallax-padding: 14.25rem;
}

@media (max-width: 1500px) {
    :root {
        --cnvs-header-height: 125px;
    }
}

@media (max-width: 375px) {
    :root {
        --cnvs-side-panel-size: 300px !important;
    }
}

.gdpr-settings-sm {
    box-shadow: 3px 3px 3px #ccc;
    border: solid 1px #ccc;
}


/* ===================================================================
   Nunito – Webfont-Einbindung (Variable Font)

   Dieses Paket enthält nur 2 Dateien, die aber ALLE Schriftstärken
   von 200 (ExtraLight) bis 900 (Black) sowie deren Kursivschnitte
   abdecken – kein Laden von 18 Einzeldateien nötig.

   Erwartete Ordnerstruktur (relativ zu dieser CSS-Datei):
     css/nunito-font.css   <- diese Datei
     fonts/Nunito-VariableFont.woff2
     fonts/Nunito-Italic-VariableFont.woff2

   Liegt die CSS-Datei woanders, einfach die beiden Pfade in den
   @font-face-Regeln unten anpassen.
=================================================================== */

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont.woff2') format('woff2');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-Italic-VariableFont.woff2') format('woff2');
    font-weight: 200 1000;
    font-style: italic;
    font-display: swap;
}

/* -------------------------------------------------------------
   Basis-Klasse
   Setzt explizit font-weight: 400 – ohne diese Angabe würde der
   Browser bei einer Variable Font sonst auf deren technisches
   Default-Gewicht zurückfallen, das bei dieser Datei ungewöhnlich
   dünn ausfällt.
------------------------------------------------------------- */
.font-nunito {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* -------------------------------------------------------------
   Schriftstärken-Utilities
   (Namen orientieren sich an den Original-Schnittnamen von Google)
------------------------------------------------------------- */
.font-nunito-extralight {
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
}

.font-nunito-light {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
}

.font-nunito-regular {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.font-nunito-medium {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
}

.font-nunito-semibold {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.font-nunito-bold {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.font-nunito-extrabold {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.font-nunito-black {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
}

/* Kursiv – kombinierbar mit den Gewichts-Klassen oben,
   z. B. class="font-nunito-semibold font-nunito-italic" */
.font-nunito-italic {
    font-style: italic;
}


.content-wrap p {
    line-height: var(--cnvs-line-height-content);
    font-size: 1.125rem;
}

h1 {
    font-family: 'Nunito';
    font-size: 3.125rem;
    font-weight: 500;
}

h2 {
    font-family: 'Nunito';
    font-size: 2.5rem;
    font-weight: 500;
}

.logo-default {
    padding: 10px 0px;
}

#header-wrap #logo img {
    height: 140px;
}

.logo-header-home {
    min-height: 76px;
}

.cnvs-hamburger {
    --cnvs-hamburger-size: 2rem;
    --cnvs-hamburger-width: 5px;
}

#side-panel {
    z-index: 1000;
}

#side-panel-trigger-close {
    text-align: right;
    padding: 10px;
    position: relative;
    z-index: 99999;
}

#side-panel-trigger-close a {
    display: block;
    font-size: 24px;
}

.btn-success {
    color: #fff;
    background-color: #78b728;
    border-color: #75b628;
}

.btn-success:hover {
    color: #fff;
    background-color: #f5a31e;
    border-color: #f5a31e;
}

.nav-tree li.sub-menu > a {
    position: relative;
    padding-right: 2rem;
}

.nav-tree li.sub-menu > a > .sub-menu-indicator {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2.75rem;
    height: 2.75rem;
    line-height: 1;
}

.nav-tree li.sub-menu.active > a > .sub-menu-indicator {
    transform: translateY(-50%) rotate(90deg);
}

.nav-tree li.sub-menu > a > .sub-menu-indicator::before {
    pointer-events: none;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgb(40 48 136) !important;
}

.copyright {
    font-size: 11px;
}

.richtext-block ul {
    margin-left: 20px;
}

.richtext-block ul li p {
    margin-bottom: 10px;
}

.story-bg {
    --story-bg-color: #fff;
    background-color: var(--story-bg-color, #fff);
}

.searchInput {
    width: 20%;
    z-index: 499;
}

@media (max-width: 1600px) {
    .searchInput, .searchInput-subpages {
        display: none;
    }
}

.whiteBackHeader {
    position: fixed;
    width: 50%;
    height: 100px;
    background-color: #fff;
    z-index: 1
}

#mainPage .align-items-start .slide-caption {
    margin-top: 120px;
}

.dropcap {
    color: #554ba0;
}

.l-quote {
    position: relative;
    width: 380px;
    padding: 15px 25px 20px;
    margin: 20px auto;
    color: #fff;
    background: #f5a536;
    text-transform: uppercase;
    font-size: 17px;
    z-index: 2;
}

.l-quote:after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 62px;
    border-width: 0px 5px 44px 46px;
    border-style: solid;
    border-color: #f5a536 transparent;
}

.r-quote {
    position: relative;
    width: 400px;
    padding: 15px 10px 20px 10px;
    margin: 20px auto;
    color: #fff;
    background: #78b728;
    font-size: 17px;
    top: -26px;
    z-index: 3;
    left: -50px;
}

.r-quote:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 37px;
    border-width: 30px 7px 0px 44px;
    border-style: solid;
    border-color: #78b728 transparent;
}

.page-menu-item > a {
    display: block;
    position: relative;
    line-height: 22px;
    padding: 11px 14px;
    color: #FFF;
    font-size: 12px;
}

.heading-block h2 {
    font-size: 30px;
    color: #f3990d;
}

.center .heading-block::after, .text-center .heading-block::after, .heading-block.center::after, .heading-block.text-center::after {
    margin: 30px auto 0;
}

.heading-block::after {
    border-top: 2px solid #71b62b;
}

.bg-light {
    background-color: #ffffff !important;
}

.entry-yellow {
    background-color: #f5a536 !important;
    color: #fff;
}

.entry-yellow h1, .entry-yellow h2, .entry-yellow h3, .entry-yellow h4, .entry-yellow h3 a, .entry-yellow li a, .entry-yellow li, .entry-green .entry-user h4 span {
    color: #fff !important;
}

.entry-green {
    background-color: #78b728 !important;
    color: #fff;
}

.entry-green h1, .entry-green h2, .entry-green h3, .entry-green h4, .entry-green h3 a, .entry-green li a, .entry-green li, .entry-green .entry-user h4 span {
    color: #fff !important;
}

@media (min-width: 991px) {
    .content-home {
        margin-top: -119px !important;
    }
}

@media (min-width: 1501px) {
    .content-home {
        margin-top: -145px !important;
    }
}

@media screen and (max-width: 1400px) {
    .page-menu-item > a {
        padding: 11px 5px;
        font-size: 11px;
    }
}

@media screen and (max-width: 1200px) {
    .header-size-md #header-wrap #logo img {
        height: 60px;
        margin-top: 5px;
    }

    .page-menu-item > a {
        padding: 11px 2px;
        font-size: 10px;
    }

    .page-menu-row .page-menu-title span {
        font-size: 15px;
    }
}

@media screen and (max-width: 991px) {
    .searchInput {
        display: none;
    }

    .whiteBackHeader {
        display: none;
    }


    .page-menu-item > a {
        padding: 11px 15px;
        font-size: 12px;
    }

    /*
     #page-menu.sticky-page-menu:not(.dots-menu) #page-menu-wrap {
        top: 0px !important;
    }*/
}

@media screen and (max-width: 767px) {

    .l-quote {
        width: 250px;
        padding: 10px 25px 10px;
        font-size: 14px;
        top: 57px;
        left: 38px;
    }

    .l-quote:after {
        left: 62px;
        border-width: 0px 5px 44px 46px;
    }

    .r-quote {
        width: 300px;
        padding: 10px 5px 10px;
        font-size: 14px;
        top: 30px;
        z-index: 3;
        left: -20px;
    }

    .r-quote:after {
        right: 37px;
        border-width: 30px 7px 0px 44px;
    }

    #mainPage .align-items-start .slide-caption {
        margin-top: -50px;
    }

    .heading-block h2 {
        font-size: 24px;
    }

}

.header-size-md #header-wrap #logo img {
    height: 110px;
}

.whiteBackHeader {
    height: 138px;
}

.searchInput {
    width: 20%;
    position: absolute;
    left: 28%;
    top: 60px;
    z-index: 499;
}

.list-group-content {
    color: #666666 !important;
}

.list-group-content p {
    font-size: 1.15rem;
    line-height: 1.6em;
}

@media (min-width: 1400px) {
    .list-group-content p {
        font-size: 1.25rem;
        line-height: 1.6em;
    }
}

@media (min-width: 1200px) {
    .display-4 {
        font-size: 2.5rem;
    }
}

.bg-appstore, .h-bg-appstore:hover, .section {
    background-color: rgb(255 255 255) !important;
}

#header-wrap {
    border-bottom: 0px solid #fff !important;
}

@media (max-width: 768px) {
    #header-wrap #logo img {
        height: 75px;
    }

    .section-showcase-sticky .list-group-content > div {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.button-green:not(.button-border) {
    background-color: #78b728 !important;
}


.button-blue:not(.button-border) {
    background-color: #29308a !important;
}

#header.sticky-header.transparent-header #header-wrap:not(.not-dark) {
    background-color: rgba(255, 255, 255, 0.0) !important;
    box-shadow: none;
}


body .cnvs-hamburger {
    padding: 20px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

#headerMenuTrigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* Label sitzt im unteren Innenabstand des Hamburgers, direkt unter den Streifen */
#headerMenuTrigger .cnvs-hamburger {
    padding-bottom: 24px;
}

.menu-trigger-label {
    position: relative;
    margin-top: -20px;
    line-height: 1;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6c757d;
}

.svg-trigger {
    width: 80px;
    height: 80px;
}

.entry-grey {
    background-color: #9e9e9e !important;
    color: #fff;
}

.button-grey {
    background-color: #9e9e9e;
    color: #fff;
}

.entry-blue {
    background-color: #293089 !important;
    color: #fff;
}

.entry-blue h1, .entry-blue h2, .entry-blue h3, .entry-blue h4, .entry-blue h3 a, .entry-blue li a, .entry-blue li, .entry-blue .entry-user h4 span {
    color: #fff !important;
}


.entry-grey h3 {
    color: #fff;
}

.entry-white h3 {
    color: #293089;
}

.entry-white .entry-meta a {
    color: #293089;
}

.button-orange {
    background-color: #f5a536
}

.button-white {
    color: var(--bs-gray-900);
}

/*.box-header-align-right {*/
/*    position: absolute;*/
/*    right: 20px;*/
/*    text-align: end;*/
/*}*/

h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    line-height: 1em !important;
}

.w-65 {
    width: 65%;
}

@media (min-width: 992px) {
    #content {
        margin-top: -94px;
    }
}

@media (max-width: 1600px) {
    .w-65 {
        width: 80%;
        line-height: 26px;
    }
}

@media (max-width: 575px) {
    .w-65 {
        width: 95%;
        line-height: 24px;
    }


    .l-quote-3 {
        transform: translate(-50px, 100px) !important;
    }


    .l-quote-6 {
        transform: translate(0px, 100px) !important;
    }
}

.external-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 25px;
}

.external-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.grid-element-margin {
    margin: 0 0 30px;
}

/** Video Background **/
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.video-background-gif {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.video-background-gif::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/Animation_Hintergrund.gif");
    background-size: cover;
    opacity: 0.5; /* Regelt die Transparenz (0 = unsichtbar, 1 = voll) */
    z-index: -1; /* Legt das Bild hinter den Inhalt */
}

.quote {
    color: #29308a;
    font-size: 1.25rem;
    margin-top: var(--cnvs-header-height);
    text-align: left;
}


.quote::before {
    left: -21px;
    color: #f39100;
}

.quote ul {
    margin-left: 20px;
    line-height: 1em;
}

.quote-title {
    color: #29308a !important;
    font-family: "Nunito", sans-serif !important;
}

.quote-author {
    text-align: right;
    padding-top: 15px;
    font-size: 13px;
    font-style: italic
}


@media (max-width: 1400px) {
    .quote {
        font-size: 1.15rem !important;
    }

    .quote-title {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

    .quote ul {
        line-height: 1.3em !important;
    }

    .quote ul li p {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .quote {
        font-size: 0.8rem !important;
        line-height: normal;
    }

    .quote-title {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
        margin-left: 20px !important;
    }

    .quote ul {
        line-height: 0.9em !important;
    }


    .quote ul li p {
        margin-bottom: 6px;
    }

    .quote::before {
        top: -20px;
    }
}

.subpages-header-elements {
    display: none;
}


/* ---------------------------------------------
     Sticky Kontakt-Widget
  --------------------------------------------- */
.quick-contact {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--qc-gap);
    z-index: 999;
}

.qc-item {
    position: relative;
    z-index: 1;
}

.qc-item.is-open {
    z-index: 50;
}

/* Unsichtbare Brücke über die Lücke zwischen Tab und Panel,
   damit der Mauszeiger beim Wechsel zum Panel den Hover nicht verliert */
.qc-item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 16px;
    height: 220px;
    transform: translateY(-50%);
}

.qc-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: var(--qc-tab-size);
    height: var(--qc-tab-size);
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: var(--qc-radius) 0 0 var(--qc-radius);
    box-shadow: var(--qc-shadow);
    font: inherit;
    padding: 0;
    transition: filter .15s ease, transform .15s ease;
}

.qc-tab i {
    font-size: 21px;
    line-height: 1;
}

.qc-tab-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .01em;
}

.qc-tab:active {
    transform: scale(.96);
}

.qc-tab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
    box-shadow: var(--qc-shadow), 0 0 0 3px rgba(0, 0, 0, .25);
}

.qc-phone .qc-tab, .qc-phone .qc-panel {
    background: #293089;
}

.qc-email .qc-tab, .qc-email .qc-panel {
    background: #f29001;
}

.qc-hours .qc-tab, .qc-hours .qc-panel {
    background: #66ad2d;
}

.qc-menu .qc-tab {
    background: #6c757d;
}

/* Menü-Button fadet von rechts rein, sobald das Hamburger-Menü nicht mehr sichtbar ist */
.qc-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}

.qc-menu.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity .3s ease, transform .3s ease, visibility 0s;
}

.qc-panel {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    transform: translateY(-50%) translateX(8px) scale(.92);
    transform-origin: right center;
    width: max-content;
    max-width: min(350px, calc(100vw - 110px));
    color: #fff;
    border-radius: var(--qc-radius);
    box-shadow: var(--qc-shadow);
    padding: 15px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

/* kleiner Verbindungspfeil zum Tab */
.qc-panel::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid transparent;
}

.qc-phone .qc-panel::after {
    border-left-color: #293089;
}

.qc-email .qc-panel::after {
    border-left-color: #f29001;
}

.qc-hours .qc-panel::after {
    border-left-color: #66ad2d;
}

.qc-panel-title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .85;
}

.qc-panel-value {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.qc-panel-text {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.45;
}

.qc-panel-text-spaced {
    margin-top: 16px;
}

.qc-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 14px;
    border-radius: 999px;
    transition: transform .12s ease, box-shadow .12s ease;
}

.qc-phone .qc-cta {
    color: #293089;
}

.qc-email .qc-cta {
    color: #f29001;
}

.qc-cta:active {
    transform: translateY(0);
}

.qc-cta i {
    font-size: 15px;
}

.qc-hours-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1.9;
}

.qc-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding-bottom: 2px;
}

.qc-hours-list li:last-child {
    border-bottom: none;
}

.qc-hours-day {
    opacity: .9;
}

.qc-hours-time {
    font-weight: 700;
}

.qc-hours-note {
    margin: 0;
    font-size: 12.5px;
    opacity: .9;
    line-height: 1.5;
}

/* Panel-Sichtbarkeit: Desktop = Hover, alle Geräte = .is-open (Klick/Tap/Fokus) */
.qc-item.is-open .qc-panel {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
    pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
    .qc-item:hover {
        z-index: 50;
    }

    .qc-item:hover .qc-panel {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
        pointer-events: auto;
    }

    .qc-tab:hover {
        filter: brightness(1.07);
    }

    .qc-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .qc-panel, .qc-tab, .qc-menu {
        transition: none;
    }
}

.schadensfall
{
    margin-top: 10px;
    padding: 10px;
    background: white;
    color: #000;
}

.schadensfall strong
{
    color: #35298b;
}

.schadensfall a
{
    font-weight: 900;
}

/* Kleinere Tabs auf sehr schmalen Screens */
@media (max-width: 380px) {
    :root {
        --qc-tab-size: 54px;
    }

    .qc-tab i {
        font-size: 18px;
    }

    .qc-tab-label {
        font-size: 9.5px;
    }
}

/** Contact Form **/
.contact-form {
    border-radius: 15px;
    background: #f6f6f6;
    padding: 20px;
}

.form-check-input:checked {
    background-color: #f29001;
    border-color: #f29001;
}

.contact-form-check-input:focus {
    border-color: #f29001;
}

.contact-form .bi-question-circle-fill {
    cursor: pointer;
    color: #293089;
    font-size: 21px;
}

.form-check-label p {
    margin: 0;
}

.theme-info-icon{
    transform: translate(10px, -4px);
}

.entry-content p {
    margin-bottom: 0;
    display: block;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: auto;
    text-overflow: initial;
    font-size: 14px;
    line-height: 22px !important;
}

.highlight-text-wrapper
{
    padding-top:20px;
    text-align:center;
}

.highlight-text
{
    display: inline-block;
    margin: auto;
    font-weight: 700;
    font-size: 18px;
    padding:20px 40px;
    background-color: #a5c2415e;
}

.highlight-text-wrapper img
{
    display: block;
    margin:auto;
    margin-top:65px
}