/* CyberRadar – ergänzt /css/style.css und /css/pages.css der Hauptseite.
   Farben/Typo aus der bestehenden Seite: Navy #0a1f5e, Blau #1a4fd6, Text #0a1a3e, Grau #6b7280, Inter. */

.cr { --cr-navy:#0a1f5e; --cr-blue:#1a4fd6; --cr-ink:#0a1a3e; --cr-grey:#6b7280; --cr-line:#f3f4f6; --cr-soft:#f5f7ff; --cr-alert:#ff5a5f; --cr-ping:#7fb0ff; }

/* ---------- Hero ---------- */
.cr-hero { position:relative; overflow:hidden; padding:148px 0 72px; color:#fff;
  background: radial-gradient(1200px 600px at 78% 40%, rgba(26,79,214,.45), transparent 60%), linear-gradient(135deg,#071640 0%,#0a1f5e 55%,#0d2870 100%); }
.cr-hero::after { content:""; position:absolute; inset:0; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.cr-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns: 1.05fr .95fr; gap:48px; align-items:center; }
.cr-crumbs { display:flex; flex-wrap:wrap; gap:8px; font-size:12px; color:rgba(255,255,255,.55); margin-bottom:20px; }
.cr-crumbs a { color:rgba(255,255,255,.75); }
.cr-crumbs a:hover { color:#fff; }
.cr-crumbs-dark { color:#9ca3af; }
.cr-crumbs-dark a { color:#6b7280; }
.cr-crumbs-dark a:hover { color:var(--cr-blue); }
.cr-kicker { display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#a9c1ff; margin-bottom:14px; }
.cr-kicker-dark { color:var(--cr-blue); }
.cr-kicker-icon { width:18px; height:18px; border-radius:50%; border:2px solid #a9c1ff; position:relative; }
.cr-kicker-icon::after { content:""; position:absolute; left:50%; top:50%; width:6px; height:6px; margin:-3px 0 0 -3px; border-radius:50%; background:#a9c1ff; }
.cr-h1 { font-size:clamp(34px,5vw,56px); font-weight:900; line-height:1.06; letter-spacing:-.03em; color:#fff; }
.cr-sub { font-size:clamp(18px,2.2vw,24px); font-weight:300; color:rgba(255,255,255,.78); margin-top:10px; letter-spacing:-.01em; }
.cr-lead { font-size:16px; line-height:1.75; color:rgba(255,255,255,.66); max-width:540px; margin-top:20px; }

.cr-kpi-cap { margin-top:30px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.cr-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:10px; max-width:600px; }
.cr-kpi { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:16px 14px; text-align:center; }
.cr-kpi-val { display:block; font-size:34px; font-weight:900; line-height:1; font-variant-numeric:tabular-nums; }
.cr-kpi-label { display:block; font-size:12px; color:rgba(255,255,255,.6); margin-top:6px; }
.cr-updated { display:flex; align-items:center; gap:8px; margin-top:18px; font-size:13px; color:rgba(255,255,255,.62); }
.cr-updated svg { width:15px; height:15px; flex-shrink:0; }

/* ---------- Karte ---------- */
.cr-map-wrap { margin:0; }
.cr-map-box { position:relative; max-width:460px; margin:0 auto; }
.cr-map { display:block; width:100%; height:auto; overflow:visible; }
.cr-radar circle, .cr-radar line { fill:none; stroke:rgba(169,193,255,.13); stroke-width:1; }
.cr-sweep { transform-box:view-box; transform-origin:50% 50%; animation:crSweep 9s linear infinite; }
@keyframes crSweep { to { transform:rotate(360deg); } }

.cr-state { stroke:rgba(255,255,255,.32); stroke-width:.8; stroke-linejoin:round; fill:rgba(255,255,255,.05); transition:fill .2s; }
.cr-state.cr-l1 { fill:rgba(91,140,255,.16); }
.cr-state.cr-l2 { fill:rgba(91,140,255,.26); }
.cr-state.cr-l3 { fill:rgba(91,140,255,.36); }
.cr-state.cr-l4 { fill:rgba(91,140,255,.48); }
.cr-state.cr-state-active { stroke:#fff; stroke-width:1.6; }
.cr-state-link:hover .cr-state, .cr-state-link:focus .cr-state { fill:rgba(169,193,255,.42); }
.cr-state-link:focus { outline:none; }
.cr-state-link:focus-visible .cr-state { stroke:#fff; stroke-width:2; }

.cr-pin { color:var(--cr-ping); }
.cr-pin-new { color:var(--cr-alert); }
.cr-dot { fill:currentColor; stroke:#0a1f5e; stroke-width:1.2; }
.cr-pin-new .cr-dot { stroke:#fff; }
.cr-pulse { fill:none; stroke:currentColor; stroke-width:1.6; opacity:0; transform-box:fill-box; transform-origin:center; animation:crPulse 3.2s ease-out infinite; }
.cr-pulse2 { animation-delay:1.6s; }
.cr-pin:not(.cr-pin-new):not(.cr-pin-recent) .cr-pulse { animation-duration:4.8s; stroke-width:1; }
.cr-d1 .cr-pulse { animation-delay:.5s; } .cr-d1 .cr-pulse2 { animation-delay:2.1s; }
.cr-d2 .cr-pulse { animation-delay:1s; }  .cr-d2 .cr-pulse2 { animation-delay:2.6s; }
.cr-d3 .cr-pulse { animation-delay:1.4s; } .cr-d3 .cr-pulse2 { animation-delay:3s; }
.cr-d4 .cr-pulse { animation-delay:.25s; } .cr-d4 .cr-pulse2 { animation-delay:1.85s; }
.cr-d5 .cr-pulse { animation-delay:.75s; } .cr-d5 .cr-pulse2 { animation-delay:2.35s; }
@keyframes crPulse { 0% { transform:scale(.35); opacity:.95; } 80% { opacity:0; } 100% { transform:scale(2.3); opacity:0; } }
.cr-pin-link { cursor:pointer; }
.cr-pin-link:hover .cr-dot, .cr-pin-link:focus .cr-dot { fill:#fff; }
.cr-pin-link:focus { outline:none; }
.cr-pin-link:focus-visible .cr-dot { stroke:#facc15; stroke-width:2.5; }

.cr-tip { position:absolute; z-index:5; max-width:260px; background:#fff; color:var(--cr-ink); border-radius:12px; padding:10px 12px; font-size:12px; line-height:1.45;
  box-shadow:0 12px 32px rgba(0,0,0,.28); pointer-events:none; transform:translate(-50%, calc(-100% - 14px)); }
.cr-tip strong { display:block; font-size:13px; }
.cr-tip span { color:var(--cr-grey); }

.cr-map-caption { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; margin-top:14px; font-size:12px; color:rgba(255,255,255,.62); text-align:center; }
.cr-legend { display:inline-flex; align-items:center; gap:7px; }
.cr-legend-dot { width:10px; height:10px; border-radius:50%; background:var(--cr-ping); box-shadow:0 0 0 3px rgba(127,176,255,.25); }
.cr-legend-new { background:var(--cr-alert); box-shadow:0 0 0 3px rgba(255,90,95,.28); }
.cr-map-note { flex-basis:100%; color:rgba(255,255,255,.5); font-size:11.5px; max-width:420px; margin:0 auto; }

/* ---------- Liste + Filter ---------- */
.cr-main { padding:56px 0 96px; background:#fff; }
.cr-main-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:40px; align-items:start; }
.cr-filter { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)) auto; gap:12px; align-items:end; background:var(--cr-soft); border:1px solid #e6ebfa; border-radius:20px; padding:18px; }
.cr-filter-field label { display:block; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#6b7280; margin-bottom:6px; }
.cr-filter select { width:100%; font:inherit; font-size:14px; color:var(--cr-ink); background:#fff; border:1px solid #dbe3f7; border-radius:10px; padding:10px 12px; min-height:44px; }
.cr-filter select:focus-visible { outline:2px solid var(--cr-blue); outline-offset:1px; }
.cr-filter-actions { display:flex; align-items:center; gap:12px; }
.cr-btn { padding:11px 20px; font-size:14px; min-height:44px; justify-content:center; }
.cr-reset { font-size:13px; font-weight:600; color:var(--cr-grey); white-space:nowrap; }
.cr-reset:hover { color:var(--cr-blue); }

.cr-results-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:36px 0 18px; }
.cr-h2 { font-size:clamp(22px,2.6vw,30px); font-weight:900; color:var(--cr-ink); letter-spacing:-.02em; }
.cr-results-count { font-size:13px; color:var(--cr-grey); }

.cr-cards { display:flex; flex-direction:column; gap:16px; }
.cr-cards-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; margin-top:24px; }
.cr-card { position:relative; border:1px solid var(--cr-line); border-radius:20px; padding:24px 26px; background:#fff; transition:box-shadow .2s, border-color .2s, transform .2s; }
.cr-card:hover { box-shadow:0 12px 40px rgba(10,31,94,.08); border-color:#dbeafe; transform:translateY(-2px); }
.cr-card-test { border-style:dashed; border-color:#f59e0b; }
.cr-card-badges { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.cr-card-title { font-size:19px; font-weight:800; color:var(--cr-ink); line-height:1.3; letter-spacing:-.01em; }
.cr-card-title a::after { content:""; position:absolute; inset:0; border-radius:20px; }
.cr-card-title a:focus-visible { outline:none; }
.cr-card:focus-within { outline:2px solid var(--cr-blue); outline-offset:2px; }
.cr-card-org { font-size:14px; font-weight:600; color:var(--cr-blue); margin-top:6px; }
.cr-card-meta { display:flex; flex-wrap:wrap; gap:6px 18px; margin:12px 0 0; font-size:12.5px; color:#6b7280; }
.cr-card-meta div { display:flex; gap:5px; }
.cr-card-meta dt { color:#9ca3af; }
.cr-card-meta dt::after { content:":"; }
.cr-card-meta dd { margin:0; color:#4b5563; font-weight:500; }
.cr-card-summary { font-size:14.5px; line-height:1.7; color:#4b5563; margin-top:12px; }
.cr-card-more { display:inline-block; margin-top:12px; font-size:13px; font-weight:700; color:var(--cr-blue); position:relative; }

.cr-badge { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:700; padding:4px 10px; border-radius:100px; white-space:nowrap; border:1px solid transparent; line-height:1.3; }
.cr-cat-ransomware   { background:#fef2f2; color:#b91c1c; }
.cr-cat-datenleck    { background:#fff7ed; color:#c2410c; }
.cr-cat-cyberangriff { background:#eff4ff; color:#1a4fd6; }
.cr-cat-it-ausfall   { background:#f5f3ff; color:#6d28d9; }
.cr-cat-ddos         { background:#ecfeff; color:#0e7490; }
.cr-cat-lieferkette  { background:#fdf4ff; color:#a21caf; }
.cr-cat-sonstiges    { background:#f3f4f6; color:#4b5563; }
.cr-ver-bestaetigt   { background:#f0fdf4; color:#15803d; border-color:#bbf7d0; }
.cr-ver-bestaetigt::before { content:"✓"; }
.cr-ver-medienbericht{ background:#fffbeb; color:#b45309; border-color:#fde68a; }
.cr-ver-unbestaetigt { background:#f9fafb; color:#6b7280; border:1px dashed #9ca3af; }
.cr-ver-unbestaetigt::before { content:"?"; }

.cr-empty { border:1px dashed #dbe3f7; border-radius:20px; padding:32px; color:#4b5563; font-size:15px; display:flex; flex-direction:column; gap:8px; }
.cr-empty a { color:var(--cr-blue); font-weight:700; }
.cr-pager { display:flex; justify-content:space-between; margin-top:32px; font-size:14px; font-weight:700; }
.cr-pager a { color:var(--cr-blue); padding:10px 0; }

/* ---------- Seitenleiste ---------- */
.cr-col-side, .cr-art-side { display:flex; flex-direction:column; gap:20px; position:sticky; top:130px; }
.cr-side-box { border:1px solid var(--cr-line); border-radius:20px; padding:24px; background:#fff; }
.cr-side-h { font-size:16px; font-weight:800; color:var(--cr-ink); margin-bottom:14px; }
.cr-side-list { display:flex; flex-direction:column; gap:12px; font-size:13.5px; color:#4b5563; line-height:1.6; }
.cr-side-list strong { color:var(--cr-ink); }
.cr-side-list .cr-badge { margin:2px 2px 0 0; }
.cr-side-small { font-size:13px; color:#6b7280; margin-top:16px; padding-top:14px; border-top:1px solid var(--cr-line); }
.cr-side-small a, .cr-correct-box a { color:var(--cr-blue); font-weight:700; }
.cr-state-list { display:grid; grid-template-columns:1fr; gap:2px; }
.cr-state-list a { display:flex; justify-content:space-between; gap:8px; padding:7px 10px; border-radius:8px; font-size:13.5px; color:#4b5563; }
.cr-state-list a:hover, .cr-state-list a[aria-current] { background:#eff4ff; color:var(--cr-navy); }
.cr-count { font-variant-numeric:tabular-nums; font-weight:700; color:#9ca3af; }
.cr-side-cta { background:linear-gradient(135deg,#0a1f5e,#1a4fd6); color:#fff; border-radius:20px; padding:26px; }
.cr-side-cta-h { font-size:18px; font-weight:900; margin-bottom:8px; }
.cr-side-cta p { font-size:13.5px; line-height:1.65; color:rgba(255,255,255,.78); }
.cr-side-cta .btn-white { margin-top:16px; }
.cr-side-links { display:flex; flex-direction:column; gap:10px; font-size:14px; }
.cr-side-links a { color:var(--cr-blue); font-weight:600; }

/* ---------- Detailseite ---------- */
.cr-art-hero { padding:124px 0 44px; background:linear-gradient(135deg,#f5f7ff,#fff 55%,#eef2ff); }
.cr-art-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:48px; align-items:center; }
.cr-art-title { font-size:clamp(26px,3.6vw,42px); font-weight:900; color:var(--cr-ink); line-height:1.15; letter-spacing:-.02em; margin:6px 0 16px; max-width:820px; }
.cr-art-summary { font-size:17px; line-height:1.75; color:#4b5563; max-width:760px; }
.cr-art-updated { font-size:13px; color:#9ca3af; margin-top:14px; }
.cr-testflag { display:inline-block; background:#fef3c7; color:#92400e; font-weight:800; font-size:12px; letter-spacing:.06em; padding:6px 12px; border-radius:8px; margin-bottom:12px; }
.cr-art-mini { text-align:center; }
.cr-map-mini .cr-state { fill:#e3e9fb; stroke:#fff; stroke-width:1; }
.cr-map-mini .cr-state.cr-state-active { fill:#bccdf8; stroke:#fff; stroke-width:1; }
.cr-map-mini .cr-pin { color:#e11d48; }
.cr-map-mini .cr-dot { stroke:#fff; stroke-width:2; }
.cr-map-mini .cr-pulse { stroke-width:2; animation-duration:2.6s; }
.cr-art-mini-cap { font-size:12px; font-weight:600; color:#6b7280; margin-top:8px; }

.cr-art-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:56px; padding-top:48px; padding-bottom:72px; align-items:start; }
.cr-art-body.post-content { margin:0; max-width:740px; }
.cr-art-body h2 { scroll-margin-top:130px; }
.cr-facts { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:1px; background:var(--cr-line); border:1px solid var(--cr-line); border-radius:16px; overflow:hidden; margin:0 0 12px; font-size:14px; line-height:1.55; }
.cr-facts div { background:#fff; padding:14px 16px; }
.cr-facts div:last-child:nth-child(odd) { grid-column:1 / -1; }
.cr-facts dt { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#9ca3af; margin-bottom:4px; }
.cr-facts dd { margin:0; color:var(--cr-ink); font-weight:600; }
.cr-facts small { font-weight:400; color:#6b7280; font-size:12.5px; }
.post-content ul.cr-checklist, .post-content ul.cr-openlist { list-style:none; padding-left:0; }
.cr-checklist li, .cr-openlist li { position:relative; padding-left:30px; }
.cr-checklist li::before { content:"✓"; position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%; background:#f0fdf4; color:#15803d; font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.cr-openlist li::before { content:"?"; position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%; background:#fffbeb; color:#b45309; font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.post-content ol.cr-sources { padding-left:22px; }
.cr-sources a { color:var(--cr-blue); font-weight:600; word-break:break-word; }
.cr-src-meta { display:block; font-size:13px; color:#6b7280; }
.cr-note { font-size:13.5px; color:#6b7280; background:var(--cr-soft); border-radius:12px; padding:12px 16px; }
.post-content ul.cr-corrections { list-style:none; padding-left:0; }
.cr-corrections li { border-left:3px solid #f59e0b; padding:4px 0 4px 14px; font-size:15px; }
.cr-share { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:36px; padding-top:24px; border-top:1px solid var(--cr-line); }
.cr-share-label { font-size:13px; font-weight:700; color:var(--cr-ink); margin-right:4px; }
.cr-share-btn { font:inherit; font-size:13px; font-weight:600; color:var(--cr-navy); background:#eff4ff; border:1px solid #dbe3f7; border-radius:10px; padding:8px 14px; cursor:pointer; min-height:40px; display:inline-flex; align-items:center; }
.cr-share-btn:hover { background:#dbe7ff; }
.cr-correct-box { margin-top:28px; background:#fffbeb; border:1px solid #fde68a; border-radius:14px; padding:16px 18px; font-size:14.5px; }
.cr-correct-box p { margin:0; }
.cr-similar { background:var(--cr-soft); padding:64px 0 88px; }

.cr-plain { padding:150px 0 100px; background:linear-gradient(135deg,#f5f7ff,#fff 55%,#eef2ff); }
.cr-narrow { max-width:720px; }
.cr-h1-dark { font-size:clamp(28px,4vw,44px); font-weight:900; color:var(--cr-ink); margin-bottom:16px; }
.cr-plain p { color:#4b5563; margin-bottom:16px; font-size:16px; }

/* ---------- Responsive ---------- */
@media (max-width:1100px) {
  .cr-filter { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .cr-filter-actions { grid-column:1 / -1; }
}
@media (max-width:1023px) {
  .cr-hero { padding:104px 0 56px; }
  .cr-hero-grid, .cr-main-grid, .cr-art-grid { grid-template-columns:1fr; }
  .cr-map-box { max-width:380px; }
  .cr-col-side, .cr-art-side { position:static; }
  .cr-art-hero-grid { grid-template-columns:minmax(0,1fr) 170px; gap:24px; }
}
@media (max-width:640px) {
  .cr-hero { padding:96px 0 44px; }
  .cr-kpis { gap:8px; grid-template-columns:repeat(2,1fr); }
  .cr-kpi { padding:12px 6px; }
  .cr-kpi-val { font-size:26px; }
  .cr-kpi-label { font-size:11px; }
  .cr-map-box { max-width:320px; }
  .cr-filter { grid-template-columns:1fr; padding:14px; }
  .cr-card { padding:20px 18px; }
  .cr-card-title { font-size:17px; }
  .cr-cards-grid { grid-template-columns:1fr; }
  .cr-facts { grid-template-columns:1fr; }
  .cr-art-hero { padding:96px 0 32px; }
  .cr-art-hero-grid { grid-template-columns:1fr; }
  .cr-art-mini { display:none; }
  .cr-tip { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .cr-sweep, .cr-pulse { animation:none; }
  .cr-pulse { opacity:.35; transform:scale(1.4); }
  .cr-card, .cr-card:hover { transition:none; transform:none; }
}
/* 1.2.3: Kasten „Was heißt das für kleine Firmen?“ (feste Schutzhinweise je Kategorie) */
.cr-kmu-box { margin:36px 0 8px; padding:22px 24px; background:var(--cr-soft); border:1px solid #e6ebfa; border-left:5px solid var(--cr-blue); border-radius:16px; }
.cr-kmu-box h2 { margin-top:0; }
.cr-kmu-intro { font-size:14px; color:var(--cr-grey); margin:0 0 10px; }
.cr-kmu-links { margin:12px 0 0; font-weight:700; }
.cr-kmu-links a { color:var(--cr-blue); }
@media (max-width:640px) { .cr-kmu-box { padding:18px 16px; } }
/* 1.2.5: KI-Transparenzhinweis auf jeder Vorfallseite (ruhig, klein, blau) */
.cr-ki-hinweis { display:flex; gap:8px; align-items:flex-start; max-width:760px; margin:14px 0 0; padding:8px 12px; font-size:13px; line-height:1.55; color:#4b5563; background:rgba(255,255,255,.7); border:1px solid #e6ebfa; border-left:3px solid var(--cr-blue); border-radius:10px; }
.cr-ki-hinweis a { color:var(--cr-blue); font-weight:700; text-decoration:none; }
.cr-ki-hinweis a:hover, .cr-ki-hinweis a:focus-visible { text-decoration:underline; }
.cr-ki-icon { flex:0 0 auto; margin-top:3px; color:var(--cr-blue); }
.cr-ki-hinweis time { white-space:nowrap; }
@media (max-width:640px) { .cr-ki-hinweis { font-size:12.5px; padding:8px 10px; } }
