/* Homepage CSS - homeoffice-pauschale.com */
/* German Government Design System with Professional Homepage Layout */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* German Design Color Scheme */
:root {
    /* German Government and Financial Institution Colors */
    --color-primary: #003366;        /* Deep Blue - German Government Standard */
    --color-primary-light: #0066cc;  /* Light Blue - Interactive Elements */
    --color-secondary: #4a5568;      /* Dark Gray - Secondary Text */
    --color-accent: #d69e2e;         /* Gold - Emphasis and Success */
    
    /* German Functional Colors */
    --color-success: #38a169;        /* Green - Success/Correct */
    --color-warning: #ed8936;        /* Orange - Warning */
    --color-danger: #e53e3e;         /* Red - Error/Danger */
    --color-info: #3182ce;           /* Info Blue */
    
    /* German Design Neutral Colors */
    --color-light: #f7fafc;          /* Very Light Gray - Background */
    --color-light-gray: #edf2f7;     /* Light Gray - Dividers */
    --color-medium-gray: #a0aec0;    /* Medium Gray - Secondary Elements */
    --color-dark-gray: #2d3748;      /* Dark Gray - Main Text */
    --color-dark: #1a202c;           /* Dark - Headlines */
    
    /* German Typography Optimized Fonts */
    --font-family-primary: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
    --font-family-secondary: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    
    /* German User Preferred Font Sizes */
    --font-size-xs: 0.75rem;         /* 12px */
    --font-size-sm: 0.875rem;        /* 14px */
    --font-size-base: 1rem;          /* 16px - German Website Standard */
    --font-size-lg: 1.125rem;        /* 18px */
    --font-size-xl: 1.25rem;         /* 20px */
    --font-size-2xl: 1.5rem;         /* 24px */
    --font-size-3xl: 1.875rem;       /* 30px */
    --font-size-4xl: 2.25rem;        /* 36px */
    --font-size-5xl: 3rem;           /* 48px */
    
    /* German Design Line Heights and Spacing */
    --line-height-tight: 1.25;
    --line-height-base: 1.5;         /* German Text Optimal Line Height */
    --line-height-relaxed: 1.625;
    
    /* German Website Common Spacing System */
    --spacing-xs: 0.25rem;           /* 4px */
    --spacing-sm: 0.5rem;            /* 8px */
    --spacing-md: 1rem;              /* 16px */
    --spacing-lg: 1.5rem;            /* 24px */
    --spacing-xl: 2rem;              /* 32px */
    --spacing-2xl: 3rem;             /* 48px */
    --spacing-3xl: 4rem;             /* 64px */
    --spacing-4xl: 5rem;             /* 80px */
    --spacing-5xl: 6rem;             /* 96px */
    
    /* German Design Border Radius and Shadows */
    --border-radius-sm: 0.125rem;    /* 2px - Subtle Corners */
    --border-radius-base: 0.25rem;   /* 4px - Standard Corners */
    --border-radius-lg: 0.5rem;      /* 8px - Large Corners */
    --border-radius-xl: 1rem;        /* 16px - Extra Large Corners */
    
    /* German User Preferred Shadow Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* German Animation Preferences - Simple and Efficient */
    --transition-fast: 0.1s ease-out;
    --transition-base: 0.2s ease-in-out;
    --transition-slow: 0.3s ease-in-out;
    
    /* German Government Website Standard Borders */
    --border-width: 1px;
    --border-color: var(--color-light-gray);
    --border-style: solid;
}

/* Base Typography */
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-dark-gray);
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Homepage Layout */
.homepage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background-color: var(--color-primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-base);
}

.main-nav {
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    width: auto;
    color: white;
    transition: var(--transition-base);
}

.brand-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-base);
    transition: var(--transition-base);
    flex-direction: column;
    gap: 4px;
}

.nav-toggle-icon {
    width: 24px;
    height: 3px;
    background-color: currentColor;
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-base);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link:hover,
.nav-link--active {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item--dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    z-index: 1000;
}

.nav-item--dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    list-style: none;
}

