/*
Theme Name: ContacT A2 V6.3.0
Theme URI: https://contact-sicherheitsdienst.com/
Update URI: https://contact-sicherheitsdienst.com/themes/contact-a2-v6-3-0/
Author: AliveGroup
Description: Kundenfreigegebenes A2-Design mit animierter Startseite und universellem WordPress-Rahmen. 6.3.0: neue Rufnummern (24-h-Service-Hotline, Durchwahlen, Fax), Leistungen neu geordnet (Jugendschutz zuerst, Objekt- & Werkschutz zusammengefasst, fünf Leistungen entfernt mit Weiterleitung), Siegel und Mitgliedschaften, mitgelieferte Überschriftenschrift gegen Textüberlauf. Rollback-faehig und ohne Aktivierungs- oder Datenbankmigration.
Version: 6.3.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: contact-a2-v6-3-0
*/

/* Display face shipped with the theme: Roboto Condensed Bold (SIL OFL 1.1,
   see assets/fonts/OFL-roboto-condensed.txt). First in every display stack,
   so all devices set headings with the metrics inc/typography.php measures;
   "Arial Narrow" and "Roboto Condensed" only cover the time until the file
   has loaded or a blocked download. */
@font-face {
  font-family: "ContacT Display";
  src: url("assets/fonts/roboto-condensed-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; min-width: 320px; overflow-x: clip; }
body.cta2v6-inner { background: #f3f6fa; color: #182634; }

.cta2v6-site,
.cta2v6-site *,
.cta2v6-site *::before,
.cta2v6-site *::after { box-sizing: border-box; }

.cta2v6-site {
  --cta2-blue: #2e6fb0;
  --cta2-blue-deep: #21496f;
  --cta2-blue-light: #6fa8de;
  --cta2-bg: #f3f6fa;
  --cta2-panel: #fff;
  --cta2-ink: #182634;
  --cta2-muted: #5a6b7c;
  --cta2-line: #d8e1eb;
  --cta2-max: 1160px;
  --cta2-gutter: clamp(18px, 4vw, 34px);
  min-height: 100vh;
  overflow-x: clip;
  background: var(--cta2-bg);
  color: var(--cta2-ink);
  font: 400 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cta2v6-header,
.cta2v6-footer {
  --cta2-blue: #2e6fb0;
  --cta2-blue-deep: #21496f;
  --cta2-blue-light: #6fa8de;
  --cta2-bg: #f3f6fa;
  --cta2-panel: #fff;
  --cta2-ink: #182634;
  --cta2-muted: #5a6b7c;
  --cta2-line: #d8e1eb;
  --cta2-max: 1160px;
  --cta2-gutter: clamp(18px, 4vw, 34px);
  box-sizing: border-box;
  color: var(--cta2-ink);
  font: 400 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cta2v6-header *,
.cta2v6-header *::before,
.cta2v6-header *::after,
.cta2v6-footer *,
.cta2v6-footer *::before,
.cta2v6-footer *::after { box-sizing: border-box; }

.cta2v6-site img,
.cta2v6-site video,
.cta2v6-site iframe,
.cta2v6-site svg { max-width: 100%; }
.cta2v6-site img { height: auto; }
.cta2v6-site a { color: inherit; }
.cta2v6-container {
  width: min(var(--cta2-max), calc(100% - (2 * var(--cta2-gutter))));
  margin-inline: auto;
}
.cta2v6-skip {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cta2-blue);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}
.cta2v6-skip:focus { transform: none; }
/* Dark blue ring on the light surfaces (about 8:1 or more on white,
   --cta2-bg and the tinted sections); blue bands switch it to white in
   subpages.css. */
.cta2v6-site :focus-visible { outline: 3px solid var(--cta2-blue-deep); outline-offset: 3px; }

.cta2v6-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(216, 225, 235, .88);
  background: rgba(243, 246, 250, .94);
  box-shadow: 0 8px 28px rgba(24, 38, 52, .08);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}
.admin-bar .cta2v6-header { top: 32px; }
.cta2v6-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta2v6-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.cta2v6-brand img { display: block; width: 164px; height: auto; }
.cta2v6-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 2vw, 27px); }
.cta2v6-nav > a,
.cta2v6-mobile__panel a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cta2-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.cta2v6-nav > a:hover,
.cta2v6-nav > a[aria-current="page"] { color: var(--cta2-blue); }
.cta2v6-nav .cta2v6-nav__cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--cta2-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 111, 176, .2);
}
.cta2v6-nav .cta2v6-nav__cta:hover { background: var(--cta2-blue-deep); color: #fff; }
.cta2v6-mobile { display: none; position: relative; }
.cta2v6-mobile summary {
  min-width: 82px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cta2-line);
  border-radius: 999px;
  color: var(--cta2-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}
.cta2v6-mobile summary::-webkit-details-marker { display: none; }
.cta2v6-mobile__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(330px, calc(100vw - 32px));
  max-height: calc(100dvh - 112px);
  display: grid;
  gap: 4px;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cta2-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(24, 38, 52, .18);
}
.cta2v6-mobile__panel a { padding: 13px 14px; border-radius: 11px; }
.cta2v6-mobile__panel a:hover { background: #eaf2fb; color: var(--cta2-blue); }

.cta2v6-main { min-height: 48vh; background: var(--cta2-bg); }
.cta2v6-main--elementor { width: 100%; overflow-x: clip; }
.cta2v6-page-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(46px, 7vw, 82px);
  background:
    radial-gradient(circle at 80% 15%, rgba(111, 168, 222, .32), transparent 32%),
    linear-gradient(135deg, #eaf2fb, #f8fbff 55%, #eef4fa);
  border-bottom: 1px solid var(--cta2-line);
}
.cta2v6-page-hero__eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--cta2-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.cta2v6-page-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--cta2-ink);
  font-family: "ContacT Display", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .96;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.cta2v6-prose { padding-block: clamp(50px, 8vw, 96px); }
