/* ======= Google Font einbinden ======= */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap');
/* ======= Allgemeine Einstellungen ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Titillium Web', sans-serif;
  line-height: 1.6;
  color: #0d3879;
}
h1 {
  font-family: 'Titillium Web', sans-serif;
}
h1 {
  /* font-size: calc(1.5rem + 1vw); /* Größere Überschriften */
  font-weight: 700;
}
h2 {
  /* font-size: calc(1.25rem + 0.8vw);*/ /* Mittlere Überschriften */
  font-weight: 700;
}
p {
  font-size: calc(0.8rem + 0.3vw); /* Fließtext */
  line-height: normal;
}

.text-left {
 text-align: left;
}


/* Container für die gesamte Seite */
.container {
  max-width: 1400px; /* Maximale Breite */
  width: 100%;
  margin: 0 auto; /* Zentriert die Seite */
  padding: 0 20px; /* Abstand links und rechts für kleinere Screens */
}
/* ======= Navigation ======= */
.navbar {
  background-color: #fff !important; /* Dunkelblau */
  padding: 15px 0;
}
.navbar-brand {
  font-size: 1.7rem;
  font-weight: 700;
  color: white !important;
  text-transform: uppercase;
}
.navbar-nav .nav-link {
  color: #0d3879 !important;
  font-weight: 700;
  transition: color 0.3s ease-in-out;
  text-transform: uppercase;
  font-size: large;
  /* font-size: calc(calc(1.2rem + 0.8vw)); */
}
.navbar-nav .nav-link:hover {
  color: #0a3276 !important /* Goldgelb */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230d3879' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Navbar Logo */
.logo {
  height: 100px; /* Standardgröße */
  width: auto;
  max-width: 100%;
}
/* Kleinere Bildgröße auf kleineren Geräten */
@media (max-width: 768px) {
  .logo {
    height: 60px; /* Kleiner auf Tablets */
  }
}
@media (max-width: 480px) {
  .logo {
    height: 55px; /* Noch kleiner auf Smartphones */
  }
}
.bg-grey {
  background-color: #f8f9fa;
}
/* Hauptsektion */
.image-section {
  position: relative;
  /* width: 60%; */
  /* background-color: #eaeaea; */
  /* border-radius: 30px; */
  padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
/* Kleinere Bildgröße auf kleineren Geräten */
@media (max-width: 768px) {
  /* Hauptsektion */
  .image-section {
    padding: 50px 0;
  }
}
.grid-container-hero {
  display: grid;
  grid-template-columns: 3fr 2fr; /* 2 Spalten für größere Bildschirme */
  gap: 20px;
  padding: 20px;
  align-items: stretch; /* Stellt sicher, dass beide Spalten gleich hoch sind */
}
/* Flexbox für den Inhalt innerhalb der Spalten */
.grid-container-hero > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Hintergrund-Box mit Text */
.background-box {
  background-color: #0A3276;
  background-image: url('img/360-grad-hg-white.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  border-radius: 30px;
  padding: 40px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertikale Ausrichtung des Textes */
  height: 100%; /* Damit die Box die volle Höhe der Spalte einnimmt */
}
.background-box h1 {
  font-family: 'Titillium Web', sans-serif;
  color: white;
  font-size: calc(calc(2.2rem + 0.8vw)); /* Größere Überschriften */
  font-weight: 600;
  text-align: left;
}
.background-box p {
  font-family: 'Titillium Web', sans-serif;
  color: white;
  font-weight: 500;
  text-align: left;
}
@media (max-width: 768px) {
  /* Hintergrund-Box mit Text */
  .background-box {
    background-color: #0A3276;
    background-image: url('img/360-grad-hg-white-mobil.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    border-radius: 30px;
    padding: 40px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikale Ausrichtung des Textes */
    height: 100%; /* Damit die Box die volle Höhe der Spalte einnimmt */
  }
}
/* Box für das Bild */
.image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Bildcontainer soll die gleiche Höhe wie die Textbox einnehmen */
}
.image-box img {
  width: 100%; /* Das Bild nimmt die volle Breite der Box ein */
  height: 100%; /* Das Bild nimmt die volle Höhe der Box ein */
  object-fit: cover; /* Das Bild behält sein Seitenverhältnis bei und wird ggf. beschnitten */
  border-radius: 30px; /* Optional: Abgerundete Ecken für das Bild */
}
/* Responsives Design für mobile Geräte */
@media (max-width: 1024px) {
  .grid-container-hero {
    grid-template-columns: 1fr; /* Zwei Spalten auf Tablets */
  }
}
@media (max-width: 768px) {
  .grid-container-hero {
    grid-template-columns: 1fr; /* Zwei Spalten auf Tablets */
  }
}
/* Hintergrund-Box mit Text */
.background-box-blue {
  background-color: #0A3276;
  background-image: none;
  border-radius: 30px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%; /* Damit die Box die volle Höhe der Spalte einnimmt */
}
.background-box-blue img {
  display: block;
  margin-left: 0;
  max-width: 100%;
  margin-bottom: 10px;
}
.background-box-blue h2 {
  font-family: 'Titillium Web', sans-serif;
  color: white;
  font-weight: 600;
  text-align: left;
}
.background-box-blue p {
  font-family: 'Titillium Web', sans-serif;
  color: white;
  font-weight: 500;
  text-align: left;
}




.background-box-p {
	font-family: 'Titillium Web', sans-serif;
	color: white;
	font-weight: 500;
	text-align: left;
	font-size: calc(0.8rem + 0.3vw);
  line-height: normal;
}




.grid-container-2-3 {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
  padding: 20px;
  align-items: stretch;
}
/* Responsives Design für mobile Geräte */
@media (max-width: 1024px) {
  .grid-container-2-3 {
    grid-template-columns: 1fr; /* Zwei Spalten auf Tablets */
  }
}
@media (max-width: 768px) {
  .grid-container-2-3 {
    grid-template-columns: 1fr; /* Zwei Spalten auf Tablets */
  }
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 5 Spalten */
  gap: 20px; /* Abstand zwischen den Boxen */
}
.box {
  background: #0a3276;
  border-radius: 30px;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
	
}
.box img {
  max-width: 100%; /* Bilder nutzen die volle Breite der Box */
  height: auto; /* Verhindert Verzerrung */
  margin-bottom: 20px;
  object-fit: contain; /* Stellt sicher, dass das Bild vollständig angezeigt wird */
}

/* Tablets - 3 Spalten */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
  }
}

/* Smartphones - 2 Spalten (bleibt nebeneinander) */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten für Smartphones */
  }
}

