/* 
 * Opportunity Card Visa - Style System
 * Custom Premium Theme using Germany flag colors (Charcoal, Crimson, Gold)
 */

:root {
    /* Color Tokens */
    --color-dark-black: #0f172a;
    --color-bg-base: #f8fafc;
    --color-bg-surface: #ffffff;
    --color-bg-surface-elevated: #f1f5f9;
    --color-glass-bg: rgba(255, 255, 255, 0.85);
    --color-glass-border: rgba(0, 0, 0, 0.08);
    
    /* Germany Flag Accents */
    --color-de-black: #111111;
    --color-de-red: #dd1e2f;
    --color-de-red-hover: #b81423;
    --color-de-gold: #d97706; /* Readable amber-gold in light mode */
    --color-de-gold-hover: #b45309;
    
    /* Text Tokens */
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-text-on-accent: #ffffff;
    --color-text-on-gold: #ffffff;
    
    /* Layout & Spacing */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadow & Glow */
    --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-glow-red: 0 4px 14px rgba(221, 30, 47, 0.3);
    --shadow-glow-gold: 0 4px 14px rgba(217, 119, 6, 0.35);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.12);
        border-color: rgba(255, 204, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 204, 0, 0.35);
        border-color: rgba(255, 204, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.12);
        border-color: rgba(255, 204, 0, 0.2);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-text.animate-fade-in-up {
    animation-delay: 0.1s;
}

.hero-graphic.animate-fade-in-up {
    animation-delay: 0.3s;
}

.animate-glow-pulse {
    animation: glowPulse 4s infinite ease-in-out;
}

/* 1. Global Reset & Box Model */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients & Glow Elements */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(221, 30, 47, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.03) 0%, transparent 70%);
    top: 500px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Site Header & Logo */
.site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-logo .accent {
    color: var(--color-de-red);
    position: relative;
}

/* Flag Stripe Indicator */
.flag-icon-container {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.flag-stripe {
    flex: 1;
    width: 100%;
}

.flag-stripe.black { background-color: var(--color-de-black); }
.flag-stripe.red { background-color: var(--color-de-red); }
.flag-stripe.gold { background-color: var(--color-de-gold); }

/* 3. Navigation Styles */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-text-primary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-de-gold);
    transition: var(--transition-smooth);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1010;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    position: absolute;
    transition: var(--transition-smooth);
}

.hamburger-bar:nth-child(1) { top: 0; }
.hamburger-bar:nth-child(2) { top: 10px; }
.hamburger-bar:nth-child(3) { top: 20px; }

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    border-left: 1px solid var(--color-glass-border);
    z-index: 1005;
    padding: 8rem 2rem 2rem;
    transition: var(--transition-smooth);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav-links a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
    color: var(--color-de-gold);
    padding-left: 0.5rem;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 4. Main Content Wrapper */
.main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 350px);
}

/* 5. Premium Layout Blocks & Pages */
.hero-section {
    background: linear-gradient(to right, rgba(248, 250, 252, 0.96) 35%, rgba(248, 250, 252, 0.25) 100%), url('../images/hero.png') no-repeat center center;
    background-size: cover;
    padding: 11rem 2rem 9rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--color-glass-border);
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text-primary) 40%, var(--color-de-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
    display: block;
    color: var(--color-de-red);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* 6. Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--color-de-red);
    color: var(--color-text-on-accent);
    box-shadow: var(--shadow-glow-red);
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--color-de-gold);
    color: var(--color-text-on-gold);
    box-shadow: var(--shadow-glow-gold);
}

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

/* Hero Badge Graphic */
.hero-graphic {
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.hero-main-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-subtle);
}

.hero-floating-badge {
    position: absolute !important;
    bottom: -30px;
    right: -20px;
    max-width: 320px !important;
    padding: 1.75rem !important;
    background: rgba(25, 25, 34, 0.85) !important;
}

.hero-floating-badge .badge-stat {
    font-size: 2.5rem !important;
    margin: 0.5rem 0 !important;
}

.glass-badge {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
}

.glass-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-de-black), var(--color-de-red), var(--color-de-gold));
}

