/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: 
    ;
    --secondary-color: rgb(217, 116, 8);
    --accent-color: #e74c3c;
    --text-color: #fff;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --shadow: 0px 10px 6px rgba(0, 0, 0, 0.125);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --orange: rgba(255, 130, 0, 1);
    --leicht-orange: rgba(255, 130, 0, 0.5);
    --rot:rgba(200, 20, 20, 1);
    --leicht-rot: rgba(200, 20, 20, 0.5);
    --grün:rgba(0, 120, 70, 1);
    --leicht-grün: rgba(0, 120, 70, 0.5);
}



html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html.no-scroll {
    overflow: hidden !important;
}

/* Klasse für verstecktes Scrolling */
body.no-scroll {
    overflow: hidden !important;
    width: 100%;
}



body {
    font-family: "Bricolage Grotesque", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/*Deko-Elemente*/
.circle-positioner{
    position: absolute;
    overflow: hidden;
    display: flex;
    justify-content: right;
    width: 100%;
    height: 100%;
    margin-top: 10vmax;
}

.hero-circle {
    border: 5px solid var(--grün);
    background-image: url("../images/homepage-opener.jpg");
    background-size: 50% 50%;
    border-radius: 50%;
    height: 195vmin;
    aspect-ratio: 1 / 1;
    position: absolute;
    transform: translateX(50%) translateY(-50%);
    box-shadow: -10px 10px 6px rgba(0, 0, 0, 0.125);
}

/* ===== HINTERGRUNDELEMENTE ===== */

/* Basis-Styling für alle Hintergrundelemente */
.bg-element {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

/* Spezifische Klassen für verschiedene Formen */
.bg-circle-orange {
    border: 3px solid var(--orange);
    border-radius: 50%;
}

.bg-circle-green {
    border: 3px solid var(--grün);
    border-radius: 50%;
}

.bg-triangle-orange {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid var(--orange);
}

.bg-triangle-green {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid var(--grün);
}

.bg-triangle-green-up {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 85px solid var(--grün);
}

.bg-triangle-orange-up {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 85px solid var(--orange);
}

.bg-square-orange {
    background: var(--orange);
    transform: rotate(45deg);
}

.bg-square-green {
    background: var(--grün);
    transform: rotate(45deg);
}

.bg-hexagon-orange {
    background: var(--orange);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.bg-hexagon-green {
    background: var(--grün);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.bg-line-orange {
    background: linear-gradient(90deg, var(--leicht-orange), var(--orange), var(--leicht-orange));
    height: 2px;
}

.bg-line-green {
    background: linear-gradient(90deg, transparent, var(--grün), transparent);
    height: 2px;
}

/* ===== HERO HINTERGRUNDELEMENTE ===== */
.bg-hero-circle-orange-1 {
    bottom: 6%;
    left: 0%;
    width: 200px;
    height: 200px;
    opacity: 0.25;
}

.bg-hero-triangle-green-1 {
    bottom: 20%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 100px solid var(--grün);
    opacity: 0.3;
}

.bg-hero-square-orange-1 {
    top: 30%;
    left: 5%;
    width: 80px;
    height: 80px;
    opacity: 0.25;
}

.bg-hero-triangle-green-2 {
    top: 60%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--grün);
    opacity: 0.28;
}

.bg-hero-line-orange-1 {
    top: 57.5%;
    left: -15%;
    width: 130%;
    height: 2px;
    transform: rotate(10deg);
    opacity: 0.2;
}

.bg-hero-circle-green-1-positioner {
    position: absolute;
    overflow: hidden;
    width: 120px;
    height: 120px;
    bottom: 0%;
    right: 0%;
}

.bg-hero-circle-green-1 {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--grün);
    opacity: 0.2;
    transform: translateX(50%);
}

/* ===== SERVICES HINTERGRUNDELEMENTE ===== */
.bg-services-hexagon-orange-1 {
    top: 40%;
    left: 5%;
    width: 100px;
    height: 115px;
    opacity: 0.3;
}

.bg-services-line-green-1 {
    top: 60%;
    left: -10%;
    width: 120%;
    height: 2px;
    transform: rotate(-20deg);
    opacity: 0.25;
}

.bg-services-circle-green-1 {
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    opacity: 0.25;
}

.bg-services-square-orange-1 {
    bottom: 10%;
    right: 20%;
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

/* ===== TESTIMONIALS HINTERGRUNDELEMENTE ===== */
.bg-testimonials-hexagon-orange-1 {
    top: 40%;
    left: 5%;
    width: 100px;
    height: 115px;
    opacity: 0.3;
}

.bg-testimonials-line-green-1 {
    top: 60%;
    left: -10%;
    width: 120%;
    height: 2px;
    transform: rotate(-20deg);
    opacity: 0.25;
}

.bg-testimonials-circle-green-1 {
    top: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    opacity: 0.25;
}

.bg-testimonials-square-orange-1 {
    bottom: 10%;
    right: 20%;
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

.bg-testimonials-line-orange-1 {
    top: 40%;
    left: -15%;
    width: 130%;
    height: 2px;
    transform: rotate(25deg);
    opacity: 0.2;
}

/* ===== ABOUT HINTERGRUNDELEMENTE ===== */
.bg-about-square-green-1 {
    top: 25%;
    right: 10%;
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.bg-about-line-orange-1 {
    top: 20%;
    left: -10%;
    width: 120%;
    height: 2px;
    transform: rotate(15deg);
    opacity: 0.25;
}

.bg-about-triangle-green-1 {
    top: 60%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid var(--grün);
    opacity: 0.3;
}

.bg-about-hexagon-orange-1 {
    bottom: 20%;
    right: 5%;
    width: 90px;
    height: 90px;
    opacity: 0.25;
}

.bg-about-circle-green-1 {
    top: 10%;
    right: -10%;
    width: 120px;
    height: 120px;
    opacity: 0.2;
}

.bg-about-square-orange-1 {
    bottom: 10%;
    left: -10%;
    width: 70px;
    height: 70px;
    opacity: 0.25;
}

/* ===== WHY US HINTERGRUNDELEMENTE ===== */
.bg-why-us-square-orange-1 {
    top: 15%;
    left: 10%;
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.bg-why-us-triangle-orange-1 {
    top: 35%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid var(--orange);
    opacity: 0.25;
}

.bg-why-us-circle-green-1 {
    top: 65%;
    left: 15%;
    width: 100px;
    height: 100px;
    opacity: 0.2;
}

.bg-why-us-triangle-green-1 {
    bottom: 25%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 75px solid var(--grün);
    opacity: 0.3;
}

.bg-why-us-hexagon-orange-1 {
    bottom: 15%;
    left: 20%;
    width: 70px;
    height: 80px;
    opacity: 0.25;
}

.bg-why-us-triangle-green-2 {
    top: 45%;
    left: -10%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--grün);
    opacity: 0.2;
}

.bg-why-us-square-green-1 {
    bottom: 35%;
    right: -10%;
    width: 60px;
    height: 60px;
    opacity: 0.25;
}

.bg-why-us-triangle-orange-2 {
    top: 75%;
    right: -15%;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-top: 60px solid var(--orange);
    opacity: 0.2;
}

/* ===== CONTACT HINTERGRUNDELEMENTE ===== */
.bg-contact-triangle-green-1 {
    top: 20%;
    left: 15%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid var(--grün);
    opacity: 0.3;
}

.bg-contact-line-orange-1 {
    top: 40%;
    left: -15%;
    width: 130%;
    height: 2px;
    transform: rotate(25deg);
    opacity: 0.2;
}

.bg-contact-square-orange-1 {
    top: 60%;
    right: 10%;
    width: 80px;
    height: 80px;
    opacity: 0.25;
}

.bg-contact-hexagon-green-1 {
    bottom: 30%;
    left: 20%;
    width: 90px;
    height: 100px;
    opacity: 0.2;
}

.bg-contact-circle-orange-1 {
    bottom: 15%;
    right: 15%;
    width: 100px;
    height: 100px;
    opacity: 0.25;
}

.bg-contact-square-green-1 {
    top: 80%;
    left: -10%;
    width: 70px;
    height: 70px;
    opacity: 0.2;
}

.bg-contact-triangle-orange-1 {
    bottom: 45%;
    right: -15%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 70px solid var(--orange);
    opacity: 0.25;
}

.bg-contact-hexagon-green-2 {
    top: 35%;
    right: -10%;
    width: 60px;
    height: 70px;
    opacity: 0.2;
}

/* ===== QUALIFICATIONS HINTERGRUNDELEMENTE ===== */
.bg-qualifications-circle-green-1 {
    top: 15%;
    left: 10%;
    width: 100px;
    height: 100px;
    opacity: 0.25;
}

.bg-qualifications-triangle-orange-1 {
    top: 35%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 75px solid var(--orange);
    opacity: 0.3;
}

.bg-qualifications-square-green-1 {
    top: 55%;
    left: 20%;
    width: 70px;
    height: 70px;
    opacity: 0.2;
}

.bg-qualifications-hexagon-orange-1 {
    bottom: 25%;
    right: 10%;
    width: 80px;
    height: 90px;
    opacity: 0.25;
}

.bg-qualifications-triangle-green-1 {
    bottom: 45%;
    left: -10%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 70px solid var(--grün);
    opacity: 0.2;
}

.bg-qualifications-line-orange-1 {
    top: 70%;
    left: -15%;
    width: 130%;
    height: 2px;
    transform: rotate(-30deg);
    opacity: 0.15;
}

.bg-qualifications-line-green-1 {
    bottom: 15%;
    right: -15%;
    width: 130%;
    height: 2px;
    transform: rotate(20deg);
    opacity: 0.12;
}

/* Wrapper */
.wrapper {
    padding: 4vh 10vw;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    color: var(--primary-color);
    font-size: 3rem;
    overflow-wrap: break-word;
    font-weight: 700;
    text-shadow:
        1px 1px 0 #ccc,
        2px 2px 0 #bbb,
        3px 3px 0 #aaa,
        4px 4px 4px rgba(0, 0, 0, 0.25);
}

.s {
    color: var(--orange);     /* z. B. rgba(0, 120, 70, 1) */
  }
.h {
    color: var(--rot);   /* z. B. rgba(255, 130, 0, 1) */
  }
.c {
    color: var(--grün);      /* z. B. rgba(200, 20, 20, 1) */
  }



h2 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
    overflow-wrap: break-word;
    text-shadow:
        1px 1px 0 #ccc,
        2px 2px 0 #bbb,
        3px 3px 0 #aaa,
        4px 4px 4px rgba(0, 0, 0, 0.25);
}

h3 {
    font-size: 1.25rem;
    overflow-wrap: break-word;
}

h4 {
    font-size: 1.25rem;
    overflow-wrap: break-word;
}

p {
    text-align: justify;
    text-justify: inter-word;
    font-weight: 452.5;
    hyphens: auto;
    line-height: 1.8;
    color: #000000c9;
}

.section{
    padding-top: 10vmax;
    min-height: 100vh;
    margin: -0.2px;
    overflow-x: hidden;
}

.mobile-menu-full{
    opacity: 0;
    height: 100vh;
    width: 100vw;
    background: white;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: -100;
    padding-top: 5vh;
}

.mobile-menu-full a{
    color: black;
    text-decoration: none;
    font-weight: 1000;
}

#hero{
    justify-content: end;
    padding-top: 12.5vmax;
}

.hero-wrapper h1{
    font-size: 4.5vmax;
}

/* Buttons */
.cta-container{
    width: 100%;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.35s ease-in-out;
    text-align: center;
    text-decoration: none;
    width: 60%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.cta-button:hover {
    background-color: var(--grün);
    transform: scale(1.05);
}

/* Buttons */
.cta-button-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.35s ease-in-out;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.cta-button-nav:hover {
    background-color: var(--grün);
    transform: scale(1.05);
}

/* Dark Mode Schatten für Buttons - normale Drop-Shadows */
body[data-theme="dark"] .cta-button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .cta-button-nav {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Navigation - Mobile */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vmax;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar-wrapper {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5vw;
}

.logo{
    height: 100%;
}

.logo img {
    height: 100%;
}

.hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--white);
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 2rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Desktop Navigation - Hidden on Mobile */
.desktop-nav {
    display: none;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-wrapper {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
}

.hero-top {
    /*margin-top: 2.5vh;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    width: 100%;
}

.hero-logo-positioner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
}

.hero-logo{
    height: 16vmax;
    display: flex;
    justify-content: center;
}

.hero-logo {
    background: transparent;
    filter: drop-shadow(0 8.5px 4px rgba(0, 0, 0, 0.4));  
}

.quote-box {
    height: 20vmax;
    width: 100%;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.98);
    transition: opacity 1.2s ease-in-out;
}



.quote-text{
    text-align: center;
    transition: opacity 1.5s ease-in-out;
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-color);
}

.quote-author{
    transition: opacity 1.5s ease-in-out;
    width: 100%;
    text-align: right;
    font-style: normal;
    font-weight: 525;
    font-size: 0.8rem;
    text-align: right;
    color: var(--primary-color);
}

.hero-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2vh;
}

.hero-bottom h1 {
    display: none;
}

.hero-bottom img {
    height: 40vh;
    width: 40vh;
}

/* Services Section */
#services{
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    margin-top: 0;
}

.service-card {
    background-color: rgba(255, 255, 255);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.35s ease-in-out;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-icon {
    flex: 0 0 15%;
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Individuelle Farben für Service-Icons */
#service-icon-1 {
    color: var(--grün);
}

#service-icon-2 {
    color: var(--orange);
}

#service-icon-3 {
    color: var(--grün);
}

#service-icon-4 {
    color: var(--orange);
}

.service-content {
    display: flex;
    flex-direction: column;
    flex: 0 0 85%;
}

/* Service Flip-Card specific styles */
.flip-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    flex: none;
}

/* Google Material Icons Anpassungen für Service Icons */
.service-icon .material-symbols-outlined {
    font-size: 3rem !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.flip-card .service-icon .material-symbols-outlined {
    font-size: 4rem !important;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 48;
}

.flip-card-front h3 {
    margin-bottom: 0;
    flex: none;
}

.flip-card-back p {
    margin-bottom: 0;
    text-align: center;
    line-height: 1.6;
    font-weight: normal;
}

/* Why Us Section */
#why-us{
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-us-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5vh;
}

.why-us-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-us-card:hover{
    cursor:pointer;
}

.why-us-icon {
    flex: none;
    font-size: 3rem;
    color: var(--secondary-color);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individuelle Farben für Why-Us-Icons */
#why-us-icon-1 {
    color: var(--grün);
}

#why-us-icon-2 {
    color: var(--orange);
}

#why-us-icon-3 {
    color: var(--grün);
}

