* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Source+Sans+Pro&display=swap");

body {
  font-family: "Playfair Display", serif;
  font-family: "Source Sans Pro", sans-serif;
  overflow-x: hidden;
}

:root {
  --background_texture: linear-gradient(
    135deg,
    #f4efe6 25%,
    #e8e2d9 25%,
    #e8e2d9 50%,
    #f4efe6 50%,
    #f4efe6 75%,
    #e8e2d9 75%,
    #e8e2d9
  );

  --Ivery_sand: #e4d6c5;
  --Burnt_sieanna: #a07d57;
  --Stormy_sky: #78898f;
  --Cream: #f4efe6;
  --Dark_blue: #0e2540;
  --Light_blue: #d1d9e2;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--Cream);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.cookie-banner a {
  color: var(--Dark_blue);
  text-decoration: none;
}

.cookie-banner button {
  margin: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--Burnt_sieanna);
  color: var(--Cream);
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-family: "Playfair Display";
  color: var(--Cream);
  font-weight: lighter;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--Cream);
  font-family: "Playfair Display";
  font-weight: lighter;
}

h3 {
  padding-bottom: 1rem;
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--Cream);
}

h4 {
  margin-bottom: 0.5rem;
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2vw, 1.5rem);
}

h5 {
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: lighter;
  margin-bottom: 2%;
  color: var(--Dark_blue);
}

h6 {
  font-family: "Source Sans Pro";
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: lighter;
  margin-bottom: 2%;
  color: var(--Dark_blue);
}

p {
  font-family: "Source Sans Pro";
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  line-height: 1.5rem;
}

