/* Fjerner browserens standard margin/padding, så vi selv styrer afstande overalt. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*_______________________________________   Global / Typografi   ____________________________________________*/

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f6f6f6;
  color: #151515;
  font-family: "Inter", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.hero-btn,
button,
input,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-logo,
.hero-btn,
button,
input[type="submit"] {
  font-family: "Manrope", sans-serif;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

p {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
}

/* Fælles styling til de små grønne labels, så vi ikke bruger h3 til labels længere. */
.section-label,
.lesson-label {
  color: #2ecc71;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Sørger for at almindelig brødtekst bliver hvid på mørkegrønne bokse, men labels forbliver grønne. */
.hero-text p:not(.section-label),
.budget-intro p:not(.section-label),
.lesson-header p:not(.lesson-label),
.lesson-text p,
.about p:not(.section-label),
.mi-vi p:not(.section-label),
.value p,
.contact-text p:not(.section-label),
.overlay-content p,
.site-footer p {
  color: #f6f6f6;
  font-weight: 400;
}

.logo-box {
  width: 40px;
  height: 40px;
  color: #145a32;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
}

/*_______________________________________   Knapper   ____________________________________________*/

/* Samlet styling til alle knapper, så hover- og klik-effekter føles ens på hele siden. */
button:not(.burger-button),
#btnSend,
.advice-cta a,
.hero-btn,
.quiz-toggle,
.quiz-submit,
#calculateBtn,
#closeOverlay {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

button:not(.burger-button):hover,
#btnSend:hover,
.advice-cta a:hover,
.hero-btn:hover,
.quiz-toggle:hover,
.quiz-submit:hover,
#calculateBtn:hover,
#closeOverlay:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

button:not(.burger-button):active,
#btnSend:active,
.advice-cta a:active,
.hero-btn:active,
.quiz-toggle:active,
.quiz-submit:active,
#calculateBtn:active,
#closeOverlay:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn,
.quiz-toggle,
#btnSend,
#closeOverlay {
  background-color: #2ecc71;
  color: #145a32;
}

.hero-btn:hover,
.quiz-toggle:hover,
#btnSend:hover,
#closeOverlay:hover {
  background-color: #34dd7c;
}

#calculateBtn,
.quiz-submit,
.advice-cta a {
  background-color: #145a32;
  color: #f6f6f6;
}

#calculateBtn:hover,
.quiz-submit:hover,
.advice-cta a:hover {
  background-color: #1d7a45;
}

/*_______________________________________   Header / Nav   ____________________________________________*/

/* Headeren bruges på alle sider, så navigationen er ens gennem hele sitet. */
.site-header {
  background-color: #145a32;
  padding: 0 40px;
}

.navbar {
  max-width: 1300px;
  margin: 0 auto;
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f6f6f6;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: #f6f6f6;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  transition: color 0.3s ease;
}

.nav-links a.active-link,
.nav-links a:hover {
  color: #2ecc71;
}

.burger-button {
  display: none;
}

/*_______________________________________   SoMe banner   ____________________________________________*/

