/* ==========================================================
   FORSIDE-HERO – centreret layout fra "Forside v2" (Claude Design)
   Farverne kommer fra colors.css, skrifterne fra fonts.css
   Pixel-effekten styres af hero.js
   ========================================================== */

.frontpagehero {
	height: auto;
	min-height: 75vh;           /* hero-højde */
	display: flex;
	align-items: center;
	justify-content: center;
}

#hero-pixels {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* ---------- Indhold ---------- */

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	padding: 110px 20px 64px;   /* ekstra plads i toppen til headeren */
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;                  /* afstand mellem tekstlinjerne */
	text-align: center;
	pointer-events: none;       /* så pixlerne reagerer på musen overalt */
}

.hero-kicker {
	margin: 0;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	color: var(--muted);
}

.hero-title {
	margin: 0;
	font-family: var(--font-headline);
	font-weight: 500;
	font-size: clamp(52px, 8vw, 124px);
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--ink);
	max-width: 13ch;
	text-wrap: balance;
}

.hero-title em {
	font-style: normal;
	color: var(--accent);
}

.hero-text {
	margin: 0;
	max-width: 720px;           /* bred nok til at teksten står på én linje */
	font-family: var(--font-ui);
	font-size: var(--text-lg);
	line-height: 1.55;
	color: var(--body);
	text-wrap: pretty;
}

/* ---------- Knap ---------- */

.hero-button {
	pointer-events: auto;
	margin-top: 26px;           /* lidt ekstra luft over knappen */
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	border-radius: 999px;
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	font-weight: 500;
	text-decoration: none;
	background: var(--ink);
	color: var(--bg);
	transition: background-color 0.2s;
}

.hero-button span {
	font-size: var(--text-base);
}

.hero-button:hover,
.hero-button:focus-visible {
	background: var(--accent);
	color: var(--bg);
	text-decoration: none;
}

/* ---------- Større skærme ---------- */

@media (min-width: 576px) {
	.hero-content {
		padding: 130px 40px 80px;
	}
}