#why-us-icon-4 {
    color: var(--orange);
}

/* Why-Us Hover Effect - Hide/Show Content */
.why-us-card {
    text-align: center;
    min-height: 120px;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why-us-content h3 {
    position: absolute;
    margin-bottom: 0;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-us-content p {
    text-align: center;
    opacity: 0;
    z-index: -10;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* About Section */
#about {
    justify-content: space-evenly;
}

#about h2 {
    margin-bottom: 0;
}

.about-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vh;
}

.about-image {
    width: 70vw;
    border-radius: var(--border-radius);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-in-out;
}

.about-image:hover{
    transform: scale(1.05);
}

.about-content {
    width: 70vw;
    padding: 3vh;
    transition: transform 0.5s ease-in-out;
    transition: display 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* About Icon */
.about-container-icon {
    width: 100%;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.about-us-button {
    display: flex;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.6s ease-in-out;
    text-align: center;
    text-decoration: none;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.about-us-button:hover {
    cursor: pointer;
}

#aboutUsContent, #aboutUsTitle {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-20px);
    transition: all 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#aboutUsContent.show, #aboutUsTitle.show {
    opacity: 1;
    max-height: 950px; /* Ausreichend groß für den Content */
    transform: translateY(0);
    margin-bottom: 1rem;
    padding-top: inherit;
}

/*Qualifications*/

.qualifications-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.flip-card-front {
    background-color: var(--white);
    color: var(--primary-color);
}

.flip-card-back {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

/* Individuelle Farben für die Qualifications Flip-Cards */
#qualifications .flip-card:nth-child(1) .flip-card-back {
    background-color: var(--grün);
}

#qualifications .flip-card:nth-child(2) .flip-card-back {
    background-color: var(--secondary-color);
}

/* Individuelle Farben für die Services Flip-Cards */
#services .flip-card:nth-child(1) .flip-card-back,
#services .flip-card:nth-child(2) .flip-card-back,
#services .flip-card:nth-child(3) .flip-card-back,
#services .flip-card:nth-child(4) .flip-card-back {
    background-color: var(--white);
    color: var(--primary-color);
}

