:root {
  --blue-dark: #294966;
  --lightblue: #4176a4;
  --gold: #cea75a;
  --goldverlauf: linear-gradient(90deg,rgba(159, 131, 71, 1) 0%, rgba(247, 203, 107, 1) 50%, rgba(159, 131, 71, 1) 100%);
  --white: #ffffff;
  --black: #000000;
  --lightgrey: #f4f4f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Boxed Model Container */
body {

  font-family: 'Roboto', sans-serif;
  color: var(--black);
  font-size: 28px;
  justify-content: center;
  background-color: var(--white); /* Hintergrund außerhalb der Box */
}

a {
  text-decoration: none;
  
}

.main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px; /* optionaler Abstand links/rechts */
}

.container {
  margin: 0 auto;
  text-align: center;
  padding: 80px 130px;
}

strong {
  color: var(--blue-dark);	
}

/*============= COOKIES ============*/
/* Cookie Banner */
/* COOKIE BANNER - FIX FUNCTIONAL */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 340px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 6px 40px rgba(0,0,0,0.12);
  border-radius: 12px;
  display: none;
  z-index: 9999;
  font-size: 15px;
}
.cookie-consent.visible {
  display: block;
}
.cookie-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.cookie-btn.accept {
  background: var(--gold);
  color: white;
}
.cookie-btn.decline {
  background: var(--blue-dark);
  color: var(--white);
}

.trustindex-target {
    min-height: 200px; 
}








/* === TOPBAR === */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--blue-dark);
  z-index: 1000;
}

.topbar .container {

  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
}


.logo {
  height: 50px;
  vertical-align: middle;
}


/* Menü */

.nav-container {
  max-width: 100%;
  margin: auto;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
}

.arrow-icon {
  margin-left: 5px;
  vertical-align: middle;
}

/* Dropdown Grundstruktur */
.topbar .nav-links .dropdown {
  position: relative;
}

.topbar .nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--blue-dark); /* Gleiches Blau wie Menü */
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 220px;
  z-index: 999;
  border-radius: 0 0 4px 4px;
}

.topbar .nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.topbar .nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

.topbar .nav-links .dropdown-menu li a:hover {
  background-color: var(--lightblue);
}

/* === ZWEIFARBIGE TRENNLEISTE === */
.header-divider {
  display: flex;
  height: 8px;
}

.header-divider .gold {
  width: 120px;
  background: var(--accent);
}

.header-divider .lightblue {
  flex-grow: 1;
  background: var(--lightblue);
}

/* === 	 SECTION === */



.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--blue-dark);
  align-items: center;
  padding: 75px 0;
  height: 750px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}



.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 600px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 0 0 150px; 
}




.hero-content {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
  position: relative;
  z-index: 2;
}


.hero-text {
  width: 595px;
  height: 546px;
  padding: 80px 0 40px 0;
}


.hero-text h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 130%;
  margin-bottom: 30px;
}

.hero-text p {
  color: var(--white);
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 30px;
}



.hero-slider {
  position: relative;
  width: 100%;              /* volle Bildschirmbreite */
  height: 135%;
  margin-right: calc(-50vw + 24%); /* zieht den rechten Rand bis ganz an den Bildschirmrand */
  overflow: hidden;
}


.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide:first-child {
  opacity: 1;
}

.btn {
  background: var(--accent);
  color: white;
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.3s ease;
}


.btn:hover {
  background: #c49c30;
}



.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 20px;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  width: 218px;
  height: 56px;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.btn-primary-leistungen {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 20px;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  width: 218px;
  height: 56px;
  transition: width 0.3s ease;
  display: none;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.btn-text {
  flex: 1;
  text-align: left;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  min-width: 16px;
  text-align: right;
}

.btn-primary:hover {
  width: 234px;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(6px);
}


.hero-image {
  flex: 3;
  position: relative;
  height: 135%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* nur Bild ohne Text = HERO2*/
.hero2 {
  position: relative;
  background-color: var(--blue-dark);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
  overflow: hidden; /* wichtig, damit das Bild nicht über den Bereich hinausragt */
  height: 600px; /* fixe Höhe für Desktop, kann angepasst werden */
  
}

.hero2-image {
  width: 100%;
  height: 100%;
  position: relative;
  
}

.hero2-image img {
  width: 100%; 
  height: 135%;
  object-fit: cover;        /* Bild wird gecroppt statt verzerrt */
  object-position: center;  /* exakt mittig-mittig zentriert */
  display: block;
}
 
.hero2-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
} 
 
	
/* wie HERO nur auf der Über Uns Seite = HERO3*/
.hero3 {
  position: relative;
  overflow: hidden;
  background-color: var(--blue-dark);
  align-items: center;
  padding: 100px 0;
  height: 750px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}

.hero3-image {
  flex: 3;
  position: relative;
  height: 125%;
  margin-right: calc(-50vw + 55%); /* zieht den rechten Rand bis ganz an den Bildschirmrand */
}

.hero3-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero3-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 600px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 0 0 150px; 
}

.center-element {
  display: flex;
  justify-content: center;
} 

.blue {
  background-color: var(--blue-dark);
}


/* SCROLL PROGRESS BAR */
.scroll-wrapper {
  position: fixed;
  top: 64px; /* direkt unter Topbar */
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--lightblue); /* Hellblau: kompletter Balken */
  z-index: 998;
}



.scroll-progress-bar {
  height: 6px;
  width: 100%;
  background: var(--lightblue);
}


/* Fixierte Trennlinie */
.header-divider {
  position: fixed;
  top: 64px; /* Höhe des Topbars */
  left: 0;
  width: 100%;
  display: flex;
  height: 8px;
  z-index: 999;
}

/* Fixierte Scrollleiste */
.scroll-progress {
  position: fixed;
  top: 72px; /* direkt unter der Trennlinie */
  left: 0;
  height: 6px;
  background: var(--gold-gradient);
  width: 0%;
  z-index: 998;
  transition: width 0.1s ease-out;
}

