/* ==========================================================================
   FZ Tec Festival  (Seite /tec-festival/)
   ========================================================================== */

/* #region Hero */

/* Headline/Datum und Festival-Logo vertikal auf einer Hoehe */
.tec-hero-row.et_pb_equal_columns {
	align-items: center;
}

/* Stroke-Headline fluide skalieren, damit sie nicht ins Logo laeuft
   (unter 981px stapeln die Spalten, dort greifen die Plugin-Groessen) */
@media (min-width: 981px) {
	.tec-hero .outline-headline .dnxt-text-stroke-fill-main {
		font-size: min(120px, 7.4vw) !important;
	}
}

/* Gestapelte Ansicht (Tablet/Phone): Logo zuerst, Datum dicht an die Headline */
@media (max-width: 980px) {
	.tec-hero-row.et_pb_row {
		display: flex;
		flex-direction: column-reverse;
		row-gap: 40px;
	}

	.tec-hero-row>.et_pb_column {
		margin-bottom: 0;
	}

	.tec-hero .outline-headline {
		margin-bottom: 0 !important;
	}

	.tec-hero .outline-headline+.et_pb_text {
		margin-top: 10px !important;
	}
}

/* #endregion Hero */

/* #region Countdown */

.et_pb_countdown_timer.tec-countdown .et_pb_countdown_timer_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 15px;
	max-width: 900px;
	margin: 0 auto;
}

.et_pb_countdown_timer.tec-countdown .title {
	flex: 0 0 100%;
	color: var(--color-white);
	text-align: center;
	margin-bottom: 40px;
}

.et_pb_countdown_timer.tec-countdown .section.values {
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	padding: 25px 10px;
	flex: 1 1 0;
	max-width: 170px;
	text-align: center;
}

.et_pb_countdown_timer.tec-countdown .section p.value {
	color: var(--color-green);
	font-family: var(--font-family-bold);
	font-size: 70px;
	line-height: 1.1em;
}

.et_pb_countdown_timer.tec-countdown .section p.label {
	color: var(--color-white);
	font-size: var(--font-size-p);
	line-height: var(--line-height-p);
	margin-top: 5px;
}

.et_pb_countdown_timer.tec-countdown .sep.section {
	display: flex;
	align-items: center;
}

.et_pb_countdown_timer.tec-countdown .sep p {
	color: var(--color-green);
	font-size: 40px;
	line-height: 1em;
}

@media (max-width: 980px) {
	.et_pb_countdown_timer.tec-countdown .section p.value {
		font-size: 45px;
	}

	.et_pb_countdown_timer.tec-countdown .section.values {
		padding: 15px 10px;
	}
}

@media (max-width: 767px) {

	/* 2x2-Raster ohne Doppelpunkte, exakt gleich grosse Zellen */
	.et_pb_countdown_timer.tec-countdown .et_pb_countdown_timer_container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.et_pb_countdown_timer.tec-countdown .title {
		grid-column: 1 / -1;
		margin-bottom: 20px;
	}

	.et_pb_countdown_timer.tec-countdown .sep.section {
		display: none;
	}

	.et_pb_countdown_timer.tec-countdown .section.values {
		max-width: none;
		width: auto;
	}
}

/* #endregion Countdown */

/* #region Programm-Kacheln */

.tec-tile {
	height: 100%;
	/* dezenter Verlauf ueber dem Festival Blue + feine Kontur */
	background-image: linear-gradient(150deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.2) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tec-tile:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 35px rgba(0, 30, 36, 0.35);
}

.tec-tile .et_pb_main_blurb_image {
	display: block;
	text-align: left;
	margin-bottom: 20px;
}

/* Icon im gruen getoenten, abgerundeten Chip — fest quadratisch,
   damit schmale Glyphen (z.B. Gluehbirne) keinen schmalen Chip erzeugen */
.tec-tile .et_pb_main_blurb_image .et_pb_image_wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background-color: rgba(175, 203, 56, 0.14);
	border-radius: 12px;
	padding: 0;
	line-height: 1;
}

.tec-tile .et-pb-icon {
	display: block;
	/* !important: Divis generierte image_icon_width-Regel ist spezifischer */
	font-size: 34px !important;
	line-height: 1;
}

/* "01 | Main Area" als gruene Overline */
.tec-tile .et_pb_blurb_container .et_pb_module_header {
	color: var(--color-green);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

/* fetter Untertitel als eigentliche Kachel-Headline */
.tec-tile .et_pb_blurb_description p:first-child strong {
	font-size: 18px;
	line-height: 26px;
	color: var(--color-white);
}

.tec-tile .et_pb_blurb_description p {
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 8px;
}

.tec-tile .et_pb_blurb_description p:last-child {
	margin-bottom: 0;
}

/* #endregion Programm-Kacheln */

/* #region Anmeldung / Formular */

/* Felder im Stil der Kontaktseite (CF7-Look), nur mit runden Ecken */
.tec-form .input {
	border-radius: 5px;
	padding: 20px;
	font-family: var(--font-family-light);
	font-size: var(--font-size-intro);
	line-height: 1.2;
}

.tec-form .input::placeholder {
	color: #757575;
	opacity: 1;
}

/* Statusmeldungen auf dunklem Grund lesbar halten */
.tec-form .et-pb-contact-message {
	color: var(--color-white);
}

/* Divi zieht die Captcha/Senden-Zeile mit -3%-Margin hoch — ohne den Negativ-
   margin entspricht der Abstand nach oben exakt dem Feldabstand (~40px) */
.tec-form .et_contact_bottom_container {
	margin-top: 0 !important;
}

/* Rechen-Captcha als aufgeraeumte Zeile, Muster wie auf der Kontaktseite.
   Abstaende ueber Margins statt gap: Whitespace-Textknoten im p erzeugen
   Phantom-Flexitems, die mit gap einen Versatz am rechten Rand ergeben */
.tec-form .et_pb_contact_right p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 0;
	color: var(--color-white);
	font-family: var(--font-family-light);
	font-size: var(--font-size-intro);
}

