/* =========================================================
   hackerangriff-hilfe.com – Stylesheet
   Farbschema wie cybersicherheit-für-kleine-firmen.com:
   Weiß und helles Blau, Petrol als Hauptfarbe, dunkler Footer.
   Akzent: Orange aus dem Liniendiagramm (#eb6834).
   ========================================================= */
:root {
  /* Grundfarben der anderen Seite */
  --bg: #f7fafc;
  --surface: #ffffff;
  --ink: #1c2b39;
  --ink-soft: #52606d;
  --ink-mute: #5f6b78;
  --line: #e3e9ef;
  --primary: #0f6e8c;       /* Petrol – Buttons, Links, Struktur */
  --primary-dark: #0b5269;
  --primary-tint: #e6f3f7;  /* helles Blau für Flächen */
  --navy-900: #13293a;      /* Footer */
  --shadow: 0 1px 2px rgba(16, 40, 60, .06), 0 8px 24px rgba(16, 40, 60, .06);

  /* Akzent: Orange aus dem Liniendiagramm */
  --orange: #e2672b;        /* Notfall-Buttons (mit dunkler Schrift), Markierungen */
  --orange-hover: #d95a28;
  --orange-text: #e2672b;   /* Orange als Schrift auf Weiß und Tint (Kontrast ≥ 4.5:1) */
  --orange-tint: #fdeee7;
  --orange-line: #f7cdb9;

  --ok: #12825a;
  --ok-tint: #e5f5ee;
  --radius: 16px;
  --max: 1180px;
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:focus-visible { outline: 3px solid var(--orange-line); outline-offset: 2px; }
.btn-signal { background: var(--orange); color: var(--bg); box-shadow: 0 8px 20px rgba(235, 104, 52, .25); }
.btn-signal:hover { background: var(--orange-hover); transform: translateY(-1px); }
/* Zweiter Button: wie „btn-ghost“ der anderen Seite (Klassenname bleibt für das HTML gleich) */
.btn-ghost-dark { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost-dark:hover { background: var(--primary-tint); }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* ---------- Notfallleiste ---------- */
.alertbar { background: var(--orange); color: var(--bg); font-size: .92rem; }
.alertbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; flex-wrap: wrap; text-align: center; padding-top: 6px; padding-bottom: 6px; }
.alertbar a { color: var(--bg); font-weight: 800; text-decoration: none; white-space: nowrap; }
.alertbar a:hover { text-decoration: underline; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 0 rgba(19,41,58,.5); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19,41,58,.45); } 70% { box-shadow: 0 0 0 9px rgba(19,41,58,0); } 100% { box-shadow: 0 0 0 0 rgba(19,41,58,0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-name { font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 400; font-size: .75rem; color: var(--ink-soft); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--primary-dark); background: var(--primary-tint); }
.nav .btn { color: var(--bg); padding: 10px 16px; margin-left: 8px; }
.nav .btn:hover { background: var(--orange-hover); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 420px at 85% -10%, var(--primary-tint), transparent), radial-gradient(700px 320px at -10% 110%, var(--orange-tint), transparent), var(--bg); color: var(--ink); padding: 88px 0 96px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--primary); }
.hero h1 { color: var(--ink); }
.hero h1 .hl { color: var(--orange); }
.hero .lead { color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; color: var(--ink-soft); font-size: .92rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--orange); flex: none; }