/* TOPBAR CONTAINER: Inhalte nach rechts */
.topbar .container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo links, Menü rechts */
}


/*ABOUT */

.about-section {
  text-align: center;
}

.about-section .container {
  padding-bottom: 0px;
}

.about-section strong {
  color: var(--blue-dark);
}


.about-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 30px;
}

.about-title::after {
    content: "";
    width: 150px;
    height: 5px;
    background-color: var(--gold);
    display: block;

    margin: 10px auto 0 auto;  /* Abstand nach oben, zentriert */
    border-radius: 3px;
  }

.about-title .underline {
  border-bottom: 5px solid var(--gold);
  padding-bottom: 5px;
}

.about-subline {
  margin-bottom: 30px;
}

.about-subline strong {
  font-weight: bold;
  color: var(--blue-dark);
}

.about-section p {
  line-height: 130%;
  margin-bottom: 30px;
}

.about-section .btn-primary {
  align-content: center;
}

.about-quote {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  font-size: 24px;
  font-weight: 400;
  color: var(--blue-dark);
}

.quote-bar {
  width: 5px;
  height: 30px;
  background-color: var(--blue-dark);
  margin-right: 15px;
}

.quote-text {
  text-align: left;
}

/*NIXON Zitat */

.nixon-mobile-block {  /*Mobile Version am Desktop weg*/
    display: none;
  }
  
.nixon-section {
  position: relative;
  overflow: visible; /* Wichtig */
  color: var(--blue-dark);
}

.nixon-section-mobile {
  display: none;
}

.nixon-image-outer {
  position: absolute;
  left: 15%;
  z-index: 2;
  transform: translateY(21.8%); /* statt +20%, zieh das Bild nach OBEN */
}

.nixon-image-outer img {
  width: 600px;
  max-width: 100%;
}

.nixon-wrapper {
  background-color: var(--lightgrey);
  clip-path: polygon(0 38%, 100% 0, 100% 62%, 0 100%);
  padding: 11rem 2rem 5rem 2rem;
  position: relative;
  z-index: 1;
  min-height: 600px;
}


.nixon-content {
  margin-left: 50%;
  max-width: 30%;
  position: relative;
  z-index: 1;
}

.nixon-mark {
  font-size: 9rem;
  font-family: Andale Mono, sans-serif;
  color: #d1d1d1;
  font-family: serif;
  position: absolute;
}

.nixon-open {
  top: -65px;
  left: 140px;
}

.nixon-close {
  bottom: -90px;
  right: 65px;
}

.nixon-text {
  font-size: 32px;
  font-weight: 500;
  line-height: 32px;
  margin: 0;
  z-index: 1;
  position: relative;
  text-align: center;
  font-family: 'Roboto Flex', sans-serif;
}

.nixon-quelle {
  font-size: 20px;
  line-height: 32px;
  margin: 0;
  z-index: 1;
  position: relative;
  text-align: center;
}

.nixon-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  background-color: #d0a843;
  color: #1c355e;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.nixon-button:hover {
  background-color: #c29735;
}


/*WIR */

.wir-section {
  padding: 100px 20px;
  background-color: #fff;
  color: #1c355e;
  text-align: center;
}



.wir-section p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 20px;
}


/* ========== LEISTUNGEN ÜBERBLICK ===========*/
.services-overview {
  text-align: center;
  align-content: center;
  padding: 80px 130px; 
}

.services-cards {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  will-change: transform;
  padding-top: 80px;
}

.service-card {
  width: 320px; /* fixe Breite */
  background-color: #f6f7f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 16px); /* 3 Karten pro Seite */
  box-sizing: border-box;
  justify-content: space-between; /* für gleichmäßige Höhe */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 200px; /* feste Höhe */
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: block;
}

.service-card-content {
  flex: 1; /* nimmt den verfügbaren Raum ein */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.service-card-content > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--blue-dark);
  padding: 24px 16px;
  min-height: 48px; /* gleiche Höhe für Titelzeilen */
}

.service-card p {
  flex-grow: 1;
  font-size: 16px;
  color: var(--black);
  padding: 0 16px 24px 16px;
  min-height: 96px; /* sorgt für gleiche Textzone-Höhe */
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0 16px 24px 16px;
}

.service-link:hover {
  color: #d4af37;
}

.service-link::after {
  content: "→";
  color: #d4af37;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* Navigation Pfeile */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* verhindert Überlappungen */
  padding: 0 60px; /* Platz für die Buttons rechts/links */
}

/* Bereich, in dem Karten scrollen */
.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1100px; /* optional, damit es schön mittig bleibt */
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #1f2f4b;
  border: none;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.carousel-nav:hover {
  background: #f6f7f8;
  color: #d4af37;
  transform: translateY(-50%) scale(1.05);
}

/* Pfeile näher an die Karten statt Bildschirmrand */
.carousel-nav.left {
  left: 10px;
}


.carousel-nav.right {
  right: 10px;
}

/* --- Punkte --- */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--blue-dark);
}



/*ZAHLEN FAKTEN */
.zahlen-section {
  background-color: var(--blue-dark);
  text-align: center;
}

.zahlen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
  
}

.zahlen-card {
  background-color: var(--lightblue);
  color: white;
  padding: 30px 20px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 220px;
}

.zahlen-section .about-title{
  color: var(--white);
}

