:root {
    --primary: #005D8A;
    --primary-dark: #00456B;
    --secondary: #FFC107;
    --secondary-dark: #E6AD00;
    --accent: #2E8B57;
    --accent-warm: #F39C12;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --success: #28A745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1030;
}
.site-header .navbar-brand { font-weight: 700; color: var(--primary); }
.site-header .nav-link {
    color: var(--dark); font-weight: 500;
    padding: 0.5rem 1rem; margin: 0 0.25rem;
    border-radius: 4px;
}
.site-header .nav-link:hover { background-color: var(--light-gray); }

/* Hero — sonniges Familien-Blau */
.hero {
    background:
        linear-gradient(135deg, rgba(0,93,138,0.6) 0%, rgba(243,156,18,0.55) 100%),
        url('/images/scandlines-berlin-deck7-innenraum.webp') center/cover no-repeat;
    color: var(--white);
    padding: 4.5rem 0;
    margin-bottom: 3rem;
}
.hero-content { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-weight: 800; font-size: 2.5rem; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.2rem; margin-bottom: 1rem; }
.hero-cta {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    justify-content: center; margin: 1.5rem 0 1rem;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: var(--secondary); color: var(--dark);
    padding: 0.85rem 1.75rem; border-radius: 50px;
    font-weight: 700; font-size: 1.05rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background-color: var(--secondary-dark); color: var(--dark);
    transform: translateY(-2px); text-decoration: none;
}
.btn-hero-secondary {
    display: inline-flex; align-items: center;
    padding: 0.85rem 1.5rem; border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--white); font-weight: 600; text-decoration: none;
}
.btn-hero-secondary:hover, .btn-hero-secondary:focus {
    background-color: rgba(255,255,255,0.15);
    color: var(--white); text-decoration: none;
}
.hero-sub { font-size: 0.95rem; opacity: 0.92; margin-top: 0.5rem; }

.booking-button {
    position: fixed; bottom: 2rem; right: 2rem;
    background-color: var(--secondary); color: var(--dark);
    padding: 1rem 1.5rem; border-radius: 50px;
    font-weight: 700; text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 1020; display: inline-flex; align-items: center;
}
.booking-button:hover { background-color: var(--secondary-dark); color: var(--dark); text-decoration: none; }

/* TOC */
.toc-box {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-left: 4px solid var(--accent-warm);
    border-radius: 8px;
    padding: 1.5rem 2rem; margin-bottom: 2rem;
}
.toc-box h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: 1rem; }
.toc-box ol { margin-bottom: 0; padding-left: 1.2rem; }
.toc-box li { margin-bottom: 0.4rem; }
.toc-box a { color: var(--primary); text-decoration: none; }
.toc-box a:hover { text-decoration: underline; }

/* Sections */
.content-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem; margin-bottom: 2rem;
}
.content-section h2 { color: var(--primary); margin-bottom: 1.25rem; font-weight: 700; }
.content-section h3 { color: var(--primary-dark); margin-bottom: 1rem; font-weight: 600; }

/* Aktivitäts-Karten */
.bord-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .bord-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .bord-grid { grid-template-columns: repeat(3, 1fr); } }
.bord-card {
    background: var(--light);
    border-left: 4px solid var(--accent-warm);
    border-radius: 6px;
    padding: 1.25rem;
}
.bord-card h3 {
    font-size: 1.05rem; margin-bottom: 0.5rem;
    color: var(--accent-warm);
    display: flex; align-items: center; gap: 0.5rem;
}
.bord-card p { margin-bottom: 0; font-size: 0.95rem; }
.bord-card .bord-card-meta {
    font-size: 0.85rem; color: var(--gray);
    margin-top: 0.5rem; padding-top: 0.5rem;
    border-top: 1px dashed var(--light-gray);
}

/* Alters-Boxen */
.age-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .age-grid { grid-template-columns: repeat(3, 1fr); } }
.age-card {
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 1.25rem;
    position: relative;
}
.age-card .age-badge {
    position: absolute; top: -12px; left: 1rem;
    background: var(--accent); color: var(--white);
    padding: 0.2rem 0.75rem; border-radius: 12px;
    font-size: 0.85rem; font-weight: 700;
}
.age-card h3 {
    font-size: 1.1rem; margin: 0.5rem 0 0.75rem;
    color: var(--primary-dark);
}
.age-card ul { padding-left: 1.2rem; margin-bottom: 0; }
.age-card li { font-size: 0.92rem; margin-bottom: 0.3rem; }

/* Timeline (für 2-Stunden-Plan) */
.bord-timeline {
    list-style: none; padding-left: 0;
    border-left: 3px solid var(--primary);
    margin: 1.5rem 0 1.5rem 1rem;
}
.bord-timeline li {
    position: relative;
    padding: 0.5rem 0 1rem 1.5rem;
}
.bord-timeline li::before {
    content: '';
    position: absolute;
    left: -8px; top: 1rem;
    width: 13px; height: 13px;
    background-color: var(--secondary);
    border: 2px solid var(--primary);
    border-radius: 50%;
}
.bord-timeline strong { color: var(--primary-dark); }

/* Boxen */
.info-box {
    background-color: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    padding: 1rem 1.25rem; margin: 1rem 0;
}
.info-box h3 { font-size: 1.05rem; margin-top: 0; margin-bottom: 0.5rem; }
.tip-box {
    background-color: #FFF8E1;
    border-left: 4px solid var(--secondary-dark);
    border-radius: 4px;
    padding: 1rem 1.25rem; margin: 1rem 0;
}
.warn-box {
    background-color: #FDECEA;
    border-left: 4px solid #C0392B;
    border-radius: 4px;
    padding: 1rem 1.25rem; margin: 1rem 0;
}

/* Bilder */
.img-feature {
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 100%;
    height: auto;
}
.image-credit { font-size: 0.8rem; color: var(--gray); margin-top: 0.25rem; }

/* Tabellen */
.table-container { overflow-x: auto; }
.facts-table { font-size: 0.95rem; }
.facts-table th { background-color: var(--primary); color: var(--white); }

/* FAQ */
.faq-item {
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.faq-question {
    background-color: var(--light);
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover { background-color: var(--light-gray); }
.faq-icon { font-size: 1.4rem; color: var(--primary); transition: transform 0.2s; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-answer.active { padding: 1rem 1.25rem; max-height: 800px; }

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--light-gray);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}
.site-footer h5 { color: var(--white); margin-bottom: 1rem; font-weight: 600; }
.footer-links ul { list-style: none; padding-left: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--light-gray); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 2rem; padding-top: 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.85rem; }
    .hero { padding: 3rem 0; }
    .content-section { padding: 1.5rem 1.25rem; }
    .booking-button { right: 1rem; bottom: 1rem; padding: 0.75rem 1.1rem; font-size: 0.95rem; }
}
