/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #edf7fe;

  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  height: 6.2rem;
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.lang-select {
  font-size: 2rem;
  color: #0159FD;
  background-color: transparent;
  border: none;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #4dabf7;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #0159FD;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #4dabf7;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}


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

.section-home {
  background-color: #edf7fe;
  padding: 4.8rem 0 3.2rem 0;
}

.home {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  /*align-items: center; zentriert jede Zelle, macht sinn wenn nur foto in einer zelle*/
}

.home-rooting {
  /*text-align: center;*/
}

.home-info-desc {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.6;
}

.home-info-desc-key-value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.home-info-desc span {
  color: #0159FD;
  font-weight: 700;
}

.home-info-desc-li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 3rem;
  color: #767676;
}

.btn-rooting {
  min-width: 25rem;
}

.contact-info {
  font-size: 2rem;
  display: flex;
  flex-direction: column;
}

.contact-block {
        background-color: var(--accent-color-dark); /* Dunkleres Blau für die Blöcke */
        color: var(--text-color);
        padding: 1rem 1rem;
        margin-bottom: 1.6rem;
        border-radius: 5px;
        font-size: 2rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        transition: background-color 0.3s;
        max-width: 36rem; 
        width: 100%;
    }

/**************************/
/* SHARED CFG */
/**************************/
.two-col-table {
  display: grid;
  grid-template-columns: 288px auto;
  column-gap: 3.6rem;
  row-gap: 1.8rem;
}

.col-category {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 3.2rem;
  color: #4dabf7;
}

.col-description {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #767676;
}

.subpage-heading {
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}

/**************************/
/* SKILLS SECTION */
/**************************/
.section-skills {
  padding: 4.8rem 0 3.2rem 0;
}


/**************************/
/* CERTIFICATES SECTION */
/**************************/
.section-certificates {
  background-color: #edf7fe;
  padding: 4.8rem 0 3.2rem 0;
}

/**************************/
/* SERVICES SECTION */
/**************************/
.section-services {
  background-color: #edf7fe;
  padding: 4.8rem 0 3.2rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  column-gap: 3.2rem;
  row-gap: 3.2rem;
  margin-bottom: 3.2rem;
  align-items: start; /*each element with own height*/
}

.service {
  background-color: #fff;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden; /*otherwise the img covers the border*/

  transition: all 0.4s;
}

.service:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0.06);
}

.service-content {
  padding: 3.2rem 3.2rem 3.2rem 3.2rem;
}

.service-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #0159FD;
  margin-bottom: 3.2rem;
  text-align: center;
}

.contact-link {
  text-align: center;
  font-size: 1.8rem;
}

/**************************/
/* AVAILABILITY SECTION */
/**************************/
.section-availability {
  padding: 4.8rem 0 3.2rem 0;
}

.section-vcard {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 3.6rem;
}

.visitenkarte-container {
  display: grid;
  gap: 2.4rem;
  width: auto;
}

.vorderseite-img,
.hinterseite-img {
  display: block;
  max-width: 100%;
  height: auto;
}

/**************************/
/* FEATURED IN SECTION */
/**************************/

.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}

.heading-featured-in {
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logos img {
  height: 3.2rem;
  opacity: 50%;
}

.logo-carousel {
  width: 100%;
  height: 20rem;
  overflow: hidden;
  position: relative;
}

.logo-slide {
  display: flex;
  animation: scroll linear 20s infinite;
  white-space: nowrap; /* no line break */
  transform: translateZ(0); /* Force hardware acceleration (mobile)*/
  will-change: transform; /* Force hardware acceleration (mobile)*/
}

.logo-slide img {
  height: 20rem;
  width: auto;
  margin: 0 5px; /* Abstand zwischen den Bildern */
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%); /* Rotation */
  }
}
.checked-description {
  display: grid;
  grid-template-columns: auto 1fr;
}

.partner-logo {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}


/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2rem;
  margin-top: 1.2rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--accent-color-dark);
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  text-decoration: underline;
}