.icon-users {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Optional FontAwesome Icon */
.icon-users::before {
  content: "\f0c0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Zahl */
.zahl {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.plus {
  font-size: 1.5rem;
  vertical-align: super;
}

/* Label */
.label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1aa3e;
}

/*  KUNDEN  */

.kunden {

}

.kunden .container {
	padding: 80px 80px;
}

.kunden .google {
	padding-bottom: 85px;
}

.kunden-main {
  text-align: center;
}


/*  GEMEINSAM  */

.gemeinsam {
  color: var(--white);
  background: var(--blue-dark);
  
}

.gemeinsam-main {
  text-align: center;
}

.gemeinsam-description,
.gemeinsam-cta {
  line-height: 130%;
  
  font-weight: 400;
  margin-bottom: 30px;
}

.gemeinsam .about-title {
  color: var(--white);
}

.gemeinsam-description strong {
	color: white;
}


/* ====== LEISTUNGEN Haupt ===== */
.leistungen-section {
  text-align: center;
}

.leistungen-section p {
  padding-bottom: 30px;
}

.leistungen-polizei {
  padding: 0 0 80px 0;
}

.leistung-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 150px;
}

.leistung-row.reverse {
  flex-direction: row-reverse;
  padding: 50px 150px;
}

.leistung-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.leistung-row img {
  width: 540px;
  height: 386px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px; /* falls du oben abgerundet hast */
  display: block;
}

/* Option: Wenn Bilder links/rechts stehen und sich das Layout anpasst */
.leistung-row img {
  flex-shrink: 0; /* verhindert, dass das Bild gestaucht wird */
}

.leistung-text {
  flex: 1;
}

.leistung-text h3 {
  font-size: 40px;
  font-weight: 500;
  color: var(--blue-dark);
  margin-bottom: 30px;
}

.leistung-text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 30px;
  color: var(--black);
}

/* Sanfteres Einblenden speziell für Leistungsblöcke */
.leistung-row.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.leistung-row.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*.leistung-hidden {
  display: none;
}*/

.leistung-toggle-btn {
  display: none;
}


/* ====== ERWARTEN ===== */
.erwarten {
  color: var(--white);
  background: var(--blue-dark);
  
}

.erwarten .about-title {
  color: var(--white);
  
}

/* ================ CHARITY ======== */

.charity {
  padding: 0 0 80px 0;
}

/* ================ PARTNER ======== */

.partner {
  padding: 0 0 80px 0;
}


.partner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 150px;
}

.partner-row.reverse {
  flex-direction: row-reverse;
  padding: 50px 150px;
}


.partner-row img {
  width: 540px;

  object-fit: cover;
  object-position: center;
  border-radius: 12px; /* falls du oben abgerundet hast */
  display: block;
}

/* Option: Wenn Bilder links/rechts stehen und sich das Layout anpasst */
.partner-row img {
  flex-shrink: 0; /* verhindert, dass das Bild gestaucht wird */
}

.partner-text {
  flex: 1;
}

.partner-text h3 {
  font-size: 40px;
  font-weight: 500;
  color: var(--blue-dark);
  margin-bottom: 30px;
}

.partner-text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 30px;
  color: var(--black);
}

/* Sanfteres Einblenden speziell für partnersblöcke */
.partner-row.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.partner-row.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  
}


/* ===== Mein WEg */
.mein-weg-section {
  text-align: center;
}


/* ====== INTRO ÜBER UNS ===== */
.intro-section {
  padding: 80px 130px;
}

.intro-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.intro-image img {
  width: 540px;
  height: 386px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-left: 50px;
}

.intro-text {
  max-width: 650px;
  text-align: left;
  padding-left: 60px;
}

.intro-text h2 {
  font-size: 40px;
  color: var(--blue-dark);
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 130%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-text h2 span {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: var(--blue-dark);
}

.badge-icon {
  width: 50px;
  height: auto;
  margin-left: 8px;
}

.intro-text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 30px;
  max-width:550px;
}

.intro-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.intro-links a {
  text-decoration: none;
  font-size:18px;
  line-height: 130%;
  font-weight: 600;
  color: var(--blue-dark);
  transition: color 0.2s ease;
}

.intro-links a:hover {
  color: var(--gold);
}


/* MISSION Über Uns */
.mission-section {
  
  
}

.mission-wrapper {
  padding: 80px 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Linker Textblock */
.mission-textbox {
  background: #f6f7f8;
  padding: 40px 52px;
  border-radius: 15px;
  width: 720px;
  height: 443px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mission-textbox h3 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 130%;
  color: var(--blue-dark);
}

.mission-textbox p {
  font-size: 28px;
  font-weight: 400;
  line-height: 130%;
}

.mission-textbox strong {
  color: var(--blue-dark);
  font-weight: 700;
}

/* Rechter Zitatblock */
.mission-quote {
  width: 350px;
  height: 443px;
  background-image: url("../img/patch_bg.png");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: 100%; /* Resize the background image to cover the entire container */
  position: relative;
  max-width: 400px;
  font-family: "Roboto Flex", "Roboto", sans-serif;
  text-align: center;
  align-items: center;       /* vertikal */
  display:grid;
}

.mission-quote .quote-text {
  text-align: left;
  font-size: 32px;
  line-height: 130%;
  color: var(--blue-dark);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.mission-quote .quote-symbol {
  font-size: 60px;
  line-height: 0;
  color: rgba(0,0,0,0.1);
  position: absolute;
  top: -10px;
  left: -30px;
  font-family: serif;
  z-index: 1;
}


.mission-mark {
  font-size: 9rem;
  color: #d1d1d1;
  font-family: serif;
  position: absolute;
}

.mission-open {
  top: 20px;
  left: 0px;
  z-index: -1;
}

.mission-close {
  bottom: -40px;
  right: 75px;
  z-index: -1;
}



/* ==== VORTEILE ===== */

/* SECTION VORTEILE */
.vorteile-section {
  text-align: center;
}

.vorteile {
  padding: 80px 130px;
}

.vorteile-subtext {
  font-size: 28px;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 30px;
}

.vorteile-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.vorteil-box {
  text-align: center;
  max-width: 260px;
  margin: 0 auto;
}

.vorteil-box img {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
}

.vorteil-box h3 {
  font-size: 32px;
  color: var(--blue-dark);
  margin-bottom: 30px;
  font-weight: 500;
}

.vorteil-box p {
  font-size: 20px;
  line-height: 26px;
  color: var(--black);
}





/* ====== Kontakt ===== */
.kontakt-section {
  text-align: center;
}

.kontakt-section p {

}

.contact-section {
  padding: 0 20px 100px 20px;
  background: #fff;
  color: var(--blue-dark);
}

.kontakt-section .about-subline {
  margin-bottom: 30px;
}



.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: 600;
  font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  padding: 14px 16px;
  border: 1.5px solid #dcdcdc;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  font-family: "Roboto", sans-serif;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  outline: none;
}

textarea {
  resize: vertical;
}

/* Checkboxes */
.checkbox-group {
  /*display: flex;
  flex-wrap: wrap;*/
  gap: 16px;
}

.checkbox-group label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
}


