/* =========================================================
   HZ BAUDIENSTLEISTUNGEN GmbH
   FINAL CLEAN CSS
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #10291f;
  color: #192b23;
}

.altcolor {
  background: #10291f;
}

/* =========================================================
   HEADER / BRAND - IMAGE LOGO
   ========================================================= */

#header {
  order: 1;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #10291f;
  text-align: center;
}

#header_wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 20px 8px;
  background: transparent;
}

.hz-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hz-brand .hz-logo {
  display: block !important;

  width: 70px !important;
  max-width: 70px !important;

  height: auto !important;
  max-height: 42px !important;

  margin: 0 auto !important;
  padding: 0 !important;

  object-fit: contain !important;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#sidebar {
  order: 2;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #10291f;
}

#navigation {
  width: 100%;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid #365044;
  border-bottom: 1px solid #365044;
  background: none;
}

#navigation ul,
#navigation ul.mainNav1,
#navigation ul.mainNav2,
#navigation ul.mainNav3 {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}

#navigation ul.mainNav1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
}

#navigation li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
}

#navigation a,
#navigation ul li a {
  display: block;
  width: auto;
  margin: 0;
  padding: 10px 4px;

  color: #f8f5ef !important;
  background: transparent !important;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

#navigation a:hover,
#navigation a.current,
#navigation a.active {
  color: #d8b783 !important;
  background: transparent !important;
}

#sidebar_content {
  display: none;
}


/* =========================================================
   HERO
   SLIKA PREKO CIJELE ŠIRINE
   TEXT LIJEVO
   ========================================================= */

#hz-hero {
  order: 3;

  position: relative;

  width: 100%;
  max-width: none;

  height: 560px;
  min-height: 560px;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #16382d;
}


/* HERO IMAGE */

#hz-hero .hz-hero-image {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  max-width: none;

  height: 100%;
  min-height: 100%;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center center;

  z-index: 1;
}


/* HERO OVERLAY */

#hz-hero .hz-hero-overlay {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 2;

  background: linear-gradient(
    90deg,
    rgba(10, 30, 22, 0.80) 0%,
    rgba(10, 30, 22, 0.50) 28%,
    rgba(10, 30, 22, 0.12) 58%,
    rgba(10, 30, 22, 0.02) 100%
  );
}


/* HERO TEXT POSITION */

#hz-hero .hz-hero-inner {
  position: absolute;
  inset: 0;

  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
  height: 100%;

  margin: 0;

  padding-left: 7%;
  padding-right: 7%;

  box-sizing: border-box;
}


/* HERO TEXT BLOCK */

#hz-hero .hz-hero-copy {
  width: 42%;
  max-width: 520px;

  margin: 0;
  padding: 0;

  text-align: left;
}


/* HERO HEADLINE */

#hz-hero .hz-hero-copy h1 {
  margin: 0 0 22px;
  padding: 0;

  color: #ffffff;

  font-size: clamp(42px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -1px;

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}


/* GOLD LINE */

#hz-hero .hz-hero-copy h1::after {
  content: "";

  display: block;

  width: 65px;
  height: 3px;

  margin-top: 22px;

  background: #d0ad72;
}


/* HERO SUBTITLE */

#hz-hero .hz-hero-copy p {
  margin: 0;
  padding: 0;

  color: #ffffff;

  font-size: 23px;
  font-weight: 400;
  line-height: 1.4;
}


/* =========================================================
   SERVICES
   ========================================================= */

#hz-services {
  order: 4;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;

  width: 100%;

  margin: 0;

  padding: 42px max(24px, calc((100% - 1160px) / 2));

  background: #f8f5ef;
}

.hz-service {
  min-width: 0;

  padding: 14px 20px;

  text-align: center;

  border-right: 1px solid #ddd8ce;
}

.hz-service:last-child {
  border-right: 0;
}

.hz-service-icon {
  display: block;

  margin-bottom: 16px;

  color: #10291f;

  font-size: 34px;
  line-height: 1.2;
}

.hz-service h3 {
  margin: 0 0 10px;

  color: #10291f;

  font-size: 17px;
  line-height: 1.3;
}

.hz-service p {
  margin: 0;

  color: #626762;

  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

#content {
  order: 5;

  float: none;

  width: 100%;

  margin: 0;
  padding: 0;

  background: #f8f5ef;

  color: #192b23;
}

#content .gutter {
  float: none;

  width: 100%;
  max-width: 1160px;

  margin: 0 auto;

  padding: 60px 32px 80px;
}


/* SLIKE U STAROM CONTENTU NE SMIJU RAZVUĆI STRANICU */

#content img {
  display: block;

  max-width: 100%;
  height: auto;
}


#content h1,
#content h2,
#content h3 {
  color: #10291f;
  line-height: 1.25;
}

#content h1 {
  font-size: clamp(30px, 4vw, 42px);
}

#content h2 {
  font-size: clamp(24px, 3vw, 30px);
}

#content p {
  color: #3d4741;

  font-size: 16px;
  line-height: 1.8;
}

#content a {
  color: #7d633d;
}


