:root {
  --solum-blue: #12324a;
  --solum-blue-2: #1f4158;
  --solum-green: #5f7f35;
  --solum-green-2: #7c9650;
  --solum-earth: #7a5b3e;
  --solum-sand: #f4f1ea;
  --solum-paper: #fbfaf7;
  --solum-text: #4f5b66;
  --solum-muted: #7c8791;
  --solum-border: rgba(18, 50, 74, .12);
  --solum-shadow: 0 18px 45px rgba(18, 50, 74, .12);
}

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--solum-text);
  background: #fff;
}
a { color: var(--solum-green); }
a:hover { color: #496625; }

/* Header im Vollbild-Slider */
.hero-shell { position: relative; min-height: 100vh; overflow: hidden; }
.hero-navbar {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto 0;
  padding: 1.15rem 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.56), rgba(0,0,0,.18), rgba(0,0,0,0));
}
.navbar-brand { color: #fff !important; line-height: 1; }
.brand-main { display: block; font-size: clamp(2.2rem, 3vw, 3.7rem); font-weight: 300; letter-spacing: .035em; }
.brand-sub { display: block; font-size: clamp(.8rem, 1vw, 1rem); opacity: .94; margin-top: .15rem; }
.navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .55rem .9rem !important;
  position: relative;
  text-shadow: 0 1px 16px rgba(0,0,0,.25);
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .15rem;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
  transition: width .2s ease;
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after { width: 34px; }
.navbar-toggler { border-color: rgba(255,255,255,.55); }
.navbar-toggler:focus { box-shadow: 0 0 0 .18rem rgba(255,255,255,.18); }
.navbar-toggler-icon { filter: invert(1) brightness(3); }

/* Fullscreen Cover Slider */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-slide { height: 100vh; min-height: 680px; }
.hero-slide { position: relative; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.08) 0%, rgba(0,0,0,.2) 42%, rgba(0,0,0,.46) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.08) 34%, rgba(0,0,0,.44));
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 7rem 1.5rem 5rem;
}
.hero-content-inner { max-width: 1080px; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .19em;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1rem;
  opacity: .94;
}
.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 5.3rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: .015em;
  text-shadow: 0 10px 40px rgba(0,0,0,.42);
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.75vw, 1.75rem);
  font-weight: 300;
  margin-top: 1rem;
  opacity: .96;
  text-shadow: 0 8px 28px rgba(0,0,0,.38);
}
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-solum {
  --bs-btn-bg: var(--solum-green);
  --bs-btn-border-color: var(--solum-green);
  --bs-btn-hover-bg: #506f2b;
  --bs-btn-hover-border-color: #506f2b;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 700;
}
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(5px);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.16); }
.scroll-down {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 2rem;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  font-size: 3rem;
  line-height: 44px;
  text-align: center;
  opacity: .95;
  animation: floatArrow 1.7s ease-in-out infinite;
}
@keyframes floatArrow { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.carousel-control-prev,
.carousel-control-next { z-index: 11; width: 8%; }
.carousel-indicators { z-index: 12; bottom: 5.2rem; }
.carousel-indicators [data-bs-target] { width: 11px; height: 11px; border-radius: 50%; border: 0; margin: 0 .35rem; display:none;}

/* Allgemein */
.section { padding: 6rem 0; }
.section-soft { background: linear-gradient(180deg, #fff, var(--solum-paper)); }
.eyebrow {
  color: var(--solum-green);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: .82rem;
  margin-bottom: .65rem;
}
.section-title { color: var(--solum-blue); font-size: clamp(2rem, 3.6vw, 3.35rem); font-weight: 500; margin-bottom: 1rem; }
.section-text { max-width: 820px; margin-inline: auto; color: #65707b; line-height: 1.8; }
.title-line { width: 56px; height: 3px; border-radius: 999px; background: var(--solum-green); margin: 1.1rem auto 1.6rem; }

.service-card,
.team-card,
.content-card {
  border: 1px solid var(--solum-border);
  box-shadow: var(--solum-shadow);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  height: 100%;
}
.service-card img { width: 100%; height: 235px; object-fit: cover; }
.service-card .card-body { padding: 2rem; }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--solum-green);
  margin-bottom: 1rem;
  font-weight: 800;
}
.service-card h3, .content-card h3 { color: var(--solum-blue); font-size: 1.35rem; font-weight: 700; }
.read-more { color: var(--solum-green); font-weight: 800; text-decoration: none; }
.read-more:hover { color: #4b6a27; }
.content-card { padding: 2rem; }
.feature-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(95,127,53,.13);
  color: var(--solum-green);
  font-size: 2rem;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--solum-blue);
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,50,74,.86), rgba(18,50,74,.35)); }
.page-hero .container { position: relative; z-index: 2; padding-top: 7rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 400; }

