/* beste-reisezeit.css – Calais-Dover-Ferry.de */
:root {
    --primary-color: #0056b3;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #fd7e14;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
}

* { 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.8;
    color: var(--dark-color);
    background-color: var(--light-bg);
}

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

/* Navigation */
.navbar {
    background-color: #fff !important;
    border-bottom: 3px solid var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-brand { color: var(--primary-color) !important; font-weight: 700; font-size: 1.1rem; }
.nav-link { color: var(--dark-color) !important; font-weight: 500; transition: all 0.3s ease; padding: 0.5rem 0.75rem !important; }
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; background: var(--light-bg); border-radius: 5px; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white; padding: 2rem 0; margin-bottom: 2rem;
}
.page-header h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.breadcrumb { background: transparent; padding: 0; margin-bottom: 1rem; font-size: 0.85rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb-item.active { color: white; }

/* Content */
.content-wrapper { display: block; }

.article-content {
    background: white; border-radius: 15px; padding: 1.5rem;
    margin-bottom: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.article-content h2 {
    color: var(--primary-color); font-size: 1.5rem;
    margin: 2rem 0 1rem 0; display: flex; align-items: center; gap: 0.5rem;
}
.article-content h3 { color: var(--dark-color); font-size: 1.2rem; margin: 1.5rem 0 1rem 0; }

/* TOC */
.toc {
    background: var(--light-bg); border-left: 4px solid var(--primary-color);
    border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem 0;
}
.toc h2 { font-size: 1.1rem; margin: 0 0 0.75rem 0 !important; color: var(--primary-color); }
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.35rem; }
.toc a { color: var(--dark-color); text-decoration: none; transition: color 0.2s; }
.toc a:hover { color: var(--primary-color); text-decoration: underline; }

/* Hero Image */
.hero-image {
    width: 100%; height: auto; border-radius: 12px; margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.image-credit { font-size: 0.75rem; color: #888; margin-top: -1rem; margin-bottom: 1.5rem; }

/* Season Cards */
.season-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
.season-card {
    background: white; border: 2px solid var(--border-color);
    border-radius: 12px; padding: 1.5rem; transition: all 0.3s ease;
}
.season-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.season-card.best { border-color: var(--success-color); background: linear-gradient(135deg, rgba(40,167,69,0.05) 0%, #fff 100%); }
.season-card.good { border-color: var(--warning-color); background: linear-gradient(135deg, rgba(253,126,20,0.05) 0%, #fff 100%); }
.season-card.cheap { border-color: var(--secondary-color); background: linear-gradient(135deg, rgba(23,162,184,0.05) 0%, #fff 100%); }

.season-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.season-header i { font-size: 2rem; color: var(--primary-color); }
.season-badge { padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; color: white; }
.badge-best { background: var(--success-color); }
.badge-good { background: var(--warning-color); }
.badge-cheap { background: var(--secondary-color); }

/* Weather Stats */
.weather-stats { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
.stat-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white; padding: 1.5rem; border-radius: 10px; text-align: center;
}
.stat-box i { font-size: 2.5rem; margin-bottom: 0.5rem; display: block; }
.stat-value { font-size: 2rem; font-weight: 700; display: block; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* Info Boxes */
.info-box {
    background: var(--light-bg); border-left: 4px solid var(--primary-color);
    padding: 1rem; margin: 1.5rem 0; border-radius: 5px;
}
.info-box.tip { border-left-color: var(--success-color); background: rgba(40,167,69,0.05); }
.info-box.warning { border-left-color: var(--warning-color); background: rgba(253,126,20,0.05); }
.info-box h4 {
    color: var(--primary-color); font-size: 1.1rem; margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}

/* Content Image */
.content-image {
    width: 100%; height: auto; border-radius: 10px; margin: 1.5rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Map */
#map { height: 400px; border-radius: 10px; margin: 1rem 0 1.5rem 0; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }

/* Sidebar */
.sidebar { margin-top: 2rem; }
.sidebar-card {
    background: white; border-radius: 10px; padding: 1.5rem;
    margin-bottom: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.sidebar-card h3 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 1rem; }
.quick-links { list-style: none; padding: 0; }
.quick-links li { margin-bottom: 0.75rem; }
.quick-links a {
    color: var(--dark-color); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease; padding: 0.5rem; border-radius: 5px;
}
.quick-links a:hover { background: var(--light-bg); color: var(--primary-color); transform: translateX(5px); }

/* Price Table */
.price-table { overflow-x: auto; margin: 2rem 0; }
.table { min-width: 100%; }
.table thead { background: var(--primary-color); color: white; }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,86,179,0.05); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 2rem; border-radius: 12px; text-align: center; margin: 2rem 0;
}
.cta-section h3 { margin-bottom: 0.75rem; }
.btn-cta {
    display: inline-block; background: white; color: var(--primary-color);
    padding: 0.75rem 1.5rem; border-radius: 25px; text-decoration: none;
    font-weight: 600; margin: 0.5rem; transition: all 0.3s;
}
.btn-cta:hover { background: var(--accent-color); color: var(--dark-color); transform: translateY(-2px); }

/* Footer */
footer { background: var(--dark-color); color: white; padding: 2rem 0; margin-top: 3rem; }
footer h5 { font-size: 1.1rem; margin-bottom: 1rem; }
footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: white; }

/* Desktop */
@media (min-width: 768px) {
    .page-header h1 { font-size: 2.5rem; }
    .article-content { padding: 2.5rem; }
    .article-content h2 { font-size: 1.75rem; }
    .season-grid { grid-template-columns: repeat(3, 1fr); }
    .weather-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
    .content-wrapper { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; max-width: 1200px; margin: 0 auto; }
    .sidebar { margin-top: 0; }
}

/* Monthly overview table */
.monthly-overview { font-size: 0.9rem; }
.monthly-overview td, .monthly-overview th { vertical-align: middle; padding: 0.4rem 0.3rem; }
.monthly-overview .badge { font-size: 0.75rem; white-space: nowrap; }

/* Print */
@media print {
    .navbar, footer, .sidebar, .skip-link, .cta-section { display: none; }
    .article-content { box-shadow: none; border: 1px solid #000; }
    .season-card { break-inside: avoid; }
}
