*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }

:root{
  --brand:#064A82;
  --brand2:#0d89c2;
  --brand-hover:#0d89c2;
  --bg: #fff;
  --bg2: #1c1a33;
  --bg3: #000;
  --bg4: #333;
  --bg5: #f9f9f9;
  --bg6: #ccc;
  --text: #fff;
  --text2:#222;
  --text3:#555;
  --border: #7d7e7e;
  --border2: #ddd;
  --maxw:1200px;
  --fs-xxl:clamp(28px,4.5vw,48px);
  --fs-xl: clamp(22px,3.5vw,38px);
  --fs-lg: clamp(18px,2.4vw,24px);
  --fs-md: clamp(16px,2vw,18px);
  --fs-sm: clamp(14px,1.8vw,16px);
}

@font-face {
  font-family:'Roboto';
  src:url(./fonts/Roboto/Roboto-Regular.ttf) format('truetype');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face {
  font-family:'Roboto';
  src:url(./fonts/Roboto/Roboto-Medium.ttf) format('truetype');
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face {
  font-family:'Roboto';
  src:url(./fonts/Roboto/Roboto-Bold.ttf) format('truetype');
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face {
  font-family:'Roboto';
  src:url(./fonts/Roboto/Roboto-Black.ttf) format('truetype');
  font-weight:900; font-style:normal; font-display:swap;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand:#0d89c2;
    --brand2:#3ba8ff;
    --brand-hover:#46b3ff;

    --bg: #050910;
    --bg5: #121d33;
    --bg2: #111827;
    --bg3: #000000;
    --bg4: #1f2933;
    --bg6: #4b5563;

    --text:  #f9fafb;
    --text2: #e5e7eb;
    --text3: #9ca3af;

    --border:  #4b5563;
    --border2: #374151;
  }
}

body{
  margin:0;
  min-height: 100%;
  font-family: 'Roboto',system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: var(--fs-md);
  color: var(--text2);
  background:var(--bg);
  line-height:1.6;
}

.container{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:16px;
}

img, video { max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover { text-decoration:underline; }

h1{ font-size:var(--fs-xxl); margin:0 0 .5em; }
h2{ font-size:var(--fs-xl);  margin:0 0 .6em; }
h3{ font-size:var(--fs-lg);  margin:0 0 .6em; }

@media (min-width:600px){ :root{ --maxw: 680px; } }
@media (min-width:900px){ :root{ --maxw: 980px; } }
@media (min-width:1200px){ :root{ --maxw: 1200px; } }

body pre {
    font-family: 'Roboto';
}

/* Header */

.header{
    width:100%;
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
}
.headerImg { width: clamp(250px, 22vw, 300px); height:auto; }

.headerTop {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--brand);
  text-align: center;
}

.contactButton,
.navBoxToggle {
  background-color: var(--brand);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  border: none;
  cursor: pointer;
  transition: background-color .25s ease;
}

.contactButton:hover,
.navBoxToggle:hover {
  background-color: var(--brand-hover);
  text-decoration: none;
}
.contactButton a{
    text-decoration: none;
}

/* Navigation */

.navContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
  font-size: 18px;
  z-index: 10;
}

.navigation {
    display: none; 
}

.navPanel {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .2s ease;
  padding: 0 12px;
}

.navContainer.isOpen .navPanel {
  max-height: 900px;
  padding: 10px 12px 12px;
}

.navPanel .menu {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  background-color: var(--brand);
  color: var(--text);
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  border-radius: 10px;
}

.navPanel .menu li { padding: 6px 10px; }

.navPanel .submenu {
  position: static;
  margin-top: 6px;
  background: linear-gradient(145deg, rgba(224,224,224,.95), rgba(192,192,192,.95));
  border-radius: 8px;
  padding: 8px 0;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  .menu li {
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu li:hover {
    background: var(--brand);
    color: var(--text);
}

.menu li:hover > .submenu {
    display: block;
}

.menu li a:hover {
    color: var(--text); 
    text-decoration: none;    
}

.menu li a {
    color: var(--brand); 
    color: inherit;
}

.submenu {
    display: none;
    list-style-type: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background: linear-gradient(145deg, rgba(224, 224, 224, 0.8), rgba(192, 192, 192, 0.8), rgba(169, 169, 169, 0.8));
    color: var(--brand);
    padding: 10px 0;
    border-radius: 5px;
}
  
.submenu li {
    padding: 8px 20px;
    white-space: nowrap;
    text-align: left;
    line-height: 1.3;
}

.submenu li:hover {
    background: var(--brand);
    color:var(--text);
}

.menu a, 
.submenu a {
  text-decoration: none;
  color: inherit;
}

.menu a:visited,
.submenu a:visited {
  color: inherit;
} 

@media (min-width: 769px) {

  .headerTop {
    padding: 15px 80px;
    text-align: left;
  }

  .navBoxToggle, .navPanel { display: none; }

  .navContainer {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 80px;
  }

  .navigation {
    display: block;
    flex: 1 1 420px;
    text-align: center;
    color: var(--brand);
    font-weight: 700;
  }

  .menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .menu li {
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .menu li:hover {
    background: var(--brand);
    color: var(--text);
  }

  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(145deg, rgba(224,224,224,0.8), rgba(192,192,192,0.8));
    color: var(--brand);
    padding: 10px 0;
    border-radius: 5px;
  }

  .menu li:hover > .submenu {
    display: block;
  }

  .submenu li {
    padding: 8px 20px;
    white-space: nowrap;
    text-align: left;
    line-height: 1.3;
  }

  .submenu li:hover {
    background: var(--brand);
    color: var(--text);
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .navContainer {
    padding: 12px 24px;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .headerImg {
    width: clamp(180px, 20vw, 260px); 
  }

  .menu li {
    padding: 8px 12px;
  }

  .headerTop {
    padding: 10px 16px;
    line-height: 1.3;
  }

  .navigation {
    font-size: 16px;
  }
}

/* Navigation Ende */

/* Header Ende */

/* AOT */

.aot {
  width: 100%;
}

.aotOverlayContainer {
  position: relative; 
  width: 100%;
  height: 500px;
  display: flex;
}

.aotOverlayContainer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background-color: var(--brand);
  opacity: 0.7;
}

.aotImage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.aotTextOverlay {
  position: absolute; 
  bottom: 20px;
  right: 20px;
  max-width: 500px; 
  width: calc(100% - 40px);
  min-height: 150px;
  background-color: var(--brand);
  opacity: 0.7;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 20px;
}

.aotTextOverlay h1 {
  font-size: 30px;
  margin: 0;
  line-height: 1.7;
  text-align: center;
}

.presentContainer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 50px 0;
}

.presentCompany {
  width: min(1200px, 92vw);
  display: flex;
  flex-direction: column;
}

.aotHeading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.aotHeading p {
  margin: 0;
  padding: 0;
}

.aotUeberschrift {
  font-size: 34px;
  text-align: left;
}

.aotUeberschrift2 {
  color: var(--brand2);
  text-align: left;
}

.aotUeberschrift3 {
  font-size: 50px;
  text-align: left;
}

.aotUeberschrift4 {
  text-align: left;
  color: var(--text3);
}

.aotHeading b {
  color: var(--text2);
  font-weight: 900;
}

.aotTextContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.aotPresentText {
  flex: 0 0 30%;
  max-width: 30%;
  background-color: var(--bg2);
  padding: 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  opacity: 0.9;
  font-family: "Arial", sans-serif;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 8px;
}

.aotPresentText h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand2);
}

@media (max-width: 768px) {

  .aotOverlayContainer {
    height: 420px;
  }

  .aotTextOverlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: 400px;
    height: auto;
    padding: 12px;
    border-radius: 12px;
  }

  .aotTextOverlay h1 {
    font-size: 26px;
    line-height: 1.4;
  }

  .presentContainer {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .presentCompany {
    width: 90%;
  }

  .aotHeading {
    align-items: flex-start;
    text-align: left !important;
  }

  .aotUeberschrift  { font-size: 26px; }
  .aotUeberschrift2 { font-size: 18px; }
  .aotUeberschrift3 { font-size: 32px; line-height: 1.4; }
  .aotUeberschrift4 { font-size: 14px; line-height: 1.5; }

  .aotTextContainer {
    gap: 16px;
  }

  .aotPresentText {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 14px;
    border-radius: 10px;
  }

  .aotPresentText h4 {
    margin: 0 0 6px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {

  .aotOverlayContainer {
    height: 380px;
  }

  .aotTextOverlay {
    left: 12px;
    right: 12px;
    bottom: 16px;
    max-width: 100%;
  }

  .aotTextOverlay h1 {
    font-size: 22px;
    line-height: 1.4;
  }

  .presentContainer {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .presentCompany {
    width: 90%;
  }

  .aotHeading {
    align-items: center;
    text-align: center;
  }

  .aotTextContainer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .aotPresentText {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .aotPresentText:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
  }

  .aotPresentText h4 {
    font-size: 15px;
    margin: 0 0 6px;
  }
}

/* AOT Ende*/

/* Services */

.services {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-image: url(./img/servicesImg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  color: var(--text);
  padding: 32px 16px 40px;
}

.servicesHeader {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.servicesHeader h1 {
  font-size: 48px;
  color: var(--text2);
  font-weight: 900;
  margin: 0 0 10px;
}

.servicesHeader h3 {
  font-size: 32px;
  color: var(--text2);
  font-weight: 900;
  margin: 0 0 16px;
}

.servicesHeader pre {
  white-space: pre-wrap;
  font-size: 16px;
  color: var(--text);
  background-color: var(--bg3);
  border-radius: 8px;
  padding: 10px;
  opacity: 0.8;
  margin: 0;
}

.servicesContainer {
  width: 100%;
  max-width: 900px;
  min-height: 0;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.servicesBox {
  position: relative;
  width: 200px;
  height: 200px;
  border: 2px solid var(--bg3);
  border-radius: 15px;
  background-color: var(--bg3);
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.servicesBox:hover {
  transform: translateY(-8px);
  background-color: var(--bg3);
}

.servicesBox a {
  text-decoration: none;
  color: inherit;
}

.servicesImage {
  display: block;
  width: 100px;
  height: 100px;
  transition: opacity 0.3s ease;
}

.servicesBoxText {
  margin: 8px 0 4px;
  color: var(--text);
  font-weight: 900;
  font-size: 16px;
}

@media (max-width: 480px) {
  .servicesHeader {
    width: 100%;
    padding: 0 8px;
  }

  .servicesHeader h1 {
    font-size: 32px;
  }

  .servicesHeader h3 {
    font-size: 22px;
  }

  .servicesHeader pre {
    font-size: 14px;
  }

  .servicesContainer {
    justify-content: center;
    gap: 12px;
  }

  .servicesBox {
    width: 160px;
    height: 150px;
  }

  .servicesImage {
    width: 60px;
    height: 60px;
  }

  .servicesBoxText {
    font-size: 14px;
  }
}
    
/* Services Ende */

/* Warum Wir Start */

.whyUs {
  width: 100%;
  padding: 50px 16px;
}

.whyUsContent {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.whyUsText {
  flex: 1;
}

.whyUsSubtitle {
  color: var(--brand2);
  font-weight: 700;
  margin-bottom: 10px;
}

.whyUsHeadline {
  font-size: 38px;
  font-weight: 800;
  margin: 10px 0 20px 0;
}

.whyUsDescription {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text3);
  margin-bottom: 15px;
}

.whyUsList {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}

.whyUsList li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
}

.whyUsList li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #e63946;
  font-weight: bold;
}

.whyUsImage {
  flex: 1;
  position: relative;
}

.whyUsImage img {
  width: 100%;
  height: auto;
  display: block;
  border: 8px solid var(--brand);
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .whyUsContent {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 16px;
  }

  .whyUsText {
    width: 100%;
    text-align: center;
  }

  .whyUsSubtitle {
    font-weight: 800;
    margin: 0 0 6px;
  }

  .whyUsHeadline {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 12px;
  }

  .whyUsDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text3);
    margin: 0 auto 14px;
  }

  .whyUsList {
    list-style: none;
    padding: 0;
    margin: 12px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
    max-width: 560px;
    text-align: left;
  }

  .whyUsList li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text2);
  }

  .whyUsList li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
  }

  .whyUsImage {
    width: 100%;
    max-width: 500px;
  }

  .whyUsImage img {
    width: 100%;
    height: auto;
    border-width: 6px;
  }
}


/* Warum wir Ende */

/* Offer start*/

.offer{
  display:flex;
  min-height:450px;
  background:var(--brand);        
  overflow:hidden;
}

.offer-panel{
  position:relative;
  isolation:isolate;
  z-index:2;
  flex:1 1 55%;
  background:var(--brand);
  color:var(--text);
  padding: clamp(24px,6vw,30px) clamp(20px,6vw,40px);
  padding-right: clamp(28px, 8vw, 120px);
  display:grid;
  align-content:center;
  gap:18px;
}

.offer-panel::after{
  content:"";
  position:absolute;
  top:0;
  right:-14vw;
  width:22vw;
  height:100%;
  background:var(--brand);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  pointer-events:none;
  z-index:0; 
}

.offer-panel > *{
  position:relative;
  z-index:1;
}

@media (max-width: 900px){
  .offer-panel::after{ right:-10vw; width:16vw; }
}
@media (max-width: 600px){
  .offer-panel::after{ display:none; }
}

.offer-media{
  position:relative;
  z-index:1;
  flex:1 1 80%;
  background:url("./img/kaufhausdetektei\ 2.png") center/cover no-repeat;
  min-height:360px;
}

.offer-icon{
  position:absolute;
  right:clamp(16px,4vw,36px);
  bottom:clamp(16px,4vw,36px);
  width:clamp(72px,12vw,140px);
  opacity:.8;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));
  pointer-events:none;
}

