/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 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 */

/********************************/
/*** Allgemeine Einstellungen ***/
/********************************/
html, body {
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  html, body {
    overflow-x: clip;
  }
}

li {
	margin-bottom: 10px;
}

a  {
	color: #192464;
}

a:hover  {
	color:#F32229 ;
}

/**************************/
/*** Allgemeine Klassen ***/
/**************************/
.opacity-60 {
	opacity: 60%;
}

/*********************/
/*** Hero-Bereiche ***/
/*********************/
.hero-text {
	position: relative;
	z-index: 2;
	isolation: isolate;
}

/* Große Ellipse hinter dem Textbereich */
.hero-text::before {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;

	/* Größe relativ zum Textcontainer */
	width: clamp(1200px, 225%, 1650px);
	aspect-ratio: 1.55 / 1;

	/* Position relativ zum Textcontainer */
	left: 42%;
	top: 48%;
	transform: translate(-50%, -50%);

	background-image: url("/wp-content/uploads/2026/06/Ellipse-Hero-full.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}

/* Inhalte vor die Ellipse setzen */
.hero-text > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 1024px) {
	.hero-content::before {
		width: clamp(900px, 210%, 1250px);
		left: 44%;
		top: 48%;
	}
}

@media (max-width: 767px) {
	.hero-content::before {
		width: 220%;
		min-width: 680px;
		left: 48%;
		top: 47%;
	}
}

/****************************/
/*** Dozenten Unterseiten ***/
/****************************/
.dozent-bild {
    max-height: 750px;
}

/* Individuelle Verschiebungen der Dozenten-Bilder auf den Unterseiten */
@media (max-width: 1200px) and (min-width: 1025px) {
    .dozent-bild {
        right: -200px !important;
    }
}

/* Dozent-Grid: Zwischengröße mit 3 Spalten */
@media (min-width: 1025px) and (max-width: 1300px) {
    .dozent-grid .elementor-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/***************************/
/*** KURSSTART-SHORTCODE ***/
/***************************/

/* Elementor-Elemente müssen innerhalb des Containers schrumpfen dürfen */
.termin-wrapper,
.termin-wrapper .elementor-widget-shortcode,
.termin-wrapper .elementor-widget-container,
.termin-wrapper .elementor-shortcode {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.termin-wrapper {
	width: min(100%, clamp(350px, 30vw, 550px));
	text-align: center;
}

.din-kurs-termin {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	max-width: 100%;

	font-family: "Montserrat";
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

/* Überschrift und Datum bleiben jeweils als Einheit zusammen */
.din-kurs-termin-label,
.din-kurs-termin-wert {
	white-space: nowrap;
}


[id] {
  scroll-margin-top: 50px;
}