@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   RESET & BASE
========================================================= */

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;

  scroll-behavior: smooth;

  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body {
  background-color: #d6d2b9;
}


/* =========================================================
   CONTENT MASK UNDER NAVBAR
========================================================= */

body::before {
  content: "";

  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  height: 6rem;

  background: linear-gradient(
    to bottom,
    #d6d2b9 0%,
    #d6d2b9 65%,
    rgba(214, 210, 185, 0.95) 82%,
    rgba(214, 210, 185, 0) 100%
  );

  pointer-events: none;

  z-index: 9;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
  position: sticky;

  top: 0;

  z-index: 10;

  background: linear-gradient(
    to bottom,
    rgba(89, 88, 88, 0.65) 0%,
    rgba(89, 88, 88, 0.4) 50%,
    rgba(89, 88, 88, 0) 100%
  );

  min-height: 5rem;

  padding: 0.5rem 0;

  display: flex;

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

  opacity: 1;

  transition:
    opacity 0.5s ease,
    background 0.3s ease;

  backdrop-filter: blur(1px);
}


.nav-list {
  list-style: none;

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 2rem;

  padding: 0;

  margin: 0;
}


.nav-list a {
  font-weight: 500;

  letter-spacing: 0.03em;

  color: #eae5df;

  text-decoration: none;

  font-size: clamp(1rem, 2.5vw, 1.5rem);

  display: inline-flex;

  align-items: center;

  line-height: 1;

  vertical-align: middle;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.nav-list a:hover {
  color: #fff;

  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(234, 229, 223, 0.7),
    0 0 24px rgba(234, 229, 223, 0.45),
    0 0 40px rgba(234, 229, 223, 0.25);
}


/* =========================================================
   NAVIGATION HOVER WHILE SCROLLED
========================================================= */

body.scrolled .nav-list a:hover {
  color: #fff;

  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.7),
    0 0 10px rgba(234, 229, 223, 0.6),
    0 0 20px rgba(234, 229, 223, 0.4),
    0 0 32px rgba(234, 229, 223, 0.2);
}


/* =========================================================
   HAMBURGER MENU
========================================================= */

.hamburger {
  display: none;

  flex-direction: column;

  justify-content: space-between;

  width: 30px;
  height: 20px;

  cursor: pointer;

  z-index: 20;
}


.hamburger div {
  height: 4px;

  background-color: rgba(234, 229, 223, 0.6);

  transition: all 0.3s ease;
}


/* =========================================================
   MOBILE NAV
========================================================= */

@media (max-width: 1199px) {

  .nav {
    background: linear-gradient(
      to bottom,
      rgba(89, 88, 88, 0.65) 0%,
      rgba(89, 88, 88, 0.4) 50%,
      rgba(89, 88, 88, 0) 100%
    );

    min-height: 4.5rem;

    flex-direction: column;

    justify-content: flex-start;
    align-items: center;
  }


  .nav-list {
    display: none;

    flex-direction: column;

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

    text-align: center;

    gap: 1.5rem;

    width: 100%;

    padding: 4.5rem 1rem 2rem;

    margin: 0;

    box-sizing: border-box;
  }


  .nav-list.active {
    display: flex;
  }


  .nav-list li {
    width: 100%;

    display: flex;

    justify-content: center;
  }


.nav-list a {
  justify-content: center;

  text-align: center;

  font-size: clamp(1.1rem, 3vw, 1.4rem);

  color: rgba(245, 242, 235, 0.9);

  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.35),
    0 0 6px rgba(0, 0, 0, 0.15);
}


  .nav-list a:hover {
    color: #fff;

    text-shadow:
      0 0 5px rgba(255, 255, 255, 0.8),
      0 0 12px rgba(234, 229, 223, 0.7),
      0 0 24px rgba(234, 229, 223, 0.45);
  }


  .hamburger {
    display: flex;

    position: absolute;

    left: 50%;
    top: 1rem;

    transform: translateX(-50%);

    z-index: 20;
  }

}


