* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ===== Farben ===== */
    --primary: #2d5f4f;
    --secondary: #7ba896;
    --accent: #4d8f72;
    --dark: #1a3a2e;
    --light: #f4f7f4;
    --mint: #7ba896;

    /* Zusätzliche Farben */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #d0d0d0;
    --gray-400: #999999;
    --gray-500: #666666;
    --gray-600: #333333;

    /* Hintergrundfarben */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-light: #f4f7f4;
    --bg-mint: #7ba896;
    --bg-dark: #1a3a2e;

    /* Textfarben */
    --text-primary: #1a3a2e;
    --text-secondary: #666666;
    --text-light: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.8);

    /* ===== Typografie ===== */
    --font-family-primary: 'Segoe UI', sans-serif;
    --font-size-xs: 0.7rem;
    --font-size-sm: 0.75rem;
    --font-size-base: 0.9rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.3rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.8rem;
    --font-size-4xl: 2rem;
    --font-size-5xl: 2.5rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.3;
    --line-height-relaxed: 1.5;
    --line-height-loose: 1.6;
    --line-height-extra-loose: 1.7;

    /* ===== Spacing ===== */
    --spacing-xs: 0.3rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.8rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 3rem;
    --spacing-4xl: 4rem;
    --spacing-5xl: 5rem;

    /* ===== Layout ===== */
    --max-width-sm: 700px;
    --max-width-md: 900px;
    --max-width-lg: 1100px;
    --max-width-xl: 1200px;
    --max-width-2xl: 1400px;

    /* ===== Border Radius ===== */
    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-2xl: 12px;
    --radius-3xl: 15px;
    --radius-4xl: 20px;
    --radius-full: 50%;

    /* ===== Shadows ===== */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 3px 12px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-3xl: 0 5px 20px rgba(0, 0, 0, 0.3);
    --shadow-4xl: 0 10px 40px rgba(0, 0, 0, 0.1);

    /* ===== Transitions ===== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-all: all 0.3s ease;

    /* ===== Z-Index ===== */
    --z-base: 0;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-fixed: 1000;
    --z-modal-backdrop: 1000;
    --z-modal: 1001;
    --z-popover: 1010;
    --z-tooltip: 1020;
    --z-notification: 9999;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

header {
    background: var(--mint);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
}

nav {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center
}

.nav-left img {
    height: 100px;
    width: auto;
    display: block
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
    padding: .3rem .5rem;
    font-size: .9rem;
    position: relative
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: #fff;
    transition: all .3s ease
}

.nav-links a:hover::after {
    left: 0;
    right: 0
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .8rem
}

.nav-social-icons {
    display: flex;
    gap: .6rem;
    align-items: center
}

.nav-social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-social-icons a:hover {
    opacity: .7
}

.nav-cta-button {
    background: #fff;
    color: var(--mint);
    padding: .7rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    transition: .3s;
    white-space: nowrap
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2)
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .7rem;
    -webkit-tap-highlight-color: transparent;
    margin-left: auto;
    position: relative;
    width: 42px;
    height: 42px
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 5px
}

.menu-toggle-line {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all .3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15)
}

.menu-toggle:hover .menu-toggle-line {
    background: rgba(255, 255, 255, .8)
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    color: var(--mint);
    transition: .3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    z-index: 10
}

.mobile-menu-close:hover {
    background: rgba(123, 168, 150, .1)
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, .2);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform .3s ease;
    padding: 0;
    overflow-y: auto
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    transform: translateX(0)
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 1.2rem 1.2rem;
    position: relative
}

.mobile-menu-header {
    text-align: left;
    margin-bottom: .8rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid #e0e0e0
}

.mobile-menu-logo-img {
    display: none
}

.mobile-menu-text {
    width: 100%
}

.mobile-menu-logo {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .1rem;
    color: var(--primary)
}

.mobile-menu-tagline {
    font-size: .75rem;
    font-weight: 500;
    color: var(--mint)
}

.mobile-menu-tagline-sub {
    font-size: .7rem;
    color: #666;
    font-style: italic;
    margin-top: .15rem
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .15rem
}

.mobile-menu a {
    display: block;
    padding: .75rem .9rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
    transition: .3s
}

.mobile-menu a:active {
    background: var(--light)
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0
}

.mobile-social-links {
    display: flex;
    gap: .8rem;
    justify-content: center;
    margin-bottom: 1rem
}

