/*
Theme Name: Beckmann Automation Theme
Theme URI: https://example.com
Description: \"Child Theme\" für Beckmann Automation basierend auf \"Agency Base\"
Author: molecoadmin
Author URI: https://example.com
Template: agency-base
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beckmann-automation-theme
*/

/* 
 * Child Theme Styles
 * 
 * Überschreibe hier Styles des Parent Themes.
 * Nutze CSS-Variablen aus dem Parent Theme für konsistentes Design.
 */

/* Beispiel: Primärfarbe überschreiben */
:root {
  /* --color-primary: #ff6600; */
  --br: 10px;
}

/*-------------------------------*/

html {
  overflow-x: hidden !important;
}

body {
  font-family: 'Kumbh Sans';
}

.wrapper {
  padding-top: 115px;
}

/* a-Tags */
a {
  color: var(--brand-secondary-color);
  font-weight: 600;
}
a:hover {
  color: var(--brand-accent-color);
}

/* Buttons*/
.btn {
  width: max-content;
  padding: 0.5rem 1.5rem 0.5rem;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
}
.btn:hover {
  color: var(--brand-primary-color-text);
  /* background-color: var(--brand-primary-color)!important; */
}
.btn.outline {
  background-color: transparent;
  border: 1px solid var(--brand-primary-color);
  color: var(--brand-primary-color);
}
.btn.outline:hover {
  background-color: var(--brand-primary-color);
  border: 1px solid var(--brand-primary-color);
  color: var(--brand-primary-color-text);
}

.btn.arrow {
  background-color: transparent;
  color: var(--brand-primary-color-text);
  padding: 0rem 3rem 0rem 0rem;
  position: relative;
  font-weight: 600 !important;
  font-size: 100% !important;
}
.btn.arrow:hover {
  background-color: transparent;
  padding: 0rem 3rem 0rem 0rem;
  position: relative;
  font-weight: 600 !important;
  font-size: 100% !important;
}
.btn.arrow::after {
  position: absolute;
  content: '';
  top: 54%;
  right: 5px;
  width: 30px;
  height: 30px;
  background: url('assets/icons/arrow-right.svg') no-repeat;
  background-size: 100%;
  background-position: center;
  display: block;
  transform: translateY(-50%);
  transition: all ease 0.3s;
  filter: invert();
}
.btn.arrow:hover::after {
  position: absolute;
  content: '';
  top: 54%;
  right: 0;
  width: 30px;
  height: 30px;
  background: url('assets/icons/arrow-right.svg') no-repeat;
  background-size: 100%;
  background-position: center;
  display: block;
  transform: translateY(-50%);
  transition: all ease 0.3s;
}
.btn.arrow:active {
  background-color: transparent;
}
.btn.arrow:focus {
  outline: 2px solid var(--brand-secondary-color);
  outline-offset: 2px;
}

.btn.download {
  display: flex;
  gap: 1rem;
  background-color: var(--brand-primary-color-lighter);
}
.btn.download:hover {
  display: flex;
  gap: 1rem;
  background-color: var(--brand-primary-color-light);
}

.btn.secondary:hover {
  background-color: color-mix(in srgb, var(--brand-secondary-color) 88%, black);
  color: var(--brand-secondary-color-text);
  border-color: color-mix(in srgb, var(--brand-secondary-color) 80%, black);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.12);
  transform: translateY(-1px);
}

.btn.secondary:active {
  background-color: color-mix(in srgb, var(--brand-secondary-color) 78%, black);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.16);
  transform: translateY(0);
}

.btn.secondary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand-secondary-color) 55%, white);
  outline-offset: 2px;
}

/* Headlines*/
h2 {
  margin-top: 0.5rem;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 700;
}
h3 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5rem;
}
.topline {
  font-weight: 700;
  font-size: 95%;
  text-transform: uppercase;
  color: var(--brand-accent-color);
}

/*Slider*/
.swiper {
  padding-bottom: 40px;
}
.swiper-slide {
  height: max-content;
}

.swiper-pagination {
  bottom: 5px !important;
  display: block;
  gap: 5px;
}
.swiper-pagination-bullet {
  opacity: 0.5;
  transition: all 0.2s ease;
  height: 10px;
  width: 10px;
  background-color: var(--brand-primary-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--brand-accent-color) !important;
  opacity: 1;
}
/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
  color: var(--brand-primary-color, var(--bs-primary));
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
}
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1.25rem;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: white;
}
.image-slider__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--br);
}
.text-block-gallery img.image-slider__image {
  max-height: 450px;
}


.fancybox__container{
  z-index:9999;
}