/* =========================================================
   CONTACT FOOTER
   ========================================================= */

#hz-contact-footer {
  order: 6;

  float: none;

  width: 100%;

  margin: 0;

  padding: 60px 32px;

  background: #10291f;

  color: #f8f5ef;
}

.hz-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;

  width: 100%;
  max-width: 1160px;

  margin: 0 auto;
}

.hz-footer-grid h3 {
  position: relative;

  margin: 0 0 26px;

  padding-bottom: 14px;

  color: #ffffff;

  font-size: 18px;
}

.hz-footer-grid h3::after {
  content: "";

  position: absolute;

  bottom: 0;
  left: 0;

  width: 34px;
  height: 2px;

  background: #d8b783;
}

.hz-footer-grid p {
  margin: 0 0 8px;

  color: #f8f5ef;

  font-size: 14px;
  line-height: 1.8;

  overflow-wrap: anywhere;
}

.hz-footer-grid a {
  color: #f8f5ef;

  text-decoration: none;

  overflow-wrap: anywhere;
}

.hz-footer-grid a:hover {
  color: #d8b783;
}


/* CONTACT BUTTON */

.hz-contact-btn {
  display: inline-block;

  margin-top: 18px;

  padding: 13px 20px;

  border: 1px solid #d8b783;

  color: #f8f5ef !important;

  text-decoration: none !important;
}

.hz-contact-btn:hover {
  background: #d8b783;

  color: #10291f !important;
}


/* =========================================================
   LEGAL FOOTER
   ========================================================= */

#footer {
  order: 7;

  float: none;

  width: 100%;

  margin: 0;

  padding: 20px 32px 28px;

  border-top: 1px solid #365044;

  background: #10291f;

  color: #c7d0c8;
}

#footer .gutter {
  float: none;

  width: 100%;
  max-width: 1160px;

  margin: 0 auto;

  padding: 0;

  background: none;

  font-size: 12px;
  line-height: 1.8;
}

#footer a {
  color: #d8b783;

  text-decoration: none;
}


/* CLEARFIX ELEMENTI IZ STAROG TEMPLATE-a */

.c {
  display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

  #navigation ul.mainNav1 {
    gap: 6px 16px;
  }

  #hz-hero {
    height: 500px;
    min-height: 500px;
  }

  #hz-hero .hz-hero-copy {
    width: 48%;
  }

  #hz-hero .hz-hero-copy h1 {
    font-size: 44px;
  }

  #hz-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    padding: 30px 20px;
  }

  .hz-service {
    padding: 22px 16px;
  }

  .hz-service:nth-child(2) {
    border-right: 0;
  }

  .hz-service:nth-child(1),
  .hz-service:nth-child(2) {
    border-bottom: 1px solid #ddd8ce;
  }

  .hz-footer-grid {
    gap: 28px;
  }
}



/* =========================================================
   MOBILE — HZ BAUDIENSTLEISTUNGEN
   ========================================================= */

@media screen and (max-width: 767px) {

  /* HEADER / LOGO */

  #header_wrapper {
    padding: 24px 16px 18px;
  }

  #header_wrapper .hz-logo {
    display: block !important;
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
    max-height: 150px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  .hz-brand-mark {
    font-size: 44px;
  }

  .hz-brand-name {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  /* NAVIGATION */

  #navigation {
    padding: 10px 12px;
  }

  #navigation ul.mainNav1 {
    gap: 4px 12px;
  }

  #navigation a,
  #navigation ul li a {
    padding: 8px 2px;
    font-size: 12px;
    white-space: normal;
  }

  /* HERO */

  #hz-hero {
    height: 380px !important;
    min-height: 380px !important;
  }

  #hz-hero .hz-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;
  }

  #hz-hero .hz-hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(10, 30, 22, 0.80) 0%,
      rgba(10, 30, 22, 0.40) 38%,
      rgba(10, 30, 22, 0.05) 75%
    );
  }

  #hz-hero .hz-hero-inner {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 24px 40px;
  }

  #hz-hero .hz-hero-copy {
    width: 100%;
    max-width: 500px;
  }

  #hz-hero .hz-hero-copy h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  #hz-hero .hz-hero-copy h1::after {
    width: 55px;
    margin-top: 18px;
  }

  #hz-hero .hz-hero-copy p {
    font-size: 16px;
  }

  /* SERVICES */

  #hz-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 12px;
  }

  .hz-service {
    padding: 18px 10px;
  }

  .hz-service:nth-child(2n) {
    border-right: 0;
  }

  .hz-service:nth-child(1),
  .hz-service:nth-child(2) {
    border-bottom: 1px solid #ddd8ce;
  }

  .hz-service h3 {
    font-size: 15px;
  }

  .hz-service p {
    font-size: 12px;
  }

  /* CONTENT */

  #content .gutter {
    padding: 42px 22px 60px;
  }

  /* CONTACT */

  #hz-contact-footer {
    padding: 48px 22px;
  }

  .hz-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* LEGAL FOOTER */

  #footer {
    padding: 18px 22px 24px;
  }

}