.mobile-social-links a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(123, 168, 150, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: .3s
}

.mobile-social-links a:active {
    background: var(--mint);
    color: #fff
}

.mobile-social-links a svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.mobile-cta-button {
    background: var(--mint);
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
    transition: .3s;
    box-shadow: 0 3px 12px rgba(123, 168, 150, .3)
}

.mobile-cta-button:active {
    transform: scale(0.98);
    opacity: .9
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1000;
    opacity: 0;
    transition: opacity .3s ease
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1
}

.cta-button {
    background: var(--secondary);
    color: #fff;
    padding: .7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block
}

.cta-button:hover {
    background: var(--accent)
}

/* Hero Section with Images */
.hero-images {
    background: var(--mint);
    padding: 6rem 2rem 4rem;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
}

.hero-text {
    color: #fff;
    text-align: center;
    width: 100%;
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    background: #fff;
    color: var(--mint);
    padding: .8rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #fff;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .95);
    max-width: min(600px, 100%);
    width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-cta {
    background: #fff;
    color: var(--mint);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    transition: all .3s ease
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25)
}

.hero-cta:active {
    transform: translateY(0)
}

.hero-cta-sub {
    display: block;
    font-size: .85rem;
    margin-top: .5rem;
    font-weight: normal;
    opacity: .9
}

.images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    width: 100%;
    max-width: 100%;
}

.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
    height: auto;
    max-height: 400px;
    background: #f5f5f5;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-image-wrapper {
    height: auto;
    width: 100%;
    max-width: min(600px, 100%);
    margin: 0 auto;
}

.image-box:nth-child(2) {
    transform: rotate(2deg)
}

.image-box:hover {
    transform: scale(1.02)
}

.image-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 15px;
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: var(--mint);
    padding: .6rem 1rem;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2)
}

/* Wave Divider */
.wave-divider {
    position: relative;
    background: var(--mint);
    height: 80px
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px
}





/* Partners Section Layout */
.partners-section {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    background: #f8f9fa;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.partners-header h2 {
    margin: 0;
    white-space: normal;
    font-size: 2rem;
    /* Größer als Standard */
    color: #295842;
    /* Dunkelgrün wie im Bild */
    flex-shrink: 1;
    font-weight: 500;
    /* Nicht zu fett, aber klar lesbar */
    letter-spacing: -1px;
    /* Enger Schriftabstand für schlanken Look */
    line-height: 1.2;
    /* Schlanker Zeilenabstand */
    font-family: 'Segoe UI', sans-serif;
    /* Moderne, klare Schrift */
    text-transform: none;
    /* Kein Uppercase – wie im Bild */
    word-wrap: break-word;
}



.partners-scroll-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.partners-scroll-wrapper::before,
.partners-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.partners-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.partners-scroll {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: scroll-partners 20s linear infinite;
}

.partner-card {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    background: #fff;
    padding: 25px;
    /* Mehr Padding für größere Bilder */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.partner-card img {
    width: 140px;
    /* Größere Bilder */
    height: 140px;
    /* Größere Bilder */
    object-fit: contain;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .partners-section {
        padding: 30px 15px;
        gap: 20px;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .partners-header h2 {
        font-size: 1.3rem;
        text-align: center;
        width: 100%;
    }

    .partners-scroll {
        gap: 30px;
    }

    .partner-card {
        padding: 20px;
    }

    .partner-card img {
        width: 100px;
        /* Größer auf Mobile */
        height: 100px;
        /* Größer auf Mobile */
    }

    .partners-scroll-wrapper::before,
    .partners-scroll-wrapper::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 25px 10px;
        gap: 15px;
    }

    .partners-header h2 {
        font-size: 1.2rem;
    }

    .partners-scroll {
        gap: 25px;
    }

    .partner-card {
        padding: 15px;
    }

    .partner-card img {
        width: 80px;
        /* Größer auf Mobile */
        height: 80px;
        /* Größer auf Mobile */
    }
}

/* About Section */
.about-hero {
    background: #fff;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
}

.about-text {
    padding-right: 0;
    text-align: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.about-feature-item {
    display: flex;
    align-items: center;
    padding: .8rem 0;
    justify-content: center;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

@media(min-width:768px) {
    .about-hero {
        padding: 5rem 2rem
    }

    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem
    }

    .about-text {
        padding-right: 2rem
    }

    .about-image {
        height: 500px
    }
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg)
    }

    25% {
        transform: rotate(20deg)
    }

    75% {
        transform: rotate(-20deg)
    }
}