.flip-card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--secondary-color);
    margin-top: -1rem;
}

.flip-card-front h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.flip-card-front p {
    color: var(--secondary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
}

.flip-card-back h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.flip-card-back ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.flip-card-back li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.flip-card-back li:before {
    content: "•";
    color: var(--white);
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* testimonials-Sektion */

@media (max-width: 768px){
    #testimonials {
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
        padding: 3vh;
    }

    #testimonials-desktop {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 60px;
        height: 100%;
    }
    
    #testimonials-top {
        width: 90%;
        background-color: var(--white);
        border-radius: 10px;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
    }
    
    #testimonials-top-upper {
        display: flex;
    }
    
    #testimonials-img-container {
        width: 100%;
        display: flex;
        justify-content: right;
        padding: 40px;
    }
    
    #testimonials-img-container img {
        width: 100%;
        border-radius: 50%;
        border: 3px solid var(--secondary-color);
        box-shadow: var(--shadow);
    }
    
    #icon-testimonials {
        width: 25%;
        height: 100%;
        padding: 4.5vmax 0 0 5vmax;
    }
    
    #icon-testimonials i {
        font-size: 7.5vmax;
        color: var(--grün);
        text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
    }
    
    #testimonials-text-container {
        padding: 0 20px 15px 20px;
    }
    
    #testimonials-text-container p {
        text-align: center;
        text-align: center;
        font-size: 1.25rem;
        font-weight: 400;
        font-family: 'Merryweather', serif;
        font-style: italic;
    }
    
    #testimonials-bottom {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        background-color: var(--white);
        border-radius: 10px;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
        padding: 10px 0 15px 0;
    
    }
    
    #testimonials-logo {
        height: 80px;
        aspect-ratio: 1 / 1;
    }
    
    #testimonials-logo img {
        height: 100%;
        filter: drop-shadow(0 8.5px 4px rgba(0, 0, 0, 0.4));
    }
    
    #testimonials-navigation {
        height: 50px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
    }
    
    #testimonials-pause {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 50px;
    }
    
    .testimonial-btn {
        height: 100%;
        width: 105px;
        border-radius: 10px;
        background-color: #b2b2b2;
        color: var(--white);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
    }
    
    #testimonial-prev-btn {
        background-color: var(--secondary-color);
    }
    
    #testimonial-next-btn {
        background-color: var(--grün);
    }
}



