/* ---------- OM MIG-SIDE ---------- */

/* HERO */

.about-hero {
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 470px;
  padding: 85px 8%;

  background: var(--background);
  text-align: center;
}

.about-hero__content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 720px;
}

.about-page__eyebrow {
  margin-bottom: 18px;

  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.about-hero__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(4rem, 6.5vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.about-hero__title span {
  display: block;

  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1.05em;
}

.about-hero__line {
  width: 44px;
  height: 2px;

  margin: 28px auto;

  background: var(--accent);
}

.about-hero__text {
  max-width: 600px;
  margin: 0 auto 12px;

  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-hero__decoration {
  position: absolute;

  background: var(--circle);

  border-radius: 44% 56% 61% 39% / 43% 38% 62% 57%;

  opacity: 0.5;

  animation: about-hero-blob 10s ease-in-out infinite alternate;
}

.about-hero__decoration--large {
  width: 240px;
  height: 240px;

  top: 30px;
  right: 70px;

  opacity: 0.55;
}

.about-hero__decoration--small {
  width: 160px;
  height: 160px;

  left: 40px;
  bottom: 90px;

  background: var(--accent);
  opacity: 0.12;
}

.about-hero::before {
  content: "";
  position: absolute;

  width: 110px;
  height: 110px;

  right: 120px;
  bottom: 60px;

  background: #f6efe7;

  border-radius: 53% 47% 64% 36% / 41% 56% 44% 59%;

  opacity: 0.8;

  z-index: 0;
}

/* ---------- KORT FORTALT ---------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;

  padding: 100px 8%;

  background: var(--surface);

  /* Sektionen må ikke ligne et kort */
  max-width: none;
  margin: 0;

  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* Kun billedet må have afrunding og skygge */

.about-intro__image-wrapper {
  width: 100%;
  max-width: 560px;

  justify-self: end;

  overflow: hidden;

  border-radius: 185px 28px 28px 28px;

  box-shadow: 0 24px 50px rgba(44, 35, 31, 0.09);
}

.about-intro__image {
  display: block;

  width: 100%;
  height: 560px;

  object-fit: cover;
  object-position: center 35%;

  border-radius: 0;

  transition: transform 0.5s ease;
}

.about-intro__image-wrapper:hover .about-intro__image {
  transform: scale(1.025);
}

/* Teksten er et almindeligt område uden kort */

.about-intro__content {
  width: 100%;
  max-width: 570px;

  justify-self: start;

  background: transparent;

  border: 0;
  border-radius: 0;

  box-shadow: none;
  overflow: visible;
}

.about-intro__content h2 {
  max-width: 520px;
  margin-bottom: 26px;

  font-family: var(--font-primary);
  font-size: clamp(2.7rem, 3.8vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.about-intro__content > p:not(.about-page__eyebrow) {
  margin-bottom: 18px;

  color: var(--text-soft);

  font-size: 1.05rem;
  line-height: 1.8;
}

.about-intro__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 16px;
  padding: 16px 26px;

  background: var(--accent);
  color: #ffffff;

  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-intro__button:hover {
  background: var(--accent-dark);

  box-shadow: 0 14px 30px rgba(44, 35, 31, 0.12);

  transform: translateY(-3px);
}

/* ---------- VÆRKTØJER ---------- */

.tools-section {
  padding: 75px 8%;
  background: var(--background);
}

.tools-section__intro {
  position: relative;
  isolation: isolate;

  max-width: 700px;
  margin: 0 auto 70px;

  text-align: center;
}

.tools-section__heading {
  position: relative;
  display: inline-block;
}

.tools-section__blob {
  position: absolute;
  top: -32px;
  left: 50%;
  z-index: 0;

  width: 220px;
  height: 190px;

  background: var(--circle);

  border-radius: 47% 53% 61% 39% / 42% 39% 61% 58%;

  opacity: 0.42;

  transform: translateX(-50%) rotate(-5deg);

  animation: tools-blob 9s ease-in-out infinite alternate;

  pointer-events: none;
}

.tools-section__intro > *:not(.tools-section__blob) {
  position: relative;
  z-index: 1;
}

.tools-section__intro h2 {
  margin: 0 auto 70px;

  font-family: var(--font-primary);
  font-size: clamp(2.7rem, 3.8vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.tools-section__intro > p:not(.about-page__eyebrow) {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-height: 240px;
  padding: 20px 24px;

  text-align: center;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.tool-item:hover {
  transform: translateY(-8px);
}

.tool-item__logo {
  width: 86px;
  height: 86px;

  margin-bottom: 30px;

  object-fit: contain;

  transition: transform 0.35s ease;
}

.tool-item:hover .tool-item__logo {
  transform: scale(1.05);
}

.tool-item h3 {
  margin-bottom: 12px;

  color: var(--text);

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.tool-item p {
  max-width: 190px;

  color: var(--text-soft);

  font-size: 0.9rem;
  line-height: 1.65;
}

@keyframes tools-blob {
  from {
    border-radius: 47% 53% 61% 39% / 42% 39% 61% 58%;

    transform: translateX(-50%) rotate(-5deg) scale(1);
  }

  to {
    border-radius: 55% 45% 44% 56% / 38% 57% 43% 62%;

    transform: translateX(-50%) rotate(2deg) scale(1.03);
  }
}

/* ---------- MIN REJSE ---------- */

.journey {
  padding: 65px 8% 60px;
  background: var(--surface);
}

.journey__intro {
  max-width: 900px;
  margin: 0 auto 45px;
  text-align: center;
}

.journey__intro h2 {
  max-width: 760px;
  margin: 0 auto 22px;

  font-family: var(--font-primary);
  font-size: clamp(2.7rem, 3.8vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.journey__intro > p:not(.about-page__eyebrow) {
  max-width: 620px;
  margin: 0 auto;

  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.journey__timeline {
  position: relative;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;

  max-width: 1250px;
  margin: 0 auto;
}

.journey__line {
  position: absolute;
  top: 91px;
  left: 12.5%;
  right: 12.5%;

  height: 1px;

  background: rgba(173, 91, 73, 0.22);
}

.journey__item {
  position: relative;
  text-align: center;
}

.journey__date {
  min-height: 58px;
  margin-bottom: 8px;
}

.journey__date span {
  display: block;

  margin-bottom: 6px;

  font-size: 1rem;
  font-weight: 700;
}

.journey__date small {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.journey__dot {
  position: relative;
  z-index: 2;

  width: 14px;
  height: 14px;

  margin: 0 auto 28px;

  background: var(--accent);
  border: 3px solid var(--surface);
  border-radius: 50%;

  box-shadow: 0 0 0 1px var(--accent);
}

.journey__content {
  position: relative;

  min-height: 180px;
  padding: 25px 22px;

  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(173, 91, 73, 0.12);
  border-radius: 20px;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.journey__content::before {
  content: "";

  position: absolute;
  top: -9px;
  left: 50%;

  width: 17px;
  height: 17px;

  background: #f8f3ed;
  border-top: 1px solid rgba(173, 91, 73, 0.12);
  border-left: 1px solid rgba(173, 91, 73, 0.12);

  transform: translateX(-50%) rotate(45deg);
}

.journey__content:hover {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(173, 91, 73, 0.25);

  box-shadow: 0 16px 34px rgba(44, 35, 31, 0.07);

  transform: translateY(-6px);
}

.journey__content h3 {
  position: relative;
  z-index: 1;

  margin-bottom: 10px;

  color: var(--text);

  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.journey__content p {
  color: rgba(44, 35, 31, 0.82);

  font-size: 0.92rem;
  line-height: 1.7;
}

.journey__button {
  display: block;
  width: fit-content;

  margin: 52px auto 0;
  padding: 16px 28px;

  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 700;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.journey__button:hover {
  background: var(--accent-dark);

  box-shadow: 0 14px 30px rgba(44, 35, 31, 0.12);

  transform: translateY(-3px);
}

/* ---------- ANIMATION: MIN REJSE ---------- */

.journey__line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s ease;
}

.journey__timeline.is-visible .journey__line {
  transform: scaleX(1);
}

.journey__item {
  opacity: 0;

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* De to første kommer fra venstre */
.journey__item:nth-child(2),
.journey__item:nth-child(3) {
  transform: translateX(-18px);
}

/* De to sidste kommer fra højre */
.journey__item:nth-child(4),
.journey__item:nth-child(5) {
  transform: translateX(18px);
}

.journey__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.journey__dot {
  transform: scale(0);
  transition: transform 0.4s ease;
}

.journey__item.is-visible .journey__dot {
  transform: scale(1);
}

/* ---------- ANBEFALINGER ---------- */

.recommendations {
  padding: 65px 8% 60px;
  background: var(--background);
}

.recommendations__intro {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.recommendations__intro h2 {
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.recommendations__intro > p:not(.about-page__eyebrow) {
  max-width: 580px;
  margin: 0 auto;

  color: rgba(44, 35, 31, 0.78);
  font-size: 1.08rem;
  font-weight: 450;
  line-height: 1.85;
}

.recommendations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  gap: 32px;
}

.recommendation-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 260px;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 30px;

  background: #fcfaf7;
  border: 1px solid var(--border);
  border-radius: 22px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.035);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.recommendation-card:hover {
  background: #f8f3ed;
  border-color: var(--accent);

  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.07);

  transform: translateY(-6px);
}

.recommendation-card__quote {
  display: block;

  margin-bottom: 12px;

  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
}

.recommendation-card blockquote {
  margin: 0 0 20px;

  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.recommendation-card__person {
  margin-top: auto;
  padding-top: 18px;

  border-top: 1px solid #ece4d8;
}

.recommendation-card__person h3 {
  margin-bottom: 7px;

  font-size: 1.05rem;
  font-weight: 700;
}

.recommendation-card__person p {
  margin-bottom: 4px;

  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.recommendation-card__link {
  display: inline-block;
  width: fit-content;

  margin-top: 16px;
  padding-bottom: 5px;

  color: var(--text);
  border-bottom: 1px solid var(--accent);

  text-decoration: none;
  font-weight: 600;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.recommendation-card__link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* ANIMATION PÅ ANBEFALINGER */

.recommendation-card {
  opacity: 0;
  transform: scale(0.94);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.recommendation-card.is-visible {
  opacity: 1;
  transform: scale(1);
}

.recommendation-card.is-visible:hover {
  transform: translateY(-6px) scale(1);
}

/* ---------- ORGANISK BAGGRUND VED OVERSKRIFT ---------- */

.recommendations__intro {
  position: relative;
}

.recommendations__intro::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(228, 214, 199, 0.45);
  border-radius: 44% 56% 52% 48% / 50% 44% 56% 50%;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  animation: about-hero-blob 12s ease-in-out infinite alternate;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .about-hero__decoration--large {
    right: -80px;
  }

  .about-hero__decoration--small {
    right: 5%;
  }

  .journey__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 30px;
  }

  .journey__line {
    display: none;
  }

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

@media (max-width: 600px) {
  .about-hero {
    min-height: auto;
    padding: 75px 24px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-intro__image-wrapper,
  .about-intro__content {
    margin-inline: auto;
  }

  .about-hero__decoration--large {
    width: 170px;
    height: 170px;
  }

  .about-hero__decoration--small {
    display: none;
  }

  .journey {
    padding: 75px 24px;
  }

  .journey__intro {
    margin-bottom: 55px;
  }

  .journey__timeline {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .journey__date {
    min-height: auto;
  }

  .journey__dot {
    margin-bottom: 24px;
  }

  .journey__content {
    min-height: auto;
  }

  .recommendations {
    padding: 75px 24px;
  }

  .recommendations__intro {
    margin-bottom: 42px;
  }

  .recommendation-card {
    min-height: auto;
    padding: 30px 24px;
  }
}
