/* Granslev Forsamlingshus — fælles design-system ("Arven" 1B) */
:root {
  --flaske: #1d3b2a;
  --flaske-dyb: #142b1e;
  --creme: #f8f4e9;
  --creme-moerk: #efe8d8;
  --guld: #a97f1f;
  --guld-lys: #e8b944;
  --ink: #241f15;
  --ink-blid: #5d564a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--flaske-dyb); }
body {
  font-family: "Lora", Georgia, serif;
  font-size: 18px; line-height: 1.7;
  color: var(--ink); background: var(--creme);
}
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: var(--flaske); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.ornament { color: var(--guld-lys); letter-spacing: .35em; font-size: 15px; text-transform: uppercase; }
.ornament::before, .ornament::after { content: "◆"; font-size: 9px; vertical-align: 3px; margin: 0 10px; }
.ornament.moerk { color: var(--guld); }

/* ---------- Header ---------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: background .3s ease, box-shadow .3s ease; }
header.solid { background: rgba(248,244,233,.97); box-shadow: 0 1px 0 var(--creme-moerk); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1280px; margin: 0 auto; }
.nav .logo img { height: 40px; width: auto; }
.nav .logo .lys { display: block; }
.nav .logo .moerk { display: none; }
header.solid .logo .lys { display: none; }
header.solid .logo .moerk { display: block; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; font-size: 17px; color: var(--creme); padding: 8px 2px; }
header.solid .nav ul a { color: var(--ink); }
.nav ul a:not(.btn):hover { box-shadow: 0 2px 0 var(--guld-lys); }
.nav ul a.aktiv:not(.btn) { box-shadow: 0 2px 0 var(--guld); }
.burger { display: none; font-size: 30px; background: none; border: 0; color: var(--creme); width: 48px; height: 48px; cursor: pointer; }
header.solid .burger { color: var(--ink); }

/* Knapper */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 4px;
  font-family: "Lora", serif; font-weight: 600; font-size: 17px;
  text-decoration: none; transition: background .2s ease, transform .2s ease, color .2s ease;
  cursor: pointer; border: 0;
}
.btn-guld { background: var(--guld-lys); color: var(--ink) !important; }
.btn-guld:hover { background: #d8b661; transform: translateY(-1px); }
.btn-creme { border: 1.5px solid rgba(248,244,233,.8); color: var(--creme) !important; background: transparent; }
.btn-creme:hover { background: rgba(248,244,233,.14); }
.btn-groen { background: var(--flaske); color: var(--creme) !important; }
.btn-groen:hover { background: var(--flaske-dyb); transform: translateY(-1px); }
.btn-kant { border: 1.5px solid var(--guld); color: var(--ink) !important; background: transparent; }
.btn-kant:hover { background: var(--guld); color: #fff !important; }
.nav .btn { padding: 12px 30px; margin-left: 10px; }
.nav .btn-groen { background: rgba(20,43,30,.68); border: 1px solid rgba(248,244,233,.35); }
header.solid .nav .btn-groen { background: var(--flaske); border-color: var(--flaske); }

/* Mobilmenu */
.mobilmenu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--creme); padding: 24px; flex-direction: column; gap: 8px; }
.mobilmenu.aaben { display: flex; }
.mobilmenu .luk { align-self: flex-end; font-size: 34px; background: none; border: 0; width: 52px; height: 52px; cursor: pointer; color: var(--ink); }
.mobilmenu a { font-family: "Fraunces", serif; font-size: 30px; text-decoration: none; color: var(--ink); padding: 14px 8px; border-bottom: 1px solid var(--creme-moerk); }
.mobilmenu .ring { margin-top: 24px; text-align: center; background: var(--flaske); color: var(--creme); border-radius: 6px; font-size: 22px; padding: 18px; border-bottom: 0; font-family: "Lora", serif; }

/* ---------- Sektioner ---------- */
section { padding: 88px 0; }
.midt { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.midt h2 { font-size: clamp(32px, 4.2vw, 46px); margin: 14px 0 12px; }
.midt p { color: var(--ink-blid); font-size: 19px; }

/* Undersiders sidehoved */
.side-hoved { position: relative; padding: 170px 0 84px; color: var(--creme); overflow: hidden; }
.side-hoved .bag { position: absolute; inset: 0; }
.side-hoved .bag img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.side-hoved .bag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,24,.55), rgba(16,27,20,.72)); }
.side-hoved .wrap { position: relative; z-index: 2; }
.side-hoved h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 700; margin-top: 14px; }
.side-hoved p { font-size: 19.5px; max-width: 560px; margin-top: 12px; opacity: .95; }

