@import url('fonts.css');

/* ============================================================
   Håndværkeren Tygesen
   Farver: sort + brandgrøn #63AD44, med varm egetræstone som
   sekundær accent. Formsproget bygger på taglinjen i logoet —
   "graden" går igen som markør gennem hele sitet.
   ============================================================ */

:root {
  /* flader */
  --ink:      #1A1F18;
  --ink-2:    #242A22;
  --ink-3:    #30372E;
  --bone:     #F3F2EE;
  --bone-2:   #E6E5DF;
  --paper:    #FFFFFF;

  /* brand */
  --green:    #63AD44;
  --green-lt: #8FCE72;
  --green-dk: #4C8B33;
  --oak:      #C08B4E;

  /* tekst */
  --on-dark:      #EDEEEA;
  --on-dark-soft: #9EA49A;
  --on-light:     #141713;
  --on-light-soft:#5C625A;

  --line-dark:  rgba(255,255,255,.13);
  --line-light: rgba(26,31,24,.14);

  --f-display: 'Familjen Grotesk', 'Segoe UI', system-ui, sans-serif;
  --f-body:    'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  --r:   4px;      /* stramt hjørne — ikke rundet "app"-look */
  --r-lg: 6px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Skal stå her: klasser som .tile{display:block} vinder ellers over browserens
   egen [hidden]-regel, og så bliver filtrerede projekter ikke skjult. */
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.02em; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--green-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - (var(--gut) * 2), 1240px); margin-inline: auto; }
.narrow { max-width: 62ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gut); top: -4rem; z-index: 200;
  background: var(--green); color: #06210A; padding: .7rem 1.1rem;
  font-weight: 600; border-radius: var(--r); transition: top .2s;
}
.skip:focus { top: .75rem; }

/* ---------- graden: signaturmarkøren fra logoets tagflade ---------- */
.ridge { width: 30px; height: 8px; flex: none; color: var(--green); overflow: visible; }
.ridge path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin: 0 0 1.15rem;
}
.eyebrow--light { color: var(--green-dk); }

/* ---------- knapper ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: var(--r);
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #06210A; }
.btn--primary:hover { background: var(--green-lt); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-lt); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--ink-3); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.txtlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; color: var(--green);
  border-bottom: 1px solid transparent; transition: border-color .2s, gap .2s;
}
.txtlink:hover { border-color: currentColor; gap: .75rem; }
.txtlink svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,31,24,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.hdr__in { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.hdr__logo { flex: none; margin-right: auto; }
.hdr__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  padding: .5rem .8rem; text-decoration: none; font-size: .95rem; font-weight: 500;
  color: var(--on-dark-soft); border-radius: var(--r); transition: color .18s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a[aria-current="page"] { color: var(--green); }
.hdr__tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-weight: 500; font-size: .95rem;
  text-decoration: none; color: var(--on-dark); white-space: nowrap;
  padding: .55rem 1rem; border: 1px solid var(--line-dark); border-radius: var(--r);
  transition: border-color .2s, color .2s;
}
.hdr__tel:hover { border-color: var(--green); color: var(--green-lt); }
.hdr__tel svg { width: 17px; height: 17px; flex: none; }
.hdr__burger {
  display: none; background: none; border: 1px solid var(--line-dark);
  border-radius: var(--r); padding: .55rem .7rem; cursor: pointer;
}
.hdr__burger svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .hdr__burger { display: block; }
  .hdr__tel span { display: none; }
  .hdr__tel { padding: .55rem .7rem; }
  .nav {
    position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch;
    background: var(--ink-2); border-bottom: 1px solid var(--line-dark);
    padding: .6rem var(--gut) 1.4rem; gap: 0;
    transform: translateY(-120%); transition: transform .3s var(--ease);
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: .85rem .2rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .hdr__in { gap: .55rem; min-height: 64px; }
  .hdr__logo img { height: 25px; }
  .nav { inset-block-start: 64px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink-2); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(26,31,24,.9) 0%, rgba(26,31,24,.74) 45%, rgba(26,31,24,.3) 74%, rgba(26,31,24,.5) 100%);
}
.hero__in {
  position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.hero h1 { margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin: 2.25rem 0 0;
  padding: 1.6rem 0 0; list-style: none; border-top: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--on-dark-soft);
}
.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts li::before {
  content: ''; width: 5px; height: 5px; background: var(--green); flex: none;
  transform: rotate(45deg);
}

@media (max-width: 940px) {
  /* På smal skærm bliver fotoet et bånd øverst i stedet for en baggrund
     bag teksten — så kan man både se billedet og læse overskriften. */
  .hero { display: flex; flex-direction: column; }
  .hero__bg { position: relative; height: clamp(190px, 46vw, 320px); }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(26,31,24,.25) 0%, rgba(26,31,24,.6) 55%, var(--ink) 100%);
  }
  .hero__in { grid-template-columns: 1fr; padding-top: 1.5rem; }
}

