/* ==========================================
   LEISTUNGEN PAGE - Ultra Modern Design
   ========================================== */

/* ==========================================
   HERO SECTION
   ========================================== */

.services-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(135deg, #f6f8fb 0%, #e9f4f8 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.animated-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        -45deg,
        rgba(8, 145, 178, 0.03),
        rgba(16, 185, 129, 0.03),
        rgba(30, 64, 175, 0.03),
        rgba(8, 145, 178, 0.03)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.element-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-teal) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float-slow 20s infinite ease-in-out;
}

.element-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation: float-slow 25s infinite ease-in-out reverse;
}

.element-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-blue-light) 0%, transparent 70%);
    top: 50%;
    left: 70%;
    animation: float-slow 30s infinite ease-in-out;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: slideInFromTop 0.8s ease-out;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.title-accent {
    display: block;
    font-size: 1.125rem;
    color: var(--primary-teal);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1.2;
    padding-bottom: 0.2em;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: slideInFromBottom 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-teal);
    font-weight: 600;
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(8, 145, 178, 0);
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================
   SERVICES INTRO
   ========================================== */

.services-intro {
    padding: 4rem 0;
    background: white;
}

.intro-content {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    transform: rotate(5deg) scale(1.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-teal);
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon svg {
    stroke: white;
}

.feature-item h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================
   SERVICE CARDS - MAIN GRID
   ========================================== */

.services-main {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

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

.service-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Featured Card */
.service-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid var(--primary-teal);
}

.service-card.featured::before {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-blue));
    transform: scaleX(1);
}

/* Premium Card - Completely Redesigned for Perfect Readability */
.service-card.premium {
    /* Pure white background for maximum contrast */
    background: #ffffff;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    /* Stronger shadow for depth without darkening the card */
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 20px rgba(0, 0, 0, 0.06),
        0 20px 40px rgba(8, 145, 178, 0.08);
    /* Add internal glow for premium feel */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.06),
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 30px 60px rgba(8, 145, 178, 0.12);
}

/* Gradient border effect - thinner and more subtle */
.service-card.premium::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, 
        #0891b2 0%,     /* primary-teal */
        #10b981 35%,    /* accent-green */
        #1e40af 70%,    /* primary-blue */
        #0891b2 100%    /* primary-teal */
    );
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 1;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Add subtle top accent line inside the card */
.service-card.premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #0891b2 0%,     /* primary-teal */
        #10b981 50%,    /* accent-green */
        #1e40af 100%    /* primary-blue */
    );
    opacity: 0.9;
}

/* Premium card specific text adjustments - High Contrast */
.service-card.premium .card-number {
    /* Dark gradient for maximum readability */
    background: linear-gradient(135deg, #0e7490, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 3rem;
    /* Add subtle shadow for depth */
    filter: drop-shadow(0 1px 2px rgba(8, 145, 178, 0.2));
}

.service-card.premium .card-title {
    /* Very dark color for maximum contrast on white */
    color: #0c4a6e; /* Even darker than primary-teal-dark */
    font-weight: 800;
    font-size: 1.625rem;
    letter-spacing: -0.025em;
}

.service-card.premium .card-description {
    /* Darker gray for better readability */
    color: #374151; /* gray-700 instead of text-secondary */
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.service-card.premium .card-list li {
    /* Dark gray for excellent readability */
    color: #1f2937; /* gray-800 */
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Enhanced checkmarks for premium card - Override both before and after */
.service-card.premium .card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #0891b2, #10b981);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(8, 145, 178, 0.2);
}

.service-card.premium .card-list li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 0.3rem;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 1;
}

/* Card Header */
.card-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(8, 145, 178, 0.1);
    line-height: 1;
}

.card-badge {
    padding: 0.375rem 0.875rem;
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary-teal);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge {
    background: var(--primary-teal);
    color: white;
}

