.hlc-chapter-list .is-subchapter {
	margin-left: 42px;
}

.hlc-chapter-list .is-subchapter a {
	border-left: 4px solid #dcd2e8;
	background: #fcfbfd;
}

.hlc-chapter-list .is-subchapter .hlc-chapter-number {
	width: 40px;
	height: 40px;
	font-size: .84rem;
}

.hlc-chapter-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.hlc-chapter-navigation .hlc-button {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
}

.hlc-chapter-navigation .hlc-button:only-child {
	grid-column: 2;
}

.hlc-course-section {
	margin-top: 20px;
}

.hlc-course-section:first-child {
	margin-top: 0;
}

.hlc-course-section > div {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(73, 99, 77, .14);
	border-radius: 16px;
	background: linear-gradient(135deg, #edf0f4, #e8e1ef);
	padding: 18px 20px;
	color: #40536f;
	font-size: 1.2rem;
}

.hlc-course-section__icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: #66577a;
}

.hlc-learning-journey {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(rgba(255, 253, 247, .9), rgba(247, 241, 225, .94)),
		repeating-linear-gradient(35deg, rgba(117, 91, 54, .07) 0 1px, transparent 1px 8px);
	border-color: #d9ccb0;
}

.hlc-learning-journey__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.hlc-learning-journey__heading h3 {
	margin: 3px 0 0;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.hlc-learning-journey__heading > strong {
	display: grid;
	width: 74px;
	height: 74px;
	flex: 0 0 auto;
	place-items: center;
	border: 7px solid #dce6d8;
	border-radius: 50%;
	background: #fff;
	color: #49634d;
	font-size: 1.15rem;
	box-shadow: 0 8px 20px rgba(41, 53, 45, .09);
}

.hlc-learning-journey__hint {
	max-width: 700px;
	color: #607067;
}

.hlc-rome-map {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 24px 0 18px;
	border: 1px solid #cdbc9d;
	border-radius: 24px;
	aspect-ratio: 3 / 2;
	background: #ead9b8 url("../images/rome-learning-map.jpg") center/cover no-repeat;
	box-shadow: inset 0 0 45px rgba(87, 65, 37, .18), 0 16px 34px rgba(61, 49, 34, .12);
}

.hlc-rome-map__stop {
	position: absolute;
	top: var(--map-y);
	left: var(--map-x);
	display: flex;
	max-width: 150px;
	align-items: center;
	gap: 7px;
	border: 2px solid rgba(79, 96, 75, .4);
	border-radius: 999px;
	background: rgba(255, 253, 247, .94);
	padding: 5px 10px 5px 5px;
	color: #29352d;
	text-decoration: none;
	box-shadow: 0 5px 14px rgba(55, 42, 26, .22);
	transform: translate(-50%, -50%);
	transition: transform .18s ease, box-shadow .18s ease;
}

.hlc-rome-map__route {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.hlc-rome-map__route-base,
.hlc-rome-map__route-segment {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.hlc-rome-map__route-base {
	stroke: rgba(255, 253, 244, .92);
	stroke-width: 9;
}

.hlc-rome-map__route-segment {
	stroke: rgba(92, 79, 59, .48);
	stroke-width: 4;
	stroke-dasharray: 4 8;
}

.hlc-rome-map__route-segment.is-lit {
	stroke: #718c74;
	stroke-width: 8;
	stroke-dasharray: none;
	filter: drop-shadow(0 0 4px rgba(224, 170, 53, .9)) drop-shadow(0 0 8px rgba(113, 140, 116, .85));
}

.hlc-rome-map__stop:hover,
.hlc-rome-map__stop:focus-visible {
	z-index: 4;
	box-shadow: 0 9px 22px rgba(55, 42, 26, .3);
	transform: translate(-50%, -50%) scale(1.05);
}

.hlc-rome-map__stop > span {
	display: grid;
	width: 31px;
	height: 31px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: #e5daef;
	color: #5b496e;
	font-weight: 900;
}

.hlc-rome-map__stop strong {
	overflow: hidden;
	font-size: .76rem;
	line-height: 1.16;
	text-overflow: ellipsis;
}

.hlc-rome-map__stop.is-done {
	border-color: #718c74;
	background: rgba(239, 247, 237, .96);
	box-shadow: 0 0 0 5px rgba(113, 140, 116, .2), 0 0 17px rgba(224, 170, 53, .62);
}

.hlc-rome-map__stop.is-done > span {
	background: #718c74;
	color: #fff;
}

.hlc-rome-map__stop.is-current {
	z-index: 3;
	border-color: #d49c25;
	box-shadow: 0 0 0 6px rgba(224, 170, 53, .2), 0 9px 22px rgba(55, 42, 26, .28);
	animation: hlc-map-pulse 2s ease-in-out infinite;
}

.hlc-rome-map__stop.is-current > span {
	background: #e0aa35;
	color: #fff;
}

@keyframes hlc-map-pulse {
	0%, 100% { box-shadow: 0 0 0 5px rgba(224, 170, 53, .18), 0 7px 18px rgba(55, 42, 26, .24); }
	50% { box-shadow: 0 0 0 11px rgba(224, 170, 53, .05), 0 0 24px rgba(224, 170, 53, .78); }
}

@media (prefers-reduced-motion: reduce) {
	.hlc-rome-map__stop.is-current {
		animation: none;
	}
}

.hlc-journey-list-toggle {
	margin-top: 16px;
	border: 1px solid rgba(73, 99, 77, .16);
	border-radius: 16px;
	background: rgba(255, 255, 255, .75);
	padding: 12px 16px;
}

.hlc-journey-list-toggle > summary {
	cursor: pointer;
	color: #49634d;
	font-weight: 800;
}

.hlc-journey-path {
	position: relative;
	gap: 18px;
	margin-top: 28px;
	padding: 28px 18px 34px;
}

.hlc-journey-path::before {
	position: absolute;
	top: 16px;
	bottom: 26px;
	left: 50%;
	width: 8px;
	border-radius: 999px;
	background: repeating-linear-gradient(to bottom, #b89c68 0 15px, transparent 15px 25px);
	content: "";
	opacity: .7;
	transform: translateX(-50%);
}

.hlc-journey-stop,
.hlc-journey-milestone,
.hlc-journey-path .hlc-course-section {
	position: relative;
	z-index: 1;
}

.hlc-journey-path .hlc-journey-stop.is-subchapter {
	margin-left: 0;
}

.hlc-journey-stop a {
	width: calc(50% - 46px);
	border-width: 2px;
	padding: 18px 20px;
	box-shadow: 0 8px 22px rgba(41, 53, 45, .06);
}

.hlc-journey-stop.is-right a {
	margin-left: auto;
}

.hlc-journey-stop.is-left a {
	margin-right: auto;
}

.hlc-journey-stop::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 19px;
	height: 19px;
	border: 5px solid #f8f1df;
	border-radius: 50%;
	background: #9a8157;
	content: "";
	box-shadow: 0 2px 8px rgba(77, 58, 35, .22);
	transform: translate(-50%, -50%);
}

.hlc-journey-stop.is-done::after {
	background: #728c74;
}

.hlc-journey-stop.is-current::after {
	width: 25px;
	height: 25px;
	background: #e0aa35;
	box-shadow: 0 0 0 8px rgba(224, 170, 53, .18);
}

.hlc-journey-stop a > span:nth-child(2) {
	display: flex;
	flex-direction: column;
}

.hlc-journey-stop a small {
	order: -1;
	margin: 0 0 3px;
	color: #79688b;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.hlc-journey-stop a em,
.hlc-journey-milestone em {
	margin-top: 4px;
	color: #68736a;
	font-size: .86rem;
	font-style: normal;
}

.hlc-journey-stop.is-current a {
	border-color: #8ba06d;
	background: linear-gradient(135deg, #f4f8ee, #fff);
	box-shadow: 0 12px 30px rgba(88, 111, 72, .16);
	transform: translateY(-3px);
}

.hlc-journey-stop.is-current .hlc-chapter-number {
	background: #e0aa35;
	color: #fff;
	box-shadow: 0 0 0 7px rgba(224, 170, 53, .15);
}

.hlc-journey-stop.is-done a {
	border-color: rgba(114, 140, 116, .32);
	background: #f2f7f0;
}

.hlc-journey-milestone {
	display: flex;
	max-width: 430px;
	align-items: center;
	gap: 15px;
	margin: 12px auto;
	border: 1px dashed #b6adbf;
	border-radius: 18px;
	background: #f4eff8;
	padding: 14px 18px;
	color: #5b496e;
	box-shadow: 0 10px 24px rgba(61, 47, 74, .1);
}

.hlc-journey-milestone > span {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #d7c9e2;
	font-family: Georgia, serif;
	font-size: 1.35rem;
}

.hlc-journey-milestone div {
	display: flex;
	flex-direction: column;
}

.hlc-journey-milestone small {
	color: #79688b;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hlc-journey-milestone.is-reached {
	border-color: #8ca174;
	background: #edf5e9;
	color: #49634d;
}

.hlc-journey-map {
	position: absolute;
	inset: 128px 0 0;
	pointer-events: none;
	color: rgba(103, 79, 48, .11);
	font-family: Georgia, serif;
}

.hlc-journey-map span {
	position: absolute;
	display: block;
}

.hlc-journey-map__sun {
	top: 7px;
	right: 7%;
	font-size: 5rem;
}

.hlc-journey-map__column {
	top: 28%;
	left: 5%;
	border-top: 13px solid currentColor;
	border-bottom: 16px solid currentColor;
	padding: 6px 15px;
	font-size: 4.5rem;
	letter-spacing: -.18em;
}

.hlc-journey-map__laurel {
	right: 5%;
	bottom: 9%;
	font-size: 7rem;
	transform: rotate(-18deg);
}

.hlc-journey-path .hlc-course-section {
	margin-right: 6%;
	margin-left: 6%;
}

/* Ruhige, gut scannbare Lernroute: grafisch, aber ohne Zickzack-Lesefluss. */
.hlc-journey-map {
	display: none;
}

.hlc-journey-path {
	padding-right: 0;
	padding-left: 72px;
}

.hlc-journey-path::before {
	left: 31px;
	width: 5px;
	transform: none;
}

.hlc-journey-stop a,
.hlc-journey-stop.is-left a,
.hlc-journey-stop.is-right a {
	width: 100%;
	margin: 0;
}

.hlc-journey-stop::after,
.hlc-journey-stop.is-current::after {
	left: -41px;
}

.hlc-journey-stop.is-current a {
	transform: none;
}

.hlc-journey-milestone {
	max-width: none;
	margin: 4px 0;
}

.hlc-journey-path .hlc-course-section {
	margin-right: 0;
	margin-left: 0;
}

@media (max-width: 600px) {
	.hlc-chapter-list .is-subchapter {
		margin-left: 18px;
	}

	.hlc-chapter-navigation {
		grid-template-columns: 1fr;
	}

	.hlc-chapter-navigation .hlc-button:only-child {
		grid-column: auto;
	}

	.hlc-journey-path::before {
		left: 30px;
	}

	.hlc-journey-stop.is-current a {
		transform: none;
	}

	.hlc-journey-stop a {
		width: 100%;
		margin-left: 0 !important;
	}

	.hlc-journey-stop::after {
		left: -35px;
	}

	.hlc-journey-milestone {
		margin-left: 0;
	}

	.hlc-journey-map__column {
		display: none !important;
	}
}

@media (max-width: 600px) {
	.hlc-rome-map {
		border-radius: 16px;
	}

	.hlc-rome-map__stop {
		max-width: none;
		padding: 3px;
	}

	.hlc-rome-map__stop > span {
		width: 28px;
		height: 28px;
	}

	.hlc-rome-map__stop strong {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.hlc-journey-path {
		padding-right: 0;
		padding-left: 48px;
	}

	.hlc-journey-path::before {
		left: 20px;
	}

	.hlc-journey-stop::after,
	.hlc-journey-stop.is-current::after {
		left: -29px;
	}

	.hlc-journey-stop a {
		padding: 14px;
	}
}
