/* ---------------------------------------- */
/* CSS Eleni - Beschte Lebbe!               */
/* ---------------------------------------- */


/* ---------------------------------------- */
/* 1) FONT-FACES                            */
/* ---------------------------------------- */
@font-face {
	font-family: "IBM Plex Sans";
	src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("fonts/IBMPlexSans-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "IBM Plex Sans";
	src: url("fonts/IBMPlexSans-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}


/* ---------------------------------------- */
/* 2) ROOT VARIABLEN                        */
/* ---------------------------------------- */
:root {
	--red-dark: #8B1E2D;
	--red: #C1272D;
	--grey-dark: #333333;
	--grey-mid: #4A4A4A;
	--grey-light: #F2F2F2;
	--white: #FFFFFF;
	--soft-grey: #E8E8E8;
	--max-width: 1100px;
}


/* ---------------------------------------- */
/* 3) GLOBAL ELEMENTE                       */
/* ---------------------------------------- */
body {
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 18px;
	line-height: 1.55;
	color: var(--grey-dark);
	margin: 0;
	background: var(--white);
}

.no-scroll {
	overflow: hidden;
}

img {
	width: 100%;
	height: auto;
	display: block;
}

section {
	padding: 32px 20px;
	max-width: var(--max-width);
	margin: 0 auto;
}

.skip-link {
	position: absolute;
	top: -40px;
	left: 10px;
	background: var(--red);
	color: var(--white);
	padding: 8px 12px;
	border-radius: 6px;
	text-decoration: none;
	transition: top 0.2s ease;
	z-index: 9999;
}

.skip-link:focus {
	top: 10px;
}

a:focus,
button:focus,
input:focus {
	outline: 3px solid var(--red);
	outline-offset: 3px;
}


/* ---------------------------------------- */
/* 4) TYPOGRAFIE                            */
/* ---------------------------------------- */
h1,
h2,
h3,
p,
blockquote {
	margin-top: 0;
}

h1 {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 8px;
}

.hero-subpage h1 {
	border-bottom: 3px solid var(--red);
	padding-bottom: 6px;
	display: inline-block;
}

h2 {
	font-size: 24px;
	font-weight: 600;
	color: var(--red);
	font-variant: small-caps;
	letter-spacing: 0.8px;
	margin-bottom: 8px;
}

h3 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 8px;
}

h4 {
	font-size: 18px;
	line-height: 1.55;
	color: var(--grey-dark);
	font-weight: 600;
	margin-bottom: 8px;
	margin-top: 0;
}

p {
	margin-bottom: 8px;
}

p+h2 {
	margin-top: 36px;
}

p+h4 {
	margin-top: 36px;
}

blockquote {
	font-style: italic;
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0.2px;
	line-height: 1.55;
	color: var(--grey-mid);
	border-left: 2px solid var(--red);
	padding-left: 14px;
	margin: 12px 0;
}


/* ---------------------------------------- */
/* 5) LINKS                                 */
/* ---------------------------------------- */

a {
	color: #8B1E2D;
	text-decoration: none;
	border-bottom: 1px solid #C1272D;
	padding-bottom: 2px;
	transition: 0.3s ease;
}

a:hover {
	color: #C1272D;
	border-bottom-color: #8B1E2D;
}

main a {
	color: var(--red);
	text-decoration: none;
	background-image: linear-gradient(var(--red-dark), var(--red-dark));
	background-size: 0% 1.5px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	padding-bottom: 2px;
	transition: background-size 0.35s ease, color 0.35s ease;
}

main a:hover {
	background-size: 100% 1.5px;
	color: var(--red);
}


/* ---------------------------------------- */
/* 6) LAYOUT (ABOUT-BLOCK, FIGURES, GRIDS)  */
/* ---------------------------------------- */
.about-block {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.about-block+.about-block {
	margin-top: 36px;
}

.about-block.image-right .portrait {
	flex-shrink: 0;
}

.portrait img {
	max-width: 420px;
	border-radius: 4px;
}

.strandbild img {
	max-width: 420px;
	max-height: 480px;
	object-fit: cover;
	object-position: center;
	height: auto;
}

.content-image img {
	max-width: 720px;
	margin: 24px 0;
}

figure figcaption {
	font-size: 14px;
	color: var(--grey-mid);
	margin-top: 6px;
	text-align: center;
	line-height: 1.4;
}

.portrait.neo figcaption {
	text-align: left;
	padding-left: 4px;
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px;
}

.box,
.highlight {
	background: var(--soft-grey);
	border-radius: 12px;
	padding: 32px 26px;
}

.highlight {
	text-align: center;
	font-size: 20px;
	line-height: 1.6;
}


/* ---------------------------------------- */
/* 7) LISTEN (GLOBAL)                       */
/* ---------------------------------------- */
main ul {
	list-style: none;
	padding-left: 1.2em;
	margin: 0 0 1em 0;
}

main ul li {
	position: relative;
	margin-bottom: 0.4em;
}

main ul li::before {
	content: "»";
	position: absolute;
	left: -1.2em;
	top: 50%;
	transform: translateY(-50%);
	color: var(--red);
	font-weight: bold;
	font-size: 20px;
	line-height: 1;
}


/* ---------------------------------------- */
/* 8) HERO & SUB-HERO                       */
/* ---------------------------------------- */
.hero {
	position: relative;
	padding-top: 230px;
	padding-bottom: 48px;
	background-image: url("../images/startbild.png");
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(2px);
}

.hero>* {
	position: relative;
	z-index: 1;
	max-width: 520px;
}

.hero p {
	margin-bottom: 16px;
}

.hero img {
	width: 100%;
	max-width: 420px;
	height: auto;
	display: block;
}

.sub-hero {
	position: relative;
	padding-top: 230px;
	padding-bottom: 40px;
}

.sub-hero>* {
	position: relative;
	z-index: 1;
	max-width: 650px;
}


/* ---------------------------------------- */
/* 9) BUTTONS                               */
/* ---------------------------------------- */
.button,
a.button {
	display: inline-block;
	background: var(--red);
	color: var(--white);
	padding: 12px 28px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	font-size: 18px;
	cursor: pointer;
	margin-bottom: 12px;
	margin-top: 18px;
	transition: background 0.25s ease;
}


/* ---------------------------------------- */
/* 10) NAVIGATION (DESKTOP & MOBILE)        */
/* ---------------------------------------- */
.nav-header {
	position: fixed;
	top: 0;
	width: 100%;
	background: var(--white);
	border-bottom: 1px solid var(--grey-light);
	z-index: 1000;
	height: auto;
	overflow: visible;
}

.nav-container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	position: relative;
}

.logo-img {
	width: 145px;
	height: 145px;
	object-fit: contain;
	margin-bottom: 1px;
}

.nav {
	margin-top: -2px;
	margin-right: 8px;
}

.nav ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}

.nav a {
	text-decoration: none;
	color: var(--grey-mid);
	font-size: 18px;
	font-weight: 600;
	font-variant: small-caps;
	letter-spacing: 0.8px;
	padding-bottom: 3px;
	border-bottom: 2px solid transparent;
	transition: all 0.25s ease;
}

.nav a:hover,
.nav a.active {
	border-bottom: 2px solid var(--red);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	position: static;
}

.nav-toggle span {
	width: 26px;
	height: 3px;
	background: var(--grey-dark);
	border-radius: 2px;
	transition: all 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
	transform: rotate(45deg) translateY(8px);
}

.nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
	transform: rotate(-45deg) translateY(-8px);
}

