/* =====================================================
   rapenation.com – Verdikt Report
   Justiz-/Kriminal-Desk-Design: dunkler Anthrazit-Ton,
   gedämpftes Rotbraun/Amber als Akzent, Serifen-Schlagzeilen.
   ===================================================== */
:root {
    --bg: #14171c;          /* Seiten-Hintergrund (Anthrazit) */
    --bg-2: #1b1f26;         /* Karten/Panels */
    --bg-3: #22262e;         /* leicht hellere Fläche */
    --ink: #eceef1;          /* Haupttext (auf dunklem Grund) */
    --ink-2: #b7bcc4;        /* Sekundärtext */
    --ink-3: #7d838d;        /* Meta / Zeitstempel */
    --rule: #2c3038;         /* Trennlinien */
    --rule-strong: #3a3f49;
    --accent: #c2542f;       /* gedämpftes Rotbraun/Amber */
    --accent-dark: #9c4425;
    --accent-soft: rgba(194,84,47,.14);
    --paper: #f4f2ee;        /* für Formulare/Inputs, dezent hell */
    --max: 1200px;
    --serif: Georgia, 'Iowan Old Style', 'Times New Roman', 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(--bg);
    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(--accent); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

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

/* ===== Masthead ===== */
.masthead { border-bottom: 1px solid var(--rule); background: var(--bg); }
.masthead-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px 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); display: inline-flex; }
.logo-word { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.7rem); letter-spacing: .1em; line-height: 1; }
.logo-main { color: var(--ink); }
.logo-sub { color: var(--accent); }
.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(--accent); border-bottom: 1px solid var(--rule); background: var(--bg-2); 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-2); font-family: var(--sans); font-weight: 700;
    font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-bottom: 3px solid transparent; }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.active { border-bottom-color: var(--cat-color, var(--accent)); color: var(--ink); }
.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: .68rem;
    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: 1px solid var(--rule-strong); }
.hero-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.hero-image { display: block; overflow: hidden; background: var(--bg-2); }
.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: .76rem; }
.hero-body h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.14; 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.08rem; color: var(--ink-2); font-family: var(--serif); line-height: 1.55; }

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

/* ===== Karten-Raster ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 28px; }
.card { padding: 22px 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.card-image { display: block; overflow: hidden; margin-bottom: 12px; aspect-ratio: 16 / 10; background: var(--bg-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-body { display: flex; flex-direction: column; }
.card-body h3 { font-family: var(--serif); font-weight: 700; font-size: 1.24rem; line-height: 1.28; 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: .95rem; line-height: 1.5; margin-bottom: 10px; }
.meta { display: flex; gap: 12px; color: var(--ink-3); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; margin-top: auto; }

/* ===== 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-2); font-size: .85rem; font-weight: 600; }
.pagination a:hover { background: var(--bg-2); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== 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: .78rem; }
.article-header h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.16; 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%; border: 1px solid var(--rule); }
.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(--bg-2); border-left: 3px solid var(--accent); padding: 12px 16px; font-size: .86rem; color: var(--ink-2); margin: 20px 0; }
.key-facts { background: var(--bg-2); border: 1px solid var(--rule); padding: 18px 22px; margin: 24px 0; }
.key-facts h2 { font-family: var(--sans); font-size: .78rem; 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.15rem; line-height: 1.72; color: var(--ink); }
.article-content p { margin: 0 0 22px; }
.article-content h2 { font-family: var(--serif); font-size: 1.5rem; 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.4rem; 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.05rem; }
.faq details p { margin-top: 8px; color: var(--ink-2); }
.article-source { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule-strong); color: var(--ink-3); font-size: .9rem; }
.article-source a { color: var(--accent); }

/* ===== Opferschutz-Hotline-Block (fest, nicht KI-generiert) ===== */
.helplines { background: var(--bg-2); border: 1px solid var(--accent); border-left: 4px solid var(--accent); padding: 18px 22px; margin: 30px 0; }
.helplines h2 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--accent); }
.helplines p { color: var(--ink-2); font-size: .92rem; margin-bottom: 10px; }
.helplines ul { list-style: none; }
.helplines li { padding: 6px 0; border-top: 1px dashed var(--rule); font-size: .95rem; color: var(--ink); }
.helplines li:first-child { border-top: none; }
.helplines a { color: var(--accent); font-weight: 700; }
.helplines .note { color: var(--ink-3); font-size: .82rem; }
.footer-helplines { padding: 28px 0; border-bottom: 1px solid #2b2f36; }
.footer-helplines .helplines { background: transparent; border: 1px solid var(--rule-strong); }

.helpline-country { margin-bottom: 4px; }
.helpline-country h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 14px 0 4px; }
.helpline-country:first-of-type h3 { margin-top: 0; }
.helpline-country .country-code { display: inline-block; min-width: 26px; padding: 1px 5px; margin-right: 6px; border: 1px solid var(--accent); border-radius: 3px; font-size: .7rem; color: var(--accent); font-weight: 700; }
.helplines-other { margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 10px; }
.helplines-other summary { cursor: pointer; color: var(--accent); font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.helplines-other[open] summary { margin-bottom: 8px; }

/* ===== Inhalts-/Rechtsseiten ===== */
.content-page, .category-head { max-width: 760px; margin: 0 auto; }
.content-page h1, .legal h1 { font-family: var(--serif); font-size: 2.1rem; margin-bottom: 16px; }
.legal h2 { font-family: var(--serif); margin: 26px 0 8px; font-size: 1.3rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; } .legal ul, .legal ol { margin-left: 20px; }
.legal code { background: var(--bg-2); padding: 1px 6px; border: 1px solid var(--rule); }
.category-head { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-strong); }
.category-head h1 { font-family: var(--serif); font-size: 2.2rem; margin: 6px 0 8px; }
.category-head p { color: var(--ink-2); font-family: var(--serif); }
.notice { background: var(--bg-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; color: var(--ink-2); }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--rule-strong);
    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: rgba(60,140,80,.15); border: 1px solid #3c8c50; color: #7fd393; }
.alert-error { background: var(--accent-soft); border: 1px solid var(--accent); color: #e08a6c; }

/* ===== Footer ===== */
.site-footer { background: #0e1013; color: #9aa0a9; margin-top: 50px; padding: 0 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 28px 0; 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.05rem; }
.footer-logo .logo-mark { color: var(--accent); }
.footer-about p { color: #8b919b; font-size: .9rem; margin-top: 10px; max-width: 340px; }
.footer-note { font-size: .82rem !important; color: #6c727b !important; }
.footer-col h3 { color: #fff; font-size: .76rem; 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: #9aa0a9; font-size: .9rem; } .footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 18px; color: #6c727b; 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.08rem; }
}
