.body {
  margin-left: 150px;
  margin-right: 150px;
    overflow-x: hidden;

}

.logo {
  width: 400px;
  height: auto;
  margin-top: 30px;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}


.suchen {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suchen-text {
  font-family: Oswald, sans-serif;
  font-size: 26px;
  color: #153D60;
  margin: 0;
}

.search-input {
  font-family: 'Open Sans', sans-serif;
  color: #153D60;
  padding: 6px;
}

.nav-list {
  display: flex;
  flex-direction:row;
  justify-content: flex-end;
  padding: 10px;
  gap: 40px
}

.nav{
  list-style: none;
  font-family: Oswald, sans-serif;
  font-size: 16px;
  color: #66869E;
}

a {
  text-decoration: none;
  color: #66869E;
}

a:hover {
  color: #153D60;
}

.nav-item {
  display: flex;
  flex-direction: row;
  align-items: baseline; /* Text- und Pfeil-Baseline ausrichten */
  gap: 8px;
  position: relative;
}

.pfeil {
  width: 16px;
  height: auto;
  position: relative;
}

h1 {
  font-family: Oswald, sans-serif;
  font-size: 35px;
  font-weight: 500;
  color: #153D60;
  text-transform: uppercase;
  margin: 0;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  margin-top: 10px;
}

.boxentext {
  background-color: rgba(0, 98, 161, 0.06);
  padding: 10px;
}

h2 {
  font-family: Oswald, sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #153D60;
  margin-top: 20px;
}

li {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #7092A5;
  margin-top: 10px;
}

li:hover {
  color: #153D60;
}

footer {
  background-color: #27629C;
  color: white;
  padding: 10px;
  text-align: center;
  margin-top: 70px;
  display: flex;
  gap: 40px;
  justify-content: center;
}

/* Dropdown-Grundstruktur */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  z-index: 100;
  min-width: 280px;
}

.dropdown li {
  list-style: none;
  margin: 12px 0;
}

.dropdown li a {
  font-family: Oswald, sans-serif;
  font-size: 16px;
  color: #66869E;
  text-decoration: none;
}

/* Hover aktiviert Dropdown */
.nav-item:hover .dropdown {
  display: block;
}

/* Positionierung muss relativ sein für das absolute Dropdown */
.nav-item {
  position: relative;
}

.dropdown li a:hover {
  color: #173E5B;
}

/* Hauptlinks oben */
.navigation .nav-item > a:hover {
  color: #173E5B;
}

/* Dropdown-Links */
.navigation .dropdown li a:hover {
  color: #173E5B;
}

/* Linie beim Hover: Basis */
.navigation .nav-item > a {
  position: relative;
  padding-top: 20px; /* Platz für die Linie oben */
}

/* Pseudoelement für die Linie */
.navigation .nav-item > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 40px; /* vorher 20px – jetzt länger */
  height: 3px;
  background-color: #66869E;
  transition: transform 0.3s ease;
}

/* Animation bei Hover */
.navigation .nav-item > a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

h3 {
 font-family: Oswald, sans-serif;
 font-size: 26px;
 color: #153D60;
 font-weight: 400;
 text-transform: uppercase;
}

h4 {
  font-family: Oswald, sans-serif;
  font-size: 26px;
  color: #153D60;
  font-weight: 300;
  margin: 0;
}

.slider {
  width: 100%;
}

.master-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.links {
  width: 70%;
}

.rechts {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divider {
  height: 60px;
}

h6 {
  font-family: Oswald, sans-serif;
  font-size: 20px;
  color: #153D60;
  font-weight: 400;
  margin: 0;
}

.MA {
  font-family: Oswald, sans-serif;
  font-size: 26px;
  color: #153D60;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 0;
}

.MA-bild {
  width: 250px;
  border-radius: 250px;
}

.MA-beschrieb {
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #153D60;
  margin-top: 5px;
  text-align: center;
}

.quote-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: baseline;
}

.quote {
  width: 30px;
}

span {
  color: #7792A3;
}

span:hover {
  color: #153D60;
}

.menu-active {
  color: #153D60;
}