/* 360 Grad Security – gemeinsame Styles aller Seiten (Menü, Footer, Cookie-Banner, Header, Buttons u. a.) */

:root {
  --brand-blue: #0972B6;
  --brand-blue-dark: #075C90;
  --ink: #0b1622;
  --edge-gap: clamp(16px, 4vw, 2cm);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Josefin Sans', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

.mini-header-link img {
  height: 34px;
  width: auto;
  display: block;
}

.menu-toggle {
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: auto;
  padding: 90px 20px;
}

.nav-group { display: flex; flex-direction: column; align-items: center; }

.nav-group-row { display: flex; align-items: center; gap: 12px; }

.nav-sub-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-sub-toggle:hover,
.nav-sub-toggle:focus-visible { color: var(--brand-blue); border-color: var(--brand-blue); }

.nav-sub-toggle svg { transition: transform 0.3s ease; }

.nav-group.open .nav-sub-toggle svg { transform: rotate(180deg); }

.nav-sub {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s ease, visibility 0s linear 0.35s;
}

.nav-group.open .nav-sub {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.35s ease, visibility 0s;
}

.nav-sub-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.nav-sub-inner a:first-child { margin-top: 22px; }

.nav-sub-inner a:last-child { margin-bottom: 6px; }

.nav-overlay .nav-sub a {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 400;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .nav-sub, .nav-sub-toggle svg { transition: none; }
}

.nav-overlay a {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.nav-overlay a:hover,
.nav-overlay a.active {
  color: var(--brand-blue);
}

.nav-overlay-close {
  position: fixed;
  top: var(--edge-gap);
  right: var(--edge-gap);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.nav-overlay-close span:first-child { transform: rotate(45deg); }

.nav-overlay-close span:last-child { transform: rotate(-45deg); }

.site-footer {
  background: var(--ink);
  margin-top: 0;
  position: relative;
  z-index: 30;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px var(--edge-gap) 50px;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1fr 1fr;
  gap: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-right {
  align-items: flex-start;
}

.footer-logo-swap {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 128px;
}

.footer-logo-swap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  animation: footerLogoFade 4s ease-in-out infinite;
}

.footer-logo-swap img.footer-logo-b {
  animation-delay: -2s;
}

@keyframes footerLogoFade {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-logo-swap img { animation: none; opacity: 1; }
  .footer-logo-swap img.footer-logo-b { display: none; }
}

.footer-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.footer-line {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-blue);
}

.footer-days {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-hours-block {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  border: 1px solid rgba(9, 114, 182, 0.5);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px var(--edge-gap) 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 200;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.cookie-btn-solid {
  background: var(--brand-blue);
  color: #ffffff;
  transition: background 0.2s ease;
}

.cookie-btn-solid:hover {
  background: var(--brand-blue-dark);
}

.cookie-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s ease;
}

.cookie-btn-ghost:hover {
  border-color: #ffffff;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 20px;
  }
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

.mini-header-link {
  display: inline-block;
  line-height: 0;
  transform: scale(1.7);
  transform-origin: left center;
}

.float-header {
  background: var(--ink);
  padding: 18px var(--edge-gap);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.float-header.header-visible {
  transform: translateY(0);
}

.float-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.float-header-logo {
  display: inline-block;
  line-height: 0;
}

.float-header-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.js-typing [id^="type"] {
  visibility: hidden;
}

.radar-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  position: relative;
  z-index: 5;
}

.radar-hero {
  background: var(--ink);
  background-image:
    radial-gradient(circle at 82% 30%, rgba(9,114,182,0.16) 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(9,114,182,0.10) 0%, transparent 50%);
  padding: 34px var(--edge-gap) 90px;
  overflow: hidden;
}

.radar-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.radar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 26px;
}

.radar-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(9,114,182,0.22);
}

.radar-hero h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}

.radar-hero h1 em {
  font-style: normal;
  color: var(--brand-blue);
}

.radar-hero p {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  max-width: 480px;
  margin: 0 0 34px;
}

.radar-stats {
  display: flex;
  gap: 42px;
}

.radar-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.radar-stat strong {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
}

.radar-stat span {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
}
