:root {
	/* 
Hintergrund hell Flieder 
Kontrast-Pink #F2B6D0
Kontrast-Dunkel #251a1e
additional
#372526 #251a1e #191315
#f4eafa #E6D1F7 
#ffeaed #f5c5d9 #be7a95
#ffffff
*/
	--text-primary: #fff;
	--text-secondary: #191315;

	--primary: #f2b6d0;
	--secondary: #be7a95;
	--tertiary: #251a1e;
	--quaternary: #191315;
	--quinary: #e6d1f7;

	--primary-accent: #f4eafa;
	--secondary-accent: #ffeaed;

	--icon: #929292;

	--color-success: #48ff00;
	--color-warning: #ffbb00;
	--color-failure: #ff0000;

	--size-nav: 1.125rem;
	--size-text: 1.25rem;
	--size-h1: 3.5rem;
	--size-h2: 2.25rem;
	--size-h3: 1.65rem;
	--line-height: 1.75rem;
}
*,
* ::before,
* ::after {
	box-sizing: border-box;
	font-family: 'Questrial', sans-serif;
	margin: 0;
	padding: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--secondary) var(--text-secondary);
}

@font-face {
	font-family: Lazydog;
	src: url('/fonts/Lazydog.otf');
}
::-webkit-scrollbar {
	width: 0px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}
h1 {
	font-size: var(--size-h1);
	line-height: var(--size-h1);
	margin-block: 0;
	font-family: 'Lazydog';
}
h2 {
	font-size: var(--size-h2);
	line-height: calc(var(--size-h2) * 1.25);
	font-family: 'Lazydog';
	color: var(--primary-accent);
}
h3 {
	font-size: var(--size-h3);
	line-height: calc(var(--size-h3) * 1.25);
	font-family: 'Lazydog';
	color: var(--secondary-accent);
}
h4 {
	font-size: var(--size-text);
	line-height: calc(var(--size-text) * 1.25);
	font-family: 'Questrial';
}
p {
	max-width: 80ch;
	text-wrap: pretty;
	margin-top: 0;
	margin-bottom: 0.65em;
	font-family: 'Questrial';
}
a {
	font-family: inherit;
	text-decoration: underline;
	cursor: pointer;
}
a:link {
	color: var(--text-primary);
	cursor: pointer;
}
a:visited {
	color: var(--text-primary);
}
ul {
	margin-block: 0;
	padding-left: 2em;
	list-style-type: square;
	list-style-position: outside;
	image-rendering: pixelated;
}
ol {
	list-style-position: inside;
}
li {
	margin-block: 1em;
}
table {
	width: 100%;
	margin-block: 0.5rem;
	border-collapse: collapse;
	font-size: 0.875rem;
	background: var(--secondary-accent);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(25, 19, 21, 0.1);
	color: var(--text-secondary);
	overflow-x: hidden;
	white-space: wrap;
}

th,
td {
	padding: 14px 20px;
	text-align: left;
	border-bottom: 1px solid var(--tertiary);
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
}

th {
	background-color: var(--tertiary);
	font-weight: 600;
	color: var(--text-primary);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 2px solid var(--secondary);
}
td {
	background-color: var(--primary-accent);
	transition: all 0.2s ease;
}

