/* =========================================================================
   Sicherheitsdienst Kassel — S.U.K. Sicherheit GmbH
   Design: "Nachtwache / Hi-Vis" — Mitternachtsblau + Sicherheits-Amber
   Selbst-gehostet (System-Fonts), DSGVO-konform, keine externen Requests.
   ========================================================================= */

:root {
  --ink:        #0A0F1A;
  --ink-2:      #0D1422;
  --panel:      #111A2B;
  --panel-2:    #0F1626;
  --line:       #1E2A40;
  --line-soft:  #17233A;
  --text:       #E8ECF5;
  --muted:      #94A2BB;
  --muted-2:    #6C7A93;
  --amber:      #FFB020;
  --amber-2:    #FF9410;
  --amber-ink:  #1A1204;
  --steel:      #5E8BCB;

  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", "Oswald", system-ui, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.05; font-weight: 700; }
p { margin: 0 0 1.1em; }
::selection { background: var(--amber); color: var(--amber-ink); }

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

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: var(--amber-ink); padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 700;
}
.eyebrow {
  font-family: var(--font-display);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: .8rem;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--amber); display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none; position: relative;
  border: 2px solid var(--amber); border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--amber); letter-spacing: .02em;
  background: linear-gradient(160deg, rgba(255,176,32,.12), transparent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.22rem; font-weight: 700;
}
.brand-text span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px;
}
.status .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255,176,32,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,176,32,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,176,32,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,176,32,0); }
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a.nav-link {
  color: var(--muted); font-size: .95rem; font-weight: 500; text-decoration: none;
  padding: 6px 0; position: relative;
}
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: var(--text); }
.nav a.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 8px 24px -10px rgba(255,176,32,.7); }
.btn-amber:hover { background: #ffbe40; box-shadow: 0 12px 30px -10px rgba(255,176,32,.8); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

.header-tel { display: inline-flex; }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-radar {
  position: absolute; top: 50%; right: -18%; transform: translateY(-50%);
  width: min(900px, 90vw); aspect-ratio: 1; pointer-events: none; z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 28%, rgba(94,139,203,.06) 28.4% 28.8%, transparent 29.2%),
    radial-gradient(circle, transparent 0 46%, rgba(94,139,203,.06) 46.4% 46.8%, transparent 47.2%),
    radial-gradient(circle, transparent 0 64%, rgba(94,139,203,.05) 64.4% 64.8%, transparent 65.2%),
    radial-gradient(circle, transparent 0 82%, rgba(94,139,203,.04) 82.4% 82.8%, transparent 83.2%);
  opacity: .9;
}
.hero-radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,176,32,.28), rgba(255,176,32,.05) 22%, transparent 42%, transparent 100%);
  -webkit-mask: radial-gradient(circle, #000 0 82%, transparent 82.5%);
  mask: radial-gradient(circle, #000 0 82%, transparent 82.5%);
  animation: sweep 8s linear infinite;
}
.hero-radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 120px 20px rgba(10,15,26,.9);
}
@keyframes sweep { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 1; padding: clamp(80px, 13vw, 148px) 0 clamp(72px, 10vw, 120px); max-width: 1040px; }
.hero .eyebrow { margin-bottom: 2.6rem; }
.hero h1 {
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase;
  font-size: clamp(2.1rem, 5.5vw, 4rem); letter-spacing: .005em; line-height: 1.05; margin-bottom: .85em;
  overflow-wrap: break-word; hyphens: auto;
}
.hero h1 .amber { color: var(--amber); }
.hero .lead { font-size: clamp(1.12rem, 2.4vw, 1.38rem); line-height: 1.8; color: var(--muted); max-width: 62ch; margin-bottom: 3.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* hero stat strip */
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(72px, 11vw, 120px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel-2); }
.hero-stats .stat { flex: 1 1 180px; padding: 28px 28px; border-right: 1px solid var(--line); position: relative; z-index: 1; }
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-stretch: condensed; font-size: 2.4rem; line-height: 1; color: var(--amber); margin-bottom: .35rem; }
.hero-stats .stat span { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: .01em; line-height: .98;
}
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 20px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  color: var(--text); text-decoration: none;
}
.service-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); text-decoration: none; }
.service-card .media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--panel-2); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); filter: saturate(.9) brightness(.92); }
.service-card:hover .media img { transform: scale(1.05); }
.service-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,26,.7), transparent 55%); }
.service-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .02em; font-size: 1.5rem; }
.service-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.2em; }
.service-card .go {
  margin-top: auto; font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase;
  letter-spacing: .1em; font-size: .9rem; color: var(--amber); display: inline-flex; align-items: center; gap: .5em;
}
.service-card .go svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.service-card:hover .go svg { transform: translateX(4px); }

/* ---------- Feature list (why us) ---------- */
.features { grid-template-columns: repeat(2, 1fr); gap: 28px 44px; }
.feature { display: flex; gap: 18px; }
.feature .ico {
  flex: none; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--amber); background: var(--panel);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split .visual { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; }
.split .visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split .visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(10,15,26,.6); }

/* ---------- Areas ---------- */
.areas-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--panel);
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid var(--line); border-radius: 6px; padding: clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,176,32,.14), transparent 70%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.cta-band p { color: var(--muted); margin: .6em 0 0; max-width: 46ch; }

/* ---------- Service detail page ---------- */
.page-hero { border-bottom: 1px solid var(--line); background: var(--ink-2); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, rgba(255,176,32,.06), transparent 70%); }
.page-hero-inner { padding: clamp(48px, 8vw, 84px) 0; position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4rem); line-height: .96; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-bottom: 0; }

.breadcrumb { font-size: .82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.4rem; font-family: var(--font-display); font-stretch: condensed; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--amber); }

.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(36px, 5vw, 64px); align-items: start; }
.article h2 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.article ul li { position: relative; padding-left: 30px; margin-bottom: .7em; color: var(--muted); }
.article ul li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg);
}
.article strong { color: var(--text); }

.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px;
}
.card.amber { border-color: color-mix(in srgb, var(--amber) 40%, var(--line)); background: linear-gradient(160deg, rgba(255,176,32,.08), var(--panel)); }
.card h3 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .btn { width: 100%; margin-top: 6px; }
.card .tel-big { font-family: var(--font-display); font-stretch: condensed; font-size: 1.7rem; color: var(--text); display: block; margin: 4px 0 2px; }
.card .tel-big:hover { color: var(--amber); text-decoration: none; }

.related-list { display: flex; flex-direction: column; gap: 2px; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); text-decoration: none; font-weight: 500; }
.related-list a:last-child { border-bottom: none; }
.related-list a:hover { color: var(--amber); }
.related-list a span { color: var(--muted-2); font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 76px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--muted); margin-bottom: 1.1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: .55em; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: .96rem; }
.footer-grid a:hover { color: var(--amber); }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.footer-nap { font-style: normal; color: var(--muted); font-size: .96rem; line-height: 1.9; }
.footer-nap b { color: var(--text); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: .85rem; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .01em; font-size: 1.3rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.7rem; color: var(--amber); flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--amber); }
.faq-item .faq-a { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }
.faq-item .faq-a p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .aside .card { flex: 1 1 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .3s var(--ease); visibility: hidden; }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a.nav-link { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav .header-tel { margin-top: 14px; }
  .nav .header-tel .btn { width: 100%; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .status { display: none; }
  .split { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .split .visual { order: -1; }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats .stat { flex-basis: 50%; border-bottom: 1px solid var(--line); }
  body { font-size: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .hero-radar::before { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
