/* ============================================================
   BFS Securitysolutions GmbH — www.bfs.at
   Übergangs-/Holding-Page · statisch · self-contained
   Visuelle DNA: online.bfs.at (diagonaler Split, Gelb/Anthrazit)
   ------------------------------------------------------------
   Fonts: Archivo (Display) + Hanken Grotesk (Body).
   Für 100% CDN-freien Deploy: Fonts lokal self-hosten
   (siehe README) und den <link> in den HTML-Dateien ersetzen.
   ============================================================ */

:root {
  --yellow:      #FFD400;   /* Markengelb — der EINE Akzent */
  --yellow-deep: #E6BF00;   /* Hover/aktiv */
  --ink:         #1E1E20;   /* Anthrazit */
  --ink-soft:    #2B2E30;   /* etwas heller (Flächen) */
  --gray:        #9A9A9A;   /* gedämpfter Fließtext */
  --gray-dark:   #6A6C6E;   /* Fließtext auf Weiß */
  --white:       #FFFFFF;
  --paper:       #FAFAF8;   /* Off-White Sektionen */
  --line:        #E6E6E2;   /* Trennlinien hell */

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- shared layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--yellow);
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--yellow); }
.kicker--ink { color: var(--ink); }
.kicker--ink::before { background: var(--ink); }
.kicker--muted { color: var(--gray-dark); }
.kicker--muted::before { background: var(--yellow); }

.cta-link {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--display);
  font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 2px solid currentColor;
  transition: gap .2s ease, color .2s ease;
}
.cta-link svg { width: 20px; height: 20px; }
.cta-link:hover { gap: 18px; }
.cta-link--yellow { color: var(--yellow); }
.cta-link--ink { color: var(--ink); }

/* ============================================================ HEADER ===== */
.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(22px, 3vw, 38px) var(--gutter);
  pointer-events: none;
}
.site-head a, .site-head .pill { pointer-events: auto; }
.brand img { height: 34px; width: auto; }
.shield-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 16px; border: 1.5px solid currentColor; border-radius: 999px;
}
.shield-pill svg { width: 16px; height: 16px; }

/* dark vs light header context */
.site-head--on-dark .brand-dark { display: none; }
.site-head--on-dark { color: var(--white); }
.site-head--on-light .brand-light { display: none; }
.site-head--on-light { color: var(--ink); }

/* ============================================================ HERO ======= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
/* yellow right panel via diagonal clip */
.hero__yellow {
  position: absolute; inset: 0;
  background: var(--yellow);
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 44% 100%);
}
.hero__watermark {
  position: absolute; right: -3%; bottom: -10%;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(280px, 38vw, 620px); line-height: .8;
  color: rgba(30,30,32,.07); user-select: none; pointer-events: none;
  z-index: 1;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  min-height: 100svh;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
}

/* left — company positioning */
.hero__left {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(120px, 16vh, 200px) clamp(28px, 4vw, 56px) 80px 0;
}
.hero__left h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5.6vw, 78px); line-height: .98; letter-spacing: -.02em;
  color: var(--white); margin-top: 24px;
  text-wrap: balance;
}
.hero__left h1 em { color: var(--yellow); font-style: normal; }
.hero__sub {
  color: var(--gray); font-size: clamp(16px, 1.4vw, 19px);
  max-width: 42ch; margin-top: 24px;
}
.hero__ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 40px; }
.hero__motto {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(15px, 1.5vw, 19px); line-height: 1.4; letter-spacing: .01em;
  color: var(--yellow); margin-top: 26px;
}
.hero__links { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; margin-top: 16px; }

/* right — career block (on yellow) */
.hero__right {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-end; text-align: right;
  padding: clamp(120px, 16vh, 200px) 0 80px clamp(28px, 4vw, 56px);
  color: var(--ink);
}
.hero__icon {
  width: 64px; height: 64px; border: 2px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 26px;
}
.hero__icon svg { width: 30px; height: 30px; }
.hero__right h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -.015em;
  margin-top: 14px;
}
.hero__right p { color: rgba(30,30,32,.74); max-width: 30ch; margin: 16px 0 30px; }
.hero__mail {
  font-family: var(--display); font-weight: 700; font-size: clamp(17px,1.6vw,21px);
  letter-spacing: .01em; word-break: break-word;
}

