/*=================================================================================
    Template-Name: SPD SOE
    Beschreibung: Main css für das SPD-SOE-Template

=================================================================================*/

/* Basics */
body, html {
    height: 100%;
}

body {
    background: var(--primary-color3);
    color: var(--primary-color2);
    font-family: 'Open Sans', sans-serif;
}

.section {
    margin: 2em 0em;
    padding: 1em 0em;
}

.nav-container {
    padding-bottom: 0em;
    padding-top: 0em;
}

.hero-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-text {
    color: white;
    text-align: center;
}

/* Navigation*/
.nav-link {
    color: var(--primary-color3);
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
    color: var(--primary-color3);
    font-weight: bold;
    text-decoration-line: underline;
    text-decoration-color: var(--primary-color3);
    text-underline-offset: 0.3em;
    text-decoration-thickness: 2px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

li.breadcrumb-item a {
    text-decoration:none;
    color: #000;
}

/* Cards fuer news */
.card {
    border: var(--bs-card-border-width) solid var(--primary-color1);
    border-radius: 1.5em;
}

.card-title, h3.card-title a  {
    color: var(--primary-color1);
    font-weight: 600;
    text-decoration: none;
}

.card-title.termin {
    color: var(--primary-color2);
}

a.more {
    color: var(--primary-color1);
}

.ueberschrift {
    border-top: 0.05em solid grey;
    border-bottom: 0.05em solid grey;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

/* cards fuer Kontakte */
.contact {
    border: 1px solid var(--secondary-color1);
    background-color: var(--secondary-color1);
    max-width: 300px;
}

.contact .card-title {
    color: var(--primary-color2);
}

.contact a, .redlink a  {
    color: var(--primary-color1);
    text-decoration: none;
}

.redlink{
    color: var(--primary-color1)
}

/* Accordion-Formatierungen */

.accordion-item {
    padding: 1em 0em;
    border: none;
}

.accordion-header a {
    text-decoration: none;
    color: var(--primary-color1);
}

.accordion-item .collapsed.accordion_toogle::before {
    content: "\F4F9";
    font-family: "bootstrap-icons";
    color: var(--primary-color1);
}

.accordion-item .accordion_toogle::before {
    content: "\F2E5";
    font-family: "bootstrap-icons";
    color: var(--primary-color1);
}

.accordion-item .einfListe ul {
    margin-bottom: 0em;
    list-style-type: none;
}

.accordion-item .einfListe li {
    padding: 0.2em 0em;
    list-style-type: none;
}

.einfListe li::before {
    content: "\F52D"; /*\F52D oder \F1C5*/
    font-family: "bootstrap-icons";
    color: var(--primary-color1);
}

.accordion-item .einfListe a {
    color: var(--primary-color1);
    text-decoration: none;
    margin-left: 0.5em;
}

.randlosesBild {
    position: relative; /*Wichtig für die absolute Positionierung des Textes */
    margin: 0 0 0rem;
    height: 300px; /* Beispiel-Höhe */
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1900px) {
    .randlosesBild {
        height: 450px;
    }
}

.fotorechte {
    position: absolute;
    width: 100%;
    bottom: 0em;
    right: 0em;
    color: white;
    text-align: right;
    padding-right: 0.5em;
    background-color: rgba(0,0,0,0.25);
}

/* Responsive images mit Fluid Styled Content */
.ce-gallery img {display: unset;}
.ce-intext [data-ce-columns="1"],
.ce-intext [data-ce-columns="2"],
.ce-intext [data-ce-columns="3"],
.ce-intext [data-ce-columns="4"] {
    width: 100%;
}

.ce-intext [data-ce-columns="2"] .ce-column,
.ce-center [data-ce-columns="2"] .ce-column {
    width: 48%;
    margin-right: 2%;
}

.ce-intext [data-ce-columns="3"] .ce-column,
.ce-center [data-ce-columns="3"] .ce-column {
    width: 31%;
    margin-right: 2%;
}

.ce-intext [data-ce-columns="4"] .ce-column,
.ce-center [data-ce-columns="4"] .ce-column {
    width: 23%;
    margin-right: 2%;
}

.ce-intext.ce-right .ce-gallery {
    margin-left: 0;
}

.ce-intext.ce-left .ce-gallery {
    margin-right: 0;
}

.ce-textpic,
.ce-image,
.ce-nowrap .ce-bodytext,
.ce-uploads li,
.ce-uploads div {
    overflow: visible;
}
@media screen and (min-width: 601px) {
    .ce-intext [data-ce-columns="1"],
    .ce-intext [data-ce-columns="2"],
    .ce-intext [data-ce-columns="3"],
    .ce-intext [data-ce-columns="4"] {
        width: 50%;
    }
    .ce-intext.ce-right .ce-gallery {
        margin-left: 1rem;
    }
    .ce-intext.ce-left .ce-gallery {
        margin-right: 1rem;
    }
    .ce-textpic,
    .ce-image,
    .ce-nowrap .ce-bodytext,
    .ce-uploads li,
    .ce-uploads div {
        overflow: hidden;
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    background-color: var(--primary-color1);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--primary-color3);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--primary-color2), transparent 20%);
    color: var(--primary-color3);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

#footer section {
    padding: 0px;
}

#footer a {
    color: var(--bs-secondary-color) !important;
}

#footer a:hover {
    color: var(--bs-secondary-color) !important;
    font-weight: bold;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 80vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 30%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    margin: 0 0 0 0;
    font-size: 24px;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.about .about-img img {
    width: 100%;
    object-fit: cover;
}

.about h3 {
    font-weight: 300;
    font-size: 32px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .about h3 {
        font-size: 28px;
    }
}

.about .nav-pills {
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color1), transparent 85%);
}

.about .nav-pills li+li {
    margin-left: 40px;
}

.about .nav-link {
    background: none;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color1);
    padding: 12px 0;
    margin-bottom: -2px;
    border-radius: 0;
}

.about .nav-link.active {
    color: var(--primary-color1);
    background: none;
    border-bottom: 3px solid var(--primary-color1);
}

.about .tab-content-sub {
    color: var(--primary-color2);
    font-weight: 600;
}

@media (max-width: 575px) {
    .about .nav-link {
        font-size: 16px;
    }
}

/* Checkliste */
ul.list-check1, ul.list-check2 {
    padding-left: 0;
    list-style-type: none;
}
ul.list-check1 li:before, ul.list-check2 li:before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--primary-color1);
    margin-right: 5px;
}

ul.list-check1 li:before {
    content: "\f26e";
}

ul.list-check2 li:before {
    content: "\f26b";
}

/* Anpassungen für container */
.frame-type-2cols section,
.frame-type-2cols .container .container {
    padding: 0;
}
