/* --- Header & Navbar Grundstruktur --- */
.bp-page-header {
  background-color: #fff;
  border-bottom: 0px solid #e5e5e5;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

/* Standard-Navbar-Stile */
.navbar-default {
  /* Ergänze hier, falls weitere Anpassungen nötig sind */
}

/* Falls ein Logo vorhanden ist */
.navbar-has-image {
  /* Optional: Zusätzliche Anpassungen, z. B. Padding */
}

/* Positionierung der Navigation (Top-Navigation) */
.navbar-top {
  /* Optional: Weitere Anpassungen */
}

/* --- Container & Flexbox --- 
.container-mainnavigation {
  padding: 0 15px;
} */

.container-mainnavigation{
  padding-left: calc(var(--bs-gutter-x) / 2);
  padding-right: calc(var(--bs-gutter-x) / 2);
}

/* --- Navbar Brand / Logo --- */
.navbar-brand-image {
  text-decoration: none;
  margin-right: 1rem;
}

.navbar-brand-logo-normal,
.navbar-brand-logo-inverted {
  display: block;
  max-height: 52px;
}

/* --- Header-Text (rechts neben dem Logo) --- */
.header-text {
  /* Der Textbereich wird durch ms-auto (Margin Start Auto) rechts ausgerichtet */
}

.header-text h1 {
  margin: 0;
  line-height: 1.2;
}

.header-text p {
  margin: 0;
}

/* --- Toggle Button --- */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* --- Navigation --- */
.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-nav .nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #2a3d69;
}

.nav-link:hover {
  background-color: #4059aa !important;
  color: #fff !important;
}

.navbar-mainnavigation {
  padding-bottom: 0px;
  box-shadow: none;
}
/* Rechter Rand bei head01.png (Header-Logo) */
.img-border-right {
  position: relative;
}
.img-border-right::after
 {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: #000;
  z-index: 9999;
}

/* --- Hintergrund für die Navigation --- */
#mainnavigation {
  background-color: #9facd4; /* Hintergrundfarbe nach Layoutwunsch, hier weiß */
  border-top: 0px solid #e5e5e5; /* Optional: obere Abgrenzung */
  /* Optional: Padding, falls benötigt */
  padding: 0rem 0px;
}

/* --- Dropdown-Menüs --- */
.dropdown-menu {
  background-color: #9facd4 !important;
  border: 1px solid #ddd;
    position: absolute;
    left: 0;
    top: 100%;
    /* margin-top: 0.2rem;  Abstand, sodass das Dropdown etwas unterhalb beginnt */
    z-index: 1000;
    display: none;
}

/* Anzeige bei Hover/Fokus */
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  display: block;
}




/* --- Dropdown Toggle Button --- */
.nav-link-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-link-indicator {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.25rem;
  background: url('/typo3conf/ext/wiso_template/Resources/Public/Images/indicator.svg') no-repeat center center;
  background-size: contain;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 767.98px) {
  .container-mainnavigation {
    padding: 0.5rem;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu {
    position: static;
    border: none;
    padding: 0;
  }
}

/*.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 0;

} */


/* address box */
.contact-box {
  width: 205px;
/*  height: 183px; */
  overflow: hidden;
  background-color: #fff;
  font-size: 12px;
  line-height: 18px;
  color: #181715;
  margin: -210px 0 0 10px;
  padding: 16px 0 0 15px !important;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}
/* title */
.contact-box .title {
  color: #4059aa;
}
/* address */
.contact-box address {
  font-style: normal;
}
.contact-box address span {
  display: block;
}
/* phone number */
.contact-box dl {
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.contact-box dl dt {
  float: left;
  margin: 0 2px 0 0;
}
.contact-box dl dd {
  float: left;
  margin: 0;
}
/* link - mail */
.contact-box .mail-to {
  display: block;
  color: #4059aa;
  font-size: 11px;
  line-height: 20px;
  background: url(../Icons/bullet.gif) no-repeat 0 9px;
  padding: 0 0 0 8px;
  margin: 0 0 10px;
}
.contact-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-box ul li {
  padding: 0 0 5px;
}
.contact-box ul li a {
  display: block;
  width: 149px;
  height: 23px;
  background: #4059aa url(../Icons/bullet2.gif) no-repeat 5px 9px;
  color: #fff;
  padding: 0 0 0 15px;
  line-height: 23px;
}
.contact-box ul li a:hover {
  background: #9facd4 url(../Icons/bullet3.gif) no-repeat 5px 9px;
  text-decoration: none;
}
/* Linke Spalte (feste Breite 230px) mit Rand über dem Bild */
.subcontent-wrap {
  position: relative;
  width: 230px;
  min-height: 800px; /* verhindert, dass Kontaktbox in den Footer ragt */
}
.subcontent-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: #000;
  z-index: 9999;
}
