/* Exor-Engineering AG — eigene Stilregeln zusätzlich zu Bootstrap 5
   Ziel: identisches Look & Feel der früheren Composite-C1-/Bootstrap-3-Seite.
   Markenfarbe #428bca, System-Font-Stack, Jumbotron (in BS5 entfernt) nachgebaut. */

:root {
  --bs-primary: #428bca;
  --bs-primary-rgb: 66, 139, 202;
  --bs-link-color: #428bca;
  --bs-link-color-rgb: 66, 139, 202;
  --bs-link-hover-color: #2a6496;
  --bs-link-hover-color-rgb: 42, 100, 150;
  --bs-body-color: #333333;
  --bs-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

a { color: #428bca; text-decoration: none; }
a:hover, a:focus { color: #2a6496; text-decoration: underline; }

/* Primärfarbe für Buttons (BS5 nutzt CSS-Variablen je Komponente) */
.btn-primary {
  --bs-btn-bg: #428bca;
  --bs-btn-border-color: #357ebd;
  --bs-btn-hover-bg: #3071a9;
  --bs-btn-hover-border-color: #285e8e;
  --bs-btn-active-bg: #285e8e;
  --bs-btn-active-border-color: #285e8e;
}

/* Kopfbereich / Navbar — entspricht dem alten navbar-default (hellgrau, Rahmen) */
.navbar {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e7e7e7;
}
.navbar-brand img {
  height: 44px;
  width: auto;
}
.navbar .nav-link {
  color: #777;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #333;
}
.navbar .nav-link.active,
.navbar .show > .nav-link {
  color: #555;
}

/* Jumbotron — in Bootstrap 5 entfernt, hier wie in Bootstrap 3 nachgebaut */
.jumbotron {
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  background-color: #eeeeee;
  border-radius: 6px;
}
.jumbotron h1,
.jumbotron h2 {
  font-weight: 500;
}
.jumbotron h1 { font-size: 2.75rem; }
.jumbotron h2 { font-size: 2rem; }
.jumbotron p {
  font-size: 1.25rem;
  font-weight: 200;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .jumbotron { padding: 3rem 4rem; }
}

/* Inhaltsbereich */
main { padding-top: 1.5rem; }

.content-body h3 {
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}
.content-body ul { margin-bottom: 1rem; }

/* Projektliste (Kundenlogos + Beschreibung) */
.project-logo {
  max-width: 150px;
  height: auto;
  margin-right: 1.5rem;
  margin-bottom: .5rem;
}

/* Seitenleiste (Abschnittsnavigation) */
.section-nav .list-group-item.active {
  background-color: #428bca;
  border-color: #428bca;
}

/* Hero-Carousel auf der Startseite */
.hero-carousel { margin-bottom: 2rem; }
.hero-carousel .carousel-item {
  min-height: 250px;
  background-color: #428bca;
}
.hero-carousel img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.hero-carousel .carousel-caption {
  background: rgba(0, 0, 0, .45);
  border-radius: 6px;
  padding: 1rem 1.5rem;
}
.hero-slide-text {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.hero-slide-text h2 { font-weight: 500; }

/* Fusszeile */
footer {
  color: #777;
  font-size: .9rem;
  padding: 1.5rem 0;
}
footer a { color: #777; }
footer a:hover { color: #333; }