/* Falls nötig, sehr kleine Geräte */
@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten für sehr kleine Geräte */
  }
}

@media (max-width: 480px) {
.grid-container {
  gap: 10px; /* Weniger Abstand, damit 2 Boxen nebeneinander passen */
}
}

@media (max-width: 480px) {
.box {
  background: #0a3276;
  border-radius: 30px;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
	
}
	
	
	
}











.box h2 {
  font-size: calc(1.4rem + 0.0vw); /* Mittlere Überschriften */
  font-weight: 600;
}







@media (max-width: 480px) {
.box h2 {
  font-size: calc(1.0rem + 0.0vw); /* Mittlere Überschriften */
  font-weight: 600;
}
}

.box p {
  font-size: calc(0.9rem + 0.1vw); /* Fließtext */
}
/* Neue Section mit blauem Hintergrund */
.blue-background-section {
  background-color: #0A3276; /* Blauer Hintergrund */
  padding: 40px 0; /* Innenabstand */
}
/* Box ohne Hintergrundbild, aber blauer Hintergrund */
.simple-background-box {
  background-color: #e9e9e9;
  color: #0a3276;
  padding: 41px;
  border-radius: 30px;
  /* min-height: 192px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
/* Stil für die h1-Überschrift */
.simple-background-box h1 {
  font-family: 'Titillium Web', sans-serif;
  font-size: calc(1rem + 0.8vw); /* Dynamische Schriftgröße */
  font-weight: 600;
}
/* Stil für den Text im Paragraphen */
.simple-background-box p {
  font-family: 'Titillium Web', sans-serif;
  /*font-size: calc(0.8rem + 0.6vw); */ /* Dynamische Schriftgröße */
}
/* Container für die Boxen */
.grid-container-hero-2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Standardmäßig eine Spalte auf kleinen Bildschirmen */
  gap: 20px;
  padding: 20px;
}
/* Für größere Bildschirme (Desktop) */
@media (min-width: 1025px) {
  .grid-container-hero-2 {
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten für große Bildschirme */
  }
}
/* Für Tablets und kleinere Bildschirme */
@media (max-width: 1024px) {
  .grid-container-hero-2 {
    grid-template-columns: 2fr 1fr; /* Zwei Spalten auf Tablets */
  }
}
@media (max-width: 768px) {
  .grid-container-hero {
    grid-template-columns: 1fr; /* Eine Spalte auf Smartphones */
  }
}
/* Neue Section mit blauem Hintergrund */
.blue-background-section {
  background-color: #0A3276; /* Blauer Hintergrund */
  color: white; /* Weiße Schrift */
  padding: 40px 20px; /* Etwas Abstand rundherum */
  margin: 150px 0 150px 0;
}
/* Container für den Inhalt, optional zur Begrenzung der Breite */
.blue-background-section .container {
  max-width: 1200px; /* Maximale Breite */
  margin: 0 auto; /* Zentriert den Inhalt */
}
/* Überschrift für die neue Section */
.blue-background-section h1 {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  text-align: center;
}
/* Text in der neuen Section */
.blue-background-section p {
  font-family: 'Titillium Web', sans-serif;
  text-align: center;
}
/* CSS für responsives Bild */
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px; /* Abrundung der Ecken */
}
/* Inhalt, um das Bild über dem Hintergrund zu platzieren */
.content {
  position: absolute;
  z-index: 5;
  top: 10%
}
/* Vordergrundbild */
.foreground-image {
  /* width: 700px; */
  border-radius: 15px;
  height: 500px;
}
/* ======= Hero-Bereich ======= */
/* ======= Abschnitte ======= */
section {
  padding: 100px 0;
  text-align: center;
}