.so-me-banner {
  background-color: #2ecc71;
  color: #145a32;
  min-height: 200px;
  padding: 45px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

/* Fjerner ekstra mellemrum over footeren, når SoMe-banneret ligger lige før den. */
main:has(.so-me-banner) + .site-footer {
  margin-top: 0;
}

.so-me-banner a {
  color: #145a32;
  text-decoration: none;
}

.so-me-banner .fa-brands {
  font-size: 50px;
  transition:
    transform 0.4s ease,
    color 0.4s ease;
}

.so-me-banner .fa-brands:hover {
  transform: scale(1.2) translateY(-4px);
  color: #f6f6f6;
}

/*_______________________________________   Footer   ____________________________________________*/

/* Fjerner ekstra mellemrum over footeren, når SoMe-banneret ligger lige før den. */
.site-footer {
  background-color: #145a32;
  color: #f6f6f6;
  padding: 50px 40px 25px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.footer-brand h3 {
  color: #f6f6f6;
  font-size: 22px;
  margin-bottom: 6px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 0;
  color: #f6f6f6;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #f6f6f6;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #2ecc71;
}

.footer-contact p {
  font-size: 15px;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1300px;
  margin: 35px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 246, 246, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background-color: #f6f6f6;
  color: #145a32;
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: #2ecc71;
  color: #145a32;
  transform: translateY(-3px) scale(1.08);
}

.social-icons a:active {
  transform: scale(0.94);
}

.social-icons .fa-brands {
  font-size: 18px;
}

/*_______________________________________   Forside   ____________________________________________*/

/* Forsidens hero er lavet som to kolonner på desktop: tekst til venstre og billede til højre. */
.hero-container {
  width: calc(100% - 80px);
  max-width: 1300px;
  margin: 50px auto 0;
  padding-left: 60px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-text {
  max-width: 520px;
  padding-top: 45px;
  padding-bottom: 45px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-text .section-label {
  margin-bottom: 16px;
  font-size: 20px;
}

.hero-text h1 {
  color: #f6f6f6;
  margin-bottom: 18px;
}

.hero-btn {
  margin-top: 30px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  width: fit-content;
  cursor: pointer;
  text-decoration: none;
}

.hero-btn a {
  color: #145a32;
}

.hero-img-container {
  width: 100%;
  min-height: 360px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cards-container {
  max-width: 1300px;
  margin: 40px auto 40px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.cards {
  min-height: 360px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cards:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.card-img-container {
  height: 180px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text {
  padding: 24px;
}

.card-text h2 {
  color: #2ecc71;
  margin-bottom: 12px;
  font-size: 20px;
}

.card-text p {
  color: #f6f6f6;
  font-size: 16px;
  line-height: 1.5;
}

/*_______________________________________   Budgetberegner   ____________________________________________*/

.budget-hero {
  padding: 50px 40px;
}

/* Budgetsektionen er delt op i intro-tekst og selve beregneren. */
.budget-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px;
  background-color: #145a32;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 60px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.budget-intro {
  max-width: 470px;
}

.budget-intro .section-label {
  font-size: 20px;
  margin-bottom: 22px;
}

.budget-intro h1 {
  color: #f6f6f6;
  margin-bottom: 26px;
}

.budget-calculator {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  background-color: rgba(246, 246, 246, 0.8);
  border-radius: 18px;
  padding: 32px;
}

.budget-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.budget-row label {
  font-size: 18px;
  font-weight: 700;
  color: #151515;
}

.label-with-tip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tooltip {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 19px;
  height: 19px;
  min-width: 19px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #2ecc71;
  color: #f6f6f6;
  font-size: 13px;
  font-weight: 800;
  cursor: help;
}

.tooltip-text {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 135%;
  transform: translateX(-50%);
  width: 230px;
  padding: 12px;
  background-color: #151515;
  color: #f6f6f6;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
  display: block;
}

.budget-row input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #145a32;
  border-radius: 12px;
  font-size: 18px;
  color: #151515;
  background-color: #f6f6f6;
}

.budget-row input:focus {
  outline: none;
  border-color: #2ecc71;
}

#calculateBtn {
  width: 100%;
  padding: 18px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.budget-result {
  margin-top: 28px;
  padding: 24px;
  background-color: rgba(46, 204, 113, 0.25);
  border: 1px solid #2ecc71;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.result-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(46, 204, 113, 0.35);
  color: #1d7a45;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 800;
}

.budget-result h2 {
  color: #1d7a45;
  font-size: 26px;
  margin-bottom: 6px;
}

.budget-result p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  font-weight: 600;
}

.budget-result.negative {
  background-color: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
}

.budget-result.negative .result-icon {
  background-color: rgba(231, 76, 60, 0.25);
  color: #e74c3c;
}

.budget-result.negative h2 {
  color: #e74c3c;
}

.budget-result.neutral {
  background-color: rgba(46, 204, 113, 0.15);
  border-color: #2ecc71;
}

.budget-result.neutral .result-icon {
  background-color: rgba(46, 204, 113, 0.25);
  color: #1d7a45;
}

.budget-result.neutral h2 {
  color: #1d7a45;
}

.budget-result.positive {
  background-color: rgba(46, 204, 113, 0.25);
  border-color: #2ecc71;
}

.budget-result.positive .result-icon {
  background-color: rgba(46, 204, 113, 0.35);
  color: #1d7a45;
}

.budget-result.positive h2 {
  color: #1d7a45;
}

/*_______________________________________   Rådgivning   ____________________________________________*/

.advice-page {
  padding: 50px 40px;
}

.lesson-card {
  max-width: 1300px;
  margin: 0 auto 70px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  padding: 45px 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.lesson-label {
  font-size: 20px;
}

.lesson-header {
  max-width: 870px;
  margin-bottom: 34px;
}

.lesson-header h1 {
  color: #f6f6f6;
  margin-bottom: 18px;
}

.lesson-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

/* Aspect-ratio holder videoerne i korrekt format, så de ikke bliver mast på forskellige skærmstørrelser. */
.video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.lesson-card .video-box {
  max-width: 850px;
  margin: 34px auto 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lesson-text p {
  font-size: 18px;
  margin-bottom: 24px;
}

.lesson-text ul {
  list-style: none;
  margin-bottom: 26px;
}

.lesson-text li {
  font-size: 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lesson-text li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: #2ecc71;
  color: #145a32;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
}

.quiz-toggle {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.quiz-box {
  display: none;
  margin-top: 35px;
  padding: 32px;
  background-color: #f6f6f6;
  color: #151515;
  border-radius: 12px;
}

.quiz-box.active {
  display: block;
}

.quiz-box h2 {
  color: #151515;
  font-size: 28px;
  margin-bottom: 24px;
}

.quiz-question {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(37, 43, 45, 0.15);
}

.quiz-question p {
  color: #151515;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
}

.quiz-question label {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
}

.quiz-question input {
  margin-right: 8px;
}

.quiz-submit {
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.quiz-result {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
  color: #145a32;
}

/* Fact-sektionerne bruges til graf + forklarende tekst under lektionerne. */
.fact-section {
  max-width: 1300px;
  margin: 0 auto 80px;
  padding: 0 45px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: center;
}

.fact-section.reverse {
  grid-template-columns: 1fr 420px;
}

.fact-graphic {
  overflow: hidden;
  border-radius: 12px;
  border: none;
}

.fact-graphic video,
.fact-graphic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.015);
  transform-origin: center;
}

.fact-text {
  max-width: 520px;
}

.fact-text h2 {
  color: #145a32;
  font-size: 34px;
  margin-bottom: 18px;
}

.fact-text p:not(.lesson-label) {
  color: #151515;
}

.advice-cta {
  max-width: 1300px;
  margin: 0 auto;
  background-color: #2ecc71;
  color: #145a32;
  border-radius: 18px;
  padding: 42px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.advice-cta h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.advice-cta p {
  max-width: 620px;
  color: #145a32;
  font-size: 17px;
}

.advice-cta a {
  padding: 16px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

/*_______________________________________   Om os   ____________________________________________*/

.about-container {
  padding: 50px 40px 0;
}

.about {
  max-width: 1300px;
  margin: 0 auto;
  padding: 45px 60px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.about h1 {
  color: #f6f6f6;
  margin-bottom: 18px;
}

#about-p {
  max-width: 65ch;
}

.mv-container {
  max-width: 1300px;
  margin: 40px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.mi-vi {
  margin: 0;
  padding: 42px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.mi-vi .section-label {
  font-size: 20px;
}

.mi-vi h2 {
  color: #f6f6f6;
  font-size: 28px;
  margin-bottom: 22px;
}

.mi-vi p {
  font-size: 17px;
}

.values-container {
  margin-top: 50px;
  padding: 60px 40px;
  background-color: #145a32;
  color: #f6f6f6;
}

.values-container > .section-label,
.values-container > h2 {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

#values-h2 {
  max-width: 1100px;
  color: #f6f6f6;
}

/* Desktop: values-overskrift flugter med value-kortene */
.values-container > .section-label,
.values-container > #values-h2 {
  max-width: 1204px;
  margin-left: auto;
  margin-right: auto;
}

.values {
  max-width: 1300px;
  margin: 40px auto 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 280px));
  gap: 28px;
  justify-content: center;
}

.value {
  width: 280px;
  height: 450px;
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 3px solid #f6f6f6;
  border-radius: 15px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
}

.value .fa-solid,
.value .fa-regular {
  color: #f6f6f6;
  font-size: 70px;
  margin: 28px 0;
}

.value h3 {
  color: #2ecc71;
  font-size: 22px;
  margin-bottom: 20px;
}

.value p {
  font-size: 15px;
  line-height: 1.5;
}

/*_______________________________________   Kontakt   ____________________________________________*/

.contact-container {
  width: calc(100% - 80px);
  max-width: 1300px;
  margin: 50px auto 40px;
  padding: 60px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 70px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-text {
  max-width: 540px;
}

.contact-text h1 {
  color: #f6f6f6;
  margin-bottom: 18px;
}

.form-container,
.contact-form,
.contact-form form {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid #151515;
  border-radius: 12px;
  background-color: #f6f6f6;
  color: #151515;
  font-size: 16px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2ecc71;
}

#btnSend {
  width: auto;
  min-width: 120px;
  margin-bottom: 0;
  border: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

/* Overlayet vises først, når formularen er sendt, og ligger ovenpå hele siden. */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.contact-overlay.show {
  display: flex;
}

.overlay-content {
  width: 100%;
  max-width: 430px;
  padding: 38px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.overlay-content h2 {
  color: #f6f6f6;
  margin-bottom: 12px;
}

.overlay-content p {
  font-size: 16px;
}

#closeOverlay {
  margin-top: 28px;
  padding: 13px 22px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

/*_______________________________________   some.html styling   ____________________________________________*/

/* Styling til den skjulte SoMe-side, som kun tilgås via SoMe-ikonerne. */
.some-page {
  padding: 50px 40px;
}

.some-hero {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px;
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.some-hero h1 {
  color: #f6f6f6;
  margin-bottom: 22px;
}

.some-hero p:not(.section-label) {
  max-width: 820px;
  color: #f6f6f6;
  font-weight: 400;
}

.some-video-grid {
  max-width: 1300px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.some-video-card {
  background-color: #145a32;
  color: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Fælles video-styling */
.some-video-box {
  background-color: #151515;
  overflow: hidden;
}

.some-video-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Horisontal video */
.horizontal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Vertikal video */
.vertical-video {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  margin: 28px auto 0;
  border-radius: 14px;
}

.some-video-text {
  padding: 28px;
}

.some-video-text .section-label {
  margin-bottom: 12px;
}

.some-video-text h2 {
  color: #f6f6f6;
  margin-bottom: 14px;
}

.some-video-text p:not(.section-label) {
  color: #f6f6f6;
  font-size: 17px;
  font-weight: 400;
}

/*_______________________________________   Mellemstor desktop   ____________________________________________*/

@media (min-width: 1101px) and (max-width: 1299px) {
  .values {
    grid-template-columns: repeat(2, 280px);
    justify-content: center;
    gap: 28px;
  }

  .section-label,
  .lesson-label {
    font-size: 20px;
  }

  .mi-vi .section-label {
    font-size: 20px;
  }

  .budget-intro .section-label {
    font-size: 20px;
  }
}

/*_______________________________________   Small desktop   ____________________________________________*/

/* Small desktop: justerer layoutet, så elementerne ikke bliver for brede mellem tablet og desktop. */
@media (min-width: 769px) and (max-width: 1100px) {
  .site-header {
    padding: 0 30px;
  }

  .navbar {
    height: 72px;
  }

  .nav-logo {
    font-size: 26px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .so-me-banner {
    min-height: 180px;
    gap: 50px;
  }

  .so-me-banner .fa-brands {
    font-size: 45px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  p {
    font-size: 18px;
  }

  .section-label,
  .lesson-label {
    font-size: 17px;
  }

  .hero-text .section-label {
    font-size: 17px;
  }

  .hero-container {
    width: calc(100% - 60px);
    margin: 30px auto 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }

  .hero-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
  }

  .hero-btn {
    width: fit-content;
    margin-top: 35px;
    margin-bottom: 0;
  }

  .hero-img-container {
    height: 100%;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cards-container {
    grid-template-columns: repeat(2, 280px);
    gap: 40px;
    justify-content: center;
  }

  .cards {
    width: 280px;
    height: 360px;
    margin: 0;
  }

  .card-text h2 {
    font-size: 24px;
  }

  .about-container {
    padding: 30px 30px 0;
  }

  .about {
    padding: 40px;
  }

  .mv-container {
    padding: 0 30px;
    gap: 24px;
  }

  .mi-vi {
    padding: 34px;
  }

  .mi-vi h2 {
    font-size: 24px;
  }

  .mi-vi .section-label {
    font-size: 17px;
  }

  .values-container {
    padding: 50px 30px;
  }

  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }

  .value {
    min-height: 360px;
  }

  .contact-container {
    width: calc(100% - 60px);
    max-width: 760px;
    margin: 30px auto 40px;
    padding: 40px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-text {
    max-width: 100%;
  }

  .budget-hero {
    padding: 30px;
  }

  .budget-container {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 35px;
  }

  .budget-intro,
  .budget-calculator {
    max-width: 100%;
  }

  .budget-intro h1 {
    margin-bottom: 18px;
  }

  .budget-intro .section-label {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .budget-calculator {
    justify-self: stretch;
  }

  .budget-row {
    grid-template-columns: 160px 1fr;
  }

  .advice-page {
    padding: 30px;
  }

  .lesson-card {
    padding: 40px;
    margin-bottom: 60px;
  }

  .lesson-header {
    max-width: 100%;
    margin-bottom: 0;
  }

  .lesson-content,
  .lesson-content.reverse {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
    gap: 0;
  }

  .lesson-content.reverse .video-box {
    order: -1;
  }

  .lesson-content.reverse .lesson-text {
    order: 1;
  }

  .lesson-card .video-box {
    max-width: 700px;
    margin: 32px auto 40px;
  }

  .lesson-text {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
  }

  .quiz-toggle {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 28px auto 0;
  }

  .fact-section {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 40px;
    padding: 0 20px;
    margin-bottom: 70px;
  }

  .fact-section.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  }

  .fact-section .fact-text,
  .fact-section .fact-graphic {
    order: 0;
  }

  .fact-graphic {
    width: 100%;
    max-width: 420px;
  }

  .fact-text {
    max-width: 100%;
  }

  .fact-text h2 {
    font-size: 28px;
  }

  .fact-text p {
    font-size: 17px;
  }

  .advice-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }

  .advice-cta h2 {
    font-size: 28px;
  }

  .about h1 {
    margin-bottom: 18px;
  }

  .some-page {
    padding: 30px;
  }

  .some-hero {
    padding: 40px;
  }

  .some-video-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .vertical-video {
    max-width: 300px;
  }
}

/*_______________________________________   Tablet   ____________________________________________*/

/* Tablet: færre kolonner og mere kompakt layout, så siden stadig er læsbar. */
@media (min-width: 601px) and (max-width: 768px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 17px;
  }

  .section-label,
  .lesson-label {
    font-size: 17px;
  }

  .site-header {
    padding: 0 25px;
  }

  .navbar {
    height: auto;
    min-height: 76px;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .burger-button {
    display: block;
    background: none;
    border: none;
    color: #f6f6f6;
    font-size: 34px;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    background-color: #145a32;
    border-radius: 12px;
    overflow: hidden;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 16px 20px;
    font-size: 17px;
    border-bottom: 1px solid rgba(246, 246, 246, 0.15);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .so-me-banner {
    min-height: 160px;
    padding: 36px 25px;
    gap: 42px;
  }

  .so-me-banner .fa-brands {
    font-size: 40px;
  }

  .footer-content {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 45px;
  }

  .footer-logo {
    width: 58px;
    height: 58px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-top {
    align-items: flex-start;
  }

  .footer-brand h3 {
    font-size: 20px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .hero-container {
    width: calc(100% - 60px);
    margin: 30px auto 0;
    padding: 40px 40px 0;
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
    max-width: none;
    margin: 0;
    text-align: left;
    align-items: flex-start;
  }

  .hero-text .section-label,
  .hero-text h1,
  .hero-text p {
    text-align: left;
    max-width: 100%;
  }

  .hero-text .section-label {
    font-size: 17px;
  }

  .hero-btn {
    margin-left: 0;
    margin-right: auto;
  }

  .hero-img-container {
    width: calc(100% + 90px);
    margin-left: -45px;
    margin-right: -45px;
    margin-bottom: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .cards-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 30px;
    gap: 22px;
  }

  .card-text h2 {
    font-size: 20px;
  }

  .about-container {
    padding: 30px 30px 0;
  }

  .about {
    padding: 36px;
  }

  #about-p {
    max-width: 500px;
  }

  .mv-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 30px;
    gap: 20px;
  }

  .mi-vi {
    padding: 30px;
  }

  .mi-vi h2 {
    font-size: 22px;
  }

  .mi-vi p {
    font-size: 17px;
  }

  .mi-vi .section-label {
    font-size: 17px;
  }

  .values-container {
    padding: 45px 30px;
  }

  #values-h2 {
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
  }

  .values {
    grid-template-columns: repeat(2, 280px);
    justify-content: center;
    gap: 28px;
  }

  .value {
    min-height: 360px;
  }

  .value .fa-solid,
  .value .fa-regular {
    font-size: 62px;
  }

  .contact-container {
    width: calc(100% - 60px);
    max-width: 1300px;
    margin: 30px auto 40px;
    padding: 36px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-text {
    max-width: 100%;
  }

  .budget-hero {
    padding: 30px;
  }

  .budget-container {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .budget-intro,
  .budget-calculator {
    max-width: 100%;
  }

  .budget-intro h1 {
    margin-bottom: 18px;
  }

  .budget-intro .section-label {
    font-size: 17px;
  }

  .budget-calculator {
    justify-self: stretch;
  }

  .budget-row {
    grid-template-columns: 150px 1fr;
  }

  .advice-page {
    padding: 30px;
  }

  .lesson-card {
    padding: 36px;
  }

  .lesson-content,
  .lesson-content.reverse {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .lesson-content.reverse .video-box {
    order: -1;
  }

  .lesson-content.reverse .lesson-text {
    order: 1;
  }

  .lesson-card .video-box {
    max-width: 700px;
    margin: 32px auto 0;
  }

  .fact-section,
  .fact-section.reverse {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto 60px;
    padding: 0 30px;
    gap: 32px;
  }

  .fact-section .fact-text,
  .fact-section.reverse .fact-text {
    order: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
  }

  .fact-section .fact-graphic,
  .fact-section.reverse .fact-graphic {
    order: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .fact-text h2 {
    font-size: 26px;
  }

  .advice-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .some-page {
    padding: 30px;
  }

  .some-hero {
    padding: 36px;
  }

  .some-video-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .vertical-video {
    max-width: 300px;
  }
}

/* Bred tablet: fact-sektion får to kolonner */
@media (min-width: 700px) and (max-width: 768px) {
  .fact-section,
  .fact-section.reverse {
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 0 20px;
    gap: 24px;
    align-items: center;
  }

  .fact-section {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  }

  .fact-section:not(.reverse) .fact-graphic {
    order: 1;
  }

  .fact-section:not(.reverse) .fact-text {
    order: 2;
  }

  .fact-section.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  }

  .fact-section.reverse .fact-text {
    order: 1;
  }

  .fact-section.reverse .fact-graphic {
    order: 2;
  }

  .fact-section .fact-graphic,
  .fact-section.reverse .fact-graphic {
    max-width: 340px;
    margin: 0;
  }

  .fact-section .fact-text,
  .fact-section.reverse .fact-text {
    max-width: 100%;
    margin: 0;
  }

  .fact-text h2 {
    font-size: 22px;
  }

  .fact-text p {
    font-size: 16px;
  }
}

/*_______________________________________   Mobil   ____________________________________________*/

/* Mobil: elementer stables ovenpå hinanden, så siden fungerer på små skærme. */
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  .section-label,
  .lesson-label {
    font-size: 16px;
  }

  .site-header {
    padding: 0 20px;
  }

  .navbar {
    height: auto;
    min-height: 70px;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-logo {
    font-size: 22px;
  }

  .logo-box {
    width: 42px;
    height: 42px;
  }

  .burger-button {
    display: block;
    background: none;
    border: none;
    color: #f6f6f6;
    font-size: 34px;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-top: 14px;
    background-color: #145a32;
    border-radius: 12px;
    overflow: hidden;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 16px 18px;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(246, 246, 246, 0.15);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .so-me-banner {
    min-height: auto;
    gap: 24px;
    flex-wrap: wrap;
  }

  .so-me-banner .fa-brands {
    font-size: 35px;
  }

  .site-footer {
    padding: 40px 20px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand-top {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .social-icons {
    gap: 12px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
  }

  .social-icons .fa-brands {
    font-size: 17px;
  }

  .hero-container {
    width: calc(100% - 40px);
    margin: 25px auto 0;
    padding: 32px 28px 0;
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-btn {
    width: fit-content;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .hero-img-container {
    width: calc(100% + 56px);
    margin-left: -28px;
    margin-right: -28px;
    margin-bottom: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .cards-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 25px auto 50px;
    padding: 0 20px;
    gap: 20px;
  }

  .cards {
    min-height: auto;
  }

  .card-img-container {
    height: 170px;
  }

  .card-text {
    padding: 22px;
  }

  .card-text p {
    font-size: 16px;
  }

  .card-text h2 {
    font-size: 18px;
  }

  .about-container {
    padding: 25px 20px 0;
  }

  .about {
    padding: 30px 22px;
  }

  #about-p {
    max-width: 100%;
  }

  .mv-container {
    grid-template-columns: 1fr;
    margin-top: 25px;
    padding: 0 20px;
    gap: 24px;
  }

  .mi-vi {
    padding: 28px 22px;
  }

  .mi-vi h2 {
    font-size: 22px;
  }

  .mi-vi p {
    font-size: 16px;
  }

  .mi-vi .section-label {
    font-size: 16px;
  }

  .values-container {
    padding: 40px 20px;
  }

  .values {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .value {
    width: 280px;
    max-width: 100%;
  }

  .value .fa-solid,
  .value .fa-regular {
    font-size: 58px;
    margin: 22px 0;
  }

  .value h3 {
    font-size: 20px;
  }

  .value p {
    font-size: 16px;
  }

  .contact-container {
    width: calc(100% - 40px);
    margin: 25px auto 50px;
    padding: 30px 22px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    font-size: 16px;
  }

  #btnSend {
    width: 100%;
  }

  .overlay-content {
    padding: 32px 22px;
  }

  .budget-hero {
    padding: 25px 20px 0;
  }

  .budget-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 35px;
  }

  .budget-intro,
  .budget-calculator {
    max-width: 100%;
  }

  .budget-intro .section-label {
    font-size: 16px;
  }

  .budget-calculator {
    padding: 22px;
    justify-self: stretch;
  }

  .budget-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .budget-row label,
  .budget-row input {
    font-size: 16px;
  }

  .budget-row input {
    padding: 15px;
  }

  .tooltip-text {
    left: 0;
    transform: none;
    width: 220px;
  }

  #calculateBtn {
    font-size: 18px;
    padding: 17px;
  }

  .budget-result {
    flex-direction: column;
    text-align: center;
  }

  .budget-result h2 {
    font-size: 22px;
  }

  .budget-result p {
    font-size: 16px;
  }

  .advice-page {
    padding: 25px 20px 0;
  }

  .lesson-card {
    padding: 28px 22px;
    margin-bottom: 50px;
  }

  .lesson-header h1 {
    font-size: 24px;
  }

  .lesson-content,
  .lesson-content.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lesson-content.reverse .video-box {
    order: -1;
  }

  .lesson-content.reverse .lesson-text {
    order: 1;
  }

  .video-box {
    min-height: 220px;
  }

  .lesson-card .video-box {
    max-width: 100%;
  }

  .lesson-text p {
    font-size: 16px;
  }

  .lesson-text li {
    font-size: 16px;
  }

  .quiz-box {
    padding: 24px 18px;
  }

  .quiz-box h2 {
    font-size: 24px;
  }

  .quiz-question p {
    font-size: 16px;
  }

  .quiz-question label {
    font-size: 16px;
  }

  .fact-section,
  .fact-section.reverse {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto 55px;
    padding: 0 20px;
    gap: 28px;
  }

  .fact-section .fact-text,
  .fact-section.reverse .fact-text {
    order: 1;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    text-align: left;
  }

  .fact-section .fact-graphic,
  .fact-section.reverse .fact-graphic {
    order: 2;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .fact-text h2 {
    font-size: 24px;
  }

  .fact-text p {
    font-size: 16px;
  }

  .advice-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .advice-cta h2 {
    font-size: 24px;
  }

  .advice-cta p {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .advice-cta a {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.3;
    padding: 14px 18px;
  }

  .some-page {
    padding: 25px 20px;
  }

  .some-hero {
    padding: 30px 22px;
  }

  .some-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .some-video-text {
    padding: 24px 22px;
  }

  .some-video-text p {
    font-size: 16px;
  }

  .vertical-video {
    max-width: 260px;
  }
}
