@font-face{font-family:"Anton";src:url(/assets/fonts/anton-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Public Sans";src:url(/assets/fonts/public-sans-400i.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/assets/fonts/jetbrains-mono-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
/* Træfældning.dk – feltguide i skovnat og signalorange. BEM med præfikset yc. Mobil først. */

:root {
  --yc-night: #0B1712;
  --yc-night-2: #13251C;
  --yc-night-3: #1F3A2D;
  --yc-orange: #FF6A13;
  --yc-orange-lys: #FF8A3D;
  --yc-white: #FFFFFF;
  --yc-frost: #EEF2F0;
  --yc-ink: #101A15;
  --yc-rust: #A63A06;
  --yc-moss: #A9BDB2;
  --yc-slate: #4A5A52;
  --yc-line: #D3DDD8;
  --yc-r: 20px;
  --yc-r-s: 12px;
  --yc-max: 1080px;
  --yc-pad: clamp(1rem, 4vw, 2rem);
  --yc-head: "Anton", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --yc-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --yc-mono: "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--yc-night);
  color: var(--yc-white);
  font-family: var(--yc-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--yc-orange-lys); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--yc-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.yc-wrap {
  width: 100%;
  max-width: var(--yc-max);
  margin-inline: auto;
  padding-inline: var(--yc-pad);
}

.yc-skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--yc-orange);
  color: var(--yc-night);
  font-weight: 700;
  border-radius: var(--yc-r-s);
  text-decoration: none;
}
.yc-skip:focus { top: 1rem; }

/* Afspærringsbånd */
.yc-tape {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--yc-orange) 0 16px, var(--yc-night) 16px 32px);
}

/* Små etiketter */
.yc-kicker {
  margin: 0 0 .75rem;
  font-family: var(--yc-mono);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yc-orange);
}
.yc-kicker--ink { color: var(--yc-rust); }

/* Knapper */
.yc-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 3px solid var(--yc-orange);
  border-radius: 999px;
  background: var(--yc-orange);
  color: var(--yc-night);
  font-family: var(--yc-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.yc-btn::after {
  content: "";
  width: .55em;
  height: .55em;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}
.yc-btn:hover { transform: translateY(-2px); }
.yc-btn--line { background: transparent; color: var(--yc-white); }
.yc-btn--line:hover { background: var(--yc-night-2); }
.yc-btn--dark { background: var(--yc-night); border-color: var(--yc-night); color: var(--yc-white); }
.yc-btn--dark:hover { background: var(--yc-night-2); }

/* ---------- Sidehoved og menu ---------- */
.yc-header { background: var(--yc-night); border-bottom: 1px solid var(--yc-night-3); }
.yc-header__inner {
  max-width: var(--yc-max);
  margin-inline: auto;
  padding: .9rem var(--yc-pad) .6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1.5rem;
}
.yc-header__logo { display: block; flex: none; line-height: 0; border-radius: 6px; }
.yc-header__logo svg { display: block; height: 54px; width: auto; }

.yc-nav { width: 100%; min-width: 0; }
.yc-nav__list {
  display: flex;
  gap: .4rem;
  margin: 0 calc(var(--yc-pad) * -1);
  padding: .3rem var(--yc-pad) .6rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--yc-night-3) transparent;
}
.yc-nav__item { flex: none; }
.yc-nav__link {
  display: block;
  padding: .45rem .9rem;
  border: 2px solid var(--yc-night-3);
  border-radius: 999px;
  color: var(--yc-white);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.yc-nav__link:hover { border-color: var(--yc-orange); }
.yc-nav__link--active { background: var(--yc-orange); border-color: var(--yc-orange); color: var(--yc-night); }

@media (min-width: 960px) {
  .yc-header__inner { flex-wrap: nowrap; padding-block: 1.1rem; }
  .yc-header__logo svg { height: 70px; }
  .yc-nav { width: auto; }
  .yc-nav__list { margin: 0; padding: 0; overflow: visible; flex-wrap: wrap; justify-content: flex-end; }
}

/* ---------- Forside: intro ---------- */
.yc-intro { background: var(--yc-night); overflow: hidden; }
.yc-intro__inner {
  max-width: var(--yc-max);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) var(--yc-pad) clamp(2.2rem, 6vw, 4rem);
  display: grid;
  gap: 2.2rem;
  align-items: center;
}
.yc-intro__title {
  margin: 0;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(3rem, 13vw, 6.4rem);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.yc-intro__title::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 8px;
  margin-top: 1.1rem;
  background: var(--yc-orange);
  border-radius: 4px;
}
.yc-intro__lead {
  margin: 1.2rem 0 0;
  max-width: 34ch;
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--yc-white);
}
.yc-intro__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.yc-intro__media { position: relative; }
@media (min-width: 960px) {
  .yc-intro__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
}

