/* ============================================================
   ASSKO Sicherheitstechnik – Gemeinsames Stylesheet
   Farben: Primär #00a6d3 (Cyan-Blau), Akzent #3ec4e9,
           Dunkel #424143, Hellgrau #f4f3f3, Weiß #ffffff
   ============================================================ */

/* Schriften lokal laden */
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* --- Reset & Basis ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Poppins', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #424143;
  background-color: #ffffff;
}

a {
  color: #00a6d3;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #007fa0;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Topbar ------------------------------------------------- */
.topbar {
  background-color: #424143;
  color: #ffffff;
  font-size: 13px;
  padding: 6px 0;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover {
  color: #00a6d3;
  text-decoration: none;
}

.topbar .icon {
  font-size: 14px;
  opacity: 0.85;
}

/* --- Header / Navigation ----------------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-area img {
  width: 70px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #00a6d3;
  line-height: 1.2;
}

.logo-text .brand-sub {
  font-size: 12px;
  color: #424143;
  line-height: 1.3;
}

/* Hauptnavigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  color: #424143;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  background-color: #00a6d3;
  color: #ffffff;
  text-decoration: none;
}

/* --- Hero Banner ------------------------------------------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 420px;
  background-color: #424143;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,166,211,0.55) 0%, rgba(66,65,67,0.35) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.hero-tagline {
  background-color: #00a6d3;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 24px;
  border-left: 5px solid #ffffff;
  max-width: 700px;
  line-height: 1.4;
}

/* --- Seiteninhalt allgemein -------------------------------- */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* --- Abschnittsüberschriften ------------------------------- */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #424143;
  border-left: 5px solid #00a6d3;
  padding-left: 14px;
  margin-bottom: 28px;
  margin-top: 40px;
}

.section-title:first-child {
  margin-top: 0;
}

/* --- Partner-Karten-Grid ----------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.partner-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  background-color: #ffffff;
}

.partner-card:hover {
  box-shadow: 0 6px 20px rgba(0,166,211,0.18);
  transform: translateY(-3px);
}

.partner-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.partner-card-label {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #00a6d3;
  text-align: center;
}

/* --- Leistungs-Karten -------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.service-card {
  background-color: #f4f3f3;
  border-radius: 6px;
  padding: 24px 20px;
  text-align: center;
  border-top: 4px solid #00a6d3;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0,166,211,0.15);
}

.service-card .service-icon {
  font-size: 36px;
  margin-bottom: 12px;
  color: #00a6d3;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #424143;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* --- Intro-Text -------------------------------------------- */
.intro-text {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* --- Kontakt-Box ------------------------------------------- */
.contact-box {
  background-color: #00a6d3;
  color: #ffffff;
  border-radius: 6px;
  padding: 28px 32px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.contact-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-box p {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-box a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.contact-box a:hover {
  color: #c3e5fd;
}

.btn-contact {
  display: inline-block;
  background-color: #ffffff;
  color: #00a6d3;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-contact:hover {
  background-color: #c3e5fd;
  color: #007fa0;
  text-decoration: none;
}

/* --- Impressum / Datenschutz Seiten ------------------------ */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.legal-page .page-hero {
  background-color: #f4f3f3;
  border-left: 6px solid #00a6d3;
  padding: 20px 24px;
  margin-bottom: 36px;
  border-radius: 0 6px 6px 0;
}

.legal-page .page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: #00a6d3;
  margin-bottom: 4px;
}

.legal-page .page-hero .breadcrumb {
  font-size: 13px;
  color: #888;
}

.legal-page .page-hero .breadcrumb a {
  color: #00a6d3;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: #00a6d3;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e0e0e0;
}

.legal-page h3 {
  font-size: 17px;
  font-weight: 700;
  color: #424143;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-page h4 {
  font-size: 15px;
  font-weight: 700;
  color: #424143;
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-page p {
  margin-bottom: 14px;
  color: #555;
  line-height: 1.8;
}

.legal-page address {
  font-style: normal;
  background-color: #f4f3f3;
  border-left: 4px solid #00a6d3;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 16px 0;
  line-height: 1.9;
  color: #424143;
}

.legal-page ul.data-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
  color: #555;
  line-height: 1.8;
}

/* --- Footer ------------------------------------------------ */
.site-footer {
  background-color: #00a6d3;
  color: #ffffff;
  padding: 40px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-col img {
  width: 100%;
  max-width: 220px;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  background-color: rgba(0,0,0,0.15);
  text-align: center;
  padding: 14px 20px;
  margin-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.footer-bottom a {
  color: rgba(255,255,255,0.9);
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 768px) {
  .hero-banner {
    height: 260px;
  }

  .hero-tagline {
    font-size: 15px;
    padding: 10px 16px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav ul {
    gap: 2px;
  }

  .main-nav ul li a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .logo-text .brand-name {
    font-size: 15px;
  }

  .section-title {
    font-size: 18px;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-page h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
