/* =========================
   STANDARD SMALL HERO
   ========================= */

section.hero.hero-standard-small {
	position: relative;

	display: grid;
	grid-template-columns: minmax(0, 1fr);

	justify-content: stretch;
	align-content: stretch;

	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;
	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
   ========================= */

section.hero.hero-standard-small .hero-image {
	position: absolute;

	inset: 0;

	z-index: 0;

	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}


/* =========================
   CONTENT
   ========================= */

section.hero.hero-standard-small .hero-content {
	position: relative;

	top: auto;
	right: auto;
	bottom: auto;
	left: auto;

	z-index: 1;

	width: min(800px, 100%);
	max-width: 800px;

	margin: 0;

	padding: 1.5rem 2rem;

	box-sizing: border-box;

	transform: none;
}


/* =========================
   POSITION: MITTE
   ========================= */

section.hero.hero-standard-small.hero-position-center .hero-content {
	align-self: center;
	justify-self: center;
}


/* =========================
   POSITION: OBEN LINKS
   ========================= */

section.hero.hero-standard-small.hero-position-top-left .hero-content {
	align-self: start;
	justify-self: start;
}


/* =========================
   POSITION: OBEN RECHTS
   ========================= */

section.hero.hero-standard-small.hero-position-top-right .hero-content {
	align-self: start;
	justify-self: end;
}


/* =========================
   POSITION: UNTEN LINKS
   ========================= */

section.hero.hero-standard-small.hero-position-bottom-left .hero-content {
	align-self: end;
	justify-self: start;
}


/* =========================
   POSITION: UNTEN RECHTS
   ========================= */

section.hero.hero-standard-small.hero-position-bottom-right .hero-content {
	align-self: end;
	justify-self: end;
}


/* =========================
   ABSTÄNDE IM CONTENT
   ========================= */

section.hero.hero-standard-small .hero-content h1 {
	margin: 0 0 0.5rem 0;
}


section.hero.hero-standard-small .hero-subheadline {
	margin: 0 0 0.9rem 0;
}


section.hero.hero-standard-small .hero-text {
	margin: 0;
}


section.hero.hero-standard-small .hero-text > :first-child {
	margin-top: 0;
}


section.hero.hero-standard-small .hero-text > :last-child {
	margin-bottom: 0;
}


section.hero.hero-standard-small .hero-text p {
	margin-top: 0;
	margin-bottom: 0.75rem;

	line-height: 1.5;
}


/* =========================
   LISTEN
   ========================= */

section.hero.hero-standard-small .hero-text ul,
section.hero.hero-standard-small .hero-text ol {
	margin-top: 0.75rem;
	margin-bottom: 0;

	padding-left: 1.25rem;
}


section.hero.hero-standard-small .hero-text li {
	margin: 0;

	line-height: 1.4;
}


section.hero.hero-standard-small .hero-text li + li {
	margin-top: 0.5rem;
}


/* =========================
   BUTTON
   ========================= */

section.hero.hero-standard-small .hero-button {
	margin-top: 1rem;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

	section.hero.hero-standard-small {
		min-height: 320px;

		padding: 2rem 1rem;
	}


	section.hero.hero-standard-small .hero-content {
		width: 100%;
		max-width: 650px;

		padding: 1.25rem 1.5rem;
	}

}