@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary-blue: #024C94;
  --text-gray: #5B5B5B;
  --dark-blue: #01386E;
  --gold: #D4AF37;
}

/* Global Typography */
body {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
}

p, li {
  color: inherit;
}

h1 {
  color: var(--text-gray);
}

h2, h3, h4, h5, h6 {
  color: var(--primary-blue);
}


.footer-modern {
  background-color: var(--primary-blue);
  color: #fff;
  font-size: 14px;
  padding: 30px 20px 10px;
  border-top: 4px solid var(--dark-blue);
}
.market-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px;
}

/* --- Basislayout --- */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff; /* jetzt neutral weiß */
  color: #222;
  scroll-behavior: smooth;
  padding-top: 100px; /* Mehr Platz für größere Navbar */
}

h2 {
  color: var(--primary-blue);
  font-weight: 600; /* Fett */
}

h3 {
  color: var(--primary-blue); /* Lee-Group Blau */
  font-weight: 400;
}

section {
  padding: 60px 20px;
}


.btn-primary {
  background: var(--primary-blue);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #6c757d;
  color: #fff;
  text-decoration: none;
}


/* --- Navbar --- */

.navbar .nav-link {
  color: var(--primary-blue);
  font-weight: 600;
  padding: 8px 15px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.navbar .navbar-nav {
  display: flex;
  align-items: flex-end; /* Links bündig mit dem unteren Rand des Logos */
}

.navbar .nav-link {
  padding-top: 80px;
}

.navbar .nav-num {
  font-size: 0.85rem;
  color: #888;        /* Dezentes Grau */
  margin-right: 6px;
  font-weight: normal; /* Nicht fett */
  letter-spacing: 1px;
}


.navbar {
  background-color: #e9ecef !important; /* Dunkleres Grau */
  padding: 30px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.navbar-brand img {
  max-height: 80px;
  vertical-align: middle;
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;  /* Unterstreichung deaktivieren */
  transition: color 0.3s;
}

.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #555;
  transition: width 0.3s ease-in-out;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #555;
}

.navbar-light .navbar-nav .nav-link:hover::after {
  width: 100%;
}


/* --- Hero Carousel --- */
/* Stärkeres Overlay hinter dem Text */
.carousel-caption {
  background: rgba(0, 0, 0, 0.55); /* dunkleres Schwarz mit Transparenz */
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 700px; /* Textblock nicht zu breit */
  margin: 0 auto;   /* zentrieren */
}

/* Weiße Schriftfarbe */
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption p {
  color: #fff !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* leichte Schatten für Lesbarkeit */
}

/* Button im Carousel */
.carousel-caption .btn {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 400;
  transition: background 0.3s ease;
}
.carousel-caption .btn:hover {
  background: #6c757d; /* Hover-Grau */
}


/* Carousel Pfeile (in Lee Group Blau) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 40px 40px;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231A3D5D' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.354a.5.5 0 0 1 0 .707L5.707 8l5.647 5.939a.5.5 0 1 1-.708.707l-6-6.32a.5.5 0 0 1 0-.707l6-6.32a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231A3D5D' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.354a.5.5 0 0 0 0 .707L10.293 8l-5.647 5.939a.5.5 0 1 0 .708.707l6-6.32a.5.5 0 0 0 0-.707l-6-6.32a.5.5 0 0 0-.708 0z'/%3E%3C/svg%3E");
}

/* --- Buttons --- */
.custom-btn {
  display: inline-block !important;
  width: auto !important;
  padding: 12px 24px;
  background-color: var(--primary-blue);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.custom-btn:hover {
background: #6c757d; /* schönes Mittelgrau */
}

/* --- Back-to-Top Button --- */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-size: 20px;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s, transform 0.2s;
}

#backToTop:hover {
  background-color: var(--dark-blue);
  transform: scale(1.1);
}

/* --- Cards (Services & Contact) --- */
#services .card,
#contact .card {
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

#services .card:hover,
#contact .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

#services .card-title,
#contact .card-title {
  color: var(--primary-blue);
  font-weight: 600;
}

#services .card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

#contact h2 {
  color: var(--primary-blue);
}

/* --- Section-Hintergründe --- */
/* Alternierende Hintergründe */
section:nth-of-type(odd) {
  background-color: #ffffff;
}

section:nth-of-type(even) {
  background-color: #e9ecef; /* etwas dunkleres Grau */
}


/* --- Footer --- */


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
}

.footer-left {
  flex: 1 1 250px;
}

.footer-center {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-center a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-center a:hover {
  color: var(--gold);
}

.footer-right {
  flex: 1 1 250px;
  text-align: right;
}

.footer-logo {
  max-height: 60px;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.project-card figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--primary-blue);
  font-weight: 600;
}

