/* dokumente-brexit.css – Calais-Dover-Ferry.de */
:root {
    --primary-color: #0056b3;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --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; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}
.page-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header .lead { font-size: 1.2rem; opacity: 0.9; }

/* Hero CTAs */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.hero-cta .btn-primary-cta {
    background: var(--accent-color);
    color: #212529;
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.hero-cta .btn-primary-cta:hover,
.hero-cta .btn-primary-cta:focus {
    background: #ffd34d;
    border-color: #ffd34d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    color: #212529;
}
.hero-cta .btn-outline-light-cta {
    background: rgba(255,255,255,0.08);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.hero-cta .btn-outline-light-cta:hover,
.hero-cta .btn-outline-light-cta:focus {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* EES Alert */
.alert-ees {
    background-color: #e8f4ff;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.alert-ees h2 { color: var(--primary-color); font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Final CTA box */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}
.final-cta h2 { color: white !important; margin-bottom: 0.75rem; }
.final-cta p { margin-bottom: 1.25rem; }
.final-cta .btn-primary-cta {
    background: var(--accent-color);
    color: #212529;
    border: 2px solid var(--accent-color);
    padding: 0.85rem 2rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem;
    transition: all 0.2s ease;
}
.final-cta .btn-primary-cta:hover,
.final-cta .btn-primary-cta:focus {
    background: #ffd34d;
    border-color: #ffd34d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    color: #212529;
}
.final-cta .btn-outline-light-cta {
    background: rgba(255,255,255,0.08);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem;
    transition: all 0.2s ease;
}
.final-cta .btn-outline-light-cta:hover,
.final-cta .btn-outline-light-cta:focus {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* TOC */
.toc {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}
.toc h2 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--primary-color); }
.toc ol { padding-left: 1.5rem; margin: 0; }
.toc li { padding: 0.25rem 0; }
.toc a { color: var(--primary-color); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Alert Boxes */
.alert-eta {
    background-color: #fff3cd;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.alert-eta h2 { color: #856404; font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Document Cards */
.doc-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}
.doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.doc-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.doc-card h3 i { font-size: 1.25rem; }

/* Requirement Lists */
.requirement-list { list-style: none; padding: 0; }
.requirement-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.requirement-list li:last-child { border-bottom: none; }
.requirement-list li::before {
    content: "\2713";
    position: absolute; left: 0;
    color: var(--success-color);
    font-weight: bold; font-size: 1.2rem;
}
.requirement-list li.warning::before { content: "\26A0"; color: var(--accent-color); }
.requirement-list li.danger::before  { content: "\2717"; color: var(--danger-color); }

/* Info Boxes */
.info-box {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0 5px 5px 0;
}
.info-box.warning { border-left-color: var(--accent-color); background: #fff9e6; }
.info-box.danger  { border-left-color: var(--danger-color);  background: #ffe6e6; }

/* Cost Table */
.cost-table { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.cost-table th { background: var(--primary-color); color: white; font-weight: 600; padding: 1rem; }
.cost-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute; left: 0.5rem; top: 0; bottom: 0;
    width: 2px; background: var(--border-color);
}
.timeline-item { position: relative; margin-bottom: 1.5rem; padding-left: 1rem; }
.timeline-item::before {
    content: '';
    position: absolute; left: -1.5rem; top: 0.25rem;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--border-color);
}

/* Quick Reference Card */
.quick-ref {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}
.quick-ref h4 { font-size: 1.25rem; margin-bottom: 1rem; }
.quick-ref ul { margin: 0; padding-left: 1.5rem; }

/* Section images */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.image-credit {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

/* Map */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2rem; }
    .doc-card { padding: 1.5rem; }
    .timeline { padding-left: 1.5rem; }
}

/* Print Styles */
@media print {
    .navbar, .quick-nav, .toc, footer, .map-container { display: none; }
    .doc-card { break-inside: avoid; box-shadow: none; border: 1px solid #000; }
}