#formFeedback {
  margin-top: 20px;
  text-align: center;
}
.sending {
  color: #666;
  font-style: italic;
}
.success-message {
  background: #e8f9e8;
  color: #1a5d1a;
  padding: 12px;
  border-radius: 6px;
}
.error-message {
  background: #fdeaea;
  color: #9b1c1c;
  padding: 12px;
  border-radius: 6px;
}


#other-wrapper {
  display: none;
  transition: all .3s ease;
}

/* Wrapper für Checkboxen */
.check-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0;
    position: relative;
    font-size: 16px;
    color: var(--blue-dark);
}

/* Deaktivierte Checkboxen grau */
.check-wrapper.disabled {
    opacity: 0.5;
    /*cursor: not-allowed;*/
}

.check-wrapper.disabled input {
    pointer-events: none;
}




/* --- Fixer Hinweis-Kasten neben den Checkboxen --- */

/* Flex-Container */
.orga-flex {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 10px;
}

/* Checkboxen normal */
.checkbox-group .check-wrapper {
    display: block;
    margin-bottom: 6px;
}

/* Info-Box fix rechts */
.form-info-box {
    background: var(--blue-dark);
    color: white;
    padding: 18px 22px;
    border-radius: 8px;
    width: 260px;
    font-size: 15px;
    line-height: 1.35;
    position: relative;
	top: 15px;
}

/* Pfeil links */
.fib-arrow {
    position: absolute;
    left: -12px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--blue-dark);
}

/* MOBILE VERSION */
@media (max-width: 768px) {
    .orga-flex {
        flex-direction: column;
        gap: 15px;
    }

    .form-info-box {
        width: 100%;
		top: 0;
    }
	
	.form-info-box p {
        font-size: 16px;
		margin-bottom: 0px;
    }

    .fib-arrow {
        left: 20px;
        top: -12px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 12px solid var(--blue-dark);
        border-top: none;
    }
}





.tooltip-box {
    position: absolute;
    background: #2d4b6b;
    color: white;
    padding: 15px 18px;
    border-radius: 8px;
    font-size: 15px;
    width: 280px;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Sichtbar */
.tooltip-box.show {
    display: block !important;
}

/* Pfeil oben */
.tooltip-box::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 12px 10px;
    border-style: solid;
    border-color: transparent transparent #2d4b6b transparent;
}


/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Deaktivierte Optionen */
.option.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    position: relative;
}

/* Info Icon */
.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background: #1c355e; /* Heroshield Dunkelblau */
    color: white;
    font-size: 12px;
    cursor: pointer;
    position: relative;
}

/* Tooltip */
.tooltip {
    position: absolute;
    top: 28px; /* unter dem Icon */
    left: 0;
    width: 270px;
    background: #1c355e;   /* Heroshield Blau */
    color: white;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    display: none;
    z-index: 999;
}

/* Pfeil */
.tooltip::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 24px; /* wird dynamisch per JS korrigiert */
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #1c355e transparent;
}


/* === IMPRESSUM / DATENSCHUTZ ==== */
.impressum-section {
  text-align: left;

}

.impressum-section ul {
  margin-bottom: 30px;
  font-size: 14px;
  text-align: left;
  padding-left: 30px;
}

.impressum-section p {
  margin-bottom: 30px;
  font-size: 14px;
  text-align: left;
}

.impressum-section h3 {
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.impressum-section h4 {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}


.impressum-section .about-title {

}


/* ================ FOOTER ======== */

.footer-new {
  background: linear-gradient(to bottom, var(--blue-dark) 50%, var(--black) 100%);
  color: white;
  padding: 50px 0;
}

.footer-new a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-new a:hover {
  color: var(--gold);
}

/* Top block: Copyright etc. */
.footer-layout-top {
  margin-bottom: 40px;
}

/* Bottom row: links in einer Zeile verteilt */
.footer-layout-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 500;
  font-size: 18px;

}

.footer-left {
  font-weight: 400;
  font-size: 16px;	
}

.footer-social,
.footer-legal {
  display: flex;
  gap: 16px;
}





/*ANIMATIONEN*/

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Mobile Menü*/
.menu-toggle {
  display: none; /* nur mobil anzeigen */
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1100;
}

.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.menu-toggle .hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle .hamburger::before {
  /*top: -10px;*/ 
}

.menu-toggle .hamburger::after {
  bottom: -10px;
}

.nav-menu {
  transition: max-height 0.3s ease;
  line-height: 50px;
}

.nav‑menu.collapsed {
  max-height: 0;
  overflow: hidden;
}