/* =========================================================
   HOME SECTION
========================================================= */

#home {
  min-height: 100vh;

  position: relative;

  display: flex;

  flex-direction: column;

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

  z-index: 1;
}


/* =========================================================
   PAGE SECTIONS
========================================================= */

.page-section {
  display: flex;

  flex-direction: column;

  justify-content: flex-start;

  align-items: center;

  min-height: auto;

  box-sizing: border-box;

  padding: 5rem 1rem 4rem;

  position: relative;

  z-index: 2;
}


/* =========================================================
   TEXT BLOCK
========================================================= */

.text-block {
  max-width: 65ch;

  text-align: center;

  line-height: 1.7;

  margin: 0;

  padding: 0 1rem;
}


.thekitxt0 {
  font-size: clamp(2rem, 6vw, 3.2rem);

  font-weight: 500;

  margin-bottom: 1.5rem;

  color: #595858;

  text-shadow:
    0 0 4px rgba(245, 235, 221, 0.175),
    0 0 8px rgba(0, 255, 128, 0.05);
}


.thekitxt1 {
  font-size: clamp(1rem, 3vw, 1.2rem);

  font-weight: 400;

  margin-top: 0.5rem;

  color: #595858;

  text-shadow:
    0 0 4px rgba(245, 235, 221, 0.175),
    0 0 8px rgba(0, 255, 128, 0.05);
}



.thekitxtlft {
  text-align: left;

  margin: 1em auto;

  display: inline-block;

  font-size: clamp(1rem, 3vw, 1.2rem);

  font-weight: 400;

  margin-top: 0.5rem;

  color: #595858;

  text-shadow:
    0 0 4px rgba(245, 235, 221, 0.175),
    0 0 8px rgba(0, 255, 128, 0.05);

  list-style-position: outside;

  padding-left: 70px;
}


.thekibullet,
.craniobullet {
  font-size: clamp(1rem, 3vw, 1.2rem);

  font-weight: 400;

  margin-top: 0.5rem;

  color: #595858;

  text-shadow:
    0 0 4px rgba(245, 235, 221, 0.175),
    0 0 8px rgba(0, 255, 128, 0.05);

  list-style-position: outside;

  padding-left: 70px;

  margin-left: 0;

  text-align: left;
}


/* =========================================================
   IMAGES ROW
========================================================= */

.dreierleibox {
  width: 100%;

  box-sizing: border-box;

  display: flex;

  flex-wrap: nowrap;

  justify-content: center;

  align-items: center;

  gap: 1rem;

  margin: 2rem auto 0;

  padding: 0 1rem;
}


/* =========================================================
   CIRCULAR IMAGE
========================================================= */

.circle-image {
  position: relative;

  width: clamp(75px, 18vw, 180px);

  aspect-ratio: 1 / 1;

  border-radius: 50%;

  overflow: hidden;

  isolation: isolate;
}


/* =========================================================
   IMAGE ITSELF
========================================================= */

.circle-image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  opacity: 0.7;

  border: none;

  border-radius: 0;

  box-shadow: none;

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


/* =========================================================
   CIRCULAR FADE INTO BACKGROUND
========================================================= */

.circle-image::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 50%;

  pointer-events: none;

  background: radial-gradient(
    circle at center,
    transparent 0%,
    transparent 74%,
    rgba(214, 210, 185, 0.25) 80%,
    rgba(214, 210, 185, 0.75) 88%,
    #d6d2b9 96%
  );
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.circle-image:hover img {
  opacity: 1;

  transform: scale(1.05);
}


/* =========================================================
   BACKGROUND LOGO
========================================================= */

.logobox {
  position: fixed;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  pointer-events: none;

  z-index: 0;

  display: flex;

  align-items: center;
  justify-content: center;
}


.logobox img {
  max-width: 100vw;

  max-height: 100vh;

  display: block;
}


.logo-start {
  opacity: 0.80;

  transition: opacity 1.8s ease-in-out;
}


