/* De faste sider fra designet: forside, studie, cases og kontakt (afrundet i redesignet 25. november 2026). */

/* — Forside: hero — */
.hero {
  position: relative; isolation: isolate; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
  margin-top: 28px; min-height: clamp(520px, 76vh, 780px); /* ingen fast ratio: højden følger med, hvis teksten fylder mere */
  background: var(--color-surface); border-radius: var(--radius-lg);
}
/* Grønt lysskær bag billedet – som spild fra den belyste greenscreen. */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 8% 4% -6%; border-radius: var(--radius-lg);
  background: radial-gradient(60% 70% at 70% 40%, var(--color-accent-glow), transparent 70%);
  filter: blur(48px); opacity: .7;
  animation: hero-glow 1.8s var(--ease-out) both;
}
.hero__media { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; }
.hero__media .media { height: 100%; aspect-ratio: auto; border-radius: 0; }
.hero__media img { animation: hero-zoom 1.6s var(--ease-out) both; }
.hero__media .media__placeholder { place-items: start center; padding-top: 18%; }
.hero__overlay {
  position: relative; padding: clamp(24px, 5vw, 64px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(to top, rgba(17, 20, 19, .94) 10%, rgba(17, 20, 19, .55) 55%, rgba(17, 20, 19, 0));
}
.hero__overlay > * { animation: hero-rise .9s var(--ease-out) both; }
.hero__overlay > :nth-child(2) { animation-delay: .12s; }
.hero__overlay > :nth-child(3) { animation-delay: .24s; }
.hero__title { font-size: clamp(44px, 6.6vw, 92px); line-height: .96; letter-spacing: -0.035em; margin: 0 0 22px; max-width: 12ch; text-wrap: balance; }
.hero__text { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; max-width: 48ch; margin: 0 0 30px; color: var(--color-text-85); }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Kun bevægelse, aldrig usynlig start: stopper animationen (crawlere, skjulte faner), er teksten stadig læsbar. */
@keyframes hero-rise { from { transform: translateY(32px); } to { transform: none; } }
@keyframes hero-glow { from { opacity: 0; } to { opacity: .7; } }

/* — Forside: nøgletal med ikonerne fra den tidligere green-screen.dk — */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.stats__item {
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 16px;
  padding: 28px 30px 30px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg);
}
.stats__icon { grid-column: 2; grid-row: 1 / span 2; color: var(--color-accent); }
.stats__value { grid-column: 1; grid-row: 1; font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.035em; margin: 0; color: var(--color-text); font-feature-settings: 'tnum' 1; }
.stats__item .label { grid-column: 1; grid-row: 2; margin-top: 10px; }

/* — Forside: om studiet, priser, citat, find os — */
.about { padding: clamp(64px, 8vw, 96px) 0 clamp(56px, 7vw, 80px); }
.quote {
  position: relative; overflow: hidden; margin: 8px 0 72px;
  padding: clamp(36px, 6vw, 80px); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg);
}
.quote__text { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -0.025em; max-width: 30ch; text-wrap: balance; }
.quote__text::first-letter { color: var(--color-accent); }
.quote__by { font-size: 15px; font-weight: 600; margin-top: 32px; color: var(--color-text-78); }
.find-us { padding: 72px 0 88px; row-gap: 32px; align-items: center; }
.find-us__address { font-size: 19px; line-height: 1.55; margin: 0 0 28px; }
.find-us .h-section { margin-bottom: 16px; }
.map .media { border-radius: var(--radius-lg); }
.map__link { display: block; border-radius: var(--radius-lg); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.map__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* — Studiet — */
.studie-rows { margin-top: 64px; }
.gallery { padding: 72px 0 88px; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
/* Fem billeder (intet g5): én række på brede skærme, så ingen står alene */
@media (min-width: 960px) { .gallery__grid { grid-template-columns: repeat(5, 1fr); } }
.gallery__grid .media img { transition: transform .6s var(--ease-out); }
.gallery__grid .media:hover img { transform: scale(1.05); }
.gallery .btn-group { margin-top: 36px; }

/* — Kundecases — */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.case {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden;
  padding-bottom: 30px; scroll-margin-top: 120px;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.case:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); }
.case:target { border-color: var(--color-accent); box-shadow: var(--shadow-glow); }
.case .media { border-radius: 0; background: #0c0e0d; }
.case .media img { object-fit: contain; }
.case__body { padding: 24px 28px 0; }
.case__type { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; color: var(--color-accent); }
.case__title { font-size: 23px; line-height: 1.15; margin: 0 0 14px; }
.case__text { font-size: 16px; line-height: 1.6; color: var(--color-text-82); margin: 0; }
.cases-actions { padding: 56px 0 88px; }

/* — Kontakt — */
.contact { border-top: var(--rule); padding: 56px 0 88px; gap: 48px clamp(24px, 5vw, 96px); }
.contact-form { display: grid; gap: 20px; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.contact-form input.input, .contact-form select.input { box-sizing: border-box; height: 54px; } /* ens højde på tekst-, dato- og valgfelter */
.contact-form__row--when { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
/* Halvdag/heldag har kun starttidspunkt. Uden :has() vises sluttidspunktet bare. */
.contact-form:has(#type option:is([value="halvdag"], [value="heldag"]):checked) .contact-form__time--end { display: none; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__captcha { min-height: 65px; } /* Turnstile-widgettens højde, så formularen ikke hopper, når den indlæses */
.contact-list {
  display: grid; padding: 8px clamp(24px, 3vw, 36px);
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg);
}
.contact-list__item { padding: 24px 0; }
.contact-list__item + .contact-list__item { border-top: var(--rule); }
.contact-list__item .label { margin-bottom: 8px; }
.contact-list__value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(21px, 2vw, 25px); line-height: 1.2; letter-spacing: -0.015em; text-decoration: none; color: var(--color-text); overflow-wrap: anywhere; }
a.contact-list__value:hover { color: var(--color-accent); }
.contact-list__note { margin: 8px 0 0; font-size: 15px; color: var(--color-text-72); }
.contact-form > .contact-list__note { max-width: 60ch; }

/* — Privatliv — */
.privacy__content { max-width: 75ch; padding-bottom: 80px; font-size: 16px; }
.privacy__content section + section { margin-top: 40px; }
.privacy__content h2 { font-size: clamp(24px, 3vw, 32px); }
.privacy__content address { margin-bottom: 20px; }
