/* ========================================
   Heizungsfluid.ch - Premium Modern Design
   Hauptfarben: Weiß (#FFFFFF) mit Blau (#0066CC)
   Inspiriert von AuroraCalm.ch - Modern, Clean, Elegant
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #0052CC;
    --primary-blue-dark: #00285F;
    --primary-blue-light: #1976D2;
    --primary-blue-lighter: #5DADE2;
    --primary-blue-pale: #D6EAF8;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #FAFAFA;
    --bg-lighter: #FFFFFF;
    --white: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 16px 56px rgba(0, 82, 204, 0.25);
    --shadow-blue: 0 8px 24px rgba(0, 82, 204, 0.18);

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #0052CC 0%, #1976D2 100%);
    --gradient-blue-soft: linear-gradient(135deg, #D6EAF8 0%, #EBF5FB 100%);
    --gradient-blue-vibrant: linear-gradient(135deg, #00285F 0%, #0052CC 50%, #1976D2 100%);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Inspired by AuroraCalm's bold headlines */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-dark);
}

/* Header & Navigation - Modern Sticky Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
    background-color: rgba(255, 255, 255, 0.99);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 35px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

.logo img:hover {
    filter: drop-shadow(0 4px 12px rgba(0, 82, 204, 0.2));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

nav a {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

nav a:hover {
    background-color: var(--primary-blue-pale);
    color: var(--primary-blue-dark);
    transform: translateY(-1px);
}

nav a.active {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section - Dramatic Gradients with Animated Background */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 50%, #EBF5FB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Compact Hero for Subpages */
.hero-compact {
    min-height: 250px;
    background: linear-gradient(135deg, #1976D2 0%, #0052CC 50%, #00285F 100%);
}

.hero-compact .carousel-content h1 {
    animation: none; /* No floating animation for compact hero */
}

/* Animated Gradient Orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb1 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb2 25s ease-in-out infinite;
    z-index: 1;
}

/* Additional decorative orb */
.carousel::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(93, 173, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb3 18s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatOrb1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-30px, 40px) scale(1.1);
    }
    66% {
        transform: translate(20px, -30px) scale(0.9);
    }
}

@keyframes floatOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -30px) scale(1.15);
    }
    66% {
        transform: translate(-25px, 35px) scale(0.95);
    }
}

@keyframes floatOrb3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(25px, 25px) scale(1.05);
    }
}

.carousel {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2;
}

/* Decorative Floating Dots */
.hero-decorative-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-decorative-dots .dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.4), rgba(25, 118, 210, 0.1));
}

.dot-1 {
    width: 12px;
    height: 12px;
    top: 15%;
    right: 20%;
    animation: floatDot 6s ease-in-out infinite;
}

.dot-2 {
    width: 8px;
    height: 8px;
    top: 40%;
    right: 10%;
    animation: floatDot 7s ease-in-out infinite 1s;
}

.dot-3 {
    width: 10px;
    height: 10px;
    top: 25%;
    left: 15%;
    animation: floatDot 8s ease-in-out infinite 2s;
}

.dot-4 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 25%;
    animation: floatDot 9s ease-in-out infinite 1.5s;
}

.dot-5 {
    width: 14px;
    height: 14px;
    top: 70%;
    right: 30%;
    animation: floatDot 10s ease-in-out infinite 0.5s;
}

@keyframes floatDot {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(15px, -20px) scale(1.2);
        opacity: 0.3;
    }
}

/* Wave Separator */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

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

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-content {
    max-width: 900px;
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.carousel-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 82, 204, 0.08);
    animation: floatTitle 3s ease-in-out infinite;
}

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

.carousel-content p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 82, 204, 0.25);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator:hover {
    background-color: rgba(0, 82, 204, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--gradient-blue);
    width: 40px;
    border-radius: 5px;
    box-shadow: var(--shadow-blue);
}

/* Buttons - Premium Style */
.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-blue);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.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: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px) scale(1.02);
    color: var(--white);
    background: linear-gradient(135deg, #00285F 0%, #0052CC 50%, #1976D2 100%);
}

.btn:active {
    transform: translateY(-1px) scale(1);
}

/* Pulse effect for primary CTAs */
.btn-pulse {
    animation: btnPulse 3s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: var(--shadow-blue);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 82, 204, 0.3), 0 0 0 8px rgba(0, 82, 204, 0.05);
    }
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue-dark);
}

/* Container & Sections - More Spacious */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Subtle pattern overlay for alternate sections */
section:nth-child(even):not(.hero) {
    position: relative;
}

