/* Colors */

/* Green */
.in-green {
    color: #83BA21;
}

/* Orange */
.in-orange {
    color: #EF8E2C;
}

/* Petrol */
.in-petrol {
    color: #2C5F6D;
}

/* Grey darkest */


/* Variables */

:root {
    --petrol    : #2C5F6D;
    --orange    : #EF8E2C;
    --green     : #83BA21;
    --primary   : #83BA21;
    --secondary : #EF8E2C;
    --tertiary  : #2C5F6D;
    --base      : #252837;
}


/* ======================================
   Set Colors
   ====================================== */

a, .links-underline a:hover,
.site-footer a:hover,
.site-nav .site-navigation .site-menu > li > a:hover, .site-nav .site-navigation .site-menu > li > a.active,
.site-nav .site-navigation .site-menu .has-children:hover > a, .site-nav .site-navigation .site-menu .has-children:focus > a, .site-nav .site-navigation .site-menu .has-children:active > a,
.site-nav .site-navigation .site-menu .has-children .dropdown > li > a:hover,
.site-nav.scrolled .site-navigation .site-menu li a.active,
.site-mobile-menu .site-nav-wrap a:hover,
.step h3, .step .h3,
.service-2 h3 a, .service-2 .h3 a,
.service-2 [class^="flaticon-"] {
    color: var(--primary);
}

.btn.btn-primary,
.heading-wrap .heading:before,
.site-footer .widget .social li a {
    background-color: var(--primary);
}

.step.active, .step:hover, .step:focus,
.social li a {
    border-color: var(--primary);
}


/* ======================================
   Typography
   ====================================== */

body {
    font-size: 15px;
}

body, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, .logo {
    font-family: "MazzardH", "Helevetica Neue", Arial, sans-serif;
}

/* ======================================
   Headings
   ====================================== */



h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    line-height: 1.3;
}

h2, .h2 {
    font-size: clamp(1.5rem, 1.1429rem + 0.3571vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75em;
}

p + h2, p + .h2 {
    margin-top: 2em;
}

/* h3 */
h3, .h3 {
    font-size: clamp(1.25rem, 1.1429rem + 0.3571vw, 1.5rem);
    line-height: 1.2;
}

p + h3, p + .h3 {
    margin-top: 1.5em;
}


/* h4 */
h4, .h4 {
    font-size: clamp(1rem, 0.9464rem + 0.1786vw, 1.125rem);
    line-height: 1.2;
}

p + h4, p + .h4 {
    margin-top: 1em;
}



.hero .heading {
    font-size: clamp(2.5rem, 1.6964rem + 2.6786vw, 4.375rem);
    line-height: 1.1;
}

.heading-wrap .heading {
    font-family: "MazzardH", sans-serif;
    position: relative;
    font-weight: 700;
    padding-left: 0;
    margin-bottom: .5em;
    font-size: clamp(2.25rem, 1.6071rem + 2.1429vw, 3.75rem);
}

/*
.heading-wrap .heading:before {
    top: 28px;
    content: "";
    position: absolute;
    left: 0;
    width: 50px;
    height: 6px;
    background-color: var(--base);
}
*/



.heading-wrap .heading:before {
    content: none;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    top: auto;
    left: auto;
}




@media (max-width: 992px) {

    .heading-wrap .heading {
        position: relative;
        padding-left: 0;

    }

    .heading-wrap .heading:before {
        content: none; /* Entfernt den Inhalt des Pseudoelements */
        position: static; /* Zurücksetzen der absoluten Positionierung */
        width: auto;
        height: auto;
        background-color: transparent;
        top: auto;
        left: auto;
    }

}



/* ======================================
   Hero
   ====================================== */

.hero {
    padding-top: 16rem;
    padding-bottom: 4rem;
}

.logo {
    top: 0;
}
@media (max-width: 991.98px) {
    .logo {
       top: -9px;

    }
}


/* ======================================
   Site Header Bar on Scroll
   ====================================== */
.site-nav.scrolled {

    padding-top: 14px !important;
    padding-bottom: 6px !important;

}

/* ======================================
   DESKTOP Site Menu
   ====================================== */

.site-menu-container {
    margin-left: auto;
    width: auto;
}

.site-nav.scrolled .logo {
    color: #000 !important;
    border-color: #000;
    top: 6px;
    position: absolute;
}


/* ======================================
   HAMBURGER Icon
   ====================================== */
.burger {
    margin-top: 3px;
}

/* ======================================
   SIDEBAR Menu
   ====================================== */

.site-mobile-menu .site-nav-wrap > li > a {
    padding-left: 8px;
    font-size: 18px;
}

.site-mobile-menu .site-mobile-menu-body {
    padding-top: 60px;
    text-align: center;
}

/* ======================================
   Featured Services on Front Page
   ====================================== */

.featured-services__heading {
    font-weight: 700;
    font-size: 1.3rem;
    font-family: "MazzardH", sans-serif;
}




/* ======================================
   About Section on Front Page
   ====================================== */

.about-image__max-width {
    max-width: 400px;
}

@media (min-width: 992px) {

}

/* ======================================
   Circles on front page
   ====================================== */

.circle-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    place-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
}

