/*
Theme Name: Againstmedia Ecotectura
Author: Againstmedia GmbH
Author URI: https://againstmedia.io
Description: Custom theme for Ecotectura by Againstmedia
Version: 1.0.0
Text Domain: amecotectura
*/

@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans.woff2") format("woff2 supports variations"),
    url("assets/fonts/OpenSans.woff2") format("woff2-variations");
  font-weight: 100 900;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/Oswald.woff2") format("woff2 supports variations"),
    url("assets/fonts/Oswald.woff2") format("woff2-variations");
  font-weight: 100 900;
}


:root {
  --bs-body-font-weight: 400;
  --bs-font-sans-serif: "Open Sans";
  --bs-body-color: #000000;
  --bs-body-color-rgb: 0, 0, 0;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-dark: #101828;
  --bs-dark-rgb: 16, 24, 40;
  --bs-primary: #69644F;
  --bs-primary-rgb: 105, 100, 79;
  --bs-secondary: #fff;
  --bs-secondary-rgb: 255, 255, 255;
  --bs-light: #EAF6FD;
  --bs-light-rgb: 234, 246, 253;

}

a {
  color: var(--bs-body-color);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 300ms ease-in-out;
}

a:hover {
  opacity: 0.75;
}

b,
strong {
  font-weight: bold;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald";
  font-weight: bold;
  text-transform: uppercase;
  line-height: normal;
}

.btn {
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-border-radius: 0;
  font-size: .95rem;
  transition: all 300ms ease-in-out;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-disabled-color: var(--bs-primary);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff;
}


/* ALLGEMEIN */

.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-16-5 {
  aspect-ratio: 16 / 5;
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.content ul,
.content ol {
  margin-bottom: 1.25rem;
}

.content ul li,
.content ol li {
  margin-bottom: 0.75rem;
}

.form-control {
  background: #D9D9D9;
  border-color: #D9D9D9;
  border-radius: 0;
}

.form-control[name="tel_phone"] {
  border-left-color: #fff;
}

.fs-0 {
  font-size: 2.5rem;
  line-height: 2.5rem;
}

.-me-4 {
  margin-right: -1.5rem !important;
}

.-mt-6 {
  margin-top: -4rem !important;
}

.oswald {
  font-family: "Oswald";
}

.text-transform-none {
  text-transform: none !important;
}

.z-n2 {
  z-index: -2 !important;
}

@media(min-width: 768px) {
  .fs-0 {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }

  .vw-md-150 {
    width: 150vw !important;
  }
}

@media(min-width: 992px) {
  .fs-0 {
    font-size: 5rem;
    line-height: 5rem;
  }
}


/* HEADER */

.am-nav-menu {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100vh;
  background: #fff;
  overflow: hidden;
  z-index: 100;
  transition: all 300ms ease-in-out;
}

@media(min-width: 700px) {
  .am-nav-menu {
    right: -50vw;
    width: 50vw;
  }
}

@media(min-width: 1200px) {
  .am-nav-menu {
    right: -30vw;
    width: 30vw;
  }
}

.am-nav-menu.active {
  right: 0;
}

#mainHeader {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.hide-header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.show-header {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


.page-template-template-home .logo-black {
  opacity: 0;
  overflow: hidden;
  max-width: 0;
}

/* header.light .logo-white {
  opacity: 1;
  overflow: visible;
  max-width: 200px;
  transition: opacity 300ms ease-in-out;
} */

/* header.light .logo-black {
  opacity: 0;
  overflow: hidden;
  max-width: 0;
  transition: opacity 300ms ease-in-out;
} */

/* header.dark .logo-black {
  opacity: 1;
  overflow: visible;
  max-width: 200px;
  transition: opacity 300ms ease-in-out;
} */

/* header.dark .logo-white {
  opacity: 0;
  overflow: hidden;
  max-width: 0;
  transition: opacity 300ms ease-in-out;
} */


.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 37px;
  height: 22px;
}

.page-template-template-home .menu-icon>div {
  background: #fff;
  transition: background 300ms ease-in-out;
}

.menu-icon>div {
  height: 1px;
  width: 100%;
  background: var(--bs-primary);
  transition: background 300ms ease-in-out;
}

/* header.dark .menu-icon>div {
  background: var(--bs-primary);
}

header.light .menu-icon>div {
  background: #fff;
} */

.menu-icon>div:last-child {
  width: 60%;
}

.submenu {
  position: relative;
  cursor: pointer;
}

.submenu>a {
  color: #fff;
  background: var(--bs-secondary);
  transition: all 300ms ease-in-out;
}