section:nth-child(even):not(.hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 82, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(25, 118, 210, 0.02) 0%, transparent 50%),
        linear-gradient(90deg, rgba(0, 82, 204, 0.01) 1px, transparent 1px),
        linear-gradient(rgba(0, 82, 204, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    pointer-events: none;
    z-index: 0;
}

section > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding-bottom: 1.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-blue);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3);
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 82, 204, 0.2), transparent);
    border-radius: 2px;
}

/* Content Cards - Modern Elevated Design */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid rgba(0, 82, 204, 0.12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

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

.card:hover::after {
    opacity: 1;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 204, 0.35);
    transform: translateY(-2px);
}

/* Disable hover animations on form cards */
form .card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

form .card:hover::before {
    transform: scaleX(0);
}

form .card:hover::after {
    opacity: 0;
}

.card h3 {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Feature List - Clean & Modern */
.feature-list {
    list-style: none;
    margin: 2.5rem 0;
    padding: 0;
}

.feature-list li {
    padding: 1.25rem 0 1.25rem 3rem;
    position: relative;
    color: var(--text-medium);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    background: linear-gradient(90deg, transparent, rgba(0, 82, 204, 0.02), transparent);
    background-size: 0% 100%;
    background-repeat: no-repeat;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:hover {
    padding-left: 3.5rem;
    color: var(--text-dark);
    background-size: 100% 100%;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 32px;
    height: 32px;
    background: var(--gradient-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    transition: var(--transition-smooth);
}

.feature-list li:hover::before {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-hover);
}

/* Selection Cards - Visual Button Choice */
.selection-card {
    position: relative;
    display: block;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.selection-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

.selection-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
    min-height: 100px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.selection-icon {
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.selection-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

.selection-card:hover .selection-content {
    border-color: var(--primary-blue-light);
}

.selection-card input[type="radio"]:checked ~ .selection-content {
    border-color: var(--primary-blue);
    background: var(--gradient-blue-soft);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.selection-card input[type="radio"]:checked ~ .selection-content .selection-text {
    color: var(--primary-blue);
}

/* Forms - Modern Input Design */
.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.65rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    line-height: 1.6;
}

.radio-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    gap: 0.5rem;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Footer - Premium Dark Design */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #cccccc;
    padding: 4rem 0 1.5rem;
    margin-top: 6rem;
    border-top: 3px solid var(--primary-blue);
}

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

.footer-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #cccccc;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-section p {
    color: #aaaaaa;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-content h1 {
        font-size: 3rem;
    }

    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-md);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 1rem;
        border-radius: 8px;
    }

    .carousel-content {
        padding: 2rem 1.5rem;
    }

    .carousel-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    /* Compact Hero on Mobile */
    .hero-compact {
        min-height: 200px;
    }

    .hero-compact .carousel-content h1 {
        font-size: 1.75rem !important;
    }

    .hero-compact .carousel-content p {
        font-size: 1rem !important;
    }

    /* Fix carousel indicators position on mobile */
    .carousel-indicators {
        bottom: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.65rem;
        margin-bottom: 1rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero {
        min-height: 400px;
    }

    section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .header-container {
        padding: 1rem 1.25rem;
    }

    .card {
        padding: 1.75rem;
    }

    .card-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-list li {
        padding: 0.85rem 0 0.85rem 2.5rem;
        font-size: 0.95rem;
    }

    .feature-list li::before {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        top: 0.85rem;
    }

    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    footer {
        padding: 2.5rem 0 1rem;
        margin-top: 3rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Extra Small Devices (unter 480px) */
@media (max-width: 480px) {
    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .carousel-content h1 {
        font-size: 1.5rem;
        animation: none; /* Disable floating animation on mobile for performance */
    }

    .carousel-content p {
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-grid {
        gap: 1.25rem;
    }

    .hero {
        min-height: 350px;
    }

    /* Simplify hero decorations on mobile */
    .hero::before,
    .hero::after {
        opacity: 0.5;
    }

    .hero-decorative-dots .dot {
        opacity: 0.4;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-wave svg {
        height: 40px;
    }

    .hero-compact {
        min-height: 180px;
    }

    .hero-compact .carousel-content h1 {
        font-size: 1.5rem !important;
    }

    .hero-compact .carousel-content p {
        font-size: 0.95rem !important;
    }

    /* Fix carousel indicators position on small mobile */
    .carousel-indicators {
        bottom: 8px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 30px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-blue {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legacy class for backwards compatibility */
.text-orange {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

/* Staggered animation for cards */
.card-grid .card {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

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

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

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse Animation for CTAs */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}
