/* 
Theme Name: DREIGRAFIK GbR
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Based on Hello Elementor Child
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



*:not(table) {
  backface-visibility: hidden;
}


:root {
  --page-width: 1800px;
  --header-height: 50px;
  --footer-logo-width: 400px;
  --secondary-on-gray: #cf2b47;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 3rem;

}


body {
  background: #fff;
  font-family: var(--e-global-typography-primary-font-family);
  color: var(--e-global-color-primary);
  font-size: 16px;
}

a {
  text-decoration: none;
}

@media(max-width:1024px) {
  html {
    font-size: 15px;
  }

  button {}
}

@media(max-width:767px) {
  html {
    font-size: 14px;
  }

  button {}
}


#main-wrap {
  background: #fff;
  max-width: var(--page-width);
  margin: 0 auto;
  position: relative;
  -webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.125);
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.125);
}



/* NAVBAR */


.elementor-nav-menu--main {
  --e-global-color-secondary: var(--secondary-on-gray);
}

#navbar {
  max-width: var(--page-width) !important;
  margin: 0 auto;
}

/*
body.post-type-archive-projekte #navbar .menu-item-46 a,
body.single-projekte #navbar .menu-item-46 a {
  color: var(--e-global-color-secondary);
}
*/

body:not(.home).elementor-template-full-width,
body.error404 {
  padding-top: var(--header-height);
}

body:not(.home) .navbar {
  background: rgba(233, 232, 232, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: 0.5s all;
}


body:not(.home) #navbar,
body.home.has-scrolled #navbar {
  background: rgba(233, 232, 232, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: 0.5s all;
}

body.nav-open #navbar {
  transition: 0s all !important;
}

body.nav-open #navbar,
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
  background: rgba(233, 232, 232, 0.6) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px);
  transition: 0.5s all;
}

.elementor-nav-menu--dropdown {
  padding-top: 1rem;
  padding-bottom: 1rem;
}


.elementor-widget-off-canvas .e-off-canvas__content {
  /*background: rgba(233, 232, 232, 0.6) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);*/
}

/* CONTENT */

:root {
  --section-padding: 5rem;

  @media(max-width:767px) {
    --section-padding: 3rem;
  }
}

.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.pt-0 {
  padding-top: 0 !important;
}


video {
  object-fit: contain;
  content: normal;
  vertical-align: top;
  display: block;
}

.layout-columns .layout-row {
  display: flex;
  flex-direction: row;

  @media(max-width:767px) {
    flex-direction: column;
  }
}

.layout-columns .layout-row .column {
  flex: 1 1 auto;
  /* wichtig */
  min-width: 0;
  /* verhindert Overflow */
}

.layout-columns img,
.layout-columns video {
  width: 100%;
  height: auto;
  min-width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.layout-columns figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.layout-columns .column-zwischeheadline {
  font-weight: 400;
  margin-top: 6rem;
  margin-bottom: 6rem;
}

/*
grid_1_1 : Hälfte Hälfte
grid_1_2 : 1 Drittel zu 2 Drittel
grid_2_1: 2 Drittel zu 1 Drittel
*/


.layout-columns.grid-resize-grid_2_1 .column:first-of-type {
  width: 66.66666667%;
}

.layout-columns.grid-resize-grid_2_1 .column:last-of-type {
  width: 33.33333333%;
}

.layout-columns.grid-resize-grid_1_2 .column:first-of-type {
  width: 33.33333333%;
}

.layout-columns.grid-resize-grid_1_2 .column:last-of-type {
  width: 66.66666667%;
}

.layout-columns.grid-resize-grid_1_1 .column:first-of-type {
  width: 50%;
}

.layout-columns.grid-resize-grid_1_1 .column:last-of-type {
  width: 50%;
}

/* ALLE columns auf Mobile 100% zwingen */
@media(max-width:767px) {
  .layout-columns .column {
    width: 100% !important;
  }
}


@keyframes smooth-bounce {
  0% {
    transform: translateY(0)
  }

  65% {
    transform: translateY(-10px)
  }

  35% {
    transform: translateY(0px)
  }
}

#scroll-down {
  animation: smooth-bounce 3s infinite;
}


/* PROJECT LOOP ITEMS */

.project-card .loop-moveup {
  transform: translateY(60px);
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s;
}

.project-card:hover .loop-moveup {
  transform: translateY(0px);
  opacity: 1;
  transition: opacity 0.8s, transform 0.8s;
}

.project-card .button {
  transition-delay: 0.0s;
}

.project-card:hover .button {
  transition-delay: 0.3s;
}

.project-card .button {
  border-width: 1px !important;
}

.project-card .button:hover {
  border-color: #fff !important;
}

/* PROJEKTE */

body.single-projekte:not(.has-testimonial) {
  #testimonial-section {
    display: none;
  }
}

blockquote,
.quote-single__blockquote {
  margin: 0;
}

.single-testimonial figure.quote-single {
  display: flex;
  gap: 3rem;
  flex-direction: row;
  align-items: center;
  max-width: 900px;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-top: 1rem !important;
}

.single-testimonial figure b,
.single-testimonial figure strong {
  font-weight: 600;
}

.single-testimonial .quote-single__image {
  border-radius: 500px;
  min-width: 170px;
  max-width: 170px;
  height: auto;
}

.single-testimonial .quote-single__kurzzitat {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-on-gray, --Secondary);

}

.single-testimonial .quote-single__caption {
  margin-top: 1.75rem;
}

.single-testimonial .quote-single__name {
  /*font-size: 1.25rem;*/
  font-weight: 600;
}

.single-testimonial .quote-single__job {
  font-size: .9rem;
  margin-top: -0px;
  display: block;
}

@media(max-width:991px) {
  .single-testimonial figure.quote-single {
    flex-direction: column;
    margin-top: 2rem !important;
    gap: 2rem;
  }
}

/* TESTIMONIAL PICKER WIDGET */

.etp-testimonials-section {
  margin-top: var(--section-padding);
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.etp-testimonials-section>* {
  flex: 1;
}

.etp-testimonials-section.etp-testimonials-horizontal {
  margin-top: 0;
}


.etp-testimonials-section:not(.etp-testimonials-horizontal) .single-testimonial figure.quote-single {
  flex-direction: column;
}

.etp-testimonials-section:not(.etp-testimonials-horizontal) .single-testimonial .quote-single__kurzzitat {
  text-align: center;
  margin-bottom: 3rem;
}


@media(max-width:991px) {
  .etp-testimonials-section {
    flex-direction: column;
  }
}

@media(max-width:1024px) {

  .etp-testimonials-section:not(.etp-testimonials-horizontal) .single-testimonial .quote-single__kurzzitat {
    margin-bottom: 0;
  }

  .etp-testimonials-section:not(.etp-testimonials-horizontal) .quote-single__text {
    //display: none;*/
  }

  .etp-testimonials-section:not(.etp-testimonials-horizontal) .single-testimonial .quote-single__caption {
    text-align: center;
    margin-top: 0;
  }

}


/* FOOTER */

footer {

  #footer-address,
  #footer-socials {
    padding-left: calc(var(--footer-logo-width) / 3);
  }
}


/* FLOATING */

.e-contact-buttons__content-wrapper {
  outline: 0;
}


/* SINGLE TEXTPAGE TEMPLATE */
.copy-single-textpage h2 {
  margin-top: 0rem;
}

.copy-single-textpage *+h2 {
  margin-top: 3rem;
}

.copy-single-textpage h3 {
  margin-top: 2rem;
}

.copy-single-textpage h4 {
  margin-top: 2rem;
}