/* Notfalldidaktik: dunkel, ruhig, präzise. Anmutung eines Patientenmonitors.
   Keine externen Schriften, kein JavaScript (CSP: style-src 'self', kein Inline-Style). */
:root {
  --bg: #0b1118;
  --bg-2: #101923;
  --panel: #141d27;
  --panel-2: #18232f;
  --line: #243242;
  --line-2: #2f4154;
  --ink: #e9eef3;
  --muted: #9aa8b6;
  --dim: #6f7f8f;
  --orange: #ff6a3d;
  --orange-2: #ff8a5f;
  --green: #3ddc84;
  --cyan: #38c8f0;
  --yellow: #ffd34d;
  --radius: 16px;
  --wrap: 1160px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 720px; font-size: 1.08rem; margin-bottom: 40px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 17, 24, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; }
.brand-text { font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--mono); font-weight: 400; font-size: .72rem; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #14080a !important; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 700; transition: transform .15s, background .15s, box-shadow .15s; box-shadow: 0 8px 30px -10px rgba(255, 106, 61, .7); }
.btn:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); }
.btn-small { padding: 9px 18px; font-size: .9rem; box-shadow: none; }
.btn-dark { background: #0b1118; color: #fff !important; box-shadow: none; }
.btn-dark:hover { background: #18232f; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 0; background: radial-gradient(900px 480px at 80% -10%, rgba(255, 106, 61, .16), transparent 60%), radial-gradient(700px 420px at 0% 30%, rgba(56, 200, 240, .08), transparent 60%), var(--bg); }
.hero-grid { position: absolute; inset: 0; 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(to bottom, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.hero-inner { position: relative; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.readout { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(61, 220, 132, .3); background: rgba(61, 220, 132, .06); padding: 6px 12px; border-radius: 999px; margin-bottom: 26px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.ecg { position: relative; width: 100%; height: 120px; margin-top: 70px; }
.ecg-base { stroke: rgba(61, 220, 132, .12); stroke-width: 1; fill: none; }
.ecg-line { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400 2600; stroke-dashoffset: 1400; animation: sweep 6s linear infinite; filter: drop-shadow(0 0 6px rgba(61, 220, 132, .55)); vector-effect: non-scaling-stroke; }
@keyframes sweep { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: -2600; } }

/* Kennzahlen */
.vitals { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #070c11; }
.vitals-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.vital { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.vital:first-child { border-left: 0; }
.v-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; font-weight: 700; }
.v-value { font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.v-text { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.v-green .v-label, .v-green .v-value { color: var(--green); }
.v-cyan .v-label, .v-cyan .v-value { color: var(--cyan); }
.v-yellow .v-label, .v-yellow .v-value { color: var(--yellow); }
.v-orange .v-label, .v-orange .v-value { color: var(--orange); }

/* Abschnittskennung */
.kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.kicker span { color: var(--orange); }
.kicker::after { content: ""; height: 1px; width: 60px; background: var(--line-2); }
.kicker-dark { color: rgba(20, 8, 10, .65); }
.kicker-dark span { color: #14080a; }
.kicker-dark::after { background: rgba(20, 8, 10, .25); }

/* Leistungen */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer { position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.offer:hover { border-color: var(--line-2); transform: translateY(-2px); }
.offer p { color: var(--muted); }
.offer-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; border-color: rgba(255, 106, 61, .45); background: radial-gradient(600px 300px at 0% 0%, rgba(255, 106, 61, .12), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg-2)); }
.offer-main h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.offer-accent { border-color: rgba(56, 200, 240, .4); }
.tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange) !important; margin-bottom: 10px; }
.offer-accent .tag { color: var(--cyan) !important; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink); font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-3px); }
.small-note { font-size: .86rem; color: var(--dim) !important; margin-top: auto !important; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.offer-main .small-note { margin-top: 18px !important; }
.price-note { margin-top: 30px; color: var(--muted); max-width: 760px; font-size: .98rem; padding-left: 16px; border-left: 3px solid var(--orange); }

/* Ablauf */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--cyan)); opacity: .5; }
.steps li { counter-increment: s; position: relative; padding-top: 64px; }
.steps li::before { content: "0" counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: .9rem; color: var(--ink); background: var(--bg); border: 2px solid var(--orange); }
.steps strong { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .95rem; }

/* Zitat */
.quote { padding: 110px 0; text-align: center; background: radial-gradient(700px 300px at 50% 50%, rgba(255, 106, 61, .1), transparent 70%); }
.quote blockquote { margin: 0 auto; max-width: 900px; }
.quote blockquote p { font-size: clamp(1.7rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0; }
.quote blockquote p::before { content: "„"; color: var(--orange); }
.quote blockquote p::after { content: "“"; color: var(--orange); }
.quote-sub { color: var(--muted); max-width: 620px; margin: 22px auto 0; }

.kicker-center { justify-content: center; }
.kicker-center::before { content: ""; height: 1px; width: 60px; background: var(--line-2); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 48px auto 0; text-align: left; }
.principle { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.principle strong { font-size: 1.1rem; }
.principle span:last-child { color: var(--muted); font-size: .95rem; }
.p-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--green); font-weight: 700; }
.quote-question { margin: 44px auto 0; color: var(--ink); font-weight: 700; font-size: 1.15rem; }

/* Über mich */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.portrait { width: 120px; margin-bottom: 26px; border-radius: 24px; box-shadow: 0 20px 60px -20px rgba(255, 106, 61, .5); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.facts li { font-family: var(--mono); font-size: .82rem; color: var(--muted); padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.about-text h2 { font-size: clamp(2rem, 4vw, 3rem); }
.about-lead { font-size: 1.2rem; color: var(--ink); }
.about-text p { color: var(--muted); }
.about-text p.about-lead { color: var(--ink); }

/* Kontakt */
.contact-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 28px; background: linear-gradient(135deg, var(--orange) 0%, #ff8f4f 100%); color: #14080a; box-shadow: 0 40px 100px -40px rgba(255, 106, 61, .8); }
.contact-panel h2 { color: #14080a; }
.contact-panel p { color: rgba(20, 8, 10, .78); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-phone { font-family: var(--mono); font-size: 1.4rem; font-weight: 700; color: #14080a; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-region { font-size: .9rem; margin: 0; }

/* Fuß */
.foot { border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.foot a { color: var(--muted); text-decoration: none; margin-left: 20px; }
.foot a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { padding: 72px 20px 96px; max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.15rem; margin-top: 2.2em; color: var(--ink); }
.legal p { color: var(--muted); }
.legal a { color: var(--orange-2); }

/* Bewegung nur, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ecg-line { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .live { animation: none; }
  .offer, .btn { transition: none; }
}

@media (max-width: 1000px) {
  .vitals-grid { grid-template-columns: repeat(2, 1fr); }
  .vital:nth-child(3) { border-left: 0; }
  .vital:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contact-panel { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .section { padding: 72px 0; }
  .hero { padding-top: 80px; }
  .ecg { margin-top: 50px; height: 90px; }
  .offers { grid-template-columns: 1fr; }
  .offer-main { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--orange), var(--cyan)); }
  .steps li { padding: 4px 0 0 66px; }
  .quote { padding: 80px 0; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vitals-grid { grid-template-columns: 1fr; }
  .vital { border-left: 0; border-top: 1px solid var(--line); }
  .vital:first-child { border-top: 0; }
  .brand-text small { display: none; }
}
