/* ---------------------------- RESET / BASIS ---------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: #000;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

/* ---------------------------- TYPO ---------------------------- */
h1 {
	font-family: 'DM Serif Display', serif;
	font-weight: 400;
	margin: 0 0 16px 0;
	font-size: 60px;
	text-transform: uppercase;
}

/* ---------------------------- HERO ---------------------------- */

.hero {
	position: relative;
	width: 100%;
	overflow: hidden;
}

/* Baggrundsbillede + overlay */

.hero-image {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;        /* fylder hele viewport, beskærer pænt */
	display: block;
}

.hero-image .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

/* Indhold ovenpå billedet */

.hero-content {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0 10vw;
	max-width: 1100px;
}

.hero-content p {
	margin: 0 0 24px 0;
	max-width: 700px;
}

/* ---------------------------- KNAPPER ---------------------------- */

.primary-cta {
	display: inline-block;
	height: 40px;
	width: auto;
	line-height: 40px;            /* vertikal centrering af tekst */
	padding: 0 15px;
	background: #000;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	white-space: nowrap;          /* undgår at teksten breaker midt i knappen */
}

.primary-cta.hero {
	background: #fff;
	color: #000;
}

.primary-cta:hover,
.primary-cta.hero:hover {
	background: #000;
	color: #fff;
}

/* Wrapper til de tre knapper */

.hero-buttons {
	display: flex;
	flex-direction: row;
	gap: 20px;         /* 20px mellem knapperne */
	flex-wrap: nowrap; /* én række på større skærme */
}

/* ---------------------------- FOOTER ---------------------------- */

.simple-footer {
	width: 100%;
	background: #000;
	padding: 30px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.simple-footer p {
	margin: 0;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	letter-spacing: 1px;
	font-size: clamp(14px, 2vw, 20px);
	text-transform: uppercase;
	white-space: nowrap;
}

/* ---------------------------- RESPONSIVE ---------------------------- */

@media (max-width: 900px) {

	.hero-content {
		padding: 0 20px;
	}

	.hero-content h1 {
		font-size: 32px;
		line-height: 38px;
	}

	.hero-content p {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 20px;
	}

	/* Knapper på mobil: under hinanden, stadig 53px høje */
	.hero-buttons {
		display: block;      /* drop flex her */
	}

.hero-buttons .primary-cta {
		white-space: normal;   /* tekst må bryde linjen */
		height: auto;          /* højde følger tekst */
		line-height: normal;   /* normal line-height */
		padding: 12px 20px;    /* visuelt 53px-ish men fleksibelt */
	}
}

@media (max-width: 600px) {


	.hero-image img {
		min-height: 100vh;
	}

	.hero-content h1 {
		font-size: 26px;
		line-height: 32px;
		margin-bottom: 10px;
	}

	.hero-content p {
		font-size: 15px;
		line-height: 21px;
		margin-bottom: 18px;
	}

/* Hvis teksten bliver for lang på meget små skærme, må den godt bryde */
	@media (max-width: 400px) {
		.simple-footer p {
			white-space: normal;
		}
	}
}
