:root {
    --primary-color: #184dfd;
    --primary-dark: #0e53cc;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-dark-light: #2d2d2d;
    --text-white: #ffffff;
    
    /* Common gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    
    /* Common transitions */
    --transition-smooth: 0.3s ease;
    --transition-card: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Common shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(24, 77, 253, 0.15);
    --shadow-xl: 0 20px 40px rgba(24, 77, 253, 0.15);
    --shadow-2xl: 0 25px 50px rgba(24, 77, 253, 0.25);
    --shadow-primary: 0 5px 15px rgba(24, 77, 253, 0.3);
    
    /* Common border radius */
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-full: 50%;
    
    /* Common spacing */
    --spacing-section: 5rem;
    
    /* Additional colors */
    --color-rating: #ffc107;
    --color-border: #e9ecef;
    --focus-ring: rgba(24, 77, 253, 0.25);
    
    /* Additional border radius */
    --radius-badge: 25px;
    
    /* Opacity values */
    --opacity-navbar-full: rgba(14, 83, 204, 1.0);
    --opacity-navbar: rgba(14, 83, 204, 0.9);
    --opacity-white-90: rgba(255, 255, 255, 0.9);
    --opacity-white-10: rgba(255, 255, 255, 0.1);
    --opacity-white-70: rgba(255, 255, 255, 0.7);
    --opacity-white-20: rgba(255, 255, 255, 0.2);
    --opacity-black-10: rgba(0, 0, 0, 0.1);
    --opacity-black-70: rgba(0, 0, 0, 0.7);
    --opacity-overlay-30: rgba(255, 255, 255, 0.3);
    --opacity-overlay-50: rgba(255, 255, 255, 0.5);
    
    /* Z-index values */
    --z-navbar: 10000;
    --z-navbar-collapse: 9999;
    --z-navbar-brand: 10001;
    --z-coming-soon: 12000;
    --z-scroll-arrow: 10;
    --z-process-number: 2;
    
    /* Common font sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.2rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.75rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;
    --font-6xl: 3.5rem;
    --font-hero: 15rem;
    
    /* Common spacing values */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 5rem;
}

[data-theme="dark"] {
    --text-dark: #e0e0e0;
    --text-light: #c0c0c0;
    --bg-light: #2d2d2d;
    --bg-white: #1a1a1a;
    --bg-dark: #ffffff;
    --bg-dark-light: #1a1a1a;
}

/* Dark Mode Overrides */
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .hosting-card,
[data-theme="dark"] .form-control {
    border-color: var(--opacity-white-10);
}