.submenu:hover>a {
  color: var(--bs-secondary);
  background: #fff;
  opacity: 1;
}

.submenu ul {
  position: absolute;
  top: 100%;
  background: #fff;
  opacity: 0;
  max-height: 0;
  min-width: 20rem;
  border-top-right-radius: var(--bs-border-radius-xl) !important;
  border-bottom-right-radius: var(--bs-border-radius-xl) !important;
  border-bottom-left-radius: var(--bs-border-radius-xl) !important;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}

.submenu:hover ul {
  opacity: 1;
  max-height: 1000vh;
  overflow: visible;
  padding: 1rem;
}

.submenu svg {
  transition: transform 300ms ease-in-out;
}

.submenu:hover svg {
  transform: rotate(180deg);
}


/* STARTSEITE */
.hero-title {
  position: absolute;
  top: 5rem;
  left: 3rem;
  right: 3rem;
  z-index: 1;
}

.hero-title h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0px 0px 13px #000000d1
}

.hero .splide__pagination {
  padding: 1em !important;
}

.hero .splide__arrow,
.projects-slider .splide__arrow {
  width: unset !important;
  height: unset !important;
  background: transparent !important;
}

.hero .splide__arrow svg,
.projects-slider .splide__arrow svg {
  fill: #fff !important;
  height: 2rem !important;
  width: 2rem !important;
}

.projects-slider .splide__arrows {
  width: 100vw;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.projects-slider .splide__slide a.read-more,
.projects-slider .splide__slide h3,
.projects-slider .splide__slide p {
  opacity: 0;
  overflow: hidden;
  max-height: 0;
  transition: opacity 300ms ease-in-out;
}

.projects-slider .splide__slide.is-active a.read-more,
.projects-slider .splide__slide.is-active h3,
.projects-slider .splide__slide.is-active p {
  opacity: 1;
  overflow: visible;
  max-height: 1000vh;
}

.section-title {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  transform: rotate(-90deg);
  text-transform: uppercase;
  font-size: 0.85rem;
}

@media(min-width: 601px) {
  .hero-title h1 {
    font-size: 3rem;
    line-height: 3.25rem;
  }
}

@media(min-width: 768px) {
  .hero-title {
    top: 5rem;
    left: 5rem;
    right: 5rem;
  }

  .hero-title h1 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .hero .splide__arrow svg {
    height: 4rem !important;
    width: 4rem !important;
  }
}

@media(min-width: 961px) {
  .hero-title h1 {
    font-size: 4.5rem;
    line-height: 5.25rem;
  }
}

@media(min-width: 1200px) {
  .hero-title h1 {
    font-size: 5rem;
    line-height: 6rem;
    max-width: 70%;
  }
}


/* FOOTER */

.form-check-label small,
.form-label small {
  color: var(--bs-body-color) !important;
  margin-left: 1px;
}

.form-check-input:checked {
  background-color: #475467;
  border-color: #475467;
}

/* KONTAKT */

#map {
  min-height: 400px;
}

/* ÜBER UNS */

.development>div:not(:first-child) {
  opacity: 0;
  overflow: hidden;
  max-height: 0;
  transition: opacity 300ms ease-in-out;
}

.development>div.active {
  opacity: 1;
  overflow: visible;
  max-height: 1000vh;
}

.development-year {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bs-primary);
  font-weight: bold;
  font-size: 4rem;
}

.team-contacts {
  font-size: 0.85rem;
}

.team-contacts svg {
  width: 20px;
  height: 20px;
}

@media(min-width: 430px) {
  .development-year {
    top: 70%;
  }
}

@media(min-width: 576px) {
  .development-year {
    top: 75%;
  }
}

@media(min-width: 768px) {
  .development-year {
    top: 50%;
    left: 20%;
    font-size: 7rem;
  }
}

@media(min-width: 992px) {
  .development-year {
    left: 40%;
  }
}

@media(min-width: 1200px) {
  .development-year {
    font-size: 9rem;
  }
}

@media(min-width: 1400px) {
  .development-year {
    font-size: 12rem;
  }
}

.images-col img {
  max-height: 33%;
}

.images-col img:first-child,
.images-col img:last-child {
  margin-left: calc(50% - 2rem);
}

.steps-graphic {
  overflow-x: scroll;
}

.steps-graphic::-webkit-scrollbar {
  height: .5rem;
  background: #acb095;
}

.steps-graphic::-webkit-scrollbar-thumb:horizontal {
  background: var(--bs-primary);
}

.steps-graphic img {
  max-height: 400px;
  width: auto;
  margin-bottom: 1rem;
}