/* Desktop Layout für Flip-Cards */
@media (min-width: 768px) {

    #hero{
        justify-content: space-evenly;
        align-items: start;
    }

    .bg-hero-circle-green-1-positioner {
        right: 40%;
    }

    .bg-hero-circle-green-1 {
        transform: translateX(0);
    }

    .hero-wrapper{
        gap: 5vh;
    }

    .hero-wrapper h1{
        font-size: 4vmax;
    }

    .qualifications-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
    
    .flip-card {
        width: 350px;
        height: 450px;
    }
    
    .flip-card-image {
        width: 180px;
        height: 180px;
    }
}

/* Contact Section */
#contact{
    padding-bottom: 10vmax;
    display: flex;
    flex-direction: column;
}

.contact-wrapper {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2rem;
}

.contact-map-info-wrapper{
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 240px;
    min-height: 500px;
    gap: 3vh;
}

.contact-map {
    display: flex;
    flex: 1.75 1 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease-in-out;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-map:hover{
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 250px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.35s ease-in-out;
}

.contact-info:hover{
    transform: scale(1.05);
}

/* Contact Info Icons */
.contact-info i {
    margin-right: 0.5rem;
    color: var(--orange);
    width: 16px;
    text-align: center;
}

/* Individuelle Farben für Contact-Icons */
#contact-icon-1 {
    color: var(--grün);
}