[data-theme="dark"] .form-control {
    background: var(--bg-light);
    color: var(--text-dark);
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

[data-theme="dark"] .text-muted {
    color: var(--text-light) !important;
}

[data-theme="dark"] .lead.text-muted {
    color: var(--text-light) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

body.coming-soon-active {
    height: 100vh;
    overflow: hidden;
}

.coming-soon-overlay {
    position: fixed;
    inset: 0;
    background: var(--opacity-black-70);
    backdrop-filter: blur(6px);
    z-index: var(--z-coming-soon);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.coming-soon-card {
    max-width: 520px;
    width: 100%;
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .coming-soon-card {
    background: var(--bg-dark-light);
    color: var(--text-dark);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-badge);
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.coming-soon-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coming-soon-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.coming-soon-note {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.coming-soon-note strong {
    display: block;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.coming-soon-contact {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
}

.coming-soon-contact:hover {
    text-decoration: underline;
}

[data-theme="dark"] .coming-soon-note strong,
[data-theme="dark"] .coming-soon-contact {
    color: var(--text-dark);
}


/* Navigation */
.navbar {
    background: var(--opacity-navbar-full);
    padding: 1rem 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: var(--opacity-navbar);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.navbar-brand:hover {
    transform: scale(1.1);
}

.navbar-brand img {
    filter: brightness(0) invert(1);
    transition: filter var(--transition-smooth);
}

[data-theme="dark"] .navbar-brand img {
    filter: brightness(0) invert(1);
}

.dark-mode-toggle {
    border: none;
    background: none;
    color: var(--opacity-white-90) !important;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    color: #fff !important;
    transform: rotate(15deg) scale(1.1);
}

[data-theme="dark"] .dark-mode-toggle {
    color: var(--opacity-white-90) !important;
}

.nav-link {
    color: var(--opacity-white-90) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all var(--transition-smooth);
    position: relative;
    display: inline-block;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width var(--transition-smooth);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #fff !important;
}

.nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    background-image: none !important;
    position: relative;
    transition: all var(--transition-smooth);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    left: 0;
    transition: all var(--transition-smooth);
}

.navbar-toggler-icon::before {
    top: -10px;
}

.navbar-toggler-icon::after {
    bottom: -10px;
}

/* Animated X when navbar is open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent !important;
    background-image: none !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
    background-color: white;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
    background-color: white;
}

/* Mobile Fullscreen Navbar */
@media (max-width: 991px) {
    .navbar {
        z-index: var(--z-navbar);
    }

    .hero-image {
        display: none;
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--gradient-hero);
        z-index: var(--z-navbar-collapse);
        padding: 2rem 2rem;
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-brand {
        position: relative;
        z-index: var(--z-navbar-brand);
    }

    .navbar-toggler {
        position: relative;
        z-index: var(--z-navbar-brand);
        margin-left: auto;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0 auto;
    }

    .nav-item {
        width: auto;
    }

    .nav-link {
        padding: 0.75rem 2rem !important;
        font-size: 1.25rem;
        text-align: center;
        border-radius: var(--radius-sm);
        transition: all var(--transition-smooth);
        display: inline-block;
    }

    .nav-link:hover {
        background: var(--opacity-white-10);
        transform: translateX(5px);
    }

    .nav-link::after {
        display: none;
    }

    body.navbar-open {
        overflow: hidden;
    }
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    position: relative;
    padding-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    min-height: calc(90vh - 80px);
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-image {
    font-size: 15rem;
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-divider svg path {
    fill: white;
    transition: fill var(--transition-smooth);
}

[data-theme="dark"] .wave-divider svg path {
    fill: var(--bg-white);
}

/* Automatische Section-Hintergründe */
.section-bg-white {
    --section-bg: var(--bg-white);
    --card-bg: var(--bg-light);
}

.section-bg-light {
    --section-bg: var(--bg-light);
    --card-bg: var(--bg-white);
}

.section-bg-white > section,
.section-bg-light > section {
    background: var(--section-bg) !important;
}

.section-bg-white .pricing-section,
.section-bg-light .pricing-section,
.section-bg-white .hosting-section,
.section-bg-light .hosting-section,
.section-bg-white .contact-section,
.section-bg-light .contact-section,
.section-bg-white .pricing-table-section,
.section-bg-light .pricing-table-section,
.section-bg-white .hosting-table-section,
.section-bg-light .hosting-table-section {
    background: var(--section-bg) !important;
}

/* Pricing Table Section */
.pricing-table-section {
    padding: var(--spacing-section) 0;
}

/* Hosting Table Section */
.hosting-table-section {
    padding: var(--spacing-section) 0;
}

/* Services Section */
.services-section {
    padding: var(--spacing-section) 0;
}

/* Base Card - All cards share these common styles */
.service-card,
.team-card,
.stat-card,
.process-step,
.project-card,
.testimonial-card {
    /* Common layout */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* Common transitions */
    transition: transform var(--transition-card), 
                box-shadow var(--transition-card);
    
    /* Common text alignment */
    text-align: center;
}

/* Base Card Hover - All cards use same hover effect */
.service-card:hover,
.team-card:hover,
.stat-card:hover,
.process-step:hover,
.project-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Card Background Variants - Automatisch basierend auf Section-Hintergrund */
.service-card,
.team-card,
.stat-card,
.process-step,
.project-card,
.testimonial-card,
.pricing-card,
.hosting-card,
.contact-card {
    background: var(--card-bg, var(--bg-light));
}

/* Card Padding Variants */
.service-card,
.stat-card,
.process-step,
.team-card,
.testimonial-card {
    padding: 2.5rem;
}

/* Card Specific Extras */
.project-card {
    overflow: hidden;
}

.process-step {
    position: relative;
    align-items: center;
}

/* Base Icon Styles - Common for all circular icons */
.service-icon,
.stat-icon,
.team-avatar,
.process-icon {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform var(--transition-card);
}

.service-icon,
.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    font-size: 4rem;
}

.process-icon {
    width: 100px;
    height: 100px;
    margin: 1.5rem auto 1.5rem;
    font-size: 3rem;
}

.service-card:hover .service-icon,
.stat-card:hover .stat-icon,
.team-card:hover .team-avatar,
.process-step:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Common Card Typography */
.service-card h4,
.team-card h4,
.process-step h4,
.project-content h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.service-card h4,
.process-step h4 {
    margin-bottom: 1rem;
}

.team-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.process-step h4 {
    font-size: 1.5rem;
}

.service-card p,
.team-description,
.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: var(--spacing-section) 0;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-card);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.stat-number {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Process Section */
.process-section {
    padding: var(--spacing-section) 0;
}

.process-timeline {
    position: relative;
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
    z-index: var(--z-process-number);
}

/* Process step typography - h4 already in common typography */
.process-step h4 {
    font-size: 1.5rem;
}

/* Process step p already in common typography */
.process-step p {
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    padding: var(--spacing-section) 0;
}

/* Common Card Container Styles */
.pricing-cards-container-wrapper,
.hosting-cards-container-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.pricing-cards-container,
.hosting-cards-container {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 1rem 1rem;
    scroll-behavior: smooth;
}

.pricing-cards-container::-webkit-scrollbar,
.hosting-cards-container::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767px) {
    .pricing-cards-container,
    .hosting-cards-container {
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }
    
    .pricing-cards-container::-webkit-scrollbar,
    .hosting-cards-container::-webkit-scrollbar {
        display: block;
        height: 8px;
    }
    
    .pricing-cards-container::-webkit-scrollbar-track,
    .hosting-cards-container::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .pricing-cards-container::-webkit-scrollbar-thumb,
    .hosting-cards-container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }
}

.pricing-cards-wrapper,
.hosting-cards-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 1rem;
}

.pricing-card-item,
.hosting-card-item {
    flex: 0 0 auto;
    width: 85%;
    min-width: 280px;
    max-width: 300px;
}

@media (max-width: 768px) {
    .pricing-card-item,
    .hosting-card-item {
        width: 75%;
        min-width: 250px;
        max-width: 280px;
    }
}

@media (min-width: 768px) {
    .pricing-card-item,
    .hosting-card-item {
        width: 350px;
        min-width: 350px;
        max-width: 350px;
    }
}

/* Base Card Styles */
.pricing-card,
.hosting-card {
    background: var(--card-bg, var(--bg-white));
    border: 2px solid var(--opacity-black-10);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-card), 
                box-shadow var(--transition-card),
                border-color var(--transition-card);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover,
.hosting-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured,
.hosting-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-card), 
                box-shadow var(--transition-card),
                border-color var(--transition-card);
}

.pricing-card.featured:hover,
.hosting-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-badge);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-primary);
}

