/* --- START OF FILE homepage.css (V6.3 - 5 FLAGS & GAP KILLER) --- */

/* 1. FONTS */
@font-face { font-display: swap; font-family: 'Oswald'; font-style: normal; font-weight: 400; src: url('fonts/oswald-v57-latin-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Oswald'; font-style: normal; font-weight: 500; src: url('fonts/oswald-v57-latin-500.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Oswald'; font-style: normal; font-weight: 600; src: url('fonts/oswald-v57-latin-600.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Oswald'; font-style: normal; font-weight: 700; src: url('fonts/oswald-v57-latin-700.woff2') format('woff2'); }

/* 2. HERO SECTION */
.vn-hero-section-new {
    background: radial-gradient(circle at center, #FFFFFF 0%, #CCEDFF 100%);
    
    /* FIX TEIL 1: Wir geben Padding zurück, damit der Text nicht am oberen Rand klebt */
    padding: 30px 20px 60px 20px; 
    
    border-bottom: 1px solid #bfe0f5;
    overflow: visible !important; 
    
    /* FIX TEIL 2: Wir ziehen die Box brachial 50px nach oben, um jede Lücke zu schließen */
    margin-top: -50px !important; 
    
    position: relative; z-index: 1; 
}

.vn-hero-map-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://visanerd.de/wp-content/uploads/2026/01/Clouds-America-VisaNerd-1536x768.png.webp');
    background-size: 75% auto; background-position: center center; background-repeat: no-repeat;
    z-index: 0; opacity: 1; 
}
.vn-hero-wrapper { max-width: 1150px; margin: 0 auto; position: relative; z-index: 2; }

/* Wrapper Padding entfernt, da wir es jetzt oben in der Section regeln (sauberer) */
.vn-hero-wrapper { padding-top: 0px; } 

.vn-hero-container { display: flex; align-items: center; justify-content: space-between; gap: 0px; }

/* HERO TEXT */
.vn-hero-content { flex: 1; text-align: left; z-index: 2; }
.vn-hero-main-title {
    font-family: 'Oswald', sans-serif !important; font-weight: 700 !important;
    font-size: clamp(45px, 6vw, 90px) !important; color: #0056B3 !important;
    line-height: 0.95 !important; margin-bottom: 15px !important;
    text-transform: uppercase !important; letter-spacing: 0.5px !important; white-space: normal !important; 
}
.vn-hero-sub-headline {
    font-family: 'Inter', sans-serif !important; font-size: clamp(18px, 2.5vw, 32px) !important;
    font-weight: 800 !important; color: #0056B3 !important;
    line-height: 1.3 !important; margin-bottom: 25px !important; text-transform: none !important;
}
.vn-hero-subline {
    font-size: 19px !important; line-height: 1.6 !important; color: #334155 !important;
    font-weight: 400 !important; margin-bottom: 30px !important; max-width: 580px;
}
.vn-hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.vn-button {
    display: inline-block; background-color: #FF7F3A !important; color: #ffffff !important;
    font-family: 'Oswald', sans-serif !important; font-weight: 600; font-size: 18px !important;
    padding: 16px 36px !important; border-radius: 8px !important; text-decoration: none !important;
    text-transform: uppercase !important; border: none !important;
    box-shadow: 0 10px 20px rgba(255, 127, 58, 0.25) !important;
    transition: transform 0.2s ease !important; text-align: center; letter-spacing: 0.5px;
}
.vn-button:hover { transform: translateY(-2px) !important; background-color: #e66a2e !important; }

/* 
   HIER IST DIE ÄNDERUNG: 
   Spezielle Klasse nur für den neuen Button mit der Farbe #12B5FF.
*/
.vn-button-blue {
    background-color: #12B5FF !important;
    box-shadow: 0 10px 20px rgba(18, 181, 255, 0.25) !important;
}
.vn-button-blue:hover {
    background-color: #0aa3e6 !important; /* Ein bisschen dunkler beim Hover */
}

/* MASCOT */
.vn-hero-mascot { flex: 0 0 500px; display: flex; justify-content: center; margin-right: -20px; }
.vn-hero-mascot img { width: 100%; height: auto; max-width: 500px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1)); }

/* =========================================
   FLAGGEN STYLING (Die Festung)
   ========================================= */
.vn-hero-flags {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
    justify-content: flex-start; /* Desktop: Links */
}

/* Wir nutzen den Eltern-Selektor für maximale Stärke gegen das Theme */
.vn-hero-section-new .vn-hero-flags img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;   /* Verbietet dem Theme, das Bild zu vergrößern */
    min-width: 32px !important;   /* Verbietet Schrumpfen */
    border-radius: 50% !important; /* Erzwingt den Kreis */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
}

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 1000px) {
    /* Padding oben etwas reduziert, damit es nicht so riesig wirkt */
    .vn-hero-section-new { padding-top: 30px !important; padding-bottom: 40px !important; }
    .vn-hero-map-bg { background-size: 95% auto; background-position: center 120px; opacity: 0.6; }
    
    .vn-hero-container { flex-direction: column; align-items: center; text-align: center; }
    .vn-hero-content { display: contents; /* Wichtig für die Reihenfolge */ }
    
    .vn-hero-main-title { order: 1; width: 100%; text-align: center !important; font-size: 48px !important; }
    .vn-hero-sub-headline { order: 2; width: 100%; text-align: center !important; font-size: 22px !important; }
    
    .vn-hero-mascot { order: 3; flex: 0 0 auto; width: 100%; max-width: 280px; margin: 5px auto 10px auto !important; }
    
    .vn-hero-subline { order: 4; text-align: center !important; font-size: 17px !important; }

    /* Flaggen über die Buttons geschoben (Order 5) */
    .vn-hero-flags {
        order: 5; 
        justify-content: center !important;
        margin-top: 0px !important; 
        margin-bottom: 20px !important; /* Abstand zu den Buttons darunter */
        width: 100%;
    }

    /* Buttons ganz unten (Order 6) */
    .vn-hero-buttons { 
        order: 6; 
        justify-content: center; 
        width: 100%; 
    }
    
    .vn-button { width: 100%; max-width: 320px; padding: 14px 20px !important; }
}

