/* packliste.css – Styles for ratgeber/packliste.html */

: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.75;
    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; 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: 0.75rem; }

.hero-cta-row {
    display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-color); color: var(--dark-color);
    padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600;
    text-decoration: none; transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background: #ffd24d; color: var(--dark-color); transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.btn-hero-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); border: 2px solid #fff; color: #fff;
    padding: 0.65rem 1.4rem; border-radius: 6px; font-weight: 600;
    text-decoration: none; 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);
}
.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 Wrapper */
.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.4rem;
    margin: 2rem 0 1rem 0; display: flex; align-items: center; gap: 0.5rem;
    border-bottom: 2px solid var(--light-bg); padding-bottom: 0.5rem;
}
.article-content h3 { color: var(--dark-color); font-size: 1.15rem; margin: 1.25rem 0 0.75rem 0; }
.article-content p { margin-bottom: 1rem; }

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

/* TL;DR Box */
.tldr-box {
    background: linear-gradient(135deg, rgba(0,86,179,0.05) 0%, rgba(23,162,184,0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem; margin: 1rem 0 2rem 0; border-radius: 0 10px 10px 0;
}
.tldr-box h2 { border: none; padding: 0; margin: 0 0 0.75rem 0 !important; font-size: 1.1rem !important; color: var(--primary-color); }
.tldr-box ul { margin: 0; padding-left: 1.25rem; }
.tldr-box li { margin-bottom: 0.4rem; }

/* 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 !important; margin: 0 0 0.75rem 0 !important; color: var(--primary-color); border: none !important; padding: 0 !important; }
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.35rem; }
.toc a { color: var(--dark-color); text-decoration: none; }
.toc a:hover { color: var(--primary-color); text-decoration: underline; }

/* Info Boxes */
.info-box {
    background: var(--light-bg); border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0;
}
.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.danger { border-left-color: var(--danger-color); background: rgba(220,53,69,0.05); }
.info-box h4 {
    color: var(--primary-color); font-size: 1.05rem; margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.info-box.tip h4 { color: var(--success-color); }
.info-box.warning h4 { color: var(--warning-color); }
.info-box.danger h4 { color: var(--danger-color); }
.info-box p { margin-bottom: 0; }
.info-box p:last-child { margin-bottom: 0; }

/* Checklist Sections */
.checklist-section {
    background: white; border: 1px solid var(--border-color);
    border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.checklist-section h2 {
    color: var(--primary-color); font-size: 1.25rem; margin: 0 0 1.25rem 0 !important;
    border-bottom: 2px solid var(--light-bg); padding-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}

.checklist-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.65rem 0; border-bottom: 1px solid var(--light-bg);
}
.checklist-item:last-child { border-bottom: none; }

.checklist-item input[type="checkbox"] {
    width: 20px; height: 20px; margin-top: 3px; cursor: pointer; flex-shrink: 0;
    accent-color: var(--primary-color);
}
.checklist-item label { cursor: pointer; flex: 1; line-height: 1.5; }
.checklist-item.checked label { text-decoration: line-through; color: #888; }
.checklist-item .badge { margin-left: 0.5rem; font-size: 0.7rem; flex-shrink: 0; }
.checklist-item.priority-high { border-left: 3px solid var(--danger-color); padding-left: 0.75rem; margin-left: -0.75rem; }

/* Progress Container (Sidebar) */
.progress-container {
    background: white; border: 2px solid var(--primary-color);
    border-radius: 10px; padding: 1.25rem; margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.progress-container h3 { color: var(--primary-color); font-size: 1.1rem; margin: 0 0 0.75rem 0; display: flex; align-items: center; gap: 0.5rem; }
.progress { height: 28px; border-radius: 14px; background-color: var(--light-bg); overflow: hidden; }
.progress-bar {
    background: linear-gradient(90deg, var(--success-color), var(--secondary-color));
    font-weight: 600; transition: width 0.4s ease;
}

/* Sidebar */
.sidebar { margin-top: 1.5rem; }
.sidebar-card {
    background: white; border-radius: 10px; padding: 1.25rem;
    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.05rem; margin-bottom: 0.75rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { margin-bottom: 0.5rem; }
.sidebar-card a {
    color: var(--dark-color); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.5rem; border-radius: 5px; transition: all 0.2s;
    font-size: 0.92rem;
}
.sidebar-card a:hover { background: var(--light-bg); color: var(--primary-color); }

/* TOC Sidebar */
.toc-sidebar { background: var(--light-bg); border-left: 4px solid var(--primary-color); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.toc-sidebar h3 { font-size: 1rem; color: var(--primary-color); margin-bottom: 0.6rem; }
.toc-sidebar ul { list-style: none; padding: 0; margin: 0; }
.toc-sidebar li { margin-bottom: 0.3rem; font-size: 0.9rem; }
.toc-sidebar a { color: var(--dark-color); text-decoration: none; }
.toc-sidebar a:hover { color: var(--primary-color); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 1.5rem; border-radius: 10px; text-align: center; margin-bottom: 1.5rem;
}
.cta-section h3 { color: white; margin-bottom: 0.5rem; font-size: 1.1rem; }
.cta-section p { font-size: 0.9rem; margin-bottom: 1rem; opacity: 0.95; }
.btn-cta {
    display: inline-block; background: var(--accent-color); color: var(--dark-color);
    padding: 0.65rem 1.5rem; border-radius: 25px; text-decoration: none;
    font-weight: 600; transition: all 0.2s;
}
.btn-cta:hover { background: white; color: var(--primary-color); }

/* Print Button */
.btn-print {
    position: fixed; bottom: 20px; right: 20px; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    width: 56px; height: 56px; font-size: 1.25rem;
}

/* Success Box */
.success-box {
    background: rgba(40,167,69,0.08); border-left: 4px solid var(--success-color);
    padding: 1.25rem 1.5rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0;
}
.success-box h3 { color: var(--success-color); font-size: 1.1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.success-box p { margin: 0; }

/* FAQ */
.faq-item {
    background: white; border: 1px solid var(--border-color);
    border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.faq-item summary {
    cursor: pointer; font-weight: 600; color: var(--primary-color);
    padding: 0.25rem 0; list-style: none; position: relative; padding-left: 1.5rem;
}
.faq-item summary::before {
    content: "▶"; position: absolute; left: 0; top: 0.25rem;
    transition: transform 0.2s; font-size: 0.75rem;
}
.faq-item[open] summary::before { transform: rotate(90deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0.75rem 0 0 0; line-height: 1.7; }

/* Final CTA Section */
.final-cta-section { margin: 2rem 0 1rem 0; }
.final-cta-grid {
    display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.final-cta-card {
    border-radius: 10px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.final-cta-card.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}
.final-cta-card.primary h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.15rem; }
.final-cta-card.primary p { color: rgba(255,255,255,0.95); font-size: 0.95rem; margin-bottom: 1rem; }
.final-cta-card.secondary {
    background: #fff; border: 2px solid var(--primary-color);
}
.final-cta-card.secondary h3 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.15rem; }
.final-cta-card.secondary p { font-size: 0.95rem; margin-bottom: 1rem; }
.btn-final-primary {
    display: inline-block; background: var(--accent-color); color: var(--dark-color);
    padding: 0.7rem 1.4rem; border-radius: 6px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.btn-final-primary:hover, .btn-final-primary:focus {
    background: #fff; color: var(--primary-color); transform: translateY(-2px);
}
.btn-final-secondary {
    display: inline-block; background: var(--primary-color); color: #fff;
    padding: 0.7rem 1.4rem; border-radius: 6px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.btn-final-secondary:hover, .btn-final-secondary:focus {
    background: var(--secondary-color); color: #fff; transform: translateY(-2px);
}
@media (min-width: 768px) {
    .final-cta-grid { grid-template-columns: 1fr 1fr; }
}

/* Source list */
.source-list { font-size: 0.85rem; color: #666; background: var(--light-bg); border-radius: 6px; padding: 0.75rem 1rem; margin-top: 1.5rem; }
.source-list strong { color: var(--dark-color); }
.source-list ul { padding-left: 1.25rem; margin: 0.25rem 0 0 0; }

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

/* Desktop */
@media (min-width: 768px) {
    .page-header h1 { font-size: 2.25rem; }
    .article-content { padding: 2rem; }
    .checklist-section { padding: 1.5rem 1.75rem; }
}

@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; }
    .progress-container, .toc-sidebar, .sidebar-card, .cta-section { position: sticky; }
    .progress-container { top: 80px; }
}

/* Print */
@media print {
    .navbar, footer, .btn-print, .sidebar, .skip-link, .cta-section, .tldr-box, .info-box.tip { display: none !important; }
    .article-content, .checklist-section { box-shadow: none !important; border: 1px solid #000 !important; break-inside: avoid; }
    body { background: white; }
    .checklist-item input { display: inline-block; }
}