/* Floating Buttons */
.floating-buttons {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.floating-buttons.visible {
  opacity: 1;
  visibility: visible;
}

.floating-button {
  background-color: var(--gold);
  color: white;
  border: none;
  padding: 16px 16px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.floating-button:hover {
  background-color: #c29735;
}

/* ============================
   MOBILES MENÜ
   ============================ */
   
/* =========================================
   MOBILE BURGER MENÜ
   ========================================= */

.menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 28px;
  height: 3px;
  background: white;
  display: block;
  transition: 0.35s ease;
  border-radius: 3px;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* X-Animation */
.menu-toggle.open .hamburger {
  background: transparent;
}

.menu-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* =========================================
   MOBILE MENU PANEL
   ========================================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100vh;
  background: var(--blue-dark);
  padding: 100px 30px;
  transition: 0.35s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin-bottom: 26px;
}

.mobile-menu a {
  color: white;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s;
  z-index: 1500;
}

/* Offen */
.mobile-menu.open {
  right: 0;
}
.menu-overlay.show {
  opacity: 1;
  pointer-events: all;
}


/* =========================================
   RESPONSIVE
   ========================================= */


/* ============================
   MOBILE HERO (PDF VERSION)
   ============================ */
@media (max-width: 1200px) {

  * {
  /*outline: 1px solid red;*/
}

  body {
	padding: 0;
	margin: 0;
	overflow-x: hidden;
  }
  
  .desktop-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }


  .container {
	padding: 0;
  }
  
  .topbar .main-container {
    max-width: 0;
	margin: 0;
  }
  
  .nav-container {
    max-width: 0;
	margin: 0;
	padding: 1rem 0;
  }
  
  .logo {
    height: 35px;
  }
  
  p {
    font-size: 20px;
    margin-bottom: 30px;
  }


.cookie-consent {
    bottom: 10px;
    right: 10px;
  }

  .cookie-box {
    padding: 14px 18px;
  }
  
  .cookie-box p {
	font-size: 15px;
  }

  .cookie-buttons {
    justify-content: space-between;
  }
  
  /* Bottom row: links in einer Zeile verteilt */
	.footer-layout-links {
	  font-weight: 500;
	  font-size: 18px;

	}

	.footer-left {
	  font-weight: 400;
	  font-size: 16px;	
	}

	.footer-social,
	.footer-legal {
	  font-weight: 500;
	  font-size: 18px;	
	}


  /* Hero: gesamte Desktop-Form entfernen */
  .hero {
    padding: 0;
    height: auto;
    clip-path: none;
    background: var(--blue-dark);
  }

  .hero-inner {
    flex-direction: column;
    padding: 0;
    height: auto; 
    gap: 20px;
  }

  /* Bild oben vollbreit */
  .hero-slider {
    height: 390px;
    margin: 74px 0 0 0;
	padding: 0;
	order: 1;
  }

  .hero-slide img {
    object-position: center;
  }

  /* Textblock unter dem Bild */
  .hero-text {
    width: 100%;
    height: auto;
    padding: 20px 20px 40px 20px;
    text-align: center;
	order: 2;
  }

  .hero-text h1 {
    font-size: 26px;
    line-height: 130%;
    margin-bottom: 20px;
  }
  
  .hero2 {
	padding: 0 0;
    height: auto;
    clip-path: none;
    background: var(--blue-dark);
	margin-bottom: 30px;
	}

	.hero2-image {
	  width: 100%;
	  height: 390px;
	  margin: 74px 0 0 0;
	  padding: 0;
	  overflow: hidden;
	}

	.hero2-image img {
	  object-fit: cover;        /* Bild wird gecroppt statt verzerrt */
	  object-position: center;  /* exakt mittig-mittig zentriert */
	}



  /* Button */
  .btn-primary {
    width: 180px;
    height: 48px;
    /*padding: 14px;*/
    font-size: 16px;
    margin: 0 auto;
  }
  
  .btn-primary-leistungen {
    width: 180px;
    height: 48px;
    padding: 14px;
    font-size: 16px;
    margin: 0 auto;
	display: flex;
  }



/* ====================================
   MOBILE: ABOUT SECTION (PDF VERSION)
======================================*/


  .about-section {
    padding: 40px 0 20px;
  }

  .about-section .main-container {
    padding: 0 20px;
  }

  .about-title {
    text-align: center;
    font-size: 28px;
    line-height: 130%;
    margin-bottom: 30px;
  }

  .about-title .underline {
    font-size: 28px;
  }
  

  /* Goldener Balken */
  .about-title::after {
    content: "";
    width: 91px;
    height: 5px;
    background-color: var(--gold);
    display: block;

    margin: 10px auto 0 auto;  /* Abstand nach oben, zentriert */
    border-radius: 3px;
  }

  /* Das alte span-underline deaktivieren */
  .about-title .underline {
    border: none !important;
  }


  /* Button zentriert, kompakt */
  .about-section .center-element {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .about-section .btn-primary {
    width: 180px;
    height: 48px;
    /*padding: 12px;*/
    font-size: 16px;
  }



/* ================================
   MOBILE NIXON BLOCK – PDF STYLE
=================================*/

/* ============================================
   NIXON MOBILE (unter 1200px)
   Desktop bleibt unverändert 
============================================ */


    /* Desktop Nixon komplett ausblenden */
    .nixon-section {
    display: none !important; /* Desktop Version weg */
  } 

  .nixon-mobile-block {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 250px 20px 40px 20px;
  }

  .nixon-mobile-wrapper {
    max-width: 480px;
    position: relative;
  }

  /* PERSON */
  .nixon-mobile-person {
    width: 300px;
    position: absolute;
    bottom: 0px;          /* Person ragt nach oben raus */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
  }

  /* BADGE oben rechts */
  .nixon-mobile-badge {
    width: 100px;
    position: absolute;
    top: -100px;
    right: 5%;
    z-index: 3;
    pointer-events: none;
  }

  /* GRAUE BOX */
  .nixon-mobile-quote {
    background: var(--lightgrey);
    padding: 20px 20px; 
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
  }

  .quote-text {
    color: var(--blue-dark);
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    margin: 10px 0 15px;
	text-align: center;
	font-family: 'Roboto Flex', sans-serif;
  }

  .quote-source {
    font-size: 14px;
    font-weight: 400;
	font-family: 'Roboto', sans-serif;
    margin-top: 5px;
  }

  .quote-mark {
    font-size: 28px;
    color: rgba(0,0,0,0.25);
    user-select: none;
  }

  .quote-mark.left {
    display: inherit;
    text-align: left;
	font-size: 100px;
	z-index: 4;
	position: absolute;
	top: -10px;
  }

  .quote-mark.right {
    display: inherit;
    text-align: right;
	font-size: 100px;
	z-index: 4;
	position: absolute;
	right: 20px;
	bottom: 0px;
  }



/* ============================================
   MOBILE: LEISTUNGEN / CAROUSEL (PDF VERSION)
   ============================================ */


  /* Gesamtblock */
  .services-overview {
    padding: 0 0 40px 0;
  }

  .services-intro {
    font-size: 20px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.45;
  }

  /* Wrapper für Slider */
  .carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
  }

  /* Slider-Track */
  .carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
  }

  /* Jede Karte bekommt volle Breite → 1 Karte je Slide */
  .services-cards {
    display: flex;
    transition: transform 0.3s ease-in-out;
	padding-top: 0;
	gap: 24px;
  }

  .service-card {
    min-width: 25%;                 /* Breite wie im PDF – schön zentriert */
    max-width: 33%;                 /* Breite wie im PDF – schön zentriert */
    margin: 0 auto;             /* zentrieren */
    
    border-radius: 14px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  }

  /* Service Bild */
  .service-card img {
    width: 100%;
    height: 143px;
    display: block;
  }

  /* Textbox */
  .service-card-content {
    padding: 16px;
  }

  .service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
    text-align: left;
	padding: 0;
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
    color: #333;
	padding: 0;
  }

  /* "Mehr erfahren" Button */
  .service-link {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
	padding: 0;
  }

  .carousel-wrapper {
    padding: 0 50px;
  }


  /* Pfeile mobil kleiner & weiter außen */
  .carousel-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #294966;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  .carousel-nav.left {
    left: 0;
  }

  .carousel-nav.right {
    right: 0;
  }

  /* Dots */
  .carousel-dots {
    margin-top: 18px;
    text-align: center;
	gap: 7px;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  .carousel-nav:hover {
	color: var(--blue-dark);
  }



/* =======================================
   MOBILE: Zahlen, Kunden, Gemeinsam, Footer
   ======================================= */



  /* ---------- ZAHLEN-BLOCK ---------- */
  .zahlen-section .container {
    padding: 60px 0 70px;
  }


  .zahlen-grid {

    gap: 14px;
  }

  .zahlen-card {
    max-width: 180px;
    padding: 20px 14px;
  }

  .zahl {
    font-size: 1.8rem;
  }

  .label {
    font-size: 0.8rem;
  }


  /* ---------- KUNDEN / TRUSTINDEX ---------- */
  .kunden .container {
    padding: 60px 0 40px;
  }



  .kunden .google {
    padding-bottom: 40px;
  }

  .kunden #trustindex-widget {
    max-width: 100%;
  }

  .kunden p img {
    max-width: 160px;
    height: auto;
  }

  /* ---------- GEMEINSAM-BLOCK ---------- */
  .gemeinsam .container {
    padding: 60px 0 80px;
  }

  .gemeinsam-description,
  .gemeinsam-cta {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  
  .contact-section {
    padding: 0 20px 20px 20px;
  }
  
    .partner {
    padding: 20px 0 60px 0;
  }

  .partner-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px !important; /* links/rechts 20px */
  }

  /* Bild & Text nebeneinander, aber flexibler */
  .partner-image,
  .partner-text {
    width: 50%;
  }

  /* Bild an Tablet-Breite angepasst */
  .partner-row img {
    width: 100%;
    max-width: 380px;      /* perfekte Tablet-Größe */
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
  }

  /* Text */
  .partner-text {
    text-align: left;
    padding-right: 10px;
  }

  .partner-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .partner-text p {
    font-size: 17px;
    line-height: 145%;
    margin-bottom: 20px;
  }

  /* Button in Tablet rechtsbündig */
  .partner-text .btn-primary {
    display: inline-flex;
  }
  
  
  /* ======================================
   MOBILE LEISTUNGEN – Akkordeon Version
====================================== */

  .leistungen-section .container {
    margin-bottom: 30px;
  }
  
  .leistungen-polizei {
    padding: 0 0;
  }
  
  .leistung-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px !important; /* links/rechts 20px */
  }

  /* Bild & Text nebeneinander, aber flexibler */
  .leistung-image,
  .leistung-text {
    width: 50%;
  }
  
  .leistung-image img {
    width: 100%;
    max-width: 380px;      /* perfekte Tablet-Größe */
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
  }
  
  .leistung-text {
    width: 100%;
    text-align: left;

	margin-bottom: 30px;
  }

  .leistung-text h3 {
    font-size: 26px;
    margin-bottom: 15px;
	text-align: center;
  }


  /* Versteckter Bereich */
  .leistung-hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  /* Wenn aktiv */
  .leistung-hidden.active {
    max-height: 2000px; /* ausreichend hoch */
    opacity: 1;
    margin-top: 10px;
  }

  .leistung-hidden p {
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 20px;
  }

  .leistung-text .btn-primary {
	display: none;
  }
  
  .mein-weg-section {
	padding-top: 40px;
  }
  
  
  .vorteile {
	padding: 0 20px;
  }
  
  .vorteile-subtext {
	font-size: 20px;
	margin-bottom: 30px;
  }
  
  .erwarten {
	padding-top: 40px;
  }
  
  .mission-wrapper {
	padding: 0 20px;
	text-align: center;
  }
  
  .mission-textbox {
	order: 1;
	width: 100%;
	height: 100%;
	padding: 20px;
	text-align: center;
  }
  
  .mission-textbox p {
	font-size: 20px;
	margin-bottom: 30px;
  }
  
  .mission-quote {
	order: 2;
	text-align: center;
	max-width: 100%;
	width: 450px;
	margin: auto;
  }
  
  .mission-quote .quote-text {
	text-align: center;
	font-size: 24px;
  }
  
 

}