#contact-icon-2 {
    color: var(--orange);
}

#contact-icon-3 {
    color: var(--grün);
}

#contact-icon-4 {
    color: var(--orange);
}

.contact-info h3 i {
    font-size: 1.2em;
    margin-right: 0.75rem;
}

.contact-info p i {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--grün);
    border-top: 5px solid rgb(0, 83, 48);
    padding: 2rem 0 0;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
}

.footer-logo{
    background-color: #ffffff;
    box-shadow: var(--shadow);
    border-radius: 10%;
    width: 80px;
    height: 80px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
}

.footer-stamp {
    background-color: rgb(0, 84, 49);
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-stamp p {
    text-align: center;
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 1;
}

@media(min-width: 464px) and (max-width: 1200px) {

    #hero{
        justify-content: end;
    }

    .hero-logo{
        display: none;
    }

    .hero-logo-positioner {
        justify-content: left;
        padding-left: 5vmax;
    }

    @media (min-width: 530px) {
        .hero-circle{
            height: 130vmax;
        }
    }
    
}

@media (min-width: 570px) and (max-width: 768px){
    .about-image{
        width: 50vw;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    /* Hide Mobile Navigation */
    .navbar {
        display: none;
    }

    /* Show Desktop Navigation */
    .desktop-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 8.5vmax;
        background-color: var(--white);
        box-shadow: var(--shadow);
        z-index: 1000;
        padding: 0 5vw;
    }

    .circle-positioner{
        margin-top: 7vmax;
    }

    .desktop-nav-wrapper {
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        padding: 0;
    }

    .nav-logo {
        height: 100%;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-logo img {
        height: 100%;
    }

    .nav-links {
        flex: 0 0 65%;
        display: flex;
        justify-content: center;
        gap: 4rem;
    }

    .nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

    .nav-links a:hover {
        color: var(--secondary-color);
    }

    /* Hero Section */
    .hero-logo {
        display: block;
        height: 25vh;
    }

    .hero-top {
        display: flex;
    }

    .quote-box{
        height: 15vmax;
        width: 500px;
    }

    .hero-bottom {
        flex: 1;
    }

    .hero-bottom h1 {
        font-size: 2rem;
    }

    /* Services Section */
    .service-card {
        flex: 1 1 0;
    }

    /* Why Us Section */
    .why-us-wrapper {
        /*margin-top: 2.5vh;*/
        /*height: 65vh;
        width: 70%;*/
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    /* About Section */
    .about-wrapper {
        flex-direction: row;
        align-items: start;
        gap: 5vw;
    }

    .about-content {
        flex: 1 1 0;
    }

    .about-image{
        width: 20vw;
    }

    /* Contact Section */
    #contact{
        display: flex;
        flex-direction: column;
        /*margin-bottom: 15vh;*/
    }

    .contact-wrapper {
        flex-direction: row;
        gap: 5rem;
    }

    .contact-info {
        flex: 0 0 30%;
    }

    /* Footer */
    .footer-wrapper {
        flex-direction: row;
    }

    .footer-links {
        flex: 0 0 85%;
        flex-direction: row;
    }

    .footer-section {
        flex: 1;
    }
}

@media (min-width: 768px) and (max-width: 1200px){

    .services-wrapper{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin: 2rem;
    }

    .about-image {
        width: 32.5vw;
    }

}

/* Large Desktop Styles */
@media screen and (min-width: 1200px) {

    #services{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .services-wrapper{
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        max-width: 1400px;
    }

    .about-image{
        width: 27.5vw;
    }

    .contact-wrapper {
        flex-wrap: nowrap;
        /*margin: 2.5vh 12vw;*/
        gap: 5rem;
    }

    .contact-info {
        flex: 1.75 1 0;
    }

    .contact-map{
        flex: 1 1 0;
    }
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0.9 1 0;
    margin: 2rem auto 0 auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    box-sizing: border-box;
    justify-content: space-evenly;
    transition: transform 0.35s ease-in-out;
}

.contact-form-new label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.contact-form-new input,
.contact-form-new textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    resize: vertical;
    background: #f8f8f8;
    color: var(--primary-color);
    transition: border 0.2s;
}

.contact-form-new input:focus,
.contact-form-new textarea:focus {
    border: 1.5px solid var(--secondary-color);
    outline: none;
    background: #fff;
}

.contact-form-new button {
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.9rem 1.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form-new button:hover {
    background: var(--grün);
}

.contact-form-new .form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.98rem;
}
.contact-form-new .form-checkbox input[type="checkbox"] {
    accent-color: var(--secondary-color);
    width: 18px;
    height: 18px;
}
.contact-form-new .form-checkbox label {
    color: var(--primary-color);
}
.contact-form-new .form-checkbox a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form-new:hover{
    transform: scale(1.05);
}

@media (max-width: 600px) {

    /*contact-section für kleine Bildschirme*/
    #contact h2 {
        margin-bottom: 0;
    }

    .contact-form-new {
        max-width: 100%;
        padding: 1rem;
    }
}

