:root {
	--green: #57aa30;
	--bg: #ffffff;
	--bg-elevated: #f8f8f8;
	--border-subtle: #e0e0e0;
	--text-main: #000000;
	--text-muted: #666666;
	--radius: 18px;
	--transition: 0.25s ease;
	--max-width: 1600px;
	--shadow-soft: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
		sans-serif;
	background-color: var(--bg);
	color: var(--text-main);
	line-height: 1.7;
}

/* Layout helpers */

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

a {
	color: inherit;
	text-decoration: none;
}

/* Logo header */

.logo-header {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 24px 0px 24px;
	width: 100%;
}

.main-logo {
	max-width: 100%;
	height: auto;
	max-height: 120px;
	object-fit: contain;
	display: block;
}

/* Hero / company cards */

.hero {
	padding: 40px 0 50px;
}

.hero h1 {
	font-size: 19px;
	color: var(--text-muted);
	margin-bottom: 40px;
	max-width: 520px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-weight: 400;
}

.company-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.company-card {
	border: 1px solid rgba(51, 51, 51, 0.12);
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	transition: border-color var(--transition),
		background-color var(--transition);
	cursor: pointer;
}

.company-card:hover {
	border-color: var(--green);
	background-color: #f0f0f0;
}

.logo-wrap {
	min-height: 60px;
	display: flex;
	align-items: center;
}

.logo-wrap img {
	width: 100%;
	height: 40px;
	object-fit: contain;
	display: block;
}

.company-text {
	font-size: 14px;
	color: var(--text-muted);
}

.btn {
	margin-top: auto;
	padding: 9px 18px;
	border-radius: 24px;
	background-color: var(--green);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: background-color var(--transition);
}

.btn::after {
	content: '›';
	font-size: 16px;
	line-height: 1;
}

.btn:hover,
.btn:focus-visible {
	background-color: #4b942a;
}

/* About section */

.about {
	padding: 40px 0 40px;
	text-align: center;
	background-color: #fafafa;
}

.about h2 {
	font-size: 22px;
	margin-bottom: 14px;
	font-weight: 600;
}

.about p {
	max-width: 740px;
	margin: 0 auto 10px;
	font-size: 15px;
	color: var(--text-muted);
}

/* Map section */

.map-section {
	padding: 40px 0;
	background-color: #040505;
	color: #ffffff;
}

.map-section h2 {
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #ffffff;
}

.map-wrapper {
	width: 100%;
	border-radius: 0;
	overflow: hidden;
	border: 0;
	min-height: 666px;
	background-color: #ffffff;
}

.iframe-clip-container {
	width: 100%;
	height: 666px;
	overflow: hidden;
	position: relative;
}

#kartframe {
	width: 100%;
	height: 666px;
	border: 0;
}

/* Responsivitet */

@media (max-width: 900px) {
	.company-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hero {
		padding-top: 20px;
	}

	.company-grid {
		grid-template-columns: 1fr;
	}

	.map-wrapper {
		min-height: 470px;
		background-color: #040505;
	}

	#kartframe {
		height: 470px !important;
	}

	.iframe-clip-container {
		height: 470px !important;
	}
}
