/* Webux Kontakt-Standorte (contact-locations).
   Designed to sit inside a webux/section with the primary (green) background
   and "Heller Text" enabled - text colours inherit that light context. */
.webux-contact {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 3rem;
	align-items: start;
}

@media (max-width: 900px) {
	.webux-contact {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* --- Intro column --- */
.webux-contact__intro {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.webux-contact__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.webux-contact__text {
	margin: 0;
	max-width: 30rem;
	line-height: 1.7;
	color: color-mix(in srgb, currentColor 80%, transparent);
}

.webux-contact__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	align-self: flex-start;
	margin-top: 0.25rem;
	padding: 0.875rem 1.5rem;
	border-radius: 100px;
	background: var(--wp--preset--color--base, #ffffff);
	color: var(--wp--preset--color--primary, #356b4b);
	font-weight: 700;
	text-decoration: none;
}

.webux-contact__phone:hover,
.webux-contact__phone:focus {
	background: color-mix(in srgb, var(--wp--preset--color--base, #fff) 88%, #000);
}

.webux-contact__phone svg {
	display: block;
}

/* --- Location cards --- */
.webux-contact__locations {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (max-width: 600px) {
	.webux-contact__locations {
		grid-template-columns: 1fr;
	}
}

.webux-loc {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1.625rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Abstract map graphic (pure CSS, no external tiles / no consent needed). */
.webux-loc__map {
	position: relative;
	height: 150px;
	border-radius: 12px;
	overflow: hidden;
	background: #e9ede7;
}

.webux-loc__park {
	position: absolute;
	left: -20px;
	top: 80px;
	width: 160px;
	height: 110px;
	background: #dbe7d5;
}

.webux-loc__road {
	position: absolute;
	background: #ffffff;
}

.webux-loc__road--h1 {
	left: -40px;
	top: 58px;
	width: 520px;
	height: 11px;
}

.webux-loc__road--h2 {
	left: -40px;
	top: 104px;
	width: 520px;
	height: 7px;
	background: #f4f5f2;
}

.webux-loc__road--v1 {
	left: 178px;
	top: -42px;
	width: 10px;
	height: 240px;
	transform: rotate(-11deg);
}

.webux-loc__road--v2 {
	left: 285px;
	top: -40px;
	width: 7px;
	height: 240px;
	background: #f4f5f2;
	transform: rotate(9deg);
}

.webux-loc__pin {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--wp--preset--color--primary, #356b4b);
	box-shadow: 0 2px 6px rgba(16, 24, 15, 0.25);
}

.webux-loc__pin svg {
	display: block;
}

.webux-loc__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #bfe8cd;
}

.webux-loc__addr {
	margin: 0;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.6;
}

.webux-loc__contact {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #dff1e6;
}

.webux-loc__contact a {
	color: inherit;
	text-decoration: underline;
}

.webux-loc__hours {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #dff1e6;
}

.webux-loc__hours svg {
	display: block;
	flex: 0 0 auto;
}

.webux-loc__directions {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
	align-self: flex-start;
	margin-top: auto;
	padding: 0.5625rem 1rem;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.webux-loc__directions:hover,
.webux-loc__directions:focus {
	background: rgba(255, 255, 255, 0.12);
}

.webux-loc__directions svg {
	display: block;
}