/* Theme Toggle Switch Styles */
.theme-switcher-mobile,
.theme-switcher-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.theme-toggle-switch {
    position: relative;
    display: flex;
    align-items: center;
    width: 60px;
    height: 34px;
    cursor: pointer;
}

.theme-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.theme-toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.theme-toggle-input:checked + .theme-toggle-slider {
    background-color: var(--grün);
}

.theme-toggle-input:checked + .theme-toggle-slider:before {
    transform: translateX(26px);
}

/* Theme Icons */
.theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: 0.4s;
    pointer-events: none;
    z-index: 2;
}

.theme-icon-sun {
    bottom: 4.5px;
    left: 10px;
}

.theme-icon-moon {
    right: 12px;
}

/* Icon states based on toggle position */
.theme-toggle-input:checked ~ .theme-icon-sun {
    color: #fff;
    opacity: 0.7;
}

.theme-toggle-input:checked ~ .theme-icon-moon {
    color: #fff;
    opacity: 1;
}

.theme-toggle-input:not(:checked) ~ .theme-icon-sun {
    color: #fff;
    opacity: 0.7;
}

.theme-toggle-input:not(:checked) ~ .theme-icon-moon {
    color: #fff;
    opacity: 1;
}

/* Desktop Theme Switcher */
@media (min-width: 768px) {
    .theme-switcher-desktop {
        margin: 0;
        margin-left: 2rem;
    }
    
    .theme-switcher-mobile {
        display: none;
    }
}

/* Mobile Theme Switcher */
@media (max-width: 767px) {
    .theme-switcher-desktop {
        display: none;
    }
    
    .theme-switcher-mobile {
        display: flex;
        margin-top: 2rem;
    }
}

/* ===== DARK MODE STYLES ===== */
/* Dark Mode über data-theme="dark" Attributselektoren */
[data-theme="dark"] {
    --dark-background-color: rgb(22, 40, 44) ;
    --secondary-dark-color: rgb(44, 65, 68);
}

/* Dark Mode Body und HTML - heller Grauton */
body[data-theme="dark"] {
    background-color: var(--dark-background-color);  /* Heller, aber nicht zu heller Grauton für Dark Mode */
}

