/* eta.css – ETA-Seiten 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;
    --eta-gold: #c8860a;
}

* { 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, #0a4a8f 0%, #1a6fa0 60%, #17a2b8 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}
.page-header h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header .lead { font-size: 1.15rem; opacity: 0.92; }

/* Hero CTAs */
.hero-cta-row {
    display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem;
}
.btn-hero-primary {
    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;
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background: #ffd34d; border-color: #ffd34d;
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.25); color: #212529;
}
.btn-hero-secondary {
    background: rgba(255,255,255,0.1); border: 2px solid #fff; color: #fff;
    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;
}
.btn-hero-secondary:hover, .btn-hero-secondary:focus {
    background: #fff; color: var(--primary-color);
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ETA Alert / Highlight */
.alert-eta {
    background: #fff8e1; border: 2px solid var(--accent-color);
    border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.alert-eta strong { color: var(--eta-gold); }

.alert-info-custom {
    background: #e8f4ff; border: 2px solid var(--primary-color);
    border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.alert-success-custom {
    background: #e8f5e9; border: 2px solid var(--success-color);
    border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.alert-danger-custom {
    background: #fde8e8; border: 2px solid var(--danger-color);
    border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}

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

/* Content Cards */
.content-card {
    background: white; border-radius: 10px; padding: 2rem;
    margin-bottom: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}
.content-card h2 {
    color: var(--primary-color); font-size: 1.6rem;
    margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}
.content-card h3 { color: var(--dark-color); font-size: 1.2rem; margin: 1.25rem 0 0.75rem; }

/* Step List */
.step-list { list-style: none; padding: 0; counter-reset: step-counter; }
.step-list li {
    counter-increment: step-counter;
    padding: 1rem 1rem 1rem 3.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0.5rem;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
    content: counter(step-counter);
    position: absolute; left: 0; top: 0.9rem;
    width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--primary-color); color: white;
    font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
}

/* Check List */
.check-list { list-style: none; padding: 0; }
.check-list li {
    padding: 0.6rem 0 0.6rem 2.25rem; position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: "✓"; position: absolute; left: 0;
    color: var(--success-color); font-weight: 700; font-size: 1.1rem;
}
.check-list li.warning::before { content: "⚠"; color: var(--eta-gold); }
.check-list li.danger::before { content: "✗"; color: var(--danger-color); }

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

/* Price Card */
.price-card {
    background: linear-gradient(135deg, #0a4a8f 0%, #1a6fa0 100%);
    color: white; border-radius: 12px; padding: 1.75rem;
    text-align: center; margin-bottom: 1.5rem;
}
.price-card .price-big { font-size: 3rem; font-weight: 800; line-height: 1; }
.price-card .price-label { font-size: 1rem; opacity: 0.85; margin-top: 0.25rem; }

/* Sidebar Sticky */
.sidebar-sticky {
    position: sticky; top: 80px;
}
.sidebar-card {
    background: white; border-radius: 10px; padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); margin-bottom: 1.5rem;
}
.sidebar-card h3 { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 1rem; }

/* FAQ Accordion */
.faq-item {
    background: white; border: 1px solid var(--border-color);
    border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden;
}
.faq-question {
    padding: 1rem 1.25rem; font-weight: 600; cursor: pointer;
    background: none; border: none; width: 100%; text-align: left;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--dark-color); font-size: 1rem;
}
.faq-question:hover { background: var(--light-bg); }
.faq-answer { padding: 0 1.25rem 1rem; line-height: 1.8; }

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #0a4a8f 0%, #17a2b8 100%);
    color: white; border-radius: 12px; padding: 2rem;
    text-align: center; margin: 2rem 0;
}
.cta-box h2 { color: white; margin-bottom: 0.75rem; }
.cta-box p { opacity: 0.9; margin-bottom: 1.25rem; }
.btn-cta-primary {
    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;
    transition: all 0.2s ease; margin: 0.25rem;
}
.btn-cta-primary:hover { background: #ffd34d; border-color: #ffd34d; transform: translateY(-2px); color: #212529; }
.btn-cta-secondary {
    background: rgba(255,255,255,0.1); border: 2px solid #fff; color: #fff;
    padding: 0.85rem 2rem; font-weight: 600; border-radius: 6px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.2s ease; margin: 0.25rem;
}
.btn-cta-secondary:hover { background: #fff; color: var(--primary-color); transform: translateY(-2px); }

/* Related Links */
.related-links { background: white; border-radius: 10px; padding: 1.5rem; margin-top: 2rem; }
.related-links h3 { color: var(--primary-color); margin-bottom: 1rem; }
.related-links ul { list-style: none; padding: 0; }
.related-links li { padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.related-links li:last-child { border-bottom: none; }
.related-links a { color: var(--primary-color); text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* Table */
.eta-table { width: 100%; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.eta-table th { background: var(--primary-color); color: white; padding: 1rem; text-align: left; }
.eta-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-color); }
.eta-table tr:last-child td { border-bottom: none; }
.eta-table tr:hover td { background: var(--light-bg); }

/* Badge */
.badge-new { background: var(--danger-color); color: white; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-weight: 700; vertical-align: middle; }
.badge-tip  { background: var(--success-color); color: white; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-weight: 700; vertical-align: middle; }

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 { font-size: 1.9rem; }
    .content-card { padding: 1.25rem; }
    .price-card .price-big { font-size: 2.25rem; }
    .sidebar-sticky { position: static; }
}

/* Print */
@media print {
    .navbar, .toc, footer, .cta-box { display: none; }
    .content-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
}