@media(min-width: 992px) {
  .steps-graphic {
    overflow-x: hidden;
  }

  .steps-graphic img {
    max-height: unset;
    max-width: 100%;
    height: auto;
    width: unset;
    margin-bottom: 0;
  }
}

.single-leistung .fs-0 {
  hyphens: auto;
}

@media(min-width: 500px) {
  .single-leistung .fs-0 {
    hyphens: none;
  }
}

.page-id-3 a,
.page-id-3 p,
.page-id-12 a {
  hyphens: auto;
}

/* FAQ */
.accordion {
  --bs-accordion-active-color: var(--bs-accordion-color);
  --bs-accordion-active-bg: #D9D9D9;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(217, 217, 217, 0.5);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}


.amgooglereviews .stars {
  color: #ffb600;
}

.amgooglereviews .review {
  border-bottom: 1px solid var(--bs-primary) !important;
}

.amgooglereviews .review-text {
  font-size: .85rem !important;
  padding: 0 0 1rem 0 !important;

  border-radius: 0 !important;
}

.amgooglereviews .review-text:before {
  display: none !important;
}

.amgooglereviews .review-text a {
  color: var(--bs-primary);
  margin-top: 1rem;
  display: block;
}

/* Ncm - November 2025 */

/************ remove later ************/
html {
  margin-top: 0 !important;
}

#wpadminbar {
  display: none !important;
}

/************ remove later ************/

#mainHeader {
  background: rgba(105, 100, 79, 0);
  transition: background 0.5s ease-in-out;
}

#mainHeader.withBackground {
  background: rgba(105, 100, 79, 0.95);
}

/* Header and hamburger icon always white */
.page-template-template-home header.light .logo-white {
  opacity: 1;
  overflow: visible;
  max-width: 200px;
  transition: opacity 300ms ease-in-out;
}

.page-template-template-home header .menu-icon>div {
  background: #ffffff;
}

body:not(.page-template-template-home) #mainHeader.withBackground .logo-black {
  filter: brightness(100);
}

body:not(.page-template-template-home) #mainHeader.withBackground .menu-icon>div {
  background: #ffffff;
}

.hero {
  height: 90vh;
}

.hero .splide__pagination {
  bottom: 75px;
}

.buttonsWrapper {
	display: flex;
	width: 100%;
	position: fixed;
	bottom: 8vh;
	z-index: 99;
	justify-content: center;
	gap: 0.5rem;
}

.contactButton,
.linktreeButton {
	position: relative;
	outline: 1px solid #ffffff;
	width: fit-content;
	max-width: 240px;
	padding: 1rem 0.5rem 1rem 2rem;
	font-size: 0.875rem;
	
	@media(min-width: 768px) {
		font-size: 1rem;
		padding: 1rem 1rem 1rem 3rem;
	}
}

.contactButton:hover,
.contactButton:active,
.contactButton:focus,
.linktreeButton:hover,
.linktreeButton:active,
.linktreeButton:focus {
	background: rgb(177, 182, 154);
	color: rgb(105, 100, 79);
	opacity: 1;
}

.contactButton svg,
.linktreeButton svg {
	position: absolute;
	left: 0.5rem;
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	
	@media(min-width: 768px) {
		width: 24px;
		height: 24px;
		left: 1rem;
	}
}

/*#mainHeader.withBackground~.contactButton,
#mainHeader.withBackground~.linktreeButton {
  bottom: 0;
  outline: none;
  border-top: 1px solid #ffffff;
  width: 100%;
  padding-block: 1.25rem;
  transform: none;
  left: 0;
  padding-left: 0;
}

#mainHeader.withBackground~.contactButton svg,
#mainHeader.withBackground~.linktreeButton svg {
  position: relative;
  left: -10px;
  top: -2px;
  transform: none;
}

body:not(.page-template-template-home) .contactButton,
body:not(.page-template-template-home) .linktreeButton,
body:not(.page-template-template-home) #mainHeader.withBackground~.contactButton,
body:not(.page-template-template-home) #mainHeader.withBackground~.linktreeButton {
  bottom: 0;
  outline: none;
  border-top: 1px solid #ffffff;
  width: 100%;
  padding-block: 1rem;
  transform: none;
  left: 0;
}

body:not(.page-template-template-home) .contactButton svg,
body:not(.page-template-template-home) .linktreeButton svg,
body:not(.page-template-template-home) #mainHeader.withBackground~.contactButton svg,
body:not(.page-template-template-home) #mainHeader.withBackground~.linktreeButton svg {
  position: relative;
  left: -10px;
  top: -2px;
  transform: none;
}*/

.page-template-template-contact .contactButton,
.page-template-template-contact .linktreeButton {
  display: none;
}