.wave {
    display: inline-block;
    animation: wave 0.5s ease-in-out
}

/* Container */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
    padding: 0 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Features with Icons */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.feature-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0
}

.feature-content h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5
}

/* Musterfläche */
.musterfläche {
    background: var(--mint);
    padding: 4rem 2rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.musterfläche-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.musterfläche-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.musterfläche-badge {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.musterfläche-cta {
    display: inline-block;
    background: var(--mint);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(123, 168, 150, .3);
    margin: 0 auto;
}

.musterfläche-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 168, 150, .4)
}

.musterfläche-features-list {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.musterfläche-feature-item {
    display: flex;
    align-items: center
}

.musterfläche-slider {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.musterfläche-slider-container {
    position: relative;
    width: 100%;
    height: 100%
}

.musterfläche-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none
}

.musterfläche-slide.active {
    opacity: 1;
    pointer-events: auto
}

.musterfläche-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px
}

.musterfläche-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--primary);
    padding: .8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.musterfläche-prev,
.musterfläche-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    z-index: 10;
    color: var(--primary)
}

.musterfläche-prev:hover,
.musterfläche-next:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    transform: translateY(-50%) scale(1.1)
}

.musterfläche-prev {
    left: 15px
}

.musterfläche-next {
    right: 15px
}

.musterfläche-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 10
}

.musterfläche-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: .3s
}

.musterfläche-dot.active {
    background: #fff;
    width: 25px;
    border-radius: 5px
}

@media(min-width:768px) {
    .musterfläche {
        padding: 5rem 2rem
    }

    .musterfläche-card {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 4rem;
        text-align: left;
    }

    .musterfläche-slider {
        height: 500px
    }
    
    .musterfläche-cta {
        margin: 0;
    }
}

/* Verfahren Grid - Animierte Timeline */
/* Verfahren - Neues Design */
.verfahren {
    background: #f8f8f8;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.verfahren-title-box {
    background: var(--mint);
    color: #fff;
    padding: 0.6rem 2.5rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 3rem;
}

.verfahren-title-box h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.verfahren-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    box-sizing: border-box;
}

.verfahren-timeline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(123, 168, 150, .3);
    z-index: 0;
}

.verfahren-step {
    position: relative;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    min-height: 320px;
}

/* Schritt 1 - Karte rechts */
.verfahren-step:nth-child(2) .step-card {
    grid-column: 3;
}

.verfahren-step:nth-child(2) .step-number {
    grid-column: 2;
}

/* Schritt 2 - Karte links */
.verfahren-step:nth-child(3) .step-card {
    grid-column: 1;
}

.verfahren-step:nth-child(3) .step-number {
    grid-column: 2;
}

/* Schritt 3 - Karte rechts */
.verfahren-step:nth-child(4) .step-card {
    grid-column: 3;
}

.verfahren-step:nth-child(4) .step-number {
    grid-column: 2;
}

/* Schritt 4 - Karte links */
.verfahren-step:nth-child(5) .step-card {
    grid-column: 1;
}

.verfahren-step:nth-child(5) .step-number {
    grid-column: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--mint);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 3px 12px rgba(123, 168, 150, .4);
    z-index: 10;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    will-change: transform;
}

.step-number.active {
    opacity: 1;
}

.step-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    text-align: left;
    max-width: 450px;
}

.step-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-text {
    padding: 1.3rem;
}

.step-text h3 {
    color: var(--primary);
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.step-text p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #666;
}

/* Mobile Optimization für Verfahren */
@media (max-width: 768px) {
    .verfahren {
        padding: 2rem 1rem;
    }

    .verfahren-title-box {
        padding: 0.5rem 1.8rem;
        margin-bottom: 2rem;
    }

    .verfahren-title-box h2 {
        font-size: 1.1rem;
    }

    .verfahren-container {
        padding-left: 60px;
        padding-right: 1rem;
    }

    .verfahren-step {
        grid-template-columns: auto 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
        min-height: auto;
    }

    .verfahren-timeline {
        left: 25px;
        transform: none;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        grid-column: 1 !important;
        grid-row: 1;
    }

    .step-card {
        max-width: 100%;
        grid-column: 2 !important;
        grid-row: 1;
    }

    .step-image {
        height: 180px;
    }

    .step-text {
        padding: 1rem;
    }

    .step-text h3 {
        font-size: 1rem;
    }

    .step-text p {
        font-size: 0.8rem;
    }
}



