
/* ============================================================
   FETZER BAU – Fonts
   ============================================================ */
/* quicksand-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  display: swap;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/quicksand-v37-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* quicksand-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  display: swap;
  font-weight: 400;
  src: url('../fonts/quicksand-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* quicksand-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  display: swap;
  font-weight: 500;
  src: url('../fonts/quicksand-v37-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* quicksand-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  display: swap;
  font-weight: 600;
  src: url('../fonts/quicksand-v37-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* quicksand-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  display: swap;
  font-weight: 700;
  src: url('../fonts/quicksand-v37-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nothing-you-could-do-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nothing You Could Do';
  font-style: normal;
  xdisplay: swap;
  font-weight: 400;
  src: url('../fonts/nothing-you-could-do-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ============================================================
   FETZER BAU – Custom Stylesheet
   ============================================================ */

:root {
  --orange:      #e87722;
  --orange-dark: #c96210;
  --dark:        #1a1a1a;
  --gray:        #666666;
  --light:       #f8f8f8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.0rem;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.9rem;
  font-weight: 400;
  hyphens:auto;
  -webkit-hyphens: auto!important;
}

/* ============================================================
   HEADLINES & TEXT STYLES
   ============================================================ */


/* HEADLINES */
h1, h2, h3, h4, h5, h6, *[class*="fs-1-"] {
  margin: 0;
  padding: 0;
}

.fs-1 {
 font-size: calc(2.1rem + 0.5vw) !important;}

.fs-2 {
  font-size: calc(1.5rem + 0.5vw) !important;}

.fs-3 {
  font-size: calc(1rem + 0.2vw) !important;}



.fw-light { font-weight: 300 !important;}
.fw-normal { font-weight: 400 !important;}


.baj {font-family: var(--bs-body-font-family-two);}
.lato {font-family: var(--bs-body-font-family);}
.spacing {letter-spacing: 5px;}
.fw-medium{font-family: var(--bs-body-font-weight-medium);}
.fw-semibold{font-family: var(--bs-body-font-weight-semibold);}
.fw-bold {font-family: var(--bs-body-font-weight-bold);}


/* ============================================================
   NAVIGATION
   ============================================================ */
#mainNav {
  background-color: transparent;
  backdrop-filter: none;
  transition: background-color 0.35s, box-shadow 0.35s;
  padding: 0.4rem 0;
  z-index: 1050;
}

#mainNav.scrolled {
  background-color: rgba(20, 20, 20, 0.85);
}

.nav-logo {
  height: 200px;
  width: auto;
  transition: height 0.3s ease;
}

@media (min-width: 992px) {
  #mainNav.scrolled .nav-logo { height: 110px; }
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.55rem !important;
  transition: color 0.2s;
  position: relative;
}

#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.55rem;
  right: 0.55rem;
  height: 2px;
  background-color: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: #fff !important;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  transform: scaleX(1);
}

/* ---- Hamburger ---- */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- Offcanvas Mobile Nav ---- */
#mobileNav {
  background-color: #111;
  width: 270px;
}

#mobileNav .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 1.5rem;
}

.mobile-nav-list { margin-top: 0.5rem; }

.mobile-nav-list li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mobile-nav-list a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s, background-color 0.2s;
}

.mobile-nav-list a:hover {
  color: var(--orange);
  background-color: rgba(255,255,255,0.04);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100vh;
  max-height: 820px;
  object-fit: cover;
  display: block;
}

/* ---- Contact Sidebar (right, slides left on hover) ---- */
.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.contact-item {
  display: flex;
  align-items: stretch;
  cursor: pointer;
  overflow: hidden;
}

.contact-label {
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 0 14px;
  line-height: 44px;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.4s ease;
}

.contact-item.open .contact-label {
  max-width: 240px;
  opacity: 1;
}

