/* SentralTech – Erste-Hilfe-Kurs bei Hackingvorfällen (/cyber-security/erste-hilfe-kurs/), 13.10.2026
   Seitenakzent: Signalrot/Orange (Notfall-Plus, eigenes Zeichen – kein Rotkreuz-Emblem, nie auf Weiß),
   „stabil“ = Mint. Respektiert „Bewegung reduzieren“ und „Animationen pausieren“ (html[data-motion=paused]). */
.eh-page {
  --eh-red: #ff6f61;          /* auf Dunkel, 6,6 : 1 auf Navy */
  --eh-red-ink: #c72b3b;      /* auf Hell, wie „Cybervorfall melden“ */
  --eh-orange: #ff8a3d;
  --eh-course: #f07a2a;       /* Kursfolien */
  --eh-mint: #72dfb8;
  --eh-line: #abcfeb33;
}
.eh-page .system-label--cyan { color: var(--eh-red); }
.eh-page .system-label--blue { color: var(--eh-red-ink); }
.eh-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Überschriften in eigenen Abschnitten wie .section-heading h2 */
.eh-fit h2, .eh-preview h2, .eh-related h2 { max-width: 780px; color: var(--ink); letter-spacing: -.055em; margin: 16px 0 0; font-size: clamp(2.25rem, 4.5vw, 4.6rem); font-weight: 630; line-height: .99; }
.eh-preview h2 { color: #fff; font-size: clamp(2.1rem, 3.8vw, 3.9rem); }
.eh-related h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 26px; }

