:root {
  --s38: 38px;
  --s44: 44px;
  --s50: 50px;
  --s55: 55px;
  --s60: 60px;
  --s70: 70px;
  --s90: 90px;
  --s100: 100px;
  --s150: 150px;
  --s200: 200px;

  --p15: 15px;
  --p20: 20px;
  --p30: 30px;
  --p35: 35px;
  --p40: 40px;
  --p50: 50px;

  --vw42: 42vw;
}

@media (max-width: 1520px) {
  :root {
    --s38: calc(38px * 0.8);
    --s44: calc(44px * 0.8);
    --s50: calc(50px * 0.7);
    --s55: calc(55px * 0.7);
    --s60: calc(60px * 0.7);
    --s70: calc(70px * 0.7);
    --s90: calc(90px * 0.7);
    --s100: calc(100px * 0.7);
    --s150: calc(150px * 0.7);
    --s200: calc(200px * 0.7);
  }
}

@media (max-width: 1280px) {
}

@media (max-width: 1024px) {
  :root {
    --vw42: 50vw;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 640px) {
  :root {
    --s38: calc(38px * 0.6);
    --s44: calc(44px * 0.6);
    --s50: calc(50px * 0.5);
    --s55: calc(55px * 0.5);
    --s60: calc(60px * 0.5);
    --s70: calc(70px * 0.5);
    --s90: calc(90px * 0.5);
    --s100: calc(100px * 0.5);
    --s150: calc(150px * 0.5);
    --s200: calc(200px * 0.5);

    --p30: 20px;
    --p40: 30px;

    --vw42: 100vw;
  }
}

@media (max-width: 1520px) {
  .linkedin img,
  .instagram img {
    width: 70px;
  }

  .contact-address-phone {
    font-size: 28px;
    margin-left: 20px !important;
  }

  .work-top .text {
    bottom: 40px;
    left: 20px;
    padding: 20px 15vw 20px 20px;
    margin-right: 20px;
  }

  .work-top .swiper-pagination,
  .referenz-oben .swiper-pagination {
    bottom: 35px !important;
  }
  .contact-area-right .nes {
    font-size: 40px;
  }

  .contact-form .cta {
    font-size: var(--s38);
    padding: 15px;
  }

  .contact-form .invalid textarea {
    height: 11vw;
  }

  .creative .title {
    font-size: 20px;
    top: 4px;
  }
	
	.mkStartHeading {
		font-size: 100px;
	}
	.mkStartHeading img {
		height: 80px;
	}
}

@media (max-width: 1200px) {
  .creative {
    align-items: flex-start;
    min-height: unset;
    padding: 13px var(--p30);
  }

  .creative .icon-name {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }

  .creative .name-title {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .creative .title {
    border-left: 0px !important;
    padding-left: 0;
  }

  .creative .tags {
    margin-left: auto;
    margin-top: auto;
  }

  .tags li {
    font-size: 14px;
    padding: 5px 10px;
  }

  .creative .icon {
    margin-right: 0;
    width: 70px;
    height: 70px;
  }

  .contact-area-footer {
    display: block;
  }

  .contact-area-left {
    border-bottom: 1px solid black;
  }

  .contact-area-left .links {
    display: none;
  }

  .contact-area-right .top,
  .contact-area-right .footer-house {
    display: none;
  }

  .contact-area-right {
    padding: 75px var(--p30) !important;
  }

  .creative {
    flex-direction: column;
    gap: 15px;
  }

  .creative .title {
    top: 0;
    border: none;
  }

  .creative:hover .invert-image {
    width: 70vw;
    height: 80vw;
    max-width: 300px;
    max-height: 300px;
    left: 10vw;
    top: -100px;
    bottom: 0px;
  }

  .client-text,
  .creatives-text,
  .spacing {
    height: 170px;
    padding: 20px var(--p30);
  }

  .contact-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-area-left {
    height: 100vw;
    position: relative;
  }

  .contact-area-right {
    height: auto;
    gap: 30px;
  }

  .contact-form textarea {
    height: 320px;
  }

  .slider-4 .swiper-button-next,
  .slider-4 .swiper-button-prev {
    max-height: unset;
    max-width: unset;
    width: 60px;
    height: 60px;

    top: 41% !important;
  }

  .middle {
    flex-direction: column;
    gap: 60px;
  }

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

  .accordion > div {
    height: auto;
  }

  .accordion .left {
    height: 100vw;
  }

  .accordion .right {
    border-top: 1px solid black;
    border-bottom: 0px solid black;
  }

  .accordion-item .accordion-text {
    overflow: auto;
    transition: all 0.3s;
    height: auto;
    max-height: 0px;
  }

  .accordion-item.active .accordion-text {
    height: auto;
    max-height: 200vh;
	  
	  /* NEW MK */
	  padding: 0;
  }
	
	/* NEW MK */
	.accordion-item.active .accordion-text-inner {
		padding: 50px var(--p20);
	}

  .accordion-item:last-child.active .accordion-text {
    border-bottom: 0px solid black;
  }

  .accordion-title {
    height: auto;
  }

  .accordion-title .arrow {
    min-width: 100px;
  }

  .workflow {
  }

  #services {
    display: flex;
    flex-direction: column-reverse;
  }
  #services .services-tags {
    padding: 20px 20px 40px 20px;
  }

  .work-top .swiper-pagination,
  .referenz-oben .swiper-pagination {
    position: absolute;
    bottom: 5px !important;
    top: unset !important;
    right: 20px !important;
    left: unset !important;
    width: max-content !important;
  }

  .hover-icon {
    width: 40px;
  }

  .referenz-grid {
    display: flex;
    flex-direction: column;
  }

  .referenz-grid .empty {
    display: flex;
    flex-direction: column;
  }

  .layout1.referenz-grid > div:nth-child(1) {
    height: 60vw !important;
  }

  .layout1.referenz-grid > div:nth-child(2) {
    padding-top: 40px !important;
  }

  .layout2.referenz-grid > div:nth-child(4) {
    padding-top: 40px !important;
  }

  .layout3.referenz-grid > div:nth-child(3) {
    padding-top: 60px !important;
  }

  .referenz-grid > div {
    height: auto !important;
  }

  .titel-icon-row .titel {
    padding: 0.25em 30px;
  }

  .liste-freitext {
    padding: 35px 30px 55px 30px;
  }

  .liste-freitext li::before {
    width: 20px;
    height: 10px;
    margin-right: 15px;
    margin-bottom: 0.1em;
  }

  .titel-icon-row .icon img {
    height: 100%;
    width: 100px;
    object-fit: cover;
  }

  .footer-link-row {
    display: grid !important;
    grid-template-columns: 4fr 1fr;
    grid-template-rows: 2fr 1fr;
    gap: 0px;

    padding: 20px 20px;
  }

  .footer-link-row .contact-address-phone {
    grid-column: 1 / 3;
    grid-row: 1/2;
    width: 100%;
    margin-bottom: 75px;
    margin-top: 50px;
    margin-left: 0 !important;
  }

  .footer-link-row .footer-house {
    grid-column: 1 / 2;
    grid-row: 2/3;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: flex-start;
  }

  .footer-link-row .legal-menu {
    grid-column: 1 / 2;
    grid-row: 3/4;
    width: 100%;
    justify-content: flex-start;
  }

  .footer-link-row .social-links {
    grid-column: 2 / 3;
    grid-row: 2/4;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
  }

  .footer-link-row .social-links .linkedin {
    margin: 0;
  }

  .contact-address-phone {
    margin-left: 0;
    text-align: center;
  }

  .cta {
    padding: 20px 15px;
  }

  .image-kasterl {
    width: 46vw;
    bottom: -10vw;
    right: 42.5vw;
  }

  .startseite-top-text {
	/* EDIT MK */
	  /*
	margin-top: calc(100vw / 30 * 4);
    margin-left: calc(100vw / 30 * 1);
    margin-right: calc(100vw / 30 * 1);
    width: auto;
	  */
  }

  .cookie-wrapper {
    right: calc(100vw / 30 * 1) !important;
    bottom: -80px !important;
    z-index: 9999999;
  }

  .animation-bild .animation-inner {
    width: 80vw;
    height: 80vw;
  }

  .contact-area-left .animation {
    align-items: center;
  }

  .client-name {
    min-height: 140px;
  }
	
	.mkStartHeading {
		font-size: 80px;
	}
	.mkStartHeading img {
		height: 60px;
	}
}

