/* tunnel/vs-faehre.css – Eurotunnel vs Fähre Vergleichsseite */

:root {
    --primary-blue: #003d82;
    --secondary-blue: #0066cc;
    --accent-green: #28a745;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #212529;
}

/* Skip Link – Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}
.navbar-brand { color: var(--primary-blue); font-size: 1.3rem; }
.navbar-brand:hover { color: var(--secondary-blue); }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem 0 1.5rem;
    margin-bottom: 2rem;
}
.page-header h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.2; }
.page-header .lead { font-size: 1rem; opacity: 0.95; margin-bottom: 1rem; }
.hero-image { margin: 1.5rem 0 0; text-align: center; }
.hero-image img { width: 100%; max-width: 1200px; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.hero-image figcaption { font-size: 0.75rem; opacity: 0.7; margin-top: 0.5rem; }

/* Breadcrumb */
.breadcrumb { background: transparent; margin-bottom: 0; padding: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb-item a:hover { color: white; }
.breadcrumb-item.active { color: rgba(255,255,255,0.9); }

/* Quick Navigation / TOC */
.quick-nav {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 2px solid #dee2e6;
}
.quick-nav h2 { font-size: 1.1rem; margin-bottom: 1rem; color: #003d82; font-weight: 700; }
.quick-nav-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.quick-nav a {
    color: #212529; text-decoration: none; padding: 0.5rem 0;
    display: flex; align-items: center; transition: color 0.2s; font-weight: 500;
}
.quick-nav a:hover { color: #0066cc; }
.quick-nav i { margin-right: 0.5rem; color: #0066cc; font-size: 1.1rem; }

/* Comparison Table */
.comparison-header {
    background: #003d82; color: white; padding: 1.5rem;
    border-radius: 8px 8px 0 0; text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.comparison-header h2 { font-size: 1.5rem; margin: 0; font-weight: 700; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.comparison-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; padding: 0.5rem; }

.comparison-card {
    background: white; border: 2px solid #dee2e6; border-radius: 8px;
    overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.comparison-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-color: #adb5bd; }

.comparison-card-header { padding: 1.25rem; text-align: center; font-weight: 600; }
.comparison-card-header h3 { margin: 0; font-size: 1.25rem; color: #fff !important; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.comparison-card-header i { color: #fff !important; }
.tunnel-header { background: linear-gradient(135deg, #1a2f5a 0%, #2d4a7c 100%); color: #fff !important; }
.ferry-header { background: linear-gradient(135deg, #005299 0%, #0073cc 100%); color: #fff !important; }
.tunnel-header h3, .ferry-header h3 { color: #fff !important; }

.comparison-card-body { padding: 1.5rem; background: #fff; }
.comparison-item { display: flex; align-items: flex-start; padding: 0.75rem 0; border-bottom: 1px solid #dee2e6; color: #212529; }
.comparison-item:last-child { border-bottom: none; }
.comparison-item i { margin-right: 0.75rem; margin-top: 0.25rem; font-size: 1.5rem; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)); }
.comparison-item .bi-check-circle-fill { color: #198754 !important; }
.comparison-item .bi-x-circle-fill { color: #d32f2f !important; }
.comparison-item .bi-dash-circle-fill { color: #f57c00 !important; }
.comparison-item strong { color: #000; font-weight: 700; }
.comparison-item div { color: #1a1a1a; font-size: 0.95rem; }

/* Content Sections */
.content-section {
    background: white; border-radius: 8px; padding: 1.5rem;
    margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.content-section h2 {
    color: #003d82; font-size: 1.5rem; margin-bottom: 1rem;
    padding-bottom: 0.5rem; border-bottom: 3px solid #0066cc; font-weight: 700;
}
.content-section h3 { color: #212529; font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 700; }
.content-section ul, .content-section ol { color: #212529; line-height: 1.8; }
.content-section ul li, .content-section ol li { margin-bottom: 0.5rem; color: #212529; }
.content-section ul li strong, .content-section ol li strong, .content-section p strong { color: #000; font-weight: 700; }

/* Hero image in section */
.section-hero { width: 100%; border-radius: 8px; margin-bottom: 1.5rem; }
.section-hero img { width: 100%; height: auto; border-radius: 8px; display: block; }
.section-hero figcaption { font-size: 0.8rem; color: #6c757d; margin-top: 0.25rem; text-align: right; }

/* Info Boxes */
.info-box { padding: 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; border-left: 4px solid; }
.info-box-success { background: #d1e7dd; border-color: #198754; color: #0a3622; }
.info-box-warning { background: #fff3cd; border-color: #fd7e14; color: #664d03; }
.info-box-info { background: #cfe2ff; border-color: #0d6efd; color: #052c65; }
.info-box h4 { margin-top: 0; margin-bottom: 0.75rem; display: flex; align-items: center; font-size: 1.1rem; font-weight: 700; color: inherit; }
.info-box i { margin-right: 0.5rem; font-size: 1.4rem; }
.info-box p, .info-box ul { color: inherit; }
.info-box strong { font-weight: 700; }

/* Statistics Grid */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.5rem 0; }
.stat-card {
    background: #f8f9fa; padding: 1.25rem; border-radius: 8px; text-align: center;
    border: 2px solid #dee2e6; transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.stat-card i { font-size: 2rem; color: #0066cc; margin-bottom: 0.5rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); }
.stat-number { font-size: 1.75rem; font-weight: 700; color: #003d82; display: block; margin: 0.5rem 0; }
.stat-label { color: #212529; font-size: 0.9rem; font-weight: 500; }

/* Decision Guide */
.decision-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.decision-card {
    background: white; border: 2px solid #dee2e6; border-radius: 8px;
    padding: 1.5rem; transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.decision-card:hover { border-color: var(--secondary-blue); box-shadow: 0 4px 8px rgba(0,0,0,0.12); }
.decision-card h3 { margin-top: 0; color: #003d82; font-size: 1.3rem; margin-bottom: 1rem; font-weight: 700; }
.decision-list { list-style: none; padding: 0; }
.decision-list li { padding: 0.5rem 0; display: flex; align-items: flex-start; color: #212529; }
.decision-list i { margin-right: 0.75rem; margin-top: 0.25rem; color: #198754; font-size: 1.2rem; flex-shrink: 0; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1)); }

/* Price Comparison Table */
.price-table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.price-table th, .price-table td { padding: 0.75rem; text-align: left; border: 1px solid #dee2e6; color: #212529; }
.price-table thead th { background: #003d82; color: white; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.price-table tbody tr:nth-child(even) { background: #f8f9fa; }
.price-table tbody tr:hover { background: #e9ecef; }
.price-highlight { background: #fff3cd !important; font-weight: 700; color: #000; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white; padding: 2rem 1.5rem; border-radius: 8px; text-align: center; margin: 2rem 0;
}
.cta-section h2 { color: white; margin-bottom: 1rem; font-size: 1.5rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; margin: 1.5rem auto 0; }
.btn-cta-primary {
    background: white; color: #003d82; border: 2px solid white;
    padding: 0.75rem 1.5rem; font-weight: 700; border-radius: 6px;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-cta-primary:hover { background: #003d82; color: white; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.btn-cta-secondary {
    background: transparent; color: white; border: 2px solid white;
    padding: 0.75rem 1.5rem; font-weight: 700; border-radius: 6px;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.btn-cta-secondary:hover { background: white; color: #003d82; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

/* Related Links */
.related-links { background: var(--light-gray); padding: 1.5rem; border-radius: 8px; margin-top: 2rem; }
.related-links h3 { color: #003d82; font-size: 1.2rem; margin-bottom: 1rem; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.related-link {
    background: white; padding: 0.75rem 1rem; border-radius: 6px;
    text-decoration: none; color: #212529; display: flex; align-items: center;
    transition: all 0.2s; border: 2px solid #dee2e6; font-weight: 500;
}
.related-link:hover { background: #0066cc; color: white; transform: translateX(4px); border-color: #0066cc; }
.related-link i { margin-right: 0.75rem; color: #0066cc; font-size: 1.1rem; }
.related-link:hover i { color: white; }

/* Sidebar */
.sidebar { margin-top: 2rem; }
.sidebar-widget {
    background: white; border-radius: 8px; padding: 1.5rem;
    margin-bottom: 1.5rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border: 1px solid #dee2e6;
}
.sidebar-widget h3 { color: #003d82; font-size: 1.2rem; margin-bottom: 1rem; font-weight: 700; }
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget li { padding: 0.5rem 0; border-bottom: 1px solid #e9ecef; }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a { color: #212529; text-decoration: none; display: flex; align-items: center; transition: color 0.2s; font-weight: 500; }
.sidebar-widget a:hover { color: #0066cc; }
.sidebar-widget i { margin-right: 0.5rem; color: #0066cc; }
/* Fix btn-outline-light contrast: .sidebar-widget a (0,1,1) beats Bootstrap .btn (0,1,0) */
.sidebar-widget .btn-outline-light { color: #f8f9fa; border-color: rgba(255,255,255,0.6); }
.sidebar-widget .btn-outline-light i { color: inherit; }
.sidebar-widget .btn:hover { padding-left: 0.75rem; }

/* Map */
#route-map { height: 350px; border-radius: 8px; margin-bottom: 1rem; z-index: 1; }

/* Footer */
footer { background: var(--primary-blue); color: white; padding: 2rem 0 1rem; margin-top: 3rem; }
footer h5 { color: white; font-size: 1.1rem; margin-bottom: 1rem; }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: white; }
.copyright { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; margin-top: 2rem; text-align: center; color: rgba(255,255,255,0.8); }

/* Responsive – Tablet */
@media (min-width: 768px) {
    .page-header h1 { font-size: 2.25rem; }
    .page-header .lead { font-size: 1.1rem; }
    .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .decision-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-buttons { flex-direction: row; }
}

/* Responsive – Desktop */
@media (min-width: 992px) {
    .page-header { padding: 2.5rem 0 2rem; }
    .page-header h1 { font-size: 2.75rem; }
    .content-wrapper { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; max-width: 1400px; margin: 0 auto; }
    .sidebar { margin-top: 0; position: sticky; top: 80px; height: fit-content; }
    .quick-nav-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Print */
@media print {
    .navbar, footer, .sidebar, .skip-link, .cta-section, .related-links { display: none; }
    .content-section { box-shadow: none; border: 1px solid #000; page-break-inside: avoid; }
    .page-header { background: white; color: black; border-bottom: 2px solid black; }
}