.badge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.badge-header i {
    font-size: 2.5rem;
    color: var(--color-de-gold);
}

.badge-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    background: rgba(255, 204, 0, 0.15);
    color: var(--color-de-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.glass-badge h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.badge-stat {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-de-gold);
    line-height: 1;
    margin: 1.5rem 0;
    font-family: var(--font-heading);
}

.badge-stat span {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* 7. Grid Sections (Cards Layout) */
.section-wrapper {
    padding: 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-de-red), var(--color-de-gold));
    border-radius: 2px;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0.75rem auto 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

/* Glassmorphism Cards */
.card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-glass-border);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.card:hover::after {
    background: linear-gradient(to right, var(--color-de-black), var(--color-de-red), var(--color-de-gold));
}

.card-icon {
    font-size: 2.25rem;
    color: var(--color-de-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-content {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* 8. Interactive Points Calculator Layout */
.calculator-box {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.calculator-form-container {
    padding: 3.5rem;
}

.calculator-form-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.calculator-form-container p {
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.calc-group {
    margin-bottom: 2.25rem;
}

.calc-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.calc-select {
    width: 100%;
    background-color: var(--color-bg-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.calc-select:focus {
    border-color: var(--color-de-gold);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

/* Calculator Sidebar Scorecard */
.calculator-scorecard {
    background: linear-gradient(135deg, var(--color-bg-surface) 0%, var(--color-bg-surface-elevated) 100%);
    border-left: 1px solid var(--color-glass-border);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.score-badge {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--color-bg-base);
    border: 4px solid var(--color-glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.score-badge.eligible {
    border-color: var(--color-de-gold);
    box-shadow: var(--shadow-glow-gold);
}

.score-value {
    font-size: 4rem;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--color-de-gold);
}

.score-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-secondary);
    letter-spacing: 1px;
}

.score-status {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.score-status span {
    color: var(--color-de-red);
}

.score-status.eligible span {
    color: var(--color-de-gold);
}

.score-feedback {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* 9. Affiliated Services & Accordion */
.services-highlight-box {
    margin-bottom: 4rem;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.accordion-item {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    cursor: pointer;
}

.accordion-trigger:hover {
    background-color: rgba(0,0,0,0.02);
}

.accordion-icon {
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    color: var(--color-de-gold);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 1.75rem;
}

.accordion-item.active .accordion-content {
    padding: 0 1.75rem 1.75rem;
}

.accordion-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 10. Partner Logos Bar */
.partners-bar {
    background-color: #f1f5f9;
    padding: 3rem 0;
    border-top: 1px solid var(--color-glass-border);
    border-bottom: 1px solid var(--color-glass-border);
    text-align: center;
}

.partners-bar h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.partners-logos {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 0 2rem;
}

.partner-logo-item {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-muted);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.partner-logo-item:hover {
    opacity: 0.9;
    color: var(--color-text-primary);
}

/* 11. Premium Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-info-panel p {
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-card-item i {
    font-size: 1.5rem;
    color: var(--color-de-gold);
    width: 40px;
    height: 40px;
    background: rgba(255, 204, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-card-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-card-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-subtle);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    background-color: var(--color-bg-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
    padding: 0.875rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-de-red);
    box-shadow: 0 0 10px rgba(221, 30, 47, 0.25);
}

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

.feedback-msg {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.feedback-msg.success {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.feedback-msg.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 12. Site Footer */
.site-footer {
    background-color: var(--color-dark-black);
    border-top: 1px solid var(--color-glass-border);
    position: relative;
    overflow: hidden;
}

.footer-top-wave {
    height: 4px;
    background: linear-gradient(to right, var(--color-de-black), var(--color-de-red), var(--color-de-gold));
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo .accent {
    color: var(--color-de-red);
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--color-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.social-btn:hover {
    color: var(--color-text-primary);
    transform: translateY(-3px);
}

.social-btn.linkedin:hover { background-color: #0077b5; border-color: #0077b5; }
.social-btn.twitter:hover { background-color: #1da1f2; border-color: #1da1f2; }
.social-btn.facebook:hover { background-color: #1877f2; border-color: #1877f2; }
.social-btn.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285aeb 90%); border-color: transparent; }

.footer-container h3 {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    position: relative;
    display: inline-block;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--color-de-gold);
    transition: var(--transition-smooth);
}

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

.footer-links a:hover i {
    transform: translateX(4px);
}

.partner-logos-compact {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.partner-label {
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-glass-border);
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: 4px;
}

.disclaimer {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--color-glass-border);
    padding: 2rem;
    background-color: #08080a;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

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

/* 13. Responsive Breakpoints */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        background: linear-gradient(to bottom, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.98) 100%), url('../images/hero.png') no-repeat center center;
        padding: 8rem 2rem 6rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .calculator-box {
        grid-template-columns: 1fr;
    }
    
    .calculator-scorecard {
        border-left: none;
        border-top: 1px solid var(--color-glass-border);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 4rem;
    }
    
    .footer-bottom-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .calculator-form-container {
        padding: 2rem;
    }
    
    .calculator-scorecard {
        padding: 2.5rem 2rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}

/* Light Theme Footer Override Rules */
.site-footer {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
}

.site-footer h3 {
    color: #ffffff !important;
}

.site-footer p, .site-footer .footer-desc {
    color: #94a3b8 !important;
}

.site-footer .footer-links a {
    color: #cbd5e1 !important;
}

.site-footer .footer-links a:hover {
    color: #ffffff !important;
}

.site-footer .footer-bottom {
    background-color: #090d16 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.site-footer .footer-bottom .copyright, .site-footer .footer-bottom-links a {
    color: #64748b !important;
}

.site-footer .footer-bottom-links a:hover {
    color: #cbd5e1 !important;
}

/* 14. Interactive Wizard Form & Lead Capture Styles */
.hidden {
    display: none !important;
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.calc-select-country {
    width: 130px;
    flex-shrink: 0;
    background-color: var(--color-bg-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
    padding: 0.875rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-select-country:focus {
    border-color: var(--color-de-red);
    box-shadow: 0 0 10px rgba(221, 30, 47, 0.25);
}

.error-text {
    color: var(--color-de-red);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.calc-buttons-row {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.calc-buttons-row .btn {
    flex: 1;
}

.calc-step {
    animation: fadeInUp 0.4s ease-out forwards;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-glass-border);
    font-size: 0.95rem;
}

.breakdown-row:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--color-de-gold);
    font-size: 1.1rem;
    padding-top: 1rem;
}

.success-icon-container {
    animation: glowPulse 3s infinite ease-in-out;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* 10. German Page Banner Styles */
.page-german-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(17, 17, 17, 0.9) 100%), url('../images/german_banner_bg.png') no-repeat center center;
    background-size: cover;
    padding: 5rem 2rem;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
}

.german-banner-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

.german-banner-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    display: flex;
    z-index: 5;
}

.german-banner-stripes span {
    flex: 1;
    height: 100%;
}

.german-banner-stripes .stripe-black {
    background-color: var(--color-de-black);
}

.german-banner-stripes .stripe-red {
    background-color: var(--color-de-red);
}

.german-banner-stripes .stripe-gold {
    background-color: var(--color-de-gold);
}

.german-banner-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 3;
}

.german-banner-content {
    max-width: 800px;
}

.german-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-de-gold);
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
}

.german-banner-badge i {
    font-size: 0.95rem;
}

.german-banner-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.german-banner-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.german-banner-graphic {
    display: flex;
    justify-content: flex-end;
}

.german-banner-eagle {
    width: 120px;
    height: 120px;
    opacity: 0.8;
    animation: glowPulse 5s infinite ease-in-out;
}

.eagle-svg {
    width: 100%;
    height: 100%;
}

/* Responsive banner rules */
@media (max-width: 768px) {
    .page-german-banner {
        padding: 4rem 1.5rem;
    }
    
    .german-banner-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .german-banner-graphic {
        display: none;
    }
    
    .german-banner-content h1 {
        font-size: 2.2rem;
    }
    
    .german-banner-content p {
        font-size: 1rem;
    }
}

/* 11. Page Transition System */
.page-transition-container {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.page-transition-container.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

.page-transition-container.page-exiting {
    opacity: 0;
    transform: translateY(-15px);
}