#projectCarousel .carousel-item img {
  height: 400px;
  object-fit: cover;
}

.carousel-indicators [data-bs-target] {
  width: 25px;
  height: 4px;
  border-radius: 2px; 
  background-color: rgba(26, 61, 93, 0.5);
  margin: 0 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--primary-blue);
  transform: scale(1.1);
}

.carousel-indicators {
  position: relative;
  margin-top: 10px; /* direkt unter dem Bild */
  bottom: 0;
}

.carousel.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out; /* längerer Übergang */
}

/* --- Core Markets Boxen --- */


.market-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.market-box img {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.market-box h3 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 15px;
}

.market-box ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  margin-bottom: 15px;
}

.market-box p {
  text-align: left;
  color: #333;
  margin-bottom: 15px;
}

html {
  scroll-padding-top: 100px; /* Höhe der fixierten Navbar */
}

/* --- Scroll Offset für fixe Navbar --- */
html {
  scroll-padding-top: 100px; /* Höhe der Navbar anpassen */
  scroll-behavior: smooth;  /* Sanftes Scrollen */
}

/* Für gezielte Sections (Fallback) */
section:target {
  scroll-margin-top: 100px;
}

/* --- Location Section --- */
#location {
background-color: #f8f9fa; /* Gleiches Grau wie Contact */
	padding: 60px 20px;
  }

#location .location-text p {
  margin-top: 25px; /* Abstand nach oben */
	font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

#location #map {
  margin-bottom: 20px; /* Abstand unter der Karte */
  border-radius: 6px;  /* Optional: abgerundete Kanten */
}

/* --- Map Styling --- */
#map {
  border: 2px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#founder img {
  max-width: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
}

#founder img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}
/* --- About Us Section --- */


#about-us p,
#about-us li {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

#about-us ul {
  padding-left: 20px;
  margin-top: 10px;
}

#about-us img {
  border-radius: 6px;
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#about-us img:hover {
  transform: scale(1.02);
}

/* --- Fact Box --- */
#about-us .row.text-center h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

#about-us .row.text-center p {
  font-size: 14px;
  color: #666;
}

#about-us .row.text-center h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue); /* Lee-Group Blau */
  margin-bottom: 10px;
}

#about-us .row.text-center p {
  font-size: 14px;
  color: #666;
}

a {
  color: var(--primary-blue); /* Lee Group Blau */
  text-decoration: none;
  font-weight: 400;
}

a:hover {
  color: var(--dark-blue); /* Dunkleres Blau beim Hover */
  text-decoration: underline;
}
/* --- Market Box --- */


.market-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.market-box h3 {
  color: var(--primary-blue); /* Lee Group Blau */
  font-weight: 700;
}

.market-box img.market-logo {
  height: 60px !important; /* z.B. 100px Höhe */
  width: auto !important;
  max-width: none !important;
}

/* --- Core Business Cards --- */
#services .card-title {
  color: var(--primary-blue); /* Lee Group Blau */
  font-weight: 600;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.logo-large {
  width: 250px !important;
  height: auto !important;
}

.market-logo {
  width: 250px !important;
  height: auto !important;
}



.footer-modern {
  background-color: #024C94; /* Blau */
  color: #fff !important;
  font-size: 0.9rem;
}

.footer-modern p,
.footer-modern strong,
.footer-modern em {
  color: #fff !important;
  margin-bottom: 5px;
}

.footer-links a {
  color: #fff !important;
  text-decoration: none;
  margin: 5px 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-logo {
  max-height: 100px; /* Logo größer */
}

.footer-modern hr {
  border-top: 1px solid #fff; /* Linie in Weiß */
}



@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
}

/*--- Video ---*/
/* Video Button */
.video-btn {
  background: var(--primary-blue);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.video-btn:hover {
  background: #6c757d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.video-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 50%;
}


.vertical-timeline {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}
.vertical-timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vertical-timeline li {
  margin: 8px 0;
}
.vertical-timeline a {
  display: inline-block;
  background: var(--primary-blue);
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: normal;
  transition: background 0.3s, transform 0.3s;
}
.vertical-timeline a:hover {
  background: #6c757d; /* schönes Mittelgrau */
  transform: scale(1.1);
}

/* About Us Text */
#about-us p {
  line-height: 1.6;
  margin-bottom: 1rem;
}


/* Fact Box */
.fact-box {
  background: var(--primary-blue);
  color: #fff;
  padding: 20px;
  border-radius: 6px;
}
.fact-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff !important;
}
.fact-box p {
  margin: 0;
  font-size: 1rem;
  color: #fff !important;
}

.card-img-top {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.card:hover .card-img-top {
  filter: grayscale(0%);
}

.footer-links a {
  padding: 0 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-separator {
  color: #aaa;
  font-size: 14px;
  display: inline-block;
  align-self: center;
}

