/* Modern CSS for Bootstrap 5 Landing Page */

:root {
    --bs-primary: #4a7c59;
    --bs-primary-rgb: 74, 124, 89;
    --bs-success: #28a745;
    --bs-info: #17a2b8;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #343a40;
    
    /* Custom variables from improvement guide */
    --primary-green: #2c5530;
    --secondary-green: #7fb069;
    --accent-orange: #f4a261;
    --text-dark: #2d3748;
    --bg-light: #f7fafc;

    --primary-gradient: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 80%, white) 100%);
    --shadow-soft: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-medium: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius-lg: 1rem;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Skip Link for Accessibility */
.visually-hidden-focusable:focus {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1050;
    padding: 0.5rem 1rem;
    background: var(--bs-primary);
    color: white;
    text-decoration: none;
    border-radius: 0 0 0.5rem 0;
}

/* Header & Navigation */
.navbar {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-medium);
    padding: 0.75rem 0;
}

.navbar-brand img {
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
    border-radius: 0.5rem;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Hero Section with Carousel */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Carousel Image Centering */
.carousel-inner img {
    margin: auto;
    display: block;
}

.hero-section .carousel-item {
    height: 100vh;
}

.hero-section .carousel-item img {
    filter: brightness(0.6);
    object-fit: cover;
}

.hero-section .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 150px;
    z-index: 1000 !important;
    pointer-events: none !important;
}

.hero-section .carousel-caption * {
    pointer-events: auto !important;
}

.hero-section .carousel-caption .btn {
    z-index: 10001 !important;
    position: relative;
    background: rgba(40, 167, 69, 0.9) !important;
    border: 2px solid #28a745 !important;
    pointer-events: all !important;
    cursor: pointer !important;
    display: inline-block !important;
    
    /* Mobile Touch Optimierungen */
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(40, 167, 69, 0.3);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    /* Mindestgröße für Touch-Targets */
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px;
}

.hero-section .carousel-caption .btn:hover,
.hero-section .carousel-caption .btn:focus {
    background: #28a745 !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
    pointer-events: all !important;
}

.hero-section .carousel-caption .btn:active {
    background: #1e7e34 !important;
    transform: scale(0.98);
    transition: all 0.1s ease;
}

.hero-section .carousel-caption .btn-outline-light {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    pointer-events: all !important;
    z-index: 10001 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
}

.hero-section .carousel-caption .btn-outline-light:hover,
.hero-section .carousel-caption .btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    pointer-events: all !important;
}

.hero-section .carousel-caption .btn-outline-light:active {
    background: rgba(255, 255, 255, 1) !important;
    color: #333 !important;
    transform: scale(0.98);
}

.hero-section .carousel-item img {
    z-index: 1 !important;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
    pointer-events: none !important;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-section p.lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-section .btn {
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
}

/* Buttons */
.btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-smooth);
    border: none;
    
    /* Mobile Button Optimierungen */
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    z-index: 1000;
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3d6b4a 0%, #4d7b5a 100%);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong) !important;
}

.card.border-primary {
    border: 2px solid var(--bs-primary) !important;
    position: relative;
}

.card.border-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calculator-form {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 2rem;
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 124, 89, 0.25);
}

/* Results Display */
.results-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

