
@keyframes fadeIn {
  0% {
	  opacity: 0;
  }
  100 {
	  opacity: 1;
  }
}


.team-members .member {
  width: 100%;
  position: relative;
  margin: 5em 0;
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.team-members .member:nth-child(even) {
  flex-direction: row-reverse;
}

.team-members .member .member-intro {
  width: 60%;
  position: relative;
}
.team-members .member .member-description {
  flex: 1;
  color: var(--accent-color);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5em;
  height: fit-content;
}
.team-members .member:nth-child(2n) .member-description {
  margin: auto 0;
}

.team-members .member .slogan {
  color: var(--accent-color);
  position: absolute;
  top: 1em;
  left: 0.4em;
  transform: rotate(-10deg);
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: bold;

  animation: fadeIn;
  animation-timeline: view();
}

.team-members .member .description {
  position: absolute;
  bottom: 0;
  background: white;
  width: 100%;
  padding: 0 1rem;

  animation: fadeIn;
  animation-timeline: view();
}
.team-members .member .member-description > *:first-child {
  margin-top: 0;
}

.team-members .member-intro figure {
  position: relative;
  aspect-ratio: 0.66;
}
.team-members .member-intro figure img {
  object-fit: cover;
}
.team-members .member-intro figure::before {
  content: '';
  background-image: url('../images/frame_top.svg');
  position: absolute;
  width: 100%;
  aspect-ratio: 16/5;
  background-position-x: center;
  background-position-y: -2px;
  background-size: 110%;
}
.team-members .member-intro figure::after {
  content: '';
  background-image: url('../images/frame_bottom.svg');
  position: absolute;
  width: 100%;
  aspect-ratio: 16/5;
  background-position-x: center;
  background-position-y: bottom;
  background-size: 138%;
  bottom: -2px;
}

@media (max-width: 660px) {
	.team-members .member,
	.team-members .member:nth-child(2n) {
		flex-direction: column;
		gap: 0;
		width: 93%;
		margin: 0 auto;
	}
	.team-members .member .member-intro {
		width: 100%;
	}
}


.address-module {
	display: flex;
	flex-direction: column;
	gap: 1em;
}
footer .address-module {
	flex-direction: row;
	grid-column: span 3;
	grid-row: 2;
}
footer .address-module .map-block {
	width: 50%;
}
.address-block,
.map-block {
	position: relative;
	flex: 1;
}
.address-block .address-title {
	font-weight: bold;
	margin-bottom: 1em;
}
.address-module .map {
  width: fit-content;
  height: fit-content;
  display: block;
}
.address-block .location,
.address-block .phone,
.address-block .fax,
.address-block .mail,
.address-block .website,
.map-block .all-locations {
	margin-left: 2em;
	line-height: 2em;
}
.address-block .location:before,
.address-block a:before,
.map-block a:before {
	content: '';
	position: absolute;
	left: 0em;
	background-size: cover;
	height: 22px;
	aspect-ratio: 1;
}
.location:before {
	background-image: url('../images/icons/location_red.svg');
}
.phone:before {
	background-image: url('../images/icons/call_red.svg');
}
.fax:before {
	background-image: url('../images/icons/fax_red.svg');
}
.mail:before {
	background-image: url('../images/icons/mail_red.svg');
}
.website:before {
	background-image: url('../images/icons/language.svg');
}
.all-locations:before {
	background-image: url('../images/icons/apps.svg');
}
footer .location:before {
	background-image: url('../images/icons/location.svg');
}
footer .phone:before {
	background-image: url('../images/icons/call.svg');
}
footer .fax:before {
	background-image: url('../images/icons/fax.svg');
}
footer .mail:before {
	background-image: url('../images/icons/mail.svg');
}
footer .website:before {
	background-image: url('../images/icons/language.svg');
}

.address-block .website,
.map-block .all-locations {
	display: none;
}
.hero .map-block .all-locations {
	display: block;
	margin-top: 0.5em;
}
footer .address-block .website {
	display: block;
}

@media (max-width: 600px) {
	footer .address-module {
		flex-direction: column;
	}
}




section.hero + div + section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.hero .container {
  position: relative;
}
.hero .address-info {
  position: absolute;
  max-width: 250px;
  background-color: white;
  padding: 2em;
  bottom: 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  font-size: 12px;
  left: 1em;
}
@media (max-height: 430px) {
  .hero .address-info {
    max-width: 550px;
  }
  .hero .address-info .address-module {
    flex-direction: row;
  }
}





section.contact .address-sec {
  width: 100%;
  border-radius: 30px;
  background-color: white;
  padding: clamp(1em, 2vw, 3em);
  margin: 3em 0;
}
section.contact h3 {
  text-align: center;
  margin-bottom: 3em;
}
section.contact .address-module {
  flex-direction: row;
}
section.contact .address-module .map-block .all-locations {
  display: block;
}
section.contact .address-block .location::before,
section.contact .address-block a::before,
section.contact .map-block a::before {
  height: 32px;
}


section.contact .container {
  max-width: 1030px;
}

section.contact .content {
  text-align: center;
}

section.contact .forms-main-container {
  background-color: white;
  padding: clamp(1em, 2vw, 3em);
  border-color: ;
  border-radius: 30px;
}

.form-input, .form-textarea {
  width: 100%;
  height: 100%;
  font-family: "Poppins", Arial, sans-serif;
  padding: 1rem;
  border: 1px solid #888888;
  border-radius: 30px;
  color: #000;
  outline: 0;
  transition: border 0.3s ease;
}

.kontakt-form-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  width: 100%;
  gap: 1em;
}
.form-input-wrapper {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: baseline;
}

