/* =====================================================
   starshipinsider.com – Seriöses Nachrichten-Design
   Helles Papier-Layout · Serifen-Schlagzeilen · klares Raster
   ===================================================== */
:root {
    --paper: #ffffff;
    --paper-2: #f6f5f2;
    --ink: #14161a;          /* Schlagzeilen / Text */
    --ink-2: #4a4f57;        /* Sekundärtext */
    --ink-3: #767b84;        /* Meta */
    --rule: #e2e1dc;         /* Trennlinien */
    --rule-strong: #14161a;  /* starke Linien (Masthead) */
    --accent: #b4121b;       /* Zeitungs-Rot (Links/Akzent) */
    --accent-dark: #8c0d14;
    --max: 1200px;
    --serif: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ===== Kopf: Utility-Leiste ===== */
.utility-bar { background: var(--ink); color: #cfd2d8; font-size: .76rem; letter-spacing: .03em; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.utility-date { text-transform: uppercase; }
.lang-switch a { color: #cfd2d8; font-weight: 700; padding: 0 5px; text-decoration: none; }
.lang-switch a.active { color: #fff; }
.lang-switch a:hover { color: #fff; text-decoration: none; }

/* ===== Masthead ===== */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 24px 16px; }
.masthead-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.masthead-logo:hover { text-decoration: none; }
.masthead-logo .logo-mark { color: var(--accent); font-size: 1.6rem; }
.logo-word { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3.1rem); letter-spacing: .14em; line-height: 1; }
.logo-ship { color: var(--ink); }
.logo-insider { color: var(--ink); }
.masthead-slogan { margin-top: 10px; color: var(--ink-2); font-size: .82rem; font-style: italic; font-family: var(--serif); text-align: center; }

/* ===== Ressort-Navigation ===== */
.section-nav { border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.nav-menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
.nav-menu a { display: block; padding: 12px 15px; color: var(--ink); font-family: var(--sans); font-weight: 700;
    font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border-bottom: 3px solid transparent; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu a.active { border-bottom-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; } .hamburger::after { top: 7px; }

/* ===== Main ===== */
.site-main { padding: 30px 0 50px; min-height: 60vh; }

/* Kicker / Ressort-Label */
.badge, .kicker { display: inline-block; font-family: var(--sans); font-weight: 800; font-size: .7rem;
    text-transform: uppercase; letter-spacing: .08em; color: var(--cat-color, var(--accent)); margin-bottom: 6px; }
.badge { background: none; padding: 0; border-radius: 0; }

/* ===== Lead-Story (Hero) ===== */
.hero { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 3px double var(--rule-strong); }
.hero-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.hero-image { display: block; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.hero-body { padding-top: 4px; }
.hero-body .badge { color: var(--cat-color, var(--accent)); font-size: .78rem; }
.hero-body h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.01em; margin: 4px 0 14px; }
.hero-body h1 a { color: var(--ink); }
.hero-body h1 a:hover { color: var(--accent); text-decoration: none; }
.hero-body p { font-size: 1.12rem; color: var(--ink-2); font-family: var(--serif); line-height: 1.55; }

/* ===== Abschnittstitel ===== */
.section-title { font-family: var(--sans); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
    color: var(--ink); margin: 0 0 20px; padding-bottom: 8px; border-bottom: 2px solid var(--rule-strong); display: flex; align-items: center; gap: 10px; }

/* ===== Karten-Raster ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0; }
.grid .card { border-top: 1px solid var(--rule); }
.card { padding: 22px 0; display: flex; flex-direction: column; }
/* vertikale Trennlinien wie in einer Zeitung */
.grid { column-gap: 28px; }
.grid .card { padding: 22px 0; }
.card-image { display: block; overflow: hidden; margin-bottom: 12px; aspect-ratio: 16 / 10; background: var(--paper-2); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-image img { transform: scale(1.03); }
.card-image .badge { position: static; }
.card-body { display: flex; flex-direction: column; }
.card-body h3 { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; line-height: 1.25; margin-bottom: 8px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--accent); text-decoration: none; }
.card-body p { color: var(--ink-2); font-size: .96rem; line-height: 1.5; margin-bottom: 10px; }
.meta { display: flex; gap: 12px; color: var(--ink-3); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; margin-top: auto; }
.meta time::after { content: ''; }

/* ===== Pagination ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 9px 15px; border: 1px solid var(--rule); color: var(--ink); font-size: .85rem; font-weight: 600; }
.pagination a:hover { background: var(--paper-2); text-decoration: none; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Artikel ===== */
.article { max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-3); }
.article-header { border-bottom: 1px solid var(--rule); padding-bottom: 18px; margin-bottom: 22px; }
.article-header .badge { font-size: .8rem; }
.article-header h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.12; letter-spacing: -.01em; margin: 6px 0 16px; color: var(--ink); }
.article-header .meta { font-size: .8rem; }
.article-image { margin: 24px 0; }
.article-image img { width: 100%; }
.article-image figcaption { padding: 8px 2px; font-size: .78rem; color: var(--ink-3); border-bottom: 1px solid var(--rule); font-style: italic; }
.ai-disclaimer { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 12px 16px; font-size: .86rem; color: var(--ink-2); margin: 20px 0; }
.key-facts { background: var(--paper-2); border: 1px solid var(--rule); padding: 18px 22px; margin: 24px 0; }
.key-facts h2 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; color: var(--ink); }
.key-facts ul { margin-left: 18px; } .key-facts li { margin-bottom: 5px; color: var(--ink-2); }
.article-content { font-family: var(--serif); font-size: 1.18rem; line-height: 1.72; color: #23262b; }
.article-content p { margin: 0 0 22px; }
.article-content p:first-of-type::first-letter { /* dezenter Initial */ font-weight: 700; }
.article-content h2 { font-family: var(--serif); font-size: 1.55rem; margin: 32px 0 12px; line-height: 1.25; }
.article-content ul, .article-content ol { margin: 0 0 22px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--accent); text-decoration: underline; }
.faq { margin: 34px 0; }
.faq h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--serif); font-size: 1.1rem; }
.faq details p { margin-top: 8px; color: var(--ink-2); }
.article-source { margin-top: 30px; padding-top: 18px; border-top: 2px solid var(--rule-strong); color: var(--ink-3); font-size: .9rem; }
.article-source a { color: var(--accent); }