.circle {
    position: relative; /* Wichtig für die absolute Positionierung des Links */
    max-width: 600px;
    width: min(100%, 600px); /* Nimmt den kleineren Wert: 100% oder 600px */
    aspect-ratio: 1/1; /* Behält das kreisförmige Format bei */
    border-radius: 50%;
    border: 5px solid #83BA21;
    background: var(--primary);
    overflow: hidden; /* Wichtig, damit der Link nicht über den Kreis hinausragt */
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* Neuer Stil für den Link, der den gesamten Kreis abdeckt */
.circle-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none; /* Entfernt die Unterstreichung */
    color: inherit;
    z-index: 1; /* Stellt sicher, dass der Link über anderen Elementen liegt */
    padding: 0 1rem;
}

@media (max-width: 992px) {
    .circle {
        max-width: 400px;
        width: min(100%, 400px);
    }
}

.circle h3 {
    font-size: 1.4rem;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 0 1rem;
    transition: color 0.3s ease;
    position: relative; /* Für z-index */
    z-index: 2; /* Stellt sicher, dass der Text über dem Link liegt */
}

.circle:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    cursor: pointer;
}

.circle:hover .number,
.circle:hover h3 {
    color: #fff;
}

.circle .number {
    font-size: 0.9rem;
    font-weight: normal;
    color: white;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative; /* Für z-index */
    z-index: 2; /* Stellt sicher, dass die Nummer über dem Link liegt */
}

/* Moderne Browser */
/* Nur für die spezifischen Anker-Ziele */

#item1, #item2, #item3 {
    scroll-margin-top: 100px;
}

/* Fallback für ältere Browser */
/* #item1, #item2, #item3 {
    position: relative;
}

#item1::before, #item2::before, #item3::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
    pointer-events: none;
}
*/




/* ======================================
   Footer Image
   ====================================== */


.footer-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    height: 200px; /* Standard-Höhe für größere Bildschirme */
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Für mittlere Displays */
@media (max-width: 992px) {
    .footer-image {
        height: 200px; /* Angepasste Höhe für mittlere Bildschirme */
    }
}

/* Für kleinere Displays */
@media (max-width: 768px) {
    .footer-image {
        height: 200px; /* Angepasste Höhe für kleine Bildschirme */
    }
}



/* ======================================
   MEHR LESEN BOXEN
   ====================================== */

/* Grundlegende Container-Struktur */
.toggle-container {
    margin-bottom: 3rem;
    position: relative;
}

/* Expandable Wrapper - Hauptcontainer */
.expandable-wrapper {
    overflow: hidden;
    transition: height 0.5s ease, opacity 0.5s ease;
    height: 0;
    opacity: 0;
    margin-bottom: 0.5rem;
}

.expandable-wrapper.open {
    opacity: 1;
    margin-top: 1rem;
}

/* Inhaltselemente */
.expandable-content {
    transform: translateY(-10px);
    transition: transform 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.expandable-content:last-child {
    margin-bottom: 0;
}

.expandable-wrapper.open .expandable-content {
    transform: translateY(0);
}

.visible-content {
    margin-bottom: 0;
}

/* Show more */

.show-more {
    font-weight: 700;
}

/* Button-Bereich und Steuerelemente */
.read-more-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
    background-color: #fff;
    z-index: 5;
}

.read-more-btn {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: bold;
    background-color: var(--primary);
    color: white;
}

.read-more-btn a {
    color: white;
}



.read-more-btn a:hover {
    background-color: var(--secondary);
    color: white;
}

.read-more-container:hover .read-more-btn {
    color: #83BA21;
}

/* Pfeil-Icon und Animation */
.read-more-arrow {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    transition: transform 0.5s ease;
}

.read-more-arrow.rotated {
    transform: rotate(180deg);
}

.read-more-container:hover .read-more-arrow.rotated {
    transform: rotate(180deg);
}

.read-more-container:hover .read-more-arrow {
    transform: none;
}


/* ======================================
   Accordion
   ====================================== */

/* Grundlegendes Layout für das Akkordeon */
.accordion {
    width: 100%;
    margin: 0 auto;
}

.accordion__item {
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

/* Header-Styling */
.accordion__header {
    background-color: #f5f5f5;
    padding: 15px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Überschriften-Container */
.accordion__headings {
    flex-grow: 1;
    padding-right: 20px;
}

/* Überschriften-Styling */
.accordion__headings h3 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Subline-Styling */
.accordion__headings .h3-subline {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #666;
}

/* Trigger-Styling (Icon-Container) */
.accordion__trigger {
    flex-shrink: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
}

/* Body-Styling */
.accordion__body {
    padding: 0;
    display: none; /* Standardmäßig ausgeblendet */
    background-color: #fff;
}

.accordion__content {
    padding: 15px;
}

.accordion__content ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style-type: disc;
}

.accordion__content li {
    margin-bottom: 5px;
}

/* Aktives Element */
.accordion__item.active {
    border-color: #ccc;
}

.accordion__item.active .accordion__header {
    background-color: #e9e9e9;
}


/* Bullet */

.accordion__content ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
}

@media (max-width: 992px) {
    .accordion__content ul {
        padding-left: 0;
    }
}

.accordion__content ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.accordion__content ul li::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 10px;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--base);
    border-radius: 50%;
    transform: translateY(-50%);
}