/* Dark Mode Navigation - gleiche Farbe wie Body */
body[data-theme="dark"] .navbar {
    background-color: var(--secondary-dark-color);
    box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .desktop-nav {
    background-color: var(--secondary-dark-color);
    box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .mobile-menu {
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .mobile-menu-full {
    background-color: var(--dark-background-color);
}

/* Dark Mode Text-Container - dunklerer Grauton für besseren Kontrast */
body[data-theme="dark"] .quote-box {
    background-color: var(--secondary-dark-color);  /* Dunklerer Grauton für Text-Container */
}

body[data-theme="dark"] .service-card {
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .why-us-card {
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .about-content {
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .contact-info {
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .contact-form-new {
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .flip-card-front {
    background-color: var(--secondary-dark-color);
}

/* Dark Mode Texte in dunkleren Containern - Weiß für besseren Kontrast */
body[data-theme="dark"] .quote-text {
    color: #ffffff;
}

body[data-theme="dark"] .quote-author {
    color: #ffffff;
}

body[data-theme="dark"] .service-card h3,
body[data-theme="dark"] .service-card p {
    color: #ffffff;
}

body[data-theme="dark"] .why-us-card h3,
body[data-theme="dark"] .why-us-card p {
    color: #ffffff;
}

body[data-theme="dark"] .about-content h3,
body[data-theme="dark"] .about-content p {
    color: #ffffff;
}

body[data-theme="dark"] .contact-info h3,
body[data-theme="dark"] .contact-info p {
    color: #ffffff;
}

body[data-theme="dark"] .flip-card-front h3,
body[data-theme="dark"] .flip-card-front p {
    color: #ffffff;
}

/* Dark Mode Navigation Links - Weiß für besseren Kontrast */
body[data-theme="dark"] .mobile-menu-full a {
    color: #ffffff;
}

body[data-theme="dark"] .mobile-menu-full .cta-button-nav {
    color: #ffffff !important;
}

body[data-theme="dark"] .mobile-menu a {
    color: #ffffff;
}

body[data-theme="dark"] .nav-links a {
    color: #ffffff;
}

body[data-theme="dark"] .desktop-nav .cta-button-nav {
    color: #ffffff !important;
}

body[data-theme="dark"] .hamburger {
    color: #ffffff;
}

/* Dark Mode Überschriften - Invertiert: Weiß mit schwarzem Schatten */
body[data-theme="dark"] h1 {
    color: #ffffff;
    text-shadow:
        1px 1px 0 #000,
        2px 2px 0 #000,
        3px 3px 0 #000,
        4px 4px 0 #000,
        5px 5px 0 #000,
        6px 6px 8px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark"] h2 {
    color: #ffffff;
    text-shadow:
        1px 1px 0 #000,
        2px 2px 0 #000,
        3px 3px 0 #000,
        4px 4px 4px rgba(0, 0, 0, 0.25);
}

body[data-theme="dark"] h3 {
    color: #ffffff;
}

body[data-theme="dark"] h4 {
    color: #ffffff;
}

/* Dark Mode Navigation Hover-Effekte */
body[data-theme="dark"] .nav-links a::after {
    background-color: var(--grün);
}

body[data-theme="dark"] .nav-links a:hover {
    color: var(--grün);
}

/* Dark Mode Footer Links - Weiß für besseren Kontrast */
body[data-theme="dark"] .footer-section a {
    color: #ffffff;
    opacity: 0.8;
}

body[data-theme="dark"] .footer-section a:hover {
    opacity: 1;
}

/* Dark Mode Kontaktformular - Eingabefelder und Labels */
body[data-theme="dark"] .contact-form-new input,
body[data-theme="dark"] .contact-form-new textarea {
    background-color: var(--secondary-dark-color);
    color: #ffffff;
    border-color: #777;
}

body[data-theme="dark"] .contact-form-new input:focus,
body[data-theme="dark"] .contact-form-new textarea:focus {
    background-color: #5a5a5a;
    border-color: var(--secondary-color);
}

body[data-theme="dark"] .contact-form-new label {
    color: #ffffff;
}

body[data-theme="dark"] .contact-form-new .form-checkbox label {
    color: #ffffff;
}

body[data-theme="dark"] .footer {
    border-top: 6px solid var(--grün);
    background-color: var(--secondary-dark-color);
}

body[data-theme="dark"] .footer-stamp {
    background-color: var(--dark-background-color);
}

/* Dark Mode Flip Cards - Rückseite bleibt bunt, Vorderseite dunkel */
body[data-theme="dark"] .flip-card-back {
    color: #ffffff;  /* Text auf der Rückseite bleibt weiß */
}

/* Dark Mode Services Flip-Cards - Dunkle Rückseiten */
body[data-theme="dark"] #services .flip-card:nth-child(1) .flip-card-back,
body[data-theme="dark"] #services .flip-card:nth-child(2) .flip-card-back,
body[data-theme="dark"] #services .flip-card:nth-child(3) .flip-card-back,
body[data-theme="dark"] #services .flip-card:nth-child(4) .flip-card-back {
    background-color: var(--secondary-dark-color);
    color: #ffffff;
}

/* Dark Mode Services Flip-Cards - Weißer Text auf Rückseiten */
body[data-theme="dark"] #services .flip-card-back p {
    color: #ffffff !important;
}

/* Dark Mode About Content - Unsichtbar machen */
body[data-theme="dark"] .about-content {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Zusätzliche Sichtbarkeit für Dark Mode */
body[data-theme="dark"] .animated-background {
    z-index: -3; /* Noch höherer z-index im Dark Mode */
}

/* ===== SCROLL REVEAL EFFEKT ===== */
/* Subtiler Einblende-Effekt für alle Elemente unterhalb des Hero-Bereichs */

/* Standard-Zustand: Elemente sind unsichtbar und leicht nach oben verschoben */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sichtbarer Zustand: Elemente werden in ihre finale Position gebracht */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Verschiedene Verzögerungen für gestaffelte Animationen */
.scroll-reveal.delay-1 {
    transition-delay: 0.1s;
}

.scroll-reveal.delay-2 {
    transition-delay: 0.2s;
}

.scroll-reveal.delay-3 {
    transition-delay: 0.3s;
}

.scroll-reveal.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .scroll-reveal {
        transform: translateY(20px); /* Kleinere Verschiebung auf Mobile */
        transition-duration: 0.6s; /* Schnellere Animation auf Mobile */
    }
}

/* Dark Mode Anpassungen */
body[data-theme="dark"] .scroll-reveal {
    /* Gleiche Animation, aber möglicherweise andere Timing-Werte */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Spezielle Anpassungen für bestimmte Elemente */
.scroll-reveal.service-card {
    transition-delay: 0.1s; /* Service-Cards erscheinen zuerst */
}

.scroll-reveal.why-us-card {
    transition-delay: 0.2s; /* Why-Us-Cards erscheinen danach */
}

.scroll-reveal.about-content {
    transition-delay: 0.3s; /* About-Content erscheint später */
}

.scroll-reveal.contact-info {
    transition-delay: 0.4s; /* Contact-Info erscheint zuletzt */
}

/* Flip-Cards mit gestaffelter Animation */
.scroll-reveal.flip-card:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-reveal.flip-card:nth-child(2) {
    transition-delay: 0.2s;
}

/* Smooth Scrolling für bessere Performance */
html {
    scroll-behavior: smooth;
}

/* Performance-Optimierung für Animationen */
.scroll-reveal {
    will-change: opacity, transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* WICHTIG: Hover-Effekte für scroll-reveal Elemente wiederherstellen */
.scroll-reveal.service-card:hover {
    transform: scale(1.05) !important; /* !important um scroll-reveal zu überschreiben */
}

.scroll-reveal.why-us-card:hover {
    cursor: pointer;
}

.scroll-reveal.about-image:hover {
    transform: scale(1.05) !important;
}

.scroll-reveal.contact-info:hover {
    transform: scale(1.05) !important;
}

.scroll-reveal.contact-form-new:hover {
    transform: scale(1.05) !important;
}

.scroll-reveal.contact-map:hover {
    transform: scale(1.05) !important;
}

/* Flip-Cards Hover-Effekte - NUR für die ursprüngliche Funktionalität */
/* Die Karten sollen sich bei KLICK wenden, nicht bei HOVER */

/* CTA-Button Hover-Effekte wiederherstellen */
.scroll-reveal.cta-button:hover {
    background-color: var(--grün) !important;
    transform: scale(1.05) !important;
}

/* Dark Mode für Hintergrundelemente */
body[data-theme="dark"] .bg-element {
    opacity: 0.4 !important;
}

/* Hero Section Hintergrund */
#hero {
    position: relative;
    overflow: hidden;
}

/* Services Section Hintergrund */
#services {
    position: relative;
    overflow: hidden;
}

/* Zusätzliche Linien für Services */
#services .services-wrapper {
    position: relative;
}

/* About Section Hintergrund */
#about {
    position: relative;
    overflow: hidden;
}

/* Zusätzliche Linien für About */
#about .about-wrapper {
    position: relative;
}

/* Why Us Section Hintergrund */
#why-us {
    position: relative;
    overflow: hidden;
}

/* Zusätzliche Linien für Why Us */
#why-us .why-us-wrapper {
    position: relative;
}

/* Contact Section Hintergrund */
#contact {
    position: relative;
    overflow: hidden;
}