.status-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.status-head { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }
.status-live { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-text); font-weight: 600; }
.status-live .pulse { background: var(--orange); box-shadow: 0 0 0 0 rgba(235,104,52,.6); }
.status-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.status-steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.status-steps .t { flex: none; font-size: .78rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-tint); border-radius: 6px; padding: 3px 8px; margin-top: 2px; min-width: 64px; text-align: center; }
.status-steps li:last-child .t { color: var(--orange-text); background: var(--orange-tint); }
.status-steps strong { display: block; color: var(--ink); font-size: .98rem; }
.status-steps span { color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.status-call { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.status-call div { font-size: .82rem; color: var(--ink-soft); }
.status-call a { color: var(--ink); font-weight: 700; font-size: 1.1rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 64px 0 72px; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
@media (max-width: 760px) { section { padding: 64px 0; } }

/* Erste Hilfe */
.aid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aid { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.aid h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.aid h3 .ico { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; line-height: 0; }
.aid h3 .ico svg { display: block; width: 18px; height: 18px; }
.aid-do .ico { background: var(--ok-tint); color: var(--ok); }
.aid-dont .ico { background: var(--orange-tint); color: var(--orange-text); }
.aid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.aid li { padding-left: 42px; position: relative; color: var(--ink-soft); line-height: 1.5; }
.aid li strong { color: var(--ink); }
/* Punkt mittig unter dem 32-px-Symbol, Text bündig unter der Überschrift */
.aid li::before { content: ""; position: absolute; left: 13px; top: calc(.75em - 4px); width: 6px; height: 6px; border-radius: 50%; background: #9aa6b2; }
@media (max-width: 760px) { .aid-grid { grid-template-columns: 1fr; } }

/* Ablauf */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 22px; box-shadow: var(--shadow); }
.timeline li::before { content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-tint); font-size: .85rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.timeline li:nth-child(4)::before { background: var(--orange-tint); color: var(--orange-text); }
.timeline li::after { content: ""; position: absolute; top: 40px; right: -17px; width: 18px; height: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.02rem; margin-bottom: 8px; }
.timeline p { font-size: .92rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.timeline .tag { display: inline-block; margin-top: 12px; font-size: .75rem; font-weight: 600; color: var(--ink-mute); background: var(--bg); border-radius: 6px; padding: 3px 8px; }
@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline li::after { display: none; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

/* DFIR */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.dfir-cards { display: grid; gap: 16px; }
.dfir-card { border-radius: var(--radius); padding: 24px 26px; background: var(--bg); border: 1px solid var(--line); }
.dfir-card .abbr { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--primary); border-radius: 6px; padding: 3px 9px; margin-bottom: 10px; }
.dfir-card p { color: var(--ink-soft); margin: 0; }
/* „Zeit ist Geld“ – wie der Hinweiskasten „Ihre IT bleibt Ihre IT“ der anderen Seite, mit orangem Rand */
.quote { margin-top: 28px; border-radius: var(--radius); background: var(--orange-tint); color: var(--ink); padding: 24px 28px; }
.quote strong { color: var(--ink); display: block; font-size: 1.15rem; margin-bottom: 6px; }
.quote p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Sicherer Client – heller Abschnitt in hellem Blau */
.client { background: var(--primary-tint); color: var(--ink); position: relative; overflow: hidden; border-top: 1px solid #d3e7ee; border-bottom: 1px solid #d3e7ee; }
.client .eyebrow { color: var(--primary-dark); }
.client .lead { color: var(--ink-soft); }
.client h2 { color: var(--ink); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.client-item { background: var(--surface); border: 1px solid #d3e7ee; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.client-item svg { color: var(--orange); margin-bottom: 12px; }
.client-item h3 { color: var(--ink); font-size: 1rem; }
.client-item p { color: var(--ink-soft); font-size: .92rem; margin: 0; line-height: 1.5; }
.client-note { margin-top: 24px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr; } }

/* Bericht */
.report { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.report-doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.report-doc .doc-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.report-doc .doc-head strong { font-size: 1rem; }
.report-doc .doc-head span { font-size: .78rem; font-weight: 700; color: var(--ok); background: var(--ok-tint); padding: 3px 10px; border-radius: 999px; }
.report-doc ol { margin: 0; padding-left: 20px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 10px; }
.report-doc ol li strong { color: var(--ink); }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230f6e8c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 900px) { .report { grid-template-columns: 1fr; gap: 32px; } }

/* Fall melden */
.report-case { background: var(--surface); border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.case-side .hotline { margin-top: 24px; border-radius: var(--radius); background: var(--orange-tint); border: 1px solid var(--orange-line); padding: 22px 24px; }
.case-side .hotline small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.case-side .hotline a { display: block; font-size: 1.6rem; font-weight: 800; color: var(--ink); text-decoration: none; margin: 4px 0; }
.case-side .hotline span { font-size: .9rem; color: var(--ink-soft); }
.case-side ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); font-size: .95rem; }
.case-side li { display: flex; gap: 10px; }
.case-side li b { color: var(--ink); }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field-label, label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cdd6df; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.check input { width: auto; margin-top: 4px; flex: none; }
.hp { position: absolute; left: -9999px; }
.field-error { display: block; margin-top: 6px; font-size: .85rem; color: #b42318; }
[aria-invalid="true"] { border-color: #d92d20 !important; box-shadow: 0 0 0 3px #fee4e2 !important; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-mute); font-size: .85rem; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* ---------- Footer (dunkel wie auf der anderen Seite) ---------- */
.site-footer { background: var(--navy-900); color: #c5d3df; padding: 48px 0 28px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #9fb3c4; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.footer-nav a { color: #e6eef5; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.copy { width: 100%; border-top: 1px solid #24425a; padding-top: 18px; margin-top: 8px; color: #9fb3c4; font-size: .85rem; }

/* ---------- Overlay ---------- */
body.overlay-open { overflow: hidden; }
.overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.overlay[hidden] { display: none; }
.overlay-backdrop { position: absolute; inset: 0; background: rgba(19, 41, 58, .55); backdrop-filter: blur(3px); animation: ov-fade .2s ease; }
.overlay-dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--surface); border-radius: 20px; box-shadow: 0 20px 60px rgba(16, 40, 60, .25); padding: 34px; animation: ov-pop .22s ease; outline: none; }
.overlay-dialog.is-legal { max-width: 860px; padding: 40px 44px; }
.overlay-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--primary-tint); color: var(--primary-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.overlay-close:hover { background: #cfe6ee; }
.overlay-title { font-size: 1.5rem; margin: 0 48px 14px 0; }
.overlay-body { color: var(--ink-soft); }
.overlay-loading { font-style: italic; }
.case-confirm .case-id { margin: 18px 0; border-radius: 14px; background: var(--primary); color: #fff; padding: 18px 20px; }
.case-confirm .case-id small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #e6f3f7; }
.case-confirm .case-id strong { font-size: 1.7rem; letter-spacing: .04em; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.case-confirm .case-call { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-radius: 14px; background: var(--orange-tint); padding: 16px 20px; margin-bottom: 16px; }
.case-confirm .case-call small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.case-confirm .case-call a.num { font-size: 1.3rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.case-confirm ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-text { color: var(--ink); line-height: 1.7; }
.legal-text h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0 52px .8em 0; }
.legal-text h2 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.legal-text h3, .legal-text h4 { font-size: 1.05rem; margin: 1.5em 0 .4em; }
.legal-text p, .legal-text ul, .legal-text ol { color: var(--ink-soft); margin: 0 0 1em; }
.legal-text a { word-break: break-word; }
@keyframes ov-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ov-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pulse, .overlay-backdrop, .overlay-dialog { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 600px) { .overlay { padding: 10px; } .overlay-dialog, .overlay-dialog.is-legal { padding: 26px 20px; } }