/* Kort */
.kort-raekke { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kort { background: #fff; border: 1px solid var(--creme-moerk); border-radius: 12px; overflow: hidden; text-align: center; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.kort:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(36,31,21,.14); }
.kort .foto { overflow: hidden; }
.kort .foto img { aspect-ratio: 4/3.4; object-fit: cover; width: 100%; transition: transform .6s ease; }
.kort:hover .foto img { transform: scale(1.06); }
.kort-krop { padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kort h3 { font-size: 26px; }
.kort .pris { font-size: 16px; color: var(--guld); font-weight: 600; }
.kort p { font-size: 16.5px; color: var(--ink-blid); flex: 1; }
.kort .btn { align-self: center; padding: 12px 24px; font-size: 16px; }

/* Arrangementer */
.arr-liste { max-width: 760px; margin: 0 auto; }
.arr-punkt { display: flex; align-items: center; gap: 24px; background: #fff; border-radius: 10px; padding: 18px 24px; margin-bottom: 16px; border: 1px solid var(--creme-moerk); transition: transform .2s ease, border-color .2s ease; text-decoration: none; color: inherit; }
.arr-punkt:hover { transform: translateX(6px); border-color: var(--guld-lys); }
.arr-dato { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--guld); color: var(--flaske); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: "Fraunces", serif; background: #fff; }
.arr-dato strong { font-size: 26px; line-height: 1; }
.arr-dato span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.arr-punkt h3 { font-size: 22px; }
.arr-punkt p { color: var(--ink-blid); font-size: 16.5px; }

/* Billedbånd */
.band { position: relative; padding: 0; }
.band > img { width: 100%; height: clamp(380px, 58vh, 560px); object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(16,27,20,.64); }
.band-indhold { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.band blockquote { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: clamp(24px, 3.4vw, 40px); color: var(--creme); max-width: 820px; line-height: 1.35; margin-bottom: 18px; text-shadow: 0 1px 16px rgba(16,27,20,.6); }
.band .ornament { font-family: "Lora", serif; text-shadow: 0 1px 16px rgba(16,27,20,.6); }

/* Formular */
.felt { margin-bottom: 16px; }
.felt label { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.felt input, .felt textarea, .felt select {
  width: 100%; padding: 13px 14px; border-radius: 6px; border: 1.5px solid #d8cfba;
  background: #fff; font: inherit; font-size: 16.5px; color: var(--ink);
}
.felt input:focus, .felt textarea:focus, .felt select:focus { outline: 2px solid var(--guld-lys); border-color: var(--guld); }
.felt textarea { min-height: 100px; resize: vertical; }
.felt-par { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Kontakt-sektion */
.kontakt { position: relative; overflow: hidden; text-align: center; color: var(--creme); }
.kontakt .bag { position: absolute; inset: 0; }
.kontakt .bag img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.kontakt .bag::after { content: ""; position: absolute; inset: 0; background: rgba(16,27,20,.82); }
.kontakt .wrap { position: relative; z-index: 2; }
.kontakt h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 12px; }
.kontakt p { font-size: 19px; opacity: .92; max-width: 520px; margin: 0 auto 28px; }
.kontakt .tlf { display: inline-block; font-family: "Fraunces", serif; font-size: clamp(32px, 4.4vw, 44px); color: var(--guld-lys); text-decoration: none; border-bottom: 2px solid rgba(201,165,74,.5); margin-bottom: 26px; }
.kontakt .detaljer { font-size: 17px; }
.kontakt .detaljer a { color: var(--creme); }

/* Footer */
footer { background: var(--flaske-dyb); color: rgba(248,244,233,.75); padding: 34px 0; font-size: 16px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
footer img { height: 30px; }
footer a { color: rgba(248,244,233,.9); }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav ul { display: none; }
  .burger { display: block; }
  .kort-raekke { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .band > img { height: 320px; }
  .felt-par { grid-template-columns: 1fr; }
  .side-hoved { padding: 130px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
