/* =====================================================================
   HARES Security – Globale Styles
   Schriften: Oswald (Headlines), IBM Plex Sans (Text), IBM Plex Mono (Labels)
   Farben:   #0B1A2E Nachtblau · #C8A24B Messing · #90A1B3 Stahlgrau
   ===================================================================== */

* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }

/* ---- Responsive Grids ---- */
@media (max-width: 880px) { .rc  { grid-template-columns: 1fr !important; } }
@media (max-width: 560px) { .rc2 { grid-template-columns: 1fr !important; } }

/* ---- Buttons / Hover ---- */
.btn-gold:hover    { background: #d8b25c !important; }
.btn-dark:hover    { background: #102942 !important; }
.btn-outline:hover { border-color: #fff !important; }

/* ---- Leistungs-Karten ---- */
.svc-card { transition: transform .15s, box-shadow .15s; }
.svc-card:hover { box-shadow: 0 20px 50px rgba(11,26,46,0.12); transform: translateY(-3px); }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav-link:hover,
.nav-link.active { color: #fff !important; }
.nav-cta:hover   { background: #d8b25c !important; }
.drop-item:hover { background: rgba(200,162,75,0.1); }

.foot-link:hover    { color: #C8A24B !important; }
.contact-link:hover { color: #C8A24B !important; }

/* Desktop-Dropdown per Hover */
.has-drop .drop-menu {
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.has-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: none; }

/* Burger / Mobile-Toggle */
.nav-burger { display: none; }
@media (max-width: 880px) {
  .nav-desktop    { display: none !important; }
  .nav-cta-header { display: none !important; }
  .nav-burger     { display: inline-flex !important; }
}
.burger-bar { position: absolute; left: 0; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.burger-bar.b1 { top: 0; }
.burger-bar.b2 { top: 5.5px; }
.burger-bar.b3 { top: 11px; }
#burger.open .b1 { top: 5.5px; transform: rotate(45deg); }
#burger.open .b2 { opacity: 0; }
#burger.open .b3 { top: 5.5px; transform: rotate(-45deg); }

/* =====================================================================
   FORMULARE
   ===================================================================== */
.heras-input {
  width: 100%; font-family: 'IBM Plex Sans', sans-serif; font-size: 15px;
  color: #0B1A2E; background: #fff; border: 1px solid #CFD8E1; border-radius: 8px;
  padding: 13px 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.heras-input:focus { border-color: #C8A24B; box-shadow: 0 0 0 3px rgba(200,162,75,0.16); }
.heras-input::placeholder { color: #9AAABA; }

.field-label {
  display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  letter-spacing: 1.5px; text-transform: uppercase; color: #5A6B7E; margin-bottom: 8px;
}

.pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  position: relative; display: inline-flex; align-items: center; cursor: pointer;
  font-size: 14px; color: #3a4a5c; background: #fff; border: 1px solid #CFD8E1;
  border-radius: 30px; padding: 9px 16px;
  transition: background .15s, border-color .15s, color .15s; user-select: none;
}
.pill:hover { border-color: #C8A24B; }
.pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill:has(input:checked) { background: #0B1A2E; border-color: #0B1A2E; color: #fff; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 9px; text-align: center; border: 1.5px dashed #C7D0DA;
  border-radius: 10px; padding: 26px 20px; cursor: pointer; background: #FAFBFC;
  transition: border-color .15s, background .15s;
}
.dropzone:hover { border-color: #C8A24B; background: #FBF7EC; }
.dropzone input { position: absolute; opacity: 0; width: 0; height: 0; }

.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #0B1A2E; cursor: pointer; }

/* =====================================================================
   RECHTSTEXTE (Impressum / Datenschutz)
   ===================================================================== */
.legal-body h2 {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(20px,3.5vw,26px);
  text-transform: uppercase; color: #0B1A2E; margin: 44px 0 14px; letter-spacing: 0.3px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px;
  text-transform: uppercase; color: #0B1A2E; margin: 28px 0 10px; letter-spacing: 0.3px;
}
.legal-body p  { font-size: 16px; line-height: 1.75; color: #3a4a5c; margin: 0 0 16px; }
.legal-body a  { color: #9a7d2e; text-decoration: none; border-bottom: 1px solid rgba(200,162,75,0.4); }
.legal-body a:hover { color: #0B1A2E; }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; }
.legal-body li { font-size: 16px; line-height: 1.7; color: #3a4a5c; margin-bottom: 8px; }
.legal-body strong { color: #0B1A2E; }