/*-----SINGLE PRODUKT------------------------------------------*/
#produkt_single {
  margin-top: 9rem;
}
#produkt_single .image img {
  width: 100%;
  height: auto;
  border-radius: var(--br);
}
#produkt_single h1 {
  margin-top: 0;
  margin-bottom: 2rem;
}
#produkt_single .kurz {
  margin-bottom: 2rem;
}
#produkt_single .inhalt-prospekte {
  margin-top: 3rem;
}
#produkt_single .inhalt {
  padding-right:50px;
}
#produkt_single .informationen .spezi{
  display:flex;
  flex-wrap:wrap;
}
#produkt_single .informationen .infos > .headline{
  margin-bottom:15px;
  display:block;
}
#produkt_single .informationen .spezi .item{
  width:50%;
  flex: 0 0 auto;
  margin-bottom:10px;
}
#produkt_single .informationen .spezi .item .headline{
  display:block;
  font-weight:600;
}
#produkt_single .informationen .spezi .item .beschreibung{
  display:block;
}
#produkt_single .informationen .zubehor ul li{
  list-style:none;
  padding-left:30px;
  margin:10px 0;
  position: relative;
}
#produkt_single .informationen .zubehor ul{
  padding-left:0;
}
#produkt_single .informationen .zubehor ul li:before{
  content:'✓';
  font-size:150%;
  font-weight:600;
  color:green;
  position:absolute;
  top:0;
  left:0;
  line-height:1;
}
#produkt_single .inhalt h2 {
  margin-bottom: 1rem;
  font-size: 2rem !important;
  line-height: 3rem !important;
  margin-top: 0;
}
#produkt_single .prospekte {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 3rem;
}
#produkt_single .prospekte a {
  flex-shrink: inherit;
  background-color: var(--brand-primary-color-lighter);
  padding: 25px 20px 25px 90px;
  border-radius: var(--br);
  color: var(--brand-primary-color-text);
  transition: all ease 0.3s;
  position: relative;
  margin: 0 10px;
}
#produkt_single .prospekte a:hover {
  background-color: var(--brand-primary-color-light);
  transition: all ease 0.3s;
}
#produkt_single .prospekte a::before {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  left: 25px;
  height: 25px;
  width: 40px;
  background: url('assets/icons/download.svg') no-repeat;
  background-size: 100%;
  background-position: center;
  transform: translateY(-50%);
}

#produkt_single .swiper-wrapper {
  height: max-content;
}
#produkt_single .wrapper {
  padding-top: 50px !important;
}
#produkt_single .inner {
  background-color: var(--brand-primary-color-10);
  padding: 20px;
  border-radius: var(--br);
}
#produkt_single .margintop{
    margin:3rem 0;
}


@media print{
  #print-header{display:block!important;background:none;box-shadow:none;position:relative;}
  #print-header img{width:250px;margin:25px 0;display:block;}
  #header-mobile, #header-desktop{display:none;}

  #produkt_single{margin-top:0;}
  #produkt_single .container{max-width:100%;}
  #produkt_single .formular{display:none;}
  #produkt_single .btn{display:none;}

  .footer{display:none;}
}

/*-----------------Single Job------------------------*/
#job_single .image {
  margin-bottom: 5rem;
}
#job_single .image img {
  height: 50vh;
  width: 100%;
  object-fit: cover;
}
#job_single .part {
  margin: 3rem 0 2rem;
}
#job_single h1 {
  margin-top: 0.5rem;
}
#job_single h2 {
  margin-bottom: 1rem;
}
#job_single .inner {
  background-color: var(--brand-primary-color-10);
  padding: 20px 40px;
  border-radius: var(--br);
}
#job_single .interesse {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--brand-primary-color-10);
}
#job_single .infos span {
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
}
#job_single .meta-separator {
  margin: 0 0.4em;
}

/*---------------------------------------------------*/
/* Produktbild Infos */
.popover {
  box-shadow: 0 0 16px #0005 !important;
  border: none !important;
  z-index: 9999 !important;
}

.produktbildinfos-popover__close {
  appearance: none;
  background: transparent;
  padding: 0;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: none;
  font-size: 170%;
  position: absolute;
  right: 10px;
  top: 3px;
  background-color: transparent;
}
.produktbildinfos-popover__header span {
  width: 90%;
}

.produktbildinfos-popover__description {
  padding: 1rem 1rem 0.5rem;
}
.produktbildinfos-popover__actions {
  padding: 0.5rem 1rem 1.25rem;
}

.servicekontakte-popover {
  padding: 0.5rem 1rem 1.25rem;
}

.popover-header {
  margin-top: 0;
  background-color: var(--brand-secondary-color);
}
.popover-header * {
  color: var(--brand-primary-color-text);
}

.popover {
  border: none;
  box-shadow: 0 0 14px #0005;
}
.popover-body {
  padding: 0;
}

/* --------------------------------Responsive-------------------------------- */
@media (max-width: 1199px) {
  .wrapper {
    padding-top: 75px;
  }
}
/*-----------------------------------------------------*/

@media (max-width: 991px) {
  #produkt_single .infos {
    margin-bottom: 3rem;
  }
  #produkt_single .inhalt {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  #produkt_single .wrapper {
    padding-top: 0 !important;
  }
}
/*-----------------------------------------------------*/
@media (max-width: 767px) {
  .text-block-gallery img.image-slider__image {
    max-height: 370px;
  }
  .fluentform {
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: unset;
  }
}
/*-----------------------------------------------------*/
@media (max-width: 575px) {
  .servicekontakte__card {
    padding-bottom: 9rem;
  }

  section[id='kontaktform'].contact-form {
    padding: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  section.spacing-bottom:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
/*-----------------------------------------------------*/
@media (max-width: 400px) {
  .fluentform .ff-text-right {
    text-align: left !important;
  }

  .servicekontakte__row {
    display: flex;
    gap: 0rem;
    margin-bottom: 1rem;
    flex-direction: column;
  }
}