/* scroll hint */
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray); font-family: var(--display); font-size: 10.5px;
  letter-spacing: .24em; text-transform: uppercase;
}
.hero__scroll svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

/* ============================================================ SECTIONS == */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }

.section__head { max-width: 760px; }
.section__head h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -.02em;
  margin-top: 18px;
}
.section--ink .section__head h2 { color: var(--white); }
.section__head p { color: var(--gray-dark); font-size: clamp(16px,1.3vw,19px); margin-top: 18px; max-width: 60ch; }
.section--ink .section__head p { color: var(--gray); }

/* ---------- Leistungen grid ---------- */
.services {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}
.svc {
  background: var(--white);
  padding: clamp(28px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
  transition: background .2s ease;
}
.svc:hover { background: var(--paper); }
.svc__icon {
  width: 52px; height: 52px; border: 2px solid var(--ink);
  display: grid; place-items: center; color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.svc__icon svg { width: 26px; height: 26px; }
.svc:hover .svc__icon { background: var(--yellow); border-color: var(--yellow); }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.svc p { color: var(--gray-dark); font-size: 15.5px; line-height: 1.55; }
/* fill: last cell becomes a yellow accent panel */
.svc--accent {
  background: var(--yellow); color: var(--ink);
  justify-content: center;
}
.svc--accent:hover { background: var(--yellow); }
.svc--accent .svc__kicker {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(30,30,32,.6);
}
.svc--accent p { color: rgba(30,30,32,.8); font-size: 16px; }

/* ---------- Leistungen — schlichte Liste (Understatement) ---------- */
.svc-list { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.svc-row {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px);
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-row__ic { color: var(--gray-dark); flex: 0 0 auto; transition: color .2s ease; }
.svc-row__ic svg { width: 26px; height: 26px; display: block; }
.svc-row__name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); letter-spacing: -.01em; line-height: 1.1;
  transition: transform .2s ease;
}
.svc-row::after {
  content: ""; margin-left: auto; flex: 0 0 auto;
  width: 22px; height: 2px; background: var(--line); transition: width .2s ease, background .2s ease;
}
.svc-row:hover .svc-row__ic { color: var(--ink); }
.svc-row:hover .svc-row__name { transform: translateX(6px); }
.svc-row:hover::after { width: 40px; background: var(--yellow); }

/* ---------- Über uns (split: text + photo) — hell ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__body p + p { margin-top: 20px; }
.about__body p { color: var(--gray-dark); font-size: clamp(16px,1.4vw,19px); }
.about__body .lead { color: var(--ink); font-size: clamp(19px,1.8vw,24px); font-weight: 500; line-height: 1.45; }
.about__body .about__claim {
  color: var(--ink); font-family: var(--display); font-weight: 800;
  font-size: clamp(20px,2.2vw,30px); letter-spacing: -.01em; line-height: 1.1;
  white-space: nowrap; margin-top: 28px;
  padding-left: 18px; border-left: 4px solid var(--yellow);
}
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.15); }
.about__media::after {
  content: ""; position: absolute; left: -18px; bottom: -18px;
  width: 120px; height: 120px; border: 3px solid var(--yellow); z-index: -1;
}
.about__stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.about__stat { padding-left: 16px; border-left: 3px solid var(--yellow); }
.about__stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(34px,3.4vw,48px); color: var(--ink); line-height: 1; }
.about__stat .l { color: var(--gray-dark); font-size: 14px; margin-top: 8px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); }
.contact__rows { margin-top: clamp(32px,4vw,48px); display: flex; flex-direction: column; }
.crow {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.crow:last-child { border-bottom: 1px solid var(--line); }
.crow__ic { width: 46px; height: 46px; border: 2px solid var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.crow__ic svg { width: 22px; height: 22px; }
.crow__k { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-dark); }
.crow__v { font-size: clamp(18px,1.6vw,22px); font-weight: 600; margin-top: 4px; }
.crow a.crow__v { transition: color .18s; }
.crow a.crow__v:hover { color: var(--yellow-deep); }
.contact__aside {
  background: var(--yellow); color: var(--ink);
  padding: clamp(32px,4vw,52px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact__aside .kicker { margin-bottom: 20px; color: rgba(30,30,32,.62); }
.contact__aside .kicker::before { background: var(--ink); }
.contact__aside h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px,2.6vw,38px); line-height: 1.05; letter-spacing: -.01em; }
.contact__aside p { color: rgba(30,30,32,.78); margin: 18px 0 30px; }
.contact__aside .cta-link { align-self: flex-start; }
.contact__aside .wm {
  position: absolute; right: -6%; bottom: -20%;
  font-family: var(--display); font-weight: 900; font-size: 320px; line-height: .8;
  color: rgba(30,30,32,.06); user-select: none;
}

/* ============================================================ FOOTER ==== */
.site-foot { background: var(--ink); color: var(--white); border-top: 4px solid var(--yellow); }
.site-foot__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
  padding-block: 40px;
}
.site-foot img { height: 28px; }
.site-foot__co { font-size: 14px; color: var(--gray); }
.site-foot__co b { color: var(--white); font-weight: 600; }
.site-foot__spacer { flex: 1 1 40px; }
.site-foot__links { display: flex; gap: 26px; }
.site-foot__links a {
  font-family: var(--display); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gray);
  transition: color .18s;
}
.site-foot__links a:hover { color: var(--yellow); }

