:root {
    --primary-color: #fdc716;
    --primary-dark: #d1a800;
    --primary-light: #fff5cc;
    --accent-color: #fda916;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255,255,255,0.9) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Service Cards */
.services-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 25px 25px;
    text-align: left;
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    color: white;
    padding: 80px 0;
    overflow: hidden;
    background: url('img/bg-cta.png') center/cover no-repeat;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0.8; /* Stärke des Overlays anpassen */
    z-index: 1;
}

.cta-section > * {
    position: relative;
    z-index: 2; /* sorgt dafür, dass Text/Buttons vor dem Overlay sichtbar bleiben */
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.feature-item {
    text-align: center;
    padding: 25px 25px 35px 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0!important;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 0 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #f1f3f4;
    min-height: 200px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.stars .fas.fa-star.no-star{
    color: #efefef !important;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contact Form */
.contact-section {
    padding: 100px 0;
    background: var(--primary-light);
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
}

.contact-header {
    padding: 40px 40px 0 40px;
    text-align: center;
}

.contact-body {
    padding: 20px 50px 50px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
    color: var(--primary-dark);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-description {
    color: #bdc3c7;
    margin-bottom: 25px;
}

.footer-contact {
    color: #bdc3c7;
}

.footer-contact i {
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 25px;
    margin-top: 25px;
    text-align: center;
    color: #bdc3c7;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .color-picker {
        right: 15px;
        padding: 15px;
    }

    .color-option {
        width: 35px;
        height: 35px;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .feature-item,
    .testimonial-card {
        margin-bottom: 20px;
    }

    .contact-header,
    .contact-body {
        padding: 30px 25px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for theme changes */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
@media(max-width: 569px){
    /*p, h1, h2, h3, h4, h5, h6 {*/
    /*    text-align: left!important;*/
    /*}*/
    a.btn.btn-lg, button.btn-lg{
        width: 100%!important;
        font-size: 16px!important;
        line-height: 1.6!important;
    }
    .services-section, .cta-section, .features-section, .testimonials-section, .contact-section {
        padding: 50px 0!important;
    }
    .hero-section {
        padding: 117px 0 50px;
    }
    .navbar-collapse > .navbar-nav{
        margin-top: 10px !important;
        border-top: 1px solid lightgray;
    }
    p{
        font-size: 16px!important;
        line-height: 1.6!important;
    }
    h1{
        font-size: 30px!important;
        line-height: 36px!important;
    }
    h2{
        font-size: 26px!important;
        line-height: 30px!important;
    }
    h3{
        font-size: 22px!important;
        line-height: 28px!important;
    }
    footer h5{
        font-size: 20px!important;
        line-height: 26px!important;
    }
    .service-card{
        padding-bottom: 10px!important;
    }
    .feature-item{
        padding: 25px 25px 10px 25px!important;
    }
    .service-card, .feature-item, .testimonial-card {
        margin-bottom: 20px;
    }
}
#testimonialCarousel button{
    display: none;
}
#testimonialCarousel {
    margin-bottom: 0!important;
    padding-bottom: 0!important;
}
#testimonialCarousel .container{
    padding-bottom: 50px!important;
}

.cloud {
    display: inline-block;
    animation: cloudFloat 6s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes cloudFloat {
    0% {
        transform: translate(-10px, -8px) rotate(-1.5deg);
    }
    50% {
        transform: translate(12px, 10px) rotate(1.2deg);
    }
    100% {
        transform: translate(-6px, 6px) rotate(-0.8deg);
    }
}