/* Card Headers */
.pricing-header h3,
.hosting-header h3 {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price {
    margin: 1.5rem 0;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--primary-color);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

/* Card Features Lists */
.pricing-features,
.hosting-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li,
.hosting-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    text-align: left;
}

.pricing-features li i,
.hosting-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Hosting Section */
.hosting-section {
    padding: var(--spacing-section) 0;
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: var(--z-scroll-arrow);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    font-size: 1.5rem;
}

.scroll-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-arrow-left {
    left: -25px;
}

.scroll-arrow-right {
    right: -25px;
}

.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 767px) {
    .scroll-arrow {
        display: none;
    }
}

[data-theme="dark"] .scroll-arrow {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .scroll-arrow:hover {
    background: var(--primary-color);
    color: white;
}

.hosting-header .price {
    margin: 1.5rem 0;
}

.hosting-header .price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.hosting-header .price .period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}


/* References Section */
.references-section {
    padding: var(--spacing-section) 0;
}

.project-image {
    position: relative;
    height: 250px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--opacity-overlay-30);
    transition: all var(--transition-card);
}

.project-card:hover .project-placeholder {
    transform: scale(1.1);
    color: var(--opacity-overlay-50);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--opacity-black-70);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-card);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags .badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.75rem;
}

/* Testimonials */
.testimonials-section {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 2px solid var(--color-border);
}

.testimonial-rating {
    color: var(--color-rating);
    font-size: 1.2rem;
}

.testimonial-rating i {
    margin-right: 0.2rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.author-info h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info p {
    font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-section) 0;
}

