/* VoreMinder.dk - Main Stylesheet */

/* Reset og grundlæggende */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farver */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #f59e0b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Grå skala */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typografi */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background: #fff;
}

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1.25rem;
}

.main-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.main-nav a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
}

.support-highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.support-highlight:hover {
    background: var(--primary-dark);
}

.support-hours {
    font-size: 0.875rem;
    opacity: 0.9;
}

.support-phone {
    font-size: 1rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.hero-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--danger);
    margin-bottom: var(--spacing-xl);
}

.hero-illustration {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: var(--spacing-xl) auto 0;
}

/* Story Sections */
.story-section {
    padding: var(--spacing-3xl) 0;
}

.story-section.alt {
    background: var(--gray-50);
}

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

.story-grid.reverse {
    direction: rtl;
}

.story-grid.reverse > * {
    direction: ltr;
}

.story-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.story-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.story-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: var(--spacing-lg);
}

.story-illustration {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.inline-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}

.inline-link:hover {
    gap: 0.5rem;
}

.inline-link::after {
    content: '→';
}

/* Solutions */
.solutions {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.solution-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.solution-number {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.solution-icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-md);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.solution-card p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
}

.solution-link:hover {
    gap: var(--spacing-sm);
}

/* Why Different */
.why-different {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-900);
    color: white;
}

.why-different h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-2xl);
}

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

.difference-card {
    text-align: center;
}

.difference-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
}

.difference-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.difference-card p {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.small-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.small-link:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    text-align: center;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.cta-subtext {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

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

.cta-reassurance {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-style: italic;
}

/* Footer */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-tagline {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Responsive */
@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .story-grid.reverse {
        direction: ltr;
    }
    
    .story-illustration {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2,
    .why-different h2,
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: var(--spacing-sm);
        border-top: 1px solid var(--gray-200);
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .story-section,
    .solutions,
    .why-different,
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .story-section,
    .solution-card,
    .difference-card {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .story-section:nth-child(odd) {
        animation-delay: 0.1s;
    }
    
    .story-section:nth-child(even) {
        animation-delay: 0.2s;
    }
    
    .solution-card:nth-child(1) { animation-delay: 0.1s; }
    .solution-card:nth-child(2) { animation-delay: 0.2s; }
    .solution-card:nth-child(3) { animation-delay: 0.3s; }
    .solution-card:nth-child(4) { animation-delay: 0.4s; }
    
    .difference-card:nth-child(1) { animation-delay: 0.1s; }
    .difference-card:nth-child(2) { animation-delay: 0.2s; }
    .difference-card:nth-child(3) { animation-delay: 0.3s; }
    .difference-card:nth-child(4) { animation-delay: 0.4s; }
}

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

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-section {
        display: none;
    }
    
    .story-section {
        page-break-inside: avoid;
    }
}