.tec-form .et_pb_contact_captcha_question {
	margin-right: 10px;
}

.tec-form .input.et_pb_contact_captcha {
	margin-left: 10px;
}

.tec-form .input.et_pb_contact_captcha {
	width: 120px;
	max-width: 120px;
	padding: 20px 14px;
	text-align: center;
}

/* Rechenaufgabe in derselben Schrift/Groesse wie die Eingabefelder
   (Divi setzt dem Frage-Span sonst eigene 16px roboto-regular) */
body #page-container .et_pb_section .tec-form.et_pb_contact_form_container.et_pb_module .et_pb_contact_captcha_question {
	font-size: var(--font-size-intro) !important;
	font-family: var(--font-family-light) !important;
}

/* Senden-Button: kein Divi-Hover-Pfeil, keine Groessenaenderung —
   Hover wechselt nur die Farbe (Site-Konvention) */
.tec-form .et_pb_contact_submit.et_pb_button {
	padding: 16px 40px !important;
	font-family: var(--font-family-regular) !important;
	line-height: 1.4;
	transition: background-color 0.25s ease;
}

.tec-form .et_pb_contact_submit.et_pb_button:after,
.tec-form .et_pb_contact_submit.et_pb_button:hover:after {
	display: none !important;
	content: none !important;
}

/* muss Divis generierte Regel (1 ID + 5 Klassen, !important, spaeter geladen)
   in der Spezifitaet uebertreffen */
body #page-container .et_pb_section .tec-form.et_pb_contact_form_container.et_pb_module .et_pb_contact_submit.et_pb_button:hover {
	padding: 16px 40px !important;
	background-color: #96ad2c !important;
	border-color: #96ad2c !important;
}

/* Mobil: Rechnung + Feld linksbuendig in einer Zeile, Button volle Breite darunter
   (Divi legt Captcha + Button zusammen in den Flexcontainer .et_contact_bottom_container) */
@media (max-width: 767px) {
	.tec-form .et_contact_bottom_container {
		float: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		row-gap: 15px;
		/* gleiche 3%-Einrueckung wie die Eingabefelder (Divi-Gutter) */
		padding-left: 3%;
	}

	.tec-form .et_pb_contact_right {
		float: none;
		width: 100%;
	}

	.tec-form .et_pb_contact_right p {
		justify-content: flex-end;
	}

	.tec-form .et_pb_contact_submit.et_pb_button,
	body #page-container .et_pb_section .tec-form.et_pb_contact_form_container.et_pb_module .et_pb_contact_submit.et_pb_button:hover {
		display: block;
		width: 100%;
		margin: 0;
	}
}

/* #endregion Anmeldung / Formular */

/* #region Fact Box */

/* Teamprofil-Box (fix 420px) und Fact Box auf identische Hoehe bringen:
   beide Module fuellen ihre gleich hohen Spalten */
.team-info-row.et_pb_equal_columns>.et_pb_column {
	display: flex;
	flex-direction: column;
}

.team-info-row .teamprofile.et_pb_promo {
	max-height: none;
	flex-grow: 1;
}

.team-info-row .tec-factbox {
	flex-grow: 1;
}

.tec-factbox {
	height: 100%;
	background-image: linear-gradient(150deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.2) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inhalt fuellt die volle Boxhoehe (420px der Teamprofil-Box) */
.tec-factbox .et_pb_blurb_content {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: none;
}

.tec-factbox .et_pb_blurb_container {
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Stern-Icon im Chip, wie bei den Programm-Kacheln */
.tec-factbox .et_pb_main_blurb_image {
	display: block;
	text-align: left;
	margin-bottom: 12px;
}

.tec-factbox .et_pb_main_blurb_image .et_pb_image_wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background-color: rgba(175, 203, 56, 0.14);
	border-radius: 12px;
	padding: 0;
	line-height: 1;
}

.tec-factbox .et-pb-icon {
	display: block;
	font-size: 34px !important;
	line-height: 1;
}

.tec-factbox .et_pb_blurb_container .et_pb_module_header {
	margin-bottom: 15px;
}

/* 2x3-Raster aus kleinen Fakten-Zellen, Optik wie die Countdown-Boxen */
.tec-factbox .et_pb_blurb_description {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	flex: 1;
	align-content: stretch;
}

.tec-factbox .et_pb_blurb_description p {
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	padding: 12px 16px;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tec-factbox .et_pb_blurb_description br {
	display: none;
}

.tec-factbox .et_pb_blurb_description strong {
	display: block;
	color: var(--color-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.tec-factbox .et_pb_blurb_description p {
	color: var(--color-white);
	font-size: 17px;
	line-height: 24px;
}

@media (max-width: 767px) {
	.tec-factbox .et_pb_blurb_description p {
		padding: 12px 14px;
		font-size: 15px;
		justify-content: flex-start;
	}
}

/* schmale Phones: eine Spalte, damit keine Werte umbrechen */
@media (max-width: 480px) {
	.tec-factbox .et_pb_blurb_description {
		grid-template-columns: 1fr;
	}
}

/* #endregion Fact Box */

.et_pb_module.et_pb_blurb.et_pb_blurb_3.tec-tile:last-child {
	border-radius: 10px 10px 10px 10px;
	overflow: hidden;
	padding-top: 30px !important;
	padding-right: 30px !important;
	padding-bottom: 30px !important;
	padding-left: 30px !important;
}