:root {
    --maincolor: #89A452;
    --accentcolor: #2a2a2a;
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    max-width: 100vw;
}

/* Allgemeine Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--accentcolor);
    background-color: #fff;
    overflow-x: clip;
}

.header {
    position: absolute; /* Absolut positioniert */
    top: 20px;
    left: 20px;
    z-index: 10;
}

.logo {
    height: 80px;
}

/* Neuer Hero-Bereich */
.hero-alt {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 50px;
    background: url('images/hg.jpg') no-repeat center center/cover;
    min-height: 100vh;
    color: #fff;
    position: relative;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.hero-text, .hero-image {
    flex-shrink: 0;
}

.hero-text {
    flex: 1 1 400px;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-text .cta {
    background: var(--maincolor);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    margin-right: 10px;
}

.hero-image {
    flex: 1 1 400px;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    box-sizing: border-box;
}

.hero-image .monitor {
    height: 300px;
}

.hero-image .iphone {
    height: 250px;
}

/* Neuer Trennbereich mit Kurve */
.curve-alt {
    background: var(--accentcolor);
    height: 100px;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}

/* Vorteile-Bereich */
.features {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.features h2 {
    color: var(--maincolor);
    margin-bottom: 30px;
    font-size: 2em;
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.feature-item {
    text-align: center;
    max-width: 300px;
}

.feature-item img {
    height: 80px;
    margin-bottom: 20px;
}

/* Neue Regel für Icons (Font Awesome) */
.feature-item i {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--maincolor);
}

.feature-item h3 {
    font-size: 1.2em;
    color: var(--accentcolor);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1em;
    color: var(--accentcolor);
}

/* Rezensionen-Bereich */
.reviews {
    background: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.reviews h2 {
    color: var(--maincolor);
    margin-bottom: 30px;
    font-size: 2em;
}

.review-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

.review {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review .text {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
}

.review .author {
    font-size: 0.9em;
    color: var(--maincolor);
}

/* Footer */
.footer {
    background: var(--accentcolor);
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

.footer a {
    color: var(--maincolor);
    text-decoration: none;
    margin: 0 10px;
}

/* Neue Pickleball Animation mit Bounce-Effekt */
.pickleball-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}


.animated-pickleball {
    height: 80px;
    animation: pickleball-bounce 1.5s infinite ease-in-out;
}

@keyframes pickleball-bounce {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) scale(1.1) rotate(10deg);
    }
    50% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) scale(1.05) rotate(-10deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Responsives Design */
@media screen and (max-width: 768px) {
    .hero-alt {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        height: auto;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .hero-text .cta {
        display: block;
        margin: 10px auto;
        width: auto;
    }
    
    /* Removed .hero-image selector here to preserve flex-direction: column */
    
    .feature-list, .review-container {
        flex-direction: column;
        align-items: center;
    }
}
/* Bereich mit eingebundener Grafik */
.graphic-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.graphic-section h2 {
    color: var(--maincolor);
    margin-bottom: 30px;
    font-size: 2em;
}

.graphic-container {
    display: flex;
    justify-content: center;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.graphic-img {
    max-width: 40%;
    height: auto;
    border-radius: 15px;
}

/* Kundenlogos in den Rezensionen */
.review-logo {
    width: 65px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Pickleball PNG als animierter, leicht transparenter Hintergrund */
.pickleball-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 400px;
    opacity: 0.05;
    z-index: 0;
    animation: pickleball-float 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pickleball-float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -52%) rotate(5deg) scale(1.02);
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
}
/* Bilder in .hero-image responsiv darstellen */
.hero-image img {
    max-width: 100%;
    height: auto;
}
/* FAQ-Bereich */
.faq-section {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-section h2 {
    color: var(--maincolor);
    font-size: 2em;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.faq-question {
    width: 100%;
    background-color: #f4f4f4;
    border: none;
    outline: none;
    font-size: 1.1em;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accentcolor);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8e8e8;
}

.faq-question i {
    font-size: 1.2em;
    color: var(--maincolor);
    flex-shrink: 0;
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    background-color: #fafafa;
    border-left: 4px solid var(--maincolor);
    border-radius: 0 0 5px 5px;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Regeln */
.rules-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.rules-section h2 {
    color: var(--maincolor);
    font-size: 2em;
    margin-bottom: 30px;
}

.rule-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.rule-item {
    max-width: 280px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-5px);
}

.rule-item i {
    font-size: 3em;
    color: var(--maincolor);
    margin-bottom: 15px;
}

.rule-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--accentcolor);
}

.rule-item p {
    font-size: 1em;
    color: var(--accentcolor);
}

/* Fakten */
.facts-section {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.facts-section h2 {
    color: var(--maincolor);
    font-size: 2em;
    margin-bottom: 30px;
}

.fact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.fact-item {
    max-width: 280px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-5px);
}

.fact-item i {
    font-size: 3em;
    color: var(--maincolor);
    margin-bottom: 15px;
}

.fact-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--accentcolor);
}

.fact-item p {
    font-size: 1em;
    color: var(--accentcolor);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}