.cta2v6-prose__inner {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--cta2-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(24, 38, 52, .08);
}
.cta2v6-prose__inner > :first-child { margin-top: 0; }
.cta2v6-prose__inner > :last-child { margin-bottom: 0; }
.cta2v6-prose__inner h2,
.cta2v6-prose__inner h3 { color: var(--cta2-ink); line-height: 1.12; }
.cta2v6-prose__inner a { color: var(--cta2-blue); }

.cta2v6-footer { border-top: 1px solid #cfdae6; background: #eaf2fb; }
.cta2v6-footer__cta {
  padding-block: clamp(48px, 7vw, 82px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.cta2v6-footer__eyebrow {
  margin: 0 0 12px;
  color: var(--cta2-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
/* Two classes: must not be overridden by leftover Elementor kit rules (.elementor-kit-12 h2). */
.cta2v6-footer .cta2v6-footer__cta h2 {
  max-width: 700px;
  margin: 0;
  color: var(--cta2-ink);
  font-family: "ContacT Display", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  overflow-wrap: break-word;
}
.cta2v6-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cta2-blue);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}
.cta2v6-button:hover { background: var(--cta2-blue-deep); }
.cta2v6-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(170px, .7fr));
  gap: clamp(30px, 6vw, 80px);
  padding-block: 42px;
  border-top: 1px solid #cfdae6;
}
.cta2v6-footer__brand img { display: block; width: 190px; margin-bottom: 18px; }
.cta2v6-footer__brand p { max-width: 340px; margin: 0; color: var(--cta2-muted); }
.cta2v6-footer__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cta2v6-footer__socials a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #cfdae6;
  border-radius: 999px;
  color: var(--cta2-muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.cta2v6-footer__socials a:hover { border-color: var(--cta2-blue-light); color: var(--cta2-blue); }
.cta2v6-footer__nav { display: grid; align-content: start; gap: 8px; }
.cta2v6-footer__nav strong { margin-bottom: 8px; color: var(--cta2-ink); }
.cta2v6-footer__nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--cta2-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cta2v6-footer__nav a:hover { color: var(--cta2-blue); }
.cta2v6-footer__legal {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #cfdae6;
  color: var(--cta2-muted);
  font-size: 14px;
}
.cta2v6-footer__legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.cta2v6-footer__legal a { min-height: 38px; display: inline-flex; align-items: center; text-decoration: none; }

@media (max-width: 1220px) {
  .cta2v6-nav { display: none; }
  .cta2v6-mobile { display: block; }
  .cta2v6-header__inner { min-height: 74px; }
  .cta2v6-brand img { width: 146px; }
  .cta2v6-footer__cta { align-items: start; flex-direction: column; }
  .cta2v6-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta2v6-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1220px) {
  html.cta2v6-menu-open,
  html.cta2v6-menu-open body { overflow: hidden; overscroll-behavior: none; }
}

@media (max-width: 782px) {
  .admin-bar .cta2v6-header { top: 46px; }
}

@media (max-width: 620px) {
  .cta2v6-header__inner { min-height: 70px; }
  .cta2v6-brand img { width: 132px; }
  .cta2v6-mobile summary { min-width: 72px; min-height: 44px; }
  .cta2v6-footer__grid { grid-template-columns: 1fr; }
  .cta2v6-footer__brand { grid-column: auto; }
  .cta2v6-footer__legal { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .cta2v6-footer__nav a,
  .cta2v6-footer__legal a { min-height: 44px; }
  .cta2v6-page-hero { padding-top: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Active page state of the header call-to-action (formerly Customizer CSS of
   6.2.9, now part of the theme so it survives the theme switch). */
.cta2v6-nav .cta2v6-nav__cta[aria-current="page"] { background: var(--cta2-blue-deep); color: #fff; }

/* Footer: seals and memberships, contact hints. */
.cta2v6-footer__trust {
  padding-block: 30px;
  border-top: 1px solid #cfdae6;
}
.cta2v6-footer__hint {
  color: var(--cta2-muted);
  font-size: 14px;
  line-height: 1.4;
}
.cta2v6-footer__nav .cta2v6-footer__hint:first-of-type { margin-bottom: -6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Fixed terms ("24-h-Service-Hotline", the two halves of an e-mail address)
   never wrap inside; the templates set this class. */
.cta2v6-nowrap { white-space: nowrap; }

/* Seals and memberships (template-parts/trust-marks.php). Order fixed by
   ContacT: DEKRA certificates, master craftsman seal, memberships. */
.cta2v6-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 34px;
}
.cta2v6-trust__group {
  display: grid;
  gap: 10px;
  min-width: 0;
}
/* Memberships take their own row below certificates and master seal. */
.cta2v6-trust__group--mitgliedschaften { flex-basis: 100%; }
.cta2v6-trust__label {
  color: #21496f;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.cta2v6-trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cta2v6-trust__items li {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #d8e1eb;
  border-radius: 14px;
  background: #fff;
}
.cta2v6-trust__items img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 132px;
  object-fit: contain;
}
.cta2v6-trust--section .cta2v6-trust__items li { height: 112px; padding: 10px 16px; }
.cta2v6-trust--section .cta2v6-trust__items img { max-width: 168px; }

@media (max-width: 620px) {
  .cta2v6-trust { gap: 16px 22px; }
  .cta2v6-trust__items li { height: 72px; padding: 7px 10px; }
  .cta2v6-trust--section .cta2v6-trust__items li { height: 88px; }
  .cta2v6-trust__items img { max-width: 112px; }
}