@media (max-width: 768px) {



}






/* ======= Leistungen (Cards) ======= */
#services .col-md-4 {
  text-align: center;
  padding: 20px;
}
#services h3 {
  color: #f8b400;
  font-size: 1.6rem;
  font-weight: 600;
}
/* ======= Kontakt ======= */
#contact {
  background-color: #f8f9fa;
  text-align: center;
  padding: 40px 20px;
}
#contact p {
  font-size: 1.2rem;
  font-weight: 400;
}
/* ======= Formular ======= */
form {
	max-width: 500px;
	margin: 0 auto;
	/* background: white; */
	padding: 20px;
	/* border-radius: 10px; */
	/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}




.form-control {
	display: block;
	width: 100%;
	padding: 1.375rem 1.75rem;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.5;
	color: #0a3276;
	background-color: var(--bs-body-bg);
	background-clip: padding-box;
	border: solid #0a32766b 1px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 30px;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-primary {
	background-color: #0a3276;
	color: white;
	
	font-weight: bold;
	padding: 15px 40px;
	border-radius: 30px;
	font-size: 20px;
}

        /* Hover-Effekt */
        .btn-primary:hover {
            background-color: #0a3276cf; /* Dunklere Farbe bei Hover */
           
        }

        /* Focus-Effekt */
        .btn-primary:focus {
           
        }
.contact-link {
  color: #0a3276; /* Weiße Schriftfarbe */
  font-weight: bold; /* Fettschrift */
  text-decoration: none; /* Keine Unterstreichung */
  transition: color 0.3s ease-in-out; /* Sanfte Farbänderung beim Hover */
}

.contact-link:hover {
  color: #0a3276cf; /* Farbe ändert sich beim Hover (z. B. Gelb) */
}


.responsive-img-svg {
	background: #0a3276;
	border-radius: 30px;
	padding: 10px;
	height: 50px;
		margin-right:10px;
}










input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Titillium Web', sans-serif;
}
button {
  display: inline-block;
  background-color: #f8b400;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
	background-color: #fff;
}
/* ======= Footer ======= */
footer {
  background-color: var(--bs-gray-200);
  color: #0b3377 !important;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}



.navbar-collapse {
	flex-basis: 100%;
	flex-grow: 1;
	align-items: center;
	margin-right: 50px;
}



.rounded-30 {
    border-radius: 30px;
}

/* Größe der SVG anpassen */
.arrow-icon {
    width: 40px;  /* Passe die Größe nach Wunsch an */
    height: 40px; /* Passe die Größe nach Wunsch an */
}

/* Zentrierung der Pfeile im Button */
.carousel-control-prev, .carousel-control-next {
    display: flex;
    align-items: center;  /* Vertikale Zentrierung */
    justify-content: center;  /* Horizontale Zentrierung */
    background: transparent; /* Hintergrund transparent */
    border: none; /* Keine Border */
    z-index: 1;  /* Sicherstellen, dass die Pfeile über dem Inhalt bleiben */
}

/* Optional: Abstand zu den Rändern anpassen */
.carousel-control-prev {
    padding-left: 10px;
}

.carousel-control-next {
    padding-right: 10px;
}

/* Styling für die Carousel-Indikatoren */
.carousel-indicators-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
}