/* 3. PROCESS TIMELINE - FIX GEGEN PLUGIN KONFLIKT */
.vn-process-section { background: #fffcf8; border-bottom: 1px solid #efebe5; padding: 80px 20px; }
.vn-process-wrapper { max-width: 1250px; margin: 0 auto; }
.vn-process-header { text-align: center; margin-bottom: 60px; }
.vn-process-headline {
    font-family: 'Oswald', sans-serif !important; font-weight: 700 !important;
    font-size: clamp(36px, 4vw, 52px) !important; color: #0f172a !important;
    line-height: 1.1; margin: 0 !important; text-transform: uppercase; letter-spacing: 0.5px;
}

.vn-process-grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

@media (min-width: 1000px) {
    .vn-process-grid::before {
        content: ''; position: absolute; top: 30px; left: 50px; right: 50px;
        height: 2px; background: #e2e8f0; z-index: 0;
    }
}

/* NEUE KLASSE: vn-timeline-item statt vn-step */
.vn-timeline-item { 
    position: relative; z-index: 1; display: flex !important; 
    flex-direction: column; align-items: center; text-align: center; 
    visibility: visible !important; opacity: 1 !important; 
}

.vn-icon-circle {
    width: 60px; height: 60px; background-color: #0EA5E9 !important; color: #ffffff !important;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; box-shadow: 0 0 0 8px #fffcf8 !important; 
}

.vn-step-meta { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; font-family: 'Inter', sans-serif; }
.vn-step-title {
    font-family: 'Oswald', sans-serif !important; font-size: 20px !important;
    font-weight: 600 !important; color: #0f172a !important; margin: 0 0 8px 0 !important;
    line-height: 1.2; text-transform: uppercase;
}
.vn-step-desc { font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.5; color: #64748b; margin: 0; }

@media (max-width: 999px) {
    .vn-process-grid { display: flex !important; flex-direction: column; gap: 0; padding-left: 10px; }
    .vn-timeline-item { flex-direction: row; align-items: flex-start; text-align: left; min-height: 120px; }
    .vn-icon-circle { flex-shrink: 0; width: 50px; height: 50px; margin-right: 20px; box-shadow: 0 0 0 5px #fffcf8 !important; }
    .vn-step-content { padding-top: 5px; padding-bottom: 20px; }
    .vn-timeline-item::after { content: ''; position: absolute; top: 50px; left: 25px; bottom: 0; width: 2px; background: #e2e8f0; z-index: -1; }
    .vn-timeline-item:last-child::after { display: none; }
}

/* 4. WIZARD SECTION */
.vn-wizard-section { background: #f0f9ff; border-bottom: 1px solid #dbeafe; }
.vn-wizard-wrapper { max-width: 900px; margin: 0 auto; position: relative; }
.vn-wizard-header { text-align: center; margin-bottom: 50px; }
.vn-wizard-label {
    display: inline-block; font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600;
    color: #FF7F3A; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px;
    background: #ffffff; padding: 6px 16px; border-radius: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.vn-wizard-title {
    font-family: 'Oswald', sans-serif !important; font-weight: 700 !important;
    font-size: clamp(36px, 5vw, 52px) !important; color: #0056B3 !important;
    line-height: 1.1; margin: 0 0 20px 0 !important; text-transform: uppercase; letter-spacing: 0.5px;
}
.vn-wizard-desc { font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.6; color: #334155; margin: 0 auto; max-width: 700px; }
.vn-wizard-box {
    background: #ffffff; border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -5px rgba(0, 86, 179, 0.1); 
    border-radius: 16px; padding: 50px; border-top: 5px solid #0056B3; 
}
@media (max-width: 768px) { .vn-wizard-box { padding: 25px; } .vn-wizard-title { font-size: 32px !important; } }

/* 5. ORIGINAL BARBELL GRID (Die Kacheln unten) */
.vn-grid-original {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}
.vn-card-orig {
    padding: 40px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column;
}
.vn-card-orig.featured {
    border: 2px solid #0f172a; background: #f8fafc; position: relative; overflow: hidden;
}
.vn-badge {
    background: #0f172a; color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 5px 10px; position: absolute; top: 0; right: 0; border-bottom-left-radius: 10px;
}
.vn-card-label {
    font-size: 12px; font-weight: 800; color: #0056b3; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 15px;
}
.vn-card-label.dark { color: #0f172a; }
.vn-card-title {
    font-size: 28px; font-weight: 800; margin: 0 0 15px 0; color: #0f172a;
}
.vn-card-text { color: #334155; font-size: 16px; margin-bottom: 25px; }
.vn-card-list { margin: 0 0 30px 0; padding-left: 0; list-style: none; color: #334155; }
.vn-card-list li { margin-bottom: 10px; display: flex; gap: 10px; }
.vn-card-list li span { color: #0056b3; font-weight: bold; }
.vn-card-list.dark li span { color: #0f172a; }

.vn-button-outline {
    width: 100%; text-align: center; background: #fff !important; color: #0f172a !important;
    border: 2px solid #e2e8f0; display: block; padding: 16px; border-radius: 8px;
    text-decoration: none; font-weight: 800; text-transform: uppercase;
}
.vn-button-solid {
    width: 100%; text-align: center; background: #0f172a !important; color: #fff !important;
    display: block; padding: 16px; border-radius: 8px;
    text-decoration: none; font-weight: 800; text-transform: uppercase;
}