/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-bg-dark);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}

.footer__logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-light);
  display: block;
  margin-bottom: var(--space-3);
  text-decoration: none;
}

.footer__brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer__brand .header__logo span {
  color: var(--color-text-light);
}

.footer__links h4,
.footer__contact h4 {
  font-weight: 600;
  margin-bottom: var(--space-4);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a,
.footer__contact li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  text-decoration: none;
}

.footer__contact a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-text-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-8);
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (max-width: 810px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (min-width: 811px) and (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}


/* ============================================
   Gratis Section
   ============================================ */

.gratis {
  background: var(--color-bg-dark);
  overflow: hidden;
}

.gratis__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.gratis__text {
  max-width: 520px;
}

.gratis__text .section-tag {
  color: rgba(255, 255, 255, 0.7);
}

.gratis__text h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.gratis__text > p:not(.section-tag) {
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.gratis__ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.gratis__btn-primary {
  background: #fff;
  color: var(--color-text);
}

.gratis__btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.gratis__btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.gratis__btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Showcase – vertical scrolling carousel */
.showcase {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.showcase::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg-dark), transparent);
}

.showcase::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg-dark), transparent);
}

.showcase__track {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: showcase-scroll-up 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.showcase__track img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  display: block;
}

@keyframes showcase-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 810px) {
  .gratis__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .showcase {
    height: 360px;
  }
}


/* ============================================
   Form Section (standalone CTA form)
   ============================================ */

.form-section {
  background: var(--color-bg-dark);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.form-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('../Skærmbillede 2026-03-21 kl. 12.32.01.png');
  background-size: cover;
  background-position: left center;
  z-index: 0;
}

.form-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}

.form-section > .container {
  position: relative;
  z-index: 1;
}

.form-section__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-16);
  align-items: center;
}

.form-section__text h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.form-section__text p:not(.section-tag) {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* CTA form – same style as hero form but on dark bg */
.cta-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-form__step {
  display: none;
  flex-direction: column;
  gap: var(--space-5);
  animation: formFadeIn 0.3s ease;
}

.cta-form__step.active { display: flex; }

.cta-form__label {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.cta-form__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.0625rem;
  font-family: inherit;
  padding: var(--space-3) 0;
  outline: none;
  transition: border-color var(--transition);
}

.cta-form__input::placeholder { color: rgba(255, 255, 255, 0.35); }
.cta-form__input:focus { border-bottom-color: rgba(255, 255, 255, 0.6); outline: none; box-shadow: none; }
.cta-form__input:focus-visible { outline: none; box-shadow: none; }
.cta-form__input--error { border-bottom-color: #ef4444; }

.cta-form__error {
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: -4px;
}

.cta-form__next,
.cta-form__submit {
  background: #fff;
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  align-self: flex-start;
  margin-top: var(--space-2);
}

.cta-form__next:hover,
.cta-form__submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-form__choices {
  display: flex;
  gap: var(--space-3);
}

.cta-form__choice {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.cta-form__choice:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.cta-form__choice.selected {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.cta-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-6) 0;
}

.cta-form__success p { color: rgba(255, 255, 255, 0.9); }

.cta-form__progress {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-6);
}

.cta-form__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.cta-form__dot.active {
  background: rgba(255, 255, 255, 0.9);
  width: 18px;
  border-radius: 3px;
}

.cta-form__dot.done { background: rgba(255, 255, 255, 0.5); }

@media (max-width: 810px) {
  .form-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .cta-form {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-form {
    padding: var(--space-6);
  }

  .cta-form__choices {
    flex-direction: column;
  }
}
