/* Handymankursus.dk */
:root {
  --green: #2f5d50;
  --green-deep: #244a40;
  --lime: #5abc1a;
  --lime-hover: #4ea316;
  --sand: #f6f3ee;
  --sand-deep: #ebe6dc;
  --ink: #2d2d2d;
  --ink-soft: rgba(45, 45, 45, 0.72);
  --white: #ffffff;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --font-display: "Syne", sans-serif;
  --font-body: "Newsreader", "Times New Roman", serif;
  --font-ui: "Syne", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { color: var(--lime-hover); }
h1, h2, h3, .brand {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 0.75rem 1rem; z-index: 100;
}
.skip:focus { left: var(--pad); top: 0.5rem; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 1.1rem;
}
.brand {
  color: inherit; text-decoration: none;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  margin: 0; letter-spacing: -0.03em;
}
.brand:hover { color: inherit; opacity: 0.9; }
.nav-toggle {
  display: none; appearance: none; border: 0; background: transparent;
  color: inherit; font-family: var(--font-ui); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; padding: 0.4rem;
}
.nav-toggle-bars {
  display: block; width: 1.4rem; height: 2px; background: currentColor;
  margin: 0.35rem auto 0.45rem; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: inherit; text-decoration: none; font-family: var(--font-ui);
  font-size: 0.92rem; font-weight: 600; opacity: 0.88;
}
.nav a:hover, .nav a[aria-current="page"] {
  opacity: 1; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 0.35em;
}
.nav-cta {
  display: inline-flex; align-items: center; background: var(--lime);
  color: var(--ink) !important; padding: 0.55rem 0.95rem;
  text-decoration: none !important; opacity: 1 !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--white); transform: translateY(-1px); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%;
    left: var(--pad); right: var(--pad); flex-direction: column;
    align-items: stretch; gap: 0; background: var(--green-deep); padding: 0.5rem 0;
  }
  .nav.is-open { display: flex; animation: fade-up 0.35s ease both; }
  .nav a { padding: 0.85rem 1rem; border-top: 1px solid rgba(255,255,255,0.12); }
  .nav-cta { margin: 0.5rem 1rem 0.75rem; justify-content: center; }
}

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--white); overflow: hidden; background: var(--green-deep);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.04); animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(36,74,64,0.45) 0%, rgba(36,74,64,0.2) 35%, rgba(36,74,64,0.82) 100%),
    linear-gradient(90deg, rgba(36,74,64,0.55) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: clamp(7rem, 18vh, 10rem) 0 clamp(2.5rem, 8vh, 4.5rem);
  max-width: 38rem; animation: fade-up 0.9s ease 0.15s both;
}
.hero h1 { margin-bottom: 0.45em; text-wrap: balance; }
.hero .lede {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.45;
  max-width: 32rem; margin-bottom: 1.5rem; color: rgba(246,243,238,0.92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer; padding: 0.85rem 1.25rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: var(--white); color: var(--ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(246,243,238,0.55);
}
.btn-ghost:hover { background: rgba(246,243,238,0.12); color: var(--white); }

.page-hero {
  background: var(--green); color: var(--white);
  padding: clamp(6.5rem, 14vh, 8.5rem) 0 3rem;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 36rem; font-size: 1.2rem; color: rgba(246,243,238,0.9); }
.site-header--solid { position: relative; background: var(--green); }

.section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.section-head { max-width: 36rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.section--green { background: var(--green); color: var(--white); }
.section--green .section-head p, .section--green p { color: rgba(246,243,238,0.88); }
.section--sand-deep { background: var(--sand-deep); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink a { color: var(--lime); }

.learn-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 0;
  border-top: 1px solid rgba(45,45,45,0.18);
}
.learn-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid rgba(45,45,45,0.18); font-size: 1.15rem;
  animation: fade-up 0.6s ease both;
}
.learn-list li:nth-child(1) { animation-delay: 0.05s; }
.learn-list li:nth-child(2) { animation-delay: 0.1s; }
.learn-list li:nth-child(3) { animation-delay: 0.15s; }
.learn-list li:nth-child(4) { animation-delay: 0.2s; }
.learn-list li:nth-child(5) { animation-delay: 0.25s; }
.learn-list li:nth-child(6) { animation-delay: 0.3s; }
.learn-list li:nth-child(7) { animation-delay: 0.35s; }
.learn-list .mark {
  font-family: var(--font-ui); font-weight: 700; color: var(--lime);
  font-size: 0.85rem; letter-spacing: 0.04em;
}

.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--courses { gap: 3rem; }
}
.course-block p { color: var(--ink-soft); }
.section--green .course-block p { color: rgba(246,243,238,0.88); }

.help-links { display: grid; gap: 1rem; margin-top: 1.5rem; }
.help-links a {
  font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700; color: var(--lime); text-decoration: underline;
  text-underline-offset: 0.2em; line-height: 1.25;
}
.help-links a:hover { color: var(--white); }
.help-or {
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600;
  opacity: 0.75; margin: 0.25rem 0;
}

.form { display: grid; gap: 1rem; max-width: 34rem; }
.form label {
  display: grid; gap: 0.35rem; font-family: var(--font-ui);
  font-size: 0.85rem; font-weight: 650; letter-spacing: 0.02em;
}
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-family: var(--font-body); font-size: 1.05rem;
  color: var(--ink); background: var(--white);
  border: 1.5px solid rgba(45,45,45,0.2); padding: 0.75rem 0.85rem; border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--green);
}
.form textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.form-status { font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: #a33; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.find-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .find-grid { grid-template-columns: 1fr 1fr; } }
.find-grid h3 {
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.5em; color: var(--lime);
}
.find-grid p, .find-grid a { font-size: 1.15rem; }

.site-footer {
  background: var(--green-deep); color: rgba(246,243,238,0.8);
  padding: 2.5rem 0; font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: baseline;
}
.site-footer a { color: var(--sand); }
.site-footer .brand { color: var(--white); font-size: 1.1rem; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-media img { transform: none; }
}

.hero-brand { margin-bottom: 0.75rem; font-size: clamp(1.2rem, 3vw, 1.6rem); }
.btn-ghost-dark {
  background: var(--green);
  color: var(--sand);
  margin-left: 0.5rem;
}
.btn-ghost-dark:hover { background: var(--green-deep); color: var(--white); }
.related-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.85rem;
  max-width: 40rem;
}
.related-list a {
  font-family: var(--font-ui); font-weight: 650; font-size: 1.05rem;
  color: var(--green); text-decoration: underline; text-underline-offset: 0.2em;
}
.related-list a:hover { color: var(--lime-hover); }
.footer-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-heading {
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime); margin: 0 0 0.75rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-list a { color: var(--sand); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-copy { margin-top: 1rem; opacity: 0.75; font-size: 0.9rem; }
.site-footer .brand { display: inline-block; margin-bottom: 0.75rem; }
.section--ink .help-links a { color: var(--lime); }


/* Gavekort / kursusbevis */
.gift-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .gift-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}
.certificate {
  background: var(--sand);
  border: 3px solid var(--green);
  padding: clamp(1.25rem, 3vw, 2rem);
  position: sticky;
  top: 1rem;
  box-shadow: 8px 8px 0 rgba(47, 93, 80, 0.12);
}
.certificate-top {
  text-align: center;
  margin-bottom: 1rem;
}
.certificate-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.certificate-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--green);
  margin: 0;
}
.certificate-icons {
  display: flex;
  justify-content: center;
  margin: 1rem 0 1.25rem;
}
.certificate-icons svg {
  width: min(100%, 240px);
  height: auto;
}
.certificate-body {
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.certificate-body strong {
  color: var(--green);
}
.certificate-quote {
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 1.15rem;
  color: var(--ink);
  min-height: 2.8em;
}
.certificate-from {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}
.certificate-price {
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--green);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
}
.certificate-foot {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.certificate-foot a {
  color: var(--green);
}
.gift-facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.gift-facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: baseline;
  font-size: 1.05rem;
}
.gift-facts .mark {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--lime);
  font-size: 0.8rem;
}
.primary-links {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.primary-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.primary-links a:hover { color: var(--white); }
.section--ink .primary-links a { color: var(--lime); }
.related-list--secondary {
  margin-top: 1.25rem;
  opacity: 0.95;
}
.related-list--secondary .related-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}


/* Målgrupper / forløb */
.audience-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(45, 45, 45, 0.16);
  margin-top: 0.5rem;
}
.audience-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(45, 45, 45, 0.16);
}
.audience-item h3 {
  margin-bottom: 0.35em;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}
.audience-item p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 40rem;
}
.section--green .audience-grid {
  border-top-color: rgba(246, 243, 238, 0.22);
}
.section--green .audience-item {
  border-bottom-color: rgba(246, 243, 238, 0.22);
}
.section--green .audience-item p {
  color: rgba(246, 243, 238, 0.88);
}
.audience-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