/* Gallery - Neue Struktur */
.gallery {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.gallery-title-box {
    background: var(--mint);
    color: #fff;
    padding: 0.6rem 2.5rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 2rem;
}

.gallery-title-box h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.gallery-intro {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.gallery-intro p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.gallery-highlight {
    color: var(--primary);
    font-weight: 500;
}

.gallery-grid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
}

.gallery-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Mobile Optimization für Gallery */
@media (max-width: 768px) {
    .gallery {
        padding: 2rem 0.5rem;
    }

    .gallery-title-box {
        padding: 0.5rem 1.8rem;
        margin-bottom: 1.5rem;
    }

    .gallery-title-box h2 {
        font-size: 1.1rem;
    }

    .gallery-intro {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .gallery-intro p {
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .gallery-pair {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}




/* Vorteile Cards - klein und zentriert */
.vorteile {
    background: #7eb1a0;
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.vorteile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

/* Title Container */
.title-container {
    background: #fbfffe;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    max-width: 90%;
    text-align: center;
}

.section-title {
    color: #5a8c7a;
    margin: 0;
    font-size: 1.5rem;
}

.section-subtitle {
    color: #ffffff;
    font-size: 1rem;
}

.vorteil-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    text-align: center;
    border-top: 3px solid var(--mint);
    max-width: 250px;
    width: 100%;
    flex: 0 0 calc(33.333% - 1rem);
    /* 3 Cards pro Reihe */
}

.vorteil-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.vorteil-card h3 {
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.vorteil-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
}

/* Mobile Version */
@media (max-width: 768px) {
    .vorteil-card {
        flex: 0 0 calc(50% - 1rem);
        /* 2 Cards pro Reihe auf Tablet */
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .vorteil-card {
        flex: 0 0 100%;
        /* 1 Card pro Reihe auf Mobile */
        max-width: 100%;
    }
}


/* Reviews Section - Horizontal Scroll */
.reviews {
    background: #fff;
    padding: 3rem 0;
    overflow: hidden;
    text-align: center;
    overflow-x: hidden;
}

.reviews-title-box {
    background: var(--mint);
    color: #fff;
    padding: 0.5rem 1.8rem;
    border-radius: 6px;
    display: inline-block;
    margin: 0 0 2rem 0;
}

.reviews-title-box h2 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.reviews-scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    max-width: 66%;
    margin: 0 auto;
}

.reviews-scroll-wrapper::before,
.reviews-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.reviews-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.reviews-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.reviews-scroll {
    display: flex;
    gap: 1.2rem;
    animation: scroll-reviews 50s linear infinite;
    width: max-content;
}

.reviews-scroll:hover {
    animation-play-state: paused;
}

.review-card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.review-text {
    font-style: italic;
    color: #666;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.75rem;
}

.reviewer {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.8rem;
}

.reviewer-location {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.2rem;
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Optimization für Reviews */
@media (max-width: 768px) {
    .reviews {
        padding: 2rem 0;
    }

    .reviews-title-box {
        padding: 0.4rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .reviews-title-box h2 {
        font-size: 1rem;
    }

    .reviews-scroll-wrapper {
        max-width: 90%;
    }

    .review-card {
        min-width: 200px;
        max-width: 200px;
        padding: 0.9rem;
    }

    .reviews-scroll {
        gap: 1rem;
    }

    .review-text {
        font-size: 0.7rem;
    }

    .reviewer {
        font-size: 0.75rem;
    }
}


/* FAQ */
.faq {
    background: var(--dark);
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.faq-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.faq .section-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem
}

.faq .section-subtitle {
    color: rgba(255, 255, 255, .8);
    font-size: 1rem;
    margin-bottom: 2rem
}

.faq-item {
    background: #fff;
    margin-bottom: 0.6rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    border: 1px solid var(--light)
}

.faq-question {
    padding: 0.8rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.8rem;
    line-height: 1.3;
    -webkit-tap-highlight-color: transparent
}

.faq-question:active {
    background: var(--light)
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
    color: #666;
    opacity: 0;
    visibility: hidden;
    font-size: 0.75rem;
    line-height: 1.5
}

.faq-item.active {
    border-color: var(--mint)
}

.faq-item.active .faq-answer {
    padding: 0 1rem 0.8rem;
    max-height: 600px;
    opacity: 1;
    visibility: visible
}

.faq-toggle {
    font-size: 1.1rem;
    transition: .3s;
    flex-shrink: 0;
    margin-left: 0.8rem;
    color: var(--mint)
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg)
}

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    padding: 2.5rem 2rem 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600
}

.footer-section p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.7;
    font-size: 0.9rem
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .1rem;
    margin-bottom: .5rem;
    color: #fff
}

.footer-tagline {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mint)
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem
}

.footer-social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease
}

.footer-social-links a:hover {
    background: var(--mint);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(123, 168, 150, .4)
}

.footer-social-links svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .3s ease
}