.contact-card {
    background: var(--card-bg, var(--bg-white));
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-control {
    border: 2px solid var(--opacity-black-10);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem var(--focus-ring);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Buttons - Base styles shared by all buttons */
.btn-primary,
.btn-outline-primary,
.btn-outline-light {
    border-radius: var(--radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Hero section button - make more visible */
.hero-section .btn-primary {
    box-shadow: 0 4px 15px rgba(24, 77, 253, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-section .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(24, 77, 253, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline-light {
    border: 2px solid var(--opacity-white-90);
    color: white;
}

.btn-outline-light:hover {
    background: var(--opacity-white-10);
    border-color: white;
    color: white;
}

/* Footer */
.footer {
    background: var(--gradient-hero);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer img {
    filter: brightness(0) invert(1);
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer .text-muted {
    color: var(--opacity-white-70) !important;
}

.footer hr {
    border-color: var(--opacity-white-20);
}

.footer i {
    margin-right: 0.5rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */

@media (max-width: 992px) {
    .pricing-card.featured,
    .hosting-card.featured {
        transform: scale(1);
        margin-top: 0;
    }

    .hero-image {
        font-size: 8rem;
        margin-top: 2rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }

    /* All cards get bottom margin on mobile */
    .service-card,
    .pricing-card,
    .hosting-card,
    .project-card,
    .testimonial-card,
    .team-card,
    .stat-card,
    .process-step,
    .contact-card {
        margin-bottom: var(--spacing-lg);
    }

    .project-image {
        height: 200px;
    }

    .project-placeholder {
        font-size: 4rem;
    }

    .testimonials-section {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    /* Mobile Typography - Smaller text for better readability */
    body {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    h1, .display-1 {
        font-size: 2rem;
    }

    h2, .display-2, .h2 {
        font-size: 1.5rem;
    }

    h3, .display-3, .h3 {
        font-size: 1.25rem;
    }

    h4, .h4 {
        font-size: 1.1rem;
    }

    h5, .h5 {
        font-size: 1rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    /* Smaller padding and margins on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    /* Impressum and legal pages - more compact */
    .col-lg-8 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Reduce spacing between sections on mobile */
    .mt-4 {
        margin-top: 1rem !important;
    }

    .mt-5 {
        margin-top: 1.5rem !important;
    }

    .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Legal pages (Impressum, Datenschutz) - reduce top padding */
    .legal-page {
        padding-top: 80px !important;
    }

    /* Smaller cards on mobile */
    .service-card,
    .pricing-card,
    .hosting-card,
    .contact-card,
    .testimonial-card,
    .team-card,
    .stat-card,
    .process-step {
        padding: 1.5rem !important;
    }

    /* Project cards have special structure - only content gets padding */
    .project-card {
        padding: 0 !important;
    }

    .project-content {
        padding: 1.25rem !important;
    }

    /* Smaller pricing/hosting card content */
    .pricing-card,
    .hosting-card {
        padding: 1.5rem !important;
    }

    .pricing-header h3,
    .hosting-header h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .price .amount {
        font-size: 2.5rem !important;
    }

    .price .currency {
        font-size: 1.25rem !important;
    }

    .pricing-features,
    .hosting-features {
        margin: 1rem 0 !important;
    }

    .pricing-features li,
    .hosting-features li {
        padding: 0.5rem 0 !important;
        font-size: 0.85rem !important;
    }

    .pricing-features li i,
    .hosting-features li i {
        font-size: 0.9rem !important;
    }

    /* Ensure cards are visible */
    .pricing-card,
    .hosting-card {
        opacity: 1 !important;
        display: flex !important;
    }

    /* Ensure cards inside containers are visible on mobile */
    .pricing-cards-container .pricing-card,
    .hosting-cards-container .hosting-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Ensure containers don't hide cards */
    .pricing-cards-container.animate-on-scroll,
    .hosting-cards-container.animate-on-scroll {
        opacity: 1 !important;
    }

    /* Smaller gaps between cards on mobile */
    .pricing-cards-wrapper,
    .hosting-cards-wrapper {
        gap: 1rem !important;
        padding: 0.5rem !important;
    }

    .pricing-cards-container,
    .hosting-cards-container {
        padding: 1rem 0.5rem 0.5rem !important;
    }
}

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

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

/* After animation completes, allow hover transforms */
.animate-on-scroll.animated {
    animation: fadeInUp 0.6s ease forwards;
    /* Ensure hover transitions work after animation */
    transition: transform var(--transition-card), 
                box-shadow var(--transition-card),
                border-color var(--transition-card);
}

/* Pricing Table Styles */
.table {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0;
}

.table thead {
    background: linear-gradient(135deg, rgba(24, 77, 253, 1), rgba(14, 83, 204, 1));
    color: white;
}

.table thead tr {
    background: linear-gradient(135deg, rgba(24, 77, 253, 1), rgba(14, 83, 204, 1));
}

.table thead th {
    border: none;
    padding: 1.5rem 1rem;
    font-weight: 600;
    vertical-align: middle;
    position: relative;
    background: transparent;
    color: white !important;
}

.table thead th,
.table thead th * {
    color: white !important;
}

.table thead th .badge {
    background: white !important;
    color: var(--primary-color) !important;
}

.table thead th:nth-child(3) {
    box-shadow: 0 4px 15px rgba(24, 77, 253, 0.3);
}

.table tbody tr {
    transition: all var(--transition-smooth);
    background-color: var(--bg-white);
}

.table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.5);
}

.table tbody tr:hover {
    background-color: rgba(24, 77, 253, 0.08) !important;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(24, 77, 253, 0.1);
}

.table tbody td {
    padding: 1rem;
    border-color: var(--color-border);
    vertical-align: middle;
    color: var(--text-dark);
}

.table tbody tr.table-primary {
    --bs-table-hover-bg: transparent;
    background: linear-gradient(135deg, rgba(24, 77, 253, 0.12), rgba(14, 83, 204, 0.12)) !important;
    font-weight: 600;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.table tbody tr.table-primary:hover {
    background: linear-gradient(135deg, rgba(24, 77, 253, 0.18), rgba(14, 83, 204, 0.18)) !important;
    box-shadow: 0 4px 12px rgba(24, 77, 253, 0.2);
}

.table-responsive {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 0;
}

[data-theme="dark"] .table-responsive {
    background: var(--bg-white) !important;
}

[data-theme="dark"] .table {
    background: var(--bg-white) !important;
    color: var(--text-dark) !important;
    border-color: var(--opacity-white-10) !important;
}

[data-theme="dark"] .table thead {
    background: linear-gradient(135deg, rgba(24, 77, 253, 1), rgba(14, 83, 204, 1)) !important;
    color: white !important;
}

[data-theme="dark"] .table thead tr {
    background: linear-gradient(135deg, rgba(24, 77, 253, 1), rgba(14, 83, 204, 1)) !important;
}

[data-theme="dark"] .table thead th {
    border-color: var(--opacity-white-10) !important;
    color: white !important;
    background: transparent !important;
}

[data-theme="dark"] .table thead th,
[data-theme="dark"] .table thead th * {
    color: white !important;
}

[data-theme="dark"] .table thead th .badge {
    background: white !important;
    color: var(--primary-color) !important;
}

[data-theme="dark"] .table thead th:nth-child(3) {
    box-shadow: 0 4px 15px rgba(24, 77, 253, 0.4) !important;
}

[data-theme="dark"] .table tbody {
    background: var(--bg-white) !important;
}

[data-theme="dark"] .table tbody tr {
    border-color: var(--opacity-white-10) !important;
    background-color: var(--bg-white) !important;
}

[data-theme="dark"] .table tbody tr:nth-child(even) {
    background-color: rgba(45, 45, 45, 0.5) !important;
}

[data-theme="dark"] .table tbody tr:hover {
    background-color: rgba(24, 77, 253, 0.15) !important;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(24, 77, 253, 0.2);
}

[data-theme="dark"] .table tbody td {
    border-color: var(--opacity-white-10) !important;
    color: var(--text-dark) !important;
    background-color: transparent !important;
}

[data-theme="dark"] .table tbody tr.table-primary {
    --bs-table-hover-bg: transparent;
    background: linear-gradient(135deg, rgba(24, 77, 253, 0.25), rgba(14, 83, 204, 0.25)) !important;
    color: var(--text-dark) !important;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

[data-theme="dark"] .table tbody tr.table-primary:hover {
    background: linear-gradient(135deg, rgba(24, 77, 253, 0.35), rgba(14, 83, 204, 0.35)) !important;
    box-shadow: 0 4px 12px rgba(24, 77, 253, 0.3);
}

[data-theme="dark"] .table tbody tr.table-primary td {
    color: var(--text-dark) !important;
    background-color: transparent !important;
}

.table .text-success {
    color: #22c55e !important;
}

.table .text-danger {
    color: #ef4444 !important;
}

[data-theme="dark"] .table .text-success {
    color: #4ade80 !important;
}

[data-theme="dark"] .table .text-danger {
    color: #f87171 !important;
}

[data-theme="dark"] .table .text-muted {
    color: var(--text-light) !important;
}

.table .badge {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

[data-theme="dark"] .table .badge {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

/* Fade-in animation base - applied via JavaScript */
.service-card,
.pricing-card,
.hosting-card,
.project-card,
.testimonial-card,
.team-card,
.stat-card,
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