tr:last-child td {
	border-bottom: none;
}
tr:nth-of-type(even) td {
	background-color: var(--quinary);
}
hr {
	width: 100%;
	height: 0.25rem;
	background-color: var(--tertiary);
	border: none;
	box-shadow: 2rem 0 0 0 black, -2rem 0 0 0 black;
}
body {
	min-height: 100vh;
	color: var(--text-primary);
	display: flex;
	justify-content: center;
	font-size: var(--size-text);
	line-height: var(--line-height);
	font-family: 'Questrial', system-ui, sans-serif;
	background-image: url(/img/site/LUPIN_BG_Wald_pink.png);
	background-color: var(--quaternary);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	overflow-x: hidden;
}
.panel {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-height: 100svh;
}
header {
	height: fit-content;
	position: sticky;
	z-index: 1;
	top: 0;
	display: flex;
	flex-direction: row;
	padding: 0.5rem;
	background: var(--text-primary);
	border-bottom: 1px solid var(--quaternary);
}
.logo,
.footer-logo {
	display: flex;
	top: -10px;
	height: 60px;
}
.footer-logo {
	align-self: center;
	margin-inline: auto;
	height: 120px;
	top: unset;
	top: 100px;
}
.footer-logo img {
	object-fit: cover;
}
nav {
	position: relative;
	display: flex;
	flex: 1 1 0;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.75em;
	align-items: center;
	justify-content: center;
}
.nav-toggle {
	display: none;
}
.nav-btn {
	position: relative;
	max-width: 10ch;
	padding: 0.4em;
	color: var(--text-secondary);
	background: none;
	font-size: var(--size-nav);
	font-family: 'Lazydog';
	font-weight: 600;
	word-wrap: break-word;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	border-style: none;
	transition: all 200ms;
}
.nav-btn.active,
.nav-btn:hover,
.nav-btn:focus {
	color: var(--secondary);
	border-radius: 0.5em;
}
.nav-btn:hover,
.nav-btn:focus {
	background-color: var(--secondary-accent);
}
a:nth-of-type(2) .nav-btn {
	max-width: 9ch;
}
.lan-btn {
	display: flex;
	position: absolute;
	top: 5px;
	right: 10px;
	background: none;
	border: none;
	align-items: center;
	font-size: var(--size-nav);
	color: var(--icon);
	-webkit-text-stroke: 1px;
	cursor: pointer;
}
.lan-btn img {
	width: 1.5rem;
	height: 1.5rem;
}
.de::before {
	content: 'DE';
}
.en::before {
	content: 'EN';
}
.lan-btn:active,
.lan-btn:hover,
.lan-btn:focus {
	color: var(--secondary);
}
.section_header {
	position: relative;
	display: flex;
	flex-grow: 1;
	height: 50svh;
	background-image: url('/img/site/default_bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
}
.overlay {
	border-image: fill 1 linear-gradient(rgba(242, 182, 208, 0.5));
}
.home-logo {
	max-height: 100%;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	text-align: center;
}
.section_title {
	font-size: var(--size-h1);
	line-height: var(--size-h1);
	position: absolute;
	align-self: center;
	text-align: center;
	left: 0;
	right: 0;
	pointer-events: none;
	color: var(--text-secondary);
	/* White border around text */
	text-shadow: -2px -2px 0 var(--text-primary), -2px -1px 0 var(--text-primary),
		-2px 0px 0 var(--text-primary), -2px 1px 0 var(--text-primary),
		-2px 2px 0 var(--text-primary), -1px -2px 0 var(--text-primary),
		-1px -1px 0 var(--text-primary), -1px 0px 0 var(--text-primary),
		-1px 1px 0 var(--text-primary), -1px 2px 0 var(--text-primary),
		0px -2px 0 var(--text-primary), 0px -1px 0 var(--text-primary),
		0px 0px 0 var(--text-primary), 0px 1px 0 var(--text-primary), 0px 2px 0 var(--text-primary),
		1px -2px 0 var(--text-primary), 1px -1px 0 var(--text-primary),
		1px 0px 0 var(--text-primary), 1px 1px 0 var(--text-primary), 1px 2px 0 var(--text-primary),
		2px -2px 0 var(--text-primary), 2px -1px 0 var(--text-primary),
		2px 0px 0 var(--text-primary), 2px 1px 0 var(--text-primary), 2px 2px 0 var(--text-primary);
}
main {
	display: grid;
	grid-template-columns: 1fr 1fr 2fr 2fr 1fr 1fr;
	margin-inline: 0;
	flex: 1 1 0;
	padding-block: 1em;
	color: var(--tertiary);
}
main > * {
	grid-column-start: 3;
	grid-column-end: 5;
}
#home main img {
	display: flex;
	float: right;
	shape-outside: circle(50%);
	max-width: 300px;
	margin-right: 1rem;
}
.card {
	position: relative;
	min-height: 20vh;
	margin-block: 4em;
	align-content: center;
	container-type: inline-size;
}
.card:first-of-type {
	margin-top: 3em;
}
.card:last-of-type {
	margin-bottom: 4rem;
}
.card:last-of-type::before {
	height: calc(100% + 10rem);
}
.card::before {
	content: '';
	position: absolute;
	height: calc(100% + 10rem);
	top: -5rem;
	bottom: -5rem;
	left: -50%;
	right: -50%;
	z-index: -1;
	text-align: justify;
	background-color: var(--primary);
	border-left: 0.5rem solid;
	border-right: 0.5rem solid;
}
#home .card {
	height: 55vh;
	align-content: start;
}
.card:nth-of-type(odd) {
	/* #debcf9,#e6d1f7 */
	&::before {
		background-color: var(--primary);
		border-image: linear-gradient(
				to bottom,
				var(--quinary) 0rem 25%,
				var(--primary-accent) 25% 50%,
				var(--tertiary) 50% 75%,
				var(--secondary) 75% 100%
			)
			1;
	}
	& h2 {
		color: #a57fc9;
	}
	& h3 {
		color: var(--text-primary);
	}
}
.card:nth-of-type(even) {
	&::before {
		background-color: var(--quinary);
		border-image: linear-gradient(
				to bottom,
				var(--primary) 0% 25%,
				var(--secondary) 25% 50%,
				var(--tertiary) 50% 75%,
				var(--text-primary) 75% 100%
			)
			1;
	}
	& h2 {
		color: var(--secondary);
	}
	& h3 {
		color: var(--text-primary);
	}
	tr:nth-of-type(even) td {
		background-color: var(--primary);
	}
}
footer {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	padding-top: 2em;
	background: var(--quaternary);
}
footer ul {
	padding-left: 0;
}
.footer-deco {
	position: absolute;
	width: 100%;
	height: 50px;
	bottom: 100%;
	background-size: contain;
	background-repeat: repeat-x;
	overflow-x: hidden;
	background-image: url(/img/site/Tree_landscape_big.png);
}
.footer-deco img {
	object-fit: cover;
}
.footer-links {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.footer-links ul {
	list-style: none;
}
.footer-links li:hover {
	& * {
		color: var(--primary);
	}
}
.footer-links * {
	margin-inline: 0.25em;
	text-decoration: none;
	font-size: calc(var(--size-text) * 1);
}
.socials-list {
	list-style: none;
}
.social-card {
	display: flex;
	flex-direction: row;
	width: fit-content;
}
.social-card p {
	display: inline-block;
	margin: 0;
}
.social-card img {
	position: relative;
	width: 20px;
	top: 4px;
	margin: 0;
}
.partners-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	padding-left: 0;
	gap: 1em;
	align-items: center;
}
.partner-card {
	margin: 0;
}
.partner-card:last-child {
	grid-column: 2;
}
.partner-card img {
	width: 100%;
	max-height: 10rem;
	object-fit: contain;
}
.license {
	width: fit-content;
	margin-inline: auto;
	margin-bottom: 15px;
	display: flex;
	justify-content: center;
	text-align: center;
	flex-direction: row;
	flex-shrink: 1;
}
.license p {
	max-width: 100%;
	display: inline-block;
	flex-wrap: wrap;
	margin-block: 0;
	margin-inline: auto;
	line-height: 1rem;
	font-size: var(--size-nav);
	color: var(--text-primary);
}
.sponsor {
	border: 0.25rem solid #000;
	border-radius: 0.5rem;
	padding: 0.5em;
	margin-bottom: 1em;
}
.sponsor:nth-of-type(1) {
	background-color: var(--text-primary);
	border-color: var(--text-secondary);
}
.sponsor:nth-of-type(2) {
	background-color: var(--primary);
	border-color: var(--secondary);
}
@media (max-width: 1100px) {
	:root {
		--size-nav: 1rem;
		--size-text: 1.125rem;
		--size-h1: 3rem;
		--size-h2: 2rem;
		--size-h3: 1.5rem;
		--line-height: 1.5rem;
	}
	main > * {
		grid-column-start: 2;
		grid-column-end: 6;
	}
	hr {
		width: 100%;
		box-shadow: 12vw 0 0 0 black, -12vw 0 0 0 black;
	}
}
@media (max-width: 900px) {
	main {
		padding-inline: 1rem;
	}
	main > * {
		grid-column-start: 1;
		grid-column-end: 7;
	}
	.card::before {
		left: -1rem;
		right: -1rem;
	}
	.sponsor:nth-of-type(1) {
		grid-column: 1 / span 3;
	}
	.sponsor:nth-of-type(2) {
		grid-column: 4 / span 3;
	}
}
@media (max-width: 800px) {
	nav {
		position: fixed;
		inset: 0 0 0 50%;
		flex-direction: column;
		gap: 2em;
		padding: 4em 0;
		background-color: var(--text-primary);
		border-left: 1px solid #000;
		align-items: start;
		justify-content: start;

		transform: translateX(100%);
		transition: transform 250ms ease-out;
	}
	nav[data-visible='true'] {
		transform: translateX(0%);
	}
	.nav-toggle {
		display: block;
		position: absolute;
		z-index: 10;
		top: 0.325rem;
		right: 0.5rem;
		background-color: transparent;
		border: none;
		cursor: pointer;
		display: flex;
		padding: 0;
	}
	.nav-btn {
		width: fit-content;
		font-size: var(--size-h3);
		text-align: start;
		margin-left: 1rem;
	}
	.line {
		fill: none;
		stroke: black;
		stroke-width: 6;
		transition: stroke-dasharray 400ms cubic-bezier(0.4, 0, 0.2, 1),
			stroke-dashoffset 400ms cubic-bezier(0.4, 0, 0.2, 1);
	}
	.line1 {
		stroke-dasharray: 60 207;
		stroke-width: 6;
	}
	.line2 {
		stroke-dasharray: 60 60;
		stroke-width: 6;
	}
	.line3 {
		stroke-dasharray: 60 207;
		stroke-width: 6;
	}
	.opened .line1 {
		stroke-dasharray: 90 207;
		stroke-dashoffset: -134;
		stroke-width: 6;
	}
	.opened .line2 {
		stroke-dasharray: 1 60;
		stroke-dashoffset: -30;
		stroke-width: 6;
	}
	.opened .line3 {
		stroke-dasharray: 90 207;
		stroke-dashoffset: -134;
		stroke-width: 6;
	}
	.de::before {
		content: '';
	}
	.en::before {
		content: '';
	}
	.section_header {
		max-height: 30svh;
	}
	.sponsor {
		grid-column-start: 1;
		grid-column-end: 7;
	}
	.sponsor:nth-of-type(1) {
		grid-column: 1 / span 7;
		margin-inline: 1rem;
	}
	.sponsor:nth-of-type(2) {
		grid-column: 1 / span 7;
		margin-inline: 1rem;
	}
	.lan-btn {
		right: 4.5rem;
		top: 1.175rem;
		transform: scale(1.5);
		image-rendering: pixelated;
	}
	th,
	td {
		padding: 10px 12px;
		font-size: 0.8rem;
		max-width: 200px; /* Smaller max-width on mobile */
	}
	table {
		border-radius: 8px;
		font-size: 0.8rem;
	}
}
@media (max-width: 600px) {
	:root {
		--size-nav: 0.9rem;
		--size-text: 1rem;
		--size-h1: 2.35rem;
		--size-h2: 1.5rem;
		--size-h3: 1.35rem;
		--line-height: 1.5rem;
	}
	li {
		margin-block: 0.25rem;
	}
	body {
		line-height: var(--line-height);
	}
	th,
	td {
		padding: 8px 10px;
		max-width: 150px;
	}
	.logo {
		height: 50px;
	}
	#home main img {
		max-width: 200px;
		margin-right: 0;
	}
	.social-card {
		margin-bottom: 0;
	}
	.license p {
		margin-inline: 25px;
		margin-top: -6px;
	}
}