/* ===== Inhalts-/Rechtsseiten ===== */
.content-page, .category-head { max-width: 760px; margin: 0 auto; }
.content-page h1, .legal h1 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 16px; }
.legal h2 { font-family: var(--serif); margin: 26px 0 8px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; } .legal ul { margin-left: 20px; }
.legal code { background: var(--paper-2); padding: 1px 6px; border: 1px solid var(--rule); }
.category-head { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 3px double var(--rule-strong); }
.category-head h1 { font-family: var(--serif); font-size: 2.4rem; margin: 6px 0 8px; }
.category-head p { color: var(--ink-2); font-family: var(--serif); }
.notice { background: var(--paper-2); border: 1px solid var(--rule); padding: 28px; text-align: center; color: var(--ink-2); }

/* ===== Formulare ===== */
.contact-form { margin-top: 24px; max-width: 620px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; background: var(--paper); border: 1px solid #c8c7c1;
    color: var(--ink); font-family: var(--sans); font-size: 1rem; border-radius: 2px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { background: var(--accent); color: #fff; border: 0; padding: 13px 30px; font-weight: 700; font-size: .95rem;
    text-transform: uppercase; letter-spacing: .05em; cursor: pointer; border-radius: 2px; }
.btn:hover { background: var(--accent-dark); } .btn:disabled { opacity: .6; cursor: not-allowed; }
.form-legal { font-size: .8rem; color: var(--ink-3); margin-top: 12px; }
.alert { padding: 13px 16px; margin: 16px 0; font-size: .95rem; border-radius: 2px; }
.alert-success { background: #edf7ee; border: 1px solid #4c9a51; color: #1f6b33; }
.alert-error { background: #fcecea; border: 1px solid var(--accent); color: var(--accent-dark); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c4c8cf; margin-top: 50px; padding: 44px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #2b2f36; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--serif); letter-spacing: .1em; font-size: 1.1rem; }
.footer-logo .logo-mark { color: var(--accent); }
.footer-about p { color: #9ba2ab; font-size: .9rem; margin-top: 10px; max-width: 340px; }
.footer-note { font-size: .82rem !important; color: #7c828b !important; }
.footer-col h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-col ul { list-style: none; } .footer-col li { margin-bottom: 8px; }
.footer-col a { color: #c4c8cf; font-size: .9rem; } .footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 18px; color: #868c95; font-size: .82rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .hero-card { grid-template-columns: 1fr; gap: 16px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .masthead-inner { padding: 16px 24px 12px; }
    .nav-toggle { display: block; }
    .section-nav { position: static; }
    .nav-menu { display: none; flex-direction: column; }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 13px 0; border-bottom: 1px solid var(--rule); width: 100%; }
    .nav-menu a.active { border-bottom-color: var(--rule); }
    .masthead-slogan { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .article-content { font-size: 1.1rem; }
}
