/*
 * Kontaktseite hundeallerlei
 */

.ha-contact-page {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(34px, 6vw, 88px) clamp(16px, 4vw, 48px);
	background:
		radial-gradient(
			circle at 12% 18%,
			rgba(171, 143, 103, 0.14),
			transparent 32%
		),
		linear-gradient(180deg, #f8f5ef 0%, #eee9df 100%);
}

.ha-contact-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
	width: min(1180px, 100%);
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid rgba(63, 79, 65, 0.13);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(45, 55, 47, 0.13);
}

.ha-contact-collage {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.85fr);
	grid-template-rows: repeat(2, minmax(240px, 1fr));
	min-height: 650px;
	gap: 5px;
	background: #e5dfd5;
}

.ha-contact-photo {
	position: relative;
	min-width: 0;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	background: #d9d2c7;
}

.ha-contact-photo-1 {
	grid-row: 1 / 3;
}

.ha-contact-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 500ms ease;
}

.ha-contact-photo-1 .ha-contact-image {
	object-position: 52% center;
}

.ha-contact-photo:hover .ha-contact-image {
	transform: scale(1.025);
}

.ha-contact-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(36px, 5vw, 74px);
	background:
		linear-gradient(
			145deg,
			rgba(238, 243, 235, 0.98),
			rgba(216, 226, 213, 0.98)
		);
}

.ha-contact-eyebrow {
	margin: 0 0 12px;
	color: #8a684c;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.17em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ha-contact-content h1 {
	margin: 0;
	color: #263b2d;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	font-weight: 720;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.ha-contact-intro {
	max-width: 34rem;
	margin: 26px 0 30px;
	color: #536158;
	font-size: clamp(1.03rem, 1.5vw, 1.18rem);
	line-height: 1.65;
}

.ha-contact-email {
	padding: 20px 22px;
	border: 1px solid rgba(54, 79, 61, 0.15);
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 9px 26px rgba(53, 66, 56, 0.07);
}

.ha-contact-label {
	display: block;
	margin-bottom: 5px;
	color: #8a684c;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ha-contact-email strong {
	display: block;
	overflow-wrap: anywhere;
	color: #263b2d;
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	font-weight: 720;
	line-height: 1.35;
}

.ha-contact-socials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.ha-contact-social {
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 15px 16px;
	border: 1px solid rgba(54, 79, 61, 0.14);
	border-radius: 16px;
	background: #ffffff;
	color: #263b2d;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(49, 62, 52, 0.06);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.ha-contact-social:hover,
.ha-contact-social:focus-visible {
	border-color: rgba(54, 79, 61, 0.32);
	color: #263b2d;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(49, 62, 52, 0.11);
}

.ha-contact-social:focus-visible {
	outline: 3px solid rgba(94, 128, 101, 0.28);
	outline-offset: 3px;
}

.ha-contact-icon {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin-right: 12px;
	place-items: center;
	border-radius: 50%;
}

.ha-contact-icon svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.ha-contact-facebook .ha-contact-icon {
	background: #e8eef8;
	color: #315a98;
}

.ha-contact-youtube .ha-contact-icon {
	background: #fae7e7;
	color: #c62828;
}

.ha-contact-social span:last-child {
	min-width: 0;
}

.ha-contact-social strong,
.ha-contact-social small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ha-contact-social strong {
	font-size: 0.98rem;
	line-height: 1.25;
}

.ha-contact-social small {
	margin-top: 2px;
	color: #758078;
	font-size: 0.75rem;
	line-height: 1.25;
}

@media (max-width: 940px) {
	.ha-contact-shell {
		grid-template-columns: 1fr;
		max-width: 760px;
	}

	.ha-contact-collage {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: minmax(330px, 55vw) minmax(170px, 25vw);
		min-height: 0;
	}

	.ha-contact-photo-1 {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.ha-contact-content {
		padding: clamp(34px, 7vw, 58px);
	}
}

@media (max-width: 560px) {
	.ha-contact-page {
		padding: 22px 12px 42px;
	}

	.ha-contact-shell {
		border-radius: 21px;
	}

	.ha-contact-collage {
		grid-template-rows: 300px 155px;
		gap: 3px;
	}

	.ha-contact-content {
		padding: 30px 21px 34px;
	}

	.ha-contact-intro {
		margin: 20px 0 24px;
	}

	.ha-contact-socials {
		grid-template-columns: 1fr;
	}

	.ha-contact-social {
		padding: 13px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ha-contact-image,
	.ha-contact-social {
		transition: none;
	}

	.ha-contact-photo:hover .ha-contact-image {
		transform: none;
	}
}


/* Kontakt-Collage-v3: Beginn */

/*
 * Oben: das vollständige Wiesenfoto über die gesamte Breite.
 * Unten: zwei quadratische Bildkacheln nebeneinander.
 */

.ha-contact-collage {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
	min-height: 0;
}

.ha-contact-photo-2 {
	grid-column: 1 / -1;
	grid-row: 1;
	aspect-ratio: 2560 / 1567;
}

.ha-contact-photo-1 {
	grid-column: 1;
	grid-row: 2;
	aspect-ratio: 1 / 1;
}

.ha-contact-photo-3 {
	grid-column: 2;
	grid-row: 2;
	aspect-ratio: 1 / 1;
}

.ha-contact-photo-1 .ha-contact-image,
.ha-contact-photo-2 .ha-contact-image,
.ha-contact-photo-3 .ha-contact-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * Das Seitenverhältnis der oberen Kachel entspricht dem Wiesenfoto.
 * Dadurch bleiben Alice und alle fünf Hunde vollständig sichtbar.
 */
.ha-contact-photo-2 .ha-contact-image {
	object-position: center center;
}

/*
 * Der sichtbare Ausschnitt wird etwas nach rechts verlagert,
 * damit auch der Welpe am rechten Bildrand besser zu sehen ist.
 */
.ha-contact-photo-1 .ha-contact-image {
	object-position: 62% center;
}

.ha-contact-photo-3 .ha-contact-image {
	object-position: center 42%;
}

/* Kontakt-Collage-v3: Ende */
