/*
 * gretyl.net – Anpassungen auf Basis von Unify v3.2.2 (theme.min.css)
 * Nur Ergänzungen/Überschreibungen. Das Unify-Theme selbst bleibt unverändert.
 */

:root {
  --gretyl-forest: #14261c;      /* dunkles Tannengrün */
  --gretyl-forest-rgb: 20, 38, 28;
}

/* ---------- Header ---------- */
.navbar-brand-logo {
  min-width: 0;
  max-width: none;
  height: 2.25rem;
  width: auto;
}

.navbar.navbar-scrolled.navbar-dark {
  background-color: var(--gretyl-forest);
}

.navbar-dark .nav-link.active {
  color: #fff;
}

/* Mobile: Unify gibt dem Menü-Scroller einen weißen Hintergrund – für den dunklen Header angleichen */
@media (max-width: 991.98px) {
  .navbar-dark .navbar-absolute-top-scroller {
    background-color: var(--gretyl-forest);
    border-radius: .5rem;
    padding: .5rem 1rem;
    margin-top: .5rem;
  }
}

/* ---------- Hero / Seitenkopf mit Bild ---------- */
.gretyl-hero {
  position: relative;
  background-size: cover;
  background-position: center;
}

.gretyl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--gretyl-forest-rgb), .75) 0%, rgba(var(--gretyl-forest-rgb), .45) 60%, rgba(var(--gretyl-forest-rgb), .8) 100%);
}

.gretyl-hero > * {
  position: relative;
}

.swiper-slide.gretyl-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.gretyl-hero-swiper .swiper-pagination {
  bottom: 2rem;
}

.gretyl-hero-swiper .swiper-pagination-bullet {
  background-color: #fff;
}

.gretyl-hero-lebkuchen {
  width: 3rem;
  height: auto;
}

.gretyl-hero-page {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
}

/* ---------- Inhalte ---------- */
/* Sprungziele (z. B. portfolio.html#raeume) nicht unter dem fixierten Header verstecken */
main [id] {
  scroll-margin-top: 6rem;
}

.gretyl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(var(--bs-primary-rgb), .1);
  color: var(--bs-primary);
  font-size: 1.75rem;
}

.gretyl-quote {
  background-size: cover;
  background-position: center;
  position: relative;
}

.gretyl-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--gretyl-forest-rgb), .8);
}

.gretyl-quote > * {
  position: relative;
}

.bg-forest {
  background-color: var(--gretyl-forest) !important;
}

/* Footer */
.gretyl-footer-logo {
  height: 2.5rem;
  width: auto;
}