@media (max-width: 932px) {

  * {
  /*outline: 1px solid red;*/
}

  body {
	padding: 0;
	margin: 0;
	overflow-x: hidden;
  }
  
  .container {
	padding: 0;
  }
  
  .topbar .main-container {
    max-width: 0;
	margin: 0;
  }
  
  .nav-container {
    max-width: 0;
	margin: 0;
	padding: 1rem 0;
  }
  
  .logo {
    height: 35px;
  }
  
  p {
    font-size: 20px;
    margin-bottom: 30px;
  }

.vorteile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .hero2 {
	padding:  0;
	margin-top: 0;
    height: auto;
    clip-path: none;
    background: var(--blue-dark);
	margin-bottom: 30px;
	}

	.hero2-image {
	  width: 100%;
	  height: 390px;
	  margin: 74px 0 0 0;
	  padding: 0;
	  overflow: hidden;
	}

	.hero2-image img {
	  object-fit: cover;        /* Bild wird gecroppt statt verzerrt */
	  object-position: center;  /* exakt mittig-mittig zentriert */
	}




/* ================================
   MOBILE NIXON BLOCK – PDF STYLE
=================================*/


  .nixon-section {
	  display: none !important;
	}
  
  .nixon-section-mobile {
    width: 100%;
    margin: 50px 0;
    overflow: hidden;
	display: block;
  }  

  /* ===== SCHRÄGER GRAUBLOCK ===== */
  .nixon-angled-area {
    position: relative;
    width: 100%;
    background: #f3f3f3;
    padding: 0 0 30px 0;   /* Abstand fürs Bild */
    overflow: hidden;
  }

  /* OBERE SCHRÄGE */
  .nixon-angled-area::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 110px;
    background: var(--white);
    transform: skewY(-10deg);
    transform-origin: top left;
  }

  /* UNTERE SCHRÄGE */
  .nixon-angled-area::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-10deg);
    transform-origin: bottom left;
  }

  /* ===== BILD ===== */
  .nixon-mobile-img {
    width: 80%;
    max-width: 350px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 5;

    /* leichte Überlappung wie im PDF */
    margin-top: 0px;
    margin-bottom: -15px;
  }

  /* ===== WEISSER ZITATBLOCK ===== */
  .nixon-quote-box {
    width: 100%;
    margin: 0 auto;
    margin-top: -10px;     /* sauber unter Schräge */
    padding: 30px 20px 0 20px;
    text-align: center;

    position: relative;
    z-index: 10;
  }

  .nixon-quote {
    font-family: Andale Mono, sans-serif;
	font-size: 120px;
	font-weight: 400;
    color: #d1d1d1;
    line-height: 144px;
	position: absolute;
	z-index: -10;
  }
  

	.nixon-open {
	  top: 0;
	  left: 90px;
	}

	.nixon-close {
	  bottom: -70px;
	  right: 30px;
	}

  .nixon-quote-text {
    font-family: 'Roboto Flex', sans-serif;
	font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    margin: 8px 0;
    color: var(--blue-dark);
  }

  .nixon-quote-user {
    margin-top: 10px;
    font-size: 14px;
	color: var(--blue-dark);
  }