/* ---------- tilbudskort (formular) ---------- */
.quote {
  background: var(--ink); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.85);
}
.quote h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: .35em; }
.quote__note { font-size: .9rem; color: var(--on-dark-soft); margin-bottom: 1.5rem; }

.field { margin-bottom: .85rem; }
.field label {
  display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: .4rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: .98rem;
  color: var(--on-dark); background: var(--ink-2);
  border: 1px solid var(--line-dark); border-radius: var(--r);
  transition: border-color .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); background: var(--ink-3); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #6E746C; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 480px) { .field--row { grid-template-columns: 1fr; } }

.consent {
  display: flex; gap: .65rem; align-items: flex-start; margin: 1rem 0 1.25rem;
  font-size: .85rem; color: var(--on-dark-soft); line-height: 1.55;
}
.consent input { width: 1.05rem; height: 1.05rem; margin-top: .22rem; accent-color: var(--green); flex: none; }
.consent a { color: var(--green); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- sektioner ---------- */
.sec { padding-block: var(--sec); }
.sec--light { background: var(--bone); color: var(--on-light); }
.sec--light h1, .sec--light h2, .sec--light h3 { color: var(--on-light); }
.sec--paper { background: var(--paper); color: var(--on-light); }
.sec--ink2 { background: var(--ink-2); }

.sec__head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.sec__head p { color: var(--on-dark-soft); font-size: 1.08rem; }
.sec--light .sec__head p, .sec--paper .sec__head p { color: var(--on-light-soft); }
.sec__head--split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: end; justify-content: space-between;
}
.sec__head--split > div { max-width: 58ch; }