.kontakt-form-container > :nth-last-child(-n+7) {
  grid-column: span 2;
}
.form-label, .form-input-wrapper label .required {
  display: none;
}
.form-textarea {
  resize: vertical;
}
.form-input-wrapper label {
  font-size: 14px;
}

section.contact .link-button {
  background-color: #008ACB;
  border-color: #008ACB;
}
section.contact .link-button:hover {
  background-color: #fff;
  border-color: #008ACB;
  color: #008ACB;
}

@media (max-width: 600px) {
	.kontakt-form-container {
		display: flex;
		flex-direction: column;
	}
	section.contact .address-module {
		flex-direction: column;
	}
}



section.mediablock .media-block {
  margin: 4em auto;
  width: fit-content;
  margin: clamp(0em, 2vw, 3em) auto;
}

section.mediablock .media-block video {
  max-height: 90vh;
  max-width: 100%;
  border-radius: 15px;
}





section.procedureblock {
  text-align: center;
  color: var(--accent-color);
}
section.procedureblock p {
  font-size: clamp(18px, 2vw, 36px);
}

.proc-item {
  background-color: #f7e5e8;
  color: var(--accent-color);
  font-weight: bold;
  width: fit-content;
  padding: 1em;
  border-radius: 15px;
  font-size: clamp(16px, 2vw, 24px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.procedure-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3em;
  margin: 2em 0;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

div[data-service] {
  border-radius: 15px;
}









section.mediatext .content {
  display: flex;
  gap: 2em;
}

section.mediatext .media-block {
  display: flex;
  flex-direction: column;
  width: 45%;
}

section.mediatext .text-block {
  flex: 1;
  padding-top: 3em;
  font-size: clamp(16px, 2vw, 24px);
}

section.hero + div + section.mediatext {
  padding-top: 0;
}

@media (max-width: 660px) {
	section.mediatext .content {
		flex-direction: column;
		gap: 0;
	}
	section.mediatext .media-block {
		width: 100%;
	}
}







.item-nr {
  text-align: center;
  width: fit-content;
  margin: 1em auto;
  color: #868786;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 300;
}


.quiz-buttons {
  display: flex;
  justify-content: center;
  gap: 5em;
  width: fit-content;
  margin: 1em auto;
}

.quiz-buttons .link-button {
  background-color: #868786;
}
.quiz-buttons .link-button:hover {
  background-color: var(--accent-color);
  color: white;
}

.quiz-item {
  text-align: center;
  font-size: clamp(18px, 2vw, 28px);
  color: var(--accent-color);
  font-weight: 600;

  visibility: hidden;
  opacity: 0;
  display: none;
}
.quiz-item.active {
  visibility: visible;
  opacity: 1;
  display: block;
}









footer .cookie-settings {
  background: none;
  color: white;
  overlay: none;
  cursor: pointer;
  border-style: none;
  line-height: 2.5em;
  font-size: 16px;
  padding: 0;
}