.dropdown-link {
    display: block;
    color: var(--color-dark-gray);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-base);
    transition: var(--transition-base);
    font-size: var(--font-size-sm);
}

.dropdown-link:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

.dropdown-icon {
    transition: var(--transition-base);
}

.nav-item--dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Section Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: var(--spacing-5xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-xl);
}

.hero-highlight {
    color: var(--color-accent);
    display: block;
    font-size: var(--font-size-4xl);
}

.hero-description {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-calculator-preview {
    position: relative;
}

.calculator-mockup {
    background-color: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 400px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.calculator-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background-color: var(--color-light-gray);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mockup-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-medium-gray);
}

.mockup-dots span:nth-child(1) { background-color: #ff5f56; }
.mockup-dots span:nth-child(2) { background-color: #ffbd2e; }
.mockup-dots span:nth-child(3) { background-color: #27ca3f; }

.mockup-title {
    font-size: var(--font-size-sm);
    color: var(--color-dark-gray);
    font-weight: 600;
}

.mockup-content {
    padding: var(--spacing-xl);
    color: var(--color-dark-gray);
}

.mockup-form {
    margin-bottom: var(--spacing-lg);
}

.mockup-field {
    margin-bottom: var(--spacing-md);
}

.mockup-field label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}

.mockup-field input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-base);
    font-size: var(--font-size-base);
    background-color: var(--color-light);
}

.mockup-result {
    background-color: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-base);
    text-align: center;
}

.result-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}

.result-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-base);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family-primary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background-color: var(--color-accent);
    color: white;
}

.btn--primary:hover {
    background-color: #b7791f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background-color: var(--color-light-gray);
    color: var(--color-dark-gray);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background-color: var(--color-medium-gray);
    color: var(--color-dark);
}

.btn--outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn--outline:hover {
    background-color: white;
    color: var(--color-primary);
}

.btn--large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-icon {
    flex-shrink: 0;
}

/* Features Section */
.features-section {
    padding: var(--spacing-5xl) 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: var(--color-secondary);
    line-height: var(--line-height-relaxed);
}

/* Calculators Section */
.calculators-section {
    padding: var(--spacing-5xl) 0;
    background-color: var(--color-light);
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.calculator-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-base);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.calculator-card--featured {
    border: 2px solid var(--color-accent);
    position: relative;
}

.card-header {
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-icon--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.card-icon--secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #718096 100%);
}

.card-icon--success {
    background: linear-gradient(135deg, var(--color-success) 0%, #48bb78 100%);
}

.card-icon--warning {
    background: linear-gradient(135deg, var(--color-warning) 0%, #f6ad55 100%);
}

.card-icon--info {
    background: linear-gradient(135deg, var(--color-info) 0%, #4299e1 100%);
}

.card-icon--accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, #f6ad55 100%);
}

.card-badge {
    background-color: var(--color-accent);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-base);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    flex: 1;
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.card-description {
    color: var(--color-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.feature-tag {
    background-color: var(--color-light);
    color: var(--color-dark-gray);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-base);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--color-light-gray);
}

.card-button {
    width: 100%;
    justify-content: center;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-5xl) 0;
    background-color: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.benefits-visual {
    display: flex;
    justify-content: center;
}

.savings-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.savings-item {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.savings-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.savings-amount {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.savings-label {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
}

.savings-description {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.benefit-description {
    color: var(--color-secondary);
    line-height: var(--line-height-relaxed);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-5xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.cta-description {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light-gray);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section--brand {
    max-width: 400px;
}

.footer-brand {
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 36px;
    width: auto;
    color: var(--color-light-gray);
}

.footer-description {
    color: var(--color-medium-gray);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-medium-gray);
    text-decoration: none;
    transition: var(--transition-base);
}

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

.footer-contact p {
    margin-bottom: var(--spacing-md);
    color: var(--color-medium-gray);
    line-height: var(--line-height-relaxed);
}

.footer-contact a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--color-secondary);
    padding-top: var(--spacing-xl);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--color-medium-gray);
    font-size: var(--font-size-sm);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--color-medium-gray);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--color-primary-light);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-item--dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
        margin-top: var(--spacing-sm);
    }

    .dropdown-link {
        color: white;
    }

    .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Hero Section Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-highlight {
        font-size: var(--font-size-2xl);
    }

    .hero-description {
        font-size: var(--font-size-lg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .calculator-mockup {
        width: 100%;
        max-width: 350px;
        transform: none;
    }

    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .feature-item {
        padding: var(--spacing-xl);
    }

    /* Calculators Mobile */
    .calculators-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    /* Benefits Mobile */
    .benefits-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .savings-showcase {
        order: 2;
    }

    .benefits-list {
        order: 1;
    }

    /* CTA Mobile */
    .cta-title {
        font-size: var(--font-size-2xl);
    }

    .cta-description {
        font-size: var(--font-size-lg);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: var(--spacing-2xl);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .calculators-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-content {
        gap: var(--spacing-2xl);
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--spacing-2xl);
    }
}

/* Large Screen Optimizations */
@media (min-width: 1400px) {
    .section-container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: var(--font-size-5xl);
    }

    .calculators-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #000066;
        --color-dark: #000000;
        --border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Privacy Banner Styles */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #fbbf24;
}