/* =======================================
   MOBILE: Zahlen, Kunden, Gemeinsam, Footer
   ======================================= */




  /* ---------- KUNDEN / TRUSTINDEX ---------- */
  .kunden .container {
    padding: 60px 0 40px;
  }



  .kunden .google {
    padding-bottom: 40px;
  }

  .kunden #trustindex-widget {
    max-width: 100%;
  }

  .kunden p img {
    max-width: 160px;
    height: auto;
  }
  
  



}


/* ============================
   MOBILE HERO (PDF VERSION)
   ============================ */
@media (max-width: 768px) {

.hero2 {
	padding: 0 0;
    height: auto;
    clip-path: none;
    background: var(--blue-dark);
	margin-bottom: 30px;
	}

	.hero2-image {
	  width: 100%;
	  margin: 74px 0 0 0;
	  padding: 0;
	}

	.hero2-image img {
	  object-fit: cover;        /* Bild wird gecroppt statt verzerrt */
	  object-position: center;  /* exakt mittig-mittig zentriert */
	}
 
/* ================================
   MOBILE NIXON BLOCK – PDF STYLE
=================================*/


  .nixon-section {
	  display: none !important;
	}
  
  .nixon-section-mobile {
    width: 100%;
    margin: 50px 0;
    overflow: hidden;
	display: block;
  }  

  /* ===== SCHRÄGER GRAUBLOCK ===== */
  .nixon-angled-area {
    position: relative;
    width: 100%;
    background: #f3f3f3;
    padding: 0 0 30px 0;   /* Abstand fürs Bild */
    overflow: hidden;
  }

  /* OBERE SCHRÄGE */
  .nixon-angled-area::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 110px;
    background: var(--white);
    transform: skewY(-10deg);
    transform-origin: top left;
  }

  /* UNTERE SCHRÄGE */
  .nixon-angled-area::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-10deg);
    transform-origin: bottom left;
  }

  /* ===== BILD ===== */
  .nixon-mobile-img {
    width: 80%;
    max-width: 350px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 5;

    /* leichte Überlappung wie im PDF */
    margin-top: 0px;
    margin-bottom: -15px;
  }

  /* ===== WEISSER ZITATBLOCK ===== */
  .nixon-quote-box {
    width: 100%;
    margin: 0 auto;
    margin-top: -10px;     /* sauber unter Schräge */
    padding: 30px 20px 0 20px;
    text-align: center;
     
    position: relative;
    z-index: 10;
  }

  .nixon-quote {
    font-family: Andale Mono, sans-serif;
	font-size: 120px;
	font-weight: 400;
    color: #d1d1d1;
    line-height: 144px;
	position: absolute;
	z-index: -10;
  }
  

	.nixon-open {
	  top: 0;
	  left: 90px;
	}

	.nixon-close {
	  bottom: -70px;
	  right: 30px;
	}

  .nixon-quote-text {
    font-family: 'Roboto Flex', sans-serif;
	font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    margin: 8px 0;
    color: var(--blue-dark);
  }

  .nixon-quote-user {
    margin-top: 10px;
    font-size: 14px;
	color: var(--blue-dark);
  }





