html {
  scroll-behavior: smooth;
}

h1 {
  font-size: clamp(1.75rem, 4vw + 1rem, 3.5rem); /* 28px → 56px */
  line-height: 1.1;
  margin: .5rem 0 1rem;
  text-align: center;
}

.lead-intro {
  font-size: clamp(1rem, 0.6vw + 0.8rem, 1.25rem); /* 16px → 20px */
  line-height: 1.45;
  text-align: center;
}

h4 {
  font-size: clamp(1.375rem, 1.2vw + 1rem, 2.125rem);
  line-height: 1.2;
  margin: 1.25rem 0 .75rem;
	scroll-margin-top: 150px;
}

.map {
	margin-top: 10px;
}

#wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin-bottom: 16px;
}

#wrapper > div {
	flex: 1 1 300px;
	max-width: 600px;
}

#schönngasse p,
#herzgasse p {
	margin: 0;
}

#herzgasse div {
  margin-bottom: 16px;
}

.trainings-info {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.trainings-info div {
	flex: 1;
	min-width: 150px;
}

/* Responsive Google Maps */
.map-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* Verhältnis 16:9 */
	height: 0;
	overflow: hidden;
}

.map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 768px) {
	h4 {
		scroll-margin-top: 180px;
	}

	#wrapper {
		padding: 0 10px;
	}

	#wrapper > div {
		max-width: 100%;
	}

	p,
	.trainings-info div {
		font-size: 14px;
		line-height: 1.4;
	}

	.bios {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.map-container {
		padding-bottom: 75%; /* höheres Verhältnis für kleine Bildschirme */
	}

	.trainings-info div strong {
		display: block; /* sorgt für ordentliche Zeilenumbrüche */
		margin-bottom: 4px;
	}
}

.bios {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin: 40px auto;
	padding: 0 20px;
	flex-wrap: wrap;
	max-width: 1200px;
}

.bios img {
	width: 225px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.bios p {
	text-align: center;
  margin: 0;
}

#exception {
  margin: auto;
  width: 50%;
  text-align: center;
  margin-bottom: 16px;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 20px auto;
  max-width: 1200px;
}

.blog-posts > div .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact p {
  text-align: center;
  margin:0;
}

#form {
  max-width: 50%;
  margin: 10px auto;
}

#form > .btn {
  background-color: red;
  border-color: red;
}