/* ================================
   1. CSS VARIABLEN
   ================================ */
:root {
    --color-dark-green: #2A7F00;
    --color-medium-green: #4CAF50;
    --color-light-green: #8BC34A;
    --color-dark-bg: #1A1A1A;
    --color-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-light: #F0F0F0;
}

/* ================================
   2. GLOBALE RESET & BASIS
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-dark-green);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-medium-green);
    transform: translateY(-1px);
}

/* ================================
   3. TYPOGRAFIE
   ================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.8em;
    color: var(--color-text-dark);
    line-height: 1.2;
}

h2 {
    font-size: 2.8em;
}

h3 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1.5em;
    color: var(--color-dark-green);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

p {
    margin-bottom: 1em;
}

/* ================================
   4. ANIMATIONEN
   ================================ */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(42, 127, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(42, 127, 0, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

@keyframes socialIconPulse {

    0%,
    100% {
        transform: translateY(-2px) scale(1.1);
    }

    50% {
        transform: translateY(-2px) scale(1.15);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ================================
   5. BUTTONS
   ================================ */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-medium-green) 100%);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(42, 127, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(42, 127, 0, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn-small {
    padding: 12px 24px;
    font-size: 1em;
    background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-medium-green) 100%);
    color: var(--color-white);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(42, 127, 0, 0.2);
    text-decoration: none;
    font-weight: 600;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 127, 0, 0.4);
    color: var(--color-white);
}

/* ================================
   6. LAYOUT CONTAINER
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   7. HEADER & NAVIGATION
   ================================ */
header {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, #2d2d2d 100%);
    color: var(--color-white);
    padding: 15px 0;
    border-bottom: 3px solid var(--color-dark-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12 20px;
        flex-wrap: nowrap;
}

.logo {
    flex: 0 0 auto;
    margin-right: 20px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

nav {
    flex: 1;
    display: flex;
    justify-content: right;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 15px;
}


nav ul li {
    margin: 0;
}

nav ul li a {
    color: var(--color-white);
    font-weight: 600;
    padding: 10px 12px;
    position: relative;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95em;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-medium-green), var(--color-light-green));
    border-radius: 20px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

nav ul li a:hover::before {
    transform: scale(1);
}

nav ul li a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Basis-Styles (versteckt auf Desktop) */
.nav-toggle {
    display: none;
    background: rgba(42, 127, 0, 0.9);
    border: 2px solid rgba(139, 195, 74, 0.5);
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.nav-toggle:hover {
    color: var(--color-light-green);
    background: rgba(139, 195, 74, 0.3);
    border-color: var(--color-light-green);
    transform: scale(1.1);
}

.nav-toggle i {
    display: block;
    line-height: 1;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;


}

.header-social a {
    color: white;
    font-size: 1.5em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.header-social a:hover {
    animation: socialIconPulse 0.6s ease infinite;
}

.kleinanzeigen-logo {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.header-social a:hover .kleinanzeigen-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(90deg) brightness(1.2);
    transform: scale(1.1);
}

/* ================================
   8. HERO SECTION
   ================================ */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('https://via.placeholder.com/1920x600/333333/FFFFFF?text=Modernes+Büro+Ambiente') no-repeat center center/cover;
    color: var(--color-white);
    text-align: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 195, 74, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

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

.hero-section h2 {
    color: var(--color-white);
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--color-text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.8s both;
}

/* ================================
   9. CAROUSEL
   ================================ */
.startcarousel-container {
    padding: 2rem;
    background: #f8f8f8;
}

.slider-wrapper1 {
    position: relative;
    max-width: 1999px;
    margin: 0 auto;
}

.slider1 {
    display: flex;
    aspect-ratio: 16/9;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 10px;
    position: relative;
}

.slider1 img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    transition: transform 0.5s ease;
    position: absolute;
    left: 0;
    top: 0;
}

.carousel-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 5;
    padding: 1rem;
    border-radius: 20px;
    max-width: 90%;
}

.carousel-text-overlay h2 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.carousel-text-overlay p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* ================================
   10. PRODUKTE SECTION
   ================================ */
.products-section {
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
}

.product-card {
    background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    position: relative;
    transform: translateY(0);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-dark-green), var(--color-light-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-card .image-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-light-green);
}

.product-card .slider-container {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.3s ease;
    cursor: grab;
}

.product-card .slider-container:active {
    cursor: grabbing;
}

.product-card .slide {
    width: 20%;
    flex-shrink: 0;
}

.product-card .slide img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    background: #f8f8f8;
    transition: transform 0.4s ease;
}