.usp_btn {
  background-color: var(--Dark_blue);
  border: none;
  border-radius: 24px;
  width: 150px;
  height: 35px;
  color: var(--Cream);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.usp_btn:hover {
  transform: scale(1.05);
}

.contact_btn {
  border: none;
  border-radius: 24px;
  width: 150px;
  height: 35px;
  color: var(--Dark_blue);
  cursor: pointer;
  background-color: var(--Cream);
  transition: transform 0.3s ease;
}

.contact_btn:hover {
  transform: scale(1.05);
}

.tilgang_btn {
  border-radius: 24px;
  border: none;
  width: clamp(120px, 15vw, 180px);
  height: 35px;
  background-color: #a07d57;
  cursor: pointer;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  padding: 0.5rem 1rem;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.tilgang_btn.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.lesson_btn {
  border: none;
  border-radius: 24px;
  width: 150px;
  height: 35px;
  background-color: var(--Burnt_sieanna);
  cursor: pointer;
  color: var(--Cream);
  transition: transform 0.3s ease;
}

.lesson_btn:hover {
  transform: scale(1.05);
}

.icon {
  width: 24px;
  height: 24px;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  width: 100%;
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar_left {
  display: flex;
  align-items: center;
  width: auto;
  cursor: pointer;
}

.logo {
  height: 35px;
  width: auto;
}

.menu_toggle {
  background: none;
  border: none;
  color: var(--Cream);
  font-size: 2rem;
  cursor: pointer;
  display: block;
  z-index: 1100;
}

.navbar_center {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--Dark_blue);
  flex-direction: column;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.menu_list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu_list li a {
  color: var(--Cream);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2rem;
  padding: 10px 20px;
  display: block;
}

.menu_list li a:hover {
  text-decoration: underline;
}

.navbar_center.open {
  display: flex;
}

@media (min-width: 768px) {
  .navbar {
    padding: 20px 40px;
    justify-content: flex-start;
  }

  .menu_toggle {
    display: none;
  }

  .navbar_center {
    flex-basis: 25%;
    position: static;
    display: flex !important;
    width: auto;
    height: 0;
    flex-direction: row;
    justify-content: 0;
    gap: 15px;
    margin-left: 20%;
  }

  .menu_list {
    flex-direction: row;
    gap: 20px;
    padding: 0;
  }

  .menu_list li a {
    font-size: 1rem;
    padding: 6px 12px;
  }
}

/* Hero section */
.start_section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  background-color: var(--Dark_blue);
  overflow: hidden;
  z-index: 1;
}

.front_container {
  position: relative;
  width: 50%;
  height: 100%;
  background-color: var(--Dark_blue);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image_wrapper {
  height: 75%;
  top: 50%;
  left: 50%;
  transform: translate(20%, 10%);
  z-index: 1;
}

.image_wrapper img {
  width: 60%;
  height: auto;
  position: relative;
}

.intro_section h1,
.intro_section h2 {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro_section.visible h1 {
  opacity: 1;
  transform: translateY(0);
}

.intro_section.visible h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.bottom_left h3,
.bottom_left p {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.5s;
}

.bottom_left.visible h3 {
  opacity: 1;
  transform: translateY(0);
}

.bottom_left.visible p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.intro_section {
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.bottom_left {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 75%;
  z-index: 2;
  padding: 6%;
}

.bottom_left p {
  padding-bottom: 2%;
  color: var(--Cream);
  line-height: 1.6rem;
}

.next_container {
  width: 50%;
  height: 100%;
  position: relative;

  background-image: url("../images/horses.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tilgang_wrapper {
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--Dark_blue);
}

.tilgang_container {
  width: 50vw;
  height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.tilgang_container div {
  width: 30vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 768px) {
  .front_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Stable indhold lodret */
    justify-content: center; /* Vertikal centreret */
    align-items: center; /* Horisontal centreret */
    overflow: hidden;
    position: relative;
  }

  .image_wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .image_wrapper img {
    width: 100%;
    height: auto;
    display: block;
  }

  .intro_section {
    position: relative;
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
  }

  .bottom_left {
    position: relative;
    width: 90%;
    height: 100%;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
  }

  .next_container {
    display: none;
  }
}

@media (min-width: 820px) {
  .start_section {
    height: 700px;
  }
}

@media (min-width: 1280px) {
  .start_section {
    height: 800px;
  }
}

@media (min-width: 2200px) {
  .start_section {
    height: 1000px;
  }
}

/*Service section*/
.service_wrap {
  padding: 2rem 2rem;
  background-color: var(--Cream);
  display: flex;
  justify-content: center;
}

.service_inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
}

.service_h {
  padding-left: 0.5rem;
}

.service_h h3 {
  font-size: 1.5rem;
  color: var(--Dark_blue);
  text-align: left;
  margin-bottom: 2rem;
  max-width: 800px;
}

.service_point_wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.service_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
  width: 100%;
  max-width: 350px;
  min-height: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background-color: var(--Cream);
  transition: transform 0.3s, box-shadow 0.3s;
}

.icon {
  width: 45px;
  height: 45px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service_box h4 {
  font-size: 1.1rem;
  color: var(--Dark_blue);
  margin: 0 0 0.5rem 0;
}

.service_box p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.service_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .service_point_wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .service_box {
    flex: 1 1 calc(33.333% - 1.5rem);
  }

  .service_h h3 {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .service_wrap {
    padding: 4rem 2rem;
  }

  .service_h h3 {
    font-size: 2rem;
  }
}

/* */
.Bagom_wrapper {
  padding: 4rem 2rem;
  background-color: var(--Cream);
  display: flex;
  flex-direction: column;
}

.service_headline {
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto 2rem auto;
  text-align: left;
  width: 100%;
}

.service_headline h3 {
  color: var(--Dark_blue);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.3;
  margin: 0;
}

.service_point {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  width: 100%;
}

.Bagom_wrapper article {
  background-image: url("../images/Weber.JPG");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 400px;
  max-height: 450px;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: var(--Dark_blue);
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--Cream);
  font-size: 1.2rem;
  font-weight: bold;
}

.Bagom_wrapper article:hover .overlay {
  opacity: 1;
}

.Bagom_wrapper article:hover {
  background-image: none;
  background-color: var(--Dark_blue);
}

.hover_text {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.Bagom_wrapper article:hover .hover_text {
  opacity: 1;
  transform: translateY(0);
}

#aside_image {
  background-image: url("../images/treament.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 400px;
  max-height: 450px;
}

.Bagom_wrapper aside {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--Cream);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  min-height: 400px;
  gap: 1rem;
}

.Bagom_wrapper aside h5 {
  color: var(--Dark_blue);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.Bagom_wrapper aside p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.usp_btn {
  margin-top: 1.5rem;
  align-self: flex-start;
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.usp_btn:hover {
  background-color: #0b1a2b;
}

@media (min-width: 768px) {
  .service_point {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .Bagom_wrapper article,
  .Bagom_wrapper aside {
    min-height: 450px;
  }
}

/*Point section*/
.points_wrapper {
  height: 80vh;
  background-color: var(--Dark_blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 3rem;
}

.points_wrapper article {
  width: 100%;
  max-width: 1100px;
  /* margin-bottom: 1rem; */
}

.points_wrapper article h6 {
  color: var(--Burnt_sieanna);
}

.points_wrapper aside {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
}

.points_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.point {
  width: 100%;
  padding: 1.5rem 0;
  border-bottom: 1.5px solid var(--Cream);
  background-color: var(--);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.point.visible {
  opacity: 1;
  transform: translateY(0);
}

.point h4 {
  color: var(--Burnt_sieanna);
}

.point p {
  line-height: 1.6;
  color: var(--Cream);
}

@media (min-width: 768px) {
  .points_wrapper {
    height: 60vh;
  }
}

@media (min-width: 1024px) {
  .points_wrapper {
    height: 90vh;
  }
  .point {
    width: 75%;
  }
}

@media (min-width: 1280px) {
  .points_wrapper {
    height: 80vh;
  }
}

/* undervisnings section*/
.lesson_wrapper {
  background-color: var(--Ivery_sand);
  padding: 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.lesson_container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  max-width: 100%;
  width: 100%;
}

.lesson_container.visible {
  opacity: 1;
  transform: translateY(0);
}

.lesson_wrapper article {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lesson_wrapper article div {
  width: 100%;
  padding: 1rem;
  border-radius: 24px;
  border-top-left-radius: 0;
  background-color: var(--Dark_blue);
}

.lesson_wrapper article div p {
  color: var(--Cream);
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  letter-spacing: 0.5px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.lesson_wrapper article h3 {
  color: var(--Burnt_sieanna);
  color: var(--Ivery_sand);
}

.lesson_image {
  width: 100%;
  height: 200px;
  border-radius: 24px;
  background-image: url("../images/Lesson.jpg");
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .lesson_wrapper {
    height: auto;
    padding: 3rem 2rem;
  }
  .lesson_wrapper article {
    flex-direction: row;
    justify-content: space-between;
    gap: 2%;
    max-width: 1100px;
  }
  .lesson_wrapper article div {
    width: 50%;
    padding: 2rem;
  }
  .lesson_image {
    width: 48%;
    height: 400px;
  }
}

@media (min-width: 1200px) {
  .lesson_wrapper {
    height: 600px;
  }
  .lesson_wrapper article div {
    padding: 2.5rem;
  }
  .lesson_image {
    height: 450px;
  }
}

/*FAQ section*/
.faq_wrapper {
  background-color: var(--Ivery_sand);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
}

.faq_wrapper article {
  width: 100%;
  max-width: 650px;
  color: var(--Dark_blue);
}

.faq_wrapper article h2 {
  color: var(--Dark_blue);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.faq_container {
  width: 100%;
  padding-top: 1rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--Dark_blue);
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--Dark_blue);
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-top: 0;
}

.faq-answer.show {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .faq_wrapper {
    padding: 4% 3%;
  }

  .faq_wrapper article h2 {
    font-size: 2.4rem;
  }

  .faq_wrapper article {
    max-width: 750px;
  }
}

@media (min-width: 820px) {
}

@media (min-width: 1200px) {
  .faq_wrapper article {
    max-width: 1100px;
  }
}

/* Kontakt section*/
.kontakt_wrapper {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  background-image: url("../images/contactBackground.jpg");
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 2rem 1rem;
}

.kontakt_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(14, 37, 64, 0.5);
  z-index: 1;
}

.kontakt_container {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.kontakt_text_div,
.kontakt_btn_div {
  width: 100%;
  text-align: center;
  padding-bottom: 1rem;
  color: var(--Cream);
}

.kontakt_btn_div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kontakt_text_div p {
  margin: 0.5rem 0;
}

.kontakt_btn_div {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact_btn {
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  min-width: 250px;
  min-height: 40px;
  text-align: center;
}

.contact_btn:hover {
  background-color: #0b1a2b;
}

@media (min-width: 768px) {
  .kontakt_text_div,
  .kontakt_btn_div {
    width: 50%;
    text-align: center;
    padding-bottom: 2%;
  }

  .kontakt_btn_div {
    flex-direction: row;
  }
}

@media (min-width: 1200px) {
  .kontakt_container {
    max-width: 1100px;
  }

  .kontakt_text_div {
    text-align: center;
    margin-bottom: 1rem;
  }

  .kontakt_btn_div {
    justify-content: center;
  }
}

/*Footer*/
.site_footer {
  background-color: var(--Dark_blue);
  color: var(--Cream);
  padding: 40px 20px 20px;
  font-family: "Arial", sans-serif;
}

.footer_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer_info,
.footer_links,
.footer_social {
  flex: 1 1 200px;
}

.footer_info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer_links ul {
  list-style: none;
  padding: 0;
}

.footer_links li {
  margin-bottom: 8px;
}

.footer_links a {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: var(--Cream);
  line-height: 1.4;
  margin: 0.5rem 0;
  text-decoration: none;
}

.footer_links a:hover {
  text-decoration: underline;
}
footer p {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: var(--Cream);
  line-height: 1.4;
  margin: 0.5rem 0;
}

.footer_social a img {
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.footer_bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #555;
  padding-top: 10px;
  font-size: 0.9rem;
}

.footer_bottom a {
  color: var(--Cream);
  text-decoration: none;
}