/* ---------- Billeder med AI-mærkning ---------- */
.yc-figure { position: relative; margin: 0; }
.yc-figure__img { width: 100%; border-radius: var(--yc-r); background: var(--yc-night-2); }
.yc-figure__cap {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  padding: .2rem .55rem;
  border-radius: 6px;
  background: var(--yc-night);
  color: var(--yc-white);
  font-family: var(--yc-mono);
  font-size: .7rem;
  line-height: 1.4;
  letter-spacing: .02em;
}
.yc-figure--intro .yc-figure__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 14px 14px 0 var(--yc-orange);
}
.yc-figure--lead { margin-bottom: 2rem; }
.yc-figure--lead .yc-figure__img { aspect-ratio: 16 / 9; object-fit: cover; }
.yc-figure--thumb .yc-figure__img { aspect-ratio: 4 / 3; object-fit: cover; }
.yc-figure--thumb .yc-figure__cap { left: .45rem; bottom: .45rem; font-size: .62rem; }

/* ---------- Forside: tjeklisten ---------- */
.yc-checklist { padding: clamp(2.5rem, 7vw, 5rem) 0; background: var(--yc-night); }
.yc-checklist__head { max-width: 46rem; margin-bottom: 2rem; }
.yc-checklist__title {
  margin: 0;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: .95;
  text-transform: uppercase;
}
.yc-checklist__intro { margin: .9rem 0 0; color: var(--yc-moss); font-size: 1.08rem; }
.yc-checklist__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--yc-night-3); }
.yc-checklist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .2rem 1.1rem;
  padding: 1.6rem 0;
  border-bottom: 2px solid var(--yc-night-3);
}
.yc-checklist__nr {
  font-family: var(--yc-head);
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: .85;
  color: var(--yc-orange);
  min-width: 2ch;
}
.yc-checklist__q {
  margin: .1rem 0 .4rem;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: .01em;
}
.yc-checklist__text { margin: 0 0 1rem; max-width: 52ch; color: var(--yc-moss); }
.yc-checklist__links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.yc-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .95rem;
  border: 2px solid var(--yc-orange);
  border-radius: 999px;
  color: var(--yc-white);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
  text-decoration: none;
}
.yc-chip::after { content: "→"; color: var(--yc-orange); font-weight: 700; }
.yc-chip:hover { background: var(--yc-orange); color: var(--yc-night); }
.yc-chip:hover::after { color: var(--yc-night); }
.yc-checklist__media { display: none; }
@media (min-width: 960px) {
  .yc-checklist__item { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 2rem; padding: 2rem 0; }
  .yc-checklist__item--media { grid-template-columns: 6.5rem minmax(0, 1fr) 220px; }
  .yc-checklist__media { display: block; }
}

