/*
Theme Name: Hello elementor CHILD
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Verhindert horizontales Scrollen auf der gesamten Website */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Sorgt dafür, dass Padding/Borders keine Elemente breiter machen */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Medien nie breiter als der Bildschirm */
img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* Elementor-Container sauber begrenzen */
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.e-con,
.e-con-inner {
  max-width: 100%;
}

/* Lange Wörter/Überschriften dürfen auf Mobile umbrechen */
.elementor-heading-title,
.elementor-widget-text-editor {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 767px) {
  .elementor-heading-title {
    max-width: 100%;
    hyphens: auto;
  }
}

@media (max-width: 767px) {
  .leistung-card {
    position: relative !important;
    padding-right: 70px !important;
  }
	
	/* Accorden */
@media (max-width: 767px) {
  .leistungen-accordion .e-n-accordion-item-title-text {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .leistungen-accordion .e-n-accordion-item-title-icon {
    font-size: 32px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  .leistungen-accordion .e-n-accordion-item-title-icon svg {
    width: 32px !important;
    height: 32px !important;
  }
}	
	