@media (max-width: 1024px) {
  .row-3-col {
    grid-template-columns: 1fr 1fr;
  }

  .row-3-col .col {
    height: 50vw;
  }

  .mitarbeiter-container.mitarbeiter-even .mitarbeiter-placeholder {
    display: none;
  }

  .slider-4 .swiper-slide .top {
    height: calc(100vw / 2);
  }

  .startseite-services .swiper-button-next,
  .startseite-services .swiper-button-prev {
    color: black;
    width: 70px;
    height: 70px;
    background-color: white;
    padding: 20px;
    max-height: 12vw;
    max-width: 12vw;

    top: 40% !important;
  }

  .workflow-grafik-desktop {
    display: none;
  }

  .workflow-grafik-tablet {
    display: block;
  }

  .workflow-grafik-mobile {
    display: none;
  }

  .slider-4 .swiper-button-next,
  .slider-4 .swiper-button-prev {
    top: 43% !important;
  }

  .yes,
  .no {
    border: 4px solid black;
  }
	
	.mkStartHeading {
		font-size: 70px;
	}
	.mkStartHeading img {
		height: 50px;
	}
}

@media (max-width: 820px) {
  .referenzen-items {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
  }

  .referenz-item {
    grid-column: unset !important;
    grid-row: unset !important;
    height: 50vw !important;
  }
}

