/* ===================================
   CSS Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farben - Ultra Clean & Light */
    --primary-color: #2196F3;
    --secondary-color: #64B5F6;
    --accent-color: #90CAF9;
    --dark-bg: #263238;
    --light-bg: #FAFBFC;
    --white: #ffffff;
    --text-dark: #37474F;
    --text-light: #78909C;
    --border-color: #E1F5FE;
    
    /* Typografie */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    
    /* Spacing */
    --section-padding: 70px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(33, 150, 243, 0.08);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(33, 150, 243, 0.12);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-image {
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(33, 150, 243, 0.06);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(33, 150, 243, 0.08);
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
    transform-origin: center;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1627905646269-7f034dcc5738?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.45);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.25) 0%, 
        rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    color: #FFD700;
    font-size: 1rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 13px 36px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    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.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 16px 40px;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
    border: 2px solid transparent;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(33, 150, 243, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.hero-features {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.95;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feature-item i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(33, 150, 243, 0.4);
}

/* Fade-in Animation */
.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title.fade-in {
    animation-delay: 0.2s;
    animation-fill-mode: backwards;
}

.hero-subtitle.fade-in {
    animation-delay: 0.4s;
    animation-fill-mode: backwards;
}

.btn.fade-in {
    animation-delay: 0.6s;
    animation-fill-mode: backwards;
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ===================================
   Services Section
   =================================== */

.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light-bg);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 1.8rem 1.5rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: -42px auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.35);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.2px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    text-align: center;
}

/* ===================================
   About Section
   =================================== */

.about {
    background-color: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 480px;
    transition: var(--transition);
}

.about-image:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(33, 150, 243, 0.95), rgba(100, 181, 246, 0.95));
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
}

.about-content {
    padding: 1rem 0;
}

.about-text p {
    margin-bottom: 1.3rem;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background-color: var(--white);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.12);
    background-color: rgba(33, 150, 243, 0.02);
}

.feature-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.88rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 1.5rem !important;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    width: 100%;
}

.checkbox-container {
    display: inline-flex;
    position: relative;
    cursor: pointer;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 22px;
    height: 22px;
}

.checkbox-custom {
    position: relative;
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white);
    font-size: 0.75rem;
}

.checkbox-container input[type="checkbox"]:focus ~ .checkbox-custom {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.checkbox-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: text;
    user-select: text;
    flex: 1;
    margin-top: 2px;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.2rem;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.12);
    background: rgba(33, 150, 243, 0.02);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
    transition: var(--transition);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

.info-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-content a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.12);
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.map-container iframe {
    display: block;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 3.5rem 0 1.5rem;
    position: relative;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-list a i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.footer-list a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.footer-contact-list li {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
}

.footer-contact-list i {
    color: var(--secondary-color);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 1.8rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .logo-image {
        height: 48px;
    }

    .footer-logo-image {
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(248, 251, 253, 0.98) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 2px 0 30px rgba(74, 144, 226, 0.2);
        padding: 100px 0 2rem;
        gap: 0.3rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0;
        width: 85%;
        margin: 0 auto;
        opacity: 0;
        transform: translateX(-20px);
        animation: slideIn 0.3s ease forwards;
    }

    .nav-menu.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) {
        animation-delay: 0.25s;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .nav-link::before {
        bottom: 12px;
    }

    .nav-link-cta {
        margin-left: 0;
        margin-top: 1rem;
        box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -0.8px;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        padding: 14px 32px;
    }
    
    .hero-features {
        gap: 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-feature-item i {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-image {
        height: 220px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-form label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .checkbox-wrapper {
        gap: 0.7rem;
        align-items: flex-start;
    }
    
    .checkbox-container {
        flex-shrink: 0;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    
    .checkbox-custom {
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin-top: 2px;
    }
    
    .checkbox-text {
        font-size: 0.85rem;
        flex: 1;
        cursor: default !important;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        height: 320px;
        position: relative;
    }
    
    .about-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to top, rgba(33, 150, 243, 0.4), transparent);
        pointer-events: none;
    }
    
    .about-image-overlay {
        position: static;
        margin-top: 1.5rem;
        border-radius: 12px;
        padding: 1.5rem 1rem;
        background: linear-gradient(135deg, rgba(33, 150, 243, 0.95), rgba(100, 181, 246, 0.95));
    }
    
    .about-stats {
        flex-wrap: nowrap;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    section {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 0.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo-image {
        margin: 0 auto 1rem;
        display: block;
        height: 60px;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 13px 28px;
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 1.2rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 0;
    }

    .service-content {
        padding: 1.5rem 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem 1.2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 11px;
        font-size: 0.9rem;
    }
    
    .contact-form button {
        padding: 13px;
        font-size: 0.95rem;
    }
    
    .checkbox-wrapper {
        gap: 0.6rem;
        align-items: flex-start;
    }
    
    .checkbox-container {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
        min-width: 18px;
        margin-top: 1px;
    }
    
    .checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
        font-size: 0.65rem !important;
    }
    
    .checkbox-text {
        font-size: 0.8rem;
        line-height: 1.4;
        flex: 1;
        cursor: default !important;
        -webkit-tap-highlight-color: transparent;
    }

    .service-image {
        height: 180px;
    }

    .about-image {
        height: 300px;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

/* ===================================
   Scroll Animation
   =================================== */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Legal Pages (Impressum & Datenschutz)
   =================================== */

.legal-page {
    padding: 120px 0 80px;
    background-color: var(--white);
    min-height: 100vh;
}

.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-section {
    margin-bottom: 0.1rem;
}

.legal-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 1rem;
}

.legal-section strong {
    color: var(--dark-bg);
    font-weight: 600;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section ul li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.legal-section a:hover {
    color: var(--secondary-color);
}

.legal-back {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.legal-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-content {
        padding: 0 1.5rem;
    }

    .legal-content h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-back {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}
