/* =====================================================================
   Cybersecurity-Seite (cybersecurity.html DE+EN), 2026-09-30
   - .cyf-*  gemeinsame SVG-Bausteine (Stil wie RedMentis #wie / BsMind-Hero)
   - .cyl-*  Leistungsübersicht: drei Einstiege mit Foto
   - .cys-*  SOC-Sektion: kombinierte Grafik (Schutzschichten -> SOC-Ablauf), Begriffe, Kennzahlen
   Ohne Bewegung (prefers-reduced-motion) zeigen alle Grafiken den Endzustand.
   ===================================================================== */

/* ---------- SVG-Grundbausteine ---------- */
.cyf { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.cyf--m { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 700px) { .cyf--d { display: none; } .cyf--m { display: block; } }
.cyf-box { fill: #233250; stroke: rgba(255,255,255,.42); stroke-width: 1.4; }
.cyf-box--atk { fill: #3c223a; stroke: rgba(230,110,116,.85); }
.cyf-box--crown { fill: #2d3c58; stroke: rgba(255,255,255,.7); }
.cyf-box--soc { fill: #1a4fae; stroke: #9fd3ff; }
.cyf-ico { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cyf-cap { font-size: 11px; font-weight: 700; letter-spacing: .12em; fill: #9fd3ff; }
.cyf-lbl { font-size: 13px; font-weight: 600; fill: rgba(232,234,238,.92); }
.cyf-name { font-size: 14px; font-weight: 800; fill: #fff; letter-spacing: .04em; }
.cyf-sub { font-size: 11.5px; font-weight: 500; fill: rgba(232,234,238,.72); }
.cyf-base { stroke: rgba(255,255,255,.22); stroke-width: 2; fill: none; }
.cyf-beam { stroke: #9fd3ff; stroke-width: 1.6; stroke-dasharray: 3 7; fill: none; stroke-linecap: round; }
.cyf-ring { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.2; stroke-dasharray: 3 4; }
.cyf-ok circle { fill: #16a34a; stroke: #0b1c3d; stroke-width: 2; }
.cyf-ok path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cyf-pill rect { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.4); }
.cyf-pill text { font-size: 12.5px; font-weight: 700; fill: #fff; }
.cyf-pill--red rect { fill: #b3303a; stroke: #ff9aa0; }
.cyf-tok-core { fill: #e5484d; stroke: #fff; stroke-width: 2; }
.cyf-tok-ring { fill: none; stroke: rgba(229,72,77,.55); stroke-width: 2; }
.cyf-tok--ok .cyf-tok-core { fill: #16a34a; }
.cyf-tok--ok .cyf-tok-ring { stroke: rgba(22,163,74,.55); }
.cyf-hit { fill: none; stroke: #e5484d; stroke-width: 2.5; }
.cyf-anim, .cyf-pop { transform-box: fill-box; transform-origin: center; }

/* ---------- Leistungsübersicht ---------- */
section.cy-lv { padding: 96px 0 104px; }
.cy-lv .lead { max-width: 720px; }
.cyl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.cyl-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #e3e9f2; box-shadow: 0 1px 2px rgba(11,28,61,.04); transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: hover) { .cyl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,28,61,.10); } }
.cyl-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1c3d; }
.cyl-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cyl-step { position: absolute; left: 16px; top: 16px; min-width: 40px; height: 28px; padding: 0 10px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(11,28,61,.82); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; backdrop-filter: blur(4px); }
.cyl-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cyl-lage { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: #5f6b7d; }
.cyl-body h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; color: #0b1c3d; }
.cyl-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cyl-chips li { font-size: 12.5px; font-weight: 600; color: #0b1c3d; background: #eef3f9; border-radius: 999px; padding: 5px 11px; }
.cyl-chips a { color: #0066cc; text-decoration: none; }
.cyl-chips a:hover { text-decoration: underline; }
.cyl-get-h { margin: auto 0 8px; padding-top: 14px; border-top: 1px solid #e3e9f2; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0066cc; }
.cyl-get { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cyl-get li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; color: #2a3547; }
.cyl-get li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 960px) { .cyl-grid { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 700px) {
  section.cy-lv { padding: 64px 0 72px; }
}

@keyframes cyfFlow { to { stroke-dashoffset: -20; } }
@keyframes cyfSpin { to { transform: rotate(360deg); } }

/* ---------- SOC-Sektion ---------- */
section.cy-soc { padding: 96px 0 104px; }
.cys-figure { margin: 44px auto 0; max-width: 1040px; }
.cys-frame { fill: rgba(90,160,255,.05); stroke: rgba(159,211,255,.32); stroke-width: 1.2; stroke-dasharray: 4 5; }
.cys-tag rect { fill: #1a4fae; stroke: #9fd3ff; }
.cys-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 32px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.cys-terms p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(232,234,238,.78); }
.cys-terms b { display: block; margin-bottom: 2px; font-size: 12px; letter-spacing: .1em; color: #9fd3ff; }
.cys-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.cys-stat { padding: 26px 24px 24px; border-radius: 18px; background: #132a52; border: 1px solid rgba(255,255,255,.10); }
.cys-stat-v { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.cys-stat-v small { font-size: .5em; font-weight: 700; color: #9fd3ff; letter-spacing: 0; margin-left: 4px; }
.cys-stat-l { margin-top: 12px; font-size: 15px; font-weight: 600; color: #fff; }
.cys-stat-s { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: rgba(232,234,238,.75); }
.cys-cta { margin-top: 36px; }
.cys-cta .btn { min-height: 48px; display: inline-flex; align-items: center; }
@media (max-width: 860px) { .cys-stats, .cys-terms { grid-template-columns: 1fr; } }
@media (max-width: 700px) { section.cy-soc { padding: 64px 0 72px; } .cys-figure { margin-top: 28px; } }

/* Standbild: Alarm bis zum Bericht durchgelaufen, Fehlalarm aussortiert */
.cys-tok, .cys-false, .cys-hit { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cys-feed { animation: cyfFlow 1.2s linear infinite; }
  .cys-alert { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cysAlert 10s linear infinite; }
  .cys-red { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cysRed 10s linear infinite; }
  .cys-green { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cysGreen 10s linear infinite; }
  .cys-hit { animation: cysHit 10s ease-out infinite; }
  .cys-tok--red { animation: cysTokRedX 10s linear infinite; }
  .cys-tok--ok { animation: cysTokOkX 10s linear infinite; }
  .cyf--m .cys-tok--red { animation-name: cysTokRedY; }
  .cyf--m .cys-tok--ok { animation-name: cysTokOkY; }
  .cys-false { animation: cysFalseY 10s ease-in infinite; }
  .cyf--m .cys-false { animation-name: cysFalseX; }
  .cys-lock { animation: cysLock 10s cubic-bezier(.16,1,.3,1) infinite; }
  .cys-pill { animation: cysPill 10s ease-out infinite; }
  .cys-ring { animation: cyfSpin 12s linear infinite; }
}
@keyframes cysAlert { 0% { stroke-dashoffset: 1; opacity: 1; } 12% { stroke-dashoffset: 0; } 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes cysHit { 0%, 12% { opacity: 0; transform: scale(.7); } 14% { opacity: 1; transform: scale(1); } 22%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes cysRed { 0%, 20% { stroke-dashoffset: 1; opacity: 1; } 56% { stroke-dashoffset: 0; } 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes cysGreen { 0%, 60% { stroke-dashoffset: 1; opacity: 1; } 72% { stroke-dashoffset: 0; } 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* roter Alarm: Erkennen (12-22 %) -> Einordnen (34-44 %) -> Eindämmen (56-60 %), dann grün bis Bericht */
@keyframes cysTokRedX { 0%, 12% { opacity: 0; transform: none; } 14%, 22% { opacity: 1; transform: none; } 34%, 44% { opacity: 1; transform: translateX(var(--d1)); } 56% { opacity: 1; transform: translateX(var(--d2)); } 60%, 100% { opacity: 0; transform: translateX(var(--d2)); } }
@keyframes cysTokRedY { 0%, 12% { opacity: 0; transform: none; } 14%, 22% { opacity: 1; transform: none; } 34%, 44% { opacity: 1; transform: translateY(var(--d1)); } 56% { opacity: 1; transform: translateY(var(--d2)); } 60%, 100% { opacity: 0; transform: translateY(var(--d2)); } }
@keyframes cysTokOkX { 0%, 58% { opacity: 0; transform: none; } 60% { opacity: 1; transform: none; } 72%, 94% { opacity: 1; transform: translateX(var(--d1)); } 98%, 100% { opacity: 0; transform: translateX(var(--d1)); } }
@keyframes cysTokOkY { 0%, 58% { opacity: 0; transform: none; } 60% { opacity: 1; transform: none; } 72%, 94% { opacity: 1; transform: translateY(var(--d1)); } 98%, 100% { opacity: 0; transform: translateY(var(--d1)); } }
@keyframes cysFalseY { 0%, 26% { opacity: 0; transform: none; } 28% { opacity: 1; transform: none; } 40% { opacity: .9; transform: translateY(var(--d1)); } 44%, 100% { opacity: 0; transform: translateY(var(--d1)); } }
@keyframes cysFalseX { 0%, 26% { opacity: 0; transform: none; } 28% { opacity: 1; transform: none; } 40% { opacity: .9; transform: translateX(var(--d1)); } 44%, 100% { opacity: 0; transform: translateX(var(--d1)); } }
@keyframes cysLock { 0%, 54% { opacity: 0; transform: scale(.3); } 58% { opacity: 1; transform: scale(1.15); } 61% { transform: scale(1); } 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes cysPill { 0%, 72% { opacity: 0; transform: translateY(6px); } 76% { opacity: 1; transform: none; } 94% { opacity: 1; } 100% { opacity: 0; } }
/* Chip-Links: Trefferfläche auf ca. 44 px vergrößern, ohne die Chips optisch aufzublähen */
.cyl-chips a { position: relative; }
.cyl-chips a::after { content: ""; position: absolute; inset: -14px -11px; }

/* =====================================================================
   Handy 2026-10-02 (Mobil-UX Runde 2). Orbit-Regeln mit section-Präfix,
   weil der Inline-<style> der Seite nach dieser Datei lädt.
   ===================================================================== */
.orbital-c-lbl-short { display: none; }
@media (max-width: 720px) {
  /* Orbit: volle Inhaltsbreite, kurze einzeilige Beschriftung ab 12,5 px statt 11 px dreizeilig */
  section.orbital-c-section .orbital-c-stage { width: min(100%, 82vh); }
  section.orbital-c-section .orbital-c-lbl-long { display: none; }
  section.orbital-c-section .orbital-c-lbl-short { display: inline; }
  section.orbital-c-section .orbital-c-orbit .orbital-c-node-label { font-size: 12.5px; white-space: nowrap; max-width: none; top: calc(100% + 6px); letter-spacing: .01em; }
  /* Detailkarte unter dem Kreis: lesbare Schrift */
  section.orbital-c-section .orbital-c-mobile-card { margin-top: 20px; }
  section.orbital-c-section .orbital-c-card { padding: 20px; border-radius: 14px; }
  section.orbital-c-section .orbital-c-card-title { font-size: 18px; margin-bottom: 8px; }
  section.orbital-c-section .orbital-c-card-body { font-size: 16px; line-height: 1.55; margin-bottom: 14px; }
  section.orbital-c-section .orbital-c-points { font-size: 16px; line-height: 1.5; padding-top: 14px; }
  section.orbital-c-section .orbital-c-points li + li { margin-top: 8px; }
  /* Hinweis, solange keine Leistung gewählt ist */
  section.orbital-c-section .orbital-c-mobile-card:empty::before {
    content: "Tippen Sie auf eine Leistung im Kreis"; display: block; text-align: center;
    font-size: 14px; color: rgba(255,255,255,.7);
  }
  html[lang="en"] section.orbital-c-section .orbital-c-mobile-card:empty::before { content: "Tap a service in the circle"; }
}
/* Tippen hebt Buttons nicht an (Hover-Lift nur mit Maus) */
@media (hover: none) {
  body.sub-cyber .btn-primary:hover, body.sub-cyber .btn-ghost:hover { transform: none; }
}
@media (max-width: 700px) {
  /* Leistungskarten: Bild flacher, Karten nicht auf die längste strecken */
  .cyl-grid.mswipe-t { align-items: flex-start; }
  .cyl-media { aspect-ratio: 16 / 9; }
  .cyl-body { padding: 20px; }
  .cyl-lage { font-size: 14px; }
  .cyl-get-h { font-size: 12.5px; margin-top: 4px; }
  .cyl-get li { font-size: 15.5px; }
  .cyl-chips li { font-size: 13px; }
  /* SOC-Kennzahlen: drei kurze Werte untereinander statt Wischreihe */
  .cys-stats { gap: 12px; margin-top: 36px; }
  .cys-stat { padding: 20px; }
  .cys-stat-v { font-size: 38px; }
  .cys-stat-l { margin-top: 10px; font-size: 16px; }
  .cys-stat-s { font-size: 14px; }
  .cys-terms p { font-size: 15px; }
  .cys-terms b { font-size: 12.5px; }
  .cys-cta .btn { width: 100%; justify-content: center; }
  /* SOC-Grafik (Handy-SVG): Kleintext etwas größer */
  .cyf--m .cyf-cap { font-size: 12px; }
  .cyf--m .cyf-sub { font-size: 12.5px; }
  /* Pflicht-Karten */
  .cyber-pflicht { margin-top: 36px; }
  .cyber-pflicht-card span { font-size: 15px; }
}