.results-card h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.result-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-item {
    border: none;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.faq-item .btn {
    background: white;
    border: none;
    color: var(--bs-primary);
    font-weight: 600;
    text-align: left;
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.faq-item .btn:hover,
.faq-item .btn:focus {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.faq-item .collapse {
    background: var(--bs-light);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

/* Contact Section */
.contact-section {
    background: var(--primary-gradient);
}

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
}

/* Footer */
footer {
    background: color-mix(in srgb, var(--bs-primary) 10%, white) !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer h5 {
    font-weight: 700;
    color: var(--bs-primary);
}

footer a {
    color: var(--bs-dark);
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--bs-primary);
    transform: translateX(3px);
}

/* Cookie Banner */
.cookie-banner {
    background: rgba(52, 58, 64, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--bs-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
    min-width: 300px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        width: 40px;
        height: 40px;
    }
    
    .navbar-brand div {
        margin-left: 0.5rem;
    }
    
    .navbar-brand .fw-bold {
        font-size: 0.9rem;
    }
    
    .navbar-brand small {
        font-size: 0.7rem;
    }
    
    /* Badges - Mobile Optimization */
    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
        line-height: 1.3;
        word-wrap: break-word;
        white-space: normal;
        text-align: center;
        display: inline-block;
        max-width: 100%;
        margin-top: 0.5rem;
    }
    
    /* Cards */
    .card-body {
        padding: 1.25rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 60vh;
        padding: 3rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    /* Calculator */
    .calculator-form {
        padding: 1.5rem;
    }
    
    /* Results */
    .results-card {
        padding: 1.5rem;
    }
    
    /* Contact */
    .contact-card {
        margin-top: 2rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* FAQ */
    .faq-item .btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Notification */
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .calculator-form,
    .results-card,
    .testimonial-card {
        padding: 1rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--bs-dark);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn:hover,
    .card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .notification {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}



/* Carousel Controls Fix */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 15 !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 100%, 100%;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.8));
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23fff\'/%3e%3cpath d=\'m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z\'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23fff\'/%3e%3cpath d=\'m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z\'/%3e%3c/svg%3e");
}

/* Carousel Caption z-index fix */
.carousel-caption {
    z-index: 1000 !important;
}

.carousel-caption .btn {
    z-index: 10001 !important;
    position: relative;
}

/* Mobile Carousel Optimizations */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-section .carousel-item {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.2rem;
    }
    
    .hero-section .carousel-caption {
        padding-bottom: 100px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section .carousel-item {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-section p.lead {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-section .carousel-caption {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        padding: 20px;
        text-align: center;
    }
    
    .hero-section .carousel-caption .d-flex {
        justify-content: center !important;
        align-items: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-section .carousel-caption .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
        font-size: 16px;
        padding: 12px 20px;
    }
    
    /* Mobile Carousel Image Centering */
    .hero-section .carousel-inner img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
}



/* Lead Magnet Section */
#lead-magnets .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lead-magnets .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

#lead-magnets .card-title {
    color: var(--bs-primary);
}

#lead-magnets .card-text {
    color: var(--bs-secondary);
}



/* Futter-Check Quiz Styles */
.option-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-card:hover {
    border-color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.option-card.border-primary {
    border-color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}

.question-card {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

#results-section .card {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for quiz */
@media (max-width: 768px) {
    .option-card {
        margin-bottom: 1rem;
    }
    
    .option-card .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .option-card .fa-2x {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
}

/* Custom colors for different score ranges */
.bg-orange {
    background-color: #fd7e14 !important;
}

/* Enhanced button styles */
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Quiz container styling */
#quiz-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

/* Progress text styling */
#progress-text {
    color: var(--bs-primary);
    font-size: 1.1rem;
}

/* Conversion-Critical Optimizations 2025 */
.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--bs-success);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    color: var(--bs-success);
}

.urgency-indicator {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
}

.social-proof {
    background: var(--bs-light);
    border-left: 4px solid var(--bs-success);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

/* Mobile-First CTA Optimization */
@media (max-width: 768px) {
    .btn-cta-mobile {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 1000;
        font-size: 1.1rem;
        padding: 1rem;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Accessibility Enhancements */
.focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Conversion Form Enhancements */
.form-floating .form-control:focus ~ label {
    color: var(--bs-primary);
}

.form-success {
    border-color: var(--bs-success) !important;
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.form-error {
    border-color: var(--bs-danger) !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
}




/* Enhanced Futter-Check Styles */
.enhanced-quiz-container {
    margin-top: 2rem;
}

.quiz-option {
    transition: all 0.3s ease;
}

.quiz-option .btn-check:checked + .btn {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.quiz-option .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-score .display-1 {
    font-size: 4rem;
    line-height: 1;
}

.result-recommendations ul {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Google Reviews Widget */
.google-reviews-widget {
    max-width: 600px;
    margin: 0 auto;
}

.reviews-carousel {
    position: relative;
    min-height: 120px;
}

.review-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.review-item.active {
    opacity: 1;
    visibility: visible;
}

.review-stars {
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    line-height: 1.5;
}

.review-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.review-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-indicator.active {
    background: var(--bs-primary);
    transform: scale(1.2);
}

.review-indicator:hover {
    background: var(--bs-primary);
    opacity: 0.7;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Trust badges enhancements */
.trust-badge {
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* CTA button enhancements */
.btn-cta-pulse {
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--bs-primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0);
    }
}

/* Mobile CTA improvements */
@media (max-width: 768px) {
    .mobile-cta {
        position: fixed;
        bottom: 80px;
        left: 15px;
        right: 15px;
        z-index: 999;
        background: white;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        border: 1px solid #e9ecef;
    }
    
    .mobile-cta .btn {
        width: 100%;
        padding: 12px;
        font-weight: 600;
    }
}


/* Mobile Button Optimierungen für alle Buttons */
@media (max-width: 768px) {
    .btn {
        /* Größere Touch-Targets auf mobilen Geräten */
        min-height: 48px;
        min-width: 48px;
        padding: 14px 20px;
        font-size: 16px; /* Verhindert Zoom auf iOS */
        
        /* Touch-Optimierungen */
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        
        /* Bessere Klickbarkeit */
        cursor: pointer !important;
        pointer-events: all !important;
        z-index: 1000;
        position: relative;
    }
    
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Hero-Section mobile Anpassungen */
    .hero-section .carousel-caption .btn {
        min-height: 50px;
        padding: 15px 25px;
        font-size: 18px;
        margin: 5px;
    }
    
    /* Abstände zwischen Buttons auf mobilen Geräten */
    .hero-section .carousel-caption .d-flex {
        gap: 15px !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Spezielle iOS Safari Optimierungen */
@supports (-webkit-touch-callout: none) {
    .btn {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Hover-Effekte nur auf Geräten mit Hover-Unterstützung */
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
    }
}

/* Touch-Geräte: Keine Hover-Effekte, aber Active-States */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn:active {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