.premium-badge {
    /* Bright golden premium badge */
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #7c2d12;
    box-shadow: 
        0 2px 4px rgba(245, 158, 11, 0.2),
        0 4px 8px rgba(251, 191, 36, 0.15);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Premium card feature tags - High contrast */
.service-card.premium .feature-tag {
    /* Light teal background with dark text for readability */
    background: linear-gradient(135deg, #f0fdfa, #e6fffa);
    border: 1px solid #5eead4;
    color: #0c4a6e; /* Very dark teal */
    font-weight: 600;
    font-size: 0.8125rem;
}

.service-card.premium .feature-tag:hover {
    background: linear-gradient(135deg, #e6fffa, #ccfbf1);
    border-color: #2dd4bf;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(8, 145, 178, 0.1);
}

.service-card.premium .feature-tag svg {
    stroke: #0e7490; /* primary-teal-dark */
    stroke-width: 2.5;
}

/* Card Content */
.card-content {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
}

.card-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(8, 145, 178, 0.05);
    border: 1px solid rgba(8, 145, 178, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.feature-tag:hover {
    background: rgba(8, 145, 178, 0.1);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.feature-tag svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary-teal);
    fill: none;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-list li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 0.25rem;
    color: white;
    font-size: 0.625rem;
    font-weight: bold;
}

/* Card Footer */
.card-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(248, 250, 252, 0.5);
}

.btn-card-action {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-teal);
    border-radius: var(--radius-md);
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-card-action:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateX(5px);
}

.btn-card-action svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.btn-card-action:hover svg {
    transform: translateX(5px);
}

.btn-card-action.primary {
    background: var(--primary-teal);
    color: white;
}

.btn-card-action.primary:hover {
    background: var(--primary-teal-dark);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.btn-card-action.premium-btn {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: white;
    border: 2px solid transparent;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

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

.btn-card-action.premium-btn:hover {
    background: linear-gradient(135deg, #0c4a6e, #0e7490);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(8, 145, 178, 0.2),
        0 8px 20px rgba(8, 145, 178, 0.15);
}

.btn-card-action.premium-btn:hover::before {
    left: 100%;
}

/* ==========================================
   ADDITIONAL INFO SECTION
   ========================================== */

.additional-info {
    padding: 4rem 0;
    background: white;
}

.additional-info .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.5), rgba(255, 255, 255, 0.9));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(8, 145, 178, 0.1);
    transition: all var(--transition-base);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.1);
    border-color: var(--primary-teal);
}

.info-box .info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box .info-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.info-box .info-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-box .info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ==========================================
   LEGAL NOTICE
   ========================================== */

.legal-notice {
    padding: 2rem 0;
    background: linear-gradient(135deg, #fef9f3 0%, #fff9f0 100%);
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 4px solid var(--accent-green);
}

.notice-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent-green);
}

.notice-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.services-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    position: relative;
    overflow: hidden;
}

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

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

.cta-content {
    position: relative;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn svg {
    width: 20px;
    height: 20px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-teal);
}

.cta-buttons .btn-primary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ==========================================
   MODAL
   ========================================== */

.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 3rem;
}

.modal-body h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-contact {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.modal-contact p {
    margin-bottom: 1rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .services-hero {
        min-height: 50vh;
        padding-top: 80px;
    }

    .title-main {
        font-size: 2rem;
    }

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

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

    .additional-info .container {
        grid-template-columns: 1fr;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-badge {
        margin-top: 0.75rem;
        font-size: 0.875rem;
        padding: 0.4rem 1.2rem;
    }
    
    /* Service Modal Mobile Optimization */
    .service-modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-body {
        padding: 2rem;
    }
    
    .modal-body h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modal-body p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        top: 1rem;
        right: 1rem;
    }
    
    .modal-contact {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .modal-contact p {
        font-size: 0.9375rem;
    }

    .card-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-width: calc(100% - 1rem);
        border-radius: 12px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h3 {
        font-size: 1.25rem;
    }
    
    .modal-body p {
        font-size: 0.875rem;
    }
    
    .modal-close {
        width: 32px;
        height: 32px;
        padding: 0;
    }
    
    .modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-contact {
        padding: 1.25rem;
    }
    
    .modal-contact p {
        font-size: 0.875rem;
    }
    
    .modal-contact .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 375px) {
    /* Service Modal für sehr kleine Bildschirme */
    .service-modal {
        padding: 0;
    }
    
    .modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        max-width: 100%;
        border-radius: 0;
        position: fixed;
        top: 0;
        left: 0;
        overflow-y: auto;
    }
    
    .modal-body {
        padding: 1.25rem;
        padding-top: 3rem;
    }
    
    .modal-body h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-body p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .modal-close {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        width: 30px;
        height: 30px;
    }
    
    .modal-contact {
        padding: 1rem;
        background: rgba(8, 145, 178, 0.05);
        border-radius: 8px;
        margin: 1rem;
    }
    
    .modal-contact p {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-contact .btn {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
}