/* ==========================================================================
   Gepäcklotse — Mobile-First SEO Stylesheet
   ========================================================================== */

/* Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-cabin: #059669;
    --color-cabin-bg: #ecfdf5;
    --color-checked: #7c3aed;
    --color-checked-bg: #f5f3ff;
    --color-border: #e5e7eb;
    --color-hero-bg: #f0f7ff;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* Typography
   -------------------------------------------------------------------------- */
h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 1rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); text-decoration: underline; }

/* Language Switcher
   -------------------------------------------------------------------------- */
.lang-bar {
    background: var(--color-text); color: #fff; padding: 0.3rem 0;
    font-size: 0.8rem; text-align: right;
}
.lang-bar a { color: #fff; text-decoration: none; padding: 0.2rem 0.5rem; }
.lang-bar a:hover { text-decoration: underline; }

/* Site Header
   -------------------------------------------------------------------------- */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 100;
}
.logo {
    font-size: 1.3rem; font-weight: 800; color: var(--color-text);
    display: flex; align-items: center; gap: 0.5rem;
}
.logo:hover { text-decoration: none; }
.tagline { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.2rem; }

/* Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 4rem; padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted); font-size: 0.8rem; text-align: center;
}

/* Page Hero
   -------------------------------------------------------------------------- */
.page-hero {
    padding: 2rem 0 1.5rem;
}
.page-hero h1 { font-size: 2rem; }
.subtitle {
    color: var(--color-text-muted); font-size: 1.05rem; margin-top: 0.5rem;
    max-width: 650px;
}

/* Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb { padding: 1rem 0; font-size: 0.9rem; }

/* Airline Header
   -------------------------------------------------------------------------- */
.airline-header {
    padding: 1.5rem 0 1rem;
}
.airline-header h1 { font-size: 2rem; }
.airline-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem;
    color: var(--color-text-muted); font-size: 0.85rem;
}
.verified-date { font-weight: 500; color: var(--color-text-muted); }
.confidence-note {
    margin: 0.4rem 0 0; font-size: 0.8rem; line-height: 1.5;
    color: var(--color-text-muted);
}
@media (max-width: 600px) {
    .airline-meta { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}
.intro-text {
    margin-top: 1rem; font-size: 1.05rem; line-height: 1.7;
    color: var(--color-text);
}
.intro-text p { margin: 0; }
.badge {
    display: inline-block; background: var(--color-accent); color: #fff;
    padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.8rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}

/* Key Facts Strip (above the fold)
   -------------------------------------------------------------------------- */
.key-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}
.fact-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.fact-card:hover { box-shadow: var(--shadow-md); }
.fact-icon { font-size: 1.4rem; }
.fact-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.imperial-value {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0;
}
.fact-value-sm { font-size: 1.1rem; }
.fact-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.3;
    text-align: center;
    max-width: 100%;
}
.fact-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

@media (max-width: 400px) {
    .key-facts { grid-template-columns: 1fr 1fr; }
    .fact-value { font-size: 1.3rem; }
}

/* Direct Answer Section
   -------------------------------------------------------------------------- */
