/* ============================================
   LUNCHPORTALEN — KOM I GANG
   Scope: /kom-i-gang/
   Prefix: kig-
   Clean premium / færre bokser / mer flyt
   ============================================ */

:root {
  --kig-bg: #f6f3ed;
  --kig-cream: #f8f4ea;
  --kig-white: #ffffff;
  --kig-black: #111111;
  --kig-dark: #171717;
  --kig-yellow: #f5c518;
  --kig-yellow-dk: #a07c00;
  --kig-muted: rgba(17, 17, 17, .64);
  --kig-muted-soft: rgba(17, 17, 17, .44);
  --kig-border: rgba(17, 17, 17, .09);
  --kig-section: clamp(86px, 9vw, 138px);
  --kig-container: 1120px;
  --kig-radius-pill: 999px;
}

body:has(.kig-page) {
  background:
    radial-gradient(circle at 88% 4%, rgba(245,197,24,.12), transparent 32%),
    radial-gradient(circle at 12% 42%, rgba(245,197,24,.08), transparent 34%),
    linear-gradient(180deg, #f8f4ea 0%, #f6f3ed 42%, #f8f4ea 100%);
  background-attachment: fixed;
}

.kig-page {
  color: var(--kig-black);
  background: transparent;
  overflow: hidden;
}

.kig-container {
  max-width: var(--kig-container);
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 44px);
}

/* Shared */
.kig-eyebrow,
.kig-section-tag,
.kig-contract__kicker,
.kig-notice-box__heading {
  margin: 0 0 14px;
  color: var(--kig-yellow-dk);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kig-section-heading,
.kig-form-section__heading,
.kig-contract__title {
  margin: 0;
  color: var(--kig-black);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .92;
}

.kig-section-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 5vw, 70px);
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
}

/* Buttons */
.kig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--kig-radius-pill);
  border: 0;
  font: inherit;
  font-size: .95rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.kig-btn--dark {
  background: #111;
  color: #fff;
  box-shadow: 0 18px 44px rgba(17,17,17,.18);
}

.kig-btn--yellow {
  background: linear-gradient(135deg, #f5c518 0%, #ffd43b 100%);
  color: #111;
  box-shadow: 0 18px 44px rgba(245,197,24,.28);
}

.kig-btn--outline {
  background: rgba(255,255,255,.45);
  color: #111;
  border: 1px solid rgba(17,17,17,.08);
}

.kig-btn--full {
  width: 100%;
}

.kig-btn:hover {
  transform: translateY(-2px);
  opacity: .94;
}

/* HERO */
.kig-hero {
  padding: clamp(80px, 8vw, 126px) 0 clamp(58px, 6vw, 88px);
  background: transparent;
}

.kig-hero__heading {
  display: flex;
  flex-direction: column;
  max-width: 780px;
  margin: 0 0 26px;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 900;
}

.kig-hero__heading--solid {
  color: #111;
}

.kig-hero__heading--outline {
  color: transparent;
  -webkit-text-stroke: 2px #111;
}

.kig-hero__heading--yellow {
  color: var(--kig-yellow-dk);
}

.kig-hero__sub {
  max-width: 540px;
  margin: 0 0 34px;
  color: var(--kig-muted);
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.72;
}

.kig-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* STATS */
.kig-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.72);
  border-block: 1px solid var(--kig-border);
}

.kig-stats__cell {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--kig-border);
}

.kig-stats__cell:last-child {
  border-right: 0;
}

.kig-stats__value {
  color: var(--kig-yellow-dk);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.kig-stats__label {
  margin-top: 5px;
  color: var(--kig-muted-soft);
  font-size: .72rem;
}

/* CONTRACT — seamless section, no big card */
.kig-contract {
  position: relative;
  padding: var(--kig-section) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(245,197,24,.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(248,244,234,.62) 100%);
  border-bottom: 1px solid var(--kig-border);
}

.kig-contract::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(70px, 8vw, 120px);
  bottom: clamp(70px, 8vw, 120px);
  width: 7px;
  background: var(--kig-yellow);
  border-radius: 0 999px 999px 0;
}

.kig-contract__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(50px, 7vw, 96px);
  align-items: start;
}

.kig-contract__kicker {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.kig-contract__title {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.4vw, 6rem);
}

.kig-contract__text {
  max-width: 680px;
  margin: 0;
  color: var(--kig-muted);
  font-size: clamp(1.02rem, 1.08vw, 1.17rem);
  line-height: 1.78;
}

/* Terms as strong numbers, not cards */
.kig-contract__terms {
  display: grid;
  gap: 30px;
}

.kig-contract__term {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.kig-contract__term-value {
  color: #111;
  font-size: clamp(3.2rem, 4.8vw, 5.2rem);
  line-height: .86;
  letter-spacing: -.07em;
  font-weight: 900;
}

.kig-contract__term-label {
  margin-top: 9px;
  color: #111;
  font-size: .92rem;
  font-weight: 900;
}

.kig-contract__term-note {
  margin-top: 6px;
  color: var(--kig-muted-soft);
  font-size: .78rem;
  line-height: 1.5;
}

/* Notice: subtle line, not box */
.kig-contract__term--highlighted {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 760px;
  margin-top: 34px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(17,17,17,.13);
  background: transparent;
  border-radius: 0;
}

.kig-contract__term-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--kig-yellow-dk);
}

.kig-contract__term-highlight {
  margin: 0;
  color: rgba(17,17,17,.68);
  font-size: .96rem;
  line-height: 1.65;
}