/* ---------- ydelseskort med foto ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 400px; padding: 1.75rem; border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--on-dark); isolation: isolate;
  background: var(--ink-3);
}
.card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,31,24,0) 10%, rgba(26,31,24,.42) 52%, rgba(26,31,24,.88) 100%);
}
.card:hover img, .card:focus-visible img { transform: scale(1.05); }
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .95rem; color: #C6CAC3; margin: 0; }
.card .eyebrow { margin-bottom: .7rem; }
.card__more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-lt);
}
.card__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
.card__ridge {
  position: absolute; left: 1.75rem; bottom: 1.35rem; color: var(--green);
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__ridge, .card:focus-visible .card__ridge { opacity: 1; transform: translateY(0); }

/* ---------- proces ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bone); padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.step__n {
  font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em;
  color: var(--green-dk); margin-bottom: 1.4rem; display: block;
}
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--on-light-soft); margin: 0; }

/* ---------- projektgitter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .55rem 1.05rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-dark); color: var(--on-dark-soft);
  font-size: .9rem; font-weight: 500; transition: all .18s var(--ease);
}
.filter:hover { color: var(--on-dark); border-color: rgba(255,255,255,.3); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #06210A; }
.filter span { font-family: var(--f-mono); font-size: .78em; opacity: .65; margin-left: .35rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.tile {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  background: var(--ink-3); border: 0; border-radius: var(--r-lg); overflow: hidden;
}
.tile__hit {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  background: none; border: 0; cursor: pointer; border-radius: var(--r-lg);
  font-size: 0; color: transparent;
}
.tile:has(.tile__hit:focus-visible) { outline: 2px solid var(--green-lt); outline-offset: 3px; }
.tile__hit:focus-visible { outline: none; }
.tile__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__img img, .tile:has(.tile__hit:focus-visible) .tile__img img { transform: scale(1.045); }
.tile__body { padding: 1.05rem 1.15rem 1.25rem; }
.tile__body .eyebrow { margin-bottom: .5rem; font-size: .68rem; }
.tile h3 { font-size: 1.08rem; margin: 0; letter-spacing: -.015em; }
.tile__count {
  position: absolute; right: .7rem; bottom: .7rem;
  background: rgba(26,31,24,.78); backdrop-filter: blur(6px);
  padding: .3rem .6rem; border-radius: var(--r);
  font-family: var(--f-mono); font-size: .72rem; color: var(--on-dark);
}
.tile__ridge {
  position: absolute; left: 1.15rem; bottom: .6rem; color: var(--green);
  opacity: 0; transform: translateY(5px); transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.tile:hover .tile__ridge, .tile:has(.tile__hit:focus-visible) .tile__ridge { opacity: 1; transform: translateY(0); }
.grid__empty { grid-column: 1 / -1; padding: 3rem 0; color: var(--on-dark-soft); }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(18,22,17,.985); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: clamp(.75rem, 2vw, 1.5rem);
}
/* minmax(0,1fr) — ellers får rækken content-størrelsen som minimum, og billedet vokser ud over skærmen */
.lb[data-open="true"] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .75rem; }
.lb__top { display: flex; align-items: center; gap: 1rem; }
.lb__title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
.lb__cat { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.lb__count { margin-left: auto; font-family: var(--f-mono); font-size: .82rem; color: var(--on-dark-soft); }
.lb__stage { position: relative; min-height: 0; }
.lb__stage img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r); }
.lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: rgba(48,55,46,.85); border: 1px solid var(--line-dark); border-radius: 50%;
  transition: background .18s, border-color .18s;
}
.lb__btn:hover { background: var(--ink-3); border-color: var(--green); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__btn--prev { left: 0; }
.lb__btn--next { right: 0; }
.lb__close {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; flex: none;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--r);
}
.lb__close:hover { border-color: var(--green); }
.lb__close svg { width: 18px; height: 18px; }
.lb__thumbs { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.lb__thumbs button {
  flex: none; width: 76px; aspect-ratio: 4/3; padding: 0; cursor: pointer; overflow: hidden;
  border: 1px solid transparent; border-radius: var(--r); background: var(--ink-3); opacity: .5;
  transition: opacity .18s, border-color .18s;
}
.lb__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--green); }
.lb__thumbs button:hover { opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
body[data-lock] { overflow: hidden; }

/* ---------- anmeldelser ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1.1rem; }
.review {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--r-lg);
  padding: 1.6rem; display: flex; flex-direction: column;
}
.stars { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--green-dk); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.review h3 { font-size: 1.02rem; margin-bottom: .55rem; }
.review p { font-size: .94rem; color: var(--on-light-soft); line-height: 1.65; }
.review__by {
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-light);
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: var(--on-light-soft);
}
.review__by strong { color: var(--on-light); font-weight: 500; }

/* ---------- prosa ---------- */
.prose h2 { margin-top: 2.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--media img { border-radius: var(--r-lg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; margin-left: auto; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--green-dk); border-bottom: 2px solid var(--green-dk);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq p { padding-bottom: 1.35rem; margin: 0; color: var(--on-light-soft); max-width: 70ch; }

/* ---------- CTA-bånd ---------- */
.band { position: relative; background: var(--ink-2); overflow: hidden; }
.band__in { position: relative; display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0,1.3fr) auto; padding-block: clamp(3rem, 6vw, 5rem); }
.band h2 { margin-bottom: .35em; }
.band p { color: var(--on-dark-soft); max-width: 52ch; margin: 0; }
.band__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 780px) { .band__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ft { background: var(--ink); border-top: 1px solid var(--line-dark); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.ft__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 2.5rem; }
.ft__logo img { height: 32px; width: auto; margin-bottom: 1.1rem; }
.ft h4 {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green); margin: 0 0 1rem;
}
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: .5rem; }
.ft a { color: var(--on-dark-soft); text-decoration: none; transition: color .18s; font-size: .95rem; }
.ft a:hover { color: var(--on-dark); }
.ft address { font-style: normal; color: var(--on-dark-soft); font-size: .95rem; line-height: 1.75; }
.ft__social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.ft__social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: var(--r); transition: border-color .2s, color .2s;
}
.ft__social a:hover { border-color: var(--green); color: var(--green-lt); }
.ft__social svg { width: 17px; height: 17px; fill: currentColor; }
.ft__base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: var(--on-dark-soft);
}
.ft__base a { font-size: .85rem; }

/* ---------- statusbeskeder ---------- */
.note { padding: 1rem 1.15rem; border-radius: var(--r); border: 1px solid; font-size: .95rem; margin-bottom: 1.25rem; }
.note--ok  { border-color: rgba(99,173,68,.45); background: rgba(99,173,68,.12); color: var(--green-lt); }
.note--err { border-color: rgba(214,109,92,.5); background: rgba(214,109,92,.12); color: #E8A99C; }

/* ---------- indtoning ved scroll ---------- */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rise { opacity: 1; transform: none; }
}
