#content {
	margin: 20px 0 40px 0;
	padding: 0 10px;
}
@media (min-width: 500px) {
	#content {
		padding: 0 40px;
	}
}
@media (min-width: 800px) {
	#content > * {
		margin: 0 auto;
		width: 100%;
		max-width: 1200px;
	}
}
main a {
	white-space: nowrap;
}


#content > p:first-child {
	margin-top: 20px;
	margin-bottom: 40px;
}

#packages {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1.25rem;
	justify-content: space-between;
	align-content: center;
	max-width: 1400px;
}
#packages .package {
	display: flex;
	flex-direction: column;
	width: 100%;

	overflow: hidden;
	border-radius: 8px;
	border: solid 1px #1c1c1c;
	background-color: #f0f0f0;
	box-shadow: 0 0 8px #0005;
}
@media (min-width: 600px) {
	#packages .package {
		width: calc(50% - 1em);
	}
}
@media (min-width: 1200px) {
	#packages .package {
		width: calc(33% - 1em);
	}
}
#packages .package.full-card {
	position: relative;
	align-self: flex-start;
	color: white;
}
#packages .package .head {
	z-index: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 16px;
	padding: 30px 20px;
	aspect-ratio: 16/9;

	color: white;
}
#packages .package.full-card .head {
	font-size: 150%;
}
@media (min-width: 800px) {
	#packages .package .head {
		font-size: 1.75em;
	}
}
#packages .package .head .name,
#packages .package .head .price {
	z-index: 1;
	white-space: nowrap;
	margin: 0;
	filter: drop-shadow(0 0 3px #000);
	transition: all 0.2s ease-in-out;
}


#packages .package .head .background,
#packages .package.full-card .background {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #333;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 2em black;
	filter: brightness(50%);

	transition: all 0.2s ease-in-out;
}
#packages .package .head:hover .background,
#packages .package .head:active .background,
#packages .package.full-card:hover .background,
#packages .package.full-card:active .background {
	filter: brightness(100%);
}
#packages .package .head:hover .name,
#packages .package .head:hover .price,
#packages .package .head:active .name,
#packages .package .head:active .price {
	opacity: 0;
}

#packages .package .delivery-button {
	align-self: self-start;
	background-color: #1c1c1c;
	border-radius: 16px;
	padding: 4px 12px;
	margin: 0 1em;
	margin-bottom: 0.5em;
	color: white;
	cursor: pointer;
}
#packages .package .delivery-button input {
	display: none;
}
#packages .package .delivery-button svg {
	height: 1.2em;
	vertical-align: middle;
	fill: white;
	transform: translateY(-1px);
}
#packages .package .delivery-button span {
	vertical-align: middle;
	position: relative;
	top: 2px;
}
#packages .package .delivery-button img {
	display: none;
	width: 100%;
	border-radius: 8px;
	margin-top: 8px;
	margin-bottom: 8px;
}
#packages .package .delivery-button input:checked ~ img {
	display: block;
}

#packages .package ul {
	list-style: none;
	margin: 0 1em;
	padding: 0;
}
#packages .package li {
	margin-bottom: 0.2em;
	white-space: nowrap;
}
#packages .package li .count,
#packages .package li .name {
	display: inline-block;
	vertical-align: top;
	white-space: initial;
}
#packages .package li .count {
	width: 2em;
	text-align: right;
}
#packages .package li .count::after {
	content: "x";
	padding-right: 4px;
}
#packages .package li .name {
	width: calc(100% - 2em);
}

#packages .package .button-container {
	z-index: 1;
	margin: 0.5em;
	margin-top: auto;
}
#packages .package .anfrage-button {
	display: block;
	height: 1.75em;
	margin-top: 0.5em;
	padding: 0 0.5em;

	line-height: 1.9em;
	border-radius: 0.875em;
	color: white;
	background-color: #1c1c1c;
	text-decoration: none;
	text-align: center;
}
#packages .package.full-card .anfrage-button {
	font-weight: bold;
	background-color: white;
	color: var(--text-color);
}