.contact-icon-wrap {
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.contact-icon-wrap img {
  height: 22px;
  width: auto;
}

.contact-item.open .contact-icon-wrap {
  background-color: rgba(0, 0, 0, 0.75);
}

/* ============================================================
   ANCHOR OFFSET – Text statt Bilder unter der fixen Navbar zeigen
   ============================================================ */
#home,
#ausfuehrung,
#hochhaus,
#tiefgruendig,
#wertschaetzung,
#downloads,
#team,
#kontakt {
  scroll-margin-top: 130px;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-size: 1.45rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.section-title strong {
  font-weight: 800;
  display: block;
}

/* ============================================================
   9 GRÜNDE
   ============================================================ */
.section-gruende { background: #fff; }

.icon-feature { padding: 0.75rem 0.4rem; }

.icon-feature i {
  font-size: 2.1rem;
  color: var(--orange);
  margin-bottom: 0.7rem;
  display: block;
}

.icon-feature img {
  height: 60px;
  width: auto;
  margin: 0 0 0.7rem;
  display: block;
}

.icon-feature h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.icon-feature p {
  font-size: 0.77rem;
  color: var(--gray);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   GALLERY ITEMS (shared)
   ============================================================ */
.gallery-item { position: relative; }

.gallery-item > a {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item > a:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 1;
  pointer-events: none;
}


.gallery-item h6 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.55rem 0 0.25rem;
}

.gallery-item p {
  font-size: 1rem;
  color: var(--gray);
  margin: 0;
}

/* ============================================================
   ORANGE ACCORDION SECTION
   ============================================================ */
.section-orange {
  background-color: var(--orange);
  position: relative;
  overflow: hidden;
}

.section-orange::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 350px;
  height: 350px;
  border: 60px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.section-orange h2 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #fff;
}

.section-orange h3 {
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Accordion – orange style */
.accordion-orange .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.accordion-orange .accordion-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.25); }

.accordion-orange .accordion-button {
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2.5rem 0.9rem 0;
  box-shadow: none !important;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.accordion-orange .accordion-button::after {
  filter: brightness(10);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-orange .accordion-button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Number sits above the title text */
.acc-number {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  line-height: 1;
  margin-bottom: 2px;
}

.acc-title {
  font-size: 1rem;
  font-weight: 600;
}

.accordion-orange .accordion-body {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  line-height: 1.65;
  padding: 0.1rem 2.5rem 1.1rem 0;
}

/* ============================================================
   WERTSCHÄTZUNG
   ============================================================ */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.service-list li {
  font-size: 1rem;
  color: var(--gray);
  padding: 0.12rem 0;
}

.service-list li::before {
  content: '✓ ';
  color: #000;
  font-size: 1.1em;
}

/* ============================================================
   TEAM BANNER
   ============================================================ */
.team-banner { position: relative; overflow: hidden; }

.team-banner-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.72);
  transition: filter 2.5s ease;
}

/* Wird per JS gesetzt, sobald das Bild/Video im Sichtbereich ist */
.team-banner-img.is-color { filter: grayscale(0%) brightness(0.72); transition-delay: 2s; }
video.team-banner-img { filter: grayscale(100%); }
video.team-banner-img.is-color { filter: grayscale(0%); transition-delay: 4s; }

@media (prefers-reduced-motion: reduce) {
  .team-banner-img { transition: none; }
}

.team-banner-text {
  position: absolute;
  bottom: 2.5rem;
  left: 4%;
  color: #fff;
}

.team-banner-text p {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.team-banner-text h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.section-team { background: #fff; }

.team-card { text-align: left; }

.team-img-wrap {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.55s ease;
}

.team-card:hover .team-img { filter: grayscale(0%); }

.team-info { padding: 0.7rem 0 0.2rem; }

.team-info h6 {
  font-size:1 rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.team-info .role {
  font-size: 1rem;
  color: #999999;
  letter-spacing: 0.06em;
  margin-bottom: 0.1rem;
  font-weight: bold;
}

.team-info .tel,
.team-info .mail {
  font-size:1rem;
  color: var(--gray);
  margin: 0;
}

.team-info .tel a,
.team-info .mail a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}

.team-info .tel a:hover,
.team-info .mail a:hover {
  text-decoration: underline;
}

.team-info .tel img,
.team-info .mail img {
  width: 14px;
  height: 14px;
  filter: brightness(0);
}

/* ============================================================
   DOWNLOADS
   ============================================================ */
.section-downloads { background: var(--light); }

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li { margin-bottom: 0.55rem; }

.download-list a {
  color: var(--dark);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.download-list a:hover { color: var(--orange); }

.download-list i {width: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background-color: #272727; }

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer .text-muted { color: rgba(255,255,255,0.5) !important; }

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact a,
.footer-contact > span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.footer-contact img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.5;
}

.footer-contact a:hover { color: var(--orange) !important; }
.footer-contact a:hover img { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .nav-logo { height: 150px; }
}

@media (max-width: 991px) {
  .hero-img { height: 65vw; max-height: 520px; }
  .section-orange::before { display: none; }
}

@media (max-width: 767px) {
  .hero-img { height: 60vw; min-height: 260px; }
  .nav-logo { height: 110px; }

  .contact-sidebar {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .contact-icon-wrap { width: 38px; height: 38px; font-size: 0.88rem; }
  .contact-icon-wrap img { height: 19px; }
  .contact-label { line-height: 38px; }

  .team-banner-img { height: 300px; }

  .team-banner-text {
    bottom: 1.5rem;
    left: 5%;
  }
}

@media (max-width: 480px) {
  .nav-logo { height: 100px; }
}
