: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;
}

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

/* Navigation */
.navbar {
    background: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Header */
.page-header {
    background: linear-gradient(135deg, rgba(0,86,179,0.88) 0%, rgba(23,162,184,0.88) 100%),
                url('/ratgeber/images/dfds-ferry-dover-channel.jpg') center/cover no-repeat;
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: white;
}

/* Table of Contents */
.toc {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.toc h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.toc ol {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.toc li {
    padding: 0.25rem 0;
}

.toc a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.2s;
}

.toc a:hover {
    color: var(--primary-color);
    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.05);
    border: 1px solid var(--border-color);
}

.content-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-card h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Service Comparison Table */
.service-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.service-table table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.service-table th {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.service-table tr:hover {
    background: var(--light-bg);
}

/* Tip Boxes */
.tip-box {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-color);
}

.tip-box h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Alert Boxes */
.alert-custom {
    border-radius: 10px;
    border: none;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

/* Quick Info Box */
.quick-info {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.quick-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Productivity Timer */
.productivity-timer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.productivity-timer h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Checklist */
.checklist {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.checklist h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.checklist-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item i {
    color: var(--success-color);
    flex-shrink: 0;
}

/* Content Images */
.content-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-image figcaption {
    font-size: 0.8rem;
    color: #6c757d;
    padding: 0.5rem 0.75rem;
    background: var(--light-bg);
}

/* Map */
#map {
    height: 350px;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--primary-color);
}

/* Sidebar */
.sidebar .content-card h3,
.sidebar .content-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Content Grid */
.content-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Layout */
@media (min-width: 992px) {
    .main-content {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }

    .sidebar {
        position: sticky;
        top: 80px;
        height: fit-content;
    }
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Print */
@media print {
    .navbar, footer, .cta-section, .skip-link, .sidebar, #map {
        display: none;
    }

    .content-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Skip Link */
.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;
}