/* ============================================================ LEGAL PG == */
.legal-head {
  position: relative; background: var(--ink); color: var(--white);
  padding: clamp(120px,16vh,180px) 0 clamp(48px,6vw,72px);
  overflow: hidden;
}
.legal-head__wm {
  position: absolute; right: -2%; top: 30%;
  font-family: var(--display); font-weight: 900; font-size: clamp(160px,22vw,360px);
  line-height: .8; color: rgba(255,255,255,.05); user-select: none; pointer-events: none;
}
.legal-head h1 {
  position: relative; font-family: var(--display); font-weight: 800;
  font-size: clamp(36px,5vw,64px); letter-spacing: -.02em; margin-top: 16px;
}
.legal-body { padding-block: clamp(48px,7vw,96px); }
.legal-body__inner { max-width: 820px; }
.legal-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FFF8DA; border: 1px solid #F0DE8C; color: #6B5600;
  padding: 16px 20px; font-size: 15px; line-height: 1.5; margin-bottom: 44px;
}
.legal-note svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; }
.legal-block + .legal-block { margin-top: 40px; }
.legal-block h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(20px,2.2vw,27px);
  letter-spacing: -.01em; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 2px solid var(--yellow); display: inline-block;
}
.legal-block h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 24px 0 8px; }
.legal-block p, .legal-block li { color: var(--gray-dark); font-size: 16px; line-height: 1.65; }
.legal-block p + p { margin-top: 14px; }
.legal-block a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--yellow); }
.legal-block ul.dash { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.legal-block ul.dash li { padding-left: 22px; position: relative; }
.legal-block ul.dash li::before { content: ""; position: absolute; left: 0; top: 12px; width: 11px; height: 2px; background: var(--yellow); }
.data-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.data-table th, .data-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.data-table th { width: 230px; font-weight: 600; color: var(--ink); font-family: var(--body); }
.data-table td { color: var(--gray-dark); }
.legal-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 56px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.legal-back svg { width: 18px; height: 18px; }
.legal-back:hover { color: var(--yellow-deep); }

/* ============================================================ RESPONSIVE = */
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__yellow { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .hero__left { padding: clamp(110px,18vh,150px) 0 56px; }
  .hero__right {
    margin-inline: calc(var(--gutter) * -1);
    padding: 52px var(--gutter) 56px;
    background: var(--yellow);
    align-items: flex-start; text-align: left;
  }
  .hero__icon { margin-left: 0; }
  .hero__links { align-items: flex-start; }
  .hero__scroll { display: none; }
  .hero__watermark { font-size: 300px; right: -8%; bottom: auto; top: 30px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__media img { aspect-ratio: 16/10; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .site-head { padding-inline: var(--gutter); }
  .shield-pill { display: none; }
  .about__stats { gap: 28px; }
  .site-foot__inner { flex-direction: column; align-items: flex-start; }
  .site-foot__links { flex-wrap: wrap; gap: 16px 24px; }
}