.product-card:hover .slide img {
    transform: scale(1.1);
}

.product-card h4 {
    color: var(--color-dark-green);
    font-size: 1.4em;
    padding: 15px 20px 5px;
    margin-bottom: 5px;
    position: relative;
}

.product-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-medium-green), var(--color-light-green));
    transition: width 0.3s ease;
}

.product-card:hover h4::after {
    width: 80%;
}

.product-card p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: var(--color-text-dark);
}

.products-section .btn-wrapper {
    text-align: center;
    margin-top: 70px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: rgba(42, 127, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--color-light-green);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(139, 195, 74, 0.8);
}

/* ================================
   11. SERVICES SECTION
   ================================ */
.services-section {
    background: linear-gradient(135deg, var(--color-light-green) 0%, var(--color-medium-green) 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.services-section h3 {
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.service-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    color: var(--color-text-dark);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.service-item i {
    font-size: 3em;
    color: var(--color-dark-green);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--color-medium-green);
}

.service-item h4 {
    font-size: 1.5em;
    color: var(--color-dark-green);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95em;
}

/* ================================
   12. REVIEWS SECTION - KOMPLETT NEU
   ================================ */
.reviews-section {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.reviews-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 0;
    overflow: hidden;
    min-height: 300px;
    /* Verhindert Layout-Sprünge */
    touch-action: pan-y;
}

.reviews-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 600%;
    /* 6 Slides × 100% */
    position: relative;
    height: 100%;
}

.review-slide {
    flex: 0 0 16.666%;
    /* 100% ÷ 6 Slides */
    width: 16.666%;
    padding: 0 20px;
    opacity: 0;
    /* Standardmäßig unsichtbar */
    transform: scale(0.7);
    /* Kleiner */
    transition: all 0.6s ease;
    pointer-events: none;
    /* Keine Interaktion möglich */
    position: relative;
    height: auto;
    /* Begrenzt die Höhe */
    max-height: 100%;
    /* Verhindert Überlauf */
    overflow: hidden;
    /* Beschränkt Inhalt */
}

/* Aktive (mittlere) Review Card */
.review-slide.active {
    opacity: 1 !important;
    /* Vollständig sichtbar */
    transform: scale(1) !important;
    /* Normal groß */
    pointer-events: all;
    /* Interaktion möglich */
    z-index: 10;
    /* Über anderen Cards */
}

/* Vorherige und nächste Cards für dezente Vorschau */
.review-slide.prev,
.review-slide.next {
    opacity: 0.1 !important;
    /* Sehr schwach sichtbar */
    transform: scale(0.6) !important;
    /* Noch kleiner */
    pointer-events: none;
    /* Keine Interaktion */
    filter: blur(2px);
    /* Leicht unscharf */
}

.review-card {
    background: linear-gradient(145deg, #ffffff 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
    min-height: 250px;
    /* Konsistente Höhe */
}

/* Aktive Review Card Hover-Effekte (nur für die mittlere Card) */
.review-slide.active .review-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-slide.active .review-card:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.review-slide.active .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.review-card .stars {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.review-card i.fa-star {
    color: #ffa500;
    margin-right: 5px;
    font-size: 1.2em;
    transition: all 0.2s ease;
}

.review-slide.active .review-card:hover i.fa-star {
    animation: starTwinkle 0.6s ease infinite;
}

.review-card p {
    margin: 20px 0;
    font-style: italic;
    position: relative;
    z-index: 2;
    font-size: 1.1em;
    line-height: 1.6;
}

.review-card span {
    font-weight: 600;
    color: var(--color-dark-green);
    position: relative;
    z-index: 2;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 127, 0, 0.9);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(42, 127, 0, 0.3);
}

.carousel-nav:hover {
    background: rgba(42, 127, 0, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(42, 127, 0, 0.4);
}

.carousel-nav.prev {
    left: 30px;
    top: 108px;

}

.carousel-nav.next {
    right: 30px;
    top: 108px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(42, 127, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: var(--color-dark-green);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(42, 127, 0, 0.5);
}

.carousel-dot:hover:not(.active) {
    background: rgba(42, 127, 0, 0.6);
    transform: scale(1.1);
}

/* ================================
   13. ABOUT SECTION
   ================================ */
.about-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.about-section p {
    font-size: 1.1em;
    color: var(--color-text-dark);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.about-section p:nth-child(3) {
    animation-delay: 0.6s;
}

/* ================================
   14. KONTAKT SECTION
   ================================ */
.contact-section {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, #2d2d2d 100%) !important;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 195, 74, 0.1) 0%, transparent 50%);
}

.contact-section h3 {
    color: var(--color-white) !important;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-details {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-details h4 {
    color: var(--color-white);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.contact-details>p {
    color: var(--color-text-light);
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.contact-details>p:hover {
    transform: translateX(5px);
    color: var(--color-light-green);
}

.contact-details>p i {
    margin-right: 10px;
    color: var(--color-light-green);
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.contact-details>p:hover i {
    transform: scale(1.2) rotate(10deg);
}

.contact-details>p a {
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

.contact-details>p a:hover {
    color: var(--color-light-green);
    text-shadow: 0 0 10px rgba(139, 195, 74, 0.5);
}

.opening-hours {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    text-align: center;
    color: var(--color-text-light);
}

.opening-hours li {
    margin-bottom: 8px;
    font-size: 1.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.opening-hours li:hover {
    transform: translateX(10px);
    color: var(--color-light-green);
}

.opening-hours .day {
    font-weight: 600;
    margin-right: 15px;
    min-width: 100px;
    text-align: right;
}

.opening-hours .absprache {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.Whatsapp i {
    font-size: 42px;
}

.Whatsapp a {
    font-size: 20px;
    text-decoration: none;
    color: #000;
}

.Whatsapp a:hover {
    text-decoration: underline;
}

/* ================================
   15. FOOTER
   ================================ */
footer {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, #000000 100%);
    color: var(--color-text-light);
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid var(--color-dark-green);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(42, 127, 0, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite reverse;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

footer p {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--color-text-light);
    margin: 0 10px;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-light-green);
    transform: translateY(-2px);
}

.social-media a {
    color: var(--color-text-light);
    font-size: 1.5em;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.social-media a:hover {
    color: var(--color-light-green);
    transform: translateY(-3px) scale(1.2);
    text-shadow: 0 0 15px rgba(139, 195, 74, 0.6);
}

.ka-icon path {
    fill: #03B404;
}

/* ================================
   16. SCROLL PROGRESS BAR
   ================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-dark-green), var(--color-light-green));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ================================
   17. LOADING ANIMATION
   ================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark-bg), #2d2d2d);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(139, 195, 74, 0.3);
    border-top: 5px solid var(--color-light-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ================================
   18. RESPONSIVE DESIGN - DESKTOP
   ================================ */
@media (max-width: 1200px) {
    .carousel-nav.prev {
        left: -60px;
    }

    .carousel-nav.next {
        right: -60px;
    }

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        padding: 8px 10px;
        font-size: 0.9em;
    }

    .header-social {
        gap: 10px;
    }

    .header-social a {
        width: 34px;
        height: 34px;
        font-size: 1.3em;
    }
}

@media (max-width: 992px) {
    .hero-section h2 {
        font-size: 3.2em;
    }

    nav ul li {
        margin-left: 20px;
    }

    .carousel-nav.prev {
        left: -40px;
    }

    .carousel-nav.next {
        right: -40px;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    nav ul {
        gap: 8px;
    }

    nav ul li a {
        padding: 8px 8px;
        font-size: 0.85em;
    }

    .header-social {
        gap: 22px;
    }

    .header-social a {
        width: 32px;
        height: 32px;
        font-size: 1.2em;
    }
}

/* ================================
   19. RESPONSIVE DESIGN - TABLET & MOBILE
   ================================ */
@media (max-width: 768px) {

    /* Header Container */
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        flex-wrap: nowrap;
    }

    /* Logo links */
    .logo {
        flex: 0 0 auto;
        order: 1;
        z-index: 1001;
    }

    .logo img {
        height: 45px;
    }

    /* Social Media Icons Mitte-rechts */
    .header-social {
        display: flex;
        gap: 12px;
        order: 2;
        flex: 1;
        justify-content: flex-end;
        margin-right: 10px;
        z-index: 1001;
    }

    .header-social a {
        width: 36px;
        height: 36px;
        font-size: 1.2em;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hamburger Button ganz rechts */
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        flex-wrap: nowrap;
    }

    /* Logo links */
    .logo {
        flex: 0 0 auto;
        order: 1;
        z-index: 1001;
    }

      /* Nav-Button GANZ RECHTS - TRANSPARENT */
    .nav-toggle {
        display: flex !important;
        order: 3; /* Ganz rechts */
        flex: 0 0 auto;
        
        /* TRANSPARENT STYLING */
        background: transparent !important;
        border: none !important;
        color: white !important;
        
        /* Größe */
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        
        /* Position */
        z-index: 1001;
        position: relative;
        
        /* Styling */
        cursor: pointer;
        transition: all 0.3s ease;
        align-items: center;
        justify-content: center;
        border-radius: 0; /* Keine abgerundeten Ecken */
    }

    /* Hover-Effekt für transparenten Button */
    .nav-toggle:hover {
        color: var(--color-light-green) !important;
        background: rgba(139, 195, 74, 0.1) !important; /* Sehr dezenter Hintergrund beim Hover */
        transform: scale(1.1) !important;
        border: none !important;
    }

    /* Icon im Button */
    .nav-toggle i {
        display: block !important;
        line-height: 1 !important;
        font-size: 1em !important;
    }
    
    /* Aktives Overlay */
    nav.active {
        opacity: 1;
        visibility: visible;
    }

    /* Menu Container */
nav .nav-menu {
           display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        transform: translateY(50px);
        transition: transform 0.4s ease 0.1s;
    }
    
    nav.active .nav-menu {
        transform: translateY(0);
    }

        nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(15px);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden; /* WICHTIG: Standardmäßig versteckt */
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Menu Liste */
    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    nav ul li {
        margin: 0;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInLeft 0.5s ease forwards;
    }

    nav.active ul li:nth-child(1) {
        animation-delay: 0.1s;
    }

    nav.active ul li:nth-child(2) {
        animation-delay: 0.2s;
    }

    nav.active ul li:nth-child(3) {
        animation-delay: 0.3s;
    }

    nav.active ul li:nth-child(4) {
        animation-delay: 0.4s;
    }

    nav.active ul li:nth-child(5) {
        animation-delay: 0.5s;
    }

    /* Menu Links */
   nav ul li a {
        display: block;
        color: rgba(255, 255, 255, 0.9); /* Leicht transparent */
        font-size: 1.8em;
        font-weight: 600;
        text-decoration: none;
        padding: 15px 40px;
        border-radius: 15px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: 1px solid transparent;
        background: rgba(255, 255, 255, 0.05); /* Sehr dezenter Hintergrund */
    }

    /* Hover Effekt */
    nav ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.3), transparent);
        transition: left 0.5s;
    }

    nav ul li a:hover {
        color: var(--color-light-green);
        background: rgba(76, 175, 80, 0.1);
        border-color: rgba(139, 195, 74, 0.3);
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(139, 195, 74, 0.2);
    }

    nav ul li a:hover::before {
        left: 100%;
    }

    /* Animation für Menu Items - DIESE FEHLT */
    @keyframes slideInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }


    /* Allgemeine Anpassungen */
    .hero-section {
        padding: 80px 0;
        min-height: 80vh;
    }

    .hero-section h2 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    h3 {
        font-size: 1.8em;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .service-item,
    .review-card {
        margin-bottom: 20px;
    }

    .product-card:hover,
    .service-item:hover,
    .review-card:hover {
        transform: translateY(-5px);
    }

    section {
        padding: 60px 0;
    }

    .about-section {
        padding: 60px 20px;
    }

    /* Carousel */
    .startcarousel-container {
        padding: 1rem;
    }

    .slider-wrapper1 {
        max-width: 100%;
    }

    .carousel-text-overlay {
        padding: 1.5rem;
        max-width: 90%;
    }

    .carousel-text-overlay h2 {
        font-size: 2.5em;
    }

    .carousel-text-overlay p {
        font-size: 1.1em;
    }

    /* Reviews Carousel */
    .reviews-carousel {
        margin: 30px auto 0;
    }

    .carousel-nav.prev {
        left: 5px;
    }

    .carousel-nav.next {
        right: 5px;
    }

    .review-slide {
        padding: 0 60px;
    }

    .review-card {
        padding: 30px 25px;
    }

    /* Kontakt anpassungen */
    .contact-details>p {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-details>p i {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .opening-hours li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .opening-hours .day {
        text-align: center;
        margin-right: 0;
        margin-bottom: 3px;
    }

}

/* ================================
   20. RESPONSIVE DESIGN - MOBILE
   ================================ */
@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    h3 {
        font-size: 1.6em;
    }

    .contact-details {
        padding: 25px;
    }

    /* Header */
    .header-social {
        gap: 8px;
    }

    .header-social a {
        width: 32px;
        height: 32px;
        font-size: 1.2em;
    }

    @media (max-width: 480px) {

        /* Header */
        .header-social {
            gap: 8px;
        }

        .header-social a {
            width: 32px;
            height: 32px;
            font-size: 1.2em;
        }

        /* HAMBURGER BUTTON FÜR KLEINE SCREENS */
    .nav-toggle {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.3em !important;
    }
        .nav-toggle:hover {
            background: rgba(139, 195, 74, 0.3) !important;
            transform: scale(1.1) !important;
        }

        .nav-toggle i {
            display: block !important;
            line-height: 1 !important;
        }

        .logo img {
            height: 40px;
            /* Kleineres Logo */
        }


        .logo img {
            height: 50px;
        }

        /* Carousel */
        .carousel-text-overlay h2 {
            font-size: 1em;
        }

        .carousel-text-overlay p {
            font-size: 1em;
        }

        .carousel-text-overlay {
            padding: 1rem;
        }

        /* Reviews */
        .carousel-nav {
            width: 45px;
            height: 45px;
            font-size: 16px;
        }

        .carousel-nav.prev {
            left: 5px;
        }

        .carousel-nav.next {
            right: 5px;
        }

        .review-slide {
            padding: 0 55px;
        }

        .slider-nav a {
            width: 0.8rem;
            height: 0.8rem;
        }
    }

    /* ================================
   21. ANIMATIONS & KEYFRAMES
   ================================ */
    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-100%);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .Impressum-btn {
        color: var(--color-text-light) !important;
        transition: all 0.3s ease;
        text-decoration: none;
        font-size: 0.95em;
        display: inline-block;
        padding: 8px 15px;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.1);
        cursor: pointer;
        z-index: 10;
        position: relative;
    }

    .Impressum-btn:hover {
        color: var(--color-light-green) !important;
        background: rgba(139, 195, 74, 0.2);
        transform: translateY(-2px);
        text-shadow: 0 0 10px rgba(139, 195, 74, 0.5);
    }
}