/* ============================================
   MOBILE: LEISTUNGEN / CAROUSEL (PDF VERSION)
   ============================================ */


  /* Gesamtblock */
  .services-overview {
    padding: 0 0 40px 0;
  }

  .services-intro {
    font-size: 20px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.45;
  }

  /* Wrapper für Slider */
  .carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
  }

  /* Slider-Track */
  .carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
  }

  /* Jede Karte bekommt volle Breite → 1 Karte je Slide */
  .services-cards {
    display: flex;
    transition: transform 0.3s ease-in-out;
	padding-top: 0;
	gap: 24px;
  }

  .service-card {
    min-width: 100%;                 /* Breite wie im PDF – schön zentriert */
    max-width: 100%;                 /* Breite wie im PDF – schön zentriert */
    margin: 0 auto;             /* zentrieren */
    
    border-radius: 14px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  }

  /* Service Bild */
  .service-card img {
    width: 100%;
    height: 143px;
    display: block;
  }

  /* Textbox */
  .service-card-content {
    padding: 16px;
  }

  .service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
    text-align: left;
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
    color: #333;
  }

  /* "Mehr erfahren" Button */
  .service-link {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
  }

  .carousel-wrapper {
    padding: 0 50px;
  }


  /* Pfeile mobil kleiner & weiter außen */
  .carousel-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #294966;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  .carousel-nav.left {
    left: 0;
  }

  .carousel-nav.right {
    right: 0;
  }




/* =======================================
   MOBILE: Zahlen, Kunden, Gemeinsam, Footer
   ======================================= */



  /* ---------- ZAHLEN-BLOCK ---------- */
  .zahlen-section .container {
    padding: 60px 0 70px;
  }


  .zahlen-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px;
  }

  .zahlen-card {
    max-width: 180px;
    padding: 20px 14px;
  }

  .zahl {
    font-size: 1.8rem;
  }

  .label {
    font-size: 0.8rem;
  }


  /* ---------- KUNDEN / TRUSTINDEX ---------- */
  .kunden .container {
    padding: 60px 0 40px;
  }



  .kunden .google {
    padding-bottom: 40px;
  }

  .kunden #trustindex-widget {
    max-width: 100%;
  }

  .kunden p img {
    max-width: 160px;
    height: auto;
  }


  /* ---------- FOOTER (neues Layout) ---------- */ 
  .footer-layout-top {
    text-align: center;
    margin-bottom: 24px;
  }

  .footer-layout-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .footer-left {
    text-align: center;
  }

  .footer-social,
  .footer-legal {
    justify-content: center;
  }

.vorteile-grid {
    grid-template-columns: 1fr;
  }
  
    .partner {
    padding: 10px 0 40px 0;
  }

  /* Partner-Row wird gestapelt: Bild oben, Text unten */
  .partner-row {
    flex-direction: column !important;
    padding: 20px 20px !important;
    gap: 25px;
    text-align: center;
  }
  

  /* Bild → 100% Breite, schön rund, kein Überlauf */
  .partner-row img {
    width: 100%;
    height: 100%;
	object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin: 0 auto;
  }

  /* Text-Block unter dem Bild */
  .partner-text {
    order: 2;
    width: 100%;
  }

  /* Bild über Text */
  .partner-image {
    order: 1;
    width: 305px;
  }

  /* Überschrift */
  .partner-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
  }


/* ======================================
   MOBILE LEISTUNGEN – Akkordeon Version
====================================== */

  .leistungen-section .container {
    margin-bottom: 30px;
  }
  
  .leistungen-polizei {
    padding: 0 0;
  }
  
  .leistung-row {
    flex-direction: column;
    padding: 20px 20px 40px;
    gap: 20px;
  }
  
  .leistung-row.reverse {
    flex-direction: column;
    padding: 20px 20px 40px;
  }
  
  .leistung-image img {
    width: 100%;
    height: 190px;
	object-fit: cover;
    border-radius: 12px;
  }
  
  .leistung-image {
    order: 1;
    width: 100%;
  }
  
  .leistung-text {
    width: 100%;
    text-align: left;
	order: 2;
	margin-bottom: 30px;
  }

  .leistung-text h3 {
    font-size: 26px;
    margin-bottom: 15px;
	text-align: center;
  }


  /* Versteckter Bereich */
  .leistung-hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  /* Wenn aktiv */
  .leistung-hidden.active {
    max-height: 2000px; /* ausreichend hoch */
    opacity: 1;
    margin-top: 10px;
  }

  .leistung-hidden p {
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 20px;
  }

  .leistung-text .btn-primary {
	display: none;
  }
  
  .mission-close {
	  bottom: -40px;
	  right: -10px;
	  z-index: -1;
	}

}

  /* Noch kompakter auf sehr kleinen Screens */
  @media (max-width: 700px) {
    .quote-bar {
      height: 60px;
    }
  }
  
  
  /* Noch kompakter auf sehr kleinen Screens */
  @media (max-width: 480px) {
    .zahlen-grid {
      grid-template-columns: 1fr;
    }
    .zahlen-card {
      max-width: 260px;
      margin: 0 auto;
    }
  }