.social-links a:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px)
}

.social-links a:active {
    background: rgba(255, 255, 255, .15)
}

.social-links svg {
    width: 20px;
    height: 20px
}

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

.footer-section ul li {
    padding: .5rem 0
}

.footer-section a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: 0.95rem;
    -webkit-tap-highlight-color: transparent;
    transition: .3s
}

.footer-section a:active {
    color: var(--mint)
}

.contact-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, .08);
    padding: 1.2rem;
    border-radius: 12px
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    font-weight: bold;
    color: #fff
}

.contact-info-text h4 {
    color: #fff;
    margin-bottom: .3rem;
    font-size: 1rem;
    font-weight: 600
}

.contact-info-text p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .6)
}

.footer-cta {
    background: var(--mint);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
    transition: .3s
}

.footer-cta:active {
    transform: scale(0.98);
    background: var(--accent)
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
    font-size: .85rem
}

/* Cookie Banner - DSGVO-konform */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, .2);
    z-index: 9999;
    padding: 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform .4s ease;
    opacity: 0
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto
}

.cookie-text {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6
}

.cookie-text a {
    color: var(--secondary);
    text-decoration: underline
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: .3s;
    -webkit-tap-highlight-color: transparent
}

.cookie-accept {
    background: var(--secondary);
    color: #fff;
    flex: 1
}

.cookie-accept:hover {
    background: var(--accent)
}

.cookie-accept:active {
    background: var(--accent);
    transform: scale(0.98)
}

.cookie-settings {
    background: #f0f0f0;
    color: var(--dark);
    flex: 1
}

.cookie-settings:hover {
    background: #e0e0e0
}

.cookie-settings:active {
    background: #d0d0d0;
    transform: scale(0.98)
}

@media(min-width:768px) {
    .logo {
        font-size: 1.4rem
    }

    .logo-subtitle {
        font-size: .8rem
    }

    nav {
        padding: 1.2rem 2rem
    }

    .nav-links a {
        font-size: 1rem
    }

    .hero-images {
        padding: 5rem 2rem;
        min-height: 600px
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem
    }

    .hero-text {
        text-align: left;
    }

    .hero-badge {
        margin-left: 2rem;
    }

    .hero-title {
        font-size: 2.8rem
    }

    .hero-description {
        font-size: 1.1rem;
        margin-left: 0;
    }

    .images-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr;
    }

    .image-box {
        height: 280px
    }

    .partners-section {
        padding: 4rem 0 3rem
    }

    .partners-section h2 {
        font-size: 2.2rem
    }

    .about-hero {
        padding: 4rem 2rem
    }

    .about-text {
        text-align: left;
    }

    .about-features {
        align-items: flex-start;
    }

    .about-hero h1 {
        font-size: 2.5rem
    }

    .about-hero h2 {
        font-size: 1.8rem
    }

    .about-hero p {
        font-size: 1.05rem
    }

    .container {
        padding: 5rem 2rem
    }

    .section-title {
        font-size: 2.5rem;
        padding: 0;
    }

    .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        padding: 0;
    }

    .musterfläche-card {
        text-align: left;
    }

    .musterfläche-badge {
        justify-content: flex-start;
    }

    .musterfläche-features-list {
        justify-content: flex-start;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem
    }

    .vorteile-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem
    }

    footer {
        padding: 3rem 2rem 1rem
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 3rem;
        margin-bottom: 3rem
    }

    .gallery-pair {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner {
        padding: 2rem
    }

    .cookie-text {
        font-size: 1rem
    }

    .cookie-btn {
        font-size: 1rem;
        padding: 1rem 2rem
    }

    .cookie-buttons {
        flex-wrap: nowrap
    }
}