.mobile-nav {
	display: none;
	background: var(--white);
	border-bottom: 1px solid var(--grey-light);
}

.mobile-nav.open {
	display: block;
	position: relative;
	z-index: 999;
}

.mobile-nav ul {
	list-style: none;
	padding: 20px;
	margin: 0;
}

.mobile-nav li {
	padding: 10px 0;
}

.mobile-nav a {
	text-decoration: none;
	color: var(--grey-mid);
	font-size: 20px;
	font-weight: 600;
	font-variant: small-caps;
	letter-spacing: 0.8px;
	padding-bottom: 3px;
	border-bottom: 2px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	border-bottom: 2px solid var(--red);
}


/* ---------------------------------------- */
/* 11) FOOTER                               */
/* ---------------------------------------- */
.footer {
	background: var(--grey-light);
	padding: 60px 20px 20px 20px;
	margin-top: 60px;
}

.footer-container {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 32px;
	text-align: right;
}

.footer-left h3 {
	font-size: 14px;
	font-weight: 700;
	color: var(--red);
	margin-bottom: 8px;
	text-align: right;
}

.footer-left p {
	font-size: 14px;
	margin-bottom: 8px;
	text-align: right;
}

.footer-right ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
}

.footer-right li {
	margin-bottom: 8px;
}