@media (max-width: 768px) {
  .mitarbeiter-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
  }

  .mitarbeiter-content .images {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

	.mitarbeiter-content .vorname {
		/* position: static;
		width: auto; */

  		/* EDIT MK */
		position: fixed;
		top: unset;
		bottom: 0;
		z-index: 100;
		width: 100%;
		padding: 1rem;
		font-size: 15vw;
		text-align: center;
	}

  .mitarbeiter-content .images img {
    width: 100%;
    height: auto;
  }

  .mitarbeiter-content .row {
    display: flex;
    flex-direction: column;
    height: auto !important;
    width: 100%;
  }

  .mitarbeiter-content .row .text,
  .mitarbeiter-content .row .bild {
    position: static !important;
    top: 0px;
    width: clamp(200px, 90%, 400px) !important;
  }

  .mitarbeiter-content:before {
    border-right: none;
  }

  .mitarbeiter-content h1 {
    font-size: clamp(45px, 20vw, 200px);
    position: static;
    left: 0%;
    top: 0px;
    width: max-content;
    z-index: 11111;
    margin-bottom: 20px;
  }

  .mitarbeiter-content .text {
    width: auto;
    position: static;
    margin-bottom: 25px;
  }
  .mitarbeiter-content .row {
    display: flex;
    justify-content: center;
    align-items: center;
  }
	.mkStartHeading {
		font-size: 55px;
	}
	.mkStartHeading img {
		height: 40px;
	}
}