.privacy-banner.show {
    transform: translateY(0);
}

.privacy-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-banner-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fbbf24;
}

.privacy-banner-description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.95;
}

.privacy-link {
    color: #fbbf24;
    text-decoration: underline;
    font-weight: 500;
}

.privacy-link:hover {
    color: #f59e0b;
}

.privacy-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.privacy-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.privacy-btn--accept {
    background: #fbbf24;
    color: #1e3a8a;
}

.privacy-btn--accept:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

.privacy-btn--settings {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.privacy-btn--settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.privacy-btn--link {
    background: transparent;
    color: #3b82f6;
    text-decoration: underline;
}

.privacy-btn--link:hover {
    color: #1e40af;
}

/* Privacy Modal Styles */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal.show {
    display: flex;
}

.privacy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.privacy-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.privacy-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.privacy-modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.privacy-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.privacy-modal-body {
    padding: 0 24px 24px 24px;
}

.privacy-category {
    margin-bottom: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.privacy-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.privacy-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.privacy-category-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.privacy-toggle {
    position: relative;
    display: inline-block;
}

.privacy-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.privacy-toggle-label {
    display: block;
    width: 48px;
    height: 24px;
    background: #d1d5db;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.privacy-toggle input:checked + .privacy-toggle-label {
    background: #3b82f6;
}

.privacy-toggle input:disabled + .privacy-toggle-label {
    background: #3b82f6;
    cursor: not-allowed;
    opacity: 0.7;
}

.privacy-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-toggle input:checked + .privacy-toggle-label .privacy-toggle-slider {
    transform: translateX(24px);
}

.privacy-toggle--disabled {
    opacity: 0.8;
}

.privacy-info {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.privacy-info h4 {
    color: #065f46;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.privacy-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-info li {
    color: #047857;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.privacy-modal-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Privacy Banner Mobile Responsive */
@media (max-width: 768px) {
    .privacy-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .privacy-banner-actions {
        width: 100%;
        justify-content: space-between;
    }

    .privacy-btn {
        flex: 1;
        text-align: center;
    }

    .privacy-modal {
        padding: 10px;
    }

    .privacy-modal-content {
        max-height: 90vh;
    }

    .privacy-modal-header {
        padding: 20px 20px 0 20px;
    }

    .privacy-modal-body {
        padding: 0 20px 20px 20px;
    }

    .privacy-modal-footer {
        padding: 20px;
        flex-direction: column;
    }

    .privacy-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Print Styles */
@media print {
    .nav-toggle,
    .hero-visual,
    .cta-section,
    .privacy-banner,
    .privacy-modal {
        display: none;
    }

    .hero-section {
        background: none;
        color: black;
    }

    .site-footer {
        background: none;
        color: black;
    }
}
