/* ==========================================================================
   fliorix – Produktwebsite
   Dunkles Einsatzzentralen-Design, abgestimmt auf die CI der Plattform:
   Anthrazit-Flächen, Feuerrot als Signalfarbe, Bernstein als Glut-Akzent.
   ========================================================================== */

:root {
  --bg: #0b0e12;
  --bg-raise: #10141a;
  --card: #151a22;
  --card-2: #1a212b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f8;
  --muted: #9aa5b4;
  --faint: #66707f;
  --red: #e5382c;
  --red-hot: #ff5f4b;
  --red-deep: #b3221a;
  --amber: #ffa726;
  --green: #34d399;
  --fire: linear-gradient(100deg, #ff8a3c 0%, #ff5f4b 45%, #e5382c 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --glow-red: 0 20px 80px -20px rgba(229, 56, 44, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --wrap: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--red-hot); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(229, 56, 44, 0.55); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Signatur-Element: Alarmstreifen (Warnmarkierung wie am Heck des LF)
   -------------------------------------------------------------------------- */

.stripes {
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 12px,
    transparent 12px 24px
  );
  opacity: 0.85;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-hot);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 5px,
    transparent 5px 10px
  );
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px -6px rgba(229, 56, 44, 0.55);
}
.btn-primary:hover { background: #ef4437; box-shadow: 0 10px 30px -6px rgba(229, 56, 44, 0.7); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }

.btn svg { flex: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 14, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 14, 18, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.375rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 32px; height: 32px; border-radius: 8px; }
.brand .by {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--faint);
  align-self: flex-end;
  margin-bottom: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  list-style: none;
}
.nav-links a:not(.btn) {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 550;
  font-size: 0.975rem;
}
.nav-links a:not(.btn):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.nav-links .btn { padding: 10px 20px; font-size: 0.95rem; margin-left: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 170px 0 60px;
  overflow: clip;
}

/* Glut-Hintergrund + feines Leitstellen-Raster */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(229, 56, 44, 0.22), transparent 65%),
    radial-gradient(700px 420px at 12% 8%, rgba(255, 167, 38, 0.1), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(#000 55%, transparent);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 10px var(--red-hot);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 15ch;
}
.hero h1 .fire {
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 26px;
  max-width: 58ch;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
}
.hero-lead strong { color: var(--text); font-weight: 650; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--green); flex: none; }

/* Screenshot-Bühne */
.hero-stage {
  position: relative;
  margin-top: 74px;
}

.browser {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card), var(--glow-red);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--card-2);
}
.browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.browser-bar i:first-child { background: rgba(229, 56, 44, 0.75); }
.browser-bar .url {
  margin-left: 12px;
  font-size: 0.8rem;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 3px 14px;
  letter-spacing: 0.02em;
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(21, 26, 34, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  font-weight: 650;
  font-size: 0.95rem;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; }

.chip-ready { top: -22px; right: 36px; color: var(--green); }
.chip-ready .dot { background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2.2s infinite; }

.chip-alarm { bottom: -22px; left: 36px; }
.chip-alarm .icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
}
.chip-alarm b { display: block; font-size: 1.05rem; line-height: 1.2; }
.chip-alarm span { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 550; }

/* --------------------------------------------------------------------------
   Sektionen allgemein
   -------------------------------------------------------------------------- */

section { padding: 96px 0; }

.section-head { max-width: 62ch; margin-bottom: 64px; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.alt { background: var(--bg-raise); }

/* --------------------------------------------------------------------------
   Säulen (3er-Reihe)
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--bg-raise));
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--fire);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pillar:hover::before { opacity: 1; }

.pillar .num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red-hot);
}
.pillar h3 { margin-top: 10px; font-size: 1.3rem; letter-spacing: -0.01em; }
.pillar p { margin-top: 10px; color: var(--muted); font-size: 0.99rem; }

/* --------------------------------------------------------------------------
   Feature-Showcase (abwechselnd Text/Screenshot)
   -------------------------------------------------------------------------- */

.feat {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: 72px 0;
}
.feat + .feat { border-top: 1px solid var(--line); }
.feat.flip .feat-media { order: -1; }

.feat-copy .kicker { margin-bottom: 14px; }
.feat-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
}
.feat-copy > p { margin-top: 16px; color: var(--muted); }

.feat-list {
  margin-top: 22px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.feat-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.99rem;
}
.feat-list li strong { color: var(--text); font-weight: 650; }
.feat-list .flame {
  flex: none;
  margin-top: 5px;
  width: 14px;
  height: 14px;
  color: var(--red-hot);
}

.feat-media .browser { box-shadow: var(--shadow-card); }
.feat-media .browser:hover { box-shadow: var(--shadow-card), var(--glow-red); transition: box-shadow .25s ease; }