.offer-title{margin:0; font-size:clamp(26px,3.2vw,32px); font-weight:800; text-align: left;}
.offer-underline{width:84px; height:4px; background:rgba(255,255,255,.7); display:inline-block; border-radius:2px;}
.offer-text{margin:6px 0; font-size:clamp(14px,1.4vw,16px); line-height:1.6; opacity:.95;}
.offer-btn{
  display:inline-block; width:clamp(220px,28vw,360px); text-align:center;
  background:var(--bg4); color:var(--text); padding:12px 18px; border-radius:8px; font-weight:700;
  text-decoration:none; transition:filter .2s, transform .15s;
}
.offer-btn:hover{ filter:brightness(1.1); transform:translateY(-1px); background-color: var(--brand-hover); text-decoration: none;}

@media (max-width: 900px) {
  .offer {
    flex-direction: column;
    min-height: auto;
  }

  .offer-panel {
    flex: 1 1 100%;
    padding: 24px 18px;
    text-align: center;
  }

  .offer-title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
  }

  .offer-underline {
    display: block;
    margin: 8px auto;
  }

  .offer-text {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .offer-btn {
    display: inline-block;
    width: 100%;
    max-width: 280px;
    font-size: 15px;
    padding: 10px 14px;
    margin: 10px auto 0;
  }

  .companyImg,
  .offer-media {
    flex: 1 1 100%;
    min-height: 300px;
    background-size: cover;
  }

  .companyIcon,
  .offer-icon {
    width: 80px;
    right: 16px;
    bottom: 16px;
  }
}