.phoneLink,
.mailLink,
.kiAssistent,
#mainHeader.withBackground .phoneLink,
#mainHeader.withBackground .mailLink,
#mainHeader.withBackground .kiAssistent {
  color: #fff;
}

#mainHeader.withBackground .kiAssistent svg {
  fill: #fff;
}

body:not(.page-template-template-home) .phoneLink,
body:not(.page-template-template-home) .mailLink,
body:not(.page-template-template-home) .kiAssistent {
  color: var(--bs-primary);
}

body:not(.page-template-template-home) .kiAssistent svg {
  fill: var(--bs-primary);
}

.phoneLink span,
.mailLink span,
.kiAssistent span {
  display: none;
}

/*
@media(min-width: 580px) {
	#mainHeader.withBackground~.contactButton,
	#mainHeader.withBackground~.contactButton {
		right: 0;
		left: auto;
		border-left: 1px solid #ffffff;
	}
	
	body:not(.page-template-template-home) .contactButton,
	body:not(.page-template-template-home) .linktreeButton,
	body:not(.page-template-template-home) #mainHeader.withBackground~.contactButton,
	body:not(.page-template-template-home) #mainHeader.withBackground~.linktreeButton {
		right: 0;
		left: auto;
		border-left: 1px solid #ffffff;
	}
}
*/

@media(min-width: 768px) {

  .phoneLink span,
  .mailLink span,
  .kiAssistent span {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.85rem;
  }
}

@media(min-width: 992px) {

  .phoneLink span,
  .mailLink span,
  .kiAssistent span {
    font-size: 1rem;
  }
}

/* KI-Assistent */
.kiAssistent {
  width: auto;
  position: relative;
  border: none;
  background: none;
  /* color: #69644F; */
}

.kiAssistentLogo {
  width: 32px;
  transition: transform 0.25s ease-in-out;
  /* animation: logoFlip 10s infinite; */
}

@keyframes logoFlip {
  50% {
    transform: scaleX(-1) scaleX(-1);
    fill: #69644F;
  }
}

@supports not (rotate: 0deg) {
  @keyframes logoFlip {
    50% {
      transform: scaleX(-1) scaleX(-1);
      fill: #69644F;
    }
  }
}

.aiChat {
  position: fixed;
  justify-content: center;
  align-items: center;
  bottom: 7.5rem;
  right: 0;
  z-index: 1019;
  width: 4.5rem;
  height: 4.5rem;
  color: #69644F;
  border: none;
  background: none;
  transition: bottom 0.25s ease-in-out;
}

#mainHeader.withBackground~.aiChat {
  bottom: -3px;
}

@media(min-width: 768px) {
  .aiChat {
    bottom: 0;
    right: 0.25rem;
  }

  #mainHeader.withBackground~.aiChat {
    bottom: 4rem;
  }
}

/* @media(min-width: 1200px) {
  .aiChat {
    right: 1.25rem;
  }
} */

.desktopVersion {
  bottom: 2rem;
  background: #69644F;
  width: 160px;
  height: auto;
  padding: 0.25rem 0.25rem 0.25rem 0;
  border-radius: 100vw;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.75);
  outline: 3px solid rgba(255, 255, 255, 0.25);
}

.desktopVersion .buttonLabel {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #fff;
}

.desktopVersion .buttonLabel svg {
  transition: transform 0.25s ease-out;
  width: 30px;
  height: 30px;
  margin-right: 0.25rem;
}

.buttonBg {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55%;
  height: 55%;
  background: #69644F;
  border-radius: 100vw;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.75);
  outline: 3px solid rgba(255, 255, 255, 0.25);
}

.buttonBg svg {
  display: block;
  transition: transform 0.25s ease-out;
  width: 70%;
  height: 70%;
}

.aiChat:hover .buttonBg svg,
.aiChat:active .buttonBg svg,
.aiChat:focus .buttonBg svg,
.aiChat:hover .desktopVersion svg,
.aiChat:active .desktopVersion svg,
.aiChat:focus .desktopVersion svg {
  transform: scaleX(-1) scaleX(-1);
}

.aiChat:hover .textSVG,
.aiChat:active .textSVG,
.aiChat:focus .textSVG {
  animation-play-state: paused;
}

.textSVG {
  fill: #fff;
  height: auto;
  transform-origin: center;
  width: 100%;
  font-weight: 600;
  text-transform: uppercase;
  animation: textRotate 15s infinite;
}

@keyframes textRotate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(90deg);
  }

  50% {
    transfrom: rotate(180deg);
  }

  75% {
    transform: rotate(270deg);
  }

  100% {
    transform: rotate(360deg);
  }
}