/* ---------- Forside: metodeoversigt ---------- */
.yc-methods { background: var(--yc-white); color: var(--yc-ink); padding: clamp(2.5rem, 7vw, 4.8rem) 0; }
.yc-methods :focus-visible { outline-color: var(--yc-ink); }
.yc-methods__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
}
.yc-methods__scale {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.8rem 0 1rem;
  font-family: var(--yc-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yc-slate);
}
.yc-methods__arrow { position: relative; flex: 1; height: 3px; background: var(--yc-ink); border-radius: 2px; }
.yc-methods__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--yc-ink);
  border-right: 3px solid var(--yc-ink);
  transform: translateY(-50%) rotate(45deg);
}
.yc-methods__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--yc-ink);
}
.yc-methods__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--yc-line);
}
.yc-methods__icon { grid-row: 1 / span 3; width: 96px; height: auto; }
.yc-sk__keep { fill: var(--yc-slate); }
.yc-sk__cut, .yc-sk__cut rect, .yc-sk__cut ellipse { fill: var(--yc-orange); }
.yc-sk__gap { fill: var(--yc-white); }
.yc-sk__ground { fill: var(--yc-ink); }
.yc-sk__arc { fill: none; stroke: var(--yc-orange); stroke-width: 3; stroke-dasharray: 6 6; }
.yc-sk__ghost rect, .yc-sk__ghost ellipse { fill: none; stroke: var(--yc-slate); stroke-width: 2; stroke-dasharray: 4 5; }
.yc-methods__name {
  margin: 0 0 .25rem;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.1;
}
.yc-methods__text { margin: 0 0 .6rem; color: var(--yc-slate); font-size: 1rem; line-height: 1.55; }
.yc-methods__link { align-self: start; justify-self: start; color: var(--yc-rust); font-weight: 700; font-size: .98rem; }
.yc-methods__legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.2rem 0 0;
  color: var(--yc-slate);
  font-size: .95rem;
}
.yc-methods__swatch { width: 1.1rem; height: 1.1rem; border-radius: 4px; background: var(--yc-orange); flex: none; }
@media (min-width: 640px) {
  .yc-methods__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
@media (min-width: 960px) {
  .yc-methods__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .yc-methods__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    padding: 1.6rem 1.4rem 1.4rem;
    border-bottom: 0;
    border-left: 1px solid var(--yc-line);
  }
  .yc-methods__item:first-child { border-left: 0; padding-left: 0; }
  .yc-methods__icon { grid-row: auto; width: 100%; max-width: 170px; margin-bottom: 1rem; }
}