/* Zusätzliche Linien für Contact */
#contact .contact-wrapper {
    position: relative;
}

/* Qualifications Section Hintergrund */
#qualifications {
    position: relative;
    overflow: hidden;
}

/* Zusätzliche Linien für Qualifications */
#qualifications .qualifications-wrapper {
    position: relative;
}

/* Dark Mode Anpassungen für alle Sektionen */
body[data-theme="dark"] #hero,
body[data-theme="dark"] #services,
body[data-theme="dark"] #about,
body[data-theme="dark"] #why-us,
body[data-theme="dark"] #contact,
body[data-theme="dark"] #qualifications,
body[data-theme="dark"] #testimonials {
    background-color: transparent;
}

/* Testimonials Dark Mode */
@media (max-width: 768px) {

    body[data-theme="dark"] #testimonials-top {
        background-color: var(--secondary-dark-color);
    }

}

body[data-theme="dark"] #testimonials-bottom {
    background-color: var(--secondary-dark-color);
    box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] #testimonials-text-container p {
    color: var(--white);
}

body[data-theme="dark"] #icon-testimonials i {
    color: var(--secondary-color);
    text-shadow: 0px 10px 6px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] #testimonials-img-container img {
    border: 3px solid var(--grün);
    box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .testimonial-btn {
    box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {

    #testimonials {
        position: relative;
        overflow: hidden;
        padding: 5vmax;
        display: flex;
        justify-content: space-evenly;
    }

    #testimonials-desktop {
        display: flex;
        justify-content: space-evenly;
        height: 65vh;
    }

    #testimonials-top {
        width: 45%;
        height: 100%;
        background-color: #ffffffc2;
        border-radius: 10px;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
        padding-top: 2vmax;
    }

    body[data-theme="dark"] #testimonials-top {
        background-color: var(--secondary-dark-color);
    }

    #icon-testimonials {
        width: 25%;
        height: 100%;
        display: flex;
        justify-content: center;
    }

    #icon-testimonials i {
        font-size: 6.5vmax;
        color: var(--grün);
        text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);;
    }

    #testimonials-img-container {
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #testimonials-img-container img {
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
        border: 3px solid var(--secondary-color);
        height: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
    }

    #testimonials-bottom {
        width: 25%;
    }

    #testimonials-top-upper {
        height: 33%;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }

    #testimonials-top-lower {
        height: 65%;
        width: 100%;
        padding: 2vmax;
    }

    #testimonials-text-container {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2vmax;
        border-radius: 10px;
    }

    #testimonials-top-lower p {
        text-align: center;
        font-size: 1.25rem;
        font-weight: 400;
        font-family: 'Merryweather', serif;
        font-style: italic;
    }

    #testimonials-bottom {
        height: 100%;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
        background-color: #ffffffc2;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    #testimonials-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 45%;
    }

    #testimonials-logo img {
        width: 15vh;
        height: 15vh;
        filter: drop-shadow(0 8.5px 4px rgba(0, 0, 0, 0.4));
    }

    /* Gemeinsame Button-Klasse */
    .testimonial-btn {
        border-radius: 10px;
        color: var(--white);
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

    /* Spezifische Button-IDs */
    #testimonial-prev-btn {
        width: 37.5%;
        background-color: var(--secondary-color);
    }

    #testimonial-next-btn {
        width: 37.5%;
        background-color: var(--grün);
    }

    #testimonial-pause-btn {
        width: 45%;
        background-color: #c2c2c2;
    }

    #testimonials-dots {
        display: flex;
        justify-content: center;
        height: 5%;
    }

    #testimonials-navigation {
        display: flex;
        justify-content: space-evenly;
        height: 10%
    }

    #testimonials-navigation i {
        font-size: 1.25rem;
    }

    #testimonials-pause {
        display: flex;
        justify-content: center;
        height: 10%;
    }
}

    /* Quote Container for smooth animations */
    .quote-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 1s ease-in-out;
    }