@media (max-width: 640px) {
  .client-text,
  .creatives-text,
  .creative .name,
  .client-name {
    font-size: 23px;
  }

  .creative .title {
    font-size: 17px;
  }

  .client-text,
  .creatives-text,
  .spacing,
  .creative {
    height: unset;
    min-height: 120px;
  }

  .client-name {
    min-height: unset;
  }
  .creative .icon {
    width: 45px;
    height: 45px;
  }
  .job-single.job-outer,
  .job-outer {
    aspect-ratio: 15 / 10;
    width: 100%;
    height: unset;
  }
  .header {
    padding: 20px var(--p30) 8px var(--p30);
  }
  .row-3-col {
    grid-template-columns: 1fr;
  }

  .row-3-col .col {
    height: 100vw;
  }

  .mitarbeiter-placeholder {
    display: none;
  }

  .slider-4 .swiper-slide {
    height: calc(100vw);
  }

  .referenzen-items {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }

  .referenz-item {
    height: 100vw !important;
  }

  .active .referenz-overlay-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
  }

  .active .referenz-background {
    display: none;
  }

  .workflow-grafik-desktop {
    display: none;
  }

  .workflow-grafik-tablet {
    display: none;
  }

  .workflow-grafik-mobile {
    display: block;
  }

  .oval {
    width: 20px !important;
    height: 10px !important;
  }

  .job a {
    font-size: 30px;
  }

  .titel-icon-row .titel {
    padding: 0.5em 20px;
    font-size: 30px;
  }

  .liste-freitext {
    padding: 35px 20px 55px 20px;
  }

  .titel-icon-row {
    position: relative;
  }

  .titel-icon-row .icon {
    width: unset;
    position: relative;
    bottom: 0px;
    right: 0;
  }

  .titel-icon-row .icon img {
    width: 60px;
    object-fit: contain;
  }

  .job-single .title-gender-wrapper {
    width: calc(100% / 15 * 13 + 1px);
    height: calc(100vw / 15 * 4);
  }

  .hover-icon {
    display: none;
  }

  .contact-area-left .links {
    flex-direction: column;
    gap: 20px;
  }

  .contact-area-right .top {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .contact-area-right .top .contact-address-phone {
    text-align: left;
  }

  .menu li .show-on-hover {
    display: none;
  }
  .menu li a {
    font-size: clamp(40px, 14vw, 80px);
  }

  .slider-4 .swiper-slide .top {
    height: calc(100vw);
  }

  .startseite-top {
    min-height: unset !important;
  }

  .cookie-wrapper,
  .cookie-wrapper-not-home {
    bottom: 100px !important;
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .image-kasterl {
    width: 75vw;
    bottom: -7vw;
    right: 7vw;
  }

  .kunden-namen {
    width: auto;
  }

  .workflow {
    padding: 100px calc(100% / 30 * 2);
  }

  .start-kunden {
    padding-bottom: 100px;
  }

  .footer-menu {
    font-size: 16px;
    flex-wrap: wrap;
    display: flex;
    justify-content: flex-start;
  }

  .footer-link-row .footer-house img {
    width: 85px;
    margin-right: 15px;
  }
  .footer-link-row .social-links .linkedin img {
    width: 55px;
    height: 55px;
    margin: 0;
  }

  .footer-link-row .social-links .instagram img {
    width: 55px;
    height: 55px;
    margin: 0;
  }

  #header-logo {
    width: 60px;
    height: 23px;
  }

  .burger-wrapper img {
    width: 60px;
  }

  .menu-open .burger-bottom,
  .burger-bottom-mitarbeiter {
    transform: translateY(0px) translateX(-8px) rotate(-32deg);
  }

  .menu-open .burger-top,
  .burger-top-mitarbeiter {
    transform: translateY(0px) translateX(8px) rotate(32deg);
  }

  .burger-top {
    margin-bottom: 8px;
  }

  .menu-open .burger-top {
    margin-bottom: 0px;
  }

  .burger-wrapper {
    height: 26px;
  }

  .menu-open .burger-wrapper {
    height: 50px;
  }

  .contact-image {
    padding-top: 16vw;
    padding-bottom: 4vw;
  }

  .raster {
    background-size: calc(100% / 15) calc(100vw / 15);
  }

  .job-grid {
    background-size: calc(100% / 15) calc(100vw / 15);
  }

  .startseite-top-text {
	  /*
    margin-top: calc(100vw / 30 * 4);
    margin-left: calc(100vw / 15 * 1);
    margin-right: calc(100vw / 15 * 1 - 1px);
    width: calc(100vw / 15 * 13 + 2px);
	  */
	  padding: 20px;
  }
	
	.mkStartHeading {
		font-size: 45px;
	}
	.mkStartHeading img {
		height: 35px;
	}
}

@media (max-width: 480px) {
	.mkStartHeading {
		font-size: 40px;
	}
	.mkStartHeading img {
		height: 30px;
	}
}

@media (max-width: 375px) {
	.mkStartHeading {
		font-size: 35px;
	}
}

@media (hover: none) {
  .cursor-container .cursor {
    display: none !important;
  }

  .creatives .cursor-container .cursor {
    display: block !important;
  }
	
	.referenz-item .text {
		opacity: 1;	/* NEW MK */
	}
}
