/* =========================
   RESET & GLOBAL SETTINGS
========================= */
* {
	box-sizing: border-box;
}

html {
	font-size: 100%;
}

body {
	margin: 0;
	font-family: 'HelveticaLTStd', system-ui, -apple-system, Arial, Helvetica, sans-serif;
	background: var(--col-back);
	color: var(--col-text);
	overflow-x: hidden;
}

/* =========================
   DESIGN SYSTEM
========================= */
:root {

	/* COLOR */
	--col-back: DarkSlateGrey;
	--col-text: #EEEEEE;
	--col-card: #333333;
	--col-line: #FFFFFF;
	--col-butt: #0066CC;
	--col-blue: #004080;
	--col-over: #0080FF;
	--col-pink: #800040;
	--col-tran: transparent;

	/* TYPOGRAPHY */
	--fnt-xs: 0.9rem;
	--fnt-sm: 1.1rem;
	--fnt-md: 1.4rem;
	--fnt-h1: clamp(2.8rem, 5vw, 4.0rem);
	--fnt-h2: clamp(1.8rem, 4vw, 3.0rem);
	--fnt-h3: clamp(1.2rem, 3vw, 2.0rem);
	--fnt-h4: clamp(0.8rem, 2vw, 1.4rem);

	/* LINE-HEIGHT */
	--lin-sm: 1.2rem;
	--lin-md: 2.2rem;
	--lin-lg: 3.0rem;

	/* RADIUS */
	--rad-sm: 10px;
	--rad-md: 20px;
	--rad-lg: 40px;

}

/* =========================
   NAVIGATION BAR
========================= */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: var(--col-card);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	z-index: 1000;
}

.logo-nav {
	height: 40px;
	width: auto;
	display: block;
}

.logo-home {
	height: auto;
	width: clamp(50px, 10vw, 100px); /* responsive */
	display: block;
	margin: 0 auto;
}

/* Navigation Links */
.nav-links {
	display: flex;
	gap: 20px;
	pointer-events: auto;
}

.nav-links a {
	text-decoration: none;
	color: var(--col-text);
	font-size: var(--fnt-xs);
	font-weight: 400;
	letter-spacing: 1px;
	opacity: 0.85;
	transition: 0.3s;
}

.nav-links a:hover {
	color: var(--col-text);
	opacity: 1;
}

/* Burger Menu Icon */
.menu-toggle {
	font-size: 28px;
	cursor: pointer;
	display: none;
	z-index: 1100;
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 768px) {

	.menu-toggle {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		width: 260px;

		/* Glass Effect */
		background: rgba(20, 20, 20, 0.5);
		border-left: 1px solid rgba(255,255,255,0.05);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);

		border-left: 1px solid rgba(255,255,255,0.1);
		box-shadow: -10px 0 40px rgba(0,0,0,0.25);

		flex-direction: column;
		padding: 80px 20px;
		gap: 20px;

		transition: right 0.3s ease;
		z-index: 1050;
	}

	.nav-links.active {
		right: 0;
	}

	.nav-links a {
		font-size: var(--fnt-sm);
	}

	.nav-links a:hover {
		transform: translateX(5px);
	}
}

/* =========================
   OVERLAY (MENU BACKDROP)
========================= */
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
	z-index: 1000;
}

#overlay.active {
	opacity: 1;
	pointer-events: all;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
	font-family: 'Josefin Sans', sans-serif;
	font-size:  var(--fnt-h1);
	font-weight: 400;
	letter-spacing: -2px;
	margin-bottom: 10px;
	line-height: 1;
}

h2 {
	font-family: 'Josefin Sans', sans-serif;
	font-size: var(--fnt-h2);
	line-height: var(--lin-lg);
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.5;
	margin-bottom: 20px;
}

h3 {
	font-family: 'Josefin Sans', sans-serif;
	font-size: var(--fnt-h3);
	line-height: var(--lin-md);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 4rem;
	margin-bottom: 20px;

	padding: clamp(10px, 2vw, 20px) clamp(12px, 3vw, 24px) clamp(8px, 1.5vw, 12px);

	color: var(--col-text);
	background: rgba(0, 0, 0, 0.5);
	border-radius: var(--rad-sm);

	display: flex;
	justify-content: center; /* horizontal zentrieren */
	align-items: center;     /* vertikal zentrieren */
}