.footer .footer-right a {
	font-size: 14px;
	text-decoration: none;
	text-decoration-color: var(--grey-mid);
	color: var(--grey-mid);
	font-variant: small-caps;
	letter-spacing: 0.5px;
	border-bottom: none !important;
}

.footer .footer-right a:hover {
	color: var(--red);
	text-decoration-color: var(--red);
	border-bottom: none !important;
}

.footer-bottom {
	text-align: center;
	margin-top: 32px;
	font-size: 14px;
	color: var(--grey-mid);
}


/* ---------------------------------------- */
/* 12) FORMULARE (KONTAKT)                  */
/* ---------------------------------------- */
.kontakt-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
}

.form-row {
	display: flex;
	gap: 20px;
}

.form-field {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kontakt-form label {
	font-weight: 600;
	color: var(--grey-dark);
}

.kontakt-form input,
.kontakt-form textarea {
	padding: 12px 14px;
	border: 1px solid var(--grey-light);
	border-radius: 8px;
	font-size: 18px;
	font-family: "IBM Plex Sans", sans-serif;
	color: var(--grey-dark);
	background: var(--white);
	transition: border-color 0.2s ease;
}

.kontakt-form input:hover,
.kontakt-form textarea:hover {
	border-color: var(--grey-mid);
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
	outline: 3px solid var(--red);
	outline-offset: 2px;
}

.kontakt-form button {
	display: inline-block;
	align-self: flex-start;
	background: var(--red);
	color: var(--white);
	padding: 12px 28px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	font-size: 18px;
	cursor: pointer;
	margin-bottom: 12px;
	transition: background 0.25s ease;
	border: none;
}

.kontakt-form button:hover {
	background: var(--red-dark);
}

.checkbox-field {
	display: flex;
	align-items: flex-start;
	margin-top: 4px;
}

.checkbox-label {
	display: flex;
	gap: 10px;
	font-size: 16px;
	color: var(--grey-light);
	line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--red);
}

.checkbox-label a {
	color: var(--red);
	text-decoration: underline;
}

.honeypot {
	display: none;
}


/* ---------------------------------------- */
/* 13) ERROR & MAINTENANCE SEITEN           */
/* ---------------------------------------- */
.error-hero {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 60px 20px;
}

.error-number {
	font-size: 120px;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(135deg, #8B1E2D, #C1272D, #4A4A4A);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	flex-shrink: 0;
}

.error-text {
	max-width: 500px;
}

.error-text h1 {
	margin-bottom: 16px;
}

.maintenance-number {
	font-size: 100px;
	line-height: 1;
	background: linear-gradient(135deg, #8B1E2D, #C1272D, #4A4A4A);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	flex-shrink: 0;
}


/* ---------------------------------------- */
/* 14) RESPONSIVE BREAKPOINTS               */
/* ---------------------------------------- */
@media (max-width: 900px) {
	.nav ul {
		display: none;
	}

	.nav-toggle {
		display: flex;
		position: static;
		z-index: 2000;
	}

	.nav-container {
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		gap: 8px;
	}

	.logo-img {
		width: 120px;
		height: auto;
	}

	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr;
	}

	.footer-container {
		flex-direction: column;
		text-align: right;
		align-items: flex-end;
	}
}

@media (max-width: 700px) {
	.about-block {
		flex-direction: column;
	}

	.portrait img,
	.content-image img {
		max-width: 100%;
	}

	.error-hero {
		flex-direction: column;
		text-align: center;
	}

	.error-number {
		font-size: 90px;
	}

	.form-row {
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	section {
		padding: 24px 16px;
	}

	h1 {
		font-size: 38px;
	}

	h2 {
		font-size: 30px;
	}

	h3 {
		font-size: 22px;
	}

	.button {
		padding: 14px 30px;
	}
}