/* --------------------------------------------------------------------------
   Feature-Grid (weitere Module)
   -------------------------------------------------------------------------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gcard {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.gcard:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 56, 44, 0.45);
  background: var(--card-2);
}
.gcard .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(229, 56, 44, 0.12);
  border: 1px solid rgba(229, 56, 44, 0.25);
  color: var(--red-hot);
  margin-bottom: 18px;
}
.gcard h3 { font-size: 1.06rem; letter-spacing: -0.01em; }
.gcard p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Mobile-Sektion
   -------------------------------------------------------------------------- */

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 20px;
}

.phone {
  flex: 0 1 300px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  padding: 12px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.phone.lift {
  margin-bottom: 34px;
  box-shadow: var(--shadow-card), var(--glow-red);
}
.phone-screen { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.phone-label {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Plattform / Technik
   -------------------------------------------------------------------------- */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-grid .gcard .icon {
  background: rgba(255, 167, 38, 0.1);
  border-color: rgba(255, 167, 38, 0.25);
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   Claim-Band mit Alarmstreifen
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  padding: 84px 0;
  background:
    radial-gradient(720px 300px at 50% 0%, rgba(229, 56, 44, 0.16), transparent 70%),
    var(--bg-raise);
  text-align: center;
}
.band h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 26ch;
  margin-inline: auto;
}
.band .facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 46px;
  margin-top: 34px;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}
.band .facts b {
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 800;
  margin-right: 8px;
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 300px at 88% -20%, rgba(229, 56, 44, 0.18), transparent 65%),
    var(--card);
  box-shadow: var(--shadow-card);
}

.contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 800;
}
.contact-copy p { margin-top: 16px; color: var(--muted); }
.contact-copy .btn { margin-top: 28px; }

.contact-actions {
  display: grid;
  gap: 14px;
  align-content: center;
}
.contact-actions .hint {
  font-size: 0.85rem;
  color: var(--faint);
}

.reveal-btn {
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  padding: 15px 20px;
  font-size: 0.99rem;
}
a.reveal-btn { justify-content: flex-start; }
.reveal-btn .icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: rgba(229, 56, 44, 0.14);
  color: var(--red-hot);
}

.contact-address {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.7;
}
.contact-address b { color: var(--text); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #090b0e;
  padding: 64px 0 36px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 34ch;
  font-size: 0.92rem;
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz, 404)
   -------------------------------------------------------------------------- */

.page {
  padding: 160px 0 90px;
  min-height: 60vh;
}
.page .wrap { max-width: 820px; }

.prose h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 14px 0 30px;
}
.prose h2 {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose h4 { font-size: 1.02rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 12px 0; }
.prose ul { margin: 12px 0 12px 22px; }
.prose li { margin: 6px 0; }
.prose strong, .prose b { color: var(--text); }
.prose address { font-style: normal; }
.prose .reveal-btn { margin: 6px 0; width: auto; }

.error-hero { text-align: center; }
.error-hero .code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-hero h1 { margin-top: 10px; font-size: 1.6rem; }
.error-hero p { color: var(--muted); margin-top: 12px; }
.error-hero .btn { margin-top: 30px; }

/* --------------------------------------------------------------------------
   Lightbox (Screenshots vergrößern)
   -------------------------------------------------------------------------- */

.browser img,
.phone-screen img {
  cursor: zoom-in;
}

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(7, 9, 12, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; }

.lightbox img {
  max-width: 100%;
  max-height: calc(100% - 52px);
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), var(--glow-red);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.lightbox.open img { transform: none; }

.lightbox figcaption {
  max-width: 80ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(21, 26, 34, 0.9);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox-close:hover {
  background: rgba(229, 56, 44, 0.25);
  border-color: rgba(229, 56, 44, 0.6);
}

body.lightbox-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Scroll-Reveal
   -------------------------------------------------------------------------- */

.fx {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fx.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx { opacity: 1; transform: none; transition: none; }
  .hero-badge .dot, .chip-ready .dot { animation: none; }
  .btn, .gcard, .pillar { transition: none; }
  .lightbox, .lightbox img { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .pillars, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .feat { grid-template-columns: 1fr; padding: 56px 0; }
  .feat.flip .feat-media { order: 0; }
  .feat-media { max-width: 720px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 22px;
    background: rgba(11, 14, 18, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; }
  .nav-links .btn { margin: 10px 0 0; }

  section { padding: 72px 0; }
  .hero { padding-top: 140px; }
  .chip-alarm { left: 12px; bottom: -18px; }
  .chip-ready { right: 12px; }

  .phones { flex-wrap: wrap; align-items: stretch; }
  .phone.lift { margin-bottom: 0; }

  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .pillars, .grid-cards, .tech-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { width: 100%; }
  .browser-bar .url { display: none; }
}