p, ul {
	margin: 0;
	font-size: var(--fnt-md);
	line-height: var(--lin-md);
}

ul {
	margin-top: 20px;
	margin-bottom: 20px;
}

li {
	list-style: square outside;
}

a {
	color: var(--col-over);
	text-decoration: none;
	font-weight: 700;
}

a:hover {
	opacity: 0.85;
}

#home {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center; /* Inhalt mittig */
	position: relative;
}

.person {
	display: block; /* wichtig für margin auto */
	margin: 30px auto 0; /* zentriert + Abstand nach oben */
	width: clamp(160px, 30vw, 320px); /* 🔥 dynamische Größe */
	height: auto;
	border-radius: 50%;
	object-fit: cover: /* verhindert Verzerrung */
}

/* =========================
   LAYOUT
========================= */

section {
	min-height: 100vh;
	padding: 120px 20px 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.card, .card-tran {
	background: var(--col-card);
	border-radius: var(--rad-md);
	padding: 30px;
	text-align: left;
	box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-tran {
	background: var(--col-tran);
	box-shadow: none;
}

/* Trennlinie unter Logo */
.logo-line {
	width: 60px;
	height: 4px;
	background: var(--col-line);
	margin: 20px auto;
	border-radius: 2px;
}

.container {
	width: 95%;
	max-width: 1200px; /* für große Screens */
	margin: 0 auto;
	text-align: center;
}

.container-partner {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%); /* Horizontal zentrieren */
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5vw;
	padding: 20px;
}

.container-partner a {
	display: inline-block;
}

.container-partner img {
	display: block;
	width: clamp(100px, 10vw, 200px);
	height: auto;
	filter: grayscale(100%);
	opacity: 0.85;
	transition: 0.3s;
}

.container-partner img:hover {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.1);
}

/* =========================
   KONTAKTFORMULAR
========================= */

/* Container */
.kontaktformular {
	max-width: 100%;
	background: none;
	padding: none;
	border-radius: none;
	box-shadow: none;
}

/* Label */
.kontaktformular label {
	color: var(--col-text);
	font-size: var(--fnt-md);
	display: block;
	margin-top: 20px;
}

/* Input */
.kontaktformular input, .kontaktformular textarea {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
	border-radius: 10px;
	border: 1px solid rgba(127, 127, 127, 0.5);
	font-size: var(--fnt-md);
	box-sizing: border-box;
}

/* Checkbox */
.checkbox-container {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
}

.checkbox-container input[type="checkbox"] {
	cursor: pointer;
	width: 20px;
	height: 20px;
	margin-top: 20px;
}

.checkbox-container label {
	cursor: pointer;
}

/* Button */
.kontaktformular button {
	width: 100%;
	margin-top: 20px;
	padding: 10px;
	background: var(--col-butt);
	border: none;
	color: white;
	font-size: var(--fnt-md);
	border-radius: var(--rad-sm);
	cursor: pointer;
	transition: 0.3s;
}

.kontaktformular button:hover {
	opacity: 0.85;
}

/* Honeypot */
.honey {
	display: none;
}

/* =========================
   BUTTONS
========================= */

.btndark, .btnlight {
	margin: 2rem;
	text-align: center;
}

.btndark-fon {
	margin: 0;
	text-align: left;
	font-size: var(--fnt-md);
	line-height: var(--lin-lg);
}

.btndark a, .btndark-fon a, .btnlight a {
	display: inline-block;
	padding: 12px 24px;
	border: 1px solid var(--col-butt);
	border-radius: 2em;
	text-decoration: none;
	letter-spacing: .05em;
	transition: 0.3s;
}

.btnlight a {
	color: var(--col-butt);
	background: transparent;
}

.btndark a, .btndark-fon a, .btnlight a:hover {
	background: var(--col-butt);
	color: var(--col-text);
}

.btndark a:hover, .btndark-fon a:hover {
	opacity: 0.85;
}

/* =========================
   GRID
========================= */

.grid {
	margin-top: 20px;
	display: grid;
	gap: 10px;
	padding: 10px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-item {
	text-align: center;
}

.grid-item img {
	width: 100%;
	height: auto;
	cursor: pointer;
	border-radius: var(--rad-sm);
	transition: transform 0.3s;
}

.grid-item img:hover {
	transform: scale(1.05);
}

.caption {
	margin-top: 5px;
	font-size: var(--fnt-xs);
	color: var(--col-text);
}