.indicator {
    width: 30px; /* Breite anpassen */
    height: 50px; /* Höhe anpassen */
    border-radius: 10px; /* Ecken abrunden */
    background-color: #ddd;
    margin: 0 5px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.indicator.active {
    background-color: #0A3276; /* Aktive Farbe */
}

.indicator:hover {
    background-color: #4CAF50; /* Hover Farbe */
}





/* Die allgemeinen Indikatoren */
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 50px; /* Breite anpassen */
    height: 15px; /* Höhe anpassen, um sie höher zu machen */
    padding: 0;
    margin-right: 5px; /* Abstand zwischen den Indikatoren */
    margin-left: 5px;
    text-indent: -999px; /* Verhindert, dass Text angezeigt wird */
    cursor: pointer;
    background-color: #cbcbcb; /* Helles Grau für inaktive Indikatoren */
    border: 0;
    opacity: 0.5; /* Opazität für inaktive Indikatoren */
    transition: opacity .6s ease, background-color .3s ease; /* Übergänge für Opazität und Farbe */
}

/* Aktiver Indikator */
.carousel-indicators .active {
    background-color: #0A3276; /* Aktive Indikatorenfarbe */
    opacity: 1; /* Volle Opazität für aktive Indikatoren */
}

/* Hover-Effekt für Indikatoren */
.carousel-indicators [data-bs-target]:hover {
    background-color: #0A3276BA; /* Hover-Farbe für die Indikatoren */
}


.carousel-control-next, .carousel-control-prev {
	position: absolute;
	top: 95%; 
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15%;
	padding: 0;
	color: #0a3276;
	text-align: center;
	background: 0 0;
	border: 0;
	opacity: .5;
	transition: opacity .15s ease;
}




/* Optional: Pfeile anpassen */
.arrow-icon {
    width: 40px;
    height: 40px;
}


/* Hintergrundfarbe für die gesamte Section */
.accordion-section {
  padding: 100px 0;
  color: #0A3276;
  text-align: center;
}
/* Titel */
.accordion-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
/* Container für das Akkordeon */
.accordion {
  margin: 0 auto;
  text-align: left;
}
/* Einzelnes Akkordeon-Element */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
/* Button für die Frage */
.accordion-header {
  width: 100%;
  background: none;
  color: #0A3276;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  padding: 15px;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  text-transform: none;
  line-height: 1.7rem;
}
/* Hover-Effekt */
.accordion-header:hover {
  background: rgba(255, 255, 255, 0.1);
}
/* Content-Bereich mit verstecktem Inhalt */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  padding: 0 15px;
}
/* Standardmäßig geöffneter Inhalt */
.accordion-item.active .accordion-content {
  max-height: 200px; /* Offen */
  padding: 10px 15px;
}
/* Standardmäßig Minus-Symbol für das erste Element */
.accordion-item.active .accordion-header::after {
  content: "-";
}
.accordion-item {
  color: #0A3276;
  background-color: #00ffff00;
  border: none;
}
/* Optional: Plus-/Minus-Symbol */
.accordion-header::after {
  content: "+";
  font-size: 1.5rem;
  transition: 0.3s;
}
/* Symbol ändern, wenn aktiv */
.accordion-item.active .accordion-header::after {
  content: "-";
}
a {
  color: rgb(255 255 255);
  text-decoration: none;
  font-weight: 600;
}
/* Blaue Sektion */
.custom-grid-section {
  text-align: center;
}
/* Grid-Container */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Standard: 2 Spalten */
  gap: 20px;
  margin: 0 auto;
}

/* Blaue Sektion */
.custom-grid-section-2 {
  text-align: center;
}
/* Grid-Container */
.custom-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Standard: 2 Spalten */
  gap: 20px;
  margin: 0 auto;
}


/* Grid-Elemente */
.grid-item {
  background: #0A3276;
  padding: 30px;
  border-radius: 30px;
  text-align: left;
  color: white
}
.grid-item img {
  display: block; /* Verhindert, dass das Bild inline ist */
  margin-left: 0; /* Stellt sicher, dass es links ausgerichtet ist */
  max-width: 100%; /* Optional: Verhindert, dass das Bild zu groß wird */
  margin-bottom: 10px;
}


/* Grid-Elemente */
.grid-item-2 {
  background: #fff;
  padding: 30px;
  border-radius: 30px;
  text-align: center;
  color: #0A3276
}
.grid-item-2 img {
  display: block; /* Verhindert, dass das Bild inline ist */
 
  max-width: 100%; /* Optional: Verhindert, dass das Bild zu groß wird */
  margin-bottom: 10px;
}

/* Responsive: 1 Spalte auf kleinen Bildschirmen */
@media (max-width: 768px) {
  .custom-grid {
    grid-template-columns: 1fr;
  }
}



.a-blue {
    color: rgb(13 56 137);
    text-decoration: none;
    font-weight: 600;
}