/* Custom variables */
:root {
	--pmh-green: #1FC17B;
	--pmh-dark-green: #063937;
	--pmh-red: #E30613;
	--pmh-red-hover: #B1000A;
	--pmh-orange-bg: #F15B431A;
}

body {
	font-family: 'Open Sans', sans-serif;
}

/* Hero section custom styling */
.hero {
	background: radial-gradient(115% 112.49% at 112.47% 113.07%,#1fc17b,#001211);
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.header {
	display: none;
}

.header-bild {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	height: 100%;       /* füllt die volle Höhe der Hero-Section */
	width: auto;        /* Breite passt sich proportional an */
	object-fit: cover;  /* sorgt dafür, dass es sauber skaliert */
}



/* Logo sizing */
.header-logo-pmh {
	max-height: 70px;
}

/* Underline effect - custom styling needed */
.underline {
	position: relative;
	display: inline-block;
}

.underline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.3em;
	width: 100%;
	height: 0.6em;
	background: url('../images/Underlined.svg') no-repeat center;
	background-size: contain;
	pointer-events: none;
	z-index: -1;
}

.hero h1 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 500;
	font-size: 5rem;
	margin-top: 3rem;
	text-align: left;
}

h1 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 500;
	font-size: 5rem;
}

/* Custom container styles */
.wrapper {
	position: relative;
	max-width: 970px;
	margin: 0 auto;
	padding: 2rem 1rem;
	z-index: 2;
	text-align: center;
	padding-top: 6rem;
}

.card p:nth-of-type(3) {
	margin-top: 1rem; /* Abstand über der Email-Zeile */
}

/* Standard für alle Links: unterstrichen nur beim Hover */
a {
	text-decoration: none;
	color: inherit; /* Damit die Farbe vom Elterntext kommt */
}

a:hover {
	text-decoration: underline;
}

/* Für Links in den Cards: keine Unterstreichung und Farbe schwarz, auch beim Hover und Active */
.cards a {
	color: black;
	text-decoration: none;
}

.cards a:hover {
	color: black;
	text-decoration: underline;
}

.cards a:active {
	text-decoration: none;
	color: black;
}

.contact-cards {
	padding: 5rem !important;
}

.hero .wrapper {
	padding-top: 0;
}

/* Section styling */
.section {
	padding: 2rem 2rem 4rem 2rem;
	text-align: center;
	background: #fff;
}

.section h2 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 300;
	font-size: 3rem;
	margin-top: -6rem;
	margin-bottom: 1rem;
}

.section p {
	margin-bottom: -2rem;
}

.card-mt {
	height: 4rem;
}

.card-lz {
	height: 4rem;
}


/* Card sizing and hover effect */


.cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem; /* Abstand zwischen den Karten */
	padding: 2rem;
	margin: 4rem 0 0 0;
}

.card {
	flex: 0 1 320px;   /* Breite fix bei 280px, kann aber bei Bedarf schrumpfen */
	max-width: 380px;
	min-height: 320px; /* gleiche Mindesthöhe, damit sie gleich hoch sind */
	padding: 2rem;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.mb-0 {
	margin-top: 2rem;
}


@media (min-width: 768px) {
	.card-equal-size {
		width: 40%;
	}
}

.card:hover {
	transform: translateY(-8px) scale(1.03);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Logo sizing in cards */
.pmh {
	height: 40px;
	max-width: 100%;
	display: block;
	margin: 0 auto;
	object-fit: contain;
}

.card-lz {
	max-width: 100%;
	display: block;
	margin: 0 auto;
	object-fit: contain;
}

.card-mt {
	max-width: 100%;
	display: block;
	margin: 0 auto;
	object-fit: contain;
}

/* Custom button style - using Bootstrap btn class as base */
.button {
	background-color: var(--pmh-red);
	color: white !important;
	border-radius: 25px;
	font-weight: normal;
	transition: background-color 0.3s ease;
	margin-top: 2rem;
	text-decoration: none;
}

.button:hover {
	background-color: var(--pmh-red-hover);
	color: white;
}

/* Footer styling */
footer {
	background: var(--pmh-dark-green);
}

.footer-mt {
	height: 50px;
	margin-right: -10px;
}

.footer-lz {
	height: 30px;
}


/* Mobile styles */
@media (max-width: 768px) {
	.header {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 999;
		background: transparent;
		transition: all 0.3s ease;
		justify-content: flex-start;
		width: 100%;
		padding: 0 1rem;
		margin: 0;
	}

	.header-bild {
		max-width: 60vw;   /* größer auf kleinen Screens */
	}

	.hero .wrapper .header-logo-pmh {
		display: block;   /* Ab Tablet/Desktop anzeigen */
		max-height: 70px; /* Größe wie dein jetziges */
		margin-bottom: 2rem; /* Abstand zur Headline */
	}

	.header-logo img:last-child {
		display: none;
	}

	.header-shrinked {
		width: 100%;
		margin: 0; /* Negative Margins entfernen */
		padding: 0 1rem; /* Innenabstand statt Verschieben */
		background: white;
		box-sizing: border-box; /* Padding in die Breite einrechnen */
		display: flex;
		align-items: center;
		position: fixed;
	}

	.header-shrinked .header-logo img:first-child {
		display: none;
	}

	.header-shrinked .header-logo img:last-child {
		display: inline-block;
	}

	.header-shrinked {
		display: flex;
		margin-left: 0rem;
		gap: 0.1rem;
	}

	.header-shrinked  {
		max-height: 6vh;
	}

	.header-logo-pmh {
		max-height: 8vh;
	}

	.hero h1 {
		font-size: 2.8rem;
		padding-left: 1rem;
		text-align: left;
	}

}

@media (max-width: 665px) {
	.header-shrinked  {
		flex-direction: column;
		gap: 0.5rem;
		margin-left: 0rem;
		width: 100%;
	}

}

@media (min-width: 992px) {
	.header-bild {
		transform: scale(1.6);   /* zoomt das Bild um 60% */
		transform-origin: right center; /* Zoom fixiert am rechten Rand */
	}
}
