/* 
Theme Name: Pfeffermond Child Theme
Theme URI: https://github.com/Pfeffermond-GmbH/wordpress-child-theme-template
Description: Child Theme for Hello Elementor Theme, created by mi-marketing/Pfeffermond
Author: mi-marketing/Pfeffermond
Author URI: https://www.mi-marketing.de/
Template: hello-elementor
Version: 1.3.6
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
*/

/* Elementor Editor: Animationen deaktivieren */
body.elementor-editor-active * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.elementor-editor-active .masonry-scroll-track {
  animation-play-state: paused !important;
  transform: translateY(0) !important;
}

/* Fonts */
@font-face {
  font-family: 'Roboto Mono';
  src: url('assets/fonts/roboto-mono.woff2') format('woff2'),
    url('assets/fonts/roboto-mono.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/* Colors
var(--e-global-color-primary)
var(--e-global-color-secondary)
var(--e-global-color-text)
var(--e-global-color-accent)
*/


.red {
  color: var(--e-global-color-primary)
}

#wpadminbar {
  background-color: #111830 !important;
}

.box-shadow {
  box-shadow: 0px 5px 20px -10px rgba(0, 0, 0, 0.21)
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #dedede;
}

::-webkit-scrollbar-thumb {
  background: var(--e-global-color-primary);
  transition: 0.3s;
}

/* Default Search Input Styling */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}


/*  Text Links Highlight Accessibility */
.elementor p a,
.elementor-field-option a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s
}

.elementor p a:hover,
.elementor-field-option a:hover {
  text-underline-offset: 2px;
}

/* Buttons */
.elementor-button,
form button,
form input[type="button"],
form input[type="submit"] {
  position: relative;
  overflow: hidden;
  transition: padding-right 0.4s ease;
}

.elementor-button::after,
form button::after,
form input[type="button"]::after,
form input[type="submit"]::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  top: 50%;
  right: 20px;
  background-image: url('/wp-content/uploads/2025/12/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  /* Startposition: Weiter links (translateX -30px) und gedreht */
  transform: translateY(-50%) translateX(-50px) rotate(-360deg);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.elementor-button:hover,
form button:hover,
form input[type="button"]:hover,
form input[type="submit"]:hover {
  padding-right: 50px !important;
}

form button,
form input[type="button"],
form input[type="submit"] {
  line-height: 1;
}

form button:hover,
form input[type="button"]:hover,
form input[type="submit"]:hover {
  background-color: var(--e-global-color-primary) !important;
}

.elementor-button:hover::after,
form button:hover::after,
form input[type="button"]:hover::after,
form input[type="submit"]:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(15px) rotate(0deg);
}

.btn-no-animation:hover {
  padding-right: 30px !important;
}

.btn-no-animation:after {
  display: none;
}

.te-btn-alt {
  background-color: #FFFFFF !important;
  fill: var(--e-global-color-text);
  color: var(--e-global-color-text) !important;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #0c0d0e;
}

.te-btn-alt:hover{
  background-color: #fff !important;
}

/* Formular Labels*/
.elementor-field-type-text label.elementor-field-label,
.elementor-field-type-email label.elementor-field-label,
.elementor-field-type-tel label.elementor-field-label,
.elementor-field-type-textarea label.elementor-field-label {
  transform: translate(0, 15px);
  transition: transform 0.3s;
  height: 0;
}

.elementor-field-type-select label {
  font-size: 12px;
  z-index: 10;
}

.elementor-field-type-acceptance.elementor-field-required {
  margin-top: -10px;
}

/*EURE Domain EN Größe*/
:lang(en) .your-domain-container span.elementor-headline-dynamic-text.elementor-headline-text-active {
    font-size: clamp(18px, 2.70vw, 23px);
    top: -3px !important;
}


:lang(en) .your-domain-container .elementor-widget-icon {
    width: 25px !important
}

:lang(en) .your-domain-container .elementor-widget-icon svg {
    width: 25px !important
}

/* Formular Select */
form select {
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color: var(--e-global-color-9d8abc3);
  border-radius: 0px 0px 0px 0px;
  padding: 5px 0px;
}

/* Loader */
.te-loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--e-global-color-primary);
  --_m:
    conic-gradient(#0000 10%, #000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn)
  }
}

/* Accordion Pfeil */
.e-n-accordion .e-n-accordion-item-title-icon .e-opened {
  display: none !important;
}

.e-n-accordion .e-n-accordion-item-title-icon .e-closed {
  display: inline-block !important;
}

.e-n-accordion .e-n-accordion-item-title-icon .e-closed svg {
  display: block;
  transition: transform 300ms ease;
  transform-origin: 50% 50%;
  will-change: transform;
}

.e-n-accordion details[open] .e-n-accordion-item-title-icon .e-closed svg {
  transform: rotate(180deg);
}

.no-rot-icon .e-n-accordion details[open] .e-n-accordion-item-title-icon .e-closed svg {
  transform: rotate(0);
}

.e-n-accordion details:not([open]) .e-n-accordion-item-title-icon .e-closed svg {
  transform: rotate(0deg);
}


/* Packetkacheln */
.mehrsprachigkeits-paketbaschreibung {
    display: none;
}

/* Testimonials */

/* Infinite Masonry Testimonials */
.infinite-masonry-wrapper {
  height: 700px;
  overflow: hidden;
  position: relative;
  background: transparent;

  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);

  contain: layout paint;
}

.masonry-grid {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 25px;
}

.masonry-column {
  flex: 1;
  min-width: 280px;
  display: flex;
}

.masonry-scroll-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translateZ(0);
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  transition: box-shadow .2s, border-color .2s;
  margin-bottom: 25px;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
  border-color: #e0e0e0;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.testimonial-text p {
  margin: 0 0 12px 0;
}

.testimonial-text p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 14px;
  color: #000;
}

.author-role {
  font-size: 12px;
  color: #666;
}


/* Responsive */
@media (max-width:1024px) {
  .masonry-column:nth-child(3) {
    display: none;
  }
	
  /* Menü */	
  ul.sub-menu.elementor-nav-menu--dropdown {
    border-radius: 15px;
    background: #7979790d;
    padding: 10px 0;
    margin-bottom: 10px;
 }
  a.elementor-sub-item {
    text-align: center;
  }
}

@media (max-width:767px) {
  .masonry-column:nth-child(2) {
    display: none;
  }
	

}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .masonry-scroll-track {
    animation: none !important;
  }
}