/* ---------------------------------------------------------------- Hero */
.eh-hero { background: radial-gradient(circle at 80% 46%, #ff5a4e26, #0000 36%), linear-gradient(135deg, #06111d 0%, #071827 55%, #092238 100%); }
.eh-hero .inner-hero__layout { align-items: center; }
.eh-hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
/* EKG-Linie quer durch den Kopfbereich, auf Höhe des Plus; links unter dem Text ausgeblendet */
.eh-hero-ecg { position: absolute; left: 0; right: 0; top: var(--eh-ecg-y, 58%); height: 140px; margin-top: -70px; overflow: hidden; pointer-events: none; z-index: 0; opacity: .68;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 30%, rgba(0, 0, 0, .25) 47%, #000 66%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, transparent 30%, rgba(0, 0, 0, .25) 47%, #000 66%, #000 90%, transparent 100%); }
.eh-hero-ecg i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 320px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='140' viewBox='0 0 320 140'%3E%3Cpath d='M0 70H90c5 0 8-11 14-11s9 11 14 11H128l8-20 11 44 13-80 11 68 9-18 6 6H202c8 0 13-16 23-16s15 16 23 16H320' fill='none' stroke='%23ff6f61' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x 0 50% / 320px 140px; filter: drop-shadow(0 0 7px #ff5a4eb3); will-change: transform; }
.eh-hero__side { display: grid; justify-items: center; gap: 26px; }
.eh-hero-visual { position: relative; width: clamp(190px, 21vw, 300px); aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; }
.eh-hero-visual__glow { position: absolute; inset: -32%; border-radius: 50%; background: radial-gradient(circle, #ff5a4e66 0%, #ff8a3d24 38%, #0000 66%); opacity: .7; will-change: transform, opacity; }
.eh-hero-visual__ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px solid #ff6f61; opacity: 0; will-change: transform, opacity; }
.eh-plus { display: block; overflow: visible; }
.eh-plus--hero { position: relative; z-index: 2; width: 100%; height: auto; filter: drop-shadow(0 18px 50px #ff5a4e80); will-change: transform; }
.eh-hero__ask { margin: 0; max-width: 330px; color: #bdcedb; font-size: .9rem; line-height: 1.6; }
.eh-hero__ask .system-label { display: block; margin-bottom: 6px; }
.eh-hero__ask .text-link { display: flex; width: fit-content; margin-top: 4px; }

/* ---------------------------------------------------------------- Kernaussage */
.eh-core { padding-block: clamp(70px, 8vw, 112px); }
.eh-core__quote { margin: 18px 0 0; padding: 4px 0 4px clamp(22px, 3vw, 36px); border-left: 5px solid; border-image: linear-gradient(180deg, var(--eh-red-ink), var(--eh-orange)) 1; max-width: 980px; }
.eh-core__quote p { margin: 0; color: var(--ink); font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.eh-core__quote em { font-style: normal; color: var(--eh-red-ink); }
.eh-core__quote footer { margin-top: 22px; color: var(--text-muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; max-width: 640px; }

/* ---------------------------------------------------------------- Rettungskette */
.eh-chain { color: var(--text-on-dark); background: linear-gradient(160deg, #06111d 0%, #071827 60%, #0a2036 100%); }
.eh-chain h2 { color: #fff; }
.eh-chain .section-heading p { color: var(--text-on-dark-muted); }
.eh-chain__wrap { --eh-c: #ff6f61; position: relative; }
.eh-monitor { border: 1px solid var(--line-dark); border-radius: 10px; background: #040c15; overflow: hidden; box-shadow: 0 30px 70px #0006; }
.eh-monitor__bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--eh-line); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: #8fa6b8; }
.eh-monitor__bar strong { color: var(--eh-c); font-size: .8rem; letter-spacing: .04em; transition: color .6s ease; }
.eh-monitor__live { display: inline-flex; align-items: center; gap: 8px; }
.eh-monitor__live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--eh-c); transition: background .6s ease; }
.eh-monitor__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--eh-c); opacity: 0; }
.eh-chain__wrap.is-running .eh-monitor__live i::after { animation: eh-ring 1.6s ease-out infinite; }
.eh-monitor__head { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--eh-c) 40%, transparent), 0 0 18px var(--eh-c); opacity: 0; will-change: transform; pointer-events: none; }
.eh-chain__wrap.is-running .eh-monitor__head { opacity: 1; }
.eh-monitor__count { margin-left: auto; }
.eh-monitor__screen { position: relative; height: clamp(150px, 17vw, 210px);
  background-image: linear-gradient(#54cbff0d 1px, #0000 1px), linear-gradient(90deg, #54cbff0d 1px, #0000 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.eh-monitor__ecg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.eh-monitor__static { position: absolute; inset: 18px 0; width: 100%; height: calc(100% - 36px); }
.eh-monitor__static path { fill: none; stroke: var(--eh-c); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .85; }
.eh-chain__wrap.is-live .eh-monitor__static { display: none; }

.eh-chain__rail { position: relative; height: 0; margin: 34px 10% 0; border-top: 2px solid #ffffff1f; }
.eh-chain__fill { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: linear-gradient(90deg, #ff6f61, var(--eh-c)); transition: width .7s cubic-bezier(.2, .7, .2, 1), background .6s ease; }
.eh-chain__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: -9px; }
.eh-chain__step { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0 6px 6px; min-height: 44px; color: #8fa6b8; background: none; border: 0; font: inherit; text-align: center; cursor: pointer; }
.eh-chain__step::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #0b1b2c; border: 2px solid #ffffff38; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s; }
.eh-chain__no { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; }
.eh-chain__name { font-size: .95rem; font-weight: 680; line-height: 1.25; color: #c5d4df; hyphens: auto; }
.eh-chain__step:hover .eh-chain__name { color: #fff; }
.eh-chain__step.is-done::before { background: #ffffff2e; border-color: #ffffff59; }
.eh-chain__step[aria-selected="true"] { color: #fff; }
.eh-chain__step[aria-selected="true"]::before { background: var(--eh-c); border-color: var(--eh-c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--eh-c) 22%, transparent); transform: scale(1.12); }
.eh-chain__step[aria-selected="true"] .eh-chain__name { color: #fff; }
.eh-chain__step:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

.eh-chain__panels { margin-top: 28px; }
.eh-chain__panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px clamp(22px, 3vw, 44px); padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line-dark); border-radius: 10px; background: #ffffff08; }
.eh-chain__panel + .eh-chain__panel { margin-top: 14px; }
.eh-chain__wrap.is-live .eh-chain__panel + .eh-chain__panel { margin-top: 0; }
.eh-chain__panel[hidden] { display: none; }
.eh-chain__panel:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.eh-chain__panel-no { font-family: var(--font-mono); font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--eh-c); letter-spacing: -.02em; }
.eh-chain__panel h3 { margin: 0; color: #fff; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.02em; }
.eh-chain__lead { margin: 6px 0 0; color: #d6e2ec; font-size: 1.05rem; line-height: 1.55; }
.eh-chain__course { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; color: var(--text-on-dark-muted); font-size: .92rem; line-height: 1.55; }
.eh-chain__course span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--eh-c); border: 1px solid currentColor; border-radius: 4px; padding: 2px 7px; }
.eh-chain__ir { margin-top: 6px; }
.eh-chain__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.eh-chain__btn { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 16px; border-radius: var(--radius-sm, 7px); border: 1px solid #ffffff38; background: none; color: #e7eff6; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: background .16s, border-color .16s; }
.eh-chain__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eh-chain__btn--next { background: #fff; border-color: #fff; color: var(--ink); }
.eh-chain__btn:hover { border-color: #fff; }
.eh-chain__btn--next:hover { background: #e9f3fb; }
.eh-chain__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------------------------------------------------------------- Abgrenzung */
.eh-scope__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.eh-scope__card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.eh-scope__card--learn { border: 1.5px solid var(--eh-red-ink); box-shadow: 0 18px 40px #c72b3b14; }
.eh-scope__card h3 { margin: 0 0 18px; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); }
.eh-scope__card--learn h3 { color: var(--eh-red-ink); }
.eh-scope__list { list-style: none; margin: 0; padding: 0; }
.eh-scope__list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--text); line-height: 1.5; }
.eh-scope__list li::before { position: absolute; left: 4px; top: 11px; font-weight: 800; font-size: 1.05rem; }
.eh-scope__list--plus li::before { content: "+"; color: var(--eh-red-ink); }
.eh-scope__list--minus li { color: var(--text-muted); }
.eh-scope__list--minus li::before { content: "–"; color: var(--text-muted); }
.eh-scope__link { margin-top: auto; padding-top: 18px; color: var(--eh-red-ink); }
.eh-scope__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.eh-scope__note { margin: clamp(22px, 3vw, 32px) 0 0; max-width: 820px; color: var(--text-muted); line-height: 1.7; }
.eh-scope__note strong { color: var(--ink); }

/* ---------------------------------------------------------------- Zielgruppe */
.eh-fit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.eh-fit__copy p { color: var(--text-muted); line-height: 1.75; max-width: 520px; margin: 22px 0 0; }
.eh-fit__hint { padding-left: 16px; border-left: 3px solid var(--eh-red-ink); }
.eh-spec { margin: 0; border-top: 2px solid var(--eh-red-ink); }
.eh-spec > div { display: grid; grid-template-columns: minmax(130px, .38fr) minmax(0, 1fr); gap: 6px 24px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.eh-spec > div:nth-child(odd) { background: #edf3f8; }
.eh-spec dt { font-weight: 720; color: var(--ink); }
.eh-spec dd { margin: 0; color: var(--text); line-height: 1.55; }

/* ---------------------------------------------------------------- Blick in den Kurs */
.eh-preview { color: var(--text-on-dark); background: #06111d; }
.eh-preview__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.eh-preview__list { list-style: none; margin: 26px 0 0; padding: 0; }
.eh-preview__list li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.eh-preview__list strong { color: #fff; }
.eh-preview__list span { color: var(--text-on-dark-muted); line-height: 1.6; }
.eh-preview__ask { margin-top: 18px; color: #fff; font-weight: 650; }
.eh-lesson { position: relative; margin: 0; padding: 0 0 0 18px; }
.eh-lesson__stack i { position: absolute; inset: 22px 30px 34px 0; border: 1px solid #ffffff1a; border-radius: 14px; background: #0d1622; transform: rotate(-3deg); }
.eh-lesson__stack i + i { inset: 12px 16px 40px 8px; transform: rotate(-1.4deg); background: #101b29; }
.eh-lesson__window { position: relative; border: 1px solid #ffffff24; border-radius: 14px; background: #0b111a; box-shadow: 0 40px 80px #0008; overflow: hidden; }
.eh-lesson__tabs { display: flex; gap: clamp(16px, 3vw, 34px); padding: 12px clamp(16px, 2.4vw, 26px) 0; border-bottom: 1px solid #ffffff1a; font-size: .86rem; color: #8b97a6; }
.eh-lesson__tabs span { padding-bottom: 10px; border-bottom: 3px solid transparent; }
.eh-lesson__tabs .is-active { color: #4c8dff; border-bottom-color: #2f6df6; font-weight: 700; }
.eh-slide { container-type: inline-size; position: relative; margin: clamp(12px, 2vw, 22px); aspect-ratio: 16 / 9; padding: 6cqw 6cqw 5cqw; border-radius: 12px; background: #050505; color: #f2f2f2; display: flex; flex-direction: column; }
.eh-slide__kicker { font-family: var(--font-mono); font-weight: 700; font-size: max(9px, 1.45cqw); letter-spacing: .06em; color: var(--eh-course); }
.eh-slide__bar { width: 6.2cqw; height: max(2px, .45cqw); margin-top: auto; background: var(--eh-course); }
.eh-slide__title { margin: 2.2cqw 0 0; font-size: max(15px, 4.1cqw); font-weight: 720; letter-spacing: -.02em; line-height: 1.15; max-width: 82%; }
.eh-slide__sub { margin: 1.4cqw 0 0; font-size: max(11px, 1.75cqw); color: #c9c9c9; }
.eh-slide__meta { margin-top: auto; font-family: var(--font-mono); font-size: max(9px, 1.3cqw); color: #d0d0d0; }
.eh-slide__foot { margin-top: 2.6cqw; font-family: var(--font-mono); font-size: max(9px, .9cqw); color: #8a8a8a; }
.eh-lesson figcaption { margin-top: 14px; color: #8fa6b8; font-size: .86rem; text-align: center; }

/* ---------------------------------------------------------------- FAQ / Verwandtes */
.eh-related__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 26px; border-top: 0; }
.eh-related__links a { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); }
.eh-related__links a span { color: var(--text-muted); font-size: .82rem; }
.eh-related__links a strong { grid-row: 2; font-size: 1.05rem; color: var(--ink); }
.eh-related__links a svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.eh-related__links a:hover strong { color: var(--eh-red-ink); }

/* ---------------------------------------------------------------- Bewegung */
@keyframes eh-beat { 0%, 100% { transform: scale(1); } 6% { transform: scale(1.1); } 12% { transform: scale(.98); } 18% { transform: scale(1.05); } 28% { transform: scale(1); } }
@keyframes eh-glow { 0%, 100% { transform: scale(.92); opacity: .55; } 7% { transform: scale(1.1); opacity: 1; } 22% { transform: scale(1); opacity: .8; } 50% { opacity: .62; } }
@keyframes eh-ripple { 0% { transform: scale(.72); opacity: 0; } 6% { opacity: .65; } 58% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes eh-ripple-late { 0%, 16% { transform: scale(.72); opacity: 0; } 20% { opacity: .4; } 72% { transform: scale(1.9); opacity: 0; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes eh-ecg-scroll { to { transform: translate3d(-320px, 0, 0); } }
@keyframes eh-ring { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
/* Herzschlag 75/min: Linie läuft, Plus pulsiert, wenn eine Zacke hinter ihm vorbeizieht (Abgleich in erste-hilfe.js) */
html:not([data-motion="paused"]) .eh-hero-ecg i { animation: eh-ecg-scroll 1.6s linear infinite; }
html:not([data-motion="paused"]) .eh-plus--hero { animation: eh-beat 1.6s ease-out infinite; transform-origin: 50% 50%; }
html:not([data-motion="paused"]) .eh-hero-visual__glow { animation: eh-glow 1.6s ease-out infinite; }
html:not([data-motion="paused"]) .eh-hero-visual__ring { animation: eh-ripple 1.6s cubic-bezier(.2, .6, .3, 1) infinite; }
html:not([data-motion="paused"]) .eh-hero-visual__ring--late { animation-name: eh-ripple-late; }
@media (prefers-reduced-motion: reduce) {
  .eh-plus--hero, .eh-hero-ecg i, .eh-hero-visual__glow, .eh-hero-visual__ring, .eh-monitor__live i::after { animation: none !important; }
  .eh-chain__fill, .eh-chain__step::before { transition: none; }
}

/* ---------------------------------------------------------------- Responsiv */
@media (max-width: 980px) {
  .eh-hero .inner-hero__side { justify-self: center; }
  .eh-hero__ask { text-align: center; }
  .eh-hero__ask .text-link { margin-inline: auto; }
  .eh-hero-ecg { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
  .eh-chain__panel { grid-template-columns: auto minmax(0, 1fr); }
  .eh-chain__nav { grid-column: 1 / -1; justify-content: flex-start; }
  .eh-fit, .eh-preview__grid { grid-template-columns: 1fr; }
  .eh-related__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .eh-scope__grid { grid-template-columns: 1fr; }
  .eh-chain__name { font-size: .8rem; }
  .eh-monitor__bar { gap: 10px; padding: 10px 14px; }
  .eh-monitor__count { display: none; }
  .eh-chain__panel { grid-template-columns: 1fr; }
  .eh-chain__panel-no { display: none; }
  .eh-chain__nav { justify-content: stretch; }
  .eh-chain__btn { flex: 1 1 auto; justify-content: center; }
  .eh-chain__btn--back { flex: 0 0 auto; }
  .eh-spec > div { grid-template-columns: 1fr; padding: 14px; }
  .eh-lesson { padding-left: 0; }
  .eh-lesson__stack { display: none; }
  .eh-related__links { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .eh-chain__name { display: none; }
  .eh-chain__step { gap: 6px; }
}