@media(max-width:767px) {

    .nav-left,
    .nav-center,
    .nav-right {
        display: none !important
    }

    .menu-toggle {
        display: block !important
    }

    .nav-left {
        display: flex !important
    }

    .nav-left img {
        height: 70px !important
    }

    .hero-images {
        padding: 4rem 0.75rem 2rem !important;
    }

    .hero-container {
        padding: 0 0.75rem !important;
        gap: 1.5rem !important;
    }

    .hero-badge {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        white-space: normal;
    }

    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .image-box:nth-child(2) {
        transform: none !important;
        margin-top: 1rem;
    }

    .hero-description {
        font-size: 0.9rem !important;
        padding: 0 1rem;
    }

    .hero-cta {
        display: block;
        text-align: center;
        margin: 0 auto;
        width: fit-content;
    }

    .cookie-buttons {
        flex-direction: column
    }

    .cookie-accept,
    .cookie-settings {
        flex: none;
        width: 100%
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
    }

    .musterfläche-card {
        padding: 2rem 1.5rem !important;
    }

    .musterfläche-badge {
        justify-content: center;
    }

    .about-container {
        text-align: center;
    }

    .verfahren-grid {
        padding-left: 80px
    }

    .verfahren-timeline {
        left: 37px
    }

    .step-number-animated {
        left: -80px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem
    }

    .verfahren-step {
        min-height: 550px
    }

    .step-text {
        padding: 1.5rem
    }

    .step-text h3 {
        font-size: 1.3rem
    }

    .step-image {
        height: 200px
    }

    .social-links {
        justify-content: flex-start;
        gap: 1rem
    }

    .social-links a {
        width: 38px;
        height: 38px
    }

    .social-links svg {
        width: 18px;
        height: 18px
    }
}

/* Scroll to Top Button - Modernisiert */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--mint);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(123, 168, 150, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(123, 168, 150, 0.6);
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

/* WhatsApp Button - Fixed unten rechts */
.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* Hero CTA Button - Pulsierend */
.hero-cta {
    background: #fff;
    color: var(--mint);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-cta:active {
    transform: translateY(0);
}

/* Puls-Animation für CTA-Button */
.hero-cta-pulse {
    animation: cta-pulse 2.5s ease-in-out infinite;
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(123, 168, 150, 0.4);
    }
}

/* CTA Untertitel - Im Button zentriert */
.hero-cta-sub {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: normal;
    opacity: 0.9;
    text-align: center;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }

    .hero-cta {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
    }

    .hero-cta-sub {
        font-size: 0.8rem;
    }
    
    .hero-images {
        padding: 3rem 1rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .about-hero {
        padding: 3rem 1rem;
    }
    
    .about-feature-item {
        justify-content: center;
        text-align: center;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-text,
    .about-text,
    .musterfläche-card,
    .partners-header {
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0.75rem;
    }
    
    .hero-images {
        padding: 3rem 0.75rem 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-container,
    .about-container,
    .musterfläche-container,
    .gallery-grid,
    .faq-container,
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Mobile Container Anpassungen */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
    }
    
    .hero-images {
        padding: 4rem 1rem 3rem;
    }
    
    .hero-container,
    .about-container,
    .musterfläche-container,
    .verfahren-container,
    .gallery-grid,
    .faq-container,
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .about-hero,
    .musterfläche,
    .verfahren,
    .gallery,
    .vorteile,
    .faq,
    footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
/* AGB Styles */
.agb-section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--mint);
}

.agb-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.agb-section p, .agb-section ul {
    margin-bottom: 0.8rem;
    color: #555;
}

.agb-section ul {
    margin-left: 2rem;
}

.agb-section li {
    margin-bottom: 0.5rem;
}

/* Impressum/Datenschutz Info Box */
.info-box {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--mint);
    margin-bottom: 2rem;
}

.info-box h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: .5rem;
}

.info-box a {
    color: var(--mint);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Helper Classes */
@media (max-width: 480px) {
    .mobile-hidden {
        display: none !important;
    }
    
    /* Force logo size on mobile legal pages */
    .nav-left img {
        height: 40px !important;
        width: auto !important;
    }
    
    /* Adjust nav button on mobile */
    .nav-cta-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Ensure nav fits */
    nav {
        gap: 1rem;
        padding: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .nav-left img {
        height: 60px;
    }
}
