/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
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
*/


@media (max-width: 600px) {
  .kontakt-widget {
    right: 16px !important;
    bottom: 16px !important;
  }

  .kontakt-toggle {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}
.s4_menu li.ebp_mobileButton {
  text-align: center;
  padding-top: 15px;
}
.s4_menu li.ebp_mobileButton a {
  padding: 10px 15px 10px 15px;
  font-family: var(--e-global-typography-d5024f3-font-family), Sans-serif;
  font-size: var(--e-global-typography-d5024f3-font-size);
  font-weight: var(--e-global-typography-d5024f3-font-weight);
  line-height: var(--e-global-typography-d5024f3-line-height);
  letter-spacing: var(--e-global-typography-d5024f3-letter-spacing);
  word-spacing: var(--e-global-typography-d5024f3-word-spacing);
  color: var(--e-global-color-0508c2c);
  background-color: var(--e-global-color-19d0066);
  border-style: none;
  display: inline-block;
}
.s4_menu li.ebp_mobileButton:before {
  display: none;
}
.s4_menu li.ebp_mobileButton:after {
  display: none;
}
/* Components */

/* In-Text-Links: dunkles Orange (Kontrast 4,5:1), Hover Akzent-Orange, sonst wie der umgebende Text */
.elementor-widget-text-editor a:not([class]),
.elementor-widget-theme-post-content :is(p, li, td, th, blockquote) a:not([class]),
[class*="elementor-widget-s4_"] :is(p, li:not(.menu-item), td, th, blockquote) a:not([class]),
.elementor-widget .wpcf7-acceptance .wpcf7-list-item > label a:not([class]) {
  color: #8F611A;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
.elementor-widget-text-editor a:not([class]):hover,
.elementor-widget-text-editor a:not([class]):focus,
.elementor-widget-theme-post-content :is(p, li, td, th, blockquote) a:not([class]):hover,
.elementor-widget-theme-post-content :is(p, li, td, th, blockquote) a:not([class]):focus,
[class*="elementor-widget-s4_"] :is(p, li:not(.menu-item), td, th, blockquote) a:not([class]):hover,
[class*="elementor-widget-s4_"] :is(p, li:not(.menu-item), td, th, blockquote) a:not([class]):focus,
.elementor-widget .wpcf7-acceptance .wpcf7-list-item > label a:not([class]):hover,
.elementor-widget .wpcf7-acceptance .wpcf7-list-item > label a:not([class]):focus {
  color: var(--e-global-color-accent, #EDB059);
  font-family: inherit;
  font-weight: inherit;
  text-decoration: none;
}

/* Fallbeispiele als Fliesstext (Text-Editor mit Klasse ebp-fallbeispiele) */
.ebp-fallbeispiele h3 {
  margin: 0 0 12px;
}
.ebp-fallbeispiele h3:not(:first-child) {
  margin-top: 40px;
}

/* Erfahrungsberichte als Zitat-Karten (Team-Slider mit Klasse ebp-testimonials) */
.ebp-testimonials .sty_team_slider .splide__slide {
  height: auto;
  padding: 0 15px;
}
.ebp-testimonials .sty_team_slider .sty_team_slider_item .sty_team_slider_item_innr {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
  padding: 36px 36px 32px;
  background: #F3EFE8;
  border: 0;
  border-left: 4px solid #EDB059;
  border-radius: 10px;
}
.ebp-testimonials .sty_team_slider .sty_team_slider_item .sty_teamMeta {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.ebp-testimonials .sty_team_slider .sty_team_slider_item .sty_team_slider_item_innr::before {
  content: "\201C";
  display: block;
  height: 44px;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  line-height: 1;
  color: #EDB059;
}
.ebp-testimonials .sty_teamDesc {
  text-align: left !important;
  font-size: 17px;
  line-height: 28px;
}
.ebp-testimonials .sty_teamDesc p:last-child {
  margin-bottom: 0;
}
.ebp-testimonials .sty_teamName:empty {
  display: none;
}

/* CTA-Box mit Anwaltsbild (Container mit Klasse ebp-cta-box) */
.ebp-cta-box__media .elementor-widget-image,
.ebp-cta-box__media .elementor-widget-image .elementor-widget-container {
  width: 100%;
  height: 100%;
}
.ebp-cta-box__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 25%;
}
.ebp-cta-box__content .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* USP-Reihe mit Icon neben dem Text und Icon in Akzent-Orange (Widget mit Klasse ebp-usp-inline) */
.ebp-usp-inline .sty_uspWrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.ebp-usp-inline .sty_uspWrapper .sty_uspIcon {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.ebp-usp-inline .sty_uspWrapper .sty_uspContent {
  flex: 1 1 auto;
  min-width: 0;
}
.ebp-usp-inline .sty_uspIcon svg [stroke]:not([stroke="none"]) {
  stroke: var(--e-global-color-accent, #EDB059);
}
.ebp-usp-inline .sty_uspIcon i {
  color: var(--e-global-color-accent, #EDB059);
}

/* USP-Reihe als Kaesten (Widget mit Klasse ebp-usp-boxes) */
.ebp-usp-boxes .grid-container {
  gap: 24px;
  align-items: stretch;
}
.ebp-usp-boxes .grid-container .grid-item {
  padding: 28px 26px;
  background: #F3EFE8;
  border-radius: 10px;
}
.ebp-usp-boxes .sty_uspIcon svg,
.ebp-usp-boxes .sty_uspIcon i {
  color: var(--e-global-color-accent, #EDB059);
  fill: var(--e-global-color-accent, #EDB059);
}
.ebp-usp-boxes .sty_uspContent p:last-child {
  margin-bottom: 0;
}

/* Info-Kasten (Container mit Klasse ebp-info-box) */
.ebp-info-box {
  border-left: 4px solid var(--e-global-color-accent, #EDB059);
}
.ebp-info-box .elementor-heading-title {
  font-size: 28px;
  line-height: 36px;
}
.ebp-info-box .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* Kontaktkasten auf Plattform-Seiten (Widget s4_image_teaser): heller Button, mehr Innenabstand */
.single-platform .sty_imageTeaser .row > .col-md-8 {
  padding: 30px 36px 32px 20px;
}
.single-platform .sty_imageTeaser .elementor-button-wrapper {
  margin-top: 8px;
}
.single-platform .elementor .elementor-element .sty_imageTeaser a.elementor-button,
.single-platform .elementor .elementor-element .sty_imageTeaser a.elementor-button:visited {
  background-color: #F9F8F6;
  border-color: #F9F8F6;
  color: #3C3C3B;
}
.single-platform .elementor .elementor-element .sty_imageTeaser a.elementor-button:hover,
.single-platform .elementor .elementor-element .sty_imageTeaser a.elementor-button:focus {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #3C3C3B;
}
@media (max-width: 767px) {
  .single-platform .sty_imageTeaser .row > .col-md-8 {
    padding: 22px 24px 28px;
  }
}