/* ============================================================
   Notfall360 Website - Design im Stil der Software
   Navy + Indigo, volle Breite, ausschliesslich System-Fonts (DSGVO)
   ============================================================ */

:root {
  --navy-950: #06091a;
  --navy-900: #0a0e23;
  --navy-850: #0c1130;
  --navy-800: #10163a;
  --card: #131a40;
  --card-2: #161d48;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #5b5be8;
  --accent-600: #4d4dd6;
  --accent-glow: rgba(91, 91, 232, 0.45);
  --text: #eceefb;
  --muted: #98a1c7;
  --muted-2: #6e77a0;
  --green: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1360px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Volle Breite: Sektionen ziehen sich randlos durch, Inhalt mit grosszuegiger Spannweite */
.section { width: 100%; padding: 96px 40px; }
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }

@media (max-width: 720px) {
  .section { padding: 64px 20px; }
}

/* ---------- Grid-Textur Hintergrund ---------- */
.grid-bg {
  position: relative;
  background:
    radial-gradient(900px 500px at 78% 12%, rgba(91, 91, 232, 0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  overflow: hidden;
}
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 20%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(8, 11, 26, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-inner { padding: 12px 18px; }
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(91, 91, 232, 0.14);
  border: 1px solid rgba(91, 91, 232, 0.4);
  color: #c7c8ff;
  font-size: 13px;
  font-weight: 600;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 22px 0 18px;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, var(--card), var(--navy-850));
  padding: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.hero-visual img { border-radius: 10px; width: 100%; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Section headings ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}

/* ---------- Features ---------- */
.features { background: var(--navy-850); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(91, 91, 232, 0.16);
  color: #c7c8ff;
  margin-bottom: 18px;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Pitch ---------- */
.pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 16px; }
.pitch-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.pitch-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.pitch-list .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(52, 211, 153, 0.16); color: var(--green);
  display: grid; place-items: center; margin-top: 2px;
}
.pitch-body { color: var(--muted); font-size: 17px; }
@media (max-width: 920px) { .pitch-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Gallery ---------- */
.gallery { background: var(--navy-850); border-top: 1px solid var(--border); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.shot {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.shot img { width: 100%; display: block; }
.shot .cap { padding: 14px 18px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing CTA ---------- */
.cta-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(91, 91, 232, 0.45);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(91, 91, 232, 0.35), transparent 60%),
    linear-gradient(160deg, var(--card-2), var(--navy-850));
  padding: 56px;
  text-align: center;
  overflow: hidden;
}
.cta-card h2 { margin: 0 0 14px; }
.cta-card p { color: var(--muted); max-width: 620px; margin: 0 auto 30px; font-size: 17px; }
.cta-note { margin-top: 18px; color: var(--muted-2); font-size: 13.5px; }
@media (max-width: 720px) { .cta-card { padding: 36px 22px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); border-top: 1px solid var(--border); padding: 56px 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin: 0 0 16px; }
.footer a, .footer p { color: var(--muted); font-size: 15px; margin: 6px 0; }
.footer a:hover { color: var(--text); }
.footer .brand { color: var(--text); margin-bottom: 14px; }
.footer-bottom {
  max-width: var(--maxw); margin: 36px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } .footer { padding: 40px 20px; } }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 880px; margin: 0 auto; }
.legal-page h2 { font-size: 30px; margin-top: 0; }
.legal-page h3 { font-size: 20px; margin-top: 28px; }
.legal-page p { color: var(--muted); }
.legal-page a { color: var(--accent); }

/* ---------- Error ---------- */
.error-box { text-align: center; max-width: 520px; margin: 0 auto; padding: 80px 0; }
.error-box .code { font-size: 64px; font-weight: 800; color: var(--accent); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Download-Bereich */
.download-card {
  margin-top: 28px; padding: 28px;
  background: var(--card, rgba(255,255,255,0.03));
  border: 1px solid var(--border); border-radius: 16px;
  max-width: 760px;
}
.download-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.dl-badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(99,102,241,0.16); color: #c7d2fe;
  font-size: 13px; font-weight: 600;
}
.dl-size { color: var(--muted); font-size: 14px; }
.dl-hash { margin-top: 18px; font-size: 12.5px; color: var(--muted-2, var(--muted)); }
.dl-hash-label { display: block; margin-bottom: 4px; font-weight: 600; }
.dl-hash code { word-break: break-all; opacity: .85; }
.download-empty { color: var(--muted); }