/* ---------- Forside: indgang til beregneren ---------- */
.yc-cta { background: var(--yc-white); padding: 0 0 clamp(2.5rem, 7vw, 4.5rem); }
.yc-cta__box {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.6rem, 5vw, 3rem);
  border-radius: var(--yc-r);
  background: var(--yc-orange);
  color: var(--yc-night);
}
.yc-cta__box :focus-visible { outline-color: var(--yc-night); }
.yc-cta__kicker {
  margin: 0 0 .5rem;
  font-family: var(--yc-mono);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.yc-cta__title {
  margin: 0;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(2.3rem, 7.5vw, 4rem);
  line-height: .95;
  text-transform: uppercase;
}
.yc-cta__lead { margin: 1rem 0 1.5rem; max-width: 44ch; font-size: 1.08rem; }
.yc-cta__art { width: 100%; max-width: 360px; height: auto; justify-self: center; }
.yc-cta__ink { fill: var(--yc-night); }
.yc-cta__line { fill: none; stroke: var(--yc-night); stroke-width: 4; stroke-linecap: round; }
.yc-cta__line--dash { stroke-dasharray: 2 10; stroke-width: 5; }
@media (min-width: 760px) {
  .yc-cta__box { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

/* ---------- Ark (hvide indholdsflader) ---------- */
.yc-sheet {
  min-width: 0;
  background: var(--yc-white);
  color: var(--yc-ink);
  border-radius: var(--yc-r);
  padding: clamp(1.2rem, 4.5vw, 3rem);
}
.yc-sheet :focus-visible { outline-color: var(--yc-ink); }
.yc-homebody { background: var(--yc-night); padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.yc-sheet--home { max-width: 820px; margin-inline: auto; }

/* ---------- Brødtekst ---------- */
.yc-prose { max-width: 68ch; }
.yc-prose > :first-child { margin-top: 0; }
.yc-prose p, .yc-prose ul, .yc-prose ol, .yc-prose blockquote, .yc-prose table { margin: 0 0 1.15rem; }
.yc-prose h2 {
  margin: 2.6rem 0 .9rem;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: .005em;
  color: var(--yc-ink);
}
.yc-prose h2::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 6px;
  margin-bottom: .7rem;
  border-radius: 3px;
  background: var(--yc-orange);
}
.yc-prose h3 { margin: 2rem 0 .5rem; font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.yc-prose h4 { margin: 1.6rem 0 .4rem; font-size: 1.05rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--yc-slate); }
.yc-prose a { color: var(--yc-rust); }
.yc-prose ul, .yc-prose ol { padding-left: 1.4rem; }
.yc-prose li { margin-bottom: .4rem; }
.yc-prose li > ul, .yc-prose li > ol { margin: .4rem 0 0; }
.yc-prose ul > li::marker { color: var(--yc-orange); content: "■  "; font-size: .8em; }
.yc-prose ol > li::marker { color: var(--yc-rust); font-family: var(--yc-mono); font-weight: 500; }
.yc-prose strong { font-weight: 700; }
.yc-prose blockquote {
  padding: 1rem 1.3rem;
  border-left: 6px solid var(--yc-orange);
  border-radius: 0 var(--yc-r-s) var(--yc-r-s) 0;
  background: var(--yc-frost);
  font-size: 1.08rem;
}
.yc-prose blockquote > :last-child { margin-bottom: 0; }
.yc-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .96rem;
  line-height: 1.45;
  overflow-wrap: normal;
}
.yc-prose th, .yc-prose td { padding: .6rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--yc-line); min-width: 6rem; }
.yc-tablebox { max-width: 100%; margin: 0 0 1.25rem; overflow-x: auto; border-radius: var(--yc-r-s); }
.yc-tablebox > table { display: table; width: 100%; margin: 0; overflow: visible; }
.yc-prose thead th { background: var(--yc-night); color: var(--yc-white); font-weight: 700; border-bottom: 0; }
.yc-prose thead th:first-child { border-top-left-radius: var(--yc-r-s); }
.yc-prose thead th:last-child { border-top-right-radius: var(--yc-r-s); }
.yc-prose tbody tr:nth-child(even) td { background: var(--yc-frost); }

/* ---------- Kort fortalt ---------- */
/* Første citat i artiklernes brødtekst: > **Kort fortalt** + punktliste. Boks i signalorange. */
.yc-prose--kort > blockquote:first-child {
  position: relative;
  margin: 0 0 2.4rem;
  padding: 1.3rem 1.4rem 1.3rem;
  border: 0;
  border-radius: var(--yc-r);
  background: var(--yc-orange);
  color: var(--yc-night);
  font-size: 1.02rem;
  line-height: 1.55;
  box-shadow: 8px 8px 0 var(--yc-night);
}
.yc-prose--kort > blockquote:first-child > p:first-child > strong:only-child,
.yc-prose--kort > blockquote:first-child > p:first-child > strong:first-child {
  display: inline-block;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.yc-prose--kort > blockquote:first-child > p { margin: 0 0 .6rem; }
.yc-prose--kort > blockquote:first-child ul,
.yc-prose--kort > blockquote:first-child ol { margin: 0; padding-left: 1.3rem; }
.yc-prose--kort > blockquote:first-child li { margin-bottom: .35rem; }
.yc-prose--kort > blockquote:first-child li:last-child { margin-bottom: 0; }
.yc-prose--kort > blockquote:first-child ul > li::marker { color: var(--yc-night); }
.yc-prose--kort > blockquote:first-child ol > li::marker { color: var(--yc-night); }
.yc-prose--kort > blockquote:first-child a { color: var(--yc-night); text-decoration-thickness: 2px; }
.yc-prose--kort > blockquote:first-child :focus-visible { outline-color: var(--yc-night); }
.yc-prose--kort > blockquote:first-child > :last-child { margin-bottom: 0; }

/* ---------- FAQ og kilder ---------- */
.yc-faq { margin-top: 3rem; padding-top: 2rem; border-top: 3px solid var(--yc-ink); max-width: 68ch; }
.yc-faq__title, .yc-sources__title {
  margin: 0 0 1.2rem;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.6vw, 2rem);
  line-height: 1.05;
}
.yc-faq__list { margin: 0; }
.yc-faq__item { padding: 1rem 0; border-bottom: 1px solid var(--yc-line); }
.yc-faq__q { font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.yc-faq__q::before { content: "?"; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .6rem; border-radius: 50%; background: var(--yc-orange); color: var(--yc-night); font-family: var(--yc-head); font-size: 1rem; vertical-align: .1em; }
.yc-faq__a { margin: .5rem 0 0; color: var(--yc-ink); }
.yc-sources { margin-top: 2.5rem; padding: 1.3rem 1.4rem; border-radius: var(--yc-r); background: var(--yc-frost); max-width: 68ch; }
.yc-sources__title { font-size: 1.35rem; margin-bottom: .6rem; }
.yc-sources__list { margin: 0; padding-left: 1.2rem; }
.yc-sources__item { margin-bottom: .3rem; }
.yc-sources__link { color: var(--yc-rust); }

/* ---------- Undersider: mørkt sidehoved ---------- */
.yc-pagehead { padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(2rem, 5vw, 3rem); background: var(--yc-night); }
.yc-crumbs__list { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .9rem; color: var(--yc-moss); }
.yc-crumbs__item + .yc-crumbs__item::before { content: "/"; margin-right: .35rem; color: var(--yc-orange); }
.yc-crumbs__link { color: var(--yc-moss); }
.yc-crumbs__link:hover { color: var(--yc-white); }
.yc-pagehead__step { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin: 0 0 .8rem; }
.yc-pagehead__badge {
  padding: .25rem .65rem;
  border-radius: 6px;
  background: var(--yc-orange);
  color: var(--yc-night);
  font-family: var(--yc-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.yc-pagehead__steptitle { font-family: var(--yc-mono); font-weight: 500; font-size: .85rem; letter-spacing: .04em; color: var(--yc-moss); text-transform: uppercase; }
.yc-progress { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; max-width: 22rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.yc-progress__seg { height: 7px; border-radius: 4px; background: var(--yc-night-3); }
.yc-progress__seg--done { background: var(--yc-moss); }
.yc-progress__seg--current { background: var(--yc-orange); }
.yc-pagehead__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--yc-head);
  font-weight: 400;
  font-size: clamp(2.3rem, 7.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
  hyphens: auto;
}
.yc-pagehead__lead { margin: 1.1rem 0 0; max-width: 60ch; font-size: clamp(1.08rem, 2.4vw, 1.25rem); line-height: 1.5; color: var(--yc-white); }
.yc-pagehead__meta { margin: .9rem 0 0; font-family: var(--yc-mono); font-size: .8rem; color: var(--yc-moss); }

/* ---------- Undersider: layout ---------- */
.yc-layout { display: grid; gap: 1.6rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 960px) {
  .yc-layout--guide { grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 2rem; }
}
.yc-aside__box {
  padding: 1.4rem;
  border: 2px solid var(--yc-night-3);
  border-radius: var(--yc-r);
  background: var(--yc-night-2);
}
@media (min-width: 960px) {
  .yc-aside { position: sticky; top: 1.2rem; }
}
.yc-aside__title { margin: 0 0 .9rem; font-family: var(--yc-head); font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.yc-aside__list { margin: 0; padding: 0; list-style: none; }
.yc-aside__item { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); align-items: baseline; gap: .5rem; padding: .45rem 0; border-top: 1px solid var(--yc-night-3); }
.yc-aside__nr { font-family: var(--yc-head); font-size: 1.2rem; color: var(--yc-orange); }
.yc-aside__link { color: var(--yc-white); font-weight: 700; font-size: .97rem; line-height: 1.35; text-decoration: none; }
a.yc-aside__link:hover { text-decoration: underline; text-decoration-color: var(--yc-orange); }
.yc-aside__item--current { background: var(--yc-night); margin-inline: -.6rem; padding-inline: .6rem; border-radius: var(--yc-r-s); border-top-color: transparent; }
.yc-aside__item--current .yc-aside__link { color: var(--yc-orange); }
.yc-aside__tool {
  display: block;
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-radius: var(--yc-r-s);
  background: var(--yc-orange);
  color: var(--yc-night);
  font-weight: 700;
  text-decoration: none;
}
.yc-aside__tool::after { content: " →"; }

/* Forrige / næste */
.yc-pager { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.yc-pager__inner { display: grid; gap: .9rem; }
.yc-pager__link {
  display: grid;
  gap: .2rem;
  padding: 1.1rem 1.3rem;
  border: 2px solid var(--yc-night-3);
  border-radius: var(--yc-r);
  background: var(--yc-night-2);
  color: var(--yc-white);
  text-decoration: none;
}
.yc-pager__link:hover { border-color: var(--yc-orange); }
.yc-pager__dir { font-family: var(--yc-mono); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yc-orange); }
.yc-pager__link--prev .yc-pager__dir::before { content: "← "; }
.yc-pager__link--next .yc-pager__dir::after { content: " →"; }
.yc-pager__name { font-family: var(--yc-head); font-size: clamp(1.25rem, 3.6vw, 1.6rem); line-height: 1.1; }
@media (min-width: 760px) {
  .yc-pager__inner { grid-template-columns: 1fr 1fr; }
  .yc-pager__link--next { text-align: right; }
}

/* ---------- Højdeberegneren ---------- */
.yc-tool {
  margin: 0 0 2.4rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: var(--yc-r);
  background: var(--yc-night);
  color: var(--yc-white);
}
.yc-tool :focus-visible { outline-color: var(--yc-orange); }
.yc-tool__kicker { margin: 0 0 .4rem; font-family: var(--yc-mono); font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yc-orange); }
.yc-tool__title { margin: 0; font-family: var(--yc-head); font-weight: 400; font-size: clamp(1.8rem, 5.5vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.yc-tool__intro { margin: .8rem 0 1.4rem; max-width: 60ch; color: var(--yc-moss); }
.yc-tool__grid { display: grid; gap: 1.4rem; }
@media (min-width: 760px) {
  .yc-tool__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.yc-field { margin-bottom: 1rem; }
.yc-field__label { display: block; margin-bottom: .35rem; font-weight: 700; }
.yc-field__box { position: relative; }
.yc-field__input {
  width: 100%;
  min-height: 52px;
  padding: .6rem 2.6rem .6rem .9rem;
  border: 3px solid var(--yc-night-3);
  border-radius: var(--yc-r-s);
  background: var(--yc-white);
  color: var(--yc-ink);
  font-family: var(--yc-mono);
  font-size: 1.15rem;
}
.yc-field__input:focus-visible { outline: 3px solid var(--yc-orange); outline-offset: 2px; border-color: var(--yc-ink); }
.yc-field__input[aria-invalid="true"] { border-color: var(--yc-orange); box-shadow: inset 0 0 0 2px var(--yc-orange); }
.yc-field__input::placeholder { color: var(--yc-slate); opacity: 1; }
.yc-field__unit { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font-family: var(--yc-mono); font-weight: 500; color: var(--yc-slate); }
.yc-field__hint { margin: .3rem 0 0; font-size: .9rem; color: var(--yc-moss); line-height: 1.45; }
.yc-tool__btn { margin-top: .4rem; }
.yc-tool__out {
  padding: 1.3rem;
  border: 2px solid var(--yc-night-3);
  border-radius: var(--yc-r);
  background: var(--yc-night-2);
}
.yc-tool__label { margin: 0; font-family: var(--yc-mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yc-moss); }
.yc-tool__value { margin: .2rem 0 .3rem; font-family: var(--yc-head); font-size: clamp(2.8rem, 10vw, 4.2rem); line-height: 1; color: var(--yc-orange); }
.yc-tool__calc { margin: 0; font-family: var(--yc-mono); font-size: .88rem; line-height: 1.5; color: var(--yc-white); }
.yc-tool__status { margin: .6rem 0 0; font-weight: 700; color: var(--yc-orange-lys); }
.yc-tool__status:empty { display: none; }
.yc-tool__art { display: block; width: 100%; height: auto; margin-top: 1rem; }
.yc-tool__ground { fill: var(--yc-moss); }
.yc-tool__tree { fill: var(--yc-night-3); }
.yc-tool__sight { stroke: var(--yc-orange); stroke-width: 3; stroke-dasharray: 7 6; }
.yc-tool__base, .yc-tool__eye { stroke: var(--yc-white); stroke-width: 2.5; }
.yc-tool__dim { stroke: var(--yc-orange); stroke-width: 2.5; }
.yc-tool__dot { fill: var(--yc-orange); }
.yc-tool__angle { fill: none; stroke: var(--yc-orange); stroke-width: 2.5; }
.yc-tool__txt { fill: var(--yc-white); font-family: var(--yc-mono); font-size: 13px; }
.yc-tool__txt--hi { fill: var(--yc-orange); }
.yc-tool__note { margin: 1.4rem 0 0; font-size: .92rem; line-height: 1.55; color: var(--yc-moss); }
.yc-tool__src { color: var(--yc-orange-lys); }

/* ---------- Kontaktformular ---------- */
.yc-sheet--contact { max-width: 760px; }
.yc-form { position: relative; margin-top: 1.5rem; max-width: 34rem; }
.yc-form__row { margin-bottom: 1.1rem; }
.yc-form__label { display: block; margin-bottom: .35rem; font-weight: 700; }
.yc-form__input {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  border: 2px solid var(--yc-slate);
  border-radius: var(--yc-r-s);
  background: var(--yc-white);
  color: var(--yc-ink);
  font: inherit;
}
.yc-form__input:focus-visible { outline: 3px solid var(--yc-ink); outline-offset: 2px; border-color: var(--yc-orange); }
.yc-form__input--area { min-height: 10rem; resize: vertical; }
.yc-form label { display: block; margin-bottom: .35rem; font-weight: 700; }
.yc-form input:not([type="hidden"]):not(.yc-form__input) {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  border: 2px solid var(--yc-slate);
  border-radius: var(--yc-r-s);
  font: inherit;
  margin-bottom: 1.1rem;
}
.yc-form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.yc-form__send { margin-top: .4rem; }
.yc-form__note { margin: 1.2rem 0 0; font-size: .92rem; color: var(--yc-slate); }
.yc-form__note a { color: var(--yc-rust); }
.yc-sheet--contact [role="status"] { padding: .9rem 1.1rem; border-radius: var(--yc-r-s); background: var(--yc-frost); border-left: 6px solid var(--yc-orange); font-weight: 700; }

/* ---------- Liste og 404 ---------- */
.yc-index { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.yc-index__item { display: grid; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--yc-line); }
@media (min-width: 760px) {
  .yc-index__item { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
}
.yc-index__title { margin: 0 0 .3rem; font-family: var(--yc-head); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.yc-index__link { color: var(--yc-ink); text-decoration-color: var(--yc-orange); }
.yc-index__text { margin: 0; color: var(--yc-slate); }
.yc-figure--index .yc-figure__img { aspect-ratio: 16 / 9; object-fit: cover; }

.yc-lost { margin: 0; padding: 0; list-style: none; }
.yc-lost__item { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--yc-line); }
.yc-lost__nr { font-family: var(--yc-head); font-size: 1.8rem; line-height: 1; color: var(--yc-rust); }
.yc-lost__link { color: var(--yc-ink); font-weight: 700; font-size: 1.1rem; text-decoration-color: var(--yc-orange); }
.yc-lost__home { margin: 1.6rem 0 0; }
.yc-pagehead--404 { padding-bottom: 2.4rem; }
.yc-sheet--404 { margin-top: 2rem; max-width: 760px; }

/* ---------- Sidefod: minimal og centreret ---------- */
.yc-footer { background: var(--yc-night); border-top: 1px solid var(--yc-night-3); }
.yc-footer__inner {
  max-width: var(--yc-max);
  margin-inline: auto;
  padding: 2.6rem var(--yc-pad) 2.2rem;
  text-align: center;
}
.yc-footer__logo { display: inline-block; line-height: 0; border-radius: 6px; }
.yc-footer__logo svg { height: 72px; width: auto; }
.yc-footer__tagline { margin: 1rem auto 0; max-width: 42ch; color: var(--yc-moss); font-size: .98rem; }
.yc-footer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.yc-footer__link { display: inline-block; padding: .3rem 0; color: var(--yc-white); font-weight: 700; font-size: .95rem; text-decoration: none; }
.yc-footer__link:hover, .yc-footer__link[aria-current] { color: var(--yc-orange); text-decoration: underline; }
.yc-footer__item--meta .yc-footer__link { color: var(--yc-moss); font-weight: 400; }
.yc-footer__note { margin: 1.6rem auto 0; max-width: 52ch; font-size: .85rem; color: var(--yc-moss); }
.yc-footer__copy { margin: .5rem 0 0; font-family: var(--yc-mono); font-size: .78rem; color: var(--yc-moss); }