.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team-card .card-body { padding: 1.5rem; }
.team-card h3 { color: var(--solum-blue); font-size: 1.3rem; margin-bottom: .4rem; }
.team-meta { color: #68737e; min-height: 48px; }
.contact-line { font-size: .95rem; margin: .35rem 0; }
.contact-panel { border: 1px solid var(--solum-border); box-shadow: var(--solum-shadow); background: #fff; padding: 2.25rem; height: 100%; }
.form-control { border-radius: 0; padding: .85rem 1rem; border-color: rgba(18,50,74,.18); }
.form-control:focus { border-color: var(--solum-green); box-shadow: 0 0 0 .2rem rgba(95,127,53,.13); }

.footer { background: var(--solum-blue); color: rgba(255,255,255,.78); padding: 3rem 0; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; margin: 0 1rem; }
.footer a:hover { color: #fff; }
.footer-brand { color: #fff; font-size: 2rem; font-weight: 300; letter-spacing: .03em; }

@media (max-width: 991.98px) {
  .hero-navbar { background: rgba(0,0,0,.62); }
  .navbar-collapse { background: rgba(0,0,0,.76); border: 1px solid rgba(255,255,255,.1); padding: 1rem; margin-top: 1rem; }
  .navbar .nav-link { padding: .65rem 0 !important; }
  .hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item, .hero-slide { min-height: 620px; }
  .carousel-control-prev, .carousel-control-next { display: none; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 2.35rem; }
  .hero-actions .btn-solum, .hero-actions .btn-ghost { width: 100%; }
  .section { padding: 4rem 0; }
}

/* Mehrstufige Navigation */
.navbar .dropdown-toggle::after { display: none; }
.nav-icon-down, .nav-icon-up, .submenu-icon-down, .submenu-icon-up { margin-left: .35rem; font-size: .85rem; vertical-align: -0.06em; }
.nav-icon-up, .submenu-icon-up { display: none; }
.navbar .dropdown.show > .nav-link .nav-icon-down, .navbar .dropdown:hover > .nav-link .nav-icon-down { display: none; }
.navbar .dropdown.show > .nav-link .nav-icon-up, .navbar .dropdown:hover > .nav-link .nav-icon-up { display: inline-block; }
.solum-dropdown { min-width: 270px; border: 0; border-radius: 0; padding: .65rem; box-shadow: 0 18px 45px rgba(18,50,74,.22); background: rgba(255,255,255,.98); }
.solum-dropdown .dropdown-item { color: var(--solum-blue); font-weight: 600; border-radius: 0; padding: .72rem .85rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.solum-dropdown .dropdown-item:hover, .solum-dropdown .dropdown-item:focus, .solum-dropdown .dropdown-item.active { color: #fff; background: var(--solum-green); }
.dropdown-submenu { position: relative; }
.dropdown-submenu > .submenu-toggle { width: 100%; border: 0; background: transparent; text-align: left; }
.dropdown-submenu.show > .submenu-toggle { color: #fff; background: var(--solum-green); }
.dropdown-submenu.show > .submenu-toggle .submenu-icon-down { display: none; }
.dropdown-submenu.show > .submenu-toggle .submenu-icon-up { display: inline-block; }
.dropdown-submenu > .submenu-menu { display: none; top: -.65rem; left: 100%; margin-left: .65rem; min-width: 250px; border: 0; border-radius: 0; padding: .65rem; box-shadow: 0 18px 45px rgba(18,50,74,.22); background: rgba(255,255,255,.98); }
.dropdown-submenu.show > .submenu-menu { display: block; }
.anchor-offset { display: block; position: relative; top: -110px; visibility: hidden; }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .dropdown-submenu:hover > .submenu-menu { display: block; }
  .dropdown-submenu:hover > .submenu-toggle { color: #fff; background: var(--solum-green); }
  .dropdown-submenu:hover > .submenu-toggle .submenu-icon-down { display: none; }
  .dropdown-submenu:hover > .submenu-toggle .submenu-icon-up { display: inline-block; }
}
@media (max-width: 991.98px) {
  .solum-dropdown { background: rgba(255,255,255,.96); box-shadow: none; margin-top: .5rem; }
  .dropdown-submenu > .submenu-menu { position: static; margin-left: 0; margin-top: .35rem; padding-left: .75rem; box-shadow: none; background: rgba(95,127,53,.07); }
}

/* =========================================================
   STARTSEITE: Karten wie Referenzgrafik
========================================================= */
.home-services-section {
  background: #f5f6f5;
  padding: 5.6rem 0 5.8rem;
}

.home-service-card {
  height: 100%;
  overflow: hidden;
  border-radius: 0.42rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.home-service-image {
  height: 210px;
  overflow: hidden;
  background: #d9ded7;
}

.home-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.home-service-card:hover .home-service-image img {
  transform: scale(1.04);
}

.home-service-body {
  position: relative;
  padding: 2.65rem 2rem 2rem;
  min-height: 260px;
}

.home-service-icon {
  position: absolute;
  top: -33px;
  left: 1.85rem;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  border: 5px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.home-service-icon-brown { background: #7b5b39; }
.home-service-icon-green { background: var(--solum-green); }
.home-service-icon-blue { background: var(--solum-blue-2); }

.home-service-body h3 {
  color: var(--solum-blue);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.95rem;
}

.home-service-body p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.55rem;
}

.home-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--solum-green);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.home-service-link:hover {
  color: var(--solum-blue);
}

.home-service-link span {
  transition: transform 0.18s ease;
}

.home-service-link:hover span {
  transform: translateX(4px);
}

.home-teaser-box {
  height: 100%;
  background: #ffffff;
  border-radius: 0.42rem;
  padding: 2.25rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.45rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.home-teaser-icon {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 999px;
  background: rgba(95, 127, 53, 0.14);
  color: var(--solum-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.home-teaser-box h3 {
  color: var(--solum-blue);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.home-teaser-box p {
  color: #4f5b66;
  margin: 0 0 0.75rem;
  line-height: 1.7;
}

.home-teaser-box a {
  color: var(--solum-green);
  font-weight: 800;
  text-decoration: none;
}

.home-teaser-box a:hover {
  color: var(--solum-blue);
}

@media (max-width: 575.98px) {
  .home-service-image {
    height: 220px;
  }

  .home-service-body {
    padding-left: 1.45rem;
    padding-right: 1.45rem;
  }

  .home-teaser-box {
    flex-direction: column;
  }
}
