:root {
  --navy: #0f172a;
  --blue: #2563eb;
  --blue-dark: #1745a6;
  --blue-soft: #60a5fa;
  --slate: #64748b;
  --slate-dark: #334155;
  --line: #dbe3ee;
  --pale-line: #e8eef6;
  --light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--pale-line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(210px, 26vw, 340px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--slate-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: clamp(560px, 78svh, 740px);
  padding: clamp(58px, 9vw, 116px) clamp(18px, 6vw, 88px);
  overflow: hidden;
  border-bottom: 1px solid var(--pale-line);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 9% -8% auto auto;
  z-index: -2;
  width: min(58vw, 720px);
  height: min(58vw, 720px);
  content: "";
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  transform: rotate(-8deg);
}

.hero::after {
  position: absolute;
  inset: auto -24px 46px auto;
  z-index: -1;
  width: min(48vw, 560px);
  height: min(18vw, 190px);
  content: "";
  background-image: url("assets/daten-Sheriff-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.09;
}

.hero-mark {
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  top: 22%;
  z-index: -1;
  width: clamp(210px, 28vw, 390px);
  aspect-ratio: 1;
  border: 2px solid rgba(37, 99, 235, 0.24);
  border-radius: 50%;
}

.hero-mark::before,
.hero-mark::after {
  position: absolute;
  content: "";
  border-radius: 8px;
}

.hero-mark::before {
  inset: 20%;
  border: 16px solid rgba(15, 23, 42, 0.08);
}

.hero-mark::after {
  right: 15%;
  bottom: 15%;
  width: 54%;
  height: 12px;
  background: var(--blue);
  box-shadow: -80px -42px 0 rgba(37, 99, 235, 0.62), -132px -84px 0 rgba(96, 165, 250, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.07rem;
  line-height: 1.25;
}

.hero-subline {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--blue-dark);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.38;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--slate-dark);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-visual {
  position: absolute;
  right: clamp(24px, 7vw, 112px);
  top: 50%;
  z-index: 1;
  display: grid;
  width: clamp(260px, 30vw, 410px);
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-50%);
}

.visual-core {
  display: grid;
  width: 44%;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 8px solid #dbeafe;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.visual-core i {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.visual-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 142px;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pale-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  font-size: 0.88rem;
  font-weight: 900;
}

.visual-node i {
  color: var(--blue);
}

.visual-node-a {
  top: 7%;
  left: 0;
}

.visual-node-b {
  right: 0;
  top: 38%;
}

.visual-node-c {
  left: 8%;
  bottom: 8%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.keyline {
  padding: clamp(34px, 5vw, 56px) clamp(18px, 6vw, 88px) clamp(50px, 6vw, 78px);
  background: var(--white);
  border-top: 1px solid var(--pale-line);
}

.keyline-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.keyline article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 22px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--pale-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.keyline i {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--blue);
}

.section {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 6vw, 88px);
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 980px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--slate-dark);
  font-size: 1.08rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.project-copy p,
.contact-inner p {
  margin: 0;
  color: var(--slate-dark);
  font-size: 1.06rem;
}

.check-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-grid span,
.trust-grid span,
.tag-cloud span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--slate-dark);
  background: var(--light);
  border: 1px solid var(--pale-line);
  border-radius: 8px;
  font-weight: 800;
}

.check-grid i,
.trust-grid i {
  color: var(--blue);
}

.light-section {
  background: var(--light);
  border-top: 1px solid var(--pale-line);
  border-bottom: 1px solid var(--pale-line);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  max-width: 1180px;
  margin: 0 auto 38px;
  align-items: start;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-grid article,
.process-grid article,
.question-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--pale-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.benefit-grid span,
.process-grid span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--blue);
  background: #eef5ff;
  border: 1px solid #d7e7ff;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.benefit-grid span i,
.process-grid span i {
  font-size: 1.15rem;
}

.benefit-grid p,
.process-grid p {
  margin: 14px 0 0;
  color: var(--slate-dark);
}

.process-section {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    var(--white);
  background-size: 38px 38px;
  border-top: 1px solid var(--pale-line);
  border-bottom: 1px solid var(--pale-line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.target-section {
  text-align: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.tag-cloud span {
  min-height: 0;
  background: var(--white);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.question-grid article {
  min-height: 164px;
  box-shadow: none;
}

.question-grid i {
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 22px;
  color: var(--blue);
}

.question-grid h3 {
  font-size: 1rem;
}

.center-note {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--blue-dark);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.trust-grid {
  max-width: 980px;
  margin: 0 auto;
}

.project-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.project-copy {
  display: grid;
  gap: 18px;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 12px 15px;
  color: var(--navy);
  background: var(--light);
  border: 1px solid var(--pale-line);
  border-radius: 8px;
  font-weight: 900;
}

.social-links a::after {
  content: "↗";
  color: var(--blue);
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
}

.social-links a {
  display: grid;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 0;
  padding: 0;
  font-weight: 400;
}

.social-links a::after {
  content: none;
}

.social-links i {
  font-size: 1.18rem;
}

.contact-section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 6vw, 88px);
  color: var(--white);
  background: var(--navy);
}

.contact-inner {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  color: var(--white);
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-inner .button {
  justify-self: center;
  margin-top: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.78);
  background: #08111f;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.legal-page {
  min-height: 100vh;
  background: var(--light);
}

.legal-main {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.legal-main h1 {
  max-width: none;
  color: var(--navy);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.legal-main h2 {
  margin-top: 42px;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}

.legal-main p,
.legal-main li {
  color: var(--slate-dark);
}

.placeholder-box {
  margin: 32px 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
}

.placeholder-box strong {
  color: var(--navy);
}

@media (max-width: 1180px) {
  .benefit-grid,
  .process-grid,
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 380px);
    margin-top: 36px;
    transform: none;
  }
}

@media (max-width: 900px) {
  .two-column,
  .split-layout,
  .project-section {
    grid-template-columns: 1fr;
  }

  .keyline-inner {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    opacity: 0.55;
  }

  .hero-visual {
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: min(58vw, 250px);
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero::before {
    width: 94vw;
    height: 94vw;
    opacity: 0.55;
  }

  .hero::after {
    display: none;
  }

  .hero-mark {
    right: -96px;
    top: 12%;
    width: 280px;
  }

  h1 {
    max-width: 15ch;
  }

  .hero-actions,
  .site-footer,
  .site-footer nav {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .check-grid,
  .trust-grid,
  .benefit-grid,
  .process-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article,
  .process-grid article,
  .question-grid article {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