/* STEPS */
.kig-steps {
  padding: var(--kig-section) 0;
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--kig-border);
}

.kig-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
}

.kig-step-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.kig-step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #111;
  color: var(--kig-yellow);
  font-size: .85rem;
  font-weight: 900;
}

.kig-step-card__title {
  max-width: 210px;
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(1.12rem, 1.35vw, 1.32rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 900;
}

.kig-step-card__desc {
  max-width: 250px;
  margin: 0;
  color: var(--kig-muted);
  font-size: .98rem;
  line-height: 1.68;
}

/* TESTIMONIAL — one clean dark band */
.kig-testimonial {
  padding: clamp(82px, 8vw, 126px) 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245,197,24,.14), transparent 32%),
    linear-gradient(135deg, #101010 0%, #1b1b1b 100%);
}

.kig-testimonial__inner {
  max-width: 900px;
}

.kig-testimonial__quote {
  margin: 0 0 30px;
  color: rgba(255,255,255,.94);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
}

.kig-testimonial__source {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kig-testimonial__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--kig-yellow);
  color: #111;
  font-size: .78rem;
  font-weight: 900;
}

.kig-testimonial__meta-title {
  color: var(--kig-yellow);
  font-size: .9rem;
  font-weight: 900;
}

.kig-testimonial__meta-sub {
  margin-top: 2px;
  color: rgba(255,255,255,.54);
  font-size: .82rem;
}

/* FORM SECTION — same atmosphere, only form is allowed to be a surface */
.kig-form-section {
  padding: var(--kig-section) 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(245,197,24,.18), transparent 32%),
    linear-gradient(180deg, #f8f4ea 0%, #f6f3ed 100%);
}

.kig-form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(54px, 7vw, 94px);
  align-items: start;
}

.kig-form-section__heading {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
}

.kig-form-section__heading--em {
  color: var(--kig-yellow-dk);
  font-style: normal;
}

.kig-form-section__sub {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--kig-muted);
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.72;
}

.kig-checklist {
  display: grid;
  gap: 13px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.kig-checklist__item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #111;
  font-size: .95rem;
  font-weight: 850;
}

.kig-checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--kig-yellow);
  color: #111;
  font-weight: 900;
}

/* Notice box — compact, not dominant */
.kig-notice-box {
  max-width: 500px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #111;
  color: #fff;
}

.kig-notice-box__heading {
  color: rgba(255,255,255,.38);
}

.kig-notice-box__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.kig-notice-box__row:last-child {
  border-bottom: 0;
}

.kig-notice-box__lbl {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}

.kig-notice-box__val {
  color: var(--kig-yellow);
  font-size: .86rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

/* Form */
.kig-form-card {
  padding: clamp(28px, 3vw, 38px);
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 28px 90px rgba(17,17,17,.08);
}

@supports (backdrop-filter: blur(1px)) {
  .kig-form-card {
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.kig-form-card__title {
  margin: 0 0 24px;
  color: #111;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 900;
}

.kig-form {
  display: grid;
  gap: 15px;
}

.kig-form__field {
  display: grid;
  gap: 7px;
}

.kig-form__label {
  color: rgba(17,17,17,.44);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kig-form__input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1.5px solid transparent;
  border-radius: 15px;
  background: rgba(248,244,234,.95);
  color: #111;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.kig-form__input::placeholder {
  color: rgba(17,17,17,.32);
}

.kig-form__input:focus {
  background: #fff;
  border-color: var(--kig-yellow);
  box-shadow: 0 0 0 4px rgba(245,197,24,.16);
}

.kig-form__note {
  margin-top: 8px;
  color: rgba(17,17,17,.42);
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
}

.kig-form-success {
  padding: 42px 20px;
  text-align: center;
  background: transparent;
}

.kig-form-success__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--kig-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kig-form-success__title {
  margin: 0 0 10px;
  color: #111;
  font-size: 26px;
  letter-spacing: -.04em;
  font-weight: 900;
}

.kig-form-success__text {
  max-width: 320px;
  margin: 0 auto;
  color: var(--kig-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* State */
.kig-form__input.is-invalid,
.kig-form__input--error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,.16);
}

.kig-form__input.is-valid {
  border-color: #27ae60;
  box-shadow: 0 0 0 3px rgba(39,174,96,.14);
}

.kig-form__err {
  min-height: 1.2em;
  color: #c0392b;
  font-size: .82rem;
  font-weight: 700;
}

.kig-form__status {
  min-height: 1.4em;
  color: var(--kig-muted);
  font-size: .9rem;
}

.kig-form__status.is-success {
  color: #1e8449;
  font-weight: 700;
}

.kig-form__status.is-error {
  color: #c0392b;
  font-weight: 700;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--kig-yellow);
  outline-offset: 3px;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 980px) {
  .kig-contract__inner,
  .kig-form-section__inner {
    grid-template-columns: 1fr;
  }

  .kig-contract__terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kig-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kig-hero__heading {
    font-size: clamp(3.1rem, 13vw, 5rem);
  }

  .kig-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .kig-stats__cell:nth-child(2) {
    border-right: 0;
  }

  .kig-stats__cell:nth-child(1),
  .kig-stats__cell:nth-child(2) {
    border-bottom: 1px solid var(--kig-border);
  }

  .kig-contract__terms {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .kig-container {
    padding: 0 20px;
  }

  .kig-hero__actions {
    flex-direction: column;
  }

  .kig-btn {
    width: 100%;
  }

  .kig-steps__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .kig-contract__title,
  .kig-form-section__heading {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }
}