/* ==========================================================================
   Typografie & Lokale Schriftart
   ========================================================================== */
@font-face {
    font-family: 'CustomFont';
    src: url('fonts/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Outfit als Variable Font deckt den kompletten Bereich ab */
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS Variablen (Farben & Einstellungen)
   Primärfarbe: Professionelles Tiefblau
   Sekundärfarbe: Vertrauenserweckendes, modernes Cyan/Teal
   ========================================================================== */
:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #0EA5E9;
    --secondary-hover: #0284C7;
    --text-dark: #334155;
    --text-light: #F8FAFC;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-main: 'CustomFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Base Resets
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header (Sticky)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.header-support {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.support-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94A3B8;
}

.support-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-phone:hover {
    color: var(--text-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.hero-container {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #CBD5E1;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    word-break: break-word;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Services Section (Kacheln)
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 15px;
    color: var(--primary);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #64748B;
}

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

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    color: #475569;
    font-size: 0.95rem;
}

/* ==========================================================================
   Über mich Section
   ========================================================================== */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-container {
    max-width: 800px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #334155;
}

/* ==========================================================================
   Tech Section
   ========================================================================== */
.tech-section {
    padding: 60px 0;
    background-color: var(--primary);
    color: var(--text-light);
    text-align: center;
}

.tech-section .section-title {
    color: var(--text-light);
}

.tech-intro {
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.tech-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background-color: var(--primary-light);
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    border: 1px solid #334155;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.price-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.price-desc {
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 25px;
}

.price-features {
    list-style: none;
    margin-top: auto;
}

.price-features li {
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #475569;
}

.price-features li::before {
    content: "✓ ";
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================================================================
   Sales Closing CTA Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-light);
    color: var(--text-light);
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 35px;
}

.btn-call {
    background-color: #22C55E;
    color: #FFFFFF;
    font-size: 1.1rem;
}

.btn-call:hover {
    background-color: #16A34A;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: var(--primary);
    color: #94A3B8;
    padding-top: 50px;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-info h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .header-support {
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}