/* Sicherheitslösung aus einer Hand start */

.companyImg{
  position:relative;
  z-index:1;
  flex:1 1 90%;
  background:url("./img/landmarktower2.png") center/cover no-repeat;
  min-height:360px;
}

.companyIcon{
  position:absolute;
  right:clamp(16px,4vw,36px);
  bottom:clamp(16px,4vw,36px);
  width:clamp(72px,12vw,140px);
  opacity:.8;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));
  pointer-events:none;
}

/* Sicherheitslösung aus einer Hand ende */

/* References */

.references {
  width: 100%;
  padding: 40px 0;
  text-align: center;
}

.references h1 {
  margin: 0 0 24px;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 32px);
}

.referenceContainer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.referenceContainer img {
  width: min(260px, 32vw);
  height: auto;
  max-height: 200px;
  padding: 10px 16px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 480px) {
  .references h1 {
    margin-bottom: 16px;
  }

  .referenceContainer img {
    width: 70vw;
    max-width: 280px;
    max-height: 180px;
    padding: 8px 12px;
  }
}

/* References Ende*/

/* Footer */

.footer {
  width: 100%;
  background-color: var(--brand);
  color: var(--text);
}

.a1 {
  background-color: var(--brand);
  display: flex;
  justify-content: center;
}

.a2 {
  background-color: var(--brand);
  display: flex;
  justify-content: center;
  padding: 10px 16px 16px;
}

.footerContainer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 16px;
  box-sizing: border-box;
}

.footer h1 {
  margin: 0 0 10px 0;
  text-align: left;
  color: var(--text);
  font-size: 20px;
}

.footerKontakt h1,
.footerLeistungen h1,
.footerCompany h1 {
  border-bottom: 4px solid var(--border);
  display: inline-block;
  padding-bottom: 5px;
}

.footerKontakt,
.footerLeistungen,
.footerCompany {
  flex: 1 1 260px;
  max-width: 340px;
}

.contactText {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  margin: 12px 0;
}

.footerButton {
  display: inline-block;
  background-color: var(--bg4);
  color: var(--text);
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.3s;
  margin-top: 8px;
}

.footerButton:hover {
  background-color: var(--brand-hover);
  text-decoration: none;
}

.footerLeistungen a,
.footerCompany a {
  display: block;
  text-align: left;
  margin: 10px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
}

.footerLeistungen a:hover,
.footerCompany a:hover {
  color: var(--border);
}

.copyright {
  font-size: clamp(12px, 1.4vw, 14px);
  color: var(--text);
  border: 0.5px solid var(--bg);
  border-radius: 15px;
  padding: 8px 14px;
  text-align: center;
  margin: 0;
}

@media (max-width: 900px) and (min-width: 481px) {
  .footerContainer {
    justify-content: space-around; 
  }
}

@media (max-width: 480px) {
  .footerContainer {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
  }

  .footerKontakt,
  .footerLeistungen,
  .footerCompany {
    flex: 0 0 auto;
    max-width: 320px;
    text-align: center;
  }

  .footerLeistungen a,
  .footerCompany a {
    text-align: center;
  }
}

/* Footer Ende */

/* Kontakt Start */

.contactInfoSection {
  width: 100%;
  padding: 60px 0;
  background-color: var(--bg5);
}

.contactInfoContainer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.contactInfoTitle {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
}

.contactInfoSubtitle {
  font-size: 16px;
  color: var(--text3);
  font-weight: 700;
  margin-bottom: 24px;
}

.contactInfoBoxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contactInfoBox {
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 30px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contactInfoIcon {
  font-size: 32px;
  margin-bottom: 10px;
}

.contactInfoBox h3 {
  color: var(--brand);
  margin: 10px 0;
}

.contactInfoBox p {
  font-size: 15px;
  color: var(--text3);
  font-weight: 700;
}

.contactInfoBox a {
  color: var(--brand);
  text-decoration: none;
  font-weight: bold;
}

.contactInfoBox a:hover {
  text-decoration: underline;
  color: var(--brand-hover);
}

.contactFormWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formTitle {
  color: var(--brand);
  margin-bottom: 20px;
}

.contactForm {
  margin-top: 20px;
  width: 100%;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formGroup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.formGroup label {
  font-weight: bold;
  color: var(--brand);
  min-width: 150px;
}

.formGroup input, .formGroup select, .formGroup textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid var(--border2);
  border-radius: 5px;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.3s;
  text-align: center;
  resize: none;
}

.formGroup input:focus, .formGroup select:focus, .formGroup textarea:focus {
  border-color: var(--brand);
  outline: none;
}

.submitButton {
  background-color: var(--brand);
  color: var(--text);
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 20px auto 0;
}

.submitButton:hover {
  background-color: var(--brand-hover);
}

/*Kontakt ende*/

/* CloseModal */

.modal{
  position:fixed; inset:0;
  display:none;
  justify-content:center; align-items:center;
  background: rgba(0,0,0,.55);
  z-index:1000;
  padding:20px;
}
.modal.is-visible{ display:flex; }

.modalContent{
  background:var(--bg);
  padding:28px 24px;
  border-radius: 12px;
  text-align:center;
  max-width:420px; width:100%;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  outline:none;
  animation: pop .18s ease-out;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; 
}
@keyframes pop{ from{ transform:scale(.98); opacity:.7; } to{ transform:scale(1); opacity:1; } }

.modalLogo{display:block; margin: 0 auto 16px;}

.modalContent h2{
  color:var(--brand);
  font-size:24px; margin:0 0 8px;
  font-weight:800;
}
.modalContent p{
  color:var(--text);
  font-size:16px; margin:0 0 18px;
}

.modalCloseBtn{
  background:var(--brand);
  color:var(--text);
  border:0; padding:10px 18px;
  border-radius:8px; font-size:16px; font-weight:700;
  cursor:pointer;
  transition:filter .15s ease, transform .1s ease, background-color .15s ease;
}
.modalCloseBtn:hover{ background:var(--brand-hover); transform:translateY(-1px); }

/* Close Modal */

/* Wir über uns start */

.aboutusSection{
  max-width: 1180px;
  margin: 56px auto;
  padding: 0 20px;
}

.aboutusHeader{
  text-align:center;
  max-width: 860px;
  margin: 0 auto 28px;
}

.aboutusHeader h2{
  color:var(--brand);
  font-size:clamp(24px,3.2vw,34px);
  line-height:1.2;
  margin:0 0 10px;
  font-weight:800;
}

.aboutusHeader p{
  color:var(--text3);
  font-size:1.05rem;
  line-height:1.7;
  margin:0;
}

.aboutusTeaser{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  margin:28px 0 32px;
  box-shadow:0 12px 28px rgba(2,12,27,.08);
  background:var(--bg);
}

.aboutusTeaser img{
  width:100%;
  height: clamp(220px, 40vw, 320px);
  border-radius:18px;
  object-fit: contain;
  display:block;
  filter:saturate(1.05) contrast(1.02);
}

.aboutusTeaserText{
  position:absolute;
  left:20px; bottom:18px;
  background:rgba(6,74,130,.9);
  color:var(--text);
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  font-size:.95rem;
}

.aboutusContainer{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.aboutusCard{
  background:var(--bg5);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 25px rgba(2,12,27,.06),0 3px 8px rgba(2,12,27,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}

.aboutusCard:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(2,12,27,.10),0 6px 14px rgba(2,12,27,.06);
}

.aboutusCard .icon{
  font-size:24px;
  opacity:.9;
  margin-bottom:6px;
}

.aboutusCard h3{
  color:var(--brand);
  font-size:1.15rem;
  margin:6px 0 8px;
  font-weight:800;
}

.aboutusCard p,
.aboutusCard ul{
  color:var(--text3);
  font-size:.98rem;
  line-height:1.68;
  margin:0;
}

.aboutusCard ul{ list-style:disc; padding-left:20px; }

.aboutUsContact{
  width:100%;
  padding:70px 20px 100px;
  text-align:center;
  background:var(--bg5);
  margin-top:60px;
}

.aboutUsContactContainer{
  max-width:800px;
  margin:0 auto;
}

.aboutUsContactSubtitle{
  font-size:.9rem;
  font-weight:800;
  color:var(--brand2);
  letter-spacing:.02em;
  text-transform:uppercase;
  margin:0 0 8px;
}

.aboutUsContactHeadline{
  font-size:clamp(22px,3.2vw,36px);
  font-weight:800;
  color:var(--text2);
  margin:8px 0 10px;
  line-height:1.3;
}

.aboutUsContactText p{
  font-size:1rem;
  color:var(--text3);
  margin:0 0 22px;
}

.aboutUsContact a.aboutUsContactButton {
  display: inline-block;
  background-color: var(--brand);
  color: var(--text);
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, filter .2s ease, color .15s ease;
}

.aboutUsContact a.aboutUsContactButton:hover {
  transform: translateY(-2px);
  background-color: var(--brand-hover);
}

@media (max-width: 768px) {

  .aboutusSection{
    margin: 40px auto;
    padding: 0 16px;
  }

  .aboutusHeader h2{
    font-size: 22px;
  }

  .aboutusHeader p{
    font-size: .96rem;
  }

  .aboutusContainer{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .aboutusTeaser{
    margin: 20px 0 26px;
  }

  .aboutusTeaser img{
    height: clamp(200px, 55vw, 260px);
  }

  .aboutusTeaserText{
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: .9rem;
  }

  .aboutUsContact{
    padding: 50px 16px 70px;
    margin-top: 40px;
  }
}

/* Wir über uns ende */

/* Karriere start */

.career {
  padding: 60px 20px;
  background: var(--bg);
}

.careerContainer {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.careerTitle {
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);         
  margin: 0 0 12px;
}

.careerSubtitle {
  max-width: 860px;
  margin: 0 auto 32px;
  color: var(--text3);
  line-height: 1.7;
}

.careerCards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:28px;
  justify-items:center;
}

.careerCard {
  width: 100%;
  max-width: 500px;
  background: var(--bg5);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.careerCardImg {
  width: 100%;
  height: clamp(180px, 30vw, 250px);
  object-fit: cover;
  display: block;
}

.careerCardBody {
  padding: 20px 22px 24px;
}

.careerCardTitle {
  font-size: 22px;
  color: var(--brand);
  margin: 6px 0 10px;
  font-weight: 800;
}

.careerCardText {
  color: var(--text3);
  line-height: 1.65;
  margin: 0 0 16px;
}

.careerButton {
  display: inline-block;
  background: var(--brand);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: filter .15s ease, transform .15s ease;
}

.careerButton:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
  background-color: var(--brand-hover);
  text-decoration: none;
}

@media (max-width: 768px) {
  .career {
    padding: 40px 16px;
  }

  .careerTitle {
    font-size: 28px;
  }

  .careerSubtitle {
    padding: 0 4px;
    font-size: 15px;
  }

  .careerCards {
    gap: 20px;
  }

  .careerCard {
    max-width: 520px;
    text-align: center;
  }

  .careerCardBody {
    padding: 16px 18px 20px;
  }

  .careerCardTitle {
    font-size: clamp(18px, 4.6vw, 20px);
    line-height: 1.25;
  }

  .careerCardText {
    font-size: clamp(14.5px, 4vw, 15px);
    line-height: 1.6;
  }
}

/* Arbeit start */

.arbeitSection {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: var(--text2);
}

.arbeitHeader {
  text-align: center;
  margin-bottom: 40px;
}
.arbeitHeader h2 {
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 10px;
}
.arbeitHeader p {
  font-size: 16px;
  color: var(--text3);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.arbeitOffers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.arbeitOffer {
  background: var(--bg5);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

.arbeitOffer h3 {
  color: var(--brand);
  margin-bottom: 12px;
}

.arbeitOffer p {
  margin: 6px 0;
  font-size: 14px;
  color: var(--text3);
}

.arbeitForm {
  background: var(--bg5);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.arbeitForm h3 {
  text-align: center;
  color: var(--brand);
  margin-bottom: 10px;
}
.arbeitForm p {
  text-align: center;
  color: var(--text3);
  margin-bottom: 20px;
}

.arbeitForm form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arbeitForm label {
  font-weight: 600;
  color: var(--brand);
}
.arbeitForm input,
.arbeitForm select,
.arbeitForm textarea {
  padding: 10px;
  border: 1px solid var(--bg6);
  border-radius: 6px;
  font-size: 14px;
}
.arbeitForm input:focus,
.arbeitForm select:focus,
.arbeitForm textarea:focus {
  border-color: var(--brand);
  outline: none;
}

.arbeitSubmit {
  background: var(--brand);
  color: var(--text);
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.arbeitSubmit:hover {
  background: var(--brand-hover);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

@media (max-width: 768px) {
  .arbeitSection {
    margin: 30px auto;
    padding: 16px;
  }

  .arbeitHeader h2 {
    font-size: 24px;
  }

  .arbeitHeader p {
    font-size: 15px;
  }

  .arbeitOffers {
    gap: 16px;
  }

  .arbeitOffer {
    padding: 18px;
  }

  .arbeitForm {
    padding: 22px 16px;
  }

  .arbeitForm input,
  .arbeitForm select,
  .arbeitForm textarea {
    font-size: 15px;
  }

  .arbeitSubmit {
    width: 100%;
  }
}

/* Arbeit ende */

/* Ausbildung start */

.ausbSection {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: var(--text2);
}

.ausbHeader {
  text-align: center;
  margin-bottom: 40px;
}
.ausbHeader h2 {
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 10px;
}
.ausbHeader p {
  font-size: 16px;
  color: var(--text3);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.ausbOffers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.ausbOffer {
  background: var(--bg5);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}
.ausbOffer h3 {
  color: var(--brand);
  margin-bottom: 12px;
}
.ausbOffer p {
  margin: 6px 0;
  font-size: 14px;
  color: var(--text3);
}

.ausbForm {
  background: var(--bg5);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.ausbForm h3 {
  text-align: center;
  color: var(--brand);
  margin-bottom: 10px;
}
.ausbForm p {
  text-align: center;
  color: var(--text3);
  margin-bottom: 20px;
}

.ausbForm form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ausbForm label {
  font-weight: 600;
  color: var(--brand);
}
.ausbForm input,
.ausbForm select,
.ausbForm textarea {
  padding: 10px;
  border: 1px solid var(--bg6);
  border-radius: 6px;
  font-size: 14px;
}
.ausbForm input:focus,
.ausbForm select:focus,
.ausbForm textarea:focus {
  border-color: var(--brand);
  outline: none;
}

.ausbSubmit {
  background: var(--brand);
  color: var(--text);
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.ausbSubmit:hover {
  background: var(--brand-hover);
}

@media (max-width: 768px) {
  .ausbSection {
    margin: 30px auto;
    padding: 16px;
  }

  .ausbHeader h2 {
    font-size: 24px;
  }

  .ausbHeader p {
    font-size: 15px;
  }

  .ausbOffers {
    gap: 16px;
  }

  .ausbOffer {
    padding: 18px;
  }

  .ausbForm {
    padding: 22px 16px;
  }

  .ausbForm input,
  .ausbForm select,
  .ausbForm textarea {
    font-size: 15px;
  }

  .ausbSubmit {
    width: 100%;
  }
}

/* Ausbildung ende */

/* Karriere ende */

/* CTA start */

.ctaSection {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
  gap: 20px;
}

.ctaText {
  max-width: 400px;
  text-align: left;
}

.ctaText h1 {
  font-size: 38px;
  color: var(--brand);
  margin-bottom: 15px;
  text-align: left;
}

.ctaSection p {
  margin-top: 40px;
  margin-bottom: 40px;
  color: var(--text3);
}

.ctaUnderline {
  width: 80px;
  height: 4px;
  background-color: var(--border);
  margin: 10px 0;
}

.ctaOffer {
  background-color: var(--brand);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}

.ctaOffer:hover {
  background-color: var(--brand-hover);
  color: var(--text);
  text-decoration: none;
}

.ctaImage img {
  width: 300px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .ctaSection {
    flex-direction: column;
    text-align: center;
  }

  .ctaText {
    max-width: 100%;
    text-align: center;
  }

  .ctaText h1 {
    font-size: 26px;
    text-align: center;
  }

  .ctaUnderline {
    margin: 0 auto;
  }

  .ctaImage img {
    width: 80%;
    max-width: 250px;
    margin: 20px auto 0;
    display: block;
  }
}

/*CTA Ende*/

/* Vertrauen Start*/

.trustSection {
  background: var(--bg);
  padding: 50px 20px;
  text-align: center;
}

.trustContainer {
  max-width: 900px;
  margin: 0 auto;
}

.trustSection h2 {
  color: var(--brand);
  font-size: 2em;
  margin: 0 0 8px;
  font-weight: 800;
}

.trustUnderline {
  width: 80px;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
  margin: 10px auto 18px;
}

.trustSection p {
  color: var(--text3);
  font-size: 1.1em;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .trustSection {
    padding: 40px 16px;
  }

  .trustSection h2 {
    font-size: 1.6em;
  }

  .trustSection p {
    font-size: 1rem;
  }
}


/* Vertrauen Ende */

/* Werk- und Objektschutz start */

.osHeader {
  color: var(--brand);
  font-size: 30px;
  font-weight: 800;
  margin-top: 20px;
  text-align: center;
  text-transform: uppercase;
}

.osDivider {
  width: 80px;
  height: 4px;
  background-color: var(--border);
  margin: 15px auto;
}

.osContent {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text3);
  margin: 20px auto;
  margin-bottom: 40px;
  max-width: 1200px;
  padding: 20px;
  background-color: var(--bg5);
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .osHeader {
    font-size: 24px;
    padding: 0 12px;
  }

  .osContent {
    font-size: 16px;
    padding: 16px;
    margin: 16px auto 32px;
  }
}


/*Werk- und Objektschutz ende*/

/* Herimsicherheit start */

.hsHeader {
  color: var(--brand);
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.hsDivider {
  width: 80px;
  height: 4px;
  background-color: var(--border);
  margin: 15px auto;
}

.hsContent {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-size: 20px;
  color: var(--text3);
  line-height: 1.6;
}

.hsList {
  list-style: disc;
  padding-left: 40px;
  margin-bottom: 30px;
}

.hsList li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hsHeader {
    font-size: 24px;
    padding: 0 12px;
  }

  .hsContent {
    font-size: 16px;
    padding: 16px;
  }

  .hsList {
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hsHeader { font-size: 22px; text-align: center; }
  .hsDivider { margin: 12px auto; }
  .hsList { padding-left: 20px; font-size: 15px; line-height: 1.5; }
}

/* Herimsicherheit Ende */

/* Baustellensicherheit start */

.heroSection {
  background-color: var(--brand);
  color: var(--text);
  text-align: center;
  padding: 80px 20px;
  border-bottom: 5px solid var(--border);
}

.heroText h1 {
font-size: 2.8em;
  margin-bottom: 20px;
}

.heroText p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

.infoSection {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 50px 20px;
  gap: 20px;
  flex-wrap: wrap;
  background-color: var(--bg5);
}

.infoCard {
  background: var(--bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 500px;
  min-width: 260px;
  box-sizing: border-box;
}

.infoCard h2 {
  color: var(--brand);
  font-size: 2em;
  margin-bottom: 15px;
}

.featureList {
  list-style: none;
  padding: 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.featureList li:before {
  content: "✔";
  color: var(--brand);
  padding-right: 10px;
}

@media (max-width: 768px) {
  .heroSection {
    padding: 50px 16px;
  }

  .heroText h1 {
    font-size: 2.1em;
  }

  .heroText p {
    font-size: 1.05em;
  }

  .infoSection {
    padding: 30px 16px;
    gap: 16px;
  }

  .infoCard {
    max-width: 100%;
    padding: 20px;
  }

  .infoCard h2 {
    font-size: 1.6em;
  }

  .featureList {
    font-size: 1em;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .heroSection {
    padding: 40px 14px;
  }

  .heroText h1 {
    font-size: 1.8em;
  }

  .infoCard {
    padding: 18px;
  }
}


/* Baustellensicherheit ende */

/* Detektei start */

.detekteiHeroSection {
  background-color: var(--brand);
  color: var(--text);
  text-align: center;
  padding: 80px 20px;
  border-bottom: 5px solid var(--border);
}

.detekteiHeroContent h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.detekteiHeroContent p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

.detekteiInfoSection {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
  background-color: var(--bg5);
}

.detekteiInfoCard {
  background: var(--bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.detekteiInfoCard h2 {
  color: var(--brand);
  font-size: 2em;
  margin-bottom: 15px;
}

.detekteiServiceList {
  list-style: none;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

.detekteiServiceList li:before {
  content: "✓";
  color: var(--brand);
  padding-right: 10px;
}

.detekteiWhySection {
  background: var(--bg);
  padding: 60px 20px;
  text-align: center;
}
.detekteiWhySection h2 {
  color: var(--brand);
  margin-bottom: 30px;
}
.detekteiWhyCards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.detWhyContainer {
  background: var(--bg5);
  padding: 25px;
  border-radius: 8px;
  flex: 1 1 250px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}
.detWhyContainer h3 {
  color: var(--brand);
  margin-bottom: 10px;
}

.detekteiStepsSection {
  background: var(--bg5);
  padding: 60px 20px;
  text-align: center;
}
.detekteiStepsSection h2 {
  color: var(--brand);
  margin-bottom: 40px;
}
.detStepsContainer {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.detStep {
  background: var(--bg);
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}
.detStepNumber {
  display: inline-block;
  background: var(--brand);
  color: var(--text);
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .detekteiHeroSection {
    padding: 50px 16px;
  }

  .detekteiHeroContent h1 {
    font-size: 2.1em;
  }

  .detekteiHeroContent p {
    font-size: 1.05em;
  }

  .detekteiInfoSection {
    padding: 30px 16px;
  }

  .detekteiInfoCard {
    padding: 20px;
  }

  .detekteiInfoCard h2 {
    font-size: 1.6em;
  }

  .detekteiServiceList {
    font-size: 16px;
    line-height: 1.5;
  }

  .detekteiWhySection,
  .detekteiStepsSection {
    padding: 40px 16px;
  }

  .detekteiWhyCards,
  .detStepsContainer {
    gap: 16px;
  }

  .detWhyContainer,
  .detStep {
    flex: 1 1 100%;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .detekteiHeroContent h1 {
    font-size: 1.8em;
  }

  .detekteiServiceList {
    font-size: 15px;
  }

  .detWhyContainer,
  .detStep {
    padding: 16px;
  }
}

/* Detektei ende */

/*Kaufladendetektei start*/

.ksIntro {
  padding: 50px;
  background-color: var(--brand);
  color: var(--text);
  text-align: center;
}

.ksIntroText h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.ksIntroText p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
}

.ksContent {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ksBlock {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.ksBlock h2 {
  font-size: 2em;
  color: var(--brand);
  margin-bottom: 10px;
}

.ksbenefitsList {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em;
}

.ksbenefitsList li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.ksbenefitsList li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 1.5em;
  line-height: 1;
}

@media (max-width: 768px) {
  .ksIntro {
    padding: 32px 18px;
  }

  .ksIntroText h1 {
    font-size: 2em;
  }

  .ksIntroText p {
    font-size: 1.05em;
  }

  .ksContent {
    padding: 30px 18px;
    gap: 24px;
  }

  .ksBlock {
    max-width: 100%;
  }

  .ksBlock h2 {
    font-size: 1.6em;
  }

  .ksbenefitsList {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .ksIntroText h1 {
    font-size: 1.7em;
  }

  .ksIntroText p {
    font-size: 1em;
  }

  .ksContent {
    padding: 24px 14px;
  }

  .ksbenefitsList {
    font-size: 0.95em;
  }
}

/* Kaufladendetektei ende*/

/* Brandwache start*/

.brandwacheIntroSection {
  background-color: var(--brand);
  color: var(--text);
  text-align: center;
  padding: 80px 20px;
  border-bottom: 5px solid var(--border);
}

.brandwacheIntroContent h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.brandwacheIntroContent p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

.brandwacheDetailsSection {
  padding: 50px 20px;
  background-color: var(--bg5);
  text-align: center;
}

.brandwacheDetailsContent h2 {
  color: var(--brand);
  font-size: 2.2em;
  margin-bottom: 10px;
}

.brandwacheDetailsContent p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

.brandwacheFeatures {
  margin-top: 30px;
}

.brandwacheFeatures h3 {
  color: var(--brand);
  font-size: 32px;
  margin-bottom: 15px;
}

.brandwacheServiceList {
  list-style: none;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.brandwacheServiceList li:before {
  content: "✔";
  color: var(--brand);
  padding-right: 10px;
}

.brandwacheAreasSection {
  padding: 50px 20px;
  background-color: var(--bg);
  text-align: center;
}

.brandwacheAreasContent h2 {
  color: var(--brand);
  font-size: 2.2em;
  margin-bottom: 15px;
}

.brandwacheAreasContent p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--text3);
}

.brandwacheAreasList {
  list-style: none;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.brandwacheAreasList li:before {
  content: "✓";
  color: var(--brand);
  padding-right: 10px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .brandwacheIntroSection {
    padding: 50px 16px;
  }

  .brandwacheIntroContent h1 {
    font-size: 2.1em;
  }

  .brandwacheIntroContent p {
    font-size: 1.05em;
    max-width: 640px;
  }

  .brandwacheDetailsSection,
  .brandwacheAreasSection {
    padding: 40px 16px;
  }

  .brandwacheDetailsContent h2,
  .brandwacheAreasContent h2 {
    font-size: 1.9em;
  }

  .brandwacheDetailsContent p,
  .brandwacheAreasContent p{
    font-size: 1em;
  }

  .brandwacheServiceList,
  .brandwacheAreasList {
    max-width: 100%;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .brandwacheIntroSection {
    padding: 40px 14px;
  }

  .brandwacheIntroContent h1 {
    font-size: 1.8em;
  }

  .brandwacheIntroContent p {
    font-size: 0.98em;
  }

  .brandwacheDetailsContent h2,
  .brandwacheAreasContent h2 {
    font-size: 1.5em;
  }

  .brandwacheServiceList,
  .brandwacheAreasList {
    padding-left: 20px;
    font-size: 0.95em;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/*Brandwache ende*/

/* Empfangsdienste start*/

.empfangHeroSection {
  background: var(--brand);
  color: var(--text);
  text-align: center;
  padding: 80px 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.empfangHeroContent h1 {
  font-size: 2.6em;
  margin-bottom: 15px;
  color: var(--text);
}

.empfangHeroContent p {
  font-size: 1.3em;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
}

.empfangHighlightsSection {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background-color: var(--bg);
  color: var(--text);
}

.empfangHighlight {
  width: 30%;
  text-align: center;
  background: var(--border);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.empfangHighlight:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.25);
}

.empfangHighlight h2 {
  color: var(--text);
  font-size: 1.8em;
  margin-bottom: 10px;
}

.empfangHighlight p {
  font-size: 1em;
  color: var(--text);
}

.empfangDetailsSection {
  padding: 50px 20px;
  background-color: var(--brand);
  text-align: center;
  color: var(--text);
}

.empfangDetailsContent h2 {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: var(--text);
}

.empfangServiceList {
  list-style: none;
  padding: 0;
  font-size: 1.2em;
  line-height: 1.8;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text);
}

.empfangServiceList li:before {
  content: "✓";
  color: var(--text);
  padding-right: 8px;
}

.empfangCTASection {
  padding: 40px 20px;
  text-align: center;
  color: var(--text);
  border-radius: 10px;
  margin-top: 20px;
}

.empfangCTAContent h2 {
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .empfangHeroSection { 
    padding: 60px 16px; 
    text-align: center; 
  }

  .empfangHeroContent h1 { 
    font-size: 28px; 
    line-height: 1.25; 
  }

  .empfangHeroContent p { 
    font-size: 16px; 
    max-width: 680px; 
    margin: 0 auto; 
  }

  .empfangHighlightsSection { 
    flex-wrap: wrap; 
    gap: 16px; 
    padding: 30px 16px; 
  }

  .empfangHighlight {
    flex: 1 1 45%;
    max-width: 360px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

  .empfangHighlight h2 { 
    font-size: 20px; 
    margin-bottom: 8px; 
  }

  .empfangHighlight p { 
    font-size: 15px; 
  }

  .empfangDetailsSection { 
    padding: 40px 16px; 
    text-align: center; 
  }

  .empfangDetailsContent { 
    max-width: 700px; 
    margin: 0 auto; 
  }

  .empfangServiceList { 
    text-align: left; 
    font-size: 16px; 
    line-height: 1.6; 
    padding-left: 20px; 
  }

  .empfangCTASection { 
    padding: 36px 16px; 
    text-align: center; 
  }

  .empfangCTAContent h2 { 
    font-size: 24px; 
  }

  .empfangCTASection .contactButton { 
    display: inline-block; 
    margin: 12px auto 0; 
  }

  .empfangHeroContent h1,
  .empfangHeroContent p,
  .empfangHighlight,
  .empfangDetailsContent,
  .empfangServiceList {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

@media (max-width: 480px) {
  .empfangHeroSection { 
    padding: 44px 12px; 
  }

  .empfangHeroContent h1 { 
    font-size: 22px; 
  }

  .empfangHeroContent p { 
    font-size: 14px; 
  }

  .empfangHighlightsSection { 
    gap: 14px; 
    padding: 24px 12px; 
  }

  .empfangHighlight { 
    flex: 1 1 100%; 
    max-width: 100%; 
    min-height: unset; 
  }

  .empfangHighlight h2 { 
    font-size: 18px; 
  }

  .empfangHighlight p { 
    font-size: 14.5px; 
  }

  .empfangDetailsSection { 
    padding: 32px 12px; 
  }

  .empfangServiceList { 
    font-size: 14.5px; 
    line-height: 1.55; 
  }

  .empfangCTAContent h2 { 
    font-size: 22px; 
  }

  .empfangCTASection .contactButton {
    width: 100%;
    max-width: 280px;
    padding: 10px 14px;
    font-size: 15px;
  }
}

/*Empfansdienste ende*/

/*Veranstaltungssicherheit Start*/

.vsSection {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 60px 20px;
  background: var(--brand);
  color: var(--text);
}

.vsText {
  max-width: 740px;
  text-align: left;
}

.vsText h1,
.vsText p {
  text-align: left;
}

.vsImage {
  max-width: 300px;
  height: 250px;
  border-radius: 10px;
}

.vsFeatures {
  padding: 50px 20px;
  text-align: center;
}

.vsFeatures h2 {
  font-size: 42px;
  color: var(--brand);
}

.vsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.featuresContainer {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.featuresContainer:hover {
  transform: translateY(-5px);
}

.featuresContainer h3 {
  font-size: 1.8em;
  color: var(--brand);
  margin-bottom: 10px;
}

.vsCTA {
  background: var(--brand);
  color: var(--text);
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 50px auto;
  max-width: 800px;
}

.vsCTA h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.vsCTA p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 50px;
}

.vsButton {
  background-color: var(--bg);
  color: var(--brand);
  padding: 12px 24px;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.vsButton:hover {
  background-color: var(--brand-hover);
  color: var(--text);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

@media (max-width: 768px) {
  .vsSection { 
    flex-direction: column; 
    text-align: center; 
    gap: 20px; 
    padding: 40px 16px; 
  }

  .vsText { 
    max-width: 680px; 
  }

  .vsText h1 { 
    font-size: 28px; 
    line-height: 1.3; 
  }

  .vsText p { 
    font-size: 16px; 
    max-width: 680px; 
    margin: 0 auto; 
  }

  .vsImage { 
    max-width: 80%; 
    margin: 0 auto; 
    display: block; 
  }

  .vsFeatures { 
    padding: 40px 16px; 
  }

  .vsFeatures h2 { 
    font-size: 32px;
    line-height: 1.3;
  }

  .vsGrid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin-top: 20px; 
  }

  .featuresContainer { 
    background: var(--bg5); 
    padding: 20px; 
    border-radius: 8px; 
    text-align: center; 
  }

  .featuresContainer h3 { 
    font-size: 18px; 
    margin-bottom: 8px; 
  }

  .featuresContainer p { 
    font-size: 15px; 
  }

  .vsCTA { 
    padding: 36px 16px; 
    text-align: center; 
    margin: 32px auto; 
  }

  .vsCTA h2 { 
    font-size: 24px; 
  }

  .vsCTA p { 
    font-size: 16px; 
    margin-bottom: 12px; 
  }

  .vsButton { 
    display: inline-block; 
    margin: 0 auto; 
  }
}

@media (max-width: 480px) {
  .vsText h1 { 
    font-size: 22px; 
  }

  .vsText p { 
    font-size: 14.5px; 
  }

  .vsImage { 
    max-width: 90%; 
  }

  .vsGrid { 
    grid-template-columns: 1fr; 
    gap: 14px; 
    padding: 24px 12px; 
  }

  .featuresContainer { 
    padding: 16px; 
  }

  .featuresContainer h3 { 
    font-size: 17px; 
  }

  .featuresContainer p { 
    font-size: 14px; 
  }

  .vsFeatures h2 { 
    font-size: 22px; 
    line-height: 1.3; 
  }

  .vsCTA h2 { 
    font-size: 20px; 
  }

  .vsCTA p { 
    font-size: 14.5px; 
  }

  .vsButton { 
    width: 100%; 
    max-width: 280px; 
    padding: 10px 14px; 
    font-size: 15px; 
  }
}
/*Veranstaltungssicherheit ende*/

/* Impressum start*/

.impressumSection {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--bg5);
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--brand);
}

.impressumSection h1 {
    text-align: center;
    font-size: 2.5em;
    color: var(--brand);
    margin-bottom: 20px;
}

.impressumContent {
    font-size: 1.1em;
    line-height: 1.8;
}

.impressumContent p {
    margin-bottom: 20px;
}

.impressumContent a {
    color: var(--brand);
    text-decoration: underline;
}

.impressumContent a:hover {
    color: var(--brand-hover);
    text-decoration: none;
}

@media (max-width: 768px) {
  .impressumContent strong { 
    display: block; 
    margin-bottom: 4px; 
  }
}

@media (max-width: 480px) {
  .impressumContent strong {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* Impressum ende*/

/* Datenschutz start */

.datenschutzSection {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--bg5);
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--brand);
}

.datenschutzSection h1 {
    text-align: center;
    font-size: 2.5em;
    color: var(--brand);
    margin-bottom: 20px;
}

.datenschutzContent {
    font-size: 1.1em;
    line-height: 1.8;
}

.datenschutzContent h2 {
    font-size: 1.8em;
    color: var(--brand);
    margin-bottom: 15px;
    margin-top: 30px;
}

.datenschutzContent h3 {
    font-size: 1.4em;
    color: var(brand);
    margin-bottom: 10px;
}

.datenschutzContent p {
    margin-bottom: 20px;
}

.datenschutzContent a {
    color: var(brand);
    text-decoration: underline;
}

.datenschutzContent a:hover {
    color: var(--brand-hover);
    text-decoration: none;
}

@media (max-width: 768px) {
  .datenschutzSection {
    margin: 28px auto;
    padding: 22px;
  }

  .datenschutzSection h1 {
    font-size: 28px;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 16px;
  }

  .datenschutzContent {
    font-size: 16px;
    line-height: 1.7;
  }

  .datenschutzContent h2 {
    font-size: 22px;
    margin: 20px 0 10px;
  }

  .datenschutzContent h3 {
    font-size: 18px;
    margin: 16px 0 8px;
  }

  .datenschutzContent a {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .datenschutzContent ul,
  .datenschutzContent ol {
    padding-left: 20px;
    line-height: 1.6;
    margin: 8px 0 14px;
  }

  .datenschutzContent,
  .datenschutzContent p,
  .datenschutzContent li {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

@media (max-width: 480px) {
  .datenschutzSection {
    margin: 20px 12px;
    padding: 18px;
    border-radius: 8px;
  }

  .datenschutzSection h1 {
    font-size: 34px !important;
    margin-bottom: 12px;
  }

  .datenschutzContent {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .datenschutzContent h2 {
    font-size: 20px;
    margin: 16px 0 8px;
    line-height: 1.3;
  }

  .datenschutzContent h3 {
    font-size: 16px;
    margin: 12px 0 6px;
    line-height: 1.35;
  }

  .datenschutzContent p {
    margin-bottom: 12px;
  }

  .datenschutzContent ul,
  .datenschutzContent ol {
    font-size: 14.5px;
    padding-left: 18px;
  }
}

/* Datenschutz ende */