/* Skovhygge – nyt layout 2026 */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
	--skov: #2f4a3a;
	--skov-mork: #1f3328;
	--sand: #f7f3ec;
	--hvid: #ffffff;
	--tekst: #2a2a2a;
	--graa: #6b6b6b;
	--accent: #c8743a;
	--radius: 14px;
	--skygge: 0 6px 24px rgba(0,0,0,.08);
	--bredde: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--tekst);
	background: var(--sand);
}
img { max-width: 100%; display: block; }
a { color: var(--skov); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--skov-mork); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo span { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 600; color: var(--skov-mork); }

.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a {
	display: block; padding: 8px 16px; border-radius: 999px;
	text-decoration: none; font-weight: 500; color: var(--tekst);
	transition: background .2s, color .2s;
}
.nav a:hover { background: var(--sand); }
.nav a.aktiv { background: var(--skov); color: var(--hvid); }

/* Mobilmenu */
.menu-toggle, .menu-knap { display: none; }
@media (max-width: 760px) {
	.menu-knap { display: block; cursor: pointer; font-size: 1.8rem; line-height: 1; padding: 8px; }
	.nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--hvid); box-shadow: var(--skygge); display: none; }
	.nav ul { flex-direction: column; padding: 12px 24px 20px; }
	.menu-toggle:checked ~ .nav { display: block; }
}

/* ---------- Hero (forside) ---------- */
.hero {
	position: relative; min-height: 78vh;
	display: flex; align-items: flex-end;
	color: var(--hvid);
	background: var(--skov) center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 72px; width: 100%; }
.hero h1 { color: var(--hvid); max-width: 14em; }
.hero p { font-size: 1.2rem; max-width: 34em; opacity: .95; }
.knapper { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.knap {
	display: inline-block; padding: 12px 26px; border-radius: 999px;
	background: var(--accent); color: var(--hvid); text-decoration: none; font-weight: 600;
	transition: transform .15s, background .2s;
}
.knap:hover { transform: translateY(-2px); background: #b2632d; }
.knap.lys { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.6); }
.knap.lys:hover { background: rgba(255,255,255,.3); }

/* ---------- Indhold ---------- */
.sektion { padding: 72px 0; }
.sektion.hvid { background: var(--hvid); }
.sidetop { padding: 56px 0 8px; }
.sidetop p { color: var(--graa); font-size: 1.1rem; max-width: 40em; }

.fordele { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.fordel { background: var(--sand); padding: 24px; border-radius: var(--radius); }
.fordel h3 { font-size: 1.15rem; margin-bottom: .3em; }
.fordel p { margin: 0; color: var(--graa); }

.tekstblok { max-width: 720px; }

/* Galleri (huset) */
.galleri { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.galleri a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: #ddd; }
.galleri img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galleri a:hover img { transform: scale(1.05); }

/* Kort (området) */
.kort-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.kort { background: var(--hvid); border-radius: var(--radius); overflow: hidden; box-shadow: var(--skygge); transition: transform .2s; }
.kort:hover { transform: translateY(-4px); }
.kort img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kort div { padding: 18px 20px 22px; }
.kort h2 { font-size: 1.25rem; margin: 0; }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .kontakt-grid { grid-template-columns: 1fr; } }
.info-kort { background: var(--hvid); padding: 32px; border-radius: var(--radius); box-shadow: var(--skygge); }
.info-kort dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--graa); margin-top: 18px; }
.info-kort dt:first-child { margin-top: 0; }
.info-kort dd { margin: 4px 0 0; font-size: 1.1rem; }
.kortbillede { border-radius: var(--radius); overflow: hidden; box-shadow: var(--skygge); }

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 100; display: none;
	align-items: center; justify-content: center;
	background: rgba(10,15,12,.92);
}
.lightbox.aaben { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox button {
	position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
	width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-luk { top: 20px; right: 20px; }
.lb-forrige { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-naeste { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-taeller { position: absolute; bottom: 20px; color: #fff; opacity: .8; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--skov-mork); color: rgba(255,255,255,.8); padding: 40px 0; margin-top: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; font-size: .95rem; }
