/* CSS Variables für einheitliche Farben */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --bg-primary: #0d1421;
    --bg-secondary: #1a1a2e;
    --accent-hover: #4a90e2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-secondary);
    opacity: 0.8;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(102, 126, 234, 0.2);
    color: var(--accent-hover);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-hover);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#btn-loading, #btn-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

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

#btn-success {
    color: #28a745;
}

/* Footer */
footer {
    background: var(--bg-primary);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-hover);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-hover);
}

.footer-section i {
    color: var(--accent-hover);
    margin-right: 0.5rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-bottom a {
    color: #888888;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-hover);
}

/* Legal Pages Styling */
.legal-section {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-section .container {
    max-width: 800px;
}

.legal-section h1 {
    color: var(--accent-hover);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    border-bottom: 2px solid var(--accent-hover);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--accent-hover);
}

.legal-section h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-section ul {
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.legal-section a {
    color: var(--accent-hover);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    /* Mobile Sections */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-section {
        padding: 100px 0 60px;
    }
    
    .legal-section h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .service-card,
    .portfolio-item {
        margin: 0 10px;
    }
}

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

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

/* AOS Animation Overrides */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

/* Selection Styling */
::selection {
    background: var(--accent-hover);
    color: white;
}

::-moz-selection {
    background: var(--accent-hover);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* MOBILE VERSION - KOMPLETT NEU STRUKTURIERT */
@media (max-width: 768px) {
    
    /* BODY UND CONTAINER - Basis Fix */
    body {
        overflow-x: hidden !important;
        font-size: 14px !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 8px !important;
        margin: 0 auto !important;
    }
    
    /* NAVIGATION - Komplett neu */
    .navbar {
        padding: 8px 0 !important;
        position: fixed !important;
        width: 100% !important;
        z-index: 9999 !important;
    }
    
    .navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 10px !important;
    }
    
    .nav-brand {
        font-size: 1.2rem !important;
        flex-shrink: 0 !important;
    }
    
    /* CTA BUTTON IN NAVIGATION - WINZIG MACHEN */
    .navbar .cta-button,
    .nav-menu .cta-button {
        padding: 4px 8px !important;
        font-size: 0.6rem !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        max-width: 70px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
        height: auto !important;
        min-height: 20px !important;
    }
    
    /* Mobile Menu ausblenden */
    .nav-menu {
        display: none !important;
    }
    
    /* HERO SECTION */
    .hero {
        padding: 70px 0 30px !important;
        min-height: 60vh !important;
    }
    
    .hero-content {
        text-align: center !important;
        padding: 0 !important;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        padding: 0 5px !important;
    }
    
    .hero p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.2rem !important;
        padding: 0 10px !important;
    }
    
    .hero .cta-button {
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
        margin: 0.5rem !important;
    }
    
    /* PROJEKTKOSTENRECHNER - KOMPLETT NEU */
    .cost-calculator {
        max-width: calc(100vw - 16px) !important;
        margin: 10px 8px !important;
        padding: 12px 8px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        overflow: hidden !important;
    }
    
    .cost-calculator h3 {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        line-height: 1.2 !important;
        padding: 0 5px !important;
    }
    
    .cost-calculator p {
        font-size: 0.7rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
    }
    
    /* Calculator Form Layout */
    .calculator-form {
        display: block !important;
    }
    
    .calculator-section {
        margin-bottom: 15px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }
    
    .calculator-section h4 {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
        color: var(--accent-hover) !important;
        text-align: center !important;
    }
    
    .calculator-options {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
    
    .calculator-item {
        padding: 6px 8px !important;
        font-size: 0.7rem !important;
        border-radius: 6px !important;
        margin: 2px 0 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        text-align: center !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    
    .calculator-item:hover,
    .calculator-item.selected {
        background: rgba(102, 126, 234, 0.3) !important;
        border-color: var(--accent-hover) !important;
    }
    
    .price-display {
        font-size: 1rem !important;
        padding: 8px !important;
        margin: 10px 0 !important;
        text-align: center !important;
        background: rgba(102, 126, 234, 0.2) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(102, 126, 234, 0.3) !important;
    }
    
    /* KUNDENZUFRIEDENHEIT - KOMPLETT NEU */
    .satisfaction-section {
        padding: 20px 0 !important;
        margin: 10px 0 !important;
    }
    
    .satisfaction-section h2 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        padding: 0 8px !important;
    }
    
    .satisfaction-section p {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    /* Statistiken in 2x2 Grid */
    .satisfaction-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 0 8px !important;
        max-width: 100% !important;
    }
    
    .stat-item {
        padding: 8px 4px !important;
        margin: 0 !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        min-height: 60px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .stat-number {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        color: var(--accent-hover) !important;
    }
    
    .stat-label {
        font-size: 0.6rem !important;
        line-height: 1.2 !important;
        color: var(--text-secondary) !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 2px !important;
    }
    
    /* SERVICES SECTION */
    .services-section {
        padding: 25px 0 !important;
    }
    
    .section-title h2 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        padding: 0 8px !important;
    }
    
    .section-title p {
        font-size: 0.8rem !important;
        padding: 0 12px !important;
        margin-bottom: 20px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
    
    .service-card {
        padding: 15px 10px !important;
        margin: 5px 0 !important;
        border-radius: 12px !important;
    }
    
    .service-icon {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }
    
    .service-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .service-card p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    /* PORTFOLIO SECTION */
    .portfolio-section {
        padding: 25px 0 !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
    
    .portfolio-item {
        margin: 5px 0 !important;
        border-radius: 12px !important;
    }
    
    .portfolio-image {
        height: 120px !important;
    }
    
    .portfolio-content {
        padding: 12px 10px !important;
    }
    
    .portfolio-content h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .portfolio-content p {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    
    .tech-tag {
        padding: 2px 6px !important;
        font-size: 0.6rem !important;
        border-radius: 4px !important;
        margin: 1px !important;
    }
    
    /* CTA SECTION */
    .cta-section {
        padding: 25px 0 !important;
    }
    
    .cta-section h2 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        padding: 0 8px !important;
        line-height: 1.3 !important;
    }
    
    .cta-section p {
        font-size: 0.8rem !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
        line-height: 1.4 !important;
    }
    
    /* CONTACT FORM */
    .contact-form {
        max-width: calc(100vw - 16px) !important;
        margin: 0 8px !important;
        padding: 12px 10px !important;
        border-radius: 12px !important;
    }
    
    .form-group {
        margin-bottom: 10px !important;
    }
    
    .form-group label {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }
    
    .form-group textarea {
        min-height: 80px !important;
    }
    
    .submit-btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
        margin-top: 10px !important;
    }
    
    /* FOOTER */
    footer {
        padding: 20px 0 10px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        text-align: center !important;
        padding: 0 8px !important;
    }
    
    .footer-section {
        margin-bottom: 10px !important;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .footer-section p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 4px !important;
    }
    
    .footer-bottom {
        padding-top: 10px !important;
        font-size: 0.7rem !important;
    }
    
    /* ALLGEMEINE MOBILE TYPOGRAPHY */
    h1 { font-size: 1.4rem !important; line-height: 1.3 !important; }
    h2 { font-size: 1.2rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1rem !important; line-height: 1.3 !important; }
    h4 { font-size: 0.9rem !important; line-height: 1.3 !important; }
    
    p { 
        font-size: 0.8rem !important; 
        line-height: 1.4 !important; 
        margin-bottom: 0.8rem !important;
    }
    
    /* ALLE BUTTONS STANDARDISIEREN */
    .btn, button, .cta-button {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        border-radius: 15px !important;
        display: inline-block !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    /* SECTIONS KOMPAKTER */
    section {
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* SCROLL BEHAVIOR */
    body, html {
        overflow-x: hidden !important;
        scroll-behavior: smooth !important;
    }
}

/* EXTRA KLEINE HANDYS (iPhone SE etc.) */
@media (max-width: 375px) {
    
    .container {
        padding: 0 5px !important;
    }
    
    .navbar .cta-button {
        font-size: 0.5rem !important;
        padding: 3px 6px !important;
        max-width: 50px !important;
    }
    
    .cost-calculator {
        margin: 5px 3px !important;
        padding: 8px 5px !important;
    }
    
    .satisfaction-stats {
        gap: 5px !important;
    }
    
    .stat-number {
        font-size: 1rem !important;
    }
    
    .stat-label {
        font-size: 0.55rem !important;
    }
    
    .contact-form {
        margin: 0 5px !important;
        padding: 8px 6px !important;
    }
}