.logo-scroll {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  max-width: 100vw;

  max-height: 100vh;

  opacity: 0;

  transition: opacity 1.8s ease-in-out;
}


body.scrolled .logo-start {
  opacity: 0;
}


body.scrolled .logo-scroll {
  opacity: 0.40;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section {
  width: 100%;

  box-sizing: border-box;

  display: flex;

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

  padding: 3rem 1rem 1rem;

  position: relative;

  z-index: 2;

  overflow: hidden;
}


.testimonial-box {
  width: min(100%, 800px);

  box-sizing: border-box;

  display: grid;

  grid-template-columns: 45px minmax(0, 1fr) 45px;

  align-items: center;

  gap: 0.5rem;

  padding: 1.5rem 1rem;

  border: 1px solid rgba(89, 88, 88, 0.10);

  border-radius: 18px;

  background: rgba(234, 229, 223, 0.12);

  box-shadow:
    0 0 8px rgba(89, 88, 88, 0.04),
    0 0 20px rgba(234, 229, 223, 0.12),
    0 0 45px rgba(234, 229, 223, 0.08);

  backdrop-filter: blur(2px);
}


.testimonial-content {
  min-width: 0;

  text-align: center;

  color: #595858;

  padding: 0 0.5rem;
}


.testimonial-quote {
  color: rgba(89, 88, 88, 0.45);

  font-family: Georgia, serif;

  font-size: 3rem;

  line-height: 0.7;

  height: 2rem;

  user-select: none;
}


.testimonial-text {
  margin: 0;

  font-size: clamp(0.95rem, 2.2vw, 1.15rem);

  line-height: 1.7;

  color: #595858;

  overflow-wrap: anywhere;

  text-shadow:
    0 0 4px rgba(245, 235, 221, 0.175),
    0 0 8px rgba(0, 255, 128, 0.05);

  transition: opacity 0.25s ease;
}


.testimonial-author {
  margin: 1rem 0 0;

  font-size: clamp(0.85rem, 2vw, 1rem);

  font-weight: 700;

  color: #595858;

  transition: opacity 0.25s ease;
}


/* =========================================================
   TESTIMONIAL ARROWS
========================================================= */

.testimonial-arrow {
  width: 36px;

  height: 36px;

  display: flex;

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

  padding: 0;

  border: 1px solid rgba(89, 88, 88, 0.25);

  border-radius: 50%;

  background: rgba(234, 229, 223, 0.25);

  color: #595858;

  font-size: 1.1rem;

  line-height: 1;

  cursor: pointer;

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


.testimonial-arrow:hover {
  color: #fff;

  background: rgba(89, 88, 88, 0.65);

  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.35),
    0 0 12px rgba(234, 229, 223, 0.3);

  transform: scale(1.05);
}


.testimonial-arrow:active {
  transform: scale(0.95);
}


.testimonial-arrow:focus-visible {
  outline: 2px solid rgba(89, 88, 88, 0.6);

  outline-offset: 3px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-block {
  width: 100%;
}


.contact-link {
  color: #595858;

  text-decoration: none;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.contact-link:hover {
  color: #fff;

  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.7),
    0 0 10px rgba(234, 229, 223, 0.5),
    0 0 20px rgba(234, 229, 223, 0.3);
}


/* =========================================================
   FORM CONTAINER
========================================================= */

.contact-form {
  width: min(100%, 600px);

  margin: 3rem auto 0;

  padding: 0 1rem;

  box-sizing: border-box;
}


.contact-form h2 {
  margin: 0 0 0.5rem;

  color: #595858;

  font-size: clamp(1.5rem, 4vw, 2rem);

  font-weight: 500;

  text-align: center;

  text-shadow:
    0 0 4px rgba(245, 235, 221, 0.175),
    0 0 8px rgba(0, 255, 128, 0.05);
}


.form-required {
  margin: 0 0 2rem;

  color: #595858;

  font-size: 0.9rem;

  text-align: center;
}


.form-required span,
.form-field label span {
  color: #595858;
}


.form-field {
  margin-bottom: 1.4rem;

  text-align: left;
}


.form-field label {
  display: block;

  margin-bottom: 0.4rem;

  color: #595858;

  font-size: 1rem;

  font-weight: 400;
}


.form-field input,
.form-field textarea {
  width: 100%;

  box-sizing: border-box;

  padding: 0.75rem 0.9rem;

  border: 1px solid rgba(89, 88, 88, 0.35);

  border-radius: 8px;

  background: rgba(234, 229, 223, 0.35);

  color: #595858;

  font-family: Nunito, sans-serif;

  font-size: 1rem;

  outline: none;

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


.form-field textarea {
  min-height: 150px;

  resize: vertical;
}


.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(89, 88, 88, 0.65);

  background: rgba(234, 229, 223, 0.55);

  box-shadow:
    0 0 5px rgba(234, 229, 223, 0.5),
    0 0 12px rgba(234, 229, 223, 0.25);
}


.contact-submit {
  display: block;

  margin: 2rem auto 0;

  padding: 0.7rem 2.5rem;

  border: 1px solid rgba(89, 88, 88, 0.4);

  border-radius: 8px;

  background: rgba(89, 88, 88, 0.75);

  color: #eae5df;

  font-family: Nunito, sans-serif;

  font-size: 1rem;

  cursor: pointer;

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


.contact-submit:hover {
  background: rgba(89, 88, 88, 0.9);

  color: #fff;

  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.35),
    0 0 12px rgba(234, 229, 223, 0.35),
    0 0 24px rgba(234, 229, 223, 0.2);

  transform: translateY(-1px);
}


.contact-submit:active {
  transform: translateY(0);
}


.hidden-field {
  display: none !important;
}


/* =========================================================
   LEGAL INFORMATION
   IMPORTANT: SINGLE, CLEAN VERSION
========================================================= */

.legal-section {
  width: 100%;

  box-sizing: border-box;

  position: relative;

  z-index: 2;

  padding: 2rem 1rem 4rem;

  display: flex;

  flex-direction: column;

  align-items: center;
}


/* =========================================================
   LEGAL TOGGLE BUTTON
========================================================= */

.legal-toggle {
  width: min(100%, 800px);

  box-sizing: border-box;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.6rem;

  padding: 0.8rem 1rem;

  margin: 0;

  border: none;

  background: transparent;

  color: #595858;

  font-family: Nunito, sans-serif;

  font-size: clamp(0.9rem, 2vw, 1rem);

  font-weight: 400;

  cursor: pointer;

  appearance: none;

  -webkit-appearance: none;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.legal-toggle:hover {
  color: #fff;

  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(234, 229, 223, 0.5),
    0 0 20px rgba(234, 229, 223, 0.25);
}


.legal-toggle:focus-visible {
  outline: 2px solid rgba(89, 88, 88, 0.5);

  outline-offset: 3px;

  border-radius: 4px;
}


/* =========================================================
   LEGAL TITLE
========================================================= */

.legal-title {
  display: inline-block;
}


/* =========================================================
   LEGAL ARROW
========================================================= */

.legal-arrow {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 16px;

  height: 16px;

  font-size: 0.8rem;

  opacity: 0.55;

  transform: rotate(90deg);

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


.legal-toggle:hover .legal-arrow {
  opacity: 1;
}


/* CLOSED = arrow points right */

.legal-toggle[aria-expanded="false"] .legal-arrow {
  transform: rotate(0deg);
}


/* OPEN = arrow points down */

.legal-toggle[aria-expanded="true"] .legal-arrow {
  transform: rotate(90deg);
}


/* =========================================================
   LEGAL CONTENT
   IMPORTANT FIX:
   DO NOT use display:none here.
   The hidden attribute is controlled by JavaScript.
========================================================= */

.legal-content {
  width: min(100%, 800px);

  box-sizing: border-box;

  overflow: hidden;

  opacity: 1;

  visibility: visible;

  transition:
    opacity 0.35s ease;
}


/* This is the important rule */

.legal-content[hidden] {
  display: none !important;
}


/* When JavaScript removes "hidden" */

.legal-content:not([hidden]) {
  display: block;

  opacity: 1;

  visibility: visible;
}


/* =========================================================
   LEGAL TEXT
========================================================= */

.legal-text {
  padding: 1rem 1.5rem 0;

  color: #595858;

  font-size: clamp(0.9rem, 2.5vw, 1rem);

  line-height: 1.7;

  text-align: left;
}


.legal-text p {
  margin: 0 0 1.2rem;
}


.legal-text ul {
  margin: 0 0 1.2rem;

  padding-left: 1.5rem;
}


.legal-text li {
  margin-bottom: 0.3rem;
}


.legal-text h3 {
  margin: 2rem 0 0.8rem;

  color: #595858;

  font-size: 1.1rem;

  font-weight: 700;
}


.legal-text a {
  color: #595858;

  text-decoration: none;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}


.legal-text a:hover {
  color: #fff;

  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(234, 229, 223, 0.4);
}


/* =========================================================
   PHOTO COPYRIGHT
========================================================= */

.photo-copyright {
  text-align: center;

  margin-top: 30px;
}


.photo-copyright p {
  margin-bottom: 8px;
}


.photo-copyright a {
  text-decoration: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

  .legal-section {
    padding:
      1.5rem 0.75rem
      3rem;
  }


  .legal-toggle {
    font-size: 0.95rem;

    padding:
      0.7rem 0.5rem;
  }


  .legal-text {
    padding:
      0.75rem 0.5rem 0;

    font-size: 0.9rem;

    line-height: 1.65;
  }


  .legal-text ul {
    padding-left: 1.3rem;
  }


  .dreierleibox {
    gap: 0.6rem;
  }


  .circle-image {
    width: clamp(65px, 27vw, 110px);
  }


  .testimonials-section {
    padding: 2rem 0.75rem 0.5rem;
  }


  .testimonial-box {
    grid-template-columns: 32px minmax(0, 1fr) 32px;

    gap: 0.25rem;

    padding: 1.25rem 0.5rem;

    border-radius: 12px;
  }


  .testimonial-content {
    padding: 0 0.25rem;
  }


  .testimonial-quote {
    font-size: 2.5rem;
  }


  .testimonial-text {
    font-size: 0.95rem;

    line-height: 1.55;
  }


  .testimonial-author {
    font-size: 0.85rem;

    margin-top: 0.75rem;
  }


  .testimonial-arrow {
    width: 30px;

    height: 30px;

    font-size: 0.9rem;
  }


  .contact-form {
    margin-top: 2rem;

    padding: 0 0.5rem;
  }


  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }


  .contact-submit {
    width: 100%;

    max-width: 250px;
  }


  .thekibullet,
  .craniobullet {
    text-align: center;

    padding-left: 0;

    margin-left: 0;

    list-style-position: inside;
  }


  .thekibullet li,
  .craniobullet li {
    margin-bottom: 0.6rem;
  }


  .thekitxtlft {
    display: block;

    text-align: center;

    padding-left: 0;

    padding-right: 0;

    margin: 1rem auto;
  }

}


/* =========================================================
   VERY SMALL SCREENS
========================================================= */

@media (max-width: 350px) {

  .testimonials-section {
    padding-left: 0.5rem;

    padding-right: 0.5rem;
  }


  .testimonial-box {
    grid-template-columns: 28px minmax(0, 1fr) 28px;

    padding-left: 0.25rem;

    padding-right: 0.25rem;
  }


  .testimonial-arrow {
    width: 27px;

    height: 27px;

    font-size: 0.8rem;
  }


  .testimonial-text {
    font-size: 0.9rem;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 577px) and (max-width: 1199px) {

  .circle-image {
    width: clamp(90px, 18vw, 170px);
  }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1200px) {

  .circle-image {
    width: 180px;
  }

}