.direct-answer {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius);
    padding: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.direct-answer h2 {
    margin-top: 0; margin-bottom: 0.75rem; font-size: 1.2rem;
    color: #166534;
}
.direct-answer p { color: #14532d; line-height: 1.7; margin: 0; }

.de-fallback-note {
    background: #fef3c7; border: 1px solid #fcd34d; border-radius: var(--radius);
    padding: 0.75rem 1rem; margin-bottom: 1.5rem;
    font-size: 0.9rem; color: #92400e;
}

/* References / Sources (Wikipedia-style)
   -------------------------------------------------------------------------- */
.ref {
    font-size: 0.7em; color: var(--color-accent); text-decoration: none;
    vertical-align: super; line-height: 0;
}
.ref:hover { text-decoration: underline; }
.references-section { border-top: 2px solid var(--color-border); padding-top: 2rem; }
.ref-list { font-size: 0.85rem; color: var(--color-text-muted); }
.ref-list li { padding: 0.3rem 0; scroll-margin-top: 5rem; }
.ref-list a { word-break: break-all; }

/* Hero Summary Cards
   -------------------------------------------------------------------------- */
.hero-summary {
    background: var(--color-hero-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #dbeafe;
}
.hero-summary h2 { margin-top: 0; font-size: 1.2rem; }
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
.hero-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.hero-card h3 {
    font-size: 1rem; margin: 0 0 0.75rem 0;
    display: flex; align-items: center; gap: 0.4rem;
}
.cabin-card { border-left: 4px solid var(--color-cabin); }
.checked-card { border-left: 4px solid var(--color-checked); }
.hero-card ul { list-style: none; }
.hero-card li {
    padding: 0.3rem 0; font-size: 0.95rem;
}
.hero-card li strong { font-weight: 600; color: var(--color-text); }
.no-data {
    color: var(--color-text-muted); font-style: italic; font-size: 0.9rem;
}

/* Search & Filter
   -------------------------------------------------------------------------- */
.search-bar {
    display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.search-bar input, .search-bar select {
    padding: 0.7rem 1rem; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 1rem; font-family: inherit;
    background: var(--color-surface); color: var(--color-text);
}
.search-bar input {
    flex: 1; min-width: 200px;
}
.search-bar input:focus, .search-bar select:focus {
    outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.stats-bar { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }

/* Tables
   -------------------------------------------------------------------------- */
.table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    background: var(--color-surface); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}
table {
    width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
thead { background: #f9fafb; }
th {
    padding: 0.75rem 1rem; text-align: left; font-weight: 600;
    color: var(--color-text-muted); font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.04em; border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--color-accent); }
th.sortable::after { content: ' ↕'; font-size: 0.7rem; opacity: 0.4; }
th.sortable.asc::after { content: ' ↑'; opacity: 1; }
th.sortable.desc::after { content: ' ↓'; opacity: 1; }

/* Class Tabs */
.class-tabs { display: flex; gap: 2px; margin-bottom: 20px; border-bottom: 2px solid var(--color-border); }
.class-tab {
    padding: 12px 24px; border: 1px solid var(--color-border); border-bottom: none;
    background: var(--color-bg); border-radius: 8px 8px 0 0;
    font-size: 0.95rem; font-weight: 600; color: var(--color-text-muted);
    cursor: pointer; transition: all 0.15s;
}
.class-tab:hover { color: var(--color-text); background: var(--color-surface); }
.class-tab.active { color: var(--color-accent); background: var(--color-surface); border-color: var(--color-border); border-bottom: 2px solid var(--color-surface); margin-bottom: -2px; }
.class-tab.disabled { opacity: 0.3; cursor: not-allowed; }
.class-panel { display: none; }
.class-panel.active { display: block; background: var(--color-surface); border: 1px solid var(--color-border); border-top: none; border-radius: 0 8px 8px 8px; padding: 20px 24px; margin-top: -1px; }
.class-panel h3 { font-size: 1rem; margin: 0 0 12px; color: var(--color-text); padding-bottom: 8px; border-bottom: 1px solid var(--color-border); }

/* Admin Dashboard Tabs */
.admin-tabs { display: flex; gap: 4px; margin: 16px 0 20px; border-bottom: 2px solid var(--color-border); flex-wrap: wrap; }
.admin-tab {
    padding: 10px 18px; border: 1px solid var(--color-border); border-bottom: none;
    background: var(--color-bg); border-radius: 8px 8px 0 0;
    font-size: 0.9rem; font-weight: 600; color: var(--color-text-muted);
    cursor: pointer; transition: all 0.15s;
}
.admin-tab:hover { background: var(--color-surface); color: var(--color-text); }
.admin-tab.active { background: var(--color-surface); color: var(--color-accent); border-bottom: 2px solid var(--color-surface); margin-bottom: -2px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }

td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-border); }
tr:last-child td { border-bottom: none; }
tr:hover { background: #f8fafc; }

.airline-link { font-weight: 600; }
.weight-cell { font-weight: 600; white-space: nowrap; }
.dims-cell { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.85rem; white-space: nowrap; }

/* Baggage Sections (Detail Page)
   -------------------------------------------------------------------------- */
.baggage-section {
    margin-bottom: 2rem;
}
.baggage-section h2 {
    color: var(--color-text); border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem; margin-bottom: 1rem;
}
.class-table { margin-bottom: 1.5rem; }

.specials-content p {
    padding: 0.5rem 0; border-bottom: 1px solid var(--color-border);
}
.specials-content p:last-child { border-bottom: none; }

.source-section p { font-size: 0.85rem; color: var(--color-text-muted); }

/* Error Page
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding: 4rem 1rem; }
.error-code { font-size: 4rem; color: var(--color-accent); margin: 0; }
.error-message { font-size: 1.2rem; margin: 16px 0; color: var(--color-text-muted); }
.error-page .submit-btn { display: inline-block; text-decoration: none; }
.error-popular { margin-top: 3rem; }
.error-popular h2 { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 1rem; }

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    h1 { font-size: 1.5rem; }
    .page-hero h1, .airline-header h1 { font-size: 1.6rem; }
    .hero-cards { grid-template-columns: 1fr; }
    .hero-summary { padding: 1rem; }
    .hero-card { padding: 1rem; }
    .search-bar { flex-direction: column; }
    .search-bar input { min-width: 100%; }
    table { font-size: 0.8rem; }
    th, td { padding: 0.5rem 0.6rem; }
}

@media (min-width: 641px) and (max-width: 900px) {
    .hero-cards { grid-template-columns: 1fr 1fr; }
}

/* Dark mode support (automatic)
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #0f172a;
        --color-surface: #1e293b;
        --color-text: #e2e8f0;
        --color-text-muted: #94a3b8;
        --color-border: #334155;
        --color-hero-bg: #1e293b;
    }
    .hero-card { background: #1e293b; }
    thead { background: #0f172a; }
    tr:hover { background: #1e293b; }
    .hero-summary { border-color: #334155; }
    .fact-card { background: var(--color-surface); border-color: var(--color-border); }
    .direct-answer { background: #052e16; border-color: #166534; }
    .direct-answer h2 { color: #4ade80; }
    .direct-answer p { color: #86efac; }
    .search-bar input, .search-bar select, .search-bar input:focus, .search-bar select:focus {
        background: #1e293b; color: #e2e8f0; border-color: #475569;
    }
    .tagline, .stats-bar { color: #94a3b8; }
    .hero-card li strong { color: #e2e8f0; }
}

/* Domain Badge
   -------------------------------------------------------------------------- */
.domain-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.domain-badge {
    display: inline-block; padding: 0.25rem 0.75rem;
    background: var(--color-hero-bg); border: 1px solid var(--color-border);
    border-radius: 20px; font-size: 0.85rem; color: var(--color-accent);
}

/* Landing Pages Table
   -------------------------------------------------------------------------- */
.landing-pages-section .section-desc {
    color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1rem;
}

/* Special Items
   -------------------------------------------------------------------------- */
.specials-list {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}
.special-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.92rem;
}
.special-row:last-child { border-bottom: none; }
.special-label {
    min-width: 160px;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.87rem;
    flex-shrink: 0;
}
.special-value { flex: 1; }
@media (max-width: 600px) {
    .special-row { flex-direction: column; gap: 4px; }
    .special-label { min-width: auto; }
}
.url-cell a { font-size: 0.8rem; word-break: break-all; }

/* Popular Airlines Quick-Links */
.popular-airlines {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 12px;
    padding: 0 4px;
}
.popular-label {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.popular-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.15s ease;
    text-align: center;
    min-height: 64px;
}
.popular-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
@media (max-width: 768px) {
    .popular-airlines { grid-template-columns: repeat(2, 1fr); }
    .popular-btn { padding: 14px 8px; font-size: 0.95rem; min-height: 56px; }
}

/* Quick Links — Airline Detail Page */
.quick-links { margin: 20px 0 24px; }
.quick-links h2 { font-size: 1.15rem; margin-bottom: 12px; color: var(--color-text); }
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.quick-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 8px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.15s ease;
    min-height: 52px;
}
.quick-link-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
@media (max-width: 768px) {
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-link-btn { padding: 12px 8px; font-size: 0.85rem; }
}

/* About & Contact */
.about-page section { margin: 24px 0; }
.about-page p { margin: 12px 0; line-height: 1.7; }
.contact-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
    padding: 10px 14px; border: 1px solid var(--color-border);
    border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.contact-form .required { color: #dc2626; }
.captcha-row { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.captcha-row input { width: 80px; }
.submit-btn {
    padding: 12px 24px; background: var(--color-accent); color: #fff;
    border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
}
.submit-btn:hover { background: var(--color-accent-hover); }
.form-status { font-size: 0.9rem; min-height: 20px; }
.form-status.success { color: #059669; }
.form-status.error { color: #dc2626; }
.imprint { font-size: 0.85rem; color: var(--color-text-muted); }

/* About – neue Sektionen */
.about-hero .lead { font-size: 1.05rem; line-height: 1.7; }
.about-page .about-promise ul, .about-page .about-method ol { margin: 12px 0 0; padding-left: 22px; }
.about-page .about-promise li, .about-page .about-method li { margin: 8px 0; line-height: 1.6; }
.about-faq details { border: 1px solid var(--color-border); border-radius: 8px; padding: 12px 16px; margin: 10px 0; background: var(--color-surface); }
.about-faq summary { cursor: pointer; font-weight: 600; color: var(--color-text); }
.about-faq details p { margin-top: 8px; color: var(--color-text-muted); line-height: 1.6; }
.about-legal-links { margin-top: 24px; font-size: 0.9rem; color: var(--color-text-muted); }
.about-legal-links a { color: var(--color-accent); text-decoration: none; }
.about-legal-links a:hover { text-decoration: underline; }
.cf-consent { font-size: 0.8rem; color: var(--color-text-muted); display: block; }
.cf-consent a { color: var(--color-text-muted); }

/* Legal-Pages (Datenschutz / Impressum) */
.legal-page h1 { font-size: 1.5rem; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.legal-page p, .legal-page li { line-height: 1.7; margin: 10px 0; }
.legal-page ul { margin-left: 22px; }
.legal-page .muted { color: var(--color-text-muted); font-size: 0.9rem; }

/* Footer-Links */
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: 0.85rem; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-accent); text-decoration: underline; }
.footer-links span { color: var(--color-border); }

/* Data Feedback Widget */
.data-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    margin: 16px 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.9rem;
}
.data-feedback-label { color: var(--color-text); font-weight: 500; }
.fb-btn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s;
}
.fb-btn:hover { background: var(--color-accent); transform: scale(1.1); }
.fb-thanks { color: #059669; font-weight: 500; }

/* Breadcrumb */
.breadcrumb { padding: 8px 0; font-size: 0.85rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.bc-sep { margin: 0 6px; }
.bc-current { color: var(--color-text); font-weight: 500; }

th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--color-accent); }

/* Share Buttons */
.share-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.share-btn {
    display: inline-flex; align-items: center;
    padding: 4px;
    transition: transform 0.15s;
}
.share-btn:hover { transform: scale(1.2); }
@media (max-width: 600px) {
    .share-btns { gap: 12px; }
}

/* Top Carry-On Ranking */
.ranking-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
    margin: 1.5rem 0;
}
.rank-card {
    display: flex; flex-direction: column; gap: 0.35rem;
    padding: 1.1rem 1.2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: 12px;
    text-decoration: none; transition: all 0.15s ease;
    position: relative;
}
.rank-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 14px rgba(37,99,235,0.12);
    transform: translateY(-2px);
}
.rank-badge {
    position: absolute; top: -0.6rem; left: 1rem;
    background: var(--color-accent); color: #fff;
    font-size: 0.75rem; font-weight: 800;
    padding: 0.15rem 0.6rem; border-radius: 20px;
}
.rank-card-body { display: flex; flex-direction: column; gap: 0.15rem; }
.rank-card-name { color: var(--color-text); font-weight: 700; font-size: 1.05rem; }
.rank-card-country { color: var(--color-text-muted); font-size: 0.8rem; }
.rank-card-weight { font-weight: 800; font-size: 1.5rem; color: var(--color-accent); }
.rank-card-detail { color: var(--color-text-muted); font-size: 0.8rem; line-height: 1.45; }
.rank-podium { border-color: #fbbf24; }
.rank-podium .rank-card-weight { font-size: 1.8rem; }
.rank-podium .rank-badge { background: #f59e0b; }

.weight-divider {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 1rem;
    margin: 1rem 0 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.9rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.weight-divider::before, .weight-divider::after {
    content: ''; flex: 1; height: 2px;
    background: var(--color-border); border-radius: 2px;
}
.weight-divider span { white-space: nowrap; }

.ranking-more-title {
    font-size: 1.15rem; margin: 2rem 0 0.5rem;
    color: var(--color-text);
}
.ranking-rest { list-style: none; padding: 0; margin: 0; }
.ranking-rest-item {
    display: flex; align-items: baseline; gap: 1rem;
    padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}
.ranking-rest-item .ranking-pos { font-weight: 700; color: var(--color-text-muted); min-width: 2.5rem; font-size: 0.8rem; }
.ranking-rest-item .ranking-name { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.ranking-rest-item .ranking-name:hover { text-decoration: underline; }
.ranking-rest-item .ranking-country { color: var(--color-text-muted); font-size: 0.78rem; flex: 1; }
.ranking-rest-item .ranking-weight { font-weight: 700; font-size: 1.05rem; color: var(--color-text); white-space: nowrap; }

@media (max-width: 640px) {
    .ranking-grid { grid-template-columns: 1fr; }
    .ranking-rest-item { flex-wrap: wrap; gap: 0.35rem; }
    .ranking-rest-item .ranking-country { flex-basis: 100%; }
}

/* Policy bullet lists */
.policy-bullets { list-style: none; padding: 0; margin: 0; }
.policy-bullets li {
    padding: 0.25rem 0; font-size: 0.95rem; line-height: 1.55;
}
.policy-bullets li strong { font-weight: 700; color: var(--color-text); }

/* Checked baggage purchase notice */
.checked-notice {
    font-size: 0.85rem; color: var(--color-text-muted);
    font-style: italic; margin: 0 0 0.5rem;
}

/* Articles / Guides */
.article-page { max-width: 720px; }
.article-header h1 { font-size: 1.7rem; line-height: 1.35; margin-bottom: 0.4rem; }
.article-meta { color: var(--color-text-muted); font-size: 0.85rem; margin: 0; }
.article-content { margin-top: 1.5rem; font-size: 1.02rem; line-height: 1.75; }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 0.5rem 0 1rem; display: block; }
.article-content h2 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; }
.article-content h3 { font-size: 1.1rem; margin: 1.4rem 0 0.5rem; }
.article-content p { margin: 0.8rem 0; }
.article-content ul, .article-content ol { margin: 0.8rem 0; padding-left: 1.4rem; }
.article-content li { margin: 0.35rem 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.article-content th, .article-content td { padding: 0.55rem 0.7rem; border: 1px solid var(--color-border); text-align: left; }
.article-content th { background: var(--color-hero-bg); font-weight: 700; }
.article-content em { color: var(--color-text-muted); }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.article-card {
    display: block; padding: 1.2rem 1.3rem;
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 12px; text-decoration: none; transition: all 0.15s ease;
}
.article-card:hover { border-color: var(--color-accent); box-shadow: 0 4px 14px rgba(37,99,235,0.12); transform: translateY(-2px); }
.article-card h2 { font-size: 1.15rem; color: var(--color-text); margin: 0 0 0.5rem; }
.article-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 0.6rem; line-height: 1.5; }
.article-date { font-size: 0.78rem; color: var(--color-text-muted); }

/* Article teaser on airline pages */
.article-teaser {
    display: block; margin: 0 0 1.25rem; padding: 0.5rem 0.9rem;
    background: var(--color-hero-bg); border: 1px solid var(--color-border);
    border-radius: 8px; font-size: 1rem; color: var(--color-accent);
    text-decoration: underline; font-weight: 500;
}
.article-teaser:hover { border-color: var(--color-accent); }

.article-teasers {
    margin: 0 0 1.25rem; padding: 0.6rem 0.9rem;
    background: var(--color-hero-bg); border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex; flex-direction: column; gap: 6px;
}
.article-teaser-link {
    color: var(--color-accent); text-decoration: underline;
    font-weight: 500; font-size: 1rem;
}

/* Imperial line in direct answer */
.direct-answer-imperial {
    font-size: 0.85rem; color: var(--color-text-muted);
    margin: 6px 0 0; font-weight: 400;
}

/* Mobile Fixes (28.08.26)
   -------------------------------------------------------------------------- */
/* Artikel-Tabellen: horizontal scrollbar statt Seiten-Overflow (149px) */
.article-content table {
    display: block; width: max-content; max-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
/* Klassen-Tabs: auf schmalen Screens umbruchfähig statt seitwärts raus */
@media (max-width: 480px) {
    .class-tabs { flex-wrap: wrap; gap: 6px; border-bottom: none; }
    .class-tab { flex: 1 1 auto; padding: 12px 14px; text-align: center;
                 border-bottom: 1px solid var(--color-border); }
    .class-tab.active { border-bottom: 2px solid var(--color-accent); margin-bottom: 0; }
}
/* Tap-Targets auf >= 44px */
.share-btn { width: 44px; height: 44px; }
.fb-btn { min-width: 44px; min-height: 44px; }
.lang-bar a { display: inline-block; padding: 0.55rem 0.75rem; }
.breadcrumb a { display: inline-block; padding: 10px 4px; }
/* Mindest-Schriftgröße 12px */
.fact-label { font-size: 0.75rem; }
.imperial-value { font-size: 0.75rem; }

/* Homepage: gestapelte Cards statt 1908px-Tabelle (Punkt 5) + Guides-Sektion (Punkt 4) */
.home-guides { margin-top: 2.5rem; }
.home-guides h2 { font-size: 1.25rem; margin: 0 0 1rem; color: var(--color-text); }
@media (max-width: 640px) {
    .airline-table thead { display: none; }
    .airline-table, .airline-table tbody { display: block; width: 100%; }
    .airline-table tr {
        display: block; background: var(--color-surface);
        border: 1px solid var(--color-border); border-radius: var(--radius);
        box-shadow: var(--shadow-sm); margin-bottom: 12px; padding: 12px 16px;
    }
    .airline-table td {
        display: flex; justify-content: space-between; align-items: baseline;
        gap: 12px; padding: 6px 0; border: none; width: 100%;
    }
    .airline-table td::before {
        content: attr(data-label); color: var(--color-text-muted);
        font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em;
        font-weight: 600; flex-shrink: 0;
    }
    .airline-table td.weight-cell, .airline-table td.dims-cell { font-weight: 700; }
}
