/* =========================
   STANDARD SMALL HERO
   ========================= */

.hero-standard-small {
	position: relative;

	display: grid !important;
	grid-template-columns: minmax(0, 1fr);

	justify-content: stretch !important;
	align-content: stretch !important;

	width: 100%;

	/*
	 * Das bisherige 4:1 bleibt ungefähr
	 * als Mindestgröße erhalten.
	 *
	 * Bei mehr Inhalt wächst der Hero
	 * jedoch automatisch weiter.
	 */
	aspect-ratio: auto !important;
	min-height: clamp(320px, 25vw, 480px);

	padding:
		var(--content-block-padding-y, 4rem)
		var(--hero-content-offset, clamp(1.5rem, 5vw, 6rem));

	box-sizing: border-box;

	overflow: hidden;
}


/* =========================
   HINTERGRUNDBILD
   ========================= */

.hero-standard-small .hero-image {
	position: absolute;

	inset: 0;

	z-index: 0;

	display: block;

	width: 100% !important;
	height: 100% !important;

	object-fit: cover;
}


/* =========================
   CONTENT
   ========================= */

.hero-standard-small .hero-content {
	position: relative !important;

	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;

	z-index: 1;

	width: min(800px, 100%) !important;
	max-width: 800px;

	margin: 0;

	padding: 1.5rem 2rem;

	box-sizing: border-box;

	transform: none !important;
}


/* =========================
   POSITION: MITTE
   ========================= */

.hero-standard-small.hero-position-center .hero-content {
	align-self: center;
	justify-self: center;
}


/* =========================
   POSITION: OBEN LINKS
   ========================= */

.hero-standard-small.hero-position-top-left .hero-content {
	align-self: start;
	justify-self: start;
}


/* =========================
   POSITION: OBEN RECHTS
   ========================= */

.hero-standard-small.hero-position-top-right .hero-content {
	align-self: start;
	justify-self: end;
}


/* =========================
   POSITION: UNTEN LINKS
   ========================= */

.hero-standard-small.hero-position-bottom-left .hero-content {
	align-self: end;
	justify-self: start;
}


/* =========================
   POSITION: UNTEN RECHTS
   ========================= */

.hero-standard-small.hero-position-bottom-right .hero-content {
	align-self: end;
	justify-self: end;
}


/* =========================
   ABSTÄNDE IM CONTENT
   ========================= */

.hero-standard-small .hero-content h1 {
	margin: 0 0 0.5rem 0 !important;
}


.hero-standard-small .hero-subheadline {
	margin: 0 0 0.9rem 0 !important;
}


.hero-standard-small .hero-text {
	margin: 0;
}


.hero-standard-small .hero-text > :first-child {
	margin-top: 0 !important;
}


.hero-standard-small .hero-text > :last-child {
	margin-bottom: 0 !important;
}


.hero-standard-small .hero-text p {
	margin-top: 0;
	margin-bottom: 0.75rem;

	line-height: 1.5;
}


/* =========================
   LISTEN
   ========================= */

.hero-standard-small .hero-text ul,
.hero-standard-small .hero-text ol {
	margin-top: 0.75rem;
	margin-bottom: 0;

	padding-left: 1.25rem;
}


.hero-standard-small .hero-text li {
	margin: 0;

	line-height: 1.4;
}


.hero-standard-small .hero-text li + li {
	margin-top: 0.5rem;
}


/* =========================
   BUTTON
   ========================= */

.hero-standard-small .hero-button {
	margin-top: 1rem;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

	.hero-standard-small {
		min-height: 320px;

		padding: 2rem 1rem;
	}


	.hero-standard-small .hero-content {
		width: 100% !important;
		max-width: 650px;

		padding: 1.25rem 1.5rem;
	}

}