:root {
  --bg-color: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --accent: #7f1d1d;
  --text-main: #0f172a;
  --text-light: #475569;
  --surface: #f8fafc;
  --surface-alt: #eff6ff;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 4px -1px rgb(0 0 0 / 0.05);
  --shadow: 0 10px 15px -3px rgb(37 99 235 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(37 99 235 / 0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; min-width: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--primary-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 2rem; text-align: center; width: 100%; display: block; clear: both; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 1.25rem; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; }
.section-padding { padding: 4rem 0; clear: both; }
.bg-surface { background-color: var(--surface); }

/* Buttons */
/* Hero Specific Buttons (2027 Pill Design) */
.hero .btn-primary, .hero .btn-phone {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    border-radius: 100px;
    padding: 0;
    position: relative;
    padding-right: 1.5rem;
    font-weight: 750;
    font-size: 1.15rem;
    box-shadow: 0 8px 15px -3px rgba(37, 99, 235, 0.15);
    transition: var(--transition);
    height: 54px;
    text-decoration: none;
    cursor: pointer;
}

.hero .btn-primary { margin-bottom: 2.5rem; }
.hero .btn-phone { margin-top: 0.5rem; }

.hero .btn-primary::before {
    content: "KOSTENLOS & SCHNELL";
    position: absolute;
    top: -20px;
    left: 60px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.hero .btn-phone::before {
    content: "JETZT ANRUFEN";
    position: absolute;
    top: -20px;
    left: 60px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.primary-icon-circle, .phone-icon-circle {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: -2px;
    margin-right: 0.85rem;
    box-shadow: 3px 0 8px rgba(37, 99, 235, 0.25);
}

.hero .btn-primary:hover, .hero .btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(37, 99, 235, 0.25);
    background: #f8fafc;
}

/* Form & General Buttons (Clean & Solid) */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 1.5rem;
}
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.robot-check { margin-bottom: 1rem; clear: both; display: flex; align-items: center; gap: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #ffffff; border-bottom: 1px solid var(--border); padding: 0.75rem 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); text-decoration: none; }
.logo span { color: var(--primary); }

/* Hero Section 2027 */
.hero { 
    padding: 5rem 0; 
    background: var(--surface-alt); 
    position: relative; 
    overflow: hidden;
}
.hero-grid { 
    display: grid; 
    grid-template-columns: 1.25fr 1fr; 
    gap: 4rem; 
    align-items: center; 
}
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}
.hero-image { 
    width: 100%; 
    height: auto; 
    
    /* Optimized for Premium Badge Image */
    filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.25));
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    
    /* Remove old blending that might interfere with dark neon designs */
    mix-blend-mode: normal;
    mask-image: none;
    -webkit-mask-image: none;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-image:hover { 
    transform: scale(1.05) translateY(-10px); 
    filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.4));
    animation-play-state: paused;
}

/* 2027 Evolution: Better Separation & Spacing */
.glass-trust-bar { margin-top: -2rem; margin-bottom: 3rem; position: relative; z-index: 10; padding: 0 1rem; }
.trust-flex {
    display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;
    background: #ffffff; border: 1px solid var(--border); box-shadow: var(--shadow);
    border-radius: 100px; padding: 1rem 2rem; gap: 1rem;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--primary-dark); }

/* Comparison Table Fixed */
.comparison-wrapper { margin: 3rem auto; max-width: 100%; overflow-x: auto; background: #fff; border-radius: 12px; border: 1px solid var(--border); }
.vs-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.vs-table th, .vs-table td { padding: 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.th-unser { background: var(--primary-dark); color: #fff; }

/* Steps */
.steps-wrapper { max-width: 800px; margin: 0 auto; }
.step-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; background: #fff; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); }
.step-number { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* FAQ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
#faq summary { padding: 1.25rem; font-weight: 600; cursor: pointer; color: var(--primary-dark); }
details.glass-faq { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 0.75rem; }

/* Contact Form Clean */
.premium-contact-section { padding: 5rem 0; background: var(--surface); }
.glass-form-wrapper { max-width: 800px; margin: 0 auto; background: #fff; padding: 3rem; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group.full-width { grid-column: 1 / -1; }
.glass-input, .glass-select, .glass-textarea { width: 100%; padding: 0.875rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 1rem; }

/* Mobile CTA */
.mobile-sticky-cta { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; padding: 1rem; display: none; z-index: 1000; border-top: 1px solid var(--border); }
.mobile-sticky-cta .btn { width: 100%; text-decoration: none; }

/* Footer Redesign 2027 */
.site-footer {
    background: #0f172a;
    color: #f1f5f9;
    padding: 6rem 0 3rem;
    border-top: 5px solid var(--primary);
    clear: both;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 1rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--primary);
    transform: translateX(6px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #f1f5f9;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
.footer-legal-note {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Premium Brand Banner (Dynamic Replacement for Static Photo) */
.premium-brand-section { padding: 4rem 0; clear: both; }

.brand-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 32px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.brand-banner::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.brand-domain {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2.5px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff 30%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    margin-bottom: 2rem;
    line-height: 1;
}

.brand-tagline {
    display: flex;
    align-items: stretch;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.tagline-main {
    padding: 0.75rem 2rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.tagline-sub {
    background: #f59e0b;
    color: #000;
    padding: 0.75rem 2rem;
    font-weight: 900;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.brand-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.brand-benefits li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
}

.benefit-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.brand-phone {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: #000;
    padding: 1rem 3rem;
    border-radius: 100px;
    font-size: 2rem;
    font-weight: 850;
    color: #fff;
    text-decoration: none;
    border: 3px solid #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    transition: var(--transition);
}

.brand-phone span { color: #f59e0b; }

.brand-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.brand-banner-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-badge {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) scale(1.02); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@media (max-width: 991px) {
    .brand-banner { grid-template-columns: 1fr; padding: 3rem 2rem; text-align: center; }
    .brand-tagline { margin: 0 auto 2.5rem; }
    .brand-benefits { align-items: center; }
    .brand-phone { font-size: 1.5rem; padding: 0.8rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-image-wrapper { 
        display: block; 
        order: 2; 
        margin-top: 2.5rem; 
        width: 100%;
    }
    .hero-image { 
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        mix-blend-mode: normal;
        mask-image: none;
        -webkit-mask-image: none;
        filter: drop-shadow(0 15px 35px rgba(37, 99, 235, 0.2));
        animation: floatMobile 5s ease-in-out infinite;
    }
    .form-grid { grid-template-columns: 1fr; }
    .trust-flex { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
        border-radius: 24px; 
        padding: 1.25rem;
    }
}

@keyframes floatMobile {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    .brand-tagline { flex-direction: column; width: 100%; }
    .tagline-sub { justify-content: center; }
    .mobile-sticky-cta { display: block; }
    .section-padding { padding: 3rem 0; }
    .hero h1 { font-size